@wisemen/vue-core-design-system 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +47 -47
- package/dist/index.js +95 -90
- package/dist/ui/table/types/table.type.d.ts +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(e,t,n)=>(s(e,t,`default`),n&&s(n,t,`default`)),l=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));const u=require("./locales-C7_BArir.cjs");let d=require("vue");d=l(d,1);let f=require("@wisemen/vue-core-actions"),p=require("reka-ui"),m=require("vue-i18n"),h=require("@vueuse/core"),g=require("motion-v"),_=require("formango"),v=require("zod");v=l(v,1);let y=require("vue-router"),b=require("@vueuse/router"),x=require("@internationalized/date"),S=require("temporal-polyfill"),C=require("@wisemen/vue-core-dates"),w=require("@tanstack/vue-virtual"),T=require("vue-draggable-plus");var ee={"comma-period":`en-US`,"period-comma":`de-DE`,"space-comma":`fr-FR`,"space-period":`fr-CH`};function te(e){return e===`system`?navigator.language:ee[e]}var E=Symbol(`HotkeysContext`);function ne(){return(0,d.inject)(E,null)?.defaultOptions??{}}function D(){if(typeof navigator>`u`)return`linux`;let e=navigator.platform?.toLowerCase()??``,t=navigator.userAgent?.toLowerCase()??``;return e.includes(`mac`)||t.includes(`mac`)?`mac`:e.includes(`win`)||t.includes(`win`)?`windows`:`linux`}var O=[`Control`,`Alt`,`Shift`,`Meta`],k=new Set(O),A={Control:`Control`,Ctrl:`Control`,control:`Control`,ctrl:`Control`,Shift:`Shift`,shift:`Shift`,Alt:`Alt`,Option:`Alt`,alt:`Alt`,option:`Alt`,Command:`Meta`,Cmd:`Meta`,Meta:`Meta`,command:`Meta`,cmd:`Meta`,meta:`Meta`,OS:`Meta`,os:`Meta`,Win:`Meta`,win:`Meta`,CommandOrControl:`Mod`,Mod:`Mod`,commandorcontrol:`Mod`,mod:`Mod`};function j(e,t=D()){return e===`Mod`?t===`mac`?`Meta`:`Control`:e}var re=new Set(`ABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``)),ie=new Set([`0`,`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`]),ae=new Set([`F1`,`F2`,`F3`,`F4`,`F5`,`F6`,`F7`,`F8`,`F9`,`F10`,`F11`,`F12`]),oe=new Set([`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,`Home`,`End`,`PageUp`,`PageDown`]),M=new Set([`Enter`,`Escape`,`Space`,`Tab`,`Backspace`,`Delete`]),N=new Set([`/`,`[`,`]`,`\\`,`=`,`-`,`,`,`.`,`;`,"`"]),se={Backquote:"`",Backslash:`\\`,BracketLeft:`[`,BracketRight:`]`,Comma:`,`,Equal:`=`,Minus:`-`,Period:`.`,Semicolon:`;`,Slash:`/`};new Set([...re,...ie,...ae,...oe,...M,...N]);var ce={Esc:`Escape`,esc:`Escape`,escape:`Escape`,Return:`Enter`,return:`Enter`,enter:`Enter`," ":`Space`,space:`Space`,Spacebar:`Space`,spacebar:`Space`,tab:`Tab`,backspace:`Backspace`,Del:`Delete`,del:`Delete`,delete:`Delete`,Up:`ArrowUp`,up:`ArrowUp`,arrowup:`ArrowUp`,Down:`ArrowDown`,down:`ArrowDown`,arrowdown:`ArrowDown`,Left:`ArrowLeft`,left:`ArrowLeft`,arrowleft:`ArrowLeft`,Right:`ArrowRight`,right:`ArrowRight`,arrowright:`ArrowRight`,home:`Home`,end:`End`,pageup:`PageUp`,pagedown:`PageDown`,PgUp:`PageUp`,PgDn:`PageDown`,pgup:`PageUp`,pgdn:`PageDown`};function P(e){return/^\p{Letter}$/u.test(e)}function le(e){if(!e)return``;if(e in ce)return ce[e];if(P(e)){let t=e.toUpperCase();return t.length===1?t:e}let t=e.toUpperCase();return/^F([1-9]|1[0-2])$/.test(t)?t:e}var ue={Control:`⌃`,Alt:`⌥`,Shift:`⇧`,Meta:`⌘`,Mod:`⌘`},de={Control:`Control`,Alt:`Option`,Shift:`Shift`,Meta:`Cmd`,Mod:`Cmd`},fe={Control:`Ctrl`,Alt:`Alt`,Shift:`Shift`,Meta:`Win`,Mod:`Ctrl`},pe={...fe,Meta:`Super`},me={"`":`Backquote`,"\\":`Backslash`,"[":`Left Bracket`,"]":`Right Bracket`,",":`Comma`,"=":`Equal`,"-":`Minus`,".":`Period`,";":`Semicolon`},he={ArrowUp:`↑`,ArrowDown:`↓`,ArrowLeft:`←`,ArrowRight:`→`,Enter:`↵`,Escape:`Esc`,Backspace:`⌫`,Delete:`⌦`,Tab:`⇥`,Space:`␣`};function ge(e,t=D()){let n=e.split(`+`),r=new Set,i=``;for(let e=0;e<n.length;e++){let a=n[e].trim();if(e===n.length-1)i=le(a);else{let e=A[a]??A[a.toLowerCase()];if(e){let n=j(e,t);r.add(n)}else n.length===1&&(i=le(a))}}return!i&&n.length>0&&(i=le(n[n.length-1].trim())),{key:i,ctrl:r.has(`Control`),shift:r.has(`Shift`),alt:r.has(`Alt`),meta:r.has(`Meta`),modifiers:O.filter(e=>r.has(e))}}function _e(e,t=D()){let n=e.ctrl??!1,r=e.shift??!1,i=e.alt??!1,a=e.meta??!1;e.mod&&(j(`Mod`,t)===`Control`?n=!0:a=!0);let o=O.filter(e=>{switch(e){case`Control`:return n;case`Shift`:return r;case`Alt`:return i;case`Meta`:return a;default:return!1}});return{key:e.key,ctrl:n,shift:r,alt:i,meta:a,modifiers:o}}function ve(e,t){let n=t===`mac`?e.meta&&!e.ctrl:e.ctrl&&!e.meta,r=[];if(n)r.push(`Mod`),e.alt&&r.push(`Alt`),e.shift&&r.push(`Shift`);else for(let t of O)e.modifiers.includes(t)&&r.push(t);return r.push(le(e.key)),r.join(`+`)}function ye(e,t=D()){return ve(ge(e,t),t)}function be(e,t=D()){return ve(e,t)}function xe(e,t=D()){return typeof e==`string`?ye(e,t):be(_e(e,t),t)}function Se(e){return e in A||e.toLowerCase()in A}function Ce(e){let t=[];for(let n of O)e.modifiers.includes(n)&&t.push(n);return t.push(e.key),t.join(`+`)}function we(e,t={}){let n=t.platform??D(),r=t.useSymbols??!0,i=t.separatorToken??(n===`mac`&&r?` `:`+`);return xe(e,n).split(`+`).map(e=>{if(Se(e)){let t=A[e]??A[e.toLowerCase()];return n===`mac`?r?ue[t]:de[t]:n===`windows`?fe[t]:pe[t]}else return r&&he[e]||!r&&me[e]||e}).join(i)}function Te(e,t,n=D()){let r=typeof t==`string`?ge(t,n):t;if(e.ctrlKey!==r.ctrl||e.shiftKey!==r.shift||e.altKey!==r.alt||e.metaKey!==r.meta)return!1;let i=le(e.key),a=r.key;if(i!==`Dead`&&i.length===1&&a.length===1){if(i.toUpperCase()===a.toUpperCase())return!0;if(P(i)&&(/^[A-Za-z]$/.test(i)||!e.altKey))return!1}if(e.code&&(i===`Dead`||i.length===1&&a.length===1)){if(e.code.startsWith(`Key`)){let t=e.code.slice(3);if(t.length===1&&/^[A-Za-z]$/.test(t))return t.toUpperCase()===a.toUpperCase()}if(e.code.startsWith(`Digit`)){let t=e.code.slice(5);if(t.length===1&&/^[0-9]$/.test(t))return t===a}return e.code in se?se[e.code]===a:!1}return i===a}var Ee={preventDefault:!0,stopPropagation:!0,eventType:`keydown`,enabled:!0,ignoreInputs:!0,conflictBehavior:`warn`};function De(e){return!(e.ctrl||e.meta||e.key===`Escape`)}function Oe(e){if(!e)return!1;if(e instanceof HTMLInputElement){let t=e.type.toLowerCase();return!(t===`button`||t===`submit`||t===`reset`)}return!!(e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement||e instanceof HTMLElement&&e.isContentEditable)}function ke(e){return typeof document>`u`?null:typeof Document<`u`&&e instanceof Document||typeof Node<`u`&&e.nodeType===Node.DOCUMENT_NODE?e.activeElement:typeof HTMLElement<`u`&&e instanceof HTMLElement?e.ownerDocument.activeElement??null:e.document.activeElement??null}function Ae(e,t,n){let r=ke(t);return r&&Oe(r)&&r!==n||e.composedPath().some(e=>Oe(e)&&e!==n)?!0:Oe(e.target)&&e.target!==n}function je(e,t){return t===document||t===window?e.currentTarget===t||e.currentTarget===document.documentElement:t===window?e.currentTarget===window||e.currentTarget===document||e.currentTarget===document.documentElement:!!(t instanceof HTMLElement&&(e.currentTarget===t||e.target instanceof Node&&t.contains(e.target)))}function Me(e,t,n,r){if(n!==`allow`){if(n===`warn`){console.warn(`'${t}' is already registered. Multiple handlers will be triggered. Use conflictBehavior: 'replace' to replace the existing handler, or conflictBehavior: 'allow' to suppress this warning.`);return}if(n===`error`)throw Error(`'${t}' is already registered. Use conflictBehavior: 'replace' to replace the existing handler, or conflictBehavior: 'allow' to allow multiple registrations.`);r(e)}}var F=function(e){return e[e.None=0]=`None`,e[e.Mutable=1]=`Mutable`,e[e.Watching=2]=`Watching`,e[e.RecursedCheck=4]=`RecursedCheck`,e[e.Recursed=8]=`Recursed`,e[e.Dirty=16]=`Dirty`,e[e.Pending=32]=`Pending`,e}({});function Ne({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&(F.RecursedCheck|F.Recursed|F.Dirty|F.Pending)?a&(F.RecursedCheck|F.Recursed)?a&F.RecursedCheck?!(a&(F.Dirty|F.Pending))&&c(e,i)?(i.flags=a|(F.Recursed|F.Pending),a&=F.Mutable):a=F.None:i.flags=a&~F.Recursed|F.Pending:a=F.None:i.flags=a|F.Pending,a&F.Watching&&t(i),a&F.Mutable){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&F.Dirty)a=!0;else if((c&(F.Mutable|F.Dirty))===(F.Mutable|F.Dirty)){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&(F.Mutable|F.Pending))===(F.Mutable|F.Pending)){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=~F.Pending;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&(F.Pending|F.Dirty))===F.Pending&&(n.flags=r|F.Dirty,(r&(F.Watching|F.RecursedCheck))===F.Watching&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function Pe(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var Fe=[],Ie=0,{link:Le,unlink:Re,propagate:ze,checkDirty:Be,shallowPropagate:Ve}=Ne({update(e){return e._update()},notify(e){Fe[Ue++]=e,e.flags&=~F.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=F.Mutable|F.Dirty,Ke(e))}}),He=0,Ue=0,We,Ge=0;function Ke(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=Re(n,e)}function qe(){if(!(Ge>0)){for(;He<Ue;){let e=Fe[He];Fe[He++]=void 0,e.notify()}He=0,Ue=0}}function Je(e,t){let n=typeof e==`function`,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?F.None:F.Mutable,get(){return We!==void 0&&Le(i,We,Ie),i._snapshot},subscribe(e){let t=Pe(e),n={current:!1},r=Ye(()=>{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=We,o=t?.compare??Object.is;if(n)We=i,++Ie,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=F.Mutable|F.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{We=a,n&&(i.flags&=~F.RecursedCheck),Ke(i)}}};return n?(i.flags=F.Mutable|F.Dirty,i.get=function(){let e=i.flags;if(e&F.Dirty||e&F.Pending&&Be(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&Ve(e)}}else e&F.Pending&&(i.flags=e&~F.Pending);return We!==void 0&&Le(i,We,Ie),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(ze(e),Ve(e),qe())}},i}function Ye(e){let t=()=>{let t=We;We=n,++Ie,n.depsTail=void 0,n.flags=F.Watching|F.RecursedCheck;try{return e()}finally{We=t,n.flags&=~F.RecursedCheck,Ke(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:F.Watching|F.RecursedCheck,notify(){let e=this.flags;e&F.Dirty||e&F.Pending&&Be(this.deps,this)?t():this.flags=F.Watching},stop(){this.flags=F.None,this.depsTail=void 0,Ke(this)}};return t(),n}var Xe=class{constructor(e,t){this.atom=Je(e),this.get=this.get.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),t&&(this.actions=t(this))}setState(e){this.atom.set(e)}get state(){return this.atom.get()}get(){return this.state}subscribe(e){return this.atom.subscribe(Pe(e))}},Ze=0;function Qe(){return`hotkey_${++Ze}`}var $e=class e{static#e=null;#t;#n=new Map;#r=new Map;constructor(){this.registrations=new Xe(new Map),this.#t=D()}static getInstance(){return e.#e||=new e,e.#e}static resetInstance(){e.#e&&=(e.#e.destroy(),null)}register(e,t,n={}){if(typeof document>`u`&&!n.target){let e=t;return{id:Qe(),unregister:()=>{},get callback(){return e},set callback(t){e=t},setOptions:()=>{},get isActive(){return!1}}}let r=Qe(),i=n.platform??this.#t,a=typeof e==`string`?ge(e,i):_e(e,i),o=typeof e==`string`?e:Ce(a),s=n.target??document,c=n.conflictBehavior??`warn`,l=this.#d(o,s);l&&Me(l.id,o,c,e=>this.#i(e));let u=n.ignoreInputs??De(a),d={id:r,hotkey:o,parsedHotkey:a,callback:t,options:{...Ee,requireReset:!1,...n,platform:i,ignoreInputs:u},hasFired:!1,triggerCount:0,target:s};this.registrations.setState(e=>new Map(e).set(r,d)),this.#r.has(s)||this.#r.set(s,new Set),this.#r.get(s).add(r),this.#a(s);let f=this;return{get id(){return r},unregister:()=>{f.#i(r)},get callback(){return f.registrations.state.get(r)?.callback??t},set callback(e){let t=f.registrations.state.get(r);t&&(t.callback=e)},setOptions:e=>{f.registrations.setState(t=>{let n=t.get(r);if(n){let i=new Map(t);return i.set(r,{...n,options:{...n.options,...e}}),i}return t})},get isActive(){return f.registrations.state.has(r)}}}#i(e){let t=this.registrations.state.get(e);if(!t)return;let n=t.target;this.registrations.setState(t=>{let n=new Map(t);return n.delete(e),n});let r=this.#r.get(n);r&&(r.delete(e),r.size===0&&this.#o(n))}#a(e){if(typeof document>`u`||this.#n.has(e))return;let t=this.#l(e),n=this.#u(e);e.addEventListener(`keydown`,t),e.addEventListener(`keyup`,n),this.#n.set(e,{keydown:t,keyup:n})}#o(e){if(typeof document>`u`)return;let t=this.#n.get(e);t&&(e.removeEventListener(`keydown`,t.keydown),e.removeEventListener(`keyup`,t.keyup),this.#n.delete(e),this.#r.delete(e))}#s(e,t,n){let r=this.#r.get(t);if(r)for(let i of r){let r=this.registrations.state.get(i);if(r&&je(e,t)&&r.options.enabled&&!(r.options.ignoreInputs!==!1&&Ae(e,t,r.target)))if(n===`keydown`){if(r.options.eventType!==`keydown`)continue;Te(e,r.parsedHotkey,r.options.platform)&&(r.options.preventDefault&&e.preventDefault(),r.options.stopPropagation&&e.stopPropagation(),(!r.options.requireReset||!r.hasFired)&&(this.#c(r,e),r.options.requireReset&&(r.hasFired=!0)))}else r.options.eventType===`keyup`&&Te(e,r.parsedHotkey,r.options.platform)&&this.#c(r,e),r.options.requireReset&&r.hasFired&&this.#f(r,e)&&(r.hasFired=!1)}}#c(e,t){e.options.preventDefault&&t.preventDefault(),e.options.stopPropagation&&t.stopPropagation(),e.triggerCount++,this.registrations.setState(e=>new Map(e));let n={hotkey:e.hotkey,parsedHotkey:e.parsedHotkey};e.callback(t,n)}#l(e){return t=>{this.#s(t,e,`keydown`)}}#u(e){return t=>{this.#s(t,e,`keyup`)}}#d(e,t){for(let n of this.registrations.state.values())if(n.hotkey===e&&n.target===t)return n;return null}#f(e,t){let n=e.parsedHotkey,r=le(t.key),i=n.key.length===1?n.key.toUpperCase():n.key;return!!((r.length===1?r.toUpperCase():r)===i||n.ctrl&&r===`Control`||n.shift&&r===`Shift`||n.alt&&r===`Alt`||n.meta&&r===`Meta`)}triggerRegistration(e){let t=this.registrations.state.get(e);if(!t)return!1;let n=t.parsedHotkey,r=new KeyboardEvent(t.options.eventType??`keydown`,{key:n.key,ctrlKey:n.ctrl,shiftKey:n.shift,altKey:n.alt,metaKey:n.meta,bubbles:!0,cancelable:!0});return t.triggerCount++,this.registrations.setState(e=>new Map(e)),t.callback(r,{hotkey:t.hotkey,parsedHotkey:t.parsedHotkey}),!0}getRegistrationCount(){return this.registrations.state.size}isRegistered(e,t){for(let n of this.registrations.state.values())if(n.hotkey===e&&(t===void 0||n.target===t))return!0;return!1}destroy(){for(let e of this.#n.keys())this.#o(e);this.registrations.setState(()=>new Map),this.#n.clear(),this.#r.clear()}};function et(){return $e.getInstance()}function tt(){return{heldKeys:[],heldCodes:{}}}var nt=class e{static#e=null;#t=new Set;#n=new Map;#r=null;#i=null;#a=null;constructor(){this.store=new Xe(tt()),this.#o()}static getInstance(){return e.#e||=new e,e.#e}static resetInstance(){e.#e&&=(e.#e.destroy(),null)}#o(){typeof document>`u`||(this.#r=e=>{let t=le(e.key);this.#t.has(t)||(this.#t.add(t),this.#n.set(t,e.code),this.#s())},this.#i=e=>{let t=le(e.key);if(this.#t.has(t)&&(this.#t.delete(t),this.#n.delete(t)),k.has(t))for(let e of this.#t)k.has(e)||(this.#t.delete(e),this.#n.delete(e));this.#s()},this.#a=()=>{this.#t.size>0&&(this.#t.clear(),this.#n.clear(),this.#s())},document.addEventListener(`keydown`,this.#r),document.addEventListener(`keyup`,this.#i),window.addEventListener(`blur`,this.#a))}#s(){this.store.setState(()=>({heldKeys:Array.from(this.#t),heldCodes:Object.fromEntries(this.#n)}))}#c(){typeof document>`u`||(this.#r&&=(document.removeEventListener(`keydown`,this.#r),null),this.#i&&=(document.removeEventListener(`keyup`,this.#i),null),this.#a&&=(window.removeEventListener(`blur`,this.#a),null))}getHeldKeys(){return this.store.state.heldKeys}isKeyHeld(e){let t=le(e);return this.#t.has(t)}isAnyKeyHeld(e){return e.some(e=>this.isKeyHeld(e))}areAllKeysHeld(e){return e.every(e=>this.isKeyHeld(e))}destroy(){this.#c(),this.#t.clear(),this.#n.clear(),this.store.setState(()=>tt())}};function rt(){return nt.getInstance()}function it(e,t,n={}){let r=ne(),i=et(),a=null,o=null,s=null,c=(0,d.watch)(()=>{let t=at(e),i=at(n),a={...r.hotkey,...i};return{resolvedHotkey:t,mergedOptions:a,resolvedEnabled:a.enabled===void 0?void 0:at(a.enabled),resolvedTarget:a.target===void 0?void 0:at(a.target)}},({resolvedHotkey:e,mergedOptions:n,resolvedEnabled:r,resolvedTarget:c})=>{let l=xe(e,n.platform??D()),u=c===void 0?typeof document<`u`?document:null:c;if(!u){a?.isActive&&(a.unregister(),a=null),o=null,s=null;return}let{target:d,enabled:f,...p}=n,m={...p,...r===void 0?{}:{enabled:r}};if(a?.isActive&&o===l&&s===u){a.callback=t,a.setOptions(m);return}a?.isActive&&(a.unregister(),a=null),a=i.register(l,t,{...m,target:u}),a.isActive&&(a.callback=t,a.setOptions(m)),o=l,s=u},{immediate:!0});(0,d.onUnmounted)(()=>{c(),a?.isActive&&(a.unregister(),a=null)})}function at(e){return typeof e==`function`?e():(0,d.unref)(e)}var ot=o({Vue:()=>d,Vue2:()=>void 0,del:()=>lt,install:()=>st,isVue2:()=>!1,isVue3:()=>!0,set:()=>ct});c(ot,require("vue"));function st(){}function ct(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function lt(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function ut(e,t){return e===t}function dt(e,t=e=>e,n){let r=n?.compare??ut,i=(0,ot.shallowRef)(t(e.get())),a=e.subscribe(e=>{let n=t(e);r((0,ot.toRaw)(i.value),n)||(i.value=n)}).unsubscribe;return(0,ot.onScopeDispose)(()=>{a()}),(0,ot.readonly)(i)}function ft(e){return dt(rt().store,t=>{let n=(0,d.unref)(e),r=(typeof n==`string`?n:String(n)).toLowerCase();return t.heldKeys.some(e=>e.toLowerCase()===r)})}var I=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},pt={},mt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function ht(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,mt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M12 8V12M12 16H12.01M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var gt=I(pt,[[`render`,ht]]),_t={},vt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function yt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,vt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M11.9998 8.99999V13M11.9998 17H12.0098M10.6151 3.89171L2.39019 18.0983C1.93398 18.8863 1.70588 19.2803 1.73959 19.6037C1.769 19.8857 1.91677 20.142 2.14613 20.3088C2.40908 20.5 2.86435 20.5 3.77487 20.5H20.2246C21.1352 20.5 21.5904 20.5 21.8534 20.3088C22.0827 20.142 22.2305 19.8857 22.2599 19.6037C22.2936 19.2803 22.0655 18.8863 21.6093 18.0983L13.3844 3.89171C12.9299 3.10654 12.7026 2.71396 12.4061 2.58211C12.1474 2.4671 11.8521 2.4671 11.5935 2.58211C11.2969 2.71396 11.0696 3.10655 10.6151 3.89171Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var bt=I(_t,[[`render`,yt]]),xt={},St={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Ct(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,St,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M20 12H4M4 12L10 18M4 12L10 6`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var wt=I(xt,[[`render`,Ct]]),Tt={},Et={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Dt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Et,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M4 12H20M20 12L14 6M20 12L14 18`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Ot=I(Tt,[[`render`,Dt]]),kt={},At={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function jt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,At,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M21 10H3M16 2V6M8 2V6M7.8 22H16.2C17.8802 22 18.7202 22 19.362 21.673C19.9265 21.3854 20.3854 20.9265 20.673 20.362C21 19.7202 21 18.8802 21 17.2V8.8C21 7.11984 21 6.27976 20.673 5.63803C20.3854 5.07354 19.9265 4.6146 19.362 4.32698C18.7202 4 17.8802 4 16.2 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V17.2C3 18.8802 3 19.7202 3.32698 20.362C3.6146 20.9265 4.07354 21.3854 4.63803 21.673C5.27976 22 6.11984 22 7.8 22Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Mt=I(kt,[[`render`,jt]]),Nt={},Pt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Ft(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Pt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M20 6L9 17L4 12`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var It=I(Nt,[[`render`,Ft]]),Lt={},Rt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function zt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Rt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M6 9L12 15L18 9`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Bt=I(Lt,[[`render`,zt]]),Vt={},Ht={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Ut(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Ht,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M15 18L9 12L15 6`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Wt=I(Vt,[[`render`,Ut]]),Gt={},Kt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function qt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Kt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M9 18L15 12L9 6`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Jt=I(Gt,[[`render`,qt]]),Yt={},Xt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Zt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Xt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M9 3V21M15 3V21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Qt=I(Yt,[[`render`,Zt]]),$t={},en={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function tn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,en,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M17 9L11 15M11 9L17 15M2.72 12.96L7.04 18.72C7.392 19.1893 7.568 19.424 7.79105 19.5932C7.9886 19.7432 8.21232 19.855 8.45077 19.9231C8.72 20 9.01334 20 9.6 20H17.2C18.8802 20 19.7202 20 20.362 19.673C20.9265 19.3854 21.3854 18.9265 21.673 18.362C22 17.7202 22 16.8802 22 15.2V8.8C22 7.11984 22 6.27976 21.673 5.63803C21.3854 5.07354 20.9265 4.6146 20.362 4.32698C19.7202 4 18.8802 4 17.2 4H9.6C9.01334 4 8.72 4 8.45077 4.07689C8.21232 4.14499 7.9886 4.25685 7.79105 4.40675C7.568 4.576 7.392 4.81067 7.04 5.28L2.72 11.04C2.46181 11.3843 2.33271 11.5564 2.28294 11.7454C2.23902 11.9123 2.23902 12.0877 2.28294 12.2546C2.33271 12.4436 2.46181 12.6157 2.72 12.96Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var nn=I($t,[[`render`,tn]]),rn={},an={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function on(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,an,[...t[0]||=[(0,d.createStaticVNode)(`<path d="M12 6C12.5523 6 13 5.55228 13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5C11 5.55228 11.4477 6 12 6Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 20C12.5523 20 13 19.5523 13 19C13 18.4477 12.5523 18 12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 6C19.5523 6 20 5.55228 20 5C20 4.44772 19.5523 4 19 4C18.4477 4 18 4.44772 18 5C18 5.55228 18.4477 6 19 6Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 20C19.5523 20 20 19.5523 20 19C20 18.4477 19.5523 18 19 18C18.4477 18 18 18.4477 18 19C18 19.5523 18.4477 20 19 20Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 6C5.55228 6 6 5.55228 6 5C6 4.44772 5.55228 4 5 4C4.44772 4 4 4.44772 4 5C4 5.55228 4.44772 6 5 6Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 20C5.55228 20 6 19.5523 6 19C6 18.4477 5.55228 18 5 18C4.44772 18 4 18.4477 4 19C4 19.5523 4.44772 20 5 20Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>`,9)]])}var sn=I(rn,[[`render`,on]]),cn={},ln={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function un(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,ln,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1),(0,d.createElementVNode)(`path`,{d:`M12 6C12.5523 6 13 5.55228 13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5C11 5.55228 11.4477 6 12 6Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1),(0,d.createElementVNode)(`path`,{d:`M12 20C12.5523 20 13 19.5523 13 19C13 18.4477 12.5523 18 12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var dn=I(cn,[[`render`,un]]),fn={},pn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function mn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,pn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M18 10L14 6M2.49997 21.5L5.88434 21.124C6.29783 21.078 6.50457 21.055 6.69782 20.9925C6.86926 20.937 7.03242 20.8586 7.18286 20.7594C7.35242 20.6475 7.49951 20.5005 7.7937 20.2063L21 7C22.1046 5.89543 22.1046 4.10457 21 3C19.8954 1.89543 18.1046 1.89543 17 3L3.7937 16.2063C3.49952 16.5005 3.35242 16.6475 3.24061 16.8171C3.1414 16.9676 3.06298 17.1307 3.00748 17.3022C2.94493 17.4954 2.92195 17.7021 2.87601 18.1156L2.49997 21.5Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var hn=I(fn,[[`render`,mn]]),gn={},_n={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function vn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,_n,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M6.5 17.5L6.5 6.5M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var yn=I(gn,[[`render`,vn]]),bn={},xn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Sn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,xn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M17.5 17.5L17.5 6.5M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Cn=I(bn,[[`render`,Sn]]),wn={},Tn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function En(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Tn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M9.09 9C9.3251 8.33167 9.78915 7.76811 10.4 7.40913C11.0108 7.05016 11.7289 6.91894 12.4272 7.03871C13.1255 7.15849 13.7588 7.52152 14.2151 8.06353C14.6713 8.60553 14.9211 9.29152 14.92 10C14.92 12 11.92 13 11.92 13M12 17H12.01M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Dn=I(wn,[[`render`,En]]),On={},kn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function An(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,kn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M9 3V21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var jn=I(On,[[`render`,An]]),Mn={},Nn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Pn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Nn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M15 3V21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Fn=I(Mn,[[`render`,Pn]]),In={},Ln={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Rn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Ln,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M5 12H19`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var zn=I(In,[[`render`,Rn]]),Bn={},Vn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Hn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Vn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M12 5V19M5 12H19`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Un=I(Bn,[[`render`,Hn]]),Wn={},Gn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Kn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Gn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M21 21L17.5001 17.5M20 11.5C20 16.1944 16.1944 20 11.5 20C6.80558 20 3 16.1944 3 11.5C3 6.80558 6.80558 3 11.5 3C16.1944 3 20 6.80558 20 11.5Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var qn=I(Wn,[[`render`,Kn]]),Jn={},Yn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Xn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Yn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M6 12H18M6 12L8 9M6 12L8 15M18 12L16 9M18 12L16 15M21 21V3M3 21V3`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Zn=I(Jn,[[`render`,Xn]]),Qn={},$n={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function er(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,$n,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M15.3119 10C16.6802 10.4263 17.9624 11.1191 19.08 12.05M22.5799 8.49997C19.6575 5.92394 15.8956 4.50262 11.9999 4.50262C11.3949 4.50262 10.7931 4.5369 10.1972 4.60447M8.52979 15.61C9.54499 14.8888 10.7595 14.5013 12.0048 14.5013C13.2501 14.5013 14.4646 14.8888 15.4798 15.61M12 19.5H12.01M1.19336 8.70076C2.52697 7.47869 4.06839 6.47975 5.75851 5.76306M4.73193 12.243C6.12934 11.012 7.84172 10.1302 9.73265 9.73393M15.6983 15.7751C14.6792 14.9763 13.3952 14.5 11.9999 14.5C10.5835 14.5 9.28172 14.9908 8.25537 15.8116M3 3L21 21`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var tr=I(Qn,[[`render`,er]]),nr={},rr={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function ir(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,rr,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M18 6L6 18M6 6L18 18`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var ar=I(nr,[[`render`,ir]]);function L(e){let t=Symbol(e);function n(e){return(0,d.provide)(t,e),e}function r(n){let r=(0,d.inject)(t,n??void 0);if(r===void 0&&n===void 0)throw Error(`${e} context is not provided.`);return r??null}return[n,r]}function or(e){let t={};for(let n in e){if(typeof e[n]==`function`){t[n]=e[n];continue}t[n]=(0,d.computed)(()=>e[n])}return t}var[sr,cr]=L(`themeProviderContext`);function lr(){return cr(null)??{appearance:(0,d.computed)(()=>`light`),theme:(0,d.computed)(()=>`default`)}}var ur=(0,d.defineComponent)({__name:`ThemeProvider`,props:{appearance:{default:null},asChild:{type:Boolean,default:!1},theme:{default:null}},setup(e){let t=e,n=lr(),r=(0,d.computed)(()=>t.appearance??n.appearance.value??`light`),i=(0,d.computed)(()=>t.theme??n.theme.value);return sr({appearance:r,theme:i}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":t.asChild,class:(0,d.normalizeClass)([i.value,r.value])},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`class`]))}}),dr={class:`relative size-full max-h-(--reka-context-menu-content-available-height) overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},fr=(0,d.defineComponent)({__name:`ContextMenu`,props:{collisionPadding:{default:0},disableUpdateOnLayoutShift:{type:Boolean,default:!1},prioritizePosition:{type:Boolean,default:!1}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ContextMenuRoot),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ContextMenuTrigger),{"as-child":!0,"data-context-menu-trigger":``},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`)]),_:3}),(0,d.createVNode)((0,d.unref)(p.ContextMenuPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(ur,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ContextMenuContent),{"collision-padding":t.collisionPadding,"disable-update-on-layout-shift":t.disableUpdateOnLayoutShift,"prioritize-position":t.prioritizePosition,"data-animation":`popover-default`,class:`z-50 min-w-48 origin-(--reka-context-menu-content-transform-origin) will-change-[transform,opacity]`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,dr,[(0,d.renderSlot)(e.$slots,`content`)])]),_:3},8,[`collision-padding`,`disable-update-on-layout-shift`,`prioritize-position`])]),_:3})]),_:3})]),_:3}))}}),pr={class:`relative size-full max-h-(--reka-context-menu-content-available-height) overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},mr=(0,d.defineComponent)({__name:`ContextMenuSubContent`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ContextMenuPortal),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(ur,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ContextMenuSubContent),{"side-offset":8,"align-offset":-4,"collision-padding":5,"data-animation":`popover-default`,class:`z-50 max-w-64 min-w-52 origin-(--reka-context-menu-content-transform-origin) will-change-[transform,opacity]`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,pr,[(0,d.renderSlot)(e.$slots,`default`)])]),_:3})]),_:3})]),_:3}))}}),hr={isPopoverArrowVisible:!1,popoverAlign:`center`,popoverAlignOffset:0,popoverAnchorReferenceElement:null,popoverAnimationName:null,popoverCollisionPadding:0,popoverContainerElement:null,popoverSide:`top`,popoverSideOffset:0,popoverWidth:`content-width`},gr=(0,d.defineComponent)({__name:`DropdownMenuArrow`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuArrow),{class:`relative -mb-4 h-4 w-10 -translate-y-px overflow-hidden`,as:`div`},{default:(0,d.withCtx)(()=>[...t[0]||=[(0,d.createElementVNode)(`div`,{class:`absolute left-1/2 size-4 -translate-x-1/2 -translate-y-3 rotate-45 rounded-xxs border border-secondary bg-primary shadow-lg`},null,-1)]]),_:1}))}}),_r={class:`relative size-full max-h-(--reka-dropdown-menu-content-available-height) overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},vr=(0,d.defineComponent)({__name:`DropdownMenu`,props:(0,d.mergeModels)((0,d.mergeDefaults)({disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...hr,popoverSideOffset:4}),{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:[`update:isOpen`],setup(e){let t=e,n=(0,d.useModel)(e,`isOpen`);return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuRoot),{open:n.value,"onUpdate:open":r[0]||=e=>n.value=e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`)]),_:3}),(0,d.createVNode)((0,d.unref)(p.DropdownMenuPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(ur,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuContent),{reference:t.popoverAnchorReferenceElement??void 0,align:t.popoverAlign,"align-offset":t.popoverAlignOffset,"collision-padding":t.popoverCollisionPadding,"collision-boundary":t.popoverContainerElement,side:t.popoverSide,"side-offset":t.popoverSideOffset,class:(0,d.normalizeClass)([{"w-(--reka-dropdown-menu-trigger-width)":t.popoverWidth===`anchor-width`,"w-(--reka-dropdown-menu-content-available-width)":t.popoverWidth===`available-width`},`z-50 min-w-48 origin-(--reka-dropdown-menu-content-transform-origin) will-change-[transform,opacity]`]),"disable-update-on-layout-shift":t.disableUpdateOnLayoutShift,"prioritize-position":t.prioritizePosition,"data-animation":t.popoverAnimationName??`popover-default`,"position-strategy":`absolute`,sticky:`always`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,_r,[(0,d.renderSlot)(e.$slots,`content`)]),t.isPopoverArrowVisible?((0,d.openBlock)(),(0,d.createBlock)(gr,{key:0})):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`reference`,`align`,`align-offset`,`collision-padding`,`collision-boundary`,`side`,`side-offset`,`class`,`disable-update-on-layout-shift`,`prioritize-position`,`data-animation`])]),_:3})]),_:3})]),_:3},8,[`open`]))}}),yr=(0,d.defineComponent)({__name:`KeyboardShortcutKey`,props:{enableKeyHoldVisualization:{type:Boolean},keyboardKey:{},rawKey:{}},setup(e){let t=e,n=ft(t.rawKey);return(r,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`kbd`,{class:(0,d.normalizeClass)([{"bg-primary/75 text-tertiary dark:bg-secondary":!(0,d.unref)(n)||!e.enableKeyHoldVisualization,"bg-tertiary/75 text-primary":(0,d.unref)(n)&&e.enableKeyHoldVisualization},`flex h-4 min-w-4 items-center justify-center rounded-xs border border-secondary bg-primary px-xxs text-center font-sans text-[0.6187rem] capitalize`])},(0,d.toDisplayString)(t.keyboardKey),3))}}),R=(0,d.defineComponent)({__name:`RowLayout`,props:{align:{default:`center`},as:{default:`div`},gap:{default:`md`},justify:{default:`start`}},setup(e){let t=e,n=(0,d.computed)(()=>{switch(t.align){case`baseline`:return`items-baseline`;case`center`:return`items-center`;case`end`:return`items-end`;case`start`:return`items-start`;default:return`items-center`}}),r=(0,d.computed)(()=>{switch(t.justify){case`between`:return`justify-between`;case`center`:return`justify-center`;case`end`:return`justify-end`;case`start`:return`justify-start`;default:return`justify-start`}}),i=(0,d.computed)(()=>{switch(t.gap){case`2xl`:return`gap-2xl`;case`3xl`:return`gap-3xl`;case`4xl`:return`gap-4xl`;case`5xl`:return`gap-5xl`;case`6xl`:return`gap-6xl`;case`7xl`:return`gap-7xl`;case`8xl`:return`gap-8xl`;case`9xl`:return`gap-9xl`;case`10xl`:return`gap-10xl`;case`11xl`:return`gap-11xl`;case`lg`:return`gap-lg`;case`md`:return`gap-md`;case`none`:return`gap-none`;case`sm`:return`gap-sm`;case`xl`:return`gap-xl`;case`xs`:return`gap-xs`;case`xxs`:return`gap-xxs`;default:return`gap-none`}});return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.as),{class:(0,d.normalizeClass)([[n.value,r.value,i.value],`flex flex-row`])},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}}),br={key:1,class:`text-xxs text-tertiary`},xr=`\0`,Sr=(0,d.defineComponent)({__name:`KeyboardShortcut`,props:{enableKeyHoldVisualization:{type:Boolean,default:!1},keyboardShortcut:{}},setup(e){let t=e,n=(0,m.useI18n)(),r=D();function i(e){let t=xe(e,r).split(`+`),n=we(e,{platform:r,separatorToken:xr}).split(xr);return t.map((e,t)=>({part:`key`,rawKey:e===`Mod`?j(`Mod`,r):e,value:n[t]??e}))}let a=(0,d.computed)(()=>`sequence`in t.keyboardShortcut),o=(0,d.computed)(()=>{let e=t.keyboardShortcut;if(`sequence`in e){let t=[];for(let[n,r]of e.sequence.entries())t.push(...i(r)),n<e.sequence.length-1&&t.push({part:`separator`});return t}return i(e)});return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{gap:a.value?`xs`:`xxs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(o.value,(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:r},[e.part===`key`?((0,d.openBlock)(),(0,d.createBlock)(yr,{key:0,"keyboard-key":e.value,"raw-key":e.rawKey,"enable-key-hold-visualization":t.enableKeyHoldVisualization},null,8,[`keyboard-key`,`raw-key`,`enable-key-hold-visualization`])):((0,d.openBlock)(),(0,d.createElementBlock)(`span`,br,(0,d.toDisplayString)((0,d.unref)(n).t(`component.keyboard_shortcut.then`)),1))],64))),128))]),_:1},8,[`gap`]))}}),Cr=/\s+/g,wr=e=>typeof e!=`string`||!e?e:e.replace(Cr,` `).trim(),Tr=(...e)=>{let t=[],n=e=>{if(!e&&e!==0&&e!==0n)return;if(Array.isArray(e)){for(let t=0,r=e.length;t<r;t++)n(e[t]);return}let r=typeof e;if(r===`string`||r===`number`||r===`bigint`){if(r===`number`&&e!==e)return;t.push(String(e))}else if(r===`object`){let n=Object.keys(e);for(let r=0,i=n.length;r<i;r++){let i=n[r];e[i]&&t.push(i)}}};for(let t=0,r=e.length;t<r;t++){let r=e[t];r!=null&&n(r)}return t.length>0?wr(t.join(` `)):void 0},Er=e=>e===!1?`false`:e===!0?`true`:e===0?`0`:e,Dr=e=>{if(!e||typeof e!=`object`)return!0;for(let t in e)return!1;return!0},Or=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++){let a=n[i];if(!r.includes(a)||e[a]!==t[a])return!1}return!0},kr=(e,t)=>{for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)){let r=t[n];n in e?e[n]=Tr(e[n],r):e[n]=r}return e},Ar=(e,t)=>{for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?Ar(r,t):r&&t.push(r)}},jr=(...e)=>{let t=[];Ar(e,t);let n=[];for(let e=0;e<t.length;e++)t[e]&&n.push(t[e]);return n},Mr=(e,t)=>{let n={};for(let r in e){let i=e[r];if(r in t){let e=t[r];Array.isArray(i)||Array.isArray(e)?n[r]=jr(e,i):typeof i==`object`&&typeof e==`object`&&i&&e?n[r]=Mr(i,e):n[r]=e+` `+i}else n[r]=i}for(let r in t)r in e||(n[r]=t[r]);return n},Nr={twMerge:!0,twMergeConfig:{}};function Pr(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(t){e=t},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(e){t=e},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(e){n=e},reset(){e=null,t={},n=!1}}}var Fr=Pr(),Ir=e=>{let t=(t,n)=>{let{extend:r=null,slots:i={},variants:a={},compoundVariants:o=[],compoundSlots:s=[],defaultVariants:c={}}=t,l={...Nr,...n},u=r?.base?Tr(r.base,t?.base):t?.base,d=r?.variants&&!Dr(r.variants)?Mr(a,r.variants):a,f=r?.defaultVariants&&!Dr(r.defaultVariants)?{...r.defaultVariants,...c}:c;!Dr(l.twMergeConfig)&&!Or(l.twMergeConfig,Fr.cachedTwMergeConfig)&&(Fr.didTwMergeConfigChange=!0,Fr.cachedTwMergeConfig=l.twMergeConfig);let p=Dr(r?.slots),m=Dr(i)?{}:{base:Tr(t?.base,p&&r?.base),...i},h=p?m:kr({...r?.slots},Dr(m)?{base:t?.base}:m),g=Dr(r?.compoundVariants)?o:jr(r?.compoundVariants,o),_=t=>{if(Dr(d)&&Dr(i)&&p)return e(u,t?.class,t?.className)(l);if(g&&!Array.isArray(g))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof g}`);if(s&&!Array.isArray(s))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof s}`);let n=(e,n=d,r=null,i=null)=>{let a=n[e];if(!a||Dr(a))return null;let o=i?.[e]??t?.[e];if(o===null)return null;let s=Er(o);if(typeof s==`object`)return null;let c=f?.[e];return a[(s??Er(c))||`false`]},r=()=>{if(!d)return null;let e=Object.keys(d),t=[];for(let r=0;r<e.length;r++){let i=n(e[r],d);i&&t.push(i)}return t},a=(e,t)=>{if(!d||typeof d!=`object`)return null;let r=[];for(let i in d){let a=n(i,d,e,t),o=e===`base`&&typeof a==`string`?a:a&&a[e];o&&r.push(o)}return r},o={};for(let e in t){let n=t[e];n!==void 0&&(o[e]=n)}let c=(e,n)=>{let r=typeof t?.[e]==`object`?{[e]:t[e]?.initial}:{};return{...f,...o,...r,...n}},m=(e=[],t)=>{let n=[],r=e.length;for(let i=0;i<r;i++){let{class:r,className:a,...o}=e[i],s=!0,l=c(null,t);for(let e in o){let t=o[e],n=l[e];if(Array.isArray(t)){if(!t.includes(n)){s=!1;break}}else{if((t==null||t===!1)&&(n==null||n===!1))continue;if(n!==t){s=!1;break}}}s&&(r&&n.push(r),a&&n.push(a))}return n},_=t=>{let n=m(g,t);if(!Array.isArray(n))return n;let r={},i=e;for(let e=0;e<n.length;e++){let t=n[e];if(typeof t==`string`)r.base=i(r.base,t)(l);else if(typeof t==`object`)for(let e in t)r[e]=i(r[e],t[e])(l)}return r},v=e=>{if(s.length<1)return null;let t={},n=c(null,e);for(let e=0;e<s.length;e++){let{slots:r=[],class:i,className:a,...o}=s[e];if(!Dr(o)){let e=!0;for(let t in o){let r=n[t],i=o[t];if(r===void 0||(Array.isArray(i)?!i.includes(r):i!==r)){e=!1;break}}if(!e)continue}for(let e=0;e<r.length;e++){let n=r[e];t[n]||(t[n]=[]),t[n].push([i,a])}}return t};if(!Dr(i)||!p){let t={};if(typeof h==`object`&&!Dr(h)){let n=e;for(let e in h)t[e]=t=>{let r=_(t),i=v(t);return n(h[e],a(e,t),r?r[e]:void 0,i?i[e]:void 0,t?.class,t?.className)(l)}}return t}return e(u,r(),m(g),t?.class,t?.className)(l)};return _.variantKeys=(()=>{if(!(!d||typeof d!=`object`))return Object.keys(d)})(),_.extend=r,_.base=u,_.slots=h,_.variants=d,_.defaultVariants=f,_.compoundSlots=s,_.compoundVariants=g,_};return{tv:t,createTV:e=>(n,r)=>t(n,r?Mr(e,r):e)}},Lr=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Rr=(e,t)=>({classGroupId:e,validator:t}),zr=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Br=`-`,Vr=[],Hr=`arbitrary..`,Ur=e=>{let t=Kr(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Gr(e);let n=e.split(Br);return Wr(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Lr(i,t):t:i||Vr}return n[e]||Vr}}},Wr=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Wr(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Br):e.slice(t).join(Br),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Gr=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Hr+r:void 0})(),Kr=e=>{let{theme:t,classGroups:n}=e;return qr(n,t)},qr=(e,t)=>{let n=zr();for(let r in e){let i=e[r];Jr(i,n,r,t)}return n},Jr=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Yr(i,t,n,r)}},Yr=(e,t,n,r)=>{if(typeof e==`string`){Xr(e,t,n);return}if(typeof e==`function`){Zr(e,t,n,r);return}Qr(e,t,n,r)},Xr=(e,t,n)=>{let r=e===``?t:$r(t,e);r.classGroupId=n},Zr=(e,t,n,r)=>{if(ei(e)){Jr(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Rr(n,e))},Qr=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Jr(o,$r(t,a),n,r)}},$r=(e,t)=>{let n=e,r=t.split(Br),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=zr(),n.nextPart.set(t,i)),n=i}return n},ei=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,ti=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},ni=`!`,ri=`:`,ii=[],ai=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),oi=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===ri){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(ni)?(c=s.slice(0,-1),l=!0):s.startsWith(ni)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return ai(t,l,c,u)};if(t){let e=t+ri,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):ai(ii,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},si=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},ci=e=>({cache:ti(e.cacheSize),parseClassName:oi(e),sortModifiers:si(e),...Ur(e)}),li=/\s+/,ui=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(li),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+ni:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},di=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=fi(n))&&(i&&(i+=` `),i+=r);return i},fi=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=fi(e[r]))&&(n&&(n+=` `),n+=t);return n},pi=(e,...t)=>{let n,r,i,a,o=o=>(n=ci(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=ui(e,n);return i(e,a),a};return a=o,(...e)=>a(di(...e))},mi=[],z=e=>{let t=t=>t[e]||mi;return t.isThemeGetter=!0,t},hi=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,gi=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_i=/^\d+\/\d+$/,vi=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yi=/\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$/,bi=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,xi=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Si=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ci=e=>_i.test(e),B=e=>!!e&&!Number.isNaN(Number(e)),wi=e=>!!e&&Number.isInteger(Number(e)),Ti=e=>e.endsWith(`%`)&&B(e.slice(0,-1)),Ei=e=>vi.test(e),Di=()=>!0,Oi=e=>yi.test(e)&&!bi.test(e),ki=()=>!1,Ai=e=>xi.test(e),ji=e=>Si.test(e),Mi=e=>!V(e)&&!H(e),Ni=e=>Gi(e,Yi,ki),V=e=>hi.test(e),Pi=e=>Gi(e,Xi,Oi),Fi=e=>Gi(e,Zi,B),Ii=e=>Gi(e,qi,ki),Li=e=>Gi(e,Ji,ji),Ri=e=>Gi(e,$i,Ai),H=e=>gi.test(e),zi=e=>Ki(e,Xi),Bi=e=>Ki(e,Qi),Vi=e=>Ki(e,qi),Hi=e=>Ki(e,Yi),Ui=e=>Ki(e,Ji),Wi=e=>Ki(e,$i,!0),Gi=(e,t,n)=>{let r=hi.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ki=(e,t,n=!1)=>{let r=gi.exec(e);return r?r[1]?t(r[1]):n:!1},qi=e=>e===`position`||e===`percentage`,Ji=e=>e===`image`||e===`url`,Yi=e=>e===`length`||e===`size`||e===`bg-size`,Xi=e=>e===`length`,Zi=e=>e===`number`,Qi=e=>e===`family-name`,$i=e=>e===`shadow`,ea=()=>{let e=z(`color`),t=z(`font`),n=z(`text`),r=z(`font-weight`),i=z(`tracking`),a=z(`leading`),o=z(`breakpoint`),s=z(`container`),c=z(`spacing`),l=z(`radius`),u=z(`shadow`),d=z(`inset-shadow`),f=z(`text-shadow`),p=z(`drop-shadow`),m=z(`blur`),h=z(`perspective`),g=z(`aspect`),_=z(`ease`),v=z(`animate`),y=()=>[`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`],x=()=>[...b(),H,V],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[H,V,c],T=()=>[Ci,`full`,`auto`,...w()],ee=()=>[wi,`none`,`subgrid`,H,V],te=()=>[`auto`,{span:[`full`,wi,H,V]},wi,H,V],E=()=>[wi,`auto`,H,V],ne=()=>[`auto`,`min`,`max`,`fr`,H,V],D=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],O=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],k=()=>[`auto`,...w()],A=()=>[Ci,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],j=()=>[e,H,V],re=()=>[...b(),Vi,Ii,{position:[H,V]}],ie=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ae=()=>[`auto`,`cover`,`contain`,Hi,Ni,{size:[H,V]}],oe=()=>[Ti,zi,Pi],M=()=>[``,`none`,`full`,l,H,V],N=()=>[``,B,zi,Pi],se=()=>[`solid`,`dashed`,`dotted`,`double`],ce=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],P=()=>[B,Ti,Vi,Ii],le=()=>[``,`none`,m,H,V],ue=()=>[`none`,B,H,V],de=()=>[`none`,B,H,V],fe=()=>[B,H,V],pe=()=>[Ci,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Ei],breakpoint:[Ei],color:[Di],container:[Ei],"drop-shadow":[Ei],ease:[`in`,`out`,`in-out`],font:[Mi],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Ei],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Ei],shadow:[Ei],spacing:[`px`,B],text:[Ei],"text-shadow":[Ei],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Ci,V,H,g]}],container:[`container`],columns:[{columns:[B,V,H,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{start:T()}],end:[{end:T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[wi,`auto`,H,V]}],basis:[{basis:[Ci,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[B,Ci,`auto`,`initial`,`none`,V]}],grow:[{grow:[``,B,H,V]}],shrink:[{shrink:[``,B,H,V]}],order:[{order:[wi,`first`,`last`,`none`,H,V]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...D(),`normal`]}],"justify-items":[{"justify-items":[...O(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...O()]}],"align-content":[{content:[`normal`,...D()]}],"align-items":[{items:[...O(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...O(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...O(),`baseline`]}],"place-self":[{"place-self":[`auto`,...O()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:A()}],w:[{w:[s,`screen`,...A()]}],"min-w":[{"min-w":[s,`screen`,`none`,...A()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...A()]}],h:[{h:[`screen`,`lh`,...A()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...A()]}],"max-h":[{"max-h":[`screen`,`lh`,...A()]}],"font-size":[{text:[`base`,n,zi,Pi]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,H,Fi]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Ti,V]}],"font-family":[{font:[Bi,V,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:[i,H,V]}],"line-clamp":[{"line-clamp":[B,`none`,H,Fi]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,H,V]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,H,V]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...se(),`wavy`]}],"text-decoration-thickness":[{decoration:[B,`from-font`,`auto`,H,Pi]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[B,`auto`,H,V]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,H,V]}],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`,H,V]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:ie()}],"bg-size":[{bg:ae()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},wi,H,V],radial:[``,H,V],conic:[wi,H,V]},Ui,Li]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:M()}],"rounded-s":[{"rounded-s":M()}],"rounded-e":[{"rounded-e":M()}],"rounded-t":[{"rounded-t":M()}],"rounded-r":[{"rounded-r":M()}],"rounded-b":[{"rounded-b":M()}],"rounded-l":[{"rounded-l":M()}],"rounded-ss":[{"rounded-ss":M()}],"rounded-se":[{"rounded-se":M()}],"rounded-ee":[{"rounded-ee":M()}],"rounded-es":[{"rounded-es":M()}],"rounded-tl":[{"rounded-tl":M()}],"rounded-tr":[{"rounded-tr":M()}],"rounded-br":[{"rounded-br":M()}],"rounded-bl":[{"rounded-bl":M()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":N()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...se(),`hidden`,`none`]}],"divide-style":[{divide:[...se(),`hidden`,`none`]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...se(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[B,H,V]}],"outline-w":[{outline:[``,B,zi,Pi]}],"outline-color":[{outline:j()}],shadow:[{shadow:[``,`none`,u,Wi,Ri]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":[`none`,d,Wi,Ri]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:N()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[B,Pi]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":[`none`,f,Wi,Ri]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[B,H,V]}],"mix-blend":[{"mix-blend":[...ce(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ce()}],"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":[B]}],"mask-image-linear-from-pos":[{"mask-linear-from":P()}],"mask-image-linear-to-pos":[{"mask-linear-to":P()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":P()}],"mask-image-t-to-pos":[{"mask-t-to":P()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":P()}],"mask-image-r-to-pos":[{"mask-r-to":P()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":P()}],"mask-image-b-to-pos":[{"mask-b-to":P()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":P()}],"mask-image-l-to-pos":[{"mask-l-to":P()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":P()}],"mask-image-x-to-pos":[{"mask-x-to":P()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":P()}],"mask-image-y-to-pos":[{"mask-y-to":P()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[H,V]}],"mask-image-radial-from-pos":[{"mask-radial-from":P()}],"mask-image-radial-to-pos":[{"mask-radial-to":P()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"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":[B]}],"mask-image-conic-from-pos":[{"mask-conic-from":P()}],"mask-image-conic-to-pos":[{"mask-conic-to":P()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:ie()}],"mask-size":[{mask:ae()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,H,V]}],filter:[{filter:[``,`none`,H,V]}],blur:[{blur:le()}],brightness:[{brightness:[B,H,V]}],contrast:[{contrast:[B,H,V]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Wi,Ri]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:[``,B,H,V]}],"hue-rotate":[{"hue-rotate":[B,H,V]}],invert:[{invert:[``,B,H,V]}],saturate:[{saturate:[B,H,V]}],sepia:[{sepia:[``,B,H,V]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,H,V]}],"backdrop-blur":[{"backdrop-blur":le()}],"backdrop-brightness":[{"backdrop-brightness":[B,H,V]}],"backdrop-contrast":[{"backdrop-contrast":[B,H,V]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,B,H,V]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[B,H,V]}],"backdrop-invert":[{"backdrop-invert":[``,B,H,V]}],"backdrop-opacity":[{"backdrop-opacity":[B,H,V]}],"backdrop-saturate":[{"backdrop-saturate":[B,H,V]}],"backdrop-sepia":[{"backdrop-sepia":[``,B,H,V]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,H,V]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[B,`initial`,H,V]}],ease:[{ease:[`linear`,`initial`,_,H,V]}],delay:[{delay:[B,H,V]}],animate:[{animate:[`none`,v,H,V]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,H,V]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ue()}],"rotate-x":[{"rotate-x":ue()}],"rotate-y":[{"rotate-y":ue()}],"rotate-z":[{"rotate-z":ue()}],scale:[{scale:de()}],"scale-x":[{"scale-x":de()}],"scale-y":[{"scale-y":de()}],"scale-z":[{"scale-z":de()}],"scale-3d":[`scale-3d`],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[H,V,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":[`translate-none`],accent:[{accent:j()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:j()}],"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`,H,V]}],"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":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,H,V]}],fill:[{fill:[`none`,...j()]}],"stroke-w":[{stroke:[B,zi,Pi,Fi]}],stroke:[{stroke:[`none`,...j()]}],"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`]}},ta=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:a={}})=>(na(e,`cacheSize`,t),na(e,`prefix`,n),na(e,`experimentalParseClassName`,r),ra(e.theme,a.theme),ra(e.classGroups,a.classGroups),ra(e.conflictingClassGroups,a.conflictingClassGroups),ra(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),na(e,`orderSensitiveModifiers`,a.orderSensitiveModifiers),ia(e.theme,i.theme),ia(e.classGroups,i.classGroups),ia(e.conflictingClassGroups,i.conflictingClassGroups),ia(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),aa(e,i,`orderSensitiveModifiers`),e),na=(e,t,n)=>{n!==void 0&&(e[t]=n)},ra=(e,t)=>{if(t)for(let n in t)na(e,n,t[n])},ia=(e,t)=>{if(t)for(let n in t)aa(e,t,n)},aa=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},oa=(e,...t)=>typeof e==`function`?pi(ea,e,...t):pi(()=>ta(ea(),e),...t),sa=pi(ea),ca=e=>Dr(e)?sa:oa({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),la=(e,t)=>{let n=Tr(e);return!n||!(t?.twMerge??!0)?n:((!Fr.cachedTwMerge||Fr.didTwMergeConfigChange)&&(Fr.didTwMergeConfigChange=!1,Fr.cachedTwMerge=ca(Fr.cachedTwMergeConfig)),Fr.cachedTwMerge(n)||void 0)},{createTV:ua,tv:da}=Ir((...e)=>t=>la(e,t)),U=ua({twMerge:!0,twMergeConfig:{extend:{classGroups:{"font-size":[{text:[`xxs`]}]},theme:{spacing:[`none`,`xxs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`,`5xl`,`6xl`,`7xl`,`8xl`,`9xl`,`10xl`,`11xl`],"z-index":[`sticky`,`overlay`,`modal`,`tooltip`]}}}}),fa=U({slots:{content:`
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(e,t,n)=>(s(e,t,`default`),n&&s(n,t,`default`)),l=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));const u=require("./locales-C7_BArir.cjs");let d=require("vue");d=l(d,1);let f=require("@wisemen/vue-core-actions"),p=require("reka-ui"),m=require("vue-i18n"),h=require("@vueuse/core"),g=require("motion-v"),_=require("formango"),v=require("zod");v=l(v,1);let y=require("vue-router"),b=require("@vueuse/router"),x=require("@internationalized/date"),S=require("temporal-polyfill"),C=require("@wisemen/vue-core-dates"),w=require("@tanstack/vue-virtual"),T=require("vue-draggable-plus");var ee={"comma-period":`en-US`,"period-comma":`de-DE`,"space-comma":`fr-FR`,"space-period":`fr-CH`};function te(e){return e===`system`?navigator.language:ee[e]}var E=Symbol(`HotkeysContext`);function ne(){return(0,d.inject)(E,null)?.defaultOptions??{}}function D(){if(typeof navigator>`u`)return`linux`;let e=navigator.platform?.toLowerCase()??``,t=navigator.userAgent?.toLowerCase()??``;return e.includes(`mac`)||t.includes(`mac`)?`mac`:e.includes(`win`)||t.includes(`win`)?`windows`:`linux`}var O=[`Control`,`Alt`,`Shift`,`Meta`],k=new Set(O),A={Control:`Control`,Ctrl:`Control`,control:`Control`,ctrl:`Control`,Shift:`Shift`,shift:`Shift`,Alt:`Alt`,Option:`Alt`,alt:`Alt`,option:`Alt`,Command:`Meta`,Cmd:`Meta`,Meta:`Meta`,command:`Meta`,cmd:`Meta`,meta:`Meta`,OS:`Meta`,os:`Meta`,Win:`Meta`,win:`Meta`,CommandOrControl:`Mod`,Mod:`Mod`,commandorcontrol:`Mod`,mod:`Mod`};function j(e,t=D()){return e===`Mod`?t===`mac`?`Meta`:`Control`:e}var re=new Set(`ABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``)),ie=new Set([`0`,`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`]),ae=new Set([`F1`,`F2`,`F3`,`F4`,`F5`,`F6`,`F7`,`F8`,`F9`,`F10`,`F11`,`F12`]),oe=new Set([`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,`Home`,`End`,`PageUp`,`PageDown`]),M=new Set([`Enter`,`Escape`,`Space`,`Tab`,`Backspace`,`Delete`]),se=new Set([`/`,`[`,`]`,`\\`,`=`,`-`,`,`,`.`,`;`,"`"]),ce={Backquote:"`",Backslash:`\\`,BracketLeft:`[`,BracketRight:`]`,Comma:`,`,Equal:`=`,Minus:`-`,Period:`.`,Semicolon:`;`,Slash:`/`};new Set([...re,...ie,...ae,...oe,...M,...se]);var le={Esc:`Escape`,esc:`Escape`,escape:`Escape`,Return:`Enter`,return:`Enter`,enter:`Enter`," ":`Space`,space:`Space`,Spacebar:`Space`,spacebar:`Space`,tab:`Tab`,backspace:`Backspace`,Del:`Delete`,del:`Delete`,delete:`Delete`,Up:`ArrowUp`,up:`ArrowUp`,arrowup:`ArrowUp`,Down:`ArrowDown`,down:`ArrowDown`,arrowdown:`ArrowDown`,Left:`ArrowLeft`,left:`ArrowLeft`,arrowleft:`ArrowLeft`,Right:`ArrowRight`,right:`ArrowRight`,arrowright:`ArrowRight`,home:`Home`,end:`End`,pageup:`PageUp`,pagedown:`PageDown`,PgUp:`PageUp`,PgDn:`PageDown`,pgup:`PageUp`,pgdn:`PageDown`};function N(e){return/^\p{Letter}$/u.test(e)}function ue(e){if(!e)return``;if(e in le)return le[e];if(N(e)){let t=e.toUpperCase();return t.length===1?t:e}let t=e.toUpperCase();return/^F([1-9]|1[0-2])$/.test(t)?t:e}var de={Control:`⌃`,Alt:`⌥`,Shift:`⇧`,Meta:`⌘`,Mod:`⌘`},fe={Control:`Control`,Alt:`Option`,Shift:`Shift`,Meta:`Cmd`,Mod:`Cmd`},pe={Control:`Ctrl`,Alt:`Alt`,Shift:`Shift`,Meta:`Win`,Mod:`Ctrl`},me={...pe,Meta:`Super`},he={"`":`Backquote`,"\\":`Backslash`,"[":`Left Bracket`,"]":`Right Bracket`,",":`Comma`,"=":`Equal`,"-":`Minus`,".":`Period`,";":`Semicolon`},ge={ArrowUp:`↑`,ArrowDown:`↓`,ArrowLeft:`←`,ArrowRight:`→`,Enter:`↵`,Escape:`Esc`,Backspace:`⌫`,Delete:`⌦`,Tab:`⇥`,Space:`␣`};function _e(e,t=D()){let n=e.split(`+`),r=new Set,i=``;for(let e=0;e<n.length;e++){let a=n[e].trim();if(e===n.length-1)i=ue(a);else{let e=A[a]??A[a.toLowerCase()];if(e){let n=j(e,t);r.add(n)}else n.length===1&&(i=ue(a))}}return!i&&n.length>0&&(i=ue(n[n.length-1].trim())),{key:i,ctrl:r.has(`Control`),shift:r.has(`Shift`),alt:r.has(`Alt`),meta:r.has(`Meta`),modifiers:O.filter(e=>r.has(e))}}function ve(e,t=D()){let n=e.ctrl??!1,r=e.shift??!1,i=e.alt??!1,a=e.meta??!1;e.mod&&(j(`Mod`,t)===`Control`?n=!0:a=!0);let o=O.filter(e=>{switch(e){case`Control`:return n;case`Shift`:return r;case`Alt`:return i;case`Meta`:return a;default:return!1}});return{key:e.key,ctrl:n,shift:r,alt:i,meta:a,modifiers:o}}function ye(e,t){let n=t===`mac`?e.meta&&!e.ctrl:e.ctrl&&!e.meta,r=[];if(n)r.push(`Mod`),e.alt&&r.push(`Alt`),e.shift&&r.push(`Shift`);else for(let t of O)e.modifiers.includes(t)&&r.push(t);return r.push(ue(e.key)),r.join(`+`)}function be(e,t=D()){return ye(_e(e,t),t)}function xe(e,t=D()){return ye(e,t)}function Se(e,t=D()){return typeof e==`string`?be(e,t):xe(ve(e,t),t)}function Ce(e){return e in A||e.toLowerCase()in A}function we(e){let t=[];for(let n of O)e.modifiers.includes(n)&&t.push(n);return t.push(e.key),t.join(`+`)}function Te(e,t={}){let n=t.platform??D(),r=t.useSymbols??!0,i=t.separatorToken??(n===`mac`&&r?` `:`+`);return Se(e,n).split(`+`).map(e=>{if(Ce(e)){let t=A[e]??A[e.toLowerCase()];return n===`mac`?r?de[t]:fe[t]:n===`windows`?pe[t]:me[t]}else return r&&ge[e]||!r&&he[e]||e}).join(i)}function Ee(e,t,n=D()){let r=typeof t==`string`?_e(t,n):t;if(e.ctrlKey!==r.ctrl||e.shiftKey!==r.shift||e.altKey!==r.alt||e.metaKey!==r.meta)return!1;let i=ue(e.key),a=r.key;if(i!==`Dead`&&i.length===1&&a.length===1){if(i.toUpperCase()===a.toUpperCase())return!0;if(N(i)&&(/^[A-Za-z]$/.test(i)||!e.altKey))return!1}if(e.code&&(i===`Dead`||i.length===1&&a.length===1)){if(e.code.startsWith(`Key`)){let t=e.code.slice(3);if(t.length===1&&/^[A-Za-z]$/.test(t))return t.toUpperCase()===a.toUpperCase()}if(e.code.startsWith(`Digit`)){let t=e.code.slice(5);if(t.length===1&&/^[0-9]$/.test(t))return t===a}return e.code in ce?ce[e.code]===a:!1}return i===a}var De={preventDefault:!0,stopPropagation:!0,eventType:`keydown`,enabled:!0,ignoreInputs:!0,conflictBehavior:`warn`};function Oe(e){return!(e.ctrl||e.meta||e.key===`Escape`)}function ke(e){if(!e)return!1;if(e instanceof HTMLInputElement){let t=e.type.toLowerCase();return!(t===`button`||t===`submit`||t===`reset`)}return!!(e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement||e instanceof HTMLElement&&e.isContentEditable)}function Ae(e){return typeof document>`u`?null:typeof Document<`u`&&e instanceof Document||typeof Node<`u`&&e.nodeType===Node.DOCUMENT_NODE?e.activeElement:typeof HTMLElement<`u`&&e instanceof HTMLElement?e.ownerDocument.activeElement??null:e.document.activeElement??null}function je(e,t,n){let r=Ae(t);return r&&ke(r)&&r!==n||e.composedPath().some(e=>ke(e)&&e!==n)?!0:ke(e.target)&&e.target!==n}function Me(e,t){return t===document||t===window?e.currentTarget===t||e.currentTarget===document.documentElement:t===window?e.currentTarget===window||e.currentTarget===document||e.currentTarget===document.documentElement:!!(t instanceof HTMLElement&&(e.currentTarget===t||e.target instanceof Node&&t.contains(e.target)))}function Ne(e,t,n,r){if(n!==`allow`){if(n===`warn`){console.warn(`'${t}' is already registered. Multiple handlers will be triggered. Use conflictBehavior: 'replace' to replace the existing handler, or conflictBehavior: 'allow' to suppress this warning.`);return}if(n===`error`)throw Error(`'${t}' is already registered. Use conflictBehavior: 'replace' to replace the existing handler, or conflictBehavior: 'allow' to allow multiple registrations.`);r(e)}}var P=function(e){return e[e.None=0]=`None`,e[e.Mutable=1]=`Mutable`,e[e.Watching=2]=`Watching`,e[e.RecursedCheck=4]=`RecursedCheck`,e[e.Recursed=8]=`Recursed`,e[e.Dirty=16]=`Dirty`,e[e.Pending=32]=`Pending`,e}({});function Pe({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&(P.RecursedCheck|P.Recursed|P.Dirty|P.Pending)?a&(P.RecursedCheck|P.Recursed)?a&P.RecursedCheck?!(a&(P.Dirty|P.Pending))&&c(e,i)?(i.flags=a|(P.Recursed|P.Pending),a&=P.Mutable):a=P.None:i.flags=a&~P.Recursed|P.Pending:a=P.None:i.flags=a|P.Pending,a&P.Watching&&t(i),a&P.Mutable){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&P.Dirty)a=!0;else if((c&(P.Mutable|P.Dirty))===(P.Mutable|P.Dirty)){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&(P.Mutable|P.Pending))===(P.Mutable|P.Pending)){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=~P.Pending;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&(P.Pending|P.Dirty))===P.Pending&&(n.flags=r|P.Dirty,(r&(P.Watching|P.RecursedCheck))===P.Watching&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function Fe(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var Ie=[],Le=0,{link:Re,unlink:ze,propagate:Be,checkDirty:Ve,shallowPropagate:He}=Pe({update(e){return e._update()},notify(e){Ie[We++]=e,e.flags&=~P.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=P.Mutable|P.Dirty,qe(e))}}),Ue=0,We=0,Ge,Ke=0;function qe(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=ze(n,e)}function Je(){if(!(Ke>0)){for(;Ue<We;){let e=Ie[Ue];Ie[Ue++]=void 0,e.notify()}Ue=0,We=0}}function Ye(e,t){let n=typeof e==`function`,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?P.None:P.Mutable,get(){return Ge!==void 0&&Re(i,Ge,Le),i._snapshot},subscribe(e){let t=Fe(e),n={current:!1},r=Xe(()=>{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=Ge,o=t?.compare??Object.is;if(n)Ge=i,++Le,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=P.Mutable|P.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{Ge=a,n&&(i.flags&=~P.RecursedCheck),qe(i)}}};return n?(i.flags=P.Mutable|P.Dirty,i.get=function(){let e=i.flags;if(e&P.Dirty||e&P.Pending&&Ve(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&He(e)}}else e&P.Pending&&(i.flags=e&~P.Pending);return Ge!==void 0&&Re(i,Ge,Le),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(Be(e),He(e),Je())}},i}function Xe(e){let t=()=>{let t=Ge;Ge=n,++Le,n.depsTail=void 0,n.flags=P.Watching|P.RecursedCheck;try{return e()}finally{Ge=t,n.flags&=~P.RecursedCheck,qe(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:P.Watching|P.RecursedCheck,notify(){let e=this.flags;e&P.Dirty||e&P.Pending&&Ve(this.deps,this)?t():this.flags=P.Watching},stop(){this.flags=P.None,this.depsTail=void 0,qe(this)}};return t(),n}var Ze=class{constructor(e,t){this.atom=Ye(e),this.get=this.get.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),t&&(this.actions=t(this))}setState(e){this.atom.set(e)}get state(){return this.atom.get()}get(){return this.state}subscribe(e){return this.atom.subscribe(Fe(e))}},Qe=0;function $e(){return`hotkey_${++Qe}`}var et=class e{static#e=null;#t;#n=new Map;#r=new Map;constructor(){this.registrations=new Ze(new Map),this.#t=D()}static getInstance(){return e.#e||=new e,e.#e}static resetInstance(){e.#e&&=(e.#e.destroy(),null)}register(e,t,n={}){if(typeof document>`u`&&!n.target){let e=t;return{id:$e(),unregister:()=>{},get callback(){return e},set callback(t){e=t},setOptions:()=>{},get isActive(){return!1}}}let r=$e(),i=n.platform??this.#t,a=typeof e==`string`?_e(e,i):ve(e,i),o=typeof e==`string`?e:we(a),s=n.target??document,c=n.conflictBehavior??`warn`,l=this.#d(o,s);l&&Ne(l.id,o,c,e=>this.#i(e));let u=n.ignoreInputs??Oe(a),d={id:r,hotkey:o,parsedHotkey:a,callback:t,options:{...De,requireReset:!1,...n,platform:i,ignoreInputs:u},hasFired:!1,triggerCount:0,target:s};this.registrations.setState(e=>new Map(e).set(r,d)),this.#r.has(s)||this.#r.set(s,new Set),this.#r.get(s).add(r),this.#a(s);let f=this;return{get id(){return r},unregister:()=>{f.#i(r)},get callback(){return f.registrations.state.get(r)?.callback??t},set callback(e){let t=f.registrations.state.get(r);t&&(t.callback=e)},setOptions:e=>{f.registrations.setState(t=>{let n=t.get(r);if(n){let i=new Map(t);return i.set(r,{...n,options:{...n.options,...e}}),i}return t})},get isActive(){return f.registrations.state.has(r)}}}#i(e){let t=this.registrations.state.get(e);if(!t)return;let n=t.target;this.registrations.setState(t=>{let n=new Map(t);return n.delete(e),n});let r=this.#r.get(n);r&&(r.delete(e),r.size===0&&this.#o(n))}#a(e){if(typeof document>`u`||this.#n.has(e))return;let t=this.#l(e),n=this.#u(e);e.addEventListener(`keydown`,t),e.addEventListener(`keyup`,n),this.#n.set(e,{keydown:t,keyup:n})}#o(e){if(typeof document>`u`)return;let t=this.#n.get(e);t&&(e.removeEventListener(`keydown`,t.keydown),e.removeEventListener(`keyup`,t.keyup),this.#n.delete(e),this.#r.delete(e))}#s(e,t,n){let r=this.#r.get(t);if(r)for(let i of r){let r=this.registrations.state.get(i);if(r&&Me(e,t)&&r.options.enabled&&!(r.options.ignoreInputs!==!1&&je(e,t,r.target)))if(n===`keydown`){if(r.options.eventType!==`keydown`)continue;Ee(e,r.parsedHotkey,r.options.platform)&&(r.options.preventDefault&&e.preventDefault(),r.options.stopPropagation&&e.stopPropagation(),(!r.options.requireReset||!r.hasFired)&&(this.#c(r,e),r.options.requireReset&&(r.hasFired=!0)))}else r.options.eventType===`keyup`&&Ee(e,r.parsedHotkey,r.options.platform)&&this.#c(r,e),r.options.requireReset&&r.hasFired&&this.#f(r,e)&&(r.hasFired=!1)}}#c(e,t){e.options.preventDefault&&t.preventDefault(),e.options.stopPropagation&&t.stopPropagation(),e.triggerCount++,this.registrations.setState(e=>new Map(e));let n={hotkey:e.hotkey,parsedHotkey:e.parsedHotkey};e.callback(t,n)}#l(e){return t=>{this.#s(t,e,`keydown`)}}#u(e){return t=>{this.#s(t,e,`keyup`)}}#d(e,t){for(let n of this.registrations.state.values())if(n.hotkey===e&&n.target===t)return n;return null}#f(e,t){let n=e.parsedHotkey,r=ue(t.key),i=n.key.length===1?n.key.toUpperCase():n.key;return!!((r.length===1?r.toUpperCase():r)===i||n.ctrl&&r===`Control`||n.shift&&r===`Shift`||n.alt&&r===`Alt`||n.meta&&r===`Meta`)}triggerRegistration(e){let t=this.registrations.state.get(e);if(!t)return!1;let n=t.parsedHotkey,r=new KeyboardEvent(t.options.eventType??`keydown`,{key:n.key,ctrlKey:n.ctrl,shiftKey:n.shift,altKey:n.alt,metaKey:n.meta,bubbles:!0,cancelable:!0});return t.triggerCount++,this.registrations.setState(e=>new Map(e)),t.callback(r,{hotkey:t.hotkey,parsedHotkey:t.parsedHotkey}),!0}getRegistrationCount(){return this.registrations.state.size}isRegistered(e,t){for(let n of this.registrations.state.values())if(n.hotkey===e&&(t===void 0||n.target===t))return!0;return!1}destroy(){for(let e of this.#n.keys())this.#o(e);this.registrations.setState(()=>new Map),this.#n.clear(),this.#r.clear()}};function tt(){return et.getInstance()}function nt(){return{heldKeys:[],heldCodes:{}}}var rt=class e{static#e=null;#t=new Set;#n=new Map;#r=null;#i=null;#a=null;constructor(){this.store=new Ze(nt()),this.#o()}static getInstance(){return e.#e||=new e,e.#e}static resetInstance(){e.#e&&=(e.#e.destroy(),null)}#o(){typeof document>`u`||(this.#r=e=>{let t=ue(e.key);this.#t.has(t)||(this.#t.add(t),this.#n.set(t,e.code),this.#s())},this.#i=e=>{let t=ue(e.key);if(this.#t.has(t)&&(this.#t.delete(t),this.#n.delete(t)),k.has(t))for(let e of this.#t)k.has(e)||(this.#t.delete(e),this.#n.delete(e));this.#s()},this.#a=()=>{this.#t.size>0&&(this.#t.clear(),this.#n.clear(),this.#s())},document.addEventListener(`keydown`,this.#r),document.addEventListener(`keyup`,this.#i),window.addEventListener(`blur`,this.#a))}#s(){this.store.setState(()=>({heldKeys:Array.from(this.#t),heldCodes:Object.fromEntries(this.#n)}))}#c(){typeof document>`u`||(this.#r&&=(document.removeEventListener(`keydown`,this.#r),null),this.#i&&=(document.removeEventListener(`keyup`,this.#i),null),this.#a&&=(window.removeEventListener(`blur`,this.#a),null))}getHeldKeys(){return this.store.state.heldKeys}isKeyHeld(e){let t=ue(e);return this.#t.has(t)}isAnyKeyHeld(e){return e.some(e=>this.isKeyHeld(e))}areAllKeysHeld(e){return e.every(e=>this.isKeyHeld(e))}destroy(){this.#c(),this.#t.clear(),this.#n.clear(),this.store.setState(()=>nt())}};function it(){return rt.getInstance()}function at(e,t,n={}){let r=ne(),i=tt(),a=null,o=null,s=null,c=(0,d.watch)(()=>{let t=ot(e),i=ot(n),a={...r.hotkey,...i};return{resolvedHotkey:t,mergedOptions:a,resolvedEnabled:a.enabled===void 0?void 0:ot(a.enabled),resolvedTarget:a.target===void 0?void 0:ot(a.target)}},({resolvedHotkey:e,mergedOptions:n,resolvedEnabled:r,resolvedTarget:c})=>{let l=Se(e,n.platform??D()),u=c===void 0?typeof document<`u`?document:null:c;if(!u){a?.isActive&&(a.unregister(),a=null),o=null,s=null;return}let{target:d,enabled:f,...p}=n,m={...p,...r===void 0?{}:{enabled:r}};if(a?.isActive&&o===l&&s===u){a.callback=t,a.setOptions(m);return}a?.isActive&&(a.unregister(),a=null),a=i.register(l,t,{...m,target:u}),a.isActive&&(a.callback=t,a.setOptions(m)),o=l,s=u},{immediate:!0});(0,d.onUnmounted)(()=>{c(),a?.isActive&&(a.unregister(),a=null)})}function ot(e){return typeof e==`function`?e():(0,d.unref)(e)}var st=o({Vue:()=>d,Vue2:()=>void 0,del:()=>ut,install:()=>ct,isVue2:()=>!1,isVue3:()=>!0,set:()=>lt});c(st,require("vue"));function ct(){}function lt(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function ut(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function dt(e,t){return e===t}function ft(e,t=e=>e,n){let r=n?.compare??dt,i=(0,st.shallowRef)(t(e.get())),a=e.subscribe(e=>{let n=t(e);r((0,st.toRaw)(i.value),n)||(i.value=n)}).unsubscribe;return(0,st.onScopeDispose)(()=>{a()}),(0,st.readonly)(i)}function pt(e){return ft(it().store,t=>{let n=(0,d.unref)(e),r=(typeof n==`string`?n:String(n)).toLowerCase();return t.heldKeys.some(e=>e.toLowerCase()===r)})}var F=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},mt={},ht={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function gt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,ht,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M12 8V12M12 16H12.01M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var _t=F(mt,[[`render`,gt]]),vt={},yt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function bt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,yt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M11.9998 8.99999V13M11.9998 17H12.0098M10.6151 3.89171L2.39019 18.0983C1.93398 18.8863 1.70588 19.2803 1.73959 19.6037C1.769 19.8857 1.91677 20.142 2.14613 20.3088C2.40908 20.5 2.86435 20.5 3.77487 20.5H20.2246C21.1352 20.5 21.5904 20.5 21.8534 20.3088C22.0827 20.142 22.2305 19.8857 22.2599 19.6037C22.2936 19.2803 22.0655 18.8863 21.6093 18.0983L13.3844 3.89171C12.9299 3.10654 12.7026 2.71396 12.4061 2.58211C12.1474 2.4671 11.8521 2.4671 11.5935 2.58211C11.2969 2.71396 11.0696 3.10655 10.6151 3.89171Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var xt=F(vt,[[`render`,bt]]),St={},Ct={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function wt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Ct,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M20 12H4M4 12L10 18M4 12L10 6`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Tt=F(St,[[`render`,wt]]),Et={},Dt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Ot(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Dt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M4 12H20M20 12L14 6M20 12L14 18`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var kt=F(Et,[[`render`,Ot]]),At={},jt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Mt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,jt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M21 10H3M16 2V6M8 2V6M7.8 22H16.2C17.8802 22 18.7202 22 19.362 21.673C19.9265 21.3854 20.3854 20.9265 20.673 20.362C21 19.7202 21 18.8802 21 17.2V8.8C21 7.11984 21 6.27976 20.673 5.63803C20.3854 5.07354 19.9265 4.6146 19.362 4.32698C18.7202 4 17.8802 4 16.2 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V17.2C3 18.8802 3 19.7202 3.32698 20.362C3.6146 20.9265 4.07354 21.3854 4.63803 21.673C5.27976 22 6.11984 22 7.8 22Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Nt=F(At,[[`render`,Mt]]),Pt={},Ft={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function It(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Ft,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M20 6L9 17L4 12`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Lt=F(Pt,[[`render`,It]]),Rt={},zt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Bt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,zt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M6 9L12 15L18 9`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Vt=F(Rt,[[`render`,Bt]]),Ht={},Ut={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Wt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Ut,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M15 18L9 12L15 6`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Gt=F(Ht,[[`render`,Wt]]),Kt={},qt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Jt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,qt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M9 18L15 12L9 6`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Yt=F(Kt,[[`render`,Jt]]),Xt={},Zt={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Qt(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Zt,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M9 3V21M15 3V21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var $t=F(Xt,[[`render`,Qt]]),en={},tn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function nn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,tn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M17 9L11 15M11 9L17 15M2.72 12.96L7.04 18.72C7.392 19.1893 7.568 19.424 7.79105 19.5932C7.9886 19.7432 8.21232 19.855 8.45077 19.9231C8.72 20 9.01334 20 9.6 20H17.2C18.8802 20 19.7202 20 20.362 19.673C20.9265 19.3854 21.3854 18.9265 21.673 18.362C22 17.7202 22 16.8802 22 15.2V8.8C22 7.11984 22 6.27976 21.673 5.63803C21.3854 5.07354 20.9265 4.6146 20.362 4.32698C19.7202 4 18.8802 4 17.2 4H9.6C9.01334 4 8.72 4 8.45077 4.07689C8.21232 4.14499 7.9886 4.25685 7.79105 4.40675C7.568 4.576 7.392 4.81067 7.04 5.28L2.72 11.04C2.46181 11.3843 2.33271 11.5564 2.28294 11.7454C2.23902 11.9123 2.23902 12.0877 2.28294 12.2546C2.33271 12.4436 2.46181 12.6157 2.72 12.96Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var rn=F(en,[[`render`,nn]]),an={},on={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function sn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,on,[...t[0]||=[(0,d.createStaticVNode)(`<path d="M12 6C12.5523 6 13 5.55228 13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5C11 5.55228 11.4477 6 12 6Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 20C12.5523 20 13 19.5523 13 19C13 18.4477 12.5523 18 12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 6C19.5523 6 20 5.55228 20 5C20 4.44772 19.5523 4 19 4C18.4477 4 18 4.44772 18 5C18 5.55228 18.4477 6 19 6Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 20C19.5523 20 20 19.5523 20 19C20 18.4477 19.5523 18 19 18C18.4477 18 18 18.4477 18 19C18 19.5523 18.4477 20 19 20Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 6C5.55228 6 6 5.55228 6 5C6 4.44772 5.55228 4 5 4C4.44772 4 4 4.44772 4 5C4 5.55228 4.44772 6 5 6Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 20C5.55228 20 6 19.5523 6 19C6 18.4477 5.55228 18 5 18C4.44772 18 4 18.4477 4 19C4 19.5523 4.44772 20 5 20Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>`,9)]])}var cn=F(an,[[`render`,sn]]),ln={},un={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function dn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,un,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1),(0,d.createElementVNode)(`path`,{d:`M12 6C12.5523 6 13 5.55228 13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5C11 5.55228 11.4477 6 12 6Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1),(0,d.createElementVNode)(`path`,{d:`M12 20C12.5523 20 13 19.5523 13 19C13 18.4477 12.5523 18 12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var fn=F(ln,[[`render`,dn]]),pn={},mn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function hn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,mn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M18 10L14 6M2.49997 21.5L5.88434 21.124C6.29783 21.078 6.50457 21.055 6.69782 20.9925C6.86926 20.937 7.03242 20.8586 7.18286 20.7594C7.35242 20.6475 7.49951 20.5005 7.7937 20.2063L21 7C22.1046 5.89543 22.1046 4.10457 21 3C19.8954 1.89543 18.1046 1.89543 17 3L3.7937 16.2063C3.49952 16.5005 3.35242 16.6475 3.24061 16.8171C3.1414 16.9676 3.06298 17.1307 3.00748 17.3022C2.94493 17.4954 2.92195 17.7021 2.87601 18.1156L2.49997 21.5Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var gn=F(pn,[[`render`,hn]]),_n={},vn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function yn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,vn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M6.5 17.5L6.5 6.5M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var bn=F(_n,[[`render`,yn]]),xn={},Sn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Cn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Sn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M17.5 17.5L17.5 6.5M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var wn=F(xn,[[`render`,Cn]]),Tn={},En={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Dn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,En,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M9.09 9C9.3251 8.33167 9.78915 7.76811 10.4 7.40913C11.0108 7.05016 11.7289 6.91894 12.4272 7.03871C13.1255 7.15849 13.7588 7.52152 14.2151 8.06353C14.6713 8.60553 14.9211 9.29152 14.92 10C14.92 12 11.92 13 11.92 13M12 17H12.01M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var On=F(Tn,[[`render`,Dn]]),kn={},An={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function jn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,An,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M9 3V21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Mn=F(kn,[[`render`,jn]]),Nn={},Pn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Fn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Pn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M15 3V21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var In=F(Nn,[[`render`,Fn]]),Ln={},Rn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function zn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Rn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M5 12H19`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Bn=F(Ln,[[`render`,zn]]),Vn={},Hn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Un(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Hn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M12 5V19M5 12H19`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Wn=F(Vn,[[`render`,Un]]),Gn={},Kn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function qn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Kn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M21 21L17.5001 17.5M20 11.5C20 16.1944 16.1944 20 11.5 20C6.80558 20 3 16.1944 3 11.5C3 6.80558 6.80558 3 11.5 3C16.1944 3 20 6.80558 20 11.5Z`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Jn=F(Gn,[[`render`,qn]]),Yn={},Xn={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Zn(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Xn,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M6 12H18M6 12L8 9M6 12L8 15M18 12L16 9M18 12L16 15M21 21V3M3 21V3`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var Qn=F(Yn,[[`render`,Zn]]),$n={},er={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function tr(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,er,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M15.3119 10C16.6802 10.4263 17.9624 11.1191 19.08 12.05M22.5799 8.49997C19.6575 5.92394 15.8956 4.50262 11.9999 4.50262C11.3949 4.50262 10.7931 4.5369 10.1972 4.60447M8.52979 15.61C9.54499 14.8888 10.7595 14.5013 12.0048 14.5013C13.2501 14.5013 14.4646 14.8888 15.4798 15.61M12 19.5H12.01M1.19336 8.70076C2.52697 7.47869 4.06839 6.47975 5.75851 5.76306M4.73193 12.243C6.12934 11.012 7.84172 10.1302 9.73265 9.73393M15.6983 15.7751C14.6792 14.9763 13.3952 14.5 11.9999 14.5C10.5835 14.5 9.28172 14.9908 8.25537 15.8116M3 3L21 21`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var nr=F($n,[[`render`,tr]]),rr={},ir={width:`100%`,height:`100%`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function ar(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,ir,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M18 6L6 18M6 6L18 18`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])}var or=F(rr,[[`render`,ar]]);function I(e){let t=Symbol(e);function n(e){return(0,d.provide)(t,e),e}function r(n){let r=(0,d.inject)(t,n??void 0);if(r===void 0&&n===void 0)throw Error(`${e} context is not provided.`);return r??null}return[n,r]}function sr(e){let t={};for(let n in e){if(typeof e[n]==`function`){t[n]=e[n];continue}t[n]=(0,d.computed)(()=>e[n])}return t}var[cr,lr]=I(`themeProviderContext`);function ur(){return lr(null)??{appearance:(0,d.computed)(()=>`light`),theme:(0,d.computed)(()=>`default`)}}var dr=(0,d.defineComponent)({__name:`ThemeProvider`,props:{appearance:{default:null},asChild:{type:Boolean,default:!1},theme:{default:null}},setup(e){let t=e,n=ur(),r=(0,d.computed)(()=>t.appearance??n.appearance.value??`light`),i=(0,d.computed)(()=>t.theme??n.theme.value);return cr({appearance:r,theme:i}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":t.asChild,class:(0,d.normalizeClass)([i.value,r.value])},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`class`]))}}),fr={class:`relative size-full max-h-(--reka-context-menu-content-available-height) overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},pr=(0,d.defineComponent)({__name:`ContextMenu`,props:{collisionPadding:{default:0},disableUpdateOnLayoutShift:{type:Boolean,default:!1},prioritizePosition:{type:Boolean,default:!1}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ContextMenuRoot),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ContextMenuTrigger),{"as-child":!0,"data-context-menu-trigger":``},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`)]),_:3}),(0,d.createVNode)((0,d.unref)(p.ContextMenuPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ContextMenuContent),{"collision-padding":t.collisionPadding,"disable-update-on-layout-shift":t.disableUpdateOnLayoutShift,"prioritize-position":t.prioritizePosition,"data-animation":`popover-default`,class:`z-50 min-w-48 origin-(--reka-context-menu-content-transform-origin) will-change-[transform,opacity]`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,fr,[(0,d.renderSlot)(e.$slots,`content`)])]),_:3},8,[`collision-padding`,`disable-update-on-layout-shift`,`prioritize-position`])]),_:3})]),_:3})]),_:3}))}}),mr={class:`relative size-full max-h-(--reka-context-menu-content-available-height) overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},hr=(0,d.defineComponent)({__name:`ContextMenuSubContent`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ContextMenuPortal),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ContextMenuSubContent),{"side-offset":8,"align-offset":-4,"collision-padding":5,"data-animation":`popover-default`,class:`z-50 max-w-64 min-w-52 origin-(--reka-context-menu-content-transform-origin) will-change-[transform,opacity]`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,mr,[(0,d.renderSlot)(e.$slots,`default`)])]),_:3})]),_:3})]),_:3}))}}),gr={isPopoverArrowVisible:!1,popoverAlign:`center`,popoverAlignOffset:0,popoverAnchorReferenceElement:null,popoverAnimationName:null,popoverCollisionPadding:0,popoverContainerElement:null,popoverSide:`top`,popoverSideOffset:0,popoverWidth:`content-width`},_r=(0,d.defineComponent)({__name:`DropdownMenuArrow`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuArrow),{class:`relative -mb-4 h-4 w-10 -translate-y-px overflow-hidden`,as:`div`},{default:(0,d.withCtx)(()=>[...t[0]||=[(0,d.createElementVNode)(`div`,{class:`absolute left-1/2 size-4 -translate-x-1/2 -translate-y-3 rotate-45 rounded-xxs border border-secondary bg-primary shadow-lg`},null,-1)]]),_:1}))}}),vr={class:`relative size-full max-h-(--reka-dropdown-menu-content-available-height) overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},yr=(0,d.defineComponent)({__name:`DropdownMenu`,props:(0,d.mergeModels)((0,d.mergeDefaults)({disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...gr,popoverSideOffset:4}),{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:[`update:isOpen`],setup(e){let t=e,n=(0,d.useModel)(e,`isOpen`);return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuRoot),{open:n.value,"onUpdate:open":r[0]||=e=>n.value=e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`)]),_:3}),(0,d.createVNode)((0,d.unref)(p.DropdownMenuPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuContent),{reference:t.popoverAnchorReferenceElement??void 0,align:t.popoverAlign,"align-offset":t.popoverAlignOffset,"collision-padding":t.popoverCollisionPadding,"collision-boundary":t.popoverContainerElement,side:t.popoverSide,"side-offset":t.popoverSideOffset,class:(0,d.normalizeClass)([{"w-(--reka-dropdown-menu-trigger-width)":t.popoverWidth===`anchor-width`,"w-(--reka-dropdown-menu-content-available-width)":t.popoverWidth===`available-width`},`z-50 min-w-48 origin-(--reka-dropdown-menu-content-transform-origin) will-change-[transform,opacity]`]),"disable-update-on-layout-shift":t.disableUpdateOnLayoutShift,"prioritize-position":t.prioritizePosition,"data-animation":t.popoverAnimationName??`popover-default`,"position-strategy":`absolute`,sticky:`always`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,vr,[(0,d.renderSlot)(e.$slots,`content`)]),t.isPopoverArrowVisible?((0,d.openBlock)(),(0,d.createBlock)(_r,{key:0})):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`reference`,`align`,`align-offset`,`collision-padding`,`collision-boundary`,`side`,`side-offset`,`class`,`disable-update-on-layout-shift`,`prioritize-position`,`data-animation`])]),_:3})]),_:3})]),_:3},8,[`open`]))}}),br=(0,d.defineComponent)({__name:`KeyboardShortcutKey`,props:{enableKeyHoldVisualization:{type:Boolean},keyboardKey:{},rawKey:{}},setup(e){let t=e,n=pt(t.rawKey);return(r,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`kbd`,{class:(0,d.normalizeClass)([{"bg-primary/75 text-tertiary dark:bg-secondary":!(0,d.unref)(n)||!e.enableKeyHoldVisualization,"bg-tertiary/75 text-primary":(0,d.unref)(n)&&e.enableKeyHoldVisualization},`flex h-4 min-w-4 items-center justify-center rounded-xs border border-secondary bg-primary px-xxs text-center font-sans text-[0.6187rem] capitalize`])},(0,d.toDisplayString)(t.keyboardKey),3))}}),L=(0,d.defineComponent)({__name:`RowLayout`,props:{align:{default:`center`},as:{default:`div`},gap:{default:`md`},justify:{default:`start`}},setup(e){let t=e,n=(0,d.computed)(()=>{switch(t.align){case`baseline`:return`items-baseline`;case`center`:return`items-center`;case`end`:return`items-end`;case`start`:return`items-start`;default:return`items-center`}}),r=(0,d.computed)(()=>{switch(t.justify){case`between`:return`justify-between`;case`center`:return`justify-center`;case`end`:return`justify-end`;case`start`:return`justify-start`;default:return`justify-start`}}),i=(0,d.computed)(()=>{switch(t.gap){case`2xl`:return`gap-2xl`;case`3xl`:return`gap-3xl`;case`4xl`:return`gap-4xl`;case`5xl`:return`gap-5xl`;case`6xl`:return`gap-6xl`;case`7xl`:return`gap-7xl`;case`8xl`:return`gap-8xl`;case`9xl`:return`gap-9xl`;case`10xl`:return`gap-10xl`;case`11xl`:return`gap-11xl`;case`lg`:return`gap-lg`;case`md`:return`gap-md`;case`none`:return`gap-none`;case`sm`:return`gap-sm`;case`xl`:return`gap-xl`;case`xs`:return`gap-xs`;case`xxs`:return`gap-xxs`;default:return`gap-none`}});return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.as),{class:(0,d.normalizeClass)([[n.value,r.value,i.value],`flex flex-row`])},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}}),xr={key:1,class:`text-xxs text-tertiary`},Sr=`\0`,Cr=(0,d.defineComponent)({__name:`KeyboardShortcut`,props:{enableKeyHoldVisualization:{type:Boolean,default:!1},keyboardShortcut:{}},setup(e){let t=e,n=(0,m.useI18n)(),r=D();function i(e){let t=Se(e,r).split(`+`),n=Te(e,{platform:r,separatorToken:Sr}).split(Sr);return t.map((e,t)=>({part:`key`,rawKey:e===`Mod`?j(`Mod`,r):e,value:n[t]??e}))}let a=(0,d.computed)(()=>`sequence`in t.keyboardShortcut),o=(0,d.computed)(()=>{let e=t.keyboardShortcut;if(`sequence`in e){let t=[];for(let[n,r]of e.sequence.entries())t.push(...i(r)),n<e.sequence.length-1&&t.push({part:`separator`});return t}return i(e)});return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{gap:a.value?`xs`:`xxs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(o.value,(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:r},[e.part===`key`?((0,d.openBlock)(),(0,d.createBlock)(br,{key:0,"keyboard-key":e.value,"raw-key":e.rawKey,"enable-key-hold-visualization":t.enableKeyHoldVisualization},null,8,[`keyboard-key`,`raw-key`,`enable-key-hold-visualization`])):((0,d.openBlock)(),(0,d.createElementBlock)(`span`,xr,(0,d.toDisplayString)((0,d.unref)(n).t(`component.keyboard_shortcut.then`)),1))],64))),128))]),_:1},8,[`gap`]))}}),wr=/\s+/g,Tr=e=>typeof e!=`string`||!e?e:e.replace(wr,` `).trim(),Er=(...e)=>{let t=[],n=e=>{if(!e&&e!==0&&e!==0n)return;if(Array.isArray(e)){for(let t=0,r=e.length;t<r;t++)n(e[t]);return}let r=typeof e;if(r===`string`||r===`number`||r===`bigint`){if(r===`number`&&e!==e)return;t.push(String(e))}else if(r===`object`){let n=Object.keys(e);for(let r=0,i=n.length;r<i;r++){let i=n[r];e[i]&&t.push(i)}}};for(let t=0,r=e.length;t<r;t++){let r=e[t];r!=null&&n(r)}return t.length>0?Tr(t.join(` `)):void 0},Dr=e=>e===!1?`false`:e===!0?`true`:e===0?`0`:e,Or=e=>{if(!e||typeof e!=`object`)return!0;for(let t in e)return!1;return!0},kr=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++){let a=n[i];if(!r.includes(a)||e[a]!==t[a])return!1}return!0},Ar=(e,t)=>{for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)){let r=t[n];n in e?e[n]=Er(e[n],r):e[n]=r}return e},jr=(e,t)=>{for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?jr(r,t):r&&t.push(r)}},Mr=(...e)=>{let t=[];jr(e,t);let n=[];for(let e=0;e<t.length;e++)t[e]&&n.push(t[e]);return n},Nr=(e,t)=>{let n={};for(let r in e){let i=e[r];if(r in t){let e=t[r];Array.isArray(i)||Array.isArray(e)?n[r]=Mr(e,i):typeof i==`object`&&typeof e==`object`&&i&&e?n[r]=Nr(i,e):n[r]=e+` `+i}else n[r]=i}for(let r in t)r in e||(n[r]=t[r]);return n},Pr={twMerge:!0,twMergeConfig:{}};function Fr(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(t){e=t},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(e){t=e},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(e){n=e},reset(){e=null,t={},n=!1}}}var Ir=Fr(),Lr=e=>{let t=(t,n)=>{let{extend:r=null,slots:i={},variants:a={},compoundVariants:o=[],compoundSlots:s=[],defaultVariants:c={}}=t,l={...Pr,...n},u=r?.base?Er(r.base,t?.base):t?.base,d=r?.variants&&!Or(r.variants)?Nr(a,r.variants):a,f=r?.defaultVariants&&!Or(r.defaultVariants)?{...r.defaultVariants,...c}:c;!Or(l.twMergeConfig)&&!kr(l.twMergeConfig,Ir.cachedTwMergeConfig)&&(Ir.didTwMergeConfigChange=!0,Ir.cachedTwMergeConfig=l.twMergeConfig);let p=Or(r?.slots),m=Or(i)?{}:{base:Er(t?.base,p&&r?.base),...i},h=p?m:Ar({...r?.slots},Or(m)?{base:t?.base}:m),g=Or(r?.compoundVariants)?o:Mr(r?.compoundVariants,o),_=t=>{if(Or(d)&&Or(i)&&p)return e(u,t?.class,t?.className)(l);if(g&&!Array.isArray(g))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof g}`);if(s&&!Array.isArray(s))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof s}`);let n=(e,n=d,r=null,i=null)=>{let a=n[e];if(!a||Or(a))return null;let o=i?.[e]??t?.[e];if(o===null)return null;let s=Dr(o);if(typeof s==`object`)return null;let c=f?.[e];return a[(s??Dr(c))||`false`]},r=()=>{if(!d)return null;let e=Object.keys(d),t=[];for(let r=0;r<e.length;r++){let i=n(e[r],d);i&&t.push(i)}return t},a=(e,t)=>{if(!d||typeof d!=`object`)return null;let r=[];for(let i in d){let a=n(i,d,e,t),o=e===`base`&&typeof a==`string`?a:a&&a[e];o&&r.push(o)}return r},o={};for(let e in t){let n=t[e];n!==void 0&&(o[e]=n)}let c=(e,n)=>{let r=typeof t?.[e]==`object`?{[e]:t[e]?.initial}:{};return{...f,...o,...r,...n}},m=(e=[],t)=>{let n=[],r=e.length;for(let i=0;i<r;i++){let{class:r,className:a,...o}=e[i],s=!0,l=c(null,t);for(let e in o){let t=o[e],n=l[e];if(Array.isArray(t)){if(!t.includes(n)){s=!1;break}}else{if((t==null||t===!1)&&(n==null||n===!1))continue;if(n!==t){s=!1;break}}}s&&(r&&n.push(r),a&&n.push(a))}return n},_=t=>{let n=m(g,t);if(!Array.isArray(n))return n;let r={},i=e;for(let e=0;e<n.length;e++){let t=n[e];if(typeof t==`string`)r.base=i(r.base,t)(l);else if(typeof t==`object`)for(let e in t)r[e]=i(r[e],t[e])(l)}return r},v=e=>{if(s.length<1)return null;let t={},n=c(null,e);for(let e=0;e<s.length;e++){let{slots:r=[],class:i,className:a,...o}=s[e];if(!Or(o)){let e=!0;for(let t in o){let r=n[t],i=o[t];if(r===void 0||(Array.isArray(i)?!i.includes(r):i!==r)){e=!1;break}}if(!e)continue}for(let e=0;e<r.length;e++){let n=r[e];t[n]||(t[n]=[]),t[n].push([i,a])}}return t};if(!Or(i)||!p){let t={};if(typeof h==`object`&&!Or(h)){let n=e;for(let e in h)t[e]=t=>{let r=_(t),i=v(t);return n(h[e],a(e,t),r?r[e]:void 0,i?i[e]:void 0,t?.class,t?.className)(l)}}return t}return e(u,r(),m(g),t?.class,t?.className)(l)};return _.variantKeys=(()=>{if(!(!d||typeof d!=`object`))return Object.keys(d)})(),_.extend=r,_.base=u,_.slots=h,_.variants=d,_.defaultVariants=f,_.compoundSlots=s,_.compoundVariants=g,_};return{tv:t,createTV:e=>(n,r)=>t(n,r?Nr(e,r):e)}},Rr=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},zr=(e,t)=>({classGroupId:e,validator:t}),Br=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Vr=`-`,Hr=[],Ur=`arbitrary..`,Wr=e=>{let t=qr(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Kr(e);let n=e.split(Vr);return Gr(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Rr(i,t):t:i||Hr}return n[e]||Hr}}},Gr=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Gr(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Vr):e.slice(t).join(Vr),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Kr=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Ur+r:void 0})(),qr=e=>{let{theme:t,classGroups:n}=e;return Jr(n,t)},Jr=(e,t)=>{let n=Br();for(let r in e){let i=e[r];Yr(i,n,r,t)}return n},Yr=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Xr(i,t,n,r)}},Xr=(e,t,n,r)=>{if(typeof e==`string`){Zr(e,t,n);return}if(typeof e==`function`){Qr(e,t,n,r);return}$r(e,t,n,r)},Zr=(e,t,n)=>{let r=e===``?t:ei(t,e);r.classGroupId=n},Qr=(e,t,n,r)=>{if(ti(e)){Yr(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(zr(n,e))},$r=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Yr(o,ei(t,a),n,r)}},ei=(e,t)=>{let n=e,r=t.split(Vr),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Br(),n.nextPart.set(t,i)),n=i}return n},ti=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,ni=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},ri=`!`,ii=`:`,ai=[],oi=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),si=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===ii){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(ri)?(c=s.slice(0,-1),l=!0):s.startsWith(ri)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return oi(t,l,c,u)};if(t){let e=t+ii,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):oi(ai,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},ci=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},li=e=>({cache:ni(e.cacheSize),parseClassName:si(e),sortModifiers:ci(e),...Wr(e)}),ui=/\s+/,di=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(ui),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+ri:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},fi=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=pi(n))&&(i&&(i+=` `),i+=r);return i},pi=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=pi(e[r]))&&(n&&(n+=` `),n+=t);return n},mi=(e,...t)=>{let n,r,i,a,o=o=>(n=li(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=di(e,n);return i(e,a),a};return a=o,(...e)=>a(fi(...e))},hi=[],R=e=>{let t=t=>t[e]||hi;return t.isThemeGetter=!0,t},gi=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,_i=/^\((?:(\w[\w-]*):)?(.+)\)$/i,vi=/^\d+\/\d+$/,yi=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bi=/\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$/,xi=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Si=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ci=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,wi=e=>vi.test(e),z=e=>!!e&&!Number.isNaN(Number(e)),Ti=e=>!!e&&Number.isInteger(Number(e)),Ei=e=>e.endsWith(`%`)&&z(e.slice(0,-1)),Di=e=>yi.test(e),Oi=()=>!0,ki=e=>bi.test(e)&&!xi.test(e),Ai=()=>!1,ji=e=>Si.test(e),Mi=e=>Ci.test(e),Ni=e=>!B(e)&&!V(e),Pi=e=>Ki(e,Xi,Ai),B=e=>gi.test(e),Fi=e=>Ki(e,Zi,ki),Ii=e=>Ki(e,Qi,z),Li=e=>Ki(e,Ji,Ai),Ri=e=>Ki(e,Yi,Mi),zi=e=>Ki(e,ea,ji),V=e=>_i.test(e),Bi=e=>qi(e,Zi),Vi=e=>qi(e,$i),Hi=e=>qi(e,Ji),Ui=e=>qi(e,Xi),Wi=e=>qi(e,Yi),Gi=e=>qi(e,ea,!0),Ki=(e,t,n)=>{let r=gi.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},qi=(e,t,n=!1)=>{let r=_i.exec(e);return r?r[1]?t(r[1]):n:!1},Ji=e=>e===`position`||e===`percentage`,Yi=e=>e===`image`||e===`url`,Xi=e=>e===`length`||e===`size`||e===`bg-size`,Zi=e=>e===`length`,Qi=e=>e===`number`,$i=e=>e===`family-name`,ea=e=>e===`shadow`,ta=()=>{let e=R(`color`),t=R(`font`),n=R(`text`),r=R(`font-weight`),i=R(`tracking`),a=R(`leading`),o=R(`breakpoint`),s=R(`container`),c=R(`spacing`),l=R(`radius`),u=R(`shadow`),d=R(`inset-shadow`),f=R(`text-shadow`),p=R(`drop-shadow`),m=R(`blur`),h=R(`perspective`),g=R(`aspect`),_=R(`ease`),v=R(`animate`),y=()=>[`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`],x=()=>[...b(),V,B],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[V,B,c],T=()=>[wi,`full`,`auto`,...w()],ee=()=>[Ti,`none`,`subgrid`,V,B],te=()=>[`auto`,{span:[`full`,Ti,V,B]},Ti,V,B],E=()=>[Ti,`auto`,V,B],ne=()=>[`auto`,`min`,`max`,`fr`,V,B],D=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],O=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],k=()=>[`auto`,...w()],A=()=>[wi,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],j=()=>[e,V,B],re=()=>[...b(),Hi,Li,{position:[V,B]}],ie=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ae=()=>[`auto`,`cover`,`contain`,Ui,Pi,{size:[V,B]}],oe=()=>[Ei,Bi,Fi],M=()=>[``,`none`,`full`,l,V,B],se=()=>[``,z,Bi,Fi],ce=()=>[`solid`,`dashed`,`dotted`,`double`],le=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],N=()=>[z,Ei,Hi,Li],ue=()=>[``,`none`,m,V,B],de=()=>[`none`,z,V,B],fe=()=>[`none`,z,V,B],pe=()=>[z,V,B],me=()=>[wi,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Di],breakpoint:[Di],color:[Oi],container:[Di],"drop-shadow":[Di],ease:[`in`,`out`,`in-out`],font:[Ni],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Di],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Di],shadow:[Di],spacing:[`px`,z],text:[Di],"text-shadow":[Di],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,wi,B,V,g]}],container:[`container`],columns:[{columns:[z,B,V,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{start:T()}],end:[{end:T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Ti,`auto`,V,B]}],basis:[{basis:[wi,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[z,wi,`auto`,`initial`,`none`,B]}],grow:[{grow:[``,z,V,B]}],shrink:[{shrink:[``,z,V,B]}],order:[{order:[Ti,`first`,`last`,`none`,V,B]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...D(),`normal`]}],"justify-items":[{"justify-items":[...O(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...O()]}],"align-content":[{content:[`normal`,...D()]}],"align-items":[{items:[...O(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...O(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...O(),`baseline`]}],"place-self":[{"place-self":[`auto`,...O()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:A()}],w:[{w:[s,`screen`,...A()]}],"min-w":[{"min-w":[s,`screen`,`none`,...A()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...A()]}],h:[{h:[`screen`,`lh`,...A()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...A()]}],"max-h":[{"max-h":[`screen`,`lh`,...A()]}],"font-size":[{text:[`base`,n,Bi,Fi]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,V,Ii]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Ei,B]}],"font-family":[{font:[Vi,B,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:[i,V,B]}],"line-clamp":[{"line-clamp":[z,`none`,V,Ii]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,V,B]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,V,B]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ce(),`wavy`]}],"text-decoration-thickness":[{decoration:[z,`from-font`,`auto`,V,Fi]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[z,`auto`,V,B]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,V,B]}],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`,V,B]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:ie()}],"bg-size":[{bg:ae()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Ti,V,B],radial:[``,V,B],conic:[Ti,V,B]},Wi,Ri]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:M()}],"rounded-s":[{"rounded-s":M()}],"rounded-e":[{"rounded-e":M()}],"rounded-t":[{"rounded-t":M()}],"rounded-r":[{"rounded-r":M()}],"rounded-b":[{"rounded-b":M()}],"rounded-l":[{"rounded-l":M()}],"rounded-ss":[{"rounded-ss":M()}],"rounded-se":[{"rounded-se":M()}],"rounded-ee":[{"rounded-ee":M()}],"rounded-es":[{"rounded-es":M()}],"rounded-tl":[{"rounded-tl":M()}],"rounded-tr":[{"rounded-tr":M()}],"rounded-br":[{"rounded-br":M()}],"rounded-bl":[{"rounded-bl":M()}],"border-w":[{border:se()}],"border-w-x":[{"border-x":se()}],"border-w-y":[{"border-y":se()}],"border-w-s":[{"border-s":se()}],"border-w-e":[{"border-e":se()}],"border-w-t":[{"border-t":se()}],"border-w-r":[{"border-r":se()}],"border-w-b":[{"border-b":se()}],"border-w-l":[{"border-l":se()}],"divide-x":[{"divide-x":se()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":se()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ce(),`hidden`,`none`]}],"divide-style":[{divide:[...ce(),`hidden`,`none`]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...ce(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[z,V,B]}],"outline-w":[{outline:[``,z,Bi,Fi]}],"outline-color":[{outline:j()}],shadow:[{shadow:[``,`none`,u,Gi,zi]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":[`none`,d,Gi,zi]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:se()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[z,Fi]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":se()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":[`none`,f,Gi,zi]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[z,V,B]}],"mix-blend":[{"mix-blend":[...le(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":le()}],"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":[z]}],"mask-image-linear-from-pos":[{"mask-linear-from":N()}],"mask-image-linear-to-pos":[{"mask-linear-to":N()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":N()}],"mask-image-t-to-pos":[{"mask-t-to":N()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":N()}],"mask-image-r-to-pos":[{"mask-r-to":N()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":N()}],"mask-image-b-to-pos":[{"mask-b-to":N()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":N()}],"mask-image-l-to-pos":[{"mask-l-to":N()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":N()}],"mask-image-x-to-pos":[{"mask-x-to":N()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":N()}],"mask-image-y-to-pos":[{"mask-y-to":N()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[V,B]}],"mask-image-radial-from-pos":[{"mask-radial-from":N()}],"mask-image-radial-to-pos":[{"mask-radial-to":N()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"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":[z]}],"mask-image-conic-from-pos":[{"mask-conic-from":N()}],"mask-image-conic-to-pos":[{"mask-conic-to":N()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:ie()}],"mask-size":[{mask:ae()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,V,B]}],filter:[{filter:[``,`none`,V,B]}],blur:[{blur:ue()}],brightness:[{brightness:[z,V,B]}],contrast:[{contrast:[z,V,B]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Gi,zi]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:[``,z,V,B]}],"hue-rotate":[{"hue-rotate":[z,V,B]}],invert:[{invert:[``,z,V,B]}],saturate:[{saturate:[z,V,B]}],sepia:[{sepia:[``,z,V,B]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,V,B]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[z,V,B]}],"backdrop-contrast":[{"backdrop-contrast":[z,V,B]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,z,V,B]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[z,V,B]}],"backdrop-invert":[{"backdrop-invert":[``,z,V,B]}],"backdrop-opacity":[{"backdrop-opacity":[z,V,B]}],"backdrop-saturate":[{"backdrop-saturate":[z,V,B]}],"backdrop-sepia":[{"backdrop-sepia":[``,z,V,B]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,V,B]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[z,`initial`,V,B]}],ease:[{ease:[`linear`,`initial`,_,V,B]}],delay:[{delay:[z,V,B]}],animate:[{animate:[`none`,v,V,B]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,V,B]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:de()}],"rotate-x":[{"rotate-x":de()}],"rotate-y":[{"rotate-y":de()}],"rotate-z":[{"rotate-z":de()}],scale:[{scale:fe()}],"scale-x":[{"scale-x":fe()}],"scale-y":[{"scale-y":fe()}],"scale-z":[{"scale-z":fe()}],"scale-3d":[`scale-3d`],skew:[{skew:pe()}],"skew-x":[{"skew-x":pe()}],"skew-y":[{"skew-y":pe()}],transform:[{transform:[V,B,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:me()}],"translate-x":[{"translate-x":me()}],"translate-y":[{"translate-y":me()}],"translate-z":[{"translate-z":me()}],"translate-none":[`translate-none`],accent:[{accent:j()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:j()}],"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`,V,B]}],"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":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,V,B]}],fill:[{fill:[`none`,...j()]}],"stroke-w":[{stroke:[z,Bi,Fi,Ii]}],stroke:[{stroke:[`none`,...j()]}],"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`]}},na=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:a={}})=>(ra(e,`cacheSize`,t),ra(e,`prefix`,n),ra(e,`experimentalParseClassName`,r),ia(e.theme,a.theme),ia(e.classGroups,a.classGroups),ia(e.conflictingClassGroups,a.conflictingClassGroups),ia(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),ra(e,`orderSensitiveModifiers`,a.orderSensitiveModifiers),aa(e.theme,i.theme),aa(e.classGroups,i.classGroups),aa(e.conflictingClassGroups,i.conflictingClassGroups),aa(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),oa(e,i,`orderSensitiveModifiers`),e),ra=(e,t,n)=>{n!==void 0&&(e[t]=n)},ia=(e,t)=>{if(t)for(let n in t)ra(e,n,t[n])},aa=(e,t)=>{if(t)for(let n in t)oa(e,t,n)},oa=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},sa=(e,...t)=>typeof e==`function`?mi(ta,e,...t):mi(()=>na(ta(),e),...t),ca=mi(ta),la=e=>Or(e)?ca:sa({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),ua=(e,t)=>{let n=Er(e);return!n||!(t?.twMerge??!0)?n:((!Ir.cachedTwMerge||Ir.didTwMergeConfigChange)&&(Ir.didTwMergeConfigChange=!1,Ir.cachedTwMerge=la(Ir.cachedTwMergeConfig)),Ir.cachedTwMerge(n)||void 0)},{createTV:da,tv:fa}=Lr((...e)=>t=>ua(e,t)),H=da({twMerge:!0,twMergeConfig:{extend:{classGroups:{"font-size":[{text:[`xxs`]}]},theme:{spacing:[`none`,`xxs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`,`5xl`,`6xl`,`7xl`,`8xl`,`9xl`,`10xl`,`11xl`],"z-index":[`sticky`,`overlay`,`modal`,`tooltip`]}}}}),pa=H({slots:{content:`
|
|
2
2
|
relative size-full overflow-hidden rounded-sm border border-secondary
|
|
3
3
|
bg-primary shadow-lg
|
|
4
|
-
`,contentWrapper:`z-50 will-change-[transform,filter,opacity]`},variants:{popoverWidth:{"anchor-width":{content:`w-(--reka-tooltip-trigger-width)`},"available-width":{content:`w-(--reka-tooltip-content-available-width)`},"content-width":{content:``}}}}),pa=(0,d.defineComponent)({__name:`TooltipArrow`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TooltipArrow),{class:`relative -mb-4 h-4 w-10 -translate-y-px overflow-hidden`,as:`div`},{default:(0,d.withCtx)(()=>[...t[0]||=[(0,d.createElementVNode)(`div`,{class:`absolute left-1/2 size-4 -translate-x-1/2 -translate-y-3 rotate-45 rounded-xxs border border-secondary bg-primary shadow-lg`},null,-1)]]),_:1}))}}),ma=(0,d.defineComponent)({__name:`Tooltip`,props:(0,d.mergeModels)((0,d.mergeDefaults)({isDisabled:{type:Boolean},delayDuration:{},disableCloseOnTriggerClick:{type:Boolean},disableHoverableContent:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...hr,isDisabled:!1,delayDuration:300,disableCloseOnTriggerClick:!1,disableHoverableContent:!1}),{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:[`update:isOpen`],setup(e){let t=e,n=(0,d.computed)(()=>fa({popoverWidth:t.popoverWidth??void 0})),r=(0,d.useModel)(e,`isOpen`);return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TooltipRoot),{open:r.value,"onUpdate:open":i[0]||=e=>r.value=e,"delay-duration":t.delayDuration,"disable-closing-trigger":t.disableCloseOnTriggerClick,"disable-hoverable-content":t.disableHoverableContent,disabled:t.isDisabled,"ignore-non-keyboard-focus":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TooltipTrigger),{"as-child":!0,reference:t.popoverAnchorReferenceElement??void 0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`)]),_:3},8,[`reference`]),(0,d.createVNode)((0,d.unref)(p.TooltipPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(ur,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TooltipContent),{align:t.popoverAlign,"align-offset":t.popoverAlignOffset,"collision-padding":t.popoverCollisionPadding,"collision-boundary":t.popoverContainerElement,side:t.popoverSide,"side-offset":t.popoverSideOffset,class:(0,d.normalizeClass)(n.value.contentWrapper()),"data-animation":t.popoverAnimationName??`tooltip-default`,"position-strategy":`absolute`,sticky:`always`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(n.value.content())},[(0,d.renderSlot)(e.$slots,`content`)],2),t.isPopoverArrowVisible?((0,d.openBlock)(),(0,d.createBlock)(pa,{key:0})):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`align`,`align-offset`,`collision-padding`,`collision-boundary`,`side`,`side-offset`,`class`,`data-animation`])]),_:3})]),_:3})]),_:3},8,[`open`,`delay-duration`,`disable-closing-trigger`,`disable-hoverable-content`,`disabled`]))}}),W=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},ha={},ga={class:`flex px-sm py-xs`};function _a(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,ga,[(0,d.renderSlot)(e.$slots,`default`)])}var va=W(ha,[[`render`,_a]]);function ya(e){let{clientHeight:t,clientWidth:n,scrollHeight:r,scrollWidth:i}=e;return r>t||i>n}function ba(e){let t=(0,d.ref)(!1),n=null;function r(e){n=new ResizeObserver(()=>{t.value=ya(e)}),n.observe(e)}return(0,d.onMounted)(()=>{let t=(0,d.toValue)(e);if(t===null)throw Error(`Element is null`);r(t)}),(0,d.onBeforeUnmount)(()=>{n?.disconnect()}),t}var G=(0,d.defineComponent)({__name:`Text`,props:{as:{default:`span`},class:{default:null},disableTooltip:{type:Boolean,default:!1},text:{},truncate:{type:[Boolean,Number],default:!0}},setup(e){let t=e,n=(0,d.useAttrs)(),r=(0,d.ref)(null),i=ba(r);return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)(K,{"is-disabled":!(0,d.unref)(i)||t.disableTooltip,label:t.text},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.as),(0,d.mergeProps)((0,d.unref)(n),{ref_key:`textRef`,ref:r,class:[[t.class,{truncate:t.truncate===!0,"line-clamp-2":t.truncate===2,"line-clamp-3":t.truncate===3,"line-clamp-4":t.truncate===4,"line-clamp-5":t.truncate===5,"line-clamp-6":t.truncate===6}],`max-w-full`]}),{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t.text),1)]),_:1},16,[`class`]))]),_:1},8,[`is-disabled`,`label`]))}}),xa=(0,d.defineComponent)({__name:`TooltipText`,props:{text:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(G,{truncate:!1,text:t.text,class:`flex max-w-xs text-center text-xs text-secondary`},null,8,[`text`]))}}),K=(0,d.defineComponent)({__name:`ActionTooltip`,props:{label:{default:null},disableCloseOnTriggerClick:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},popoverAlign:{default:`center`},popoverSide:{default:`top`},keyboardShortcut:{default:null}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(ma,{"is-disabled":t.isDisabled,"popover-side":t.popoverSide??void 0,"disable-hoverable-content":!0,"popover-side-offset":4,"popover-align":t.popoverAlign,"disable-close-on-trigger-click":t.disableCloseOnTriggerClick},{trigger:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(va,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{gap:`sm`},{default:(0,d.withCtx)(()=>[t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(xa,{key:0,text:t.label},null,8,[`text`])),t.keyboardShortcut===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Sr,{key:1,"keyboard-shortcut":t.keyboardShortcut,"enable-key-hold-visualization":!0},null,8,[`keyboard-shortcut`]))]),_:1})]),_:1})]),_:3},8,[`is-disabled`,`popover-side`,`popover-align`,`disable-close-on-trigger-click`]))}}),q=(0,d.defineComponent)({__name:`ColumnLayout`,props:{align:{default:`start`},as:{default:`div`},gap:{default:`md`},justify:{default:`start`}},setup(e){let t=e,n=(0,d.computed)(()=>{switch(t.align){case`center`:return`items-center`;case`end`:return`items-end`;case`start`:return`items-start`;case`stretch`:return`items-stretch`;default:return`items-start`}}),r=(0,d.computed)(()=>{switch(t.justify){case`center`:return`justify-center`;case`end`:return`justify-end`;case`start`:return`justify-start`;case`between`:return`justify-between`;default:return`justify-start`}}),i=(0,d.computed)(()=>{switch(t.gap){case`2xl`:return`gap-2xl`;case`3xl`:return`gap-3xl`;case`4xl`:return`gap-4xl`;case`5xl`:return`gap-5xl`;case`6xl`:return`gap-6xl`;case`7xl`:return`gap-7xl`;case`8xl`:return`gap-8xl`;case`9xl`:return`gap-9xl`;case`10xl`:return`gap-10xl`;case`11xl`:return`gap-11xl`;case`lg`:return`gap-lg`;case`md`:return`gap-md`;case`none`:return`gap-none`;case`sm`:return`gap-sm`;case`xl`:return`gap-xl`;case`xs`:return`gap-xs`;case`xxs`:return`gap-xxs`;default:return`gap-none`}});return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.as),{class:(0,d.normalizeClass)([[n.value,i.value,r.value],`flex flex-col`])},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}}),Sa=U({compoundVariants:[{hasLeftContent:!1,class:{base:`pl-md`},size:`md`},{hasLeftContent:!0,class:{base:`pl-md`},size:`md`},{hasRightContent:!1,class:{base:`pr-md`},size:`md`},{hasRightContent:!0,class:{base:`pr-md`},size:`md`}],slots:{base:`w-full overflow-hidden`,dotWrapper:`flex shrink-0 items-center`,icon:`text-tertiary`,iconWrapper:`flex shrink-0`,leftAvatar:``},variants:{isDisabled:{false:{},true:{base:`cursor-not-allowed opacity-60`}},hasBlockDescription:{false:{},true:{dotWrapper:`self-start`,iconWrapper:`mt-xs self-start`}},hasLeftContent:{false:{},true:{}},hasRightContent:{false:{},true:{}},size:{md:{base:`min-h-8`,dotWrapper:`h-5`,icon:`size-3.5`},sm:{base:`min-h-7 px-sm`,dotWrapper:`h-4`,icon:`size-3`}}}}),Ca=[{backgroundColor:`bg-[#F4D6D6] dark:bg-[#6B2D2D]`,textColor:`text-[#6A2F2F] dark:text-[#FFD6D6]`},{backgroundColor:`bg-[#D6E2F4] dark:bg-[#2D4A6B]`,textColor:`text-[#2F4A6A] dark:text-[#D6EAFF]`},{backgroundColor:`bg-[#F4E2D6] dark:bg-[#6B4A2D]`,textColor:`text-[#6A4A2F] dark:text-[#FFE2D6]`},{backgroundColor:`bg-[#D6F4E3] dark:bg-[#2D6B4A]`,textColor:`text-[#2F6A4A] dark:text-[#D6FFE9]`},{backgroundColor:`bg-[#E6D6F4] dark:bg-[#4A2D6B]`,textColor:`text-[#4A2F6A] dark:text-[#E9D6FF]`},{backgroundColor:`bg-[#D6F0F4] dark:bg-[#2D636B]`,textColor:`text-[#2F646A] dark:text-[#D6F8FF]`},{backgroundColor:`bg-[#F4D6E6] dark:bg-[#6B2D4F]`,textColor:`text-[#6A2F4F] dark:text-[#FFD6EE]`},{backgroundColor:`bg-[#DFF4D6] dark:bg-[#3D6B2D]`,textColor:`text-[#3F6A2F] dark:text-[#E4FFD6]`},{backgroundColor:`bg-[#D6EAF4] dark:bg-[#2D546B]`,textColor:`text-[#2F5A6A] dark:text-[#D6F0FF]`},{backgroundColor:`bg-[#FFE0E0] dark:bg-[#8B1A1A]`,textColor:`text-[#7A1A1A] dark:text-[#FFB3B3]`},{backgroundColor:`bg-[#F0D6FF] dark:bg-[#6B0F8B]`,textColor:`text-[#5C0F7A] dark:text-[#EAB3FF]`},{backgroundColor:`bg-[#D6FFF5] dark:bg-[#0B7A60]`,textColor:`text-[#0A6A52] dark:text-[#B3FFE8]`},{backgroundColor:`bg-[#FFE8D6] dark:bg-[#8B3A0F]`,textColor:`text-[#7A3210] dark:text-[#FFD0B3]`},{backgroundColor:`bg-[#D6DCFF] dark:bg-[#1A1A8B]`,textColor:`text-[#1A1F7A] dark:text-[#C4C8FF]`},{backgroundColor:`bg-[#E8FFD6] dark:bg-[#3D7A0F]`,textColor:`text-[#346810] dark:text-[#CCFFB3]`},{backgroundColor:`bg-[#FFD6DC] dark:bg-[#8B0F2A]`,textColor:`text-[#7A0F25] dark:text-[#FFB3C0]`},{backgroundColor:`bg-[#D6FFE8] dark:bg-[#0B7A40]`,textColor:`text-[#0A6A38] dark:text-[#B3FFD4]`},{backgroundColor:`bg-[#F5D6FF] dark:bg-[#7A0F8B]`,textColor:`text-[#6A0F7A] dark:text-[#F0B3FF]`},{backgroundColor:`bg-[#D6F0FF] dark:bg-[#0F5A8B]`,textColor:`text-[#0F507A] dark:text-[#B3E0FF]`}],wa={isStaticColor:!1,name:``,logo:null,logoAlt:null,size:`md`,src:null,status:null},Ta=U({slots:{base:`aspect-square shrink-0 rounded-full object-cover`,fallBack:`
|
|
4
|
+
`,contentWrapper:`z-50 will-change-[transform,filter,opacity]`},variants:{popoverWidth:{"anchor-width":{content:`w-(--reka-tooltip-trigger-width)`},"available-width":{content:`w-(--reka-tooltip-content-available-width)`},"content-width":{content:``}}}}),ma=(0,d.defineComponent)({__name:`TooltipArrow`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TooltipArrow),{class:`relative -mb-4 h-4 w-10 -translate-y-px overflow-hidden`,as:`div`},{default:(0,d.withCtx)(()=>[...t[0]||=[(0,d.createElementVNode)(`div`,{class:`absolute left-1/2 size-4 -translate-x-1/2 -translate-y-3 rotate-45 rounded-xxs border border-secondary bg-primary shadow-lg`},null,-1)]]),_:1}))}}),ha=(0,d.defineComponent)({__name:`Tooltip`,props:(0,d.mergeModels)((0,d.mergeDefaults)({isDisabled:{type:Boolean},delayDuration:{},disableCloseOnTriggerClick:{type:Boolean},disableHoverableContent:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...gr,isDisabled:!1,delayDuration:300,disableCloseOnTriggerClick:!1,disableHoverableContent:!1}),{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:[`update:isOpen`],setup(e){let t=e,n=(0,d.computed)(()=>pa({popoverWidth:t.popoverWidth??void 0})),r=(0,d.useModel)(e,`isOpen`);return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TooltipRoot),{open:r.value,"onUpdate:open":i[0]||=e=>r.value=e,"delay-duration":t.delayDuration,"disable-closing-trigger":t.disableCloseOnTriggerClick,"disable-hoverable-content":t.disableHoverableContent,disabled:t.isDisabled,"ignore-non-keyboard-focus":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TooltipTrigger),{"as-child":!0,reference:t.popoverAnchorReferenceElement??void 0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`)]),_:3},8,[`reference`]),(0,d.createVNode)((0,d.unref)(p.TooltipPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TooltipContent),{align:t.popoverAlign,"align-offset":t.popoverAlignOffset,"collision-padding":t.popoverCollisionPadding,"collision-boundary":t.popoverContainerElement,side:t.popoverSide,"side-offset":t.popoverSideOffset,class:(0,d.normalizeClass)(n.value.contentWrapper()),"data-animation":t.popoverAnimationName??`tooltip-default`,"position-strategy":`absolute`,sticky:`always`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(n.value.content())},[(0,d.renderSlot)(e.$slots,`content`)],2),t.isPopoverArrowVisible?((0,d.openBlock)(),(0,d.createBlock)(ma,{key:0})):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`align`,`align-offset`,`collision-padding`,`collision-boundary`,`side`,`side-offset`,`class`,`data-animation`])]),_:3})]),_:3})]),_:3},8,[`open`,`delay-duration`,`disable-closing-trigger`,`disable-hoverable-content`,`disabled`]))}}),U=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},ga={},_a={class:`flex px-sm py-xs`};function va(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,_a,[(0,d.renderSlot)(e.$slots,`default`)])}var ya=U(ga,[[`render`,va]]);function ba(e){let{clientHeight:t,clientWidth:n,scrollHeight:r,scrollWidth:i}=e;return r>t||i>n}function xa(e){let t=(0,d.ref)(!1),n=null;function r(e){n=new ResizeObserver(()=>{t.value=ba(e)}),n.observe(e)}return(0,d.onMounted)(()=>{let t=(0,d.toValue)(e);if(t===null)throw Error(`Element is null`);r(t)}),(0,d.onBeforeUnmount)(()=>{n?.disconnect()}),t}var W=(0,d.defineComponent)({__name:`Text`,props:{as:{default:`span`},class:{default:null},disableTooltip:{type:Boolean,default:!1},text:{},truncate:{type:[Boolean,Number],default:!0}},setup(e){let t=e,n=(0,d.useAttrs)(),r=(0,d.ref)(null),i=xa(r);return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"is-disabled":!(0,d.unref)(i)||t.disableTooltip,label:t.text},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.as),(0,d.mergeProps)((0,d.unref)(n),{ref_key:`textRef`,ref:r,class:[[t.class,{truncate:t.truncate===!0,"line-clamp-2":t.truncate===2,"line-clamp-3":t.truncate===3,"line-clamp-4":t.truncate===4,"line-clamp-5":t.truncate===5,"line-clamp-6":t.truncate===6}],`max-w-full`]}),{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t.text),1)]),_:1},16,[`class`]))]),_:1},8,[`is-disabled`,`label`]))}}),Sa=(0,d.defineComponent)({__name:`TooltipText`,props:{text:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(W,{truncate:!1,text:t.text,class:`flex max-w-xs text-center text-xs text-secondary`},null,8,[`text`]))}}),G=(0,d.defineComponent)({__name:`ActionTooltip`,props:{label:{default:null},disableCloseOnTriggerClick:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},popoverAlign:{default:`center`},popoverSide:{default:`top`},keyboardShortcut:{default:null}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(ha,{"is-disabled":t.isDisabled,"popover-side":t.popoverSide??void 0,"disable-hoverable-content":!0,"popover-side-offset":4,"popover-align":t.popoverAlign,"disable-close-on-trigger-click":t.disableCloseOnTriggerClick},{trigger:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(ya,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{gap:`sm`},{default:(0,d.withCtx)(()=>[t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Sa,{key:0,text:t.label},null,8,[`text`])),t.keyboardShortcut===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Cr,{key:1,"keyboard-shortcut":t.keyboardShortcut,"enable-key-hold-visualization":!0},null,8,[`keyboard-shortcut`]))]),_:1})]),_:1})]),_:3},8,[`is-disabled`,`popover-side`,`popover-align`,`disable-close-on-trigger-click`]))}}),K=(0,d.defineComponent)({__name:`ColumnLayout`,props:{align:{default:`start`},as:{default:`div`},gap:{default:`md`},justify:{default:`start`}},setup(e){let t=e,n=(0,d.computed)(()=>{switch(t.align){case`center`:return`items-center`;case`end`:return`items-end`;case`start`:return`items-start`;case`stretch`:return`items-stretch`;default:return`items-start`}}),r=(0,d.computed)(()=>{switch(t.justify){case`center`:return`justify-center`;case`end`:return`justify-end`;case`start`:return`justify-start`;case`between`:return`justify-between`;default:return`justify-start`}}),i=(0,d.computed)(()=>{switch(t.gap){case`2xl`:return`gap-2xl`;case`3xl`:return`gap-3xl`;case`4xl`:return`gap-4xl`;case`5xl`:return`gap-5xl`;case`6xl`:return`gap-6xl`;case`7xl`:return`gap-7xl`;case`8xl`:return`gap-8xl`;case`9xl`:return`gap-9xl`;case`10xl`:return`gap-10xl`;case`11xl`:return`gap-11xl`;case`lg`:return`gap-lg`;case`md`:return`gap-md`;case`none`:return`gap-none`;case`sm`:return`gap-sm`;case`xl`:return`gap-xl`;case`xs`:return`gap-xs`;case`xxs`:return`gap-xxs`;default:return`gap-none`}});return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.as),{class:(0,d.normalizeClass)([[n.value,i.value,r.value],`flex flex-col`])},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}}),Ca=H({compoundVariants:[{hasLeftContent:!1,class:{base:`pl-md`},size:`md`},{hasLeftContent:!0,class:{base:`pl-md`},size:`md`},{hasRightContent:!1,class:{base:`pr-md`},size:`md`},{hasRightContent:!0,class:{base:`pr-md`},size:`md`}],slots:{base:`w-full overflow-hidden`,dotWrapper:`flex shrink-0 items-center`,icon:`text-tertiary`,iconWrapper:`flex shrink-0`,leftAvatar:``},variants:{isDisabled:{false:{},true:{base:`cursor-not-allowed opacity-60`}},hasBlockDescription:{false:{},true:{dotWrapper:`self-start`,iconWrapper:`mt-xs self-start`}},hasLeftContent:{false:{},true:{}},hasRightContent:{false:{},true:{}},size:{md:{base:`min-h-8`,dotWrapper:`h-5`,icon:`size-3.5`},sm:{base:`min-h-7 px-sm`,dotWrapper:`h-4`,icon:`size-3`}}}}),wa=[{backgroundColor:`bg-[#F4D6D6] dark:bg-[#6B2D2D]`,textColor:`text-[#6A2F2F] dark:text-[#FFD6D6]`},{backgroundColor:`bg-[#D6E2F4] dark:bg-[#2D4A6B]`,textColor:`text-[#2F4A6A] dark:text-[#D6EAFF]`},{backgroundColor:`bg-[#F4E2D6] dark:bg-[#6B4A2D]`,textColor:`text-[#6A4A2F] dark:text-[#FFE2D6]`},{backgroundColor:`bg-[#D6F4E3] dark:bg-[#2D6B4A]`,textColor:`text-[#2F6A4A] dark:text-[#D6FFE9]`},{backgroundColor:`bg-[#E6D6F4] dark:bg-[#4A2D6B]`,textColor:`text-[#4A2F6A] dark:text-[#E9D6FF]`},{backgroundColor:`bg-[#D6F0F4] dark:bg-[#2D636B]`,textColor:`text-[#2F646A] dark:text-[#D6F8FF]`},{backgroundColor:`bg-[#F4D6E6] dark:bg-[#6B2D4F]`,textColor:`text-[#6A2F4F] dark:text-[#FFD6EE]`},{backgroundColor:`bg-[#DFF4D6] dark:bg-[#3D6B2D]`,textColor:`text-[#3F6A2F] dark:text-[#E4FFD6]`},{backgroundColor:`bg-[#D6EAF4] dark:bg-[#2D546B]`,textColor:`text-[#2F5A6A] dark:text-[#D6F0FF]`},{backgroundColor:`bg-[#FFE0E0] dark:bg-[#8B1A1A]`,textColor:`text-[#7A1A1A] dark:text-[#FFB3B3]`},{backgroundColor:`bg-[#F0D6FF] dark:bg-[#6B0F8B]`,textColor:`text-[#5C0F7A] dark:text-[#EAB3FF]`},{backgroundColor:`bg-[#D6FFF5] dark:bg-[#0B7A60]`,textColor:`text-[#0A6A52] dark:text-[#B3FFE8]`},{backgroundColor:`bg-[#FFE8D6] dark:bg-[#8B3A0F]`,textColor:`text-[#7A3210] dark:text-[#FFD0B3]`},{backgroundColor:`bg-[#D6DCFF] dark:bg-[#1A1A8B]`,textColor:`text-[#1A1F7A] dark:text-[#C4C8FF]`},{backgroundColor:`bg-[#E8FFD6] dark:bg-[#3D7A0F]`,textColor:`text-[#346810] dark:text-[#CCFFB3]`},{backgroundColor:`bg-[#FFD6DC] dark:bg-[#8B0F2A]`,textColor:`text-[#7A0F25] dark:text-[#FFB3C0]`},{backgroundColor:`bg-[#D6FFE8] dark:bg-[#0B7A40]`,textColor:`text-[#0A6A38] dark:text-[#B3FFD4]`},{backgroundColor:`bg-[#F5D6FF] dark:bg-[#7A0F8B]`,textColor:`text-[#6A0F7A] dark:text-[#F0B3FF]`},{backgroundColor:`bg-[#D6F0FF] dark:bg-[#0F5A8B]`,textColor:`text-[#0F507A] dark:text-[#B3E0FF]`}],Ta={isStaticColor:!1,name:``,logo:null,logoAlt:null,size:`md`,src:null,status:null},Ea=H({slots:{base:`aspect-square shrink-0 rounded-full object-cover`,fallBack:`
|
|
5
5
|
flex aspect-square size-6 shrink-0 items-center justify-center
|
|
6
6
|
rounded-full bg-tertiary text-xs font-semibold text-quaternary
|
|
7
7
|
`,logo:`
|
|
@@ -10,7 +10,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.
|
|
|
10
10
|
`,root:`relative inline-block shrink-0`,statusDot:`
|
|
11
11
|
absolute right-0 bottom-0 rounded-full ring-2 ring-white
|
|
12
12
|
dark:ring-gray-900
|
|
13
|
-
`},variants:{size:{"2xl":{base:`h-16 w-16 text-2xl`,fallBack:`h-16 w-16 text-2xl`,logo:`size-4`,statusDot:`size-4`},lg:{base:`h-12 w-12 text-lg`,fallBack:`h-12 w-12 text-lg`,logo:`size-3.5`,statusDot:`size-3.5`},md:{base:`h-10 w-10 text-md`,fallBack:`h-10 w-10 text-md`,logo:`size-3`,statusDot:`size-3`},sm:{base:`h-8 w-8 text-sm`,fallBack:`h-8 w-8 text-sm`,logo:`size-2.5`,statusDot:`size-2.5`},xl:{base:`h-14 w-14 text-xl`,fallBack:`h-14 w-14 text-xl`,logo:`size-3.5`,statusDot:`size-3.5`},xs:{base:`h-6 w-6 text-xxs`,fallBack:`h-6 w-6 text-xxs`,logo:`size-2`,statusDot:`size-2`},xxs:{base:`h-4 w-4 text-xxs`,fallBack:`size-4 text-[8px]`,logo:`size-1.5`,statusDot:`size-1.5`}},status:{away:{statusDot:`bg-warning-500`},busy:{statusDot:`bg-error-500`},offline:{statusDot:`bg-gray-400`},online:{statusDot:`bg-success-500`}}}}),
|
|
13
|
+
`},variants:{size:{"2xl":{base:`h-16 w-16 text-2xl`,fallBack:`h-16 w-16 text-2xl`,logo:`size-4`,statusDot:`size-4`},lg:{base:`h-12 w-12 text-lg`,fallBack:`h-12 w-12 text-lg`,logo:`size-3.5`,statusDot:`size-3.5`},md:{base:`h-10 w-10 text-md`,fallBack:`h-10 w-10 text-md`,logo:`size-3`,statusDot:`size-3`},sm:{base:`h-8 w-8 text-sm`,fallBack:`h-8 w-8 text-sm`,logo:`size-2.5`,statusDot:`size-2.5`},xl:{base:`h-14 w-14 text-xl`,fallBack:`h-14 w-14 text-xl`,logo:`size-3.5`,statusDot:`size-3.5`},xs:{base:`h-6 w-6 text-xxs`,fallBack:`h-6 w-6 text-xxs`,logo:`size-2`,statusDot:`size-2`},xxs:{base:`h-4 w-4 text-xxs`,fallBack:`size-4 text-[8px]`,logo:`size-1.5`,statusDot:`size-1.5`}},status:{away:{statusDot:`bg-warning-500`},busy:{statusDot:`bg-error-500`},offline:{statusDot:`bg-gray-400`},online:{statusDot:`bg-success-500`}}}}),Da=[`src`,`alt`],Oa=(0,d.defineComponent)({__name:`Avatar`,props:(0,d.mergeDefaults)({isStaticColor:{type:Boolean},name:{},logo:{},logoAlt:{},size:{},src:{},status:{}},{...Ta}),setup(e){let t=e,n=(0,d.computed)(()=>Ea({size:t.size,status:t.status??void 0})),r=(0,d.computed)(()=>wa[a(t.name,wa.length)]);function i(e){let n=e.split(` `).map(e=>e.charAt(0).toUpperCase()),r=t.size===`xxs`?1:2;return n.slice(0,r).join(``)}function a(e,t){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return Math.abs(n)%t}return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.AvatarRoot),{class:(0,d.normalizeClass)(n.value.root())},{default:(0,d.withCtx)(()=>[t.src?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.AvatarImage),{key:0,src:t.src,class:(0,d.normalizeClass)(n.value.base()),alt:t.name},null,8,[`src`,`class`,`alt`])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(p.AvatarFallback),{class:(0,d.normalizeClass)(n.value.fallBack({class:t.isStaticColor?void 0:`${r.value.backgroundColor} ${r.value.textColor}`}))},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(i(t.name)),1)]),_:1},8,[`class`]),t.status===null?t.logo?((0,d.openBlock)(),(0,d.createElementBlock)(`img`,{key:2,src:t.logo,alt:t.logoAlt??`Avatar Logo`,class:(0,d.normalizeClass)(n.value.logo())},null,10,Da)):(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`span`,{key:1,class:(0,d.normalizeClass)(n.value.statusDot())},null,2))]),_:1},8,[`class`]))}}),ka={max:10,size:`sm`},Aa=H({slots:{avatar:`
|
|
14
14
|
shrink-0 rounded-full shadow-[0px_0px_0px_1.5px_var(--color-white)]
|
|
15
15
|
dark:shadow-[0px_0px_0px_1.5px_var(--color-gray-900)]
|
|
16
16
|
`,overflow:`
|
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.
|
|
|
18
18
|
border-secondary bg-tertiary font-semibold text-tertiary
|
|
19
19
|
shadow-[0px_0px_0px_1.5px_var(--color-white)]
|
|
20
20
|
dark:shadow-[0px_0px_0px_1.5px_var(--color-gray-900)]
|
|
21
|
-
`,root:`relative flex items-start`},variants:{size:{md:{avatar:`-mr-3`,overflow:`-mr-3 size-10 text-md`,root:`pr-3`},sm:{avatar:`-mr-2`,overflow:`-mr-2 size-8 text-sm`,root:`pr-2`},xs:{avatar:`-mr-1`,overflow:`-mr-1 size-6 text-[10px]`,root:`pr-1`}}}}),
|
|
21
|
+
`,root:`relative flex items-start`},variants:{size:{md:{avatar:`-mr-3`,overflow:`-mr-3 size-10 text-md`,root:`pr-3`},sm:{avatar:`-mr-2`,overflow:`-mr-2 size-8 text-sm`,root:`pr-2`},xs:{avatar:`-mr-1`,overflow:`-mr-1 size-6 text-[10px]`,root:`pr-1`}}}}),ja=(0,d.defineComponent)({__name:`AvatarGroup`,props:{avatars:{},max:{default:ka.max},size:{default:ka.size}},setup(e){let t=e,n=(0,d.computed)(()=>t.avatars.slice(0,t.max)),r=(0,d.computed)(()=>t.avatars.length-t.max),i=(0,m.useI18n)(),a=(0,d.computed)(()=>Aa({size:t.size}));return(e,o)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(a.value.root())},[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.value,(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(Oa,{key:`avatar-${e.name}-${e.src}-${n}`,class:(0,d.normalizeClass)(a.value.avatar()),logo:e.logo,"logo-alt":e.logoAlt,name:e.name,size:t.size,src:e.src},null,8,[`class`,`logo`,`logo-alt`,`name`,`size`,`src`]))),128)),r.value>0?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:(0,d.normalizeClass)(a.value.overflow())},(0,d.toDisplayString)((0,d.unref)(i).t(`component.avatar_group.overflow`,{count:r.value})),3)):(0,d.createCommentVNode)(``,!0)],2))}}),Ma=H({slots:{icon:`
|
|
22
22
|
text-tertiary
|
|
23
23
|
group-disabled/button:text-disabled
|
|
24
24
|
`,root:`
|
|
@@ -30,23 +30,23 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.
|
|
|
30
30
|
active:scale-95 active:bg-secondary
|
|
31
31
|
disabled:cursor-not-allowed disabled:border-disabled-subtle
|
|
32
32
|
disabled:bg-disabled
|
|
33
|
-
`},variants:{size:{md:{icon:`size-5`,root:`size-10`},sm:{icon:`size-4`,root:`size-8`},xs:{icon:`size-4`,root:`size-6`}}}}),Ma={},Na={viewBox:`25 25 50 50`,"aria-hidden":`true`,class:`custom-animate-spinner`};function Pa(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Na,[...t[0]||=[(0,d.createElementVNode)(`circle`,{class:`custom-animate-spinner-path size-full`,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)]])}var Fa=W(Ma,[[`render`,Pa],[`__scopeId`,`data-v-baf560f8`]]),Ia=[`aria-label`,`aria-busy`,`aria-disabled`,`data-interactive`,`disabled`,`form`,`type`],La=(0,d.defineComponent)({__name:`AvatarGroupAddButton`,props:{disabledReason:{default:null},size:{default:`sm`},isLoading:{type:Boolean,default:!1},isTooltipDisabled:{type:Boolean,default:!1},form:{default:null},label:{},tooltipLabel:{default:null},type:{default:`button`},isDisabled:{type:Boolean,default:!1},keyboardShortcut:{default:null}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.computed)(()=>n.isDisabled&&n.disabledReason!==null?!1:n.isTooltipDisabled),a=(0,d.computed)(()=>n.isDisabled&&n.disabledReason!==null?n.disabledReason:n.tooltipLabel??n.label),o=(0,d.computed)(()=>ja({size:n.size}));function s(e){if(n.isLoading){e.preventDefault();return}r(`click`,e)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(K,{"is-disabled":i.value,label:a.value,"keyboard-shortcut":n.keyboardShortcut},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,{"aria-label":n.label,"aria-busy":n.isLoading,"aria-disabled":n.isLoading,class:(0,d.normalizeClass)(o.value.root()),"data-interactive":!n.isDisabled&&!n.isLoading||void 0,disabled:n.isDisabled,form:n.form??void 0,type:n.type,onClick:s},[n.isLoading?((0,d.openBlock)(),(0,d.createBlock)(Fa,{key:0,class:(0,d.normalizeClass)(o.value.icon())},null,8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Un),{key:1,class:(0,d.normalizeClass)(o.value.icon())},null,8,[`class`]))],10,Ia)]),_:1},8,[`is-disabled`,`label`,`keyboard-shortcut`]))}}),Ra={name:``,logo:null,logoAlt:null,size:`md`,src:null,status:null,supportingText:null},za=U({slots:{name:`font-semibold text-primary`,root:`flex min-w-0 items-center`,supportingText:`text-tertiary`,textContainer:`min-w-0`},variants:{size:{"2xl":{name:`text-lg`,root:`gap-xl`,supportingText:`text-md`},lg:{name:`text-md`,root:`gap-lg`,supportingText:`text-md`},md:{name:`text-sm`,root:`gap-md`,supportingText:`text-sm`},sm:{name:`text-sm`,root:`gap-md`,supportingText:`text-xs`},xl:{name:`text-lg`,root:`gap-xl`,supportingText:`text-md`},xs:{name:`text-xs`,root:`gap-md`,supportingText:`text-xs`},xxs:{name:`text-xs`,root:`gap-md`,supportingText:`text-xs`}}}}),Ba=(0,d.defineComponent)({__name:`AvatarLabel`,props:(0,d.mergeDefaults)({supportingText:{},isStaticColor:{type:Boolean},name:{},logo:{},logoAlt:{},size:{},src:{},status:{}},{...Ra}),setup(e){let t=e,n=(0,d.computed)(()=>za({size:t.size}));return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.root())},[(0,d.createVNode)(Da,{logo:t.logo,"logo-alt":t.logoAlt,name:t.name,size:t.size,src:t.src,status:t.status},null,8,[`logo`,`logo-alt`,`name`,`size`,`src`,`status`]),(0,d.createVNode)(q,{class:(0,d.normalizeClass)(n.value.textContainer()),gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(G,{class:(0,d.normalizeClass)(n.value.name()),text:t.name},null,8,[`class`,`text`]),t.supportingText==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(G,{key:0,class:(0,d.normalizeClass)(n.value.supportingText()),text:t.supportingText},null,8,[`class`,`text`]))]),_:1},8,[`class`])],2))}}),Va=(0,d.defineComponent)({__name:`MenuItemLeftAvatar`,props:{hasBlockDescription:{type:Boolean},left:{}},setup(e){let t=e,n=(0,d.computed)(()=>Sa({hasBlockDescription:t.hasBlockDescription,hasLeftContent:!1,hasRightContent:!1,size:`md`}));return(t,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Da),{name:e.left.name,src:e.left.src,"image-alt":e.left.imageAlt,size:e.hasBlockDescription?`sm`:`xs`,class:(0,d.normalizeClass)(n.value.leftAvatar())},null,8,[`name`,`src`,`image-alt`,`size`,`class`]))}}),Ha=(0,d.defineComponent)({__name:`MenuItemLeftBreadcrumbs`,props:{left:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{gap:`sm`,class:`flex max-w-full overflow-hidden whitespace-nowrap`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.left.breadcrumbs,(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:t},[e.icon===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.icon),{key:0,class:`size-3 shrink-0 text-disabled`})),(0,d.createVNode)((0,d.unref)(G),{text:e.label,class:`text-sm text-disabled select-none`},null,8,[`text`]),(0,d.createVNode)((0,d.unref)(Jt),{class:`size-3 shrink-0 text-disabled`})],64))),128))]),_:1}))}}),Ua=U({base:`shrink-0 rounded-full`,variants:{color:{blue:`bg-blue-500`,brand:`bg-brand-500`,error:`bg-error-500`,gray:`bg-gray-400`,pink:`bg-pink-500`,purple:`bg-purple-500`,success:`bg-success-500`,warning:`bg-warning-500`},size:{lg:`size-2`,md:`size-1.5`,sm:`size-1`}}}),Wa=(0,d.defineComponent)({__name:`Dot`,props:{color:{default:`gray`},size:{default:`md`}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(Ua)({color:t.color,size:t.size}))},null,2))}}),Ga=(0,d.defineComponent)({__name:`MenuItemLeftDot`,props:{hasBlockDescription:{type:Boolean},left:{},size:{}},setup(e){let t=e,n=(0,d.computed)(()=>Sa({hasBlockDescription:t.hasBlockDescription,hasLeftContent:!1,hasRightContent:!1,size:t.size}));return(t,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.dotWrapper())},[(0,d.createVNode)((0,d.unref)(Wa),{color:e.left.color??`gray`},null,8,[`color`])],2))}}),Ka=(0,d.defineComponent)({__name:`MenuItemLeftIcon`,props:{hasBlockDescription:{type:Boolean},left:{},size:{}},setup(e){let t=e,n=(0,d.computed)(()=>Sa({hasBlockDescription:t.hasBlockDescription,hasLeftContent:!1,hasRightContent:!1,size:t.size}));return(t,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.iconWrapper())},[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.left.icon),{class:(0,d.normalizeClass)(n.value.icon())},null,8,[`class`]))],2))}}),qa=[`alt`,`src`],Ja=(0,d.defineComponent)({__name:`MenuItemLeftImage`,props:{hasBlockDescription:{type:Boolean},alt:{},left:{},size:{}},setup(e){let t=e,n=(0,d.computed)(()=>Sa({hasBlockDescription:t.hasBlockDescription,hasLeftContent:!1,hasRightContent:!1,size:t.size}));return(t,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.iconWrapper())},[(0,d.createElementVNode)(`img`,{alt:e.alt,src:e.left.src,class:(0,d.normalizeClass)([{"w-3.5":e.left.aspect===void 0||e.left.aspect===`square`,"h-3.5 w-5":e.left.aspect===`rectangle`},`rounded-xxs object-contain`])},null,10,qa)],2))}}),Ya=(0,d.defineComponent)({__name:`MenuItemRightIcon`,props:{right:{}},setup(e){return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.right.icon),{class:`size-3.5 text-disabled`}))}}),Xa=(0,d.defineComponent)({__name:`MenuItemRightIconText`,props:{right:{}},setup(e){return(t,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.right.icon),{class:`size-3.5 shrink-0 text-disabled`})),(0,d.createVNode)((0,d.unref)(G),{text:e.right.text,class:`min-w-0 text-xs text-disabled select-none`},null,8,[`text`])],64))}}),Za=(0,d.defineComponent)({__name:`MenuItemRightShortcut`,props:{right:{}},setup(e){return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)(Sr,{"keyboard-shortcut":e.right.keyboardShortcut,class:`ml-sm`},null,8,[`keyboard-shortcut`]))}}),Qa=(0,d.defineComponent)({__name:`MenuItemRightText`,props:{right:{}},setup(e){return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{text:e.right.text,class:`min-w-0 text-xs text-disabled select-none`},null,8,[`text`]))}}),$a=(0,d.defineComponent)({__name:`MenuItem`,props:{isDisabled:{type:Boolean,default:!1},config:{default:null},disabledReason:{default:null},label:{},size:{default:`md`}},setup(e){let t=e,n=(0,d.useSlots)(),r=(0,d.computed)(()=>t.isDisabled||t.disabledReason!==null),i=(0,d.computed)(()=>t.config?.left!=null),a=(0,d.computed)(()=>t.config?.right!=null||n.right!=null),o=(0,d.computed)(()=>t.config?.description?.layout===`block`),s=(0,d.computed)(()=>Sa({hasLeftContent:i.value,hasRightContent:a.value,isDisabled:r.value,size:t.size}));return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{"is-disabled":t.disabledReason===null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[t.config===null?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:0,class:(0,d.normalizeClass)(s.value.base())},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:(0,d.normalizeClass)([{"text-xs":t.size===`sm`,"text-sm":t.size===`md`},`shrink-0 text-secondary select-none`])},null,8,[`text`,`class`])]),_:1},8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:1,class:(0,d.normalizeClass)([s.value.base(),o.value&&`py-xs`]),gap:t.size===`md`?`sm`:`xs`},{default:(0,d.withCtx)(()=>[t.config.left==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[t.config.left.type===`avatar`?((0,d.openBlock)(),(0,d.createBlock)(Va,{key:0,left:t.config.left,"has-block-description":o.value},null,8,[`left`,`has-block-description`])):t.config.left.type===`image`?((0,d.openBlock)(),(0,d.createBlock)(Ja,{key:1,left:t.config.left,alt:t.label,size:t.size,"has-block-description":o.value},null,8,[`left`,`alt`,`size`,`has-block-description`])):t.config.left.type===`icon`?((0,d.openBlock)(),(0,d.createBlock)(Ka,{key:2,left:t.config.left,size:t.size,"has-block-description":o.value},null,8,[`left`,`size`,`has-block-description`])):t.config.left.type===`dot`?((0,d.openBlock)(),(0,d.createBlock)(Ga,{key:3,left:t.config.left,size:t.size,"has-block-description":o.value},null,8,[`left`,`size`,`has-block-description`])):t.config.left.type===`breadcrumbs`?((0,d.openBlock)(),(0,d.createBlock)(Ha,{key:4,left:t.config.left},null,8,[`left`])):(0,d.createCommentVNode)(``,!0)],64)),(0,d.createVNode)((0,d.unref)(R),{class:(0,d.normalizeClass)([t.config.description?.layout===`inline`&&t.config.description!=null?`min-w-0 overflow-hidden`:`shrink-0`,`min-w-0 flex-1`]),align:`center`,gap:`sm`},{default:(0,d.withCtx)(()=>[t.config?.description?.layout===`inline`&&t.config.description!=null?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:0,align:`baseline`,gap:`xs`,class:`min-w-0 flex-1`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:(0,d.normalizeClass)([{"text-xs":t.size===`sm`,"text-sm":t.size===`md`},`text-secondary select-none`])},null,8,[`text`,`class`]),(0,d.createVNode)((0,d.unref)(G),{text:t.config.description.value,class:`text-xs text-disabled select-none`},null,8,[`text`])]),_:1})):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(q),{key:1,gap:`none`,class:`min-w-0 flex-1`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:(0,d.normalizeClass)([{"text-xs":t.size===`sm`,"text-sm":t.size===`md`},`text-secondary select-none`])},null,8,[`text`,`class`]),t.config?.description==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:0,text:t.config.description.value,truncate:2,class:`text-xs text-disabled select-none`},null,8,[`text`]))]),_:1}))]),_:1},8,[`class`]),(0,d.createVNode)((0,d.unref)(R),{align:`center`,gap:`sm`,class:`min-w-0`},{default:(0,d.withCtx)(()=>[t.config.right==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[t.config.right.type===`text`?((0,d.openBlock)(),(0,d.createBlock)(Qa,{key:0,right:t.config.right},null,8,[`right`])):t.config.right.type===`icon-text`?((0,d.openBlock)(),(0,d.createBlock)(Xa,{key:1,right:t.config.right},null,8,[`right`])):t.config.right.type===`icon`?((0,d.openBlock)(),(0,d.createBlock)(Ya,{key:2,right:t.config.right},null,8,[`right`])):t.config.right.type===`shortcut`?((0,d.openBlock)(),(0,d.createBlock)(Za,{key:3,right:t.config.right},null,8,[`right`])):(0,d.createCommentVNode)(``,!0)],64)),(0,d.renderSlot)(e.$slots,`right`)]),_:3})]),_:3},8,[`class`,`gap`]))]),_:3},8,[`is-disabled`,`label`]))}}),eo=(0,d.defineComponent)({__name:`DropdownMenuCheckboxItem`,props:(0,d.mergeModels)({isDisabled:{type:Boolean},config:{default:null},disabledReason:{default:null},label:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`);return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuCheckboxItem),{modelValue:n.value,"onUpdate:modelValue":r[0]||=e=>n.value=e,disabled:t.isDisabled||t.disabledReason!==null,class:`group/dropdown-menu-item cursor-default rounded-sm outline-none data-disabled:cursor-not-allowed not-data-disabled:data-highlighted:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($a),{"is-disabled":t.isDisabled,"disabled-reason":t.disabledReason,config:t.config,label:t.label},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuItemIndicator),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(It),{class:`size-3.5 text-tertiary`})]),_:1})]),_:1},8,[`is-disabled`,`disabled-reason`,`config`,`label`])]),_:1},8,[`modelValue`,`disabled`]))}}),to=(0,d.defineComponent)({__name:`DropdownMenuGroup`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuGroup),{class:`p-xs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),no={class:`p-md`},ro={class:`flex text-xs font-semibold text-secondary`},io=(0,d.defineComponent)({__name:`DropdownMenuHeader`,props:{title:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,no,[(0,d.createElementVNode)(`span`,ro,(0,d.toDisplayString)(t.title),1)]))}}),ao=(0,d.defineComponent)({__name:`DropdownMenuItem`,props:{isDisabled:{type:Boolean},config:{default:null},disabledReason:{default:null},icon:{},keyboardShortcut:{},label:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t;return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuItem),{disabled:n.isDisabled||n.disabledReason!==null,class:`group/dropdown-menu-item cursor-default rounded-sm outline-none data-disabled:cursor-not-allowed not-data-disabled:data-highlighted:bg-secondary-hover`,onSelect:t[0]||=e=>r(`select`,e)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($a),{"is-disabled":n.isDisabled,"disabled-reason":n.disabledReason,config:n.config,label:n.label},null,8,[`is-disabled`,`disabled-reason`,`config`,`label`])]),_:1},8,[`disabled`]))}}),oo=(0,d.defineComponent)({__name:`DropdownMenuRadioGroup`,props:{modelValue:{required:!0},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=(0,d.useModel)(e,`modelValue`);return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuRadioGroup),{modelValue:t.value,"onUpdate:modelValue":n[0]||=e=>t.value=e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(q),{gap:`xxs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`modelValue`]))}}),so=(0,d.defineComponent)({__name:`DropdownMenuRadioGroupItem`,props:{isDisabled:{type:Boolean},config:{default:null},disabledReason:{default:null},label:{},value:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuRadioItem),{value:t.value,disabled:t.isDisabled||t.disabledReason!==null,class:`w-full cursor-default rounded-sm outline-none data-disabled:cursor-not-allowed not-data-disabled:data-highlighted:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($a),{"is-disabled":t.isDisabled,"disabled-reason":t.disabledReason,config:t.config,label:t.label},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuItemIndicator),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(It),{class:`size-3.5 text-tertiary`})]),_:1})]),_:1},8,[`is-disabled`,`disabled-reason`,`config`,`label`])]),_:1},8,[`value`,`disabled`]))}}),co=U({slots:{separator:`
|
|
33
|
+
`},variants:{size:{md:{icon:`size-5`,root:`size-10`},sm:{icon:`size-4`,root:`size-8`},xs:{icon:`size-4`,root:`size-6`}}}}),Na={},Pa={viewBox:`25 25 50 50`,"aria-hidden":`true`,class:`custom-animate-spinner`};function Fa(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,Pa,[...t[0]||=[(0,d.createElementVNode)(`circle`,{class:`custom-animate-spinner-path size-full`,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)]])}var Ia=U(Na,[[`render`,Fa],[`__scopeId`,`data-v-baf560f8`]]),La=[`aria-label`,`aria-busy`,`aria-disabled`,`data-interactive`,`disabled`,`form`,`type`],Ra=(0,d.defineComponent)({__name:`AvatarGroupAddButton`,props:{disabledReason:{default:null},size:{default:`sm`},isLoading:{type:Boolean,default:!1},isTooltipDisabled:{type:Boolean,default:!1},form:{default:null},label:{},tooltipLabel:{default:null},type:{default:`button`},isDisabled:{type:Boolean,default:!1},keyboardShortcut:{default:null}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.computed)(()=>n.isDisabled&&n.disabledReason!==null?!1:n.isTooltipDisabled),a=(0,d.computed)(()=>n.isDisabled&&n.disabledReason!==null?n.disabledReason:n.tooltipLabel??n.label),o=(0,d.computed)(()=>Ma({size:n.size}));function s(e){if(n.isLoading){e.preventDefault();return}r(`click`,e)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"is-disabled":i.value,label:a.value,"keyboard-shortcut":n.keyboardShortcut},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,{"aria-label":n.label,"aria-busy":n.isLoading,"aria-disabled":n.isLoading,class:(0,d.normalizeClass)(o.value.root()),"data-interactive":!n.isDisabled&&!n.isLoading||void 0,disabled:n.isDisabled,form:n.form??void 0,type:n.type,onClick:s},[n.isLoading?((0,d.openBlock)(),(0,d.createBlock)(Ia,{key:0,class:(0,d.normalizeClass)(o.value.icon())},null,8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Wn),{key:1,class:(0,d.normalizeClass)(o.value.icon())},null,8,[`class`]))],10,La)]),_:1},8,[`is-disabled`,`label`,`keyboard-shortcut`]))}}),za={name:``,logo:null,logoAlt:null,size:`md`,src:null,status:null,supportingText:null},Ba=H({slots:{name:`font-semibold text-primary`,root:`flex min-w-0 items-center`,supportingText:`text-tertiary`,textContainer:`min-w-0`},variants:{size:{"2xl":{name:`text-lg`,root:`gap-xl`,supportingText:`text-md`},lg:{name:`text-md`,root:`gap-lg`,supportingText:`text-md`},md:{name:`text-sm`,root:`gap-md`,supportingText:`text-sm`},sm:{name:`text-sm`,root:`gap-md`,supportingText:`text-xs`},xl:{name:`text-lg`,root:`gap-xl`,supportingText:`text-md`},xs:{name:`text-xs`,root:`gap-md`,supportingText:`text-xs`},xxs:{name:`text-xs`,root:`gap-md`,supportingText:`text-xs`}}}}),Va=(0,d.defineComponent)({__name:`AvatarLabel`,props:(0,d.mergeDefaults)({supportingText:{},isStaticColor:{type:Boolean},name:{},logo:{},logoAlt:{},size:{},src:{},status:{}},{...za}),setup(e){let t=e,n=(0,d.computed)(()=>Ba({size:t.size}));return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.root())},[(0,d.createVNode)(Oa,{logo:t.logo,"logo-alt":t.logoAlt,name:t.name,size:t.size,src:t.src,status:t.status},null,8,[`logo`,`logo-alt`,`name`,`size`,`src`,`status`]),(0,d.createVNode)(K,{class:(0,d.normalizeClass)(n.value.textContainer()),gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(W,{class:(0,d.normalizeClass)(n.value.name()),text:t.name},null,8,[`class`,`text`]),t.supportingText==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(W,{key:0,class:(0,d.normalizeClass)(n.value.supportingText()),text:t.supportingText},null,8,[`class`,`text`]))]),_:1},8,[`class`])],2))}}),Ha=(0,d.defineComponent)({__name:`MenuItemLeftAvatar`,props:{hasBlockDescription:{type:Boolean},left:{}},setup(e){let t=e,n=(0,d.computed)(()=>Ca({hasBlockDescription:t.hasBlockDescription,hasLeftContent:!1,hasRightContent:!1,size:`md`}));return(t,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Oa),{name:e.left.name,src:e.left.src,"image-alt":e.left.imageAlt,size:e.hasBlockDescription?`sm`:`xs`,class:(0,d.normalizeClass)(n.value.leftAvatar())},null,8,[`name`,`src`,`image-alt`,`size`,`class`]))}}),Ua=(0,d.defineComponent)({__name:`MenuItemLeftBreadcrumbs`,props:{left:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{gap:`sm`,class:`flex max-w-full overflow-hidden whitespace-nowrap`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.left.breadcrumbs,(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:t},[e.icon===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.icon),{key:0,class:`size-3 shrink-0 text-disabled`})),(0,d.createVNode)((0,d.unref)(W),{text:e.label,class:`text-sm text-disabled select-none`},null,8,[`text`]),(0,d.createVNode)((0,d.unref)(Yt),{class:`size-3 shrink-0 text-disabled`})],64))),128))]),_:1}))}}),Wa=H({base:`shrink-0 rounded-full`,variants:{color:{blue:`bg-blue-500`,brand:`bg-brand-500`,error:`bg-error-500`,gray:`bg-gray-400`,pink:`bg-pink-500`,purple:`bg-purple-500`,success:`bg-success-500`,warning:`bg-warning-500`},size:{lg:`size-2`,md:`size-1.5`,sm:`size-1`}}}),Ga=(0,d.defineComponent)({__name:`Dot`,props:{color:{default:`gray`},size:{default:`md`}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(Wa)({color:t.color,size:t.size}))},null,2))}}),Ka=(0,d.defineComponent)({__name:`MenuItemLeftDot`,props:{hasBlockDescription:{type:Boolean},left:{},size:{}},setup(e){let t=e,n=(0,d.computed)(()=>Ca({hasBlockDescription:t.hasBlockDescription,hasLeftContent:!1,hasRightContent:!1,size:t.size}));return(t,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.dotWrapper())},[(0,d.createVNode)((0,d.unref)(Ga),{color:e.left.color??`gray`},null,8,[`color`])],2))}}),qa=(0,d.defineComponent)({__name:`MenuItemLeftIcon`,props:{hasBlockDescription:{type:Boolean},left:{},size:{}},setup(e){let t=e,n=(0,d.computed)(()=>Ca({hasBlockDescription:t.hasBlockDescription,hasLeftContent:!1,hasRightContent:!1,size:t.size}));return(t,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.iconWrapper())},[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.left.icon),{class:(0,d.normalizeClass)(n.value.icon())},null,8,[`class`]))],2))}}),Ja=[`alt`,`src`],Ya=(0,d.defineComponent)({__name:`MenuItemLeftImage`,props:{hasBlockDescription:{type:Boolean},alt:{},left:{},size:{}},setup(e){let t=e,n=(0,d.computed)(()=>Ca({hasBlockDescription:t.hasBlockDescription,hasLeftContent:!1,hasRightContent:!1,size:t.size}));return(t,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.iconWrapper())},[(0,d.createElementVNode)(`img`,{alt:e.alt,src:e.left.src,class:(0,d.normalizeClass)([{"w-3.5":e.left.aspect===void 0||e.left.aspect===`square`,"h-3.5 w-5":e.left.aspect===`rectangle`},`rounded-xxs object-contain`])},null,10,Ja)],2))}}),Xa=(0,d.defineComponent)({__name:`MenuItemRightIcon`,props:{right:{}},setup(e){return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.right.icon),{class:`size-3.5 text-disabled`}))}}),Za=(0,d.defineComponent)({__name:`MenuItemRightIconText`,props:{right:{}},setup(e){return(t,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.right.icon),{class:`size-3.5 shrink-0 text-disabled`})),(0,d.createVNode)((0,d.unref)(W),{text:e.right.text,class:`min-w-0 text-xs text-disabled select-none`},null,8,[`text`])],64))}}),Qa=(0,d.defineComponent)({__name:`MenuItemRightShortcut`,props:{right:{}},setup(e){return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)(Cr,{"keyboard-shortcut":e.right.keyboardShortcut,class:`ml-sm`},null,8,[`keyboard-shortcut`]))}}),$a=(0,d.defineComponent)({__name:`MenuItemRightText`,props:{right:{}},setup(e){return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{text:e.right.text,class:`min-w-0 text-xs text-disabled select-none`},null,8,[`text`]))}}),eo=(0,d.defineComponent)({__name:`MenuItem`,props:{isDisabled:{type:Boolean,default:!1},config:{default:null},disabledReason:{default:null},label:{},size:{default:`md`}},setup(e){let t=e,n=(0,d.useSlots)(),r=(0,d.computed)(()=>t.isDisabled||t.disabledReason!==null),i=(0,d.computed)(()=>t.config?.left!=null),a=(0,d.computed)(()=>t.config?.right!=null||n.right!=null),o=(0,d.computed)(()=>t.config?.description?.layout===`block`),s=(0,d.computed)(()=>Ca({hasLeftContent:i.value,hasRightContent:a.value,isDisabled:r.value,size:t.size}));return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{"is-disabled":t.disabledReason===null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[t.config===null?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0,class:(0,d.normalizeClass)(s.value.base())},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:(0,d.normalizeClass)([{"text-xs":t.size===`sm`,"text-sm":t.size===`md`},`shrink-0 text-secondary select-none`])},null,8,[`text`,`class`])]),_:1},8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:1,class:(0,d.normalizeClass)([s.value.base(),o.value&&`py-xs`]),gap:t.size===`md`?`sm`:`xs`},{default:(0,d.withCtx)(()=>[t.config.left==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[t.config.left.type===`avatar`?((0,d.openBlock)(),(0,d.createBlock)(Ha,{key:0,left:t.config.left,"has-block-description":o.value},null,8,[`left`,`has-block-description`])):t.config.left.type===`image`?((0,d.openBlock)(),(0,d.createBlock)(Ya,{key:1,left:t.config.left,alt:t.label,size:t.size,"has-block-description":o.value},null,8,[`left`,`alt`,`size`,`has-block-description`])):t.config.left.type===`icon`?((0,d.openBlock)(),(0,d.createBlock)(qa,{key:2,left:t.config.left,size:t.size,"has-block-description":o.value},null,8,[`left`,`size`,`has-block-description`])):t.config.left.type===`dot`?((0,d.openBlock)(),(0,d.createBlock)(Ka,{key:3,left:t.config.left,size:t.size,"has-block-description":o.value},null,8,[`left`,`size`,`has-block-description`])):t.config.left.type===`breadcrumbs`?((0,d.openBlock)(),(0,d.createBlock)(Ua,{key:4,left:t.config.left},null,8,[`left`])):(0,d.createCommentVNode)(``,!0)],64)),(0,d.createVNode)((0,d.unref)(L),{class:(0,d.normalizeClass)([t.config.description?.layout===`inline`&&t.config.description!=null?`min-w-0 overflow-hidden`:`shrink-0`,`min-w-0 flex-1`]),align:`center`,gap:`sm`},{default:(0,d.withCtx)(()=>[t.config?.description?.layout===`inline`&&t.config.description!=null?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0,align:`baseline`,gap:`xs`,class:`min-w-0 flex-1`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:(0,d.normalizeClass)([{"text-xs":t.size===`sm`,"text-sm":t.size===`md`},`text-secondary select-none`])},null,8,[`text`,`class`]),(0,d.createVNode)((0,d.unref)(W),{text:t.config.description.value,class:`text-xs text-disabled select-none`},null,8,[`text`])]),_:1})):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{key:1,gap:`none`,class:`min-w-0 flex-1`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:(0,d.normalizeClass)([{"text-xs":t.size===`sm`,"text-sm":t.size===`md`},`text-secondary select-none`])},null,8,[`text`,`class`]),t.config?.description==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:0,text:t.config.description.value,truncate:2,class:`text-xs text-disabled select-none`},null,8,[`text`]))]),_:1}))]),_:1},8,[`class`]),(0,d.createVNode)((0,d.unref)(L),{align:`center`,gap:`sm`,class:`min-w-0`},{default:(0,d.withCtx)(()=>[t.config.right==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[t.config.right.type===`text`?((0,d.openBlock)(),(0,d.createBlock)($a,{key:0,right:t.config.right},null,8,[`right`])):t.config.right.type===`icon-text`?((0,d.openBlock)(),(0,d.createBlock)(Za,{key:1,right:t.config.right},null,8,[`right`])):t.config.right.type===`icon`?((0,d.openBlock)(),(0,d.createBlock)(Xa,{key:2,right:t.config.right},null,8,[`right`])):t.config.right.type===`shortcut`?((0,d.openBlock)(),(0,d.createBlock)(Qa,{key:3,right:t.config.right},null,8,[`right`])):(0,d.createCommentVNode)(``,!0)],64)),(0,d.renderSlot)(e.$slots,`right`)]),_:3})]),_:3},8,[`class`,`gap`]))]),_:3},8,[`is-disabled`,`label`]))}}),to=(0,d.defineComponent)({__name:`DropdownMenuCheckboxItem`,props:(0,d.mergeModels)({isDisabled:{type:Boolean},config:{default:null},disabledReason:{default:null},label:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`);return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuCheckboxItem),{modelValue:n.value,"onUpdate:modelValue":r[0]||=e=>n.value=e,disabled:t.isDisabled||t.disabledReason!==null,class:`group/dropdown-menu-item cursor-default rounded-sm outline-none data-disabled:cursor-not-allowed not-data-disabled:data-highlighted:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(eo),{"is-disabled":t.isDisabled,"disabled-reason":t.disabledReason,config:t.config,label:t.label},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuItemIndicator),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Lt),{class:`size-3.5 text-tertiary`})]),_:1})]),_:1},8,[`is-disabled`,`disabled-reason`,`config`,`label`])]),_:1},8,[`modelValue`,`disabled`]))}}),no=(0,d.defineComponent)({__name:`DropdownMenuGroup`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuGroup),{class:`p-xs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),ro={class:`p-md`},io={class:`flex text-xs font-semibold text-secondary`},ao=(0,d.defineComponent)({__name:`DropdownMenuHeader`,props:{title:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,ro,[(0,d.createElementVNode)(`span`,io,(0,d.toDisplayString)(t.title),1)]))}}),oo=(0,d.defineComponent)({__name:`DropdownMenuItem`,props:{isDisabled:{type:Boolean},config:{default:null},disabledReason:{default:null},icon:{},keyboardShortcut:{},label:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t;return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuItem),{disabled:n.isDisabled||n.disabledReason!==null,class:`group/dropdown-menu-item cursor-default rounded-sm outline-none data-disabled:cursor-not-allowed not-data-disabled:data-highlighted:bg-secondary-hover`,onSelect:t[0]||=e=>r(`select`,e)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(eo),{"is-disabled":n.isDisabled,"disabled-reason":n.disabledReason,config:n.config,label:n.label},null,8,[`is-disabled`,`disabled-reason`,`config`,`label`])]),_:1},8,[`disabled`]))}}),so=(0,d.defineComponent)({__name:`DropdownMenuRadioGroup`,props:{modelValue:{required:!0},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=(0,d.useModel)(e,`modelValue`);return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuRadioGroup),{modelValue:t.value,"onUpdate:modelValue":n[0]||=e=>t.value=e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(K),{gap:`xxs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`modelValue`]))}}),co=(0,d.defineComponent)({__name:`DropdownMenuRadioGroupItem`,props:{isDisabled:{type:Boolean},config:{default:null},disabledReason:{default:null},label:{},value:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuRadioItem),{value:t.value,disabled:t.isDisabled||t.disabledReason!==null,class:`w-full cursor-default rounded-sm outline-none data-disabled:cursor-not-allowed not-data-disabled:data-highlighted:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(eo),{"is-disabled":t.isDisabled,"disabled-reason":t.disabledReason,config:t.config,label:t.label},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuItemIndicator),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Lt),{class:`size-3.5 text-tertiary`})]),_:1})]),_:1},8,[`is-disabled`,`disabled-reason`,`config`,`label`])]),_:1},8,[`value`,`disabled`]))}}),lo=H({slots:{separator:`
|
|
34
34
|
shrink-0 bg-quaternary
|
|
35
35
|
dark:bg-tertiary
|
|
36
|
-
`},variants:{orientation:{horizontal:{separator:`h-px w-full`},vertical:{separator:`h-full w-px`}}}}),lo=(0,d.defineComponent)({__name:`Separator`,props:{class:{},orientation:{default:`horizontal`}},setup(e){let t=e,n=(0,d.computed)(()=>co({orientation:t.orientation}));return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Separator),{class:(0,d.normalizeClass)(n.value.separator({class:t.class})),orientation:t.orientation,role:`presentation`},null,8,[`class`,`orientation`]))}}),uo=(0,d.defineComponent)({__name:`DropdownMenuSeparator`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuSeparator),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(lo)]),_:1}))}}),fo=(0,d.defineComponent)({__name:`DropdownMenuSub`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuSub),null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),po={class:`relative size-full max-h-(--reka-dropdown-menu-content-available-height) overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},mo=(0,d.defineComponent)({__name:`DropdownMenuSubContent`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuPortal),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(ur,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuSubContent),{"side-offset":8,"align-offset":-4,"collision-padding":5,"data-animation":`popover-default`,class:`z-50 max-w-64 min-w-52 origin-(--reka-dropdown-menu-content-transform-origin) will-change-[transform,opacity]`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,po,[(0,d.renderSlot)(e.$slots,`default`)])]),_:3})]),_:3})]),_:3}))}}),ho=(0,d.defineComponent)({__name:`DropdownMenuSubTrigger`,props:{isDisabled:{type:Boolean},config:{default:null},disabledReason:{default:null},label:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuSubTrigger),{disabled:t.isDisabled||t.disabledReason!==null,class:`cursor-default rounded-sm outline-none data-disabled:cursor-not-allowed not-data-disabled:data-highlighted:bg-secondary-hover data-[state=open]:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($a),{"is-disabled":t.isDisabled,"disabled-reason":t.disabledReason,config:t.config,label:t.label},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Jt),{class:`size-3.5 text-tertiary`})]),_:1},8,[`is-disabled`,`disabled-reason`,`config`,`label`])]),_:1},8,[`disabled`]))}}),go=(0,d.defineComponent)({__name:`ActionContextMenuItem`,props:{action:{},closeOnSelect:{type:Boolean},context:{},models:{},preview:{}},setup(e){let t=e,n=(0,f.useActionManagerStore)(),r=ft(`Shift`),i=(0,d.computed)(()=>t.context??n.actionContext({})),a=(0,d.computed)(()=>(0,f.resolveActionName)(t.action,i.value)),o=(0,d.computed)(()=>t.action.subActions!==void 0),s=(0,d.computed)(()=>{let e=t.action.parentAction;return e===void 0?null:e.nameAsParent===void 0?(0,f.resolveActionName)(e,i.value):(0,f.resolveActionValue)(e.nameAsParent,i.value)}),c=(0,d.computed)(()=>t.action.isApplicable===void 0||t.action.isApplicable(i.value)),l=(0,d.computed)(()=>t.action.disabledReason?.(i.value)??null),u=(0,d.computed)(()=>(0,f.resolveActionSelected)(t.action,i.value)===!0),p=(0,d.computed)(()=>(0,f.resolveActionHint)(t.action,i.value)),m=(0,d.computed)(()=>t.action.icon===void 0?null:t.action.icon(i.value)),h=(0,d.computed)(()=>s.value===null?m.value===null?null:{icon:m.value,type:`icon`}:{breadcrumbs:[{icon:m.value,label:s.value}],type:`breadcrumbs`});function g(e){(!t.closeOnSelect||r.value)&&e.preventDefault(),n.executeAction(t.action,i.value)}return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[o.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(fo),{key:0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(ho),{label:a.value,config:{left:m.value===null||s.value!==null?void 0:{type:`icon`,icon:m.value}}},null,8,[`label`,`config`]),(0,d.createVNode)((0,d.unref)(mr),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(wo,{models:t.models??[],"parent-action":t.action},null,8,[`models`,`parent-action`])]),_:1})]),_:1})):(0,d.createCommentVNode)(``,!0),c.value&&t.action.execute!==void 0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(ao),{key:1,label:a.value,config:{left:h.value,description:p.value===null?null:{layout:s.value===null?`block`:`inline`,value:p.value},right:u.value?{icon:(0,d.unref)(It),type:`icon`}:t.action.keyboardShortcut===void 0?void 0:{type:`shortcut`,keyboardShortcut:t.action.keyboardShortcut}},"disabled-reason":l.value,onSelect:g},null,8,[`label`,`config`,`disabled-reason`])):(0,d.createCommentVNode)(``,!0)],64))}}),_o={"aria-busy":!0,class:`relative overflow-hidden rounded-md bg-tertiary`,role:`status`,"aria-live":`polite`},J=W((0,d.defineComponent)({__name:`SkeletonItem`,props:{animate:{type:Boolean,default:!1},animationDelayInMs:{default:0}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,_o,[t.animate?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,style:(0,d.normalizeStyle)({animationDelay:`${t.animationDelayInMs}ms`}),class:`custom-shimmer absolute inset-0`},null,4)):(0,d.createCommentVNode)(``,!0)]))}}),[[`__scopeId`,`data-v-4134f9dd`]]),vo={class:`group/content flex max-h-[inherit] flex-col overflow-hidden`},yo={key:0,class:`p-xs pb-none`},bo={ref:`scrollContainer`,class:`max-h-120 scroll-p-1 overflow-y-auto`},xo={key:0,class:`p-md`,role:`status`,"aria-live":`polite`},So={class:`sr-only`},Co={key:2,class:`flex px-lg py-md`},wo=(0,d.defineComponent)({__name:`ActionContextMenuContent`,props:{actions:{default:()=>[]},metadata:{},models:{},parentAction:{default:null}},setup(e){let t=e,n=(0,m.useI18n)(),r=(0,d.useTemplateRef)(`scrollContainer`),{isLoading:i,actionGroups:a,context:o,placeholder:s,preview:c,searchInput:l,onKeyDown:u}=(0,f.useActionDropdownMenuContent)({actions:(0,d.toRef)(t,`actions`),metadata:(0,d.toRef)(t,`metadata`),models:(0,d.toRef)(t,`models`),parentAction:(0,d.toRef)(t,`parentAction`),scrollContainerRef:r}),h=(0,d.computed)(()=>t.actions.length>7||t.parentAction?.subActions!==void 0||t.actions.some(e=>e.subActions!==void 0));return(r,f)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,vo,[h.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,yo,[(0,d.createVNode)((0,d.unref)(p.DropdownMenuFilter),{modelValue:(0,d.unref)(l),"onUpdate:modelValue":f[0]||=e=>(0,d.isRef)(l)?l.value=e:null,"auto-focus":!0,placeholder:(0,d.unref)(s),class:`block w-full rounded-xs bg-secondary px-md py-sm text-xs text-secondary duration-100 outline-none placeholder:text-placeholder group-hover/content:placeholder:text-tertiary`,onKeydown:[(0,d.unref)(u),f[1]||=(0,d.withKeys)((0,d.withModifiers)(()=>{},[`stop`]),[`enter`])]},null,8,[`modelValue`,`placeholder`,`onKeydown`])])):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,bo,[(0,d.unref)(i)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,xo,[(0,d.createElementVNode)(`span`,So,(0,d.toDisplayString)((0,d.unref)(n).t(`component.action_dropdown_menu.loading_actions`)),1),(0,d.createVNode)((0,d.unref)(q),{gap:`lg`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-40`}),(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-24`}),(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-48`}),(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-32`})]),_:1})])):(0,d.unref)(a).length>0?((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:1},(0,d.renderList)((0,d.unref)(a),(n,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:r},[r>0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{key:0})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(to),null,{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n,n=>((0,d.openBlock)(),(0,d.createBlock)(go,{key:n.id,models:t.models,action:n,context:(0,d.unref)(o),preview:(0,d.unref)(c),"close-on-select":e.parentAction?.multiSelectSubActions!==!0},null,8,[`models`,`action`,`context`,`preview`,`close-on-select`]))),128))]),_:2},1024)],64))),128)):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Co,[(0,d.createVNode)((0,d.unref)(G),{text:(0,d.unref)(n).t(`component.action_menu.no_matching_actions`),class:`text-xs text-tertiary`},null,8,[`text`])]))],512)]))}}),To=(0,d.defineComponent)({__name:`ActionContextMenu`,props:{actions:{},currentContextOnly:{type:Boolean},metadata:{},models:{},parentAction:{}},setup(e){let t=e;return t.currentContextOnly||((0,f.useTemporaryActions)(t.actions??[],f.GroupPriority.VIEW),(0,f.useTemporaryActions)(t.parentAction??[],f.GroupPriority.VIEW)),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(fr),null,{trigger:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(wo,{metadata:t.metadata,actions:t.actions??[],"parent-action":t.parentAction,models:t.models??[]},null,8,[`metadata`,`actions`,`parent-action`,`models`])]),_:3}))}}),Eo=(0,d.defineComponent)({__name:`ActionDropdownMenuItem`,props:{action:{},closeOnSelect:{type:Boolean},context:{},models:{},preview:{}},setup(e){let t=e,n=(0,f.useActionManagerStore)(),r=ft(`Shift`),i=(0,d.computed)(()=>t.context??n.actionContext({})),a=(0,d.computed)(()=>(0,f.resolveActionName)(t.action,i.value)),o=(0,d.computed)(()=>t.action.subActions!==void 0),s=(0,d.computed)(()=>{let e=t.action.parentAction;return e===void 0?null:e.nameAsParent===void 0?(0,f.resolveActionName)(e,i.value):(0,f.resolveActionValue)(e.nameAsParent,i.value)}),c=(0,d.computed)(()=>t.action.isApplicable===void 0||t.action.isApplicable(i.value)),l=(0,d.computed)(()=>t.action.disabledReason?.(i.value)??null),u=(0,d.computed)(()=>(0,f.resolveActionHint)(t.action,i.value)),p=(0,d.computed)(()=>(0,f.resolveActionSelected)(t.action,i.value)===!0),m=(0,d.computed)(()=>t.action.icon===void 0?null:t.action.icon(i.value)),h=(0,d.computed)(()=>s.value===null?m.value===null?null:{icon:m.value,type:`icon`}:{breadcrumbs:[{icon:m.value,label:s.value}],type:`breadcrumbs`});function g(e){(!t.closeOnSelect||r.value)&&e.preventDefault(),n.executeAction(t.action,i.value)}return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[o.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(fo),{key:0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(ho),{label:a.value,config:{left:m.value===null||s.value!==null?void 0:{type:`icon`,icon:m.value}}},null,8,[`label`,`config`]),(0,d.createVNode)((0,d.unref)(mo),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(No,{models:t.models??[],"parent-action":t.action},null,8,[`models`,`parent-action`])]),_:1})]),_:1})):(0,d.createCommentVNode)(``,!0),c.value&&t.action.execute!==void 0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(ao),{key:1,label:a.value,config:{left:h.value,description:u.value===null?null:{layout:s.value===null?`block`:`inline`,value:u.value},right:p.value?{icon:(0,d.unref)(It),type:`icon`}:t.action.keyboardShortcut===void 0?void 0:{type:`shortcut`,keyboardShortcut:t.action.keyboardShortcut}},"disabled-reason":l.value,onSelect:g},null,8,[`label`,`config`,`disabled-reason`])):(0,d.createCommentVNode)(``,!0)],64))}}),Do={class:`group/content flex max-h-[inherit] flex-col overflow-hidden`},Oo={key:0,class:`p-xs pb-none`},ko={ref:`scrollContainer`,class:`max-h-120 scroll-p-1 overflow-y-auto`},Ao={key:0,class:`p-md`,role:`status`,"aria-live":`polite`},jo={class:`sr-only`},Mo={key:2,class:`flex px-lg py-md`},No=(0,d.defineComponent)({__name:`ActionDropdownMenuContent`,props:{actions:{default:()=>[]},metadata:{},models:{},parentAction:{default:null}},setup(e){let t=e,n=(0,m.useI18n)(),r=(0,d.useTemplateRef)(`scrollContainer`),{isLoading:i,actionGroups:a,context:o,placeholder:s,preview:c,searchInput:l,onKeyDown:u}=(0,f.useActionDropdownMenuContent)({actions:(0,d.toRef)(t,`actions`),metadata:(0,d.toRef)(t,`metadata`),models:(0,d.toRef)(t,`models`),parentAction:(0,d.toRef)(t,`parentAction`),scrollContainerRef:r}),h=(0,d.computed)(()=>t.actions.length>7||t.parentAction?.subActions!==void 0||t.actions.some(e=>e.subActions!==void 0));return(r,f)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Do,[h.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Oo,[(0,d.createVNode)((0,d.unref)(p.DropdownMenuFilter),{modelValue:(0,d.unref)(l),"onUpdate:modelValue":f[0]||=e=>(0,d.isRef)(l)?l.value=e:null,"auto-focus":!0,placeholder:(0,d.unref)(s),class:`block w-full rounded-xs bg-secondary px-md py-sm text-xs text-secondary duration-100 outline-none placeholder:text-placeholder group-hover/content:placeholder:text-tertiary`,onKeydown:[(0,d.unref)(u),f[1]||=(0,d.withKeys)((0,d.withModifiers)(()=>{},[`stop`]),[`enter`])]},null,8,[`modelValue`,`placeholder`,`onKeydown`])])):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,ko,[(0,d.unref)(i)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Ao,[(0,d.createElementVNode)(`span`,jo,(0,d.toDisplayString)((0,d.unref)(n).t(`component.action_dropdown_menu.loading_actions`)),1),(0,d.createVNode)((0,d.unref)(q),{gap:`lg`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-40`}),(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-24`}),(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-48`}),(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-32`})]),_:1})])):(0,d.unref)(a).length>0?((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:1},(0,d.renderList)((0,d.unref)(a),(n,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:r},[r>0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{key:0})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(to),null,{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n,n=>((0,d.openBlock)(),(0,d.createBlock)(Eo,{key:n.id,models:t.models,action:n,context:(0,d.unref)(o),preview:(0,d.unref)(c),"close-on-select":e.parentAction?.multiSelectSubActions!==!0},null,8,[`models`,`action`,`context`,`preview`,`close-on-select`]))),128))]),_:2},1024)],64))),128)):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Mo,[(0,d.createVNode)((0,d.unref)(G),{text:(0,d.unref)(n).t(`component.action_menu.no_matching_actions`),class:`text-xs text-tertiary`},null,8,[`text`])]))],512)]))}}),Po=(0,d.defineComponent)({__name:`ActionDropdownMenu`,props:(0,d.mergeModels)({disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},actions:{},currentContextOnly:{type:Boolean},metadata:{},models:{},parentAction:{}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:[`update:isOpen`],setup(e){let t=e,n=(0,d.useModel)(e,`isOpen`);t.currentContextOnly||((0,f.useTemporaryActions)(t.actions??[],f.GroupPriority.VIEW),(0,f.useTemporaryActions)(t.parentAction??[],f.GroupPriority.VIEW));let r=(0,f.useActionManagerStore)(),i=(0,d.computed)(()=>{let e=r.actionContext({menuType:`contextualMenu`,metadata:t.metadata,models:t.models??[]});return t.parentAction===void 0?(t.actions??[]).some(t=>(0,f.resolveApplicable)(t,e)):(0,f.resolveApplicable)(t.parentAction,e)});return(e,r)=>i.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(vr),(0,d.mergeProps)({key:0},t,{"is-open":n.value,"onUpdate:isOpen":r[0]||=e=>n.value=e}),{trigger:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(No,{metadata:t.metadata,actions:t.actions??[],"parent-action":t.parentAction,models:t.models??[]},null,8,[`metadata`,`actions`,`parent-action`,`models`])]),_:3},16,[`is-open`])):(0,d.renderSlot)(e.$slots,`fallback`,{key:1})}}),Fo=(0,d.defineComponent)({__name:`ActionFocus`,props:{actions:{},models:{}},setup(e){let t=e,{register:n,unregister:r}=(0,f.useTemporaryActions)(t.actions,f.GroupPriority.HOVER,!0),{register:i,unregister:a}=(0,f.useFocusedModels)((0,d.computed)(()=>t.models??[]));function o(){n(),i()}function s(){r(),a()}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,onMouseenter:o,onFocusin:o,onMouseleave:s,onFocusout:s},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),Io=(0,d.defineComponent)({__name:`ActionTrigger`,props:{action:{},currentContextOnly:{type:Boolean},models:{}},setup(e){let t=e,n=(0,f.useActionManagerStore)();t.currentContextOnly||((0,f.useTemporaryActions)(t.action,t.action.group?.priority??f.GroupPriority.VIEW),(0,f.useViewModels)((0,d.computed)(()=>t.models??[])));let r=(0,d.ref)(!1),i=(0,d.computed)(()=>n.actionContext({models:t.models}));async function a(){if(!(t.action.isApplicable!==void 0&&!t.action.isApplicable(i.value))){r.value=!0;try{await n.executeAction(t.action,i.value)}finally{r.value=!1}}}let o=(0,d.computed)(()=>(0,f.resolveActionName)(t.action,i.value)),s=(0,d.computed)(()=>t.action.icon?.(i.value)??null),c=(0,d.computed)(()=>t.action.isApplicable===void 0?!0:t.action.isApplicable(i.value));return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,onClick:a},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{label:o.value,icon:s.value,isExecuting:r.value,canExecute:c.value,keyboardShortcut:t.action.keyboardShortcut??null})]),_:3}))}}),[Lo,Ro]=L(`adaptiveContentContext`),zo=(0,d.defineComponent)({__name:`AdaptiveContent`,setup(e){let t=(0,d.useTemplateRef)(`container`),n=null,r=!1,i=!1,a=!1,o=(0,d.ref)(new Map),s=(0,d.ref)(new Set);function c(e){o.value.set(e.id,{...e,width:e.element.offsetWidth}),u()}function l(e){o.value.delete(e),s.value.delete(e),u()}function u(){if(i){a=!0;return}r||(r=!0,requestAnimationFrame(()=>{r=!1,g()}))}function f(){let e=[...o.value.entries()].toSorted((e,t)=>e[1].priority-t[1].priority),t=new Map;for(let[,n]of e)t.has(n.priority)||t.set(n.priority,[]),t.get(n.priority)?.push(n);return t}function m(e){return[...e.keys()].toSorted((e,t)=>e-t)}function h(){return t.value?.$el}async function g(){let e=h();if(e===null)return;i=!0,s.value=new Set;let t=f(),n=m(t);for(let r of n){let i=t.get(r);for(let e of i)s.value.add(e.id);if(await(0,d.nextTick)(),e.scrollWidth>e.clientWidth){for(let e of i)s.value.delete(e.id);let e=n.slice(n.indexOf(r)+1);for(let n of e){let e=t.get(n);for(let t of e)s.value.delete(t.id)}break}}i=!1,a&&(a=!1,u())}return(0,d.onMounted)(()=>{n=new ResizeObserver(u),n.observe(t.value?.$el)}),(0,d.onBeforeUnmount)(()=>{n?.disconnect()}),Lo({registerBlock:c,scheduleLayoutEvaluation:u,unregisterBlock:l,visibleBlockIds:(0,d.computed)(()=>s.value)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{ref:`container`,"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{hiddenBlockCount:o.value.size-s.value.size})]),_:3},512))}}),Bo=(0,d.defineComponent)({inheritAttrs:!1,__name:`AdaptiveContentBlock`,props:{priority:{}},setup(e){let t=e,n=(0,d.useAttrs)(),r=(0,d.useTemplateRef)(`block`),{registerBlock:i,unregisterBlock:a,visibleBlockIds:o}=Ro(),s=(0,d.useId)(),c=(0,d.computed)(()=>o.value.has(s)),l=(0,h.useMounted)();return(0,d.onMounted)(()=>{i({id:s,element:r.value?.$el,priority:t.priority})}),(0,d.onBeforeUnmount)(()=>{a(s)}),(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[(0,d.withDirectives)((0,d.createVNode)((0,d.unref)(p.Primitive),(0,d.mergeProps)({ref:`block`},(0,d.unref)(n),{"as-child":!0}),{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},16),[[d.vShow,c.value||!(0,d.unref)(l)]]),!c.value&&(0,d.unref)(l)?(0,d.renderSlot)(e.$slots,`fallback`,{key:0}):(0,d.createCommentVNode)(``,!0)],64))}});function Vo(e){let t=[],n=[];return e.street!==``&&t.push(e.street),e.streetNumber!==``&&t.push(e.streetNumber),e.bus!==``&&t.push(e.bus),e.postalCode!==``&&n.push(e.postalCode),e.city!==``&&n.push(e.city),{placeId:e.placeId??``,mainText:t.join(` `),secondaryText:n.join(` `)}}function Ho(e){let t=[];return e.mainText!==``&&t.push(e.mainText),e.secondaryText!==``&&t.push(e.secondaryText),t.join(`, `)}var Uo={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 Wo(e,t){var n=Array.prototype.slice.call(t);return n.push(Uo),e.apply(this,n)}function Go(e,t){e=e.split(`-`),t=t.split(`-`);for(var n=e[0].split(`.`),r=t[0].split(`.`),i=0;i<3;i++){var a=Number(n[i]),o=Number(r[i]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var Ko={}.constructor;function qo(e){return e!=null&&e.constructor===Ko}function Jo(e){"@babel/helpers - typeof";return Jo=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Jo(e)}function Yo(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Xo(e,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(e,Qo(r.key),r)}}function Zo(e,t,n){return t&&Xo(e.prototype,t),n&&Xo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Qo(e){var t=$o(e,`string`);return Jo(t)==`symbol`?t:t+``}function $o(e,t){if(Jo(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Jo(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var es=`1.2.0`,ts=`1.7.35`,ns=` ext. `,rs=/^\d+$/,Y=function(){function e(t){Yo(this,e),ls(t),this.metadata=t,ps.call(this,t)}return Zo(e,[{key:`getCountries`,value:function(){return Object.keys(this.metadata.countries).filter(function(e){return e!==`001`})}},{key:`getCountryMetadata`,value:function(e){return this.metadata.countries[e]}},{key:`nonGeographic`,value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:`hasCountry`,value:function(e){return this.getCountryMetadata(e)!==void 0}},{key:`hasCallingCode`,value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&t.length===1&&t[0]===`001`)return!0}}},{key:`isNonGeographicCallingCode`,value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:`country`,value:function(e){return this.selectNumberingPlan(e)}},{key:`selectNumberingPlan`,value:function(e,t){if(e&&rs.test(e)&&(t=e,e=null),e&&e!==`001`){if(!this.hasCountry(e))throw Error(`Unknown country: ${e}`);this.numberingPlan=new is(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error(`Unknown calling code: ${t}`);this.numberingPlan=new is(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:`getCountryCodesForCallingCode`,value:function(e){var t=this.countryCallingCodes()[e];if(t)return t.length===1&&t[0].length===3?void 0:t}},{key:`getCountryCodeForCallingCode`,value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:`getNumberingPlanMetadata`,value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&r.length===1&&r[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(e){return this.numberingPlan.type(e)}},{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(e){return this.selectNumberingPlan(e)}},{key:`hasSelectedNumberingPlan`,value:function(){return this.numberingPlan!==void 0}}])}(),is=function(){function e(t,n){Yo(this,e),this.globalMetadataObject=n,this.metadata=t,ps.call(this,n.metadata)}return Zo(e,[{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(e){return e[this.v1?2:this.v2?3:4]}},{key:`formats`,value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new as(t,e)})}},{key:`nationalPrefix`,value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:`_getNationalPrefixFormattingRule`,value:function(e){return e[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(e){if(this.hasTypes()&&cs(this.types(),e))return new ss(cs(this.types(),e),this)}},{key:`ext`,value:function(){return this.v1||this.v2?ns:this.metadata[13]||ns}}])}(),as=function(){function e(t,n){Yo(this,e),this._format=t,this.metadata=n}return Zo(e,[{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()&&!os.test(this.nationalPrefixFormattingRule()))}},{key:`internationalFormat`,value:function(){return this._format[5]||this.format()}}])}(),os=/^\(?\$1\)?$/,ss=function(){function e(t,n){Yo(this,e),this.type=t,this.metadata=n}return Zo(e,[{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 cs(e,t){switch(t){case`FIXED_LINE`:return e[0];case`MOBILE`:return e[1];case`TOLL_FREE`:return e[2];case`PREMIUM_RATE`:return e[3];case`PERSONAL_NUMBER`:return e[4];case`VOICEMAIL`:return e[5];case`UAN`:return e[6];case`PAGER`:return e[7];case`VOIP`:return e[8];case`SHARED_COST`:return e[9]}}function ls(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!qo(e)||!qo(e.countries))throw Error(`[libphonenumber-js] \`metadata\` argument was passed but it's not a valid metadata. Must be an object having \`.countries\` child object property. Got ${qo(e)?`an object of shape: { `+Object.keys(e).join(`, `)+` }`:`a `+us(e)+`: `+e}.`)}var us=function(e){return Jo(e)};function ds(e,t){if(t=new Y(t),t.hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw Error(`Unknown country: ${e}`)}function fs(e,t){return t.countries.hasOwnProperty(e)}function ps(e){var t=e.version;typeof t==`number`?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Go(t,es)===-1?this.v2=!0:Go(t,ts)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function ms(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=hs(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
37
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
38
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
39
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rs(e,t){if(e){if(typeof e==`string`)return zs(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zs(e,t):void 0}}function zs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Bs(e,t){var n=t.countries,r=t.metadata;r=new Y(r);for(var i=Ls(n),a;!(a=i()).done;){var o=a.value;if(r.selectNumberingPlan(o),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return o}else if(Ds({phone:e,country:o},void 0,r.metadata))return o}}var Vs=!1;function Hs(e,t){var n=t.nationalNumber,r=t.metadata;if(Vs&&r.isNonGeographicCallingCode(e))return`001`;var i=r.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:Bs(n,{countries:i,metadata:r.metadata})}function Us(e,t,n){var r=Is(e,n),i=r.carrierCode,a=r.nationalNumber;return a!==e&&(!Ws(e,a,n)||n.numberingPlan.possibleLengths()&&(t||=Hs(n.numberingPlan.callingCode(),{nationalNumber:a,metadata:n}),!Gs(a,t,n)))?{nationalNumber:e}:{nationalNumber:a,carrierCode:i}}function Ws(e,t,n){return!(Ss(e,n.nationalNumberPattern())&&!Ss(t,n.nationalNumberPattern()))}function Gs(e,t,n){switch(vs(e,t,n)){case`TOO_SHORT`:case`INVALID_LENGTH`:return!1;default:return!0}}function Ks(e,t,n,r,i){var a=t||n?ds(t||n,i):r;if(e.indexOf(a)===0){i=new Y(i),i.selectNumberingPlan(t||n,a);var o=e.slice(a.length),s=Us(o,t,i).nationalNumber,c=Us(e,t,i).nationalNumber;if(!Ss(c,i.nationalNumberPattern())&&Ss(s,i.nationalNumberPattern())||vs(c,t,i)===`TOO_LONG`)return{countryCallingCode:a,number:o}}return{number:e}}function qs(e,t,n,r,i){if(!e)return{};var a;if(e[0]!==`+`){var o=Fs(e,t||n,r,i);if(o&&o!==e)a=!0,e=`+`+o;else{if(t||n||r){var s=Ks(e,t,n,r,i),c=s.countryCallingCode,l=s.number;if(c)return{countryCallingCodeSource:`FROM_NUMBER_WITHOUT_PLUS_SIGN`,countryCallingCode:c,number:l}}return{number:e}}}if(e[1]===`0`)return{};i=new Y(i);for(var u=2;u-1<=3&&u<=e.length;){var d=e.slice(1,u);if(i.hasCallingCode(d))return i.selectNumberingPlan(d),{countryCallingCodeSource:a?`FROM_NUMBER_WITH_IDD`:`FROM_NUMBER_WITH_PLUS_SIGN`,countryCallingCode:d,number:e.slice(u)};u++}return{}}function Js(e){return e.replace(RegExp(`[${Ms}]+`,`g`),` `).trim()}var Ys=/(\$\d)/;function Xs(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(Ys,t.nationalPrefixFormattingRule()):t.format());return r?Js(a):a}var Zs=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Qs(e,t,n){var r=new Y(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(Zs.test(r.IDDPrefix()))return r.IDDPrefix()}var $s=`;ext=`,ec=function(e){return`([${X}]{1,${e}})`};function tc(e){var t=`20`,n=`15`,r=`9`,i=`6`,a=`[ \xA0\\t,]*`,o=`[:\\..]?[ \xA0\\t,-]*`,s=`#?`,c=`(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)`,l=`(?:[xx##~~]|int|int)`,u=`[- ]+`,d=`[ \xA0\\t]*`,f=`(?:,{2}|;)`,p=$s+ec(t),m=a+c+o+ec(t)+s,h=a+l+o+ec(r)+s,g=u+ec(i)+`#`,_=d+f+o+ec(n)+s,v=d+`(?:,)+`+o+ec(r)+s;return p+`|`+m+`|`+h+`|`+g+`|`+_+`|`+v}var nc=`[`+X+`]{2}`,rc=`[`+Ns+`]{0,1}(?:[`+Ms+`]*[`+X+`]){3,}[`+Ms+X+`]*`,ic=RegExp(`^[`+Ns+`]{0,1}(?:[`+Ms+`]*[`+X+`]){1,2}$`,`i`),ac=rc+`(?:`+tc()+`)?`,oc=RegExp(`^`+nc+`$|^`+ac+`$`,`i`);function sc(e){return e.length>=2&&oc.test(e)}function cc(e){return ic.test(e)}function lc(e){var t=e.number,n=e.ext;if(!t)return``;if(t[0]!==`+`)throw Error(`"formatRFC3966()" expects "number" to be in E.164 format.`);return`tel:${t}${n?`;ext=`+n:``}`}var uc={formatExtension:function(e,t,n){return`${e}${n.ext()}${t}`}};function dc(e,t,n,r){if(n=n?gc({},uc,n):uc,r=new Y(r),e.country&&e.country!==`001`){if(!r.hasCountry(e.country))throw Error(`Unknown country: ${e.country}`);r.selectNumberingPlan(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||``;var i=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,o;switch(t){case`NATIONAL`:return a?(o=fc(a,e.carrierCode,`NATIONAL`,r,n),mc(o,e.ext,r,n.formatExtension)):``;case`INTERNATIONAL`:return a?(o=fc(a,null,`INTERNATIONAL`,r,n),o=`+${i} ${o}`,mc(o,e.ext,r,n.formatExtension)):`+${i}`;case`E.164`:return`+${i}${a}`;case`RFC3966`:return lc({number:`+${i}${a}`,ext:e.ext});case`IDD`:if(!n.fromCountry)return;var s=hc(a,e.carrierCode,i,n.fromCountry,r);return s?mc(s,e.ext,r,n.formatExtension):void 0;default:throw Error(`Unknown "format" argument passed to "formatNumber()": "${t}"`)}}function fc(e,t,n,r,i){var a=pc(r.formats(),e);return a?Xs(e,a,{useInternationalFormat:n===`INTERNATIONAL`,withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function pc(e,t){return _c(e,function(e){if(e.leadingDigitsPatterns().length>0){var n=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(t.search(n)!==0)return!1}return Ss(t,e.pattern())})}function mc(e,t,n,r){return t?r(e,t,n):e}function hc(e,t,n,r,i){if(ds(r,i.metadata)===n){var a=fc(e,t,`NATIONAL`,i);return n===`1`?n+` `+a:a}var o=Qs(r,void 0,i.metadata);if(o)return`${o} ${n} ${fc(e,null,`INTERNATIONAL`,i)}`}function gc(){for(var e=1,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var i in n[e])n[0][i]=n[e][i];e++}return n[0]}function _c(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}function vc(e){"@babel/helpers - typeof";return vc=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vc(e)}function yc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yc(Object(n),!0).forEach(function(t){xc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xc(e,t,n){return(t=Tc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Cc(e,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(e,Tc(r.key),r)}}function wc(e,t,n){return t&&Cc(e.prototype,t),n&&Cc(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tc(e){var t=Ec(e,`string`);return vc(t)==`symbol`?t:t+``}function Ec(e,t){if(vc(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(vc(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Dc=!1,Oc=function(){function e(t,n,r){if(Sc(this,e),!t)throw TypeError(`First argument is required`);if(typeof t!=`string`)throw TypeError(`First argument must be a string`);if(t[0]===`+`&&!n)throw TypeError("`metadata` argument not passed");if(qo(n)&&qo(n.countries)){r=n;var i=t;if(!jc.test(i))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=qs(i,void 0,void 0,void 0,r),o=a.countryCallingCode;if(n=a.number,t=o,!n)throw Error("Invalid `number` argument passed: too short")}if(!n)throw TypeError("`nationalNumber` argument is required");if(typeof n!=`string`)throw TypeError("`nationalNumber` argument must be a string");ls(r);var s=Ac(t,r),c=s.country,l=s.countryCallingCode;this.country=c,this.countryCallingCode=l,this.nationalNumber=n,this.number=`+`+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return wc(e,[{key:`setExt`,value:function(e){this.ext=e}},{key:`getPossibleCountries`,value:function(){return this.country?[this.country]:As(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:`isPossible`,value:function(){return bs(this,{v2:!0},this.getMetadata())}},{key:`isValid`,value:function(){return ks(this,{v2:!0},this.getMetadata())}},{key:`isNonGeographic`,value:function(){return new Y(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:`isEqual`,value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:`getType`,value:function(){return Ds(this,{v2:!0},this.getMetadata())}},{key:`format`,value:function(e,t){return dc(this,e,t?bc(bc({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:`formatNational`,value:function(e){return this.format(`NATIONAL`,e)}},{key:`formatInternational`,value:function(e){return this.format(`INTERNATIONAL`,e)}},{key:`getURI`,value:function(e){return this.format(`RFC3966`,e)}}])}(),kc=function(e){return/^[A-Z]{2}$/.test(e)};function Ac(e,t){var n,r,i=new Y(t);return kc(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):(r=e,Dc&&i.isNonGeographicCallingCode(r)&&(n=`001`)),{country:n,countryCallingCode:r}}var jc=/^\+\d+$/;function Mc(e){"@babel/helpers - typeof";return Mc=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Mc(e)}function Nc(e,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(e,Fc(r.key),r)}}function Pc(e,t,n){return t&&Nc(e.prototype,t),n&&Nc(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fc(e){var t=Ic(e,`string`);return Mc(t)==`symbol`?t:t+``}function Ic(e,t){if(Mc(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Mc(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Lc(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Rc(e,t,n){return t=qc(t),zc(e,Wc()?Reflect.construct(t,n||[],qc(e).constructor):t.apply(e,n))}function zc(e,t){if(t&&(Mc(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return Bc(e)}function Bc(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Vc(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kc(e,t)}function Hc(e){var t=typeof Map==`function`?new Map:void 0;return Hc=function(e){if(e===null||!Gc(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Uc(e,arguments,qc(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Kc(n,e)},Hc(e)}function Uc(e,t,n){if(Wc())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Kc(i,n.prototype),i}function Wc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Wc=function(){return!!e})()}function Gc(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function Kc(e,t){return Kc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kc(e,t)}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qc(e)}var Jc=function(e){function t(e){var n;return Lc(this,t),n=Rc(this,t,[e]),Object.setPrototypeOf(n,t.prototype),n.name=n.constructor.name,n}return Vc(t,e),Pc(t)}(Hc(Error)),Yc=RegExp(`(?:`+tc()+`)$`,`i`);function Xc(e){var t=e.search(Yc);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(Yc),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}function Zc(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Qc(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
40
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
41
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
42
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
43
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
44
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
45
|
-
${JSON.stringify(s,null,2)}`);a++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(t.op){case`|`:for(var c,l=
|
|
46
|
-
${JSON.stringify(f,null,2)}`)}}return c?{partialMatch:!0}:void 0;case`[]`:for(var p=
|
|
47
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
48
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
49
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hd(e,t){if(e){if(typeof e==`string`)return Ud(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ud(e,t):void 0}}function Ud(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Wd(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Gd(e){if(Array.isArray(e))return e}function Kd(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function qd(e,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(e,Yd(r.key),r)}}function Jd(e,t,n){return t&&qd(e.prototype,t),n&&qd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Yd(e){var t=Xd(e,`string`);return zd(t)==`symbol`?t:t+``}function Xd(e,t){if(zd(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(zd(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Zd=!1,Qd=function(){function e(t,n){Kd(this,e),this.metadata=new Y(n);var r=Bd(this.getCountryAndCallingCode(t),2),i=r[0],a=r[1];this.defaultCountry=i,this.defaultCallingCode=a,this.reset()}return Jd(e,[{key:`getCountryAndCallingCode`,value:function(e){var t,n;return e&&(qo(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),n&&Zd&&this.metadata.isNonGeographicCallingCode(n)&&(t=`001`),[t,n]}},{key:`input`,value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput=`+`;else if(n){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var r;if(this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),r===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var i=this.state.getNationalDigits();i&&(r=this.formatter.format(i,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:`reset`,value:function(){var e=this;return this.state=new vu({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n,t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new _d({state:this.state,metadata:this.metadata}),this.parser=new Fd({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput=``,this}},{key:`isInternational`,value:function(){return this.state.international}},{key:`getCallingCode`,value:function(){if(this.isInternational())return this.state.callingCode}},{key:`getCountryCallingCode`,value:function(){return this.getCallingCode()}},{key:`getCountry`,value:function(){if(this.state.digits)return this._getCountry()}},{key:`_getCountry`,value:function(){var e=this.state.country;if(!(Zd&&e===`001`))return e}},{key:`determineTheCountryIfNeeded`,value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:`getFullNumber`,value:function(e){var t=this;if(this.isInternational()){var n=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},r=this.state.callingCode;return n(r?e?`${r} ${e}`:r:`${this.state.getDigitsWithoutInternationalPrefix()}`)}return e}},{key:`getNonFormattedNationalNumberWithPrefix`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,r=e.nationalPrefix,i=t,a=n||r;return a&&(i=a+i),i}},{key:`getNonFormattedNumber`,value:function(){var e=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(e?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:`getNonFormattedTemplate`,value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,`x`)}},{key:`isCountryCallingCodeAmbiguous`,value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:`determineTheCountry`,value:function(){this.state.setCountry(Hs(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata}))}},{key:`getNumberValue`,value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,i=e.nationalSignificantNumber;if(t){if(this.isInternational())return n?`+`+n+i:`+`+t;if(r||n)return`+`+(r?this.metadata.countryCallingCode():n)+i}}},{key:`getNumber`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode,i=this._getCountry();if(t&&!(!i&&!r)){if(i&&i===this.defaultCountry){var a=new Y(this.metadata.metadata);a.selectNumberingPlan(i);var o=a.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(o);if(s.length>1){var c=Bs(t,{countries:s,metadata:this.metadata.metadata});c&&(i=c)}}var l=new Oc(i||r,t,this.metadata.metadata);return n&&(l.carrierCode=n),l}}},{key:`isPossible`,value:function(){var e=this.getNumber();return e?e.isPossible():!1}},{key:`isValid`,value:function(){var e=this.getNumber();return e?e.isValid():!1}},{key:`getNationalNumber`,value:function(){return this.state.nationalSignificantNumber}},{key:`getChars`,value:function(){return(this.state.international?`+`:``)+this.state.digits}},{key:`getTemplate`,value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||``}}])}();function $d(e){return new Y(e).getCountries()}function ef(e,t,n){if(t[e])return new Oc(e,t[e],n)}function tf(e,t,n){return n||(n=t,t=void 0),new Qd(t,n).input(e)}function nf(){return Wo(iu,arguments)}function rf(){return Wo(du,arguments)}function af(e){return Qd.call(this,e,Uo)}af.prototype=Object.create(Qd.prototype,{}),af.prototype.constructor=af;function of(){return Wo($d,arguments)}function sf(){return Wo(ds,arguments)}function cf(){return Wo(ef,arguments)}function lf(){return Wo(tf,arguments)}var[uf,Z]=L(`configContext`),df=(0,h.createSharedComposable)(e=>{let t=Z(null),n=(0,g.useReducedMotion)(),r=(0,d.computed)(()=>(0,d.toValue)(e)===!0||t?.reducedMotion.value===!0||n.value);return(0,d.watch)(r,e=>{document.body.classList.toggle(`reduced-motion`,e)},{immediate:!0}),r}),ff=(0,d.defineComponent)({__name:`ConfigProvider`,props:{addressAutocompleteAdapter:{default:null},autoCloseToast:{},dateLocale:{default:null},googleMapsApiKey:{default:null},hourCycle:{},locale:{},numberFormat:{},projectName:{},reducedMotion:{type:Boolean,default:!1},showNavigationArrowsInTopBar:{type:Boolean,default:!1}},setup(e){let t=e;return df((0,d.computed)(()=>t.reducedMotion)),uf(or(t)),(e,t)=>(0,d.renderSlot)(e.$slots,`default`)}}),pf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"/><path fill="#29DBFF" d="M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"/><path fill="#FFF" d="M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"/><path fill="#29DBFF" d="M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"/><path fill="#FFF" d="M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"/><path fill="#29DBFF" d="M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"/><path fill="#5CC85C" d="M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"/><ellipse transform="rotate(-82.3 291.431 225.686)" fill="#F7A226" cx="291.4" cy="225.7" rx="48.7" ry="15.7"/><ellipse transform="rotate(-68.099 303.087 164.67)" fill="#DDC7AB" cx="303.1" cy="164.7" rx="11.7" ry="7.2"/><ellipse transform="rotate(-81.738 291.697 271.697)" fill="#DDC7AB" cx="291.7" cy="271.7" rx="11.4" ry="3.3"/><ellipse transform="matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)" fill="#DDC7AB" cx="299.6" cy="269.4" rx="3.3" ry="11"/><ellipse transform="rotate(-21.518 314.54 201.06)" fill="#DDC7AB" cx="314.5" cy="201.1" rx="4.1" ry="13.7"/><ellipse transform="rotate(-21.518 317.511 178.077)" fill="#DDC7AB" cx="317.5" cy="178.1" rx="13.7" ry="4.1"/><ellipse transform="rotate(-7.7 473.781 225.857)" fill="#F7A226" cx="473.6" cy="225.9" rx="15.7" ry="48.7"/><ellipse transform="rotate(-21.901 462.057 164.866)" fill="#DDC7AB" cx="462" cy="164.9" rx="7.2" ry="11.7"/><ellipse transform="rotate(-8.27 473.27 271.908)" fill="#DDC7AB" cx="473.4" cy="271.9" rx="3.3" ry="11.4"/><ellipse transform="matrix(.05353 -.9986 .9986 .05353 171.34 719.998)" fill="#DDC7AB" cx="465.5" cy="269.6" rx="11" ry="3.3"/><ellipse transform="rotate(-68.482 450.552 201.247)" fill="#DDC7AB" cx="450.6" cy="201.2" rx="13.7" ry="4.1"/><ellipse transform="rotate(-68.482 447.58 178.265)" fill="#DDC7AB" cx="447.6" cy="178.3" rx="4.1" ry="13.7"/><path fill="#B0C6CC" d="M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><path fill="#D80027" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/></svg>`,mf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"/><g stroke="#D80027" stroke-width="7"><path d="M267.6 113.6v64.7M284.2 113.6v64.7M300.8 113.6v64.7"/></g><g stroke="#D80027" stroke-width="5"><path d="M247.4 178.4v64.7M234.1 178.4v64.7M220.8 178.5v53.9M207.1 178.5v47.1"/></g><path fill="#FFDA44" d="m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"/><path fill="#BC8B00" d="M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"/><path fill="#D80027" d="M264.4 188.9h29.5v8.6h-29.5zM264.4 206.5h29.5v8.6h-29.5z"/></svg>`,hf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#009e49" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><path fill="#ce1126" d="M0 0h171v342H0z"/></svg>`,gf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#DB3E00" d="M0 0h513v342H0z"/><path fill="#479900" d="M331 0h182v342H331z"/><path d="M0 0h181.8v342H0z"/><path fill="#FFF" d="M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"/><path fill="#FFF" d="M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"/></svg>`,_f=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 0h513v342H0z"/><path fill="#0072c6" d="M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8"/><path fill="#FFF" d="M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z"/><path fill="#FFDA44" d="M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z"/><g fill="#ce1126"><path d="M256.5 342 0 0v342z"/><path d="M513 342V0L256 342z"/></g></svg>`,vf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#00318b" d="M0 0h513v342H0z"/><path fill="#FFF" d="M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 0 1-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z"/><path fill="#8DCCFF" d="M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z"/><path fill="#D87B00" d="M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z"/><path fill="#D87B00" d="M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z"/><path fill="#D87B00" d="M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z"/><path fill="#FFF" d="M256.5 0h-23.1L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1V171h22.6L96 121.8V171h64v-49.2l73.4 49.2h23.1v-22.9l-46.6-30.7h46.6v-64h-46.6l46.6-30.7z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112V171h32v-69.6h112.5v-32H144z"/><path fill="#D80027" d="M0 171v-11.3l62.5-42.3h22.6L7.3 171zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256.5.1v11l-63 42.3h-22.6L248.7.1zM248.7 171l-77.8-53.6h22.6l63 42.3V171z"/></svg>`,yf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#ED2024" d="M0 0h90v60H0z"/><path fill="#212121" d="M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"/><g fill="#212121"><path d="M26.2 25h6.4v2.5h-6.4zM26.2 20.9h6.4v2.7h-6.4zM26.2 16.7h6.4v2.6h-6.4zM26.2 12.7h6.4v2.5h-6.4z"/></g><g fill="#212121"><path d="M57.4 25h6.4v2.5h-6.4zM57.4 20.9h6.4v2.7h-6.4zM57.4 16.7h6.4v2.6h-6.4zM57.4 12.7h6.4v2.5h-6.4z"/></g><path fill="#212121" d="M53.4 36.1h6.4V38h-6.4zM30.2 36.1h6.4V38h-6.4z"/></svg>`,bf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#FF9811" d="M0 228h513v114H0z"/></svg>`,xf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 171h513v171H0z"/><path fill="#D80027" d="M0 0h513v171H0z"/><g fill="#FFDA44"><path d="m332.7 135.6 17.5-8.6-7.4-19-18.7 6.2zM287.1 79.6l5.5-18.8-19.1-7.2-8 18zM316.5 102.8l12.2-15.3-14.9-13.9-14.2 13.6zM335.9 171.7l19.5-.8v-21.3l-22.9.2zM323.3 209.8l18.8 5.5 7.3-19-18-8zM294.3 242.2l14.9 12.7 14.4-14.4-13.1-14.7zM247.3 94.5l9.8 19.9 21.9 3.3-15.9 15.5 3.6 21.9-19.6-10.4-19.7 10.2 3.8-21.9-15.8-15.5 22-3.1z"/><path d="m250.8 61.3-2.7 18.3c43.1 3.2 77 39.2 77 83.1 0 46-37.3 82.9-83.4 83.4-29.2.3-51.3-14.8-67-33.7l-13.9 12.3c15 19 40.8 39.9 80.9 39.9 56.3 0 101.9-45.6 101.9-101.9.1-53.2-40.7-96.9-92.8-101.4z"/><path fill="#000" d="m291.9 223.4-11.8 14s51.9 38.9 53.6 40.4c1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-2-1.5-51.8-42-51.8-42z"/><path d="M206.1 157.2c-7.7 10.3-7.5 23.1 2.8 30.9 0 0 135.2 101.5 136.9 103 1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-1.9-1.5-149.7-121.5-149.7-121.5zM253.8 256.3l7.3 18.2 19.5-6-4.8-19.1zM213.4 252.6l-2 19.5 20.1 3.6 4.5-19.1zM177.7 231.4 167.4 248l16.4 12.1 12.5-15.2z"/></g></svg>`,Sf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 744 496"><path fill="#3A7DCE" d="M0 0h744v496H0V0z"/><path fill="#fff" d="m120 125 90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-46-49-62z"/></svg>`,Cf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><path fill="#338AF3" d="M0 0h512v114H0zM0 228h512v114H0z"/><circle fill="#FFDA44" stroke="#d6ab00" stroke-width="5" cx="256.5" cy="171" r="40"/></svg>`,wf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338c" d="M0 0h513v342H0z"/><path fill="#D80027" d="M513 33 95.3 171 513 310.76V342L0 171 513 0z"/><path fill="#FFF" d="M513 287.18v24.58L81.72 171 513 30v24.16"/><path fill="#A2001D" d="m476.98 140.21-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z"/><path fill="#EFC100" stroke="#231F20" stroke-miterlimit="10" d="m317.89 238.41-22.24-11.11 22.24-11.11h144.46v22.22z"/></svg>`,Tf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 114h513v114H0z"/><path fill="#D80027" d="M0 0h513v114H0zM0 228h513v114H0z"/></svg>`,Ef=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338c" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="M222.2 170.7c.3-.3.5-.6.8-.9-.2.3-.5.6-.8.9zM188 212.6l11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zM385.9 241.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM337.3 125.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zM385.9 58.9l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zM428.4 108.6l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z"/><path d="M254.8 0v30.6l-45.1 25.1h45.1V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9H99v-48.6l-87.4 48.6H-1.2v-30.6L44 115H-1.2V55.7h59.1L-1.2 22.8V0h26.7L99 40.8V0h55.6v48.6L242.1 0z"/></g><path fill="#D80027" d="M142.8 0h-32v69.3h-112v32h112v69.4h32v-69.4h112v-32h-112z"/><path fill="#0052B4" d="m154.6 115 100.2 55.7v-15.8L183 115z"/><path fill="#FFF" d="m154.6 115 100.2 55.7v-15.8L183 115z"/><g fill="#D80027"><path d="m154.6 115 100.2 55.7v-15.8L183 115zM70.7 115l-71.9 39.9v15.8L99 115z"/></g><path fill="#0052B4" d="M99 55.7-1.2 0v15.7l71.9 40z"/><path fill="#FFF" d="M99 55.7-1.2 0v15.7l71.9 40z"/><g fill="#D80027"><path d="M99 55.7-1.2 0v15.7l71.9 40zM183 55.7l71.8-40V0L154.6 55.7z"/></g></svg>`,Df=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 363 242"><path fill="#338AF3" d="M0 0h363v242H0z"/><path fill="#FFF" d="M57 96.9 14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z"/><path fill="#f30028" d="m75.6 40.6 11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z"/><g fill="#FFDA44"><path d="M0 152.2h363v15.7H0zM0 183.6h363v15.7H0z"/></g></svg>`,Of=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 210.9H202.2V342h-79.8V210.9H0V131.1h122.4V0h79.8v131.1H513v61.2z"/><path fill="#D80027" d="M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"/></svg>`,kf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ef3340" d="M0 0h513v342H0z"/><path fill="#00b5e2" d="M0 0h513v114H0z"/><path fill="#509e2f" d="M0 228h513v114H0z"/><g fill="#FFF"><path d="M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z"/><path d="m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"/></g></svg>`,Af=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338C" d="M0 0h513.1v342H0z"/><path fill="#F6C500" d="M99.9 0h342v342"/><g fill="#FFF"><path d="M19.9 21.1 40.3 6.2 60.9 21 54 0H26.7z"/><path d="M92.3 25.5 84.4 1.3l-7.8 24.2H51.3l20.5 14.8-7.8 24 20.4-14.8L105 64.3l-7.9-24 20.5-14.9z"/><path d="m136.3 69.2-7.8-24-7.8 24H95.5l20.4 14.9-7.8 24 20.4-14.8 20.6 14.8-7.8-24 20.4-14.9z"/><path d="m179.4 112.3-7.8-24.1-7.8 24.1h-25.3l20.5 14.9-7.8 24 20.4-14.8 20.6 14.8-7.9-24 20.5-15z"/><path d="m222.5 155.3-7.8-24-7.8 24h-25.4l20.6 15-7.8 24 20.4-14.9 20.4 14.9-7.8-24 20.6-15z"/><path d="m265.6 198.4-7.8-24-7.8 24h-25.4l20.6 14.9-7.8 24.1 20.4-14.9 20.4 14.9-7.8-24.2 20.5-14.8z"/><path d="m308.7 241.5-7.9-24-7.8 24h-25.3l20.5 14.8-7.9 24.2 20.6-14.9 20.4 14.8-7.8-24.1 20.5-14.8z"/><path d="m351.7 284.6-7.8-24.2-7.8 24.2h-25.3l20.4 14.8-7.8 24.1 20.5-14.9 20.5 14.9-7.8-24.1 20.4-14.8z"/><path d="m387 303.5-7.9 24.1-25.3.1 19.8 14.3h26.6l19.9-14.4h-25.3z"/></g></svg>`,jf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ffc726" d="M0 0h513v342H0z"/><g fill="#00267f"><path d="M0 0h171v342H0zM342 0h171v342H342z"/></g><path d="m325.74 101.02-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z"/></svg>`,Mf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#2d6e41" d="M0 85.331h513v342H0z"/><circle fill="#F40B32" cx="218.902" cy="256.5" r="115"/></svg>`,Nf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#fdda25" d="M0 0h513v342H0z"/><path d="M0 0h171v342H0z"/><path fill="#ef3340" d="M342 0h171v342H342z"/></svg>`,Pf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#3d944f" d="M0 0h513v342H0z"/><path fill="#ef2b2d" d="M0 0h513v171H0z"/><path fill="#FFDA44" d="m256 102.6 16.9 52h54.7l-44.2 32.2 16.8 52-44.2-32.1-44.2 32.1 16.8-52-44.2-32.2h54.7z"/></svg>`,Ff=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#00966e" d="M0 0h513v342H0z"/><path fill="#FFF" d="M0 0h513v114H0z"/><path fill="#d62612" d="M0 228h513v114H0z"/></svg>`,If=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="m222.8 34.3-85.2 34.2 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.8H0V0h137.6z"/></svg>`,Lf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#47a644"><path d="M215.9 170.7 0 314.6V26.8zM513 26.8v287.8L297.1 170.7z"/></g><path fill="#0052B4" d="M513 26.8 296.1 170.7 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"/><path fill="#FFF" d="M513 26.8 297.1 170.7 513 314.6V342h-40L256 197.4 39 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"/><circle fill="#FFF" cx="251.6" cy="170.7" r="100.2"/><g fill="#D80027" stroke="#47a644" stroke-width="3"><path d="m251.4 103.6 7.4 12.9h14.8l-7.4 12.8 7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8H244zM290.2 170.3l7.4 12.9h14.8L305 196l7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.9l7.4-12.8-7.4-12.8h14.9zM213 170.3l7.4 12.9h14.9l-7.4 12.8 7.4 12.8h-14.9l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8h14.8z"/></g></svg>`,Rf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#008751" d="M0 85.333h513v342H0z"/><path fill="#fcd116" d="M196.666 85.333H513v171H196.666z"/><path fill="#e8112d" d="M196.666 256H513v171H196.666z"/></svg>`,zf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#E6BC00" d="M157.31 199.76s-9.04 43.93-19.31 40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52 21.24s38.18 8.48 41.01 5.47c1.22-1.14 8.21-15.1 10.34-26.05v-22.29zm-56.13 60.57s-2.48 20.18-1.06 22.66c1.24 2.3 39.48 11.33 39.48 11.33s-24.96 16.46-29.74 20.54L91.8 284.94l-.71-24.61h10.09zM112.51 94.64s39.65 41.6 40.36 45.5c.71 3.72-4.25 3.19-4.25 3.19s-44.79-37.53-49.92-41.07c-5.31-3.55 13.81-7.62 13.81-7.62z"/><path fill="#ADADAD" d="M99.41 104.73s16.99-.71 16.64-11.51c-.35-10.62-11.15-14.87-19.12-12.39-7.97 2.3-23.01 13.45-13.63 35.05 9.38 21.42 23.37 29.39 26.2 47.8 0 0-5.46 9.86-19.12.35-16.9-11.77-6.2-38.24-10.44-44.96-4.25-7.08-40.95-38.92-40.95-38.92s-30.24 39.37-18 74.92c16.95 49.21 51.74 31.98 64.61 36.76 0 0-42.13 61.96-49.57 67.09 0 0 24.08 8.32 47.8-18.76 0 0 5.84 9.74 7.08 20.18h10.27c4.78-26.2 51.51-64.26 49.92-82.32-1.77-21.25-49.21-49.39-51.69-73.29z"/><path fill="#E6BC00" d="M359.17 201.27s8.96 42.43 19.23 38.89c10.62-3.54 17.53-18.76 17.53-18.76l14.52 21.24s-37 8.48-39.83 5.47c-1.21-1.14-9.32-13.79-11.52-24.66l.07-22.18zm56.05 59.06s2.48 20.18 1.06 22.66c-1.24 2.3-39.48 11.33-39.48 11.33s24.96 16.46 29.74 20.54l18.06-29.92.71-24.61h-10.09zM403.89 94.64s-39.65 41.6-40.36 45.5c-.71 3.72 4.25 3.19 4.25 3.19s44.79-37.53 49.92-41.07c5.14-3.55-13.81-7.62-13.81-7.62z"/><path fill="#125ECC" d="M157.31 87.06H359.1v145.46c0 16.06-9.69 21.39-21.91 31.85l-45.92 39.41c-18.25 15.62-47.91 15.57-66.07 0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V87.06z"/><path fill="#FFE600" d="M200.55 147.71c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65-3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zM214.96 274.43c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c.01 7.96-6.45 14.41-14.41 14.41zm43.24 14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c0 7.95-6.45 14.41-14.41 14.41zm43.24-14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"/><path fill="#D60537" d="M157.31 175.36H359.1v57.65H157.31v-57.65z"/><path fill="#EACE00" d="M142.9 43.82s57.65-14.41 115.31-14.41 115.31 14.41 115.31 14.41l-14.41 57.65s-50.45-14.41-100.89-14.41-100.89 14.41-100.89 14.41L142.9 43.82z"/><path fill="#7A6920" d="M258.2 72.65c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 5c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm-115.3 0c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"/><path fill="#ADADAD" d="M365.08 178.02c-1.59 18.06 45.14 56.12 49.92 82.32h10.27c1.24-10.44 7.08-20.18 7.08-20.18 23.72 27.09 47.8 18.76 47.8 18.76-7.44-5.13-49.57-67.09-49.57-67.09 12.88-4.78 47.67 12.45 64.61-36.76 12.24-35.55-18-74.92-18-74.92s-36.7 31.84-40.95 38.92c-4.25 6.73 6.46 33.2-10.44 44.96-13.66 9.51-19.12-.35-19.12-.35 2.83-18.41 16.82-26.38 26.2-47.8 9.38-21.6-5.66-32.75-13.63-35.05-7.97-2.48-18.76 1.77-19.12 12.39-.35 10.8 16.64 11.51 16.64 11.51-2.48 23.9-49.92 52.04-51.69 73.29z"/><circle fill="#FFF" cx="258.2" cy="204.19" r="16.93"/></svg>`,Bf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c8102e" d="M0 0h513v342H0z"/><path fill="#012169" d="M0 .1h256.5v171H0z"/><path fill="#FFF" d="M256 0h-22.6L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1v22.6h22.6L96 121.8v48.9h64v-48.9l73.4 48.9H256v-22.6l-46.1-30.7H256v-64h-46.1L256 22.7z"/><path fill="#c8102e" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#c8102e" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/><g transform="translate(13 5)"><path fill="#fff" d="M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z"/><path fill="#2F8F22" d="M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z"/><circle fill="#65B5D2" cx="383.65" cy="214.56" r="39.88"/><circle fill="#c8102e" cx="343.77" cy="194.63" r="19.94"/><circle fill="#c8102e" cx="423.52" cy="194.63" r="19.94"/><circle fill="#c8102e" cx="383.65" cy="154.75" r="19.94"/></g></svg>`,Vf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path d="m0 193.74 513 127.19V214.26L0 97.08z"/><path fill="#FFF" d="M513 234.26v-86.67L0 20.41v86.67"/><g fill="#D80027" stroke="#231F20" stroke-width="3" stroke-miterlimit="10"><path d="M306.4 134.01a50.28 50.28 0 0 1 6.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z"/><path d="M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zM129.24 133.18h20.88l24.93 27.26v73.45h-26.28v-68.37zM400 133.18h-20.88l-24.93 27.26v73.45h26.27v-68.37z"/></g></svg>`,Hf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#d52b1e" d="M0 0h513v114H0z"/><path fill="#f9e300" d="M0 114h513v114H0z"/><path fill="#007934" d="M0 228h513v114H0z"/></svg>`,Uf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#012a87" d="M0 342h513V0z"/><path fill="#f9d90f" d="M250.4 0H0v166.9z"/><path fill="#dc171d" d="m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"/><circle fill="none" stroke="#000" stroke-width="9" stroke-miterlimit="10" cx="140.4" cy="160.6" r="57.7"/></svg>`,Wf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#009b3a" d="M0 0h513v342H0z"/><path fill="#fedf00" d="m256.5 19.3 204.9 151.4L256.5 322 50.6 170.7z"/><circle fill="#FFF" cx="256.5" cy="171" r="80.4"/><path fill="#002776" d="M215.9 165.7c-13.9 0-27.4 2.1-40.1 6 .6 43.9 36.3 79.3 80.3 79.3 27.2 0 51.3-13.6 65.8-34.3-24.9-31-63.2-51-106-51zM334.9 186c.9-5 1.5-10.1 1.5-15.4 0-44.4-36-80.4-80.4-80.4-33.1 0-61.5 20.1-73.9 48.6 10.9-2.2 22.1-3.4 33.6-3.4 46.8.1 89 19.5 119.2 50.6z"/></svg>`,Gf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ffc72c" d="M0 0h513v342H0z"/><g fill="#00778b"><path d="M0 0h513v114H0zM0 228h513v114H0z"/></g><path d="M256 171 0 342V0z"/></svg>`,Kf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FF7415" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 0H0v342"/><path fill="none" stroke="#FFF" stroke-width="42" stroke-miterlimit="10" d="M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6"/></svg>`,qf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 33.333 1100 733.333"><path fill="#ef2b2d" d="M0 0h1100v800H0z"/><path fill="#fff" d="M300 0h200v800H300z"/><path fill="#fff" d="M0 300h1100v200H0z"/><path fill="#002868" d="M350 0h100v800H350z"/><path fill="#002868" d="M0 350h1100v100H0z"/></svg>`,Jf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#6da9d2"><path d="M0 238h513v104H0zM0 0h513v104H0z"/></g><path d="M0 125.5h513v89.656H0z"/></svg>`,Yf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#007C30" d="M0 0h513v342H0z"/><path fill="#CE1720" d="M0 230h513V0H0"/><path fill="#FFF" d="M100 230V0H0v342h513-413z"/><g fill="#CE1720"><path d="M28 159.6 8.6 128.2 28 97.4l19.3 30.8zM72.6 159.6l-19.3-31.4 19.3-30.8L92 128.2zM28 241.2 8.6 209.8 28 179l19.3 30.8zM72.6 241.2l-19.3-31.4L72.6 179 92 209.8z"/></g><g fill="none" stroke="#CE1720" stroke-width="7"><path d="m28 73.8-16.1-26L28 22.2l16 25.6zM72.6 73.8l-16-26 16-25.6 16.1 25.6zM28 318l-16.1-26.1L28 266.3l16 25.6zM72.6 318l-16-26.1 16-25.6 16.1 25.6z"/></g></svg>`,Xf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#003e87" d="M0 0h513v342H0z"/><circle fill="#FFF" cx="260.9" cy="170.9" r="118.9"/><circle fill="none" stroke="#6DA544" stroke-width="18" stroke-miterlimit="10" cx="261.9" cy="173.1" r="94.5"/><g stroke="#000"><path fill="#003e87" d="m261.9 151.5-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z"/><path fill="#FFDA44" d="M211.3 128.1h101.3v46.7H211.3z"/></g><g fill="#ce1127"><path d="M0 0h513v35H0zM0 306h513v35H0z"/></g></svg>`,Zf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="red"><path d="M0 0h142v342H0zM371 0h142v342H371zM306.5 206l50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z"/></g></svg>`,Qf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="green" d="M0 0h513v342H0z"/><g fill="#FFDA44"><path d="m422.7 252.4 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zM376.1 116.1l6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zM413.1 38.3l6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zM464.9 96.7l6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zM436.9 164.8l4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6z"/></g><path fill="#FFDA44" d="M306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zM140.6 59.9l-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z"/><path fill="#A2001D" d="M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z"/></svg>`,$f=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 66.9V0H411.7L0 274.4V342h100.3z"/><path fill="#D80027" d="M513 0v40.1L60.2 342H0v-40.8L451.8 0z"/><path fill="#FFDA44" d="m93.6 31.2 16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z"/></svg>`,ep=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#d21034" d="M0 0h513v342H0z"/><g fill="#3a9927"><path d="M0 171h211.5v85.3H0zM300.5 171H512v85.3H300.5z"/></g><path fill="#003082" d="M0 0v85.3h211.5V0h89v85.3H513V0z"/><g fill="#FFF"><path d="M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z"/></g><g fill="#ffce00"><path d="M300.5 342h-89v-86H0v86h513v-86H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z"/></g></svg>`,tp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#da1a35" d="M0 85.331h513v342H0z"/><path fill="#009543" d="M443.726 85.331 102.4 426.657H0V85.331z"/><path fill="#fbde4a" d="M500.124 85.331 158.798 426.657H11.876L353.202 85.331z"/></svg>`,np=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="red" d="M0 85.337h513v342H0z"/><path fill="#FFF" d="M356.174 222.609h-66.783v-66.783h-66.782v66.783h-66.783v66.782h66.783v66.783h66.782v-66.783h66.783z"/></svg>`,rp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#009e60" d="M342 0h171v342H342z"/><path fill="#f77f00" d="M0 0h171v342H0z"/></svg>`,ip=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#01237a" d="M0 85.332h513v342H0z"/><g fill="#FFF"><path d="m384 156.705 5.283 16.254h17.089l-13.826 10.045 5.281 16.254L384 189.211l-13.825 10.047 5.28-16.254-13.825-10.045h17.089zM313.791 185.786l15.228 7.758 12.084-12.083-2.673 16.879 15.227 7.759-16.879 2.673-2.674 16.88-7.76-15.227-16.878 2.673 12.086-12.084zM284.71 255.995l16.254-5.281.001-17.089 10.044 13.825 16.254-5.282-10.046 13.827 10.046 13.826-16.254-5.28-10.044 13.825v-17.09zM313.791 326.204l7.759-15.229-12.084-12.084 16.881 2.674 7.757-15.227 2.674 16.879 16.879 2.672-15.227 7.759 2.673 16.882-12.084-12.087zM384 355.284l-5.281-16.253h-17.091l13.827-10.045-5.28-16.254L384 322.776l13.827-10.044-5.281 16.254 13.826 10.045h-17.089zM454.209 326.204l-15.229-7.758-12.083 12.084 2.673-16.882-15.227-7.756 16.879-2.675 2.675-16.879 7.756 15.227 16.881-2.674-12.086 12.085zM483.29 255.995l-16.254 5.281v17.09l-10.045-13.826-16.254 5.281 10.046-13.826-10.046-13.827 16.254 5.282 10.045-13.825v17.089zM454.209 185.788l-7.757 15.226 12.082 12.084-16.881-2.673-7.756 15.227-2.675-16.88-16.879-2.675 15.227-7.757-2.673-16.878 12.084 12.082zM0 186.665v16h46.069L0 233.377v7.539l57.377-38.252H80L0 255.998h112v-69.334H0zm96 69.331H22.628L96 207.083v48.913zM176 138.665l80-53.334H144v69.334h112v-16h-46.069L256 107.951v-7.539l-57.377 38.251H176v.002zm-16-53.332h73.372L160 134.246V85.333zM144 255.998h112l-80-53.334h22.623L256 240.917v-7.539l-46.069-30.713H256v-16H144v69.333zm16-48.915 73.372 48.913H160v-48.913zM112 85.331H0l80 53.334H57.377L0 100.413v7.539l46.069 30.712H0v16h112V85.331zm-16 48.915L22.628 85.333H96v48.913z"/></g><g fill="#D80027"><path d="M144 85.331h-32v69.334H0v32h112v69.333h32v-69.333h112v-32H144z"/><path d="M80 138.665 0 85.331v15.082l57.377 38.252zM176 138.665h22.623L256 100.413V85.331zM57.377 202.665 0 240.917v15.081l80-53.333zM176 202.665l80 53.333v-15.081l-57.377-38.252z"/></g></svg>`,ap=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M196 0h317v171H196z"/><path fill="#0037A1" d="M0 0h196v171H0z"/><path fill="#FFF" d="M98 24.5 113.1 71H162l-39.6 28.7 15.2 46.5L98 117.5l-39.6 28.7 15.2-46.5L34 71h48.9z"/></svg>`,op=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ce1126" d="M0 0h513v342H0z"/><path fill="#007a5e" d="M0 0h171v342H0z"/><g fill="#fcd116"><path d="M342 0h171v342H342zM256 102.2l17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z"/></g></svg>`,sp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#FFDA44"><path d="m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zM236.2 25.4l-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zM292.8 161.8l-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z"/></g></svg>`,cp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 256.5h513V342H0z"/><path fill="#0052B4" d="M0 171h513v85.5H0z"/></svg>`,lp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 114h513v114H0z"/><path fill="#0052B4" d="M0 285h513v57H0zM0 0h513v57H0z"/></svg>`,up=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FF9811" d="M0-40.8v422.9-211.4z"/><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v68.3H0zM0 136.5h513v68.3H0zM0 273.1h513v68.3H0z"/></g><path fill="#D80027" d="M256 170.7 0 342V0z"/><path fill="#FFF" d="m86.5 111.4 12.7 39.2h41.3l-33.4 24.2 12.8 39.3-33.4-24.2-33.4 24.2 12.8-39.3-33.4-24.2h41.2z"/></svg>`,dp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#003893" d="M0 0h513v342H0z"/><path fill="#cf2027" d="M0 182.2h513v41.4H0z"/><path fill="#FFF" d="M0 140.8h513v41.4H0zM0 223.6h513V265H0z"/><g fill="#f7d116" stroke="#000"><path d="m150.4 70 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zM150.4 279.7l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zM52.8 208.8l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zM23.8 162H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zM72.2 310.9l6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zM277.1 162h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zM228.7 310.9l-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z"/></g></svg>`,fp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#002b7f" d="M0 0h513v342H0z"/><path fill="#f9e814" d="M0 233.5h513v51H0z"/><g fill="#FFF"><path d="m168.7 86.5 12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zM85.4 32.5l7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z"/></g></svg>`,pp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0021ad" d="M0 0h513v342H0z"/><path fill="#1c8a42" d="M0 0h513v342"/><g fill="#FFF"><path d="m77.6 272 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zM40.5 173.1l5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zM77.6 92.2l5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zM123.7 155.1l5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zM90.8 209.1l4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z"/></g><circle fill="#ffc639" cx="267.1" cy="170.7" r="74.5"/><path fill="#1c8a42" d="M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z"/><path fill="#ffc639" d="M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z"/></svg>`,mp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#DB7D00" d="M141.7 154.7s.2 67.1 74.7 65.3l4.5 13.9h8.9s-7.4-41.1 60.1-41.5c0 0 0-27.6 27.6-27.6H359s-66-51.8 58.9-118l1.8-13.1s-129.9 71-198.9 57.2c0 0 10.7 42.5-10.8 42.5-10.8 0-9.7-8.1-32.3-8.1-18.7 0-17.3 19.7-26.3 19.5-8.9-.2-18.8-12.3-19.6-10.2-.7 2.1 9.9 20.1 9.9 20.1z"/><g fill="#006651"><path d="M237.2 308.1c6.9-5 13-6.6 22.4-8.3s19.4-4.4 24.6-5.8-17.7 6.6-23.5 8.3c-5.8 1.6-23.5 5.8-23.5 5.8zM275.1 293.4c-1.9-11.9 2.8-24.3 13.5-29.3 2.5 8.6-5.2 23.2-13.5 29.3zM293.3 287.2c-5.8-9.8 4-22.6 11.1-28.8 3.3 6-2.5 23.7-11.1 28.8zM310.2 279.6c-6.2-8.4 1.1-23.2 8.8-29 3.1 8.2.1 23.2-8.8 29zM327.1 269c-5.6-8-1.7-20.4 6.3-28.4 5.8 6.6.9 21-6.3 28.4zM340.6 258.3c-4.7-7.5 1.1-25.4 8.6-30.4 3.3 6.6.8 25.4-8.6 30.4zM351.4 255.5c-1.4-10.8 17.4-22.7 25.2-22.4-.9 8.9-8.9 18.6-25.2 22.4zM340.9 267.7c8.8-9.1 26-9.1 32.1-7.2-1.7 5.3-21.9 16.9-32.1 7.2z"/><path d="M328.7 276.8c12.4-3.3 20.5-6.1 27.9 1.7-5.2 6.6-25.4 4.7-27.9-1.7zM311 284.8c11.9-6.4 26.3 3 28.5 8.6-13.3 5.5-28.7-7.2-28.5-8.6zM294.7 294c10.8-4.1 23.2 1.4 28.2 7.5-5.8 2.7-21 5.7-28.2-7.5zM279.8 298.7c12.4-1.4 24.4 8 27 13.4-15.9 1.5-22-3.2-27-13.4zM275.8 308.1c-6.9-5-13-6.6-22.4-8.3-9.4-1.7-19.4-4.4-24.6-5.8-5.3-1.4 17.7 6.6 23.5 8.3 5.8 1.6 23.5 5.8 23.5 5.8zM237.9 293.4c1.9-11.9-2.8-24.3-13.5-29.3-2.5 8.6 5.2 23.2 13.5 29.3zM219.7 287.2c5.8-9.8-4-22.6-11.1-28.8-3.3 6 2.5 23.7 11.1 28.8zM202.8 279.6c6.2-8.4-1.1-23.2-8.8-29-3.1 8.2-.1 23.2 8.8 29zM185.9 269c5.6-8 1.7-20.4-6.3-28.4-5.8 6.6-.9 21 6.3 28.4zM172.4 258.3c4.7-7.5-1.1-25.4-8.6-30.4-3.3 6.6-.8 25.4 8.6 30.4zM161.6 255.5c1.4-10.8-17.4-22.7-25.2-22.4.9 8.9 8.9 18.6 25.2 22.4zM172.1 267.7c-8.8-9.1-26-9.1-32.1-7.2 1.7 5.3 21.9 16.9 32.1 7.2z"/><path d="M184.3 276.8c-12.4-3.3-20.5-6.1-27.9 1.7 5.2 6.6 25.4 4.7 27.9-1.7zM202 284.8c-11.9-6.4-26.3 3-28.5 8.6 13.3 5.5 28.7-7.2 28.5-8.6zM218.3 294c-10.8-4.1-23.2 1.4-28.2 7.5 5.8 2.7 21 5.7 28.2-7.5zM233.2 298.7c-12.4-1.4-24.4 8-27 13.4 15.9 1.5 22-3.2 27-13.4z"/></g></svg>`,hp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#11457e" d="M0 0h513v342H0z"/><path fill="#d7141a" d="M513 171v171H0l215-171z"/><path fill="#FFF" d="M513 0v171H215.185L0 0z"/></svg>`,gp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#FFDA44" d="M0 228h513v114H0z"/></svg>`,_p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#12ad2b" d="M0 0h513v342H0z"/><path fill="#6ab2e7" d="M513 0v166.7L0 170.8V0z"/><path fill="#FFF" d="M256 170.7 0 342V0z"/><path fill="#d7141a" d="m89.8 92.5 17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z"/></svg>`,vp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c60c30" d="M0 0h513v342H0z"/><path fill="#FFF" d="M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"/></svg>`,yp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#496E2D" d="M0 0h513v342H0z"/><path d="M0 110.7v120h513v-120z"/><path fill="#FFDA44" d="M0 110.7h513v40H0z"/><path fill="#FFF" d="M0 190.7h513v40H0z"/><path d="M196 0h120v342H196z"/><path fill="#FFDA44" d="M196 0h40v342h-40z"/><path fill="#FFF" d="M274.7 0h40v342h-40z"/><circle fill="#D80027" cx="256" cy="170.7" r="123.1"/><g fill="#496E2D"><path d="m256 58.6 4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zM149.4 136h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zM149.4 205.3l12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zM190.1 261.4l4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zM256 282.8l-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zM321.9 261.4l-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zM362.6 205.3h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zM362.6 136l-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zM321.9 80l-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8z"/></g><path fill="#496E2D" d="M279.3 168.7c-11-21.1-14.5-25.1-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z"/></svg>`,bp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 215.2h211.5v126.1H0z"/><path fill="#0052B4" d="M0 0h211.5v126.2H0z"/><path fill="#D80027" d="M300.5 0H512v126.2H300.5z"/><path fill="#0052B4" d="M300.5 215.2H512v126.1H300.5z"/><g stroke="#FFF" stroke-width="5" stroke-miterlimit="10"><path fill="#0052B4" d="M256 130h-49.9v49.4s19.5 6 49.9 6V130z"/><path fill="#D80027" d="M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z"/><path fill="#0052B4" d="M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z"/><path fill="#D80027" d="M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z"/></g></svg>`,xp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#41662E" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256.5 0H513v342H256.5z"/><g fill="#D80027"><path d="m341.5 105.3-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z"/><path d="M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z"/></g></svg>`,Sp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 170.7h513V256H0z"/><path fill="#D80027" d="M0 256h513v85.3H0z"/><circle fill="#FFDA44" cx="256" cy="171" r="60"/><path fill="#4C1F00" d="M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"/><path fill="#57BA17" d="M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"/><path fill="#338AF3" d="M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"/></svg>`,Cp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#111" d="M0 0h513v342H0z"/><path fill="#368FD8" d="M0 0h513v114H0z"/><path fill="#FFF" d="M0 228h513v114H0z"/></svg>`,wp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><path fill="#C09300" d="M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z"/></svg>`,Tp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#428823" d="M0 228h513v114H0z"/><g fill="#D80027"><path d="M256 171 0 342V0zM309.1 171c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.1-21.5-5.1-34.6-24.2-34.6-46.8z"/><path d="m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"/></g></svg>`,Ep=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><path fill="#56AF35" d="M0 0h513v171H0z"/><path fill="#D80027" d="m0 342 513-171L0 0v342z"/><g fill="#ffc945"><path d="M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z"/><circle cx="119.5" cy="148.3" r="17.5"/><circle cx="148.9" cy="158.5" r="17.5"/><circle cx="134.7" cy="135.2" r="17.5"/><circle cx="119.5" cy="172.7" r="17.5"/><circle cx="149.9" cy="182.8" r="17.5"/><circle cx="122.5" cy="198" r="17.5"/><circle cx="145.9" cy="205.2" r="17.5"/></g></svg>`,Dp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M0 0h22.5v15H0V0z"/><path fill="#D03433" d="M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"/><path fill="#FBCA46" d="M0 4h22.5v7H0V4z"/><path fill="#FFF" d="M7.8 7h1v.5h-1V7z"/><path fill="#A41517" d="M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"/><path fill="#A41517" d="M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"/></svg>`,Op=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#20AA46" d="M0 0h22.5v5H0V0z"/><path fill="#E92F3B" d="M0 10h22.5v5H0v-5z"/><path fill="#FADF50" d="M0 5h22.5v5H0V5z"/><circle fill="#205CCA" cx="11.3" cy="7.5" r="5.2"/><g stroke="#FFDB3D" fill="none"><g stroke-width=".5"><path d="m11.3 8.8-2.1 1.5.8-2.4-2-1.5h2.5l.8-2.3.8 2.3h2.6l-2.1 1.5.8 2.4-2.1-1.5zM10.3 6.4h1.9M9.9 7.8l1.3 1M12 6.2l.7 1.8M10 7.9l.6-1.8M11 9l1.6-1.1"/></g><g stroke-width=".25"><path d="m8.7 3.9 1.1 1.6M13.8 3.8l-1 1.6M11.3 10.1V12M8.9 8.3 7.1 9M15.5 9l-1.8-.7"/></g></g></svg>`,kp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 810 540"><path fill="#039" d="M0 0h810v540H0z"/><path fill="#FC0" d="m404.951 59.865 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-90 24 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-66 66 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-24 89.999 6.735 20.719h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm24 90.001 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm66 66 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm180-312 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm66 66 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm24 90 6.735 20.718h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm-24 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm-156 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm90-24.001 6.735 20.719h21.894l-17.633 12.812 6.639 20.74-17.635-12.812-17.633 12.812 6.735-20.73-17.633-12.811h21.797z"/></svg>`,Ap=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#2E52B2" d="M513 129.3V212H203.7v130H121V212H0v-82.7h121V0h82.7v129.3z"/></svg>`,jp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#62b5e5" d="M0 0h513v342H0z"/><path fill="#2E52B2" d="M0 0h256v170H0z"/><path fill="#FFF" d="M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zM256 170.7v-15.1l-57.4-38.3H176z"/></g><path fill="#F3F3F3" d="M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z"/><path fill="#D80027" d="M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z"/></svg>`,Mp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><g fill="#D80027"><path d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/></g><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><g fill="#D80027"><path d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></g><path fill="#1F8BDE" d="M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z"/><path fill="#FFF" d="M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z"/><path fill="#187536" d="M347.1 193.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8-21.7 0-19.1 4.8-19.1 4.8-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z"/><path fill="#FFF" d="M357.4 179.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1-24.9 0-45.1 13.5-45.1 30.1-.1 8.5 6.6 28.5 15 30.1zM356 270.7c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM322.1 210c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z"/></svg>`,Np=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="m256 37.9 10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zM388.8 170.7l-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z"/></g></svg>`,Pp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0F61A5" d="M513 214.5H206.2V342H118.4V214.5H0v-87.7h118.4V0H206.2v126.8H513V192z"/><path fill="#E50E3D" d="M513 149.3V192H183.7v150H141V192H0v-42.7h141V0h42.7v149.3z"/></svg>`,Fp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,Ip=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><path fill="#0052B4" d="M0 228h513v114H0z"/></svg>`,Lp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><g fill="#FFF"><path d="M0 0h513v341.3H0V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"/></g><g fill="#0052B4"><path d="M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zM118.2 111.3 0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zM421.7 111.3 513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z"/></g><g fill="#D80027"><path d="M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM143.7 230 0 309.9v31.5L200.3 230h-56.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6zM368.3 111.3 513 31.5V0L311.7 111.3h56.6z"/></g></svg>`,Rp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c60a0a" d="M0 0h513v342H0z"/><path fill="#3E8446" d="m256.5 170.7-212 126.1V44.5z"/><g fill="#FFDA44"><path d="m256.5 170.7 211 126.1h-423zM467.5 44.5l-211 126.2-212-126.2z"/></g><path fill="#3E8446" d="M467.5 44.5v252.3l-211-126.1z"/><g fill="#FFDA44"><path d="m256.5 10.4 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 10.4l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 10.4l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM256.5 304.2l2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 304.2l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 304.2l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z"/></g><circle fill="#c60a0a" cx="244.5" cy="170.7" r="76.2"/><path fill="#FFDA44" d="m244.5 110.1 13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zM107.7 167.8c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z"/><circle fill="#A2001D" cx="99.1" cy="182.1" r="7.4"/></svg>`,zp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M.8 0h21v15H.8V0z"/><path fill="#eb000e" d="M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z"/><path fill="#eb000e" d="m17.3 2.7-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z"/></svg>`,Bp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#FDEB01" d="m0 0 90 60H0z"/><path fill="#58A846" d="M90 0v60L0 0z"/><path fill="#ED3D24" d="m50.7 33.3 9.3-6.7H48.5L45 15.7l-3.5 10.9H30l9.3 6.7-3.6 11 9.3-6.7 9.3 6.7z"/></svg>`,Vp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M308 0H204v118.7H0v104h204V342h104V222.7h205v-104H308z"/><path fill="#FFDA44" d="m368.6 188 26 17.3V136l-26 17.3h-95.3V58.1l17.3-26h-69.2l17.3 26v95.2h-95.3l-26-17.3v69.3l26-17.3h95.3v95.2l-17.3 26h69.2l-17.3-26V188z"/></svg>`,Hp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#496E2D" d="M0 228h513v114H0z"/><path d="m255.9 113.8 14.1 43.4 40.4 3.2-37 26.9 19.5 40.3-37-26.9-37 26.9 14.1-43.5-36.9-26.9h45.7z"/></svg>`,Up=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 230h513v112H0z"/><path fill="#D80027" stroke="#000" stroke-miterlimit="10" d="M363.1 131.8V99.1H374V77.3h-21.9v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7h-21.8V55.5h10.9V33.7h-21.8v10.9h-10.9V33.7H254v10.9h-10.9V33.7h-21.8v21.8h10.9v76.3h-21.8V99.1h10.9V77.3h-21.8v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7H145V219h239.9v-87.2z"/><path fill="#FFDA44" stroke="#000" stroke-miterlimit="10" d="m264.9 235.5-24.2 18.2 19.1 14.3v31.3h-23.2v9h23v7.9h-23v9.3H270V268l19.1-14.3-24.2-18.2zm0 25.3-10.1-7.1 10.1-7.1 10.1 7.1-10.1 7.1z"/><path d="M239.6 209.7v-27.9s.1-22.3 25-22.3c24.8 0 25.7 22 25.7 22v28.2h-50.7zM170.5 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8z"/><path d="M169.1 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zM320.9 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zM329.3 132v-15.7s.1-12.1 11.3-12.1c11.3 0 11.7 11.9 11.7 11.9V132h-23zM250.5 132v-23.7s.1-18.3 14.3-18.3c14.2 0 14.7 18 14.7 18v24h-29zM177.5 132v-15.7s.1-12.1 11.3-12.1 11.7 11.9 11.7 11.9V132h-23z"/></svg>`,Wp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 0v171H0V0z"/><circle fill="#FFF" cx="185.8" cy="171.2" r="117.8"/><path fill="#D80027" d="M68 171c0-65.1 52.8-117.8 117.8-117.8 65.1 0 117.8 52.8 117.8 117.8"/></svg>`,Gp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#cf0d19" d="M0 0h513v100H0z"/><path fill="#0052B4" d="M0 121h513v100H0z"/><path fill="#1a7e25" d="M0 242h513v100H0z"/></svg>`,Kp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h512v342H0z"/><path fill="#6DA544" d="M342 0h171v342H342z"/><path fill="#D80027" d="M0 0h171v342H0z"/></svg>`,qp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,Jp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v113.8H0z"/><path fill="#D80027" d="M0 227.6h513V342H0z"/><path fill="#0070C8" d="M126 171 0 342V0z"/><path fill="none" stroke="#000" stroke-miterlimit="10" d="M233.8 139.4v40.4c0 35.6 35.6 35.6 35.6 35.6s35.6 0 35.6-35.6v-40.4h-71.2z"/><path fill="#786145" d="M264.5 179.8h9.8l4 25.8h-17.8z"/><path fill="#6DA544" d="M287.2 162c0-9.8-8-14.8-17.8-14.8s-17.8 5-17.8 14.8c-4.9 0-8.9 4-8.9 8.9s4 8.9 8.9 8.9h35.6c4.9 0 8.9-4 8.9-8.9s-4-8.9-8.9-8.9z"/><g fill="#FFDA00" stroke="#000" stroke-miterlimit="10"><path d="m230.7 120 1.9 3.3h3.8l-1.9 3.3 1.9 3.2h-3.8l-1.9 3.3-1.9-3.3H225l1.9-3.2-1.9-3.3h3.8zM246 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zM261.3 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zM277.1 120l1.9 3.3h3.8l-1.9 3.3 1.9 3.2H279l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zM293.1 120l1.9 3.3h3.8l-1.9 3.3 1.9 3.2H295l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zM308.1 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2H310l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8z"/></g></svg>`,Yp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0d5eaf"><path d="M0 0h513v38H0zM0 76h513v38H0zM0 152h513v38H0zM0 228h513v38H0zM0 304h513v38H0z"/><path d="M0 0h190v190H0z"/></g><g fill="#FFF"><path d="M0 76h190v38H0z"/><path d="M76 0h38v190H76z"/></g></svg>`,Xp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><path fill="#D80027" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/><ellipse fill="#FFF" cx="443.4" cy="233.6" rx="29" ry="43.5"/><ellipse fill="#FFCE00" cx="406.9" cy="317.7" rx="22" ry="9.3"/><ellipse fill="#FFCE00" cx="364" cy="317.7" rx="22" ry="9.3"/><path fill="#39B200" d="m342 190.1 43.4 86.9 43.5-86.9z"/><ellipse fill="#9B9B9B" cx="327.5" cy="233.6" rx="29" ry="43.5"/><path fill="#757575" d="m371 175.6-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z"/><circle fill="#C6B56F" cx="385.4" cy="67" r="29"/><circle fill="#A54A00" cx="386" cy="88.7" r="29"/><circle fill="#FFF" cx="443.4" cy="117.7" r="29"/><circle fill="#0049FF" cx="342.2" cy="146.7" r="29"/><circle fill="#0041F9" cx="429.8" cy="146.7" r="29"/><circle fill="#F7D71E" cx="386" cy="233.6" r="29"/><circle fill="#CEC851" cx="457.9" cy="190.1" r="29"/><circle fill="#FFF" cx="385.4" cy="289.5" r="29"/><path fill="#7C0B29" d="m371 135.7 14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z"/><circle fill="#FFF" cx="327.5" cy="117.4" r="29"/></svg>`,Zp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#338AF3"><path d="M0 0h171v342H0zM342 0h171v342H342z"/></g><circle fill="#DCC26D" cx="256" cy="155.8" r="25.5"/><path fill="#628A40" d="M194.2 155.9c0 22.1 11.8 42.5 30.8 53.5 5.9 3.4 13.5 1.4 16.9-4.5 3.4-5.9 1.4-13.5-4.5-16.9-11.5-6.6-18.5-18.9-18.5-32.1 0-6.8-5.5-12.4-12.4-12.4s-12.3 5.5-12.3 12.4zm95.1 52.1c17.8-11.4 28.6-31 28.5-52.1 0-6.8-5.5-12.4-12.4-12.4-6.8 0-12.4 5.5-12.4 12.4 0 12.7-6.5 24.5-17.1 31.3-5.8 3.6-7.7 11.2-4.1 17 3.6 5.8 11.2 7.7 17 4.1.2-.1.3-.2.5-.3z"/></svg>`,Qp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M11.1 11.1h489.7v319.1H11.1z"/><path fill="#7DBEF1" d="M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"/><path fill="#1C8AE6" d="M179.8 180.7h152.6l-29.3 64.9h-95.2z"/><path fill="#FFF042" d="M192.3 205.9s40.5 38.2 51 38.2c12.4 0 12.6-18.4 25.5-25.5 20.2-11.1 51-12.7 51-12.7L297 248.7l-41 36.6-46.8-39.7-16.9-39.7z"/><path fill="#259C7B" d="m256 157.5-22.5 15.6 7.9-26.2-21.8-16.5 27.4-.5 9-25.9 9 25.9 27.4.5-21.8 16.6 7.9 26.2-22.5-15.7z"/><path fill="#8E5715" d="M249.7 144.6c-.9 9.2-1.5 18.4-1.7 27.6-.3 11.9.3 20.7 2 26 2.2 6.6 7.2 12.9 14.2 18.9 5.3 4.6 10.6 8.1 14.2 10.1 3.1 1.7 7 .6 8.7-2.4 1.7-3.1.6-7-2.4-8.7-4.3-2.5-8.4-5.4-12.2-8.7-5.4-4.6-9.1-9.2-10.4-13.3-1.1-3.4-1.6-11.3-1.4-21.7.2-8.9.8-17.8 1.7-26.6.4-3.5-2.2-6.6-5.7-7-3.6-.3-6.7 2.3-7 5.8z"/><path fill="#FFF" d="m217.8 170.7 25.5 38.2h-25.5v-38.2z"/><path fill="none" stroke="#D80027" stroke-width="12" stroke-miterlimit="10" d="M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"/></svg>`,$p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h512v342H0z"/><path fill="#FFDA44" d="M0 0h512v171H0z"/><path fill="#D80027" d="M0 0h182v342H0z"/><path d="m98.3 109.8 15.1 46.5h48.9L122.8 185l15.1 46.5-39.6-28.7-39.5 28.7L73.9 185l-39.6-28.7h48.9z"/></svg>`,em=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#009E49" d="M0 0h900v600H0V0z"/><path fill="#FFF" d="m0 0 947 300L0 600V0z"/><path fill="#FFD00D" d="M0 26.1 870 300 0 573.9V26.1z"/><path fill="#2D2D2D" d="m0 0 450 300L0 600V0z"/><path fill="#D3132F" d="m0 35 397.5 265L0 565V35z"/></svg>`,tm=`<svg viewBox="0 0.5 21 14" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path fill="#FFF" d="M0 0h21v15H0z"/><path fill="#ee1c25" d="M0 0h21v15H0z"/><path d="M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 1 0 0-.5.25.25 0 0 0 0 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 1 0 .476-.154.25.25 0 0 0-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 1 0 .294.405.25.25 0 0 0-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 1 0-.293.404.25.25 0 0 0 .293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 1 0-.475-.155.25.25 0 0 0 .475.155z" fill="#FFF"/></g></svg>`,nm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="M223.4 170.7c.3-.3.5-.6.8-.9-.3.3-.5.6-.8.9zM189.2 212.6l11 22.9 24.7-5.7-11.1 22.8 19.9 15.8L209 274v25.4l-19.8-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zM387.1 241.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.9-2.6 9.5-7.5-5.3-10.9 11.9 2.7zM338.5 125.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6v-12.1l-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zM387.1 58.9l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9 11.9 2.7zM429.5 108.6l5.3 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.5-7.6-9.4 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM399.2 166.5l4.1 12.7h13.3l-10.8 7.8 4.1 12.6-10.7-7.8-10.8 7.8 4.1-12.6-10.7-7.8h13.3z"/><path d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/></g><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><g fill="#D80027"><path d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/></g><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><g fill="#D80027"><path d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></g></svg>`,rm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#338AF3"><path d="M0 0h513v114H0zM0 228h513v114H0zM203.5 117.9l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM308.5 117.9l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM256 147.6l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM203.5 177.3l6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1zM308.5 177.3l6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1z"/></g></svg>`,im=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#0052B4" d="M0 228h513v114H0z"/><g fill="#338AF3"><path d="M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zM203.7 113.2v-44l-17.3-14.4-17.9 14.4v44zM238.9 113.2v-44l17.6-14.4 17.6 14.4v44z"/></g><g fill="#0052B4"><path d="M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zM238.9 113.2h-35.2v-44l17.5-14.4 17.7 14.4z"/></g><path stroke="#D80027" fill="#FFF" d="M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"/><g fill="#D80027"><path d="M168.5 113.2h35.2v35.2h-35.2zM238.9 113.2h35.2v35.2h-35.2zM309.3 113.2h35.2v35.2h-35.2zM203.7 148.4h35.2v35.2h-35.2zM274.1 148.4h35.2v35.2h-35.2zM168.5 183.6h35.2v35.2h-35.2zM203.7 218.8h35.2V254h-35.2zM238.9 183.6h35.2v35.2h-35.2zM309.3 183.6h35.2v35.2h-35.2zM274.1 218.8h35.2V254h-35.2zM309.3 274.3c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zM238.9 254v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z"/></g></svg>`,am=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#A2001D" d="M0 0h513v172H0z"/><path fill="#0052B4" d="M0 172h513v172H0z"/><path fill="#FFF" d="m381.4 251.5-110.7-13.8-110.8 13.8V85.4h221.5z"/><circle fill="#0052B4" cx="270.7" cy="182.3" r="55.4"/><circle fill="#A2001D" cx="270.7" cy="182.3" r="27.7"/><path fill="#6DA544" d="M229.1 113.1h83.1l-41.5 41.5z"/><path fill="#FFDA44" d="M256.8 140.8h27.7v83h-27.7z"/><path fill="#6DA544" d="M314.9 215.5h-88.5l-66.5 36h221.5z"/></svg>`,om=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 228h513v114H0z"/></svg>`,sm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><path fill="#fc0" d="M0 0h300v200H0z"/><path fill="#0768a9" d="M0 0h200v200H0z"/><path fill="#fff" d="M0 0h100v200H0z"/></svg>`,cm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#E00" d="M0 0h513v171H0z"/></svg>`,lm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h171v342H0z"/><path fill="#FF9811" d="M342 0h171v342H342z"/></svg>`,um=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#2E52B2"><path d="M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zM0 277.3h512V320H0z"/></g></svg>`,dm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E52D42" d="M0 0h513v342H0z"/><path fill="#FFF" d="M393.3 68.2h-45.8l-33.8 80.2-34.4-22.9s-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-.6-48.9 7.8-29.6 8.4-30.8 18.7-42.2 18.7-4.8 0-19.9-17.5-27.7-22.3-12.1-7.8-16.9-4.2-13.9 7.2 1.2 4.8 10.9 10.9 16.9 19.9 7.8 11.5 12.7 25.9 12.7 25.9s10.9-10.3 16.9-12.1c9-2.4 19.3 1.8 31.4 0 15.1-2.4 31.4-10.9 31.4-10.9l4.2 43.4s-54.3 50.7-49.5 70.6 56.1 44.6 68.2 62.7c12.1 17.5-7.2 24.1-7.2 32.6s-1.8 19.9 7.2 16.3c9-3.6 10.3-18.1 18.7-31.4 6-9 10.3-13.9 11.5-17.5 1.8-9-23.5-32-37.4-48.9-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6s67.6 27.7 82.6 18.7c15.1-9 19.3-98.3 19.3-98.3l47-11.5-12.1-11.7z"/><path fill="#F8DD4E" d="M279.3 262.4c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.8-182.8c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm0 91.1c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6 0 11.5 4.8 11.5 11.5-.6 6.7-5.5 11.5-11.5 11.5zm-136.9 45.8c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.2-136.9c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-4.8 11.5-11.5 11.5zm22.9 91.1c-6 0-11.5-10.3-11.5-22.9s4.8-22.9 11.5-22.9c6 0 11.5 10.3 11.5 22.9s-4.8 22.9-11.5 22.9zm-114-45.2c-6 0-11.5-4.8-11.5-11.5 0-6.6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5 0 6.6-4.8 11.5-11.5 11.5z"/></svg>`,fm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#181A93" d="M17.3 0h478.4v342H17.3V0z"/><path fill="#FFA44A" d="M0 0h513v114H0V0z"/><path fill="#1A9F0B" d="M0 228h513v114H0V228z"/><path fill="#FFF" d="M0 114h513v114H0V114z"/><circle fill="#FFF" cx="256.5" cy="171" r="34.2"/><path fill="#181A93" d="M256.5 216.6c-25.1 0-45.6-20.5-45.6-45.6s20.5-45.6 45.6-45.6 45.6 20.5 45.6 45.6-20.5 45.6-45.6 45.6zm0-11.4c18.2 0 34.2-16 34.2-34.2s-15.9-34.2-34.2-34.2-34.2 16-34.2 34.2 16 34.2 34.2 34.2z"/><circle fill="#181A93" cx="256.5" cy="171" r="22.8"/></svg>`,pm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0-.3h513V342H0V-.3z"/><path fill="#0052B4" d="M462.9 198.1c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zM0 31.7l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 1-20 6-30.1 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30.1-12v22zm462.9 55.2c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 3.9-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 1 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-8 19-9v-23zm-50.1 133.3c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 0 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-9 19-9v-23z"/><path fill="#FFF" d="M0-.3h256v171H0V-.3z"/><path d="M389.8 119.9H408v78.8h-18.3l.1-78.8zm0 117.8H408v75.1h-18.3l.1-75.1z" fill="#A2001D"/><g fill="#D80027"><path d="M144-.3h-32v70H0v32h112v69h32v-69h112v-32H144v-70z"/><path d="M0-.3v15l57 39h23L0-.3zM256-.3v15l-57 39h-23l80-54z"/><path d="M0-.3v15l57 39h23L0-.3zM256-.3v15l-57 39h-23l80-54zM0 170.7v-15l57-38h23l-80 53zM256 170.7v-15l-57-38h-23l80 53z"/></g><g fill="#2E52B2"><path d="M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zM256 22.7v31h-46l46-31zm-96-23v49l73-49h-73z"/><path d="M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zM256 22.7v31h-46l46-31zm-96-23v49l73-49h-73zM0 147.7v-30h46l-46 30zm96 23v-49l-73 49h73zM256 147.7v-30h-46l46 30zm-96 23v-49l73 49h-73z"/></g><path fill="#5DA51E" stroke="#45602C" stroke-width="4" stroke-miterlimit="10" d="M462.8 91.5h-29.1l25.7-25.7c4.5-4.4 4.5-11.4 0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8 0l-25.9 25.9V37.4c0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2 0-11.3 5.1-11.3 11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9 0l-3.6 3.6c-4.7 4.7-4.7 12.4 0 17.2l25 25.4h-30.6c-6 0-10.9 4.9-10.9 10.9v4.6c0 6 4.9 10.9 10.9 10.9H369l-20.7 20.7c-4.4 4.4-4.4 11.4 0 15.8l3.4 3.4c4.4 4.4 11.4 4.4 15.8 0l19.6-19.6V167c0 6.1 5.1 11.1 11.3 11.3h4.7c6.2 0 11.3-5.1 11.3-11.3v-28.3l22.2 22.6c4.7 4.7 12.4 4.7 17.1 0l3.6-3.6c4.7-4.7 4.7-12.4 0-17.2L435.2 118h27.6c5.9 0 10.7-4.9 10.9-10.9v-4.6c0-6.1-4.9-11-10.9-11z"/><path fill="#E2DD24" stroke="#525625" stroke-width="4" stroke-miterlimit="10" d="M439.2 249.1h-79.8s-.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7 15.9-10.9 33.7.8 48.2.8 11.8.1 26.9-14 45-.8 12.2 8.9 3.9 28.2-1.3 36.7-7 11.5-4.7 21.8-4.7 21.8z"/></svg>`,mm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#CE1126" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><g fill="#547C31"><path d="M219.2 160.7h-29.3c1.5-5.7 6.6-9.9 12.8-9.9v-19.9c-18.3 0-33.1 14.9-33.1 33.1v16.5h49.6c1.8 0 3.3 1.5 3.3 3.3v6.6h-66.2v19.9h86.1v-26.5c0-12.7-10.4-23.1-23.2-23.1zM268.8 190.5v-59.6H249v79.5h33.1v-19.9zM335 190.5v-59.6h-19.8v59.6h-6.6v-19.8h-19.9v39.7h59.6v-19.9z"/></g></svg>`,hm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><g fill="#D80027"><path d="M0 227.9h513v114H0zM278.8 134.8c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z"/></g><g fill="#FFF" opacity=".5"><path d="M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zM89.2 98.9h22.3v24.4H89.2zM133.8 98.9h22.3v24.4h-22.3zM178.4 98.9h22.3v24.4h-22.3zM223 98.9h22.3v24.4H223zM267.7 98.9H290v24.4h-22.3zM312.3 98.9h22.3v24.4h-22.3zM356.9 98.9h22.3v24.4h-22.3zM401.5 98.9h22.3v24.4h-22.3zM446.1 98.9h22.3v24.4h-22.3zM490.7 98.9H513v24.4h-22.3zM44.6 216.9h22.3v25.5H44.6zM0 216.9h22.3v25.5H0zM89.2 216.9h22.3v25.5H89.2zM133.8 216.9h22.3v25.5h-22.3zM178.4 216.9h22.3v25.5h-22.3zM223 216.9h22.3v25.5H223zM267.7 216.9H290v25.5h-22.3zM312.3 216.9h22.3v25.5h-22.3zM356.9 216.9h22.3v25.5h-22.3zM401.5 216.9h22.3v25.5h-22.3zM446.1 216.9h22.3v25.5h-22.3zM490.7 216.9H513v25.5h-22.3z"/></g></svg>`,gm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 210.6H202.2v130.7H122.4V210.6H0V130.8h122.4V0H202.2v130.8H513v18.5l-1 42.7z"/><path fill="#D80027" d="M513 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z"/></svg>`,_m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M342 0H0v341.3h512V0z"/><path fill="#6DA544" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,vm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M301.8 171 513 30.2V0h-45.3L256.5 140.8 45.3 0H0v30.2L211.2 171 0 311.8V342h45.3l211.2-140.8L467.7 342H513v-30.2z"/><path fill="#FFDA44" d="m233.7 44.6 22.3 5.6 22.3-5.6 4-20.9-14.9 6.5L256 14.8l-11.4 15.4-14.9-6.5z"/><path fill="#D80027" d="M233.7 44.6s-4 12.9-4 29.9c0 27.9 26.3 41.3 26.3 41.3s26.3-15.5 26.3-41.3c0-15.4-4-29.9-4-29.9s-8.1-5-22.3-5-22.3 5-22.3 5z"/></svg>`,ym=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h513v342H0z"/><path d="M215.9 171 0 314.6V26.8zM513 26.8v287.8L296.1 171z"/><path fill="#0052B4" d="M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"/><path fill="#FFDA44" d="M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"/></svg>`,bm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 228h513v114H0z"/><path fill="#D80027" d="M256.5 170.7 0 341.3V0z"/><path fill="#FFF" d="m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"/></svg>`,xm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><circle fill="#D80027" cx="256.5" cy="171" r="96"/></svg>`,Sm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h512v90.579H0z"/><path fill="#496E2D" d="M0 251h513v91H0z"/><path fill="#A2001D" d="M0 114h513v114H0z"/><g fill="#FFF"><path d="m323.3 54.5-25.6-11.8L256 137l-41.7-94.3-25.6 11.8 51.8 116.2-51.8 116.2 25.6 11.8 41.7-94.4 41.7 94.4 25.6-11.8-51.8-116.2z"/><path d="M273.4 65.6c-9.9-10.8-17.4-17-17.4-17s-7.5 6.2-17.4 17v210.1c9.9 10.8 17.4 17 17.4 17s7.5-6.2 17.4-17V65.6z"/></g><g fill="#A2001D"><path d="M209 105.9v129.5c10.5 18.5 23.3 33.7 32.9 43.8V62.1c-9.6 10.1-22.4 25.3-32.9 43.8zM303 105.9c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1 22.4-25.3 32.9-43.8V105.9z"/></g><path d="M303 105.9v129.5c10.6-18.8 18.8-41 18.8-64.8s-8.2-45.9-18.8-64.7zM209 105.9v129.5c-10.6-18.8-18.8-41-18.8-64.8s8.2-45.9 18.8-64.7z"/></svg>`,Cm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 342"><g fill="#D80027"><path d="M0 0h513v342H0z"/><circle cx="256" cy="170.7" r="170.7"/></g><path fill="#FFDA44" d="M382.4 170.7 330.8 195l27.5 50-56.1-10.7-7.1 56.6-39.1-41.7-39.1 41.7-7.1-56.6-56.1 10.7 27.5-50-51.6-24.3 51.6-24.3-27.5-50.1 56.1 10.8 7.1-56.7L256 92.1l39.1-41.7 7.1 56.7 56.1-10.8-27.5 50.1z"/><circle fill="#D80027" cx="257.4" cy="170.7" r="71.6"/><g fill="#FFDA44"><path d="M214.2 170.7c-2.1 0-4.1.1-6.2.3.1 12 4.4 22.9 11.6 31.5 3.8-10.3 9.5-19.6 16.7-27.7-6.9-2.7-14.3-4.1-22.1-4.1zM240.8 217.2c5.2 1.9 10.8 2.9 16.6 2.9 5.8 0 11.4-1 16.6-2.9-2.8-11.1-8.7-21-16.6-28.8-7.9 7.8-13.8 17.7-16.6 28.8zM300.2 146c-8.5-14.8-24.5-24.7-42.8-24.7-18.3 0-34.2 9.9-42.8 24.7 15.6.1 30.2 4.3 42.8 11.6 12.6-7.3 27.2-11.6 42.8-11.6zM278.5 174.8c7.2 8 12.9 17.4 16.7 27.7 7.2-8.5 11.5-19.5 11.6-31.5-2-.2-4.1-.3-6.2-.3-7.7 0-15.2 1.4-22.1 4.1z"/></g></svg>`,wm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v114H0zM0 228h513v114H0z"/></g><path fill="#FFF" d="M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"/></svg>`,Tm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 450 300"><path fill="#CE1126" d="M0 0h450v300H0V0z"/><g fill="#FCD116"><circle cx="227.6" cy="161.2" r="56.2"/><path d="m254.1 73.4-23.7 26 28.6 6.5zM202.6 73.6l-4.8 33.1 28.5-8zM296.9 100.3l-34.7 8.5 20.1 23.7zM158.6 98.5l15.5 32.7 20.2-22.7zM317.6 143.8l-34.4-9.9 5.6 29.5zM135.6 141.2l31.9 19.8 5.2-27.7z"/></g><path fill="#003F87" d="M0 175h450v125H0V175z"/><path fill="#FFF" d="M0 267c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#FCD116" d="m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"/></svg>`,Em=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M0 0h513v85.5H0z"/><path fill="#FFF" d="M0 85.5h513V171H0z"/><path fill="#D80027" d="M0 171h513v85.5H0z"/><path fill="#6DA544" d="M256.5 171 0 342V0z"/><g fill="#FFF"><path d="M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7-3.6-.8-7.3-1.2-11.1-1.2-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9c3.8 0 7.5-.4 11.1-1.2-23.3-5.1-40.8-25.9-40.8-50.7z"/><path d="m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.3h8.9zM108.9 148.4l2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/><path d="m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zM108.9 192.9l2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/></g></svg>`,Dm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M512 0H0v342"/><path fill="#FFDA44" d="M307.7 0 0 194.5V342h206.9L513 148.5V0z"/><path d="M513 0H385.2L0 249.4V341l126.2 1L513 91.6z"/><g fill="#FFF"><path d="m141.1 187 31.2 24 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.3-22.2zM310.6 70.8l31.2 23.9 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.4-22.2z"/></g></svg>`,Om=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#91DC5A" d="M0 0h513v342H0z"/><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v57.188H0zM0 284.1h513v57.177H0z"/></g><path fill="#D80027" d="M0 79.9h513v181.582H0z"/><circle fill="#FFF" cx="190.33" cy="171" r="65.668"/><path fill="#D80027" d="m190.3 105 14.8 45.3h47.7l-38.6 28.1 14.8 45.5-38.7-28.2-38.6 28.1 14.8-45.4-38.6-28.1h47.7z"/></svg>`,km=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#FFF" d="M0 0h900v600H0z"/><g transform="rotate(-56.31)"><g stroke="#000" stroke-width="25"><path d="M-75 228.3H75m-150 37.5H75m-150 37.5H75M-75 778.3H75m-150 37.5H75m-150 37.5H75"/></g><path stroke="#FFF" stroke-width="12.5" d="M0 753.3v125"/><circle fill="#ca163a" cy="540.8" r="150"/><path fill="#0e4896" d="M0 390.8c-41.4 0-75 33.6-75 75s33.6 75 75 75 75 33.6 75 75-33.6 75-75 75c-82.8 0-150-67.2-150-150s67.2-150 150-150z"/></g><g stroke="#000" stroke-width="25"><path d="m231.56 535.73-83.205-124.808M262.76 514.928l-83.205-124.807m114.407 104.006-83.205-124.808M689.187 230.644l-83.205-124.807M720.39 209.843 637.184 85.036m114.407 104.006L668.386 64.234"/></g><path stroke="#FFF" stroke-width="12.5" d="m205.6 462.897 31.202-20.8m389.981-259.989 36.444-24.296m31.202-20.801 31.202-20.801"/></svg>`,Am=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><path fill="#D80027" d="M0 228h513v114H0z"/><path d="M167 227.6 0 341.3V0l167 113.8z"/></svg>`,jm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><circle fill="#6DA544" cx="384" cy="96.5" r="29.7"/><path fill="#D80027" d="M332.1 89H436v44.5H332.1z"/><path fill="#496E2D" d="M435.9 170.7z"/><path fill="#FFDA44" d="M332.1 200.3V230h15.6c9.4 9.2 22.2 14.8 36.3 14.8 14.1 0 27-5.7 36.3-14.8H435.9v-29.7H332.1z"/><path fill="#338AF3" d="M332.1 126.1v44.5c0 39.8 51.9 51.9 51.9 51.9s51.9-12.2 51.9-51.9v-44.5H332.1z"/><g fill="#F3F3F3"><path d="M384 149.9c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9zM384 108.3c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9z"/></g><path fill="#FFF" d="M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zM256 170.7v-15.1l-57.4-38.3H176z"/></g></svg>`,Mm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#36B6CC" d="M0 0h513v342H0V0z"/><circle fill="#FFD400" cx="256.5" cy="170.9" r="68.4"/><path fill="#FFD400" d="m256.5 251.5-27.9 41.7-7.1-49.7-43.2 25.5 15.2-47.8-50 4.2 34.4-36.5-46.9-18 46.8-18-34.4-36.5 50 4.2-15.2-47.8 43.2 25.4 7.1-49.7 27.9 41.7 27.9-41.7 7.1 49.7 43.2-25.4-15.2 47.8 50-4.2-34.3 36.6 46.8 17.9-46.8 18 34.4 36.5-50-4.2 15.2 47.8-43.2-25.4-7.1 49.7c0-.1-27.9-41.8-27.9-41.8zm0-.8c44.1 0 79.9-35.8 79.9-79.9S300.6 91 256.5 91s-79.9 35.8-79.9 79.9 35.8 79.8 79.9 79.8zM22.8 28.3c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V28.3zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V74zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm22.8-22.8c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7V245c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V188zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V96.8zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V51.2z"/></svg>`,Nm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 .1h513v90.7H0zM0 251.3h513V342H0z"/></g><circle fill="#FFF" cx="256.5" cy="171" r="65.9"/></svg>`,Pm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 .2h513v90.7H0zM.5 251.3H513V342H.5z"/></g><path fill="#6DA544" d="M290.3 193.5 256 130.7l-34.3 62.8h25.7v17.2h17.2v-17.2z"/><path fill="#14AF5A" d="M241.3 213.1c4.4-4.4 4.4-11.6-.1-16l4.7 4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5 5.9c-6.1 1.5-6.8-.4-1.8-4.2l27.1-20.3c5.1-3.8 4.2-6.9-2.3-6.9h-11c-6.4 0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8 5.1-5.1-1.5-5.1h-11c-6.4 0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8 12.9-3.8 18.5 0l27.1 20.3c5.1 3.8 4.2 6.9-2.3 6.9h-11c-6.4 0-7 2.3-1.5 5.1l25.3 12.7c5.6 2.8 5.1 5.1-1.5 5.1h-11c-6.4 0-7.4 3.1-2.3 6.9l27.1 20.3c5.1 3.8 4.4 5.7-1.8 4.2l-23.5-5.9c-6.8-1.3-13.9.6-19.1 5.3l4.7-4.7c-4.4 4.4-4.5 11.5-.1 16l6.8 6.8c4.4 4.4 3.1 8-3.3 8h-45.8c-6.2 0-7.7-3.6-3.3-8 .1.1 6.9-6.8 6.9-6.8z"/></svg>`,Fm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#55B2FF" d="M0 0h513v342H0z"/><path fill="#F3F3F3" d="M148.5 298.1h216l-108-254.2z"/><path fill="#333" d="m186 272.7 70.5-160.3L327 272.7z"/><path fill="#FFDA44" d="M148.5 298.1h216l-108-101.7z"/></svg>`,Im=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h513v171H0z"/><path fill="#FFDA44" d="M149.3 98.1c0-14-11.3-25.3-25.3-25.3-6.5 0-12.4 2.4-16.9 6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4-14 0-25.3 11.3-25.3 25.3 0 7.5 3.3 14.2 8.4 18.8v14.9h84.3V117c5.3-4.7 8.5-11.5 8.5-18.9z"/></svg>`,Lm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#A2001D" d="M222.6 22.3h267.1v296.8H222.6z"/><path fill="#D80027" d="M22.3 22.3h200.3v296.8H22.3z"/><path fill="#FFDA44" d="M200.3 0h22.3v342h-22.3z"/><path fill="#6DA544" d="M22.3 22.3h89v296.8h-89z"/><path fill="#FF9811" d="M111.3 22.3h89v296.8h-89z"/><path fill="#FFDA44" d="M368.2 156.8c-1.4-2 0-37.9 0-37.9.9-7.4.1-8.4 1-11.4.9-2.9 5.4-11.6 5.4-11.6s-6-2.3-10.3-.6c-4.3 1.7-24.7-7.5-31.2 3.4-4.4 7-23.6 16.2-24.6 14-1-2.2-5.9-5-6.9-2.9s-.7 13.9 0 16c.8 2.6 9.8 2 12.3 3.1 3.7 1.8 12.2 8.2 11.9 10.7-.3 2.5-22.5-6-24.2-4.5-1.4 1.2-1.9 13.2-.4 15 1.8 2.1 23.4 5.6 25 7.5 1.6 1.9-13.1 7.4-12.3 25 .7 14.7 8 17.4 8 17.4s-2.4 3.6-7.8 3.1c-6.2-.6-27.4-17.7-27.4-17.7s-3.5-109 3.6-121.4c4.9-8.5-22.7 10.1-22.7 50.8V151c0 6.6-1.4 22.4 2.6 34 0 0-.4 46.9 1.5 49.6s12.7 2.2 14.8 0 0-30 0-30c7.7.2 18.3 17.5 32.5 16.4 20.6-1.6 28.7-9.9 34.3-5 8.1 7.1 5.5 23.2.4 31.5-2.2 3.5-14.3 4.7-15.7 7.6-1.4 2.9.5 5.4.5 5.4h29.7s1.4-20.5 2.7-26.1c1.3-5.7-.6-10.7 5.9-10.4 23.5 1.1 39.8-15.3 45.5-8 3.2 4.1 5.6 29.9 3.3 33.3-2.2 3.4-13.8 2.8-15.2 6.7-1.4 4 .8 4.4.8 4.4h29.7s-.4-21.2 2.5-27.7 4.9-10.4 9.3-17.2c4.4-6.8 11.3-15.7 11.3-36.2 0-14.2-8.1-22.8-8.1-22.8H417c-14.1.2-47.4 2.3-48.8.3zM232.2 32.3c10.7-10.6 20.2-2.7 22.2 2.1 1.9 4.8 2.1 8.2 2.8 13.6.9 6.9 4.9 14 4.9 14s-7.1-3.8-14.7-4.2c-4.7-.3-9-.6-13.6-2.5-5.7-2.3-11.7-12.9-1.6-23zM480.6 32.2c10.7 10.6 2.8 20.2-2 22.2s-8.2 2.1-13.6 2.8c-6.9.9-14 5-14 5s3.7-7.1 4.2-14.7c.3-4.7.6-9.1 2.4-13.6 2.2-5.7 12.8-11.8 23-1.7zM480.7 309.1c-10.7 10.6-20.2 2.6-22.2-2.2-1.9-4.8-2.1-8.2-2.7-13.6-.8-6.9-4.9-14.1-4.9-14.1s7 3.8 14.7 4.3c4.7.3 9 .6 13.6 2.5 5.7 2.4 11.7 13.1 1.5 23.1zM232.5 309c-10.6-10.7-2.7-20.2 2.1-22.2 4.8-1.9 8.2-2.1 13.6-2.8 6.9-.9 14-4.9 14-4.9s-3.8 7.1-4.2 14.7c-.3 4.7-.6 9-2.5 13.6-2.3 5.7-12.9 11.8-23 1.6z"/><path fill="none" stroke="#FFDA44" stroke-width="6" stroke-miterlimit="10" d="M446.9 162.4s7.5-2.6 8.4-16.1c.6-8.6-19.8-16-39-11.5-19.7 4.6-34-3.1-34-14.6 0-22.9 29.7-16.2 38.9-11.3 9.1 4.9 29.7 23.5 35.1 9.4"/></svg>`,Rm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#bf0a30"><path d="M0 0h513v31.1H0zM0 62.2h513v31.1H0zM0 124.5h513v31.1H0zM0 186.8h513v31.1H0zM0 249.3h513v31.1H0zM0 310.9h513V342H0z"/></g><path fill="#002868" d="M0 0h155.6v155.6H0z"/><path fill="#FFF" d="m77.8 30.2 10.7 32.9h34.6l-28 20.4 10.7 32.9-28-20.3-28 20.3 10.7-32.9-28-20.4h34.6z"/></svg>`,zm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 227.6h513v114H0z"/><path d="m245.2 171 7.7-23.1c2-5.9 5.1-6 7.1 0l7.7 23.1 19.4 29.1c1.7 2.6 1.3 6.3-1.2 8 0 0-6.9 8-29.5 8s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8l19.5-29.1z"/><path d="M256.5 171c-12.5 0-22.6-10.1-22.6-22.6 0-12.5 10.1-22.6 22.6-22.6s22.6 10.1 22.6 22.6c0 12.5-10.2 22.6-22.6 22.6zm0 0c6.2 0 11.3-16.3 11.3-22.6 0-6.2-5.1-11.3-11.3-11.3-6.2 0-11.3 5.1-11.3 11.3 0 6.3 5 22.6 11.3 22.6z"/></svg>`,Bm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M0 0h513v114H0z"/><path fill="#D80027" d="M0 228h513v114H0z"/></svg>`,Vm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#338AF3" d="M0 228h513v114H0z"/></svg>`,Hm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#A2001D"><path class="st1" d="M0 0h513v127.6H0zM0 214.4h513V342H0z"/></g></svg>`,Um=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#496E2D" d="M0 228h513v114H0z"/><g fill="#FFF"><path d="m281.4 150.7 9 12.3 14.5-4.7-9 12.4 9 12.3-14.5-4.7-9 12.3v-15.2l-14.5-4.7 14.5-4.7z"/><path d="M257 201.5c-17 0-30.9-13.8-30.9-30.9s13.8-30.9 30.9-30.9c5.3 0 10.3 1.3 14.7 3.7-6.9-6.7-16.2-10.8-26.6-10.8-21 0-38 17-38 38s17 38 38 38c10.3 0 19.7-4.1 26.6-10.8-4.4 2.4-9.4 3.7-14.7 3.7z"/></g></svg>`,Wm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 .3V342h513V.3z"/><path fill="#20661B" d="M359.8 148.9h-73.3l-22.7-69.7-22.7 69.7h-73.3l59.3 43.1-22.7 69.7 59.3-43.1 59.3 43.1-22.5-69.7 59.3-43.1zm-116.1 37.7 7.7-23.6h24.8l7.7 23.6-20.1 14.6-20.1-14.6zm27.9-37.7H256l7.8-24 7.8 24zm24.3 29-4.8-14.9h25.3l-20.5 14.9zM236.6 163l-4.8 14.9-20.5-14.9h25.3zm-5.3 61.8 7.8-24 12.6 9.2-20.4 14.8zm44.5-14.9 12.6-9.2 7.8 24-20.4-14.8z"/></svg>`,Gm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.333h512v341.333H0z"/><path fill="#c70000" d="M0 85.333h512V256H0z"/></svg>`,Km=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#AF7F59" d="M206.2 129.1h33.2L256 79.3l16.6 49.8h33.2v99.6L256 262l-49.8-33.2v-99.7zm33.2 33.3v49.8h33.2v-49.8h-33.2z"/></svg>`,qm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E6BE53" d="M0 0h513v342H0z"/><path fill="#E01D24" d="M20 20h473v302H20z"/><path fill="#E6BE53" d="M248.5 112.9c4.4 4.4 11.6 4.4 16 0l-4.7 4.7 22.7-22.7c4.9-4.5 12.1-5.6 18.2-2.8l2.1 1c5.7 2.9 6.7 8.7 2.3 13.1l4.7-4.7-22.8 22.8c-4.5 4.9-5.6 12.1-2.8 18.2l1 2.1c2.9 5.7 5.1 15.4 5.1 21.6v-11.3c0 6.2 4.4 9.1 10.2 6.2l2.1-1c5.7-2.9 6.7-8.7 2.3-13.1l4.7 4.7c-4.4-4.4-4.4-11.6 0-16l-4.7 4.7c5.2-5.5 9.6-11.6 13.1-18.2l1-2.1c2.9-5.7 6.3-15.1 7.9-21.2l5.8-23.3c1.5-6 5.9-6.8 9.6-1.8l20.2 26.9c3.8 5.1 6.9 14 6.9 20.6v22.4c0 6.3-2.2 15.8-5.1 21.7l-1 2.1c-3.5 6.6-7.9 12.7-13.1 18.2l-6.8 6.8c-5.4 5.2-11.5 9.6-18.2 13.1l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.2 0-6.9 2.2-1.1 5.1l2.1 1c5.7 2.9 13.8 8.7 18.2 13.1l-4.7-4.7c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L339 226c4.6 4.9 5.7 12.1 2.9 18.2l-1 2.1c-2.9 5.7-10.4 10.2-16.4 10.2-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7c-4.4 4.7-5.2 11.8-1.8 17.3l10.3 15.4c3.4 5.1 2 12.1-3.1 15.5L266 284.4c-5.7 3.4-12.8 3.4-18.6 0L232 274.1c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5 2.6-12.6-1.8-17.3l4.7 4.7c-4.4-4.4-10.2-3.6-13.1 2.3l-1 2.1c-2.9 5.7-9.5 12.4-15.4 15.4l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.9-.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3 2.9-18.2l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L181 226c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c5.5-5.2 11.6-9.6 18.2-13.1l2.1-1c5.7-2.9 5-5.1-1.1-5.1-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3 3.1-15.6 6.9-20.6l20.2-26.9c3.8-5.1 8.1-4.3 9.6 1.8l5.8 23.3c2 7.3 4.6 14.4 7.9 21.2l1 2.1c2.9 5.7 8.7 13.8 13.1 18.2l-4.7-4.7c4.4 4.4 4.4 11.6 0 16l4.7-4.7c-4.4 4.4-3.6 10.2 2.3 13.1l2.1 1c5.7 2.9 10.2 0 10.2-6.2v11.3c0-6.2 2.2-15.7 5.1-21.6l1-2.1c2.8-6.1 1.7-13.2-2.8-18.2l-22.7-22.7 4.7 4.7c-4.4-4.4-3.6-10.2 2.3-13.1l2.1-1c6.1-2.8 13.2-1.7 18.2 2.8l22.7 22.7-4.8-4.5zm-18-40.7c-4.4-4.4-3.2-9.5 2.8-11.5l12.4-4.2c6-2 15.5-2 21.5 0l12.4 4.2c6 2 7.2 7.1 2.8 11.5l-6.8 6.8c-5.3 4.7-12.1 7.5-19.2 7.9-6.2 0-14.8-3.5-19.2-7.9.1 0-6.7-6.8-6.7-6.8z"/><path fill="#215F90" d="M233.9 200.2c0 6.2 1.7 6.4 4.2.5 0 0 7.1-23.2 18.4-23.2 11.3 0 18.6 23.6 18.6 23.6 2.2 5.7 4 5.3 4-1.1v-11.2c0-18.7-10.1-33.9-22.6-33.9-12.5 0-22.6 15.2-22.6 33.9v11.4z"/></svg>`,Jm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 72"><path d="M0 0h108v72H0z" fill="#003787"/><path d="M0 0h108L60 48v24H48V48z" fill="#fff"/><circle cx="54" cy="30" r="8" fill="#f9d90f"/><path d="M44 30h20L54 48z" fill="#fff"/><path d="M54 48 38 33h32z" fill="#cf142b"/></svg>`,Ym=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#6DA544" d="M512 426.666V85.329H0v341.337h512z"/><path fill="#D80027" d="M512 85.331H0v170.666h512V85.331z"/><path fill="#FFF" d="M0 85.334h181.793v341.337H0z"/></svg>`,Xm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#1E509C" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 176.1V81.3L0 342l513-165.9z"/><path fill="#F18D36" d="M513 0v81.3L0 342 513 0z"/><path fill="#FFF" d="m126.7 99.3-7.8-54.1-7.7 54.1-20.8-23.7 10.7 31.6-31.5-10.7 23.6 20.8-54.1 7.7 54.1 7.7-23.6 20.8 31.5-10.7-10.7 31.6 20.8-23.7 7.7 54.1 7.8-54.1 20.7 23.7-10.6-31.6 31.5 10.7-23.6-20.8 54-7.7-54-7.7 23.6-20.8-31.5 10.7 10.6-31.6z"/></svg>`,Zm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.333h512V426.67H0z"/><g fill="#D80027"><path d="M383.875 426.662 256 252.286l26.827 174.376zM133.565 85.33 256 252.286 230.314 85.33zM229.171 426.662 256 252.286 128.124 426.662zM0 85.33V212.9l256 39.386L28.333 85.33zM0 426.662h18.212L256 252.286 0 291.67zM256 252.286 512 212.9V85.33h-28.331zM281.686 85.33 256 252.286 378.434 85.33zM512 426.662V291.671l-256-39.385 237.787 174.376z"/><circle cx="256" cy="252.29" r="59.359"/></g><circle fill="#FFDA44" cx="256" cy="252.29" r="44.522"/></svg>`,Qm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#6DA544" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,$m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#6DA544" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M0 85.337h512v113.775H0z"/><path fill="#D80027" d="M0 312.888h512v113.775H0z"/><path fill="#FFF" d="M384 227.261h-97.783L256 134.265l-30.217 92.997H128l79.108 57.475-30.217 92.998L256 320.925l79.108 56.81-30.217-92.998L384 227.261z"/></svg>`,eh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#095FAD" d="M0 0h513v342H0z"/><g fill="#BE1229"><path d="M342 0h171v342H342zM0 0h171v342H0z"/></g><g fill="#FFDA44"><path d="M108.3 166.3h14.8v74.2h-14.8zM48.9 166.3h14.8v74.2H48.9z"/><circle cx="86" cy="203.4" r="14.8"/><path d="M71.2 225.7h29.7v14.8H71.2zM71.2 166.3h29.7v14.8H71.2z"/><circle cx="86" cy="144" r="14.8"/><path d="M76.3 123.9h19.5L86 108.3z"/></g></svg>`,th=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#00745a" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="M285.682 248.878c-4.19 0-8.166.836-11.861 2.164 2.023-4.509 3.379-9.527 3.379-14.885 0-21.201-21.201-37.101-21.201-37.101s-21.201 15.901-21.201 37.101c0 5.357 1.356 10.375 3.379 14.885-3.693-1.328-7.671-2.164-11.861-2.164-21.201 0-37.101 21.201-37.101 21.201s15.901 21.201 37.101 21.201c12.429 0 23.031-7.286 29.682-13.315 6.65 6.03 17.251 13.315 29.682 13.315 21.201 0 37.101-21.201 37.101-21.201s-15.899-21.201-37.099-21.201z"/><g fill="#FFDA44"><path d="m256 152.111 4.38 13.476h14.171l-11.464 8.332 4.376 13.476-11.463-8.33-11.463 8.33 4.376-13.476-11.464-8.332h14.171zM202.112 175.683l8.425 7.585 9.818-5.667-4.61 10.355 8.423 7.588-11.274-1.185-4.611 10.355-2.358-11.088-11.275-1.185 9.818-5.669zM162.662 215.132l11.09 2.358 5.668-9.818 1.186 11.274 11.089 2.358-10.357 4.61 1.186 11.274-7.587-8.423-10.357 4.61 5.669-9.818zM309.889 175.683l-8.425 7.585-9.818-5.667 4.611 10.355-8.425 7.588 11.275-1.185 4.61 10.355 2.359-11.088 11.275-1.185-9.818-5.669zM349.338 215.132l-11.089 2.358-5.669-9.818-1.186 11.274-11.088 2.358 10.357 4.61-1.185 11.274 7.586-8.423 10.357 4.61-5.669-9.818z"/></g><g fill="#FFF"><path d="M256 350.642c16.84 0 32.363-5.619 44.816-15.073h-89.63c12.451 9.454 27.974 15.073 44.814 15.073zM187.977 306.12a74.138 74.138 0 0 0 8.85 15.073h118.345a74.13 74.13 0 0 0 8.85-15.073H187.977z"/></g></svg>`,nh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 500"><path fill="#0071BC" d="M0 0h750v500H0V0z"/><g fill="#FFF" stroke="#000" stroke-width="1.9"><circle cx="375" cy="245" r="225" fill="#fff"/><circle cx="375" cy="245" r="165" fill="#0071BC"/></g><g stroke="#000"><path fill="#8C8A8C" stroke-width="1.9" d="M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z"/><path fill="#FFF" stroke-width="2" stroke-linejoin="round" d="m373 114 30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"/></g></svg>`,rh=`<svg viewBox="0 0 900 600" xmlns="http://www.w3.org/2000/svg"><path fill="#231f1e" d="M0 0h900v600H0z"/><path fill="#00a650" d="M0 0h900v300H0z"/><path fill="#ef1923" d="m0 0 450 300L0 600z"/></svg>`,ih=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 100 513 342"><path fill="#006233" d="M0 100h513v342H0z"/><path fill="#cd2a3e" d="M0 100h513v46H0zM0 396h513v46H0z"/><path fill="#ffc400" d="M256 298.851c-45.956 0-84.348-32.298-93.767-75.429A96.288 96.288 0 0 0 160 243.994c0 53.02 42.979 96 96 96s96-42.98 96-96c0-7.066-.785-13.942-2.233-20.572-9.419 43.131-47.811 75.429-93.767 75.429z"/><path fill="#ffc400" d="m255.999 171.994 8.935 27.502h28.918l-23.394 16.996 8.936 27.503-23.395-16.998-23.394 16.998 8.937-27.503-23.394-16.996h28.915z"/></svg>`,ah=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#1B4991" d="M0 0h513v342H0z"/><path fill="#00A2B8" stroke="#FFF" stroke-width="3" d="M318.2 106.7v106.5c0 51.9 67.8 67.8 67.8 67.8s67.8-15.9 67.8-67.8V106.7H318.2z"/><path fill="#A35023" d="M319.7 212.7c0 50.8 66.3 66.3 66.3 66.3s66.3-15.6 66.3-66.3H319.7z"/><path d="M415.1 155.1h-19.4v-19.4h-19.4v19.4H357v19.4h19.3v58.1h19.4v-58.1h19.4z"/><path fill="#FFF" d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#D80027" d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#D80027" d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></svg>`,oh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#C31B28" d="M256 0h256.5v342H256z"/><path fill="#ACABB1" stroke="#C31B28" stroke-width="2" d="M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"/></svg>`,sh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#f7ce00" d="M0 85.331h512v341.326H0z"/><path fill="#e32737" d="M0 85.331h512v85.337H0z"/><path fill="#191f6a" d="M0 170.657h512v85.337H0z"/><path fill="#00a04e" d="M0 341.331h512v85.337H0z"/></svg>`,ch=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#d01920" d="M0 85.331h512v341.333H0z"/><path fill="#017c3b" d="M144.696 174.375h222.609v163.25H144.696z"/><path fill="#FFF" d="M283.484 304.226c-26.637 0-48.232-21.594-48.232-48.232s21.594-48.232 48.232-48.232c8.306 0 16.12 2.1 22.943 5.797-10.703-10.467-25.341-16.927-41.494-16.927-32.784 0-59.362 26.577-59.362 59.362s26.578 59.362 59.362 59.362c16.154 0 30.791-6.461 41.494-16.927-6.822 3.698-14.636 5.797-22.943 5.797z"/></svg>`,lh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 342"><path fill="#272727" d="M0 0h512v114H0z"/><path fill="#e40112" d="M0 114h512v114H0z"/><path fill="#07893f" d="M0 228h512v114H0z"/><circle fill="#e40112" cx="256" cy="125" r="95"/></svg>`,uh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#dc2339" d="M342 0H0v341.3h513V0z"/><path fill="#11865d" d="M0 0h171v342H0z"/><path fill="#FFF" d="M171 0h171v342H171z"/><path fill="#8C9157" d="M195.8 171.2c0 21.6 11.5 41.7 30.3 52.5 5.8 3.4 13.2 1.4 16.6-4.4 3.4-5.8 1.4-13.2-4.4-16.6-11.3-6.5-18.2-18.5-18.2-31.5 0-6.7-5.4-12.1-12.1-12.1-6.7 0-12.2 5.4-12.2 12.1zm93.4 51.1c17.5-11.1 28-30.4 28-51.1 0-6.7-5.4-12.1-12.1-12.1s-12.1 5.4-12.1 12.1c0 12.4-6.3 24-16.8 30.7-5.7 3.5-7.5 10.9-4.1 16.7s10.9 7.5 16.7 4.1c0-.2.2-.3.4-.4z"/><ellipse fill="#C59262" cx="256.5" cy="159.1" rx="24.3" ry="36.4"/></svg>`,dh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#c00"><path d="M0 0h513v24.4H0zM0 48.9h513v24.4H0zM0 97.7h513v24.4H0zM0 146.6h513V171H0zM0 195.4h513v24.4H0zM0 244.3h513v24.4H0zM0 293.1h513v24.4H0z"/></g><path fill="#006" d="M0 0h256.5v195.4H0z"/><path d="M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z" fill="#fc0"/></svg>`,fh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#FFF" d="M0 85.333h513v342H0z"/><path fill="#f4d900" d="M0 323.333h513v104H0z"/><path fill="#006d66" d="M0 85.333h513v104H0z"/><path d="M0 204.333h513v104H0z"/><path fill="#cb0f31" d="M256 256.006 0 426.668V85.331z"/><path fill="#f4d900" d="m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"/></svg>`,ph=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 426.663V85.337h512"/><path fill="#FFF" d="M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"/><path fill="#A2001D" d="M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"/><path fill="#FFDA44" d="m187.737 189.212-22.741 10.696 12.11 22.024-24.693-4.724-3.129 24.945-17.199-18.347-17.2 18.347-3.129-24.945-24.693 4.723 12.109-22.023-22.739-10.696 22.74-10.697-12.11-22.022 24.693 4.722 3.13-24.944 17.199 18.347 17.2-18.347 3.128 24.944 24.693-4.722-12.108 22.024z"/></svg>`,mh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 426.7"><path fill="#009543" d="M0 293h640v133.7H0V293z"/><path fill="#ED4135" d="M0 132h640v161.3H0V132z"/><path fill="#0035AD" d="M0 0h640v133.3H0V0z"/><circle fill="#FAE600" stroke="#000" stroke-width="5.3" cx="240" cy="213.3" r="157.3"/><path d="m307.9 354.5-31.8 12-36.1 4.2-37.8-2.4-35.9-15.5s28.6-29.3 40.7-33.5c8.6-3 22.4-3.7 22.4-3.7V122l-.3-66H246l-.5 67.5v191.7s15.3 1.2 22.1 4.1c11.3 4.9 40.3 35.2 40.3 35.2z"/><path d="m212.727 102.375 42.955-21.418 5.577 11.187-42.955 21.417z"/><ellipse cx="237.8" cy="280.5" rx="16.8" ry="26.5"/><circle cx="237.4" cy="143.4" r="20.9"/><ellipse cx="238.4" cy="211.1" rx="19.9" ry="12.1"/><path d="M213.8 177h47v10h-47zM213.8 234h47v10h-47z"/></svg>`,hh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#e05206" d="M0 85.337h512v113.775H0z"/><path fill="#0db02b" d="M0 312.888h512v113.775H0z"/><circle fill="#e05206" cx="256" cy="256" r="32"/></svg>`,gh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.5 513 342"><path fill="#FFF" d="M0 85.5h513v342H0z"/><g fill="#007b23"><path d="M0 85.5h171v342H0zM342 85.5h171v342H342zM304 311.995l-48-152.001-48 152.001h36v39.999h24v-39.999z"/></g></svg>`,_h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.5 513 342"><path fill="#FFF" d="M0 85.5h513v342H0z"/><g fill="#007b23"><path d="M0 85.5h171v342H0zM342 85.5h171v342H342z"/></g></svg>`,vh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#338AF3"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M256 214.447c-22.949 0-41.553 18.603-41.553 41.553S233.05 297.553 256 297.553c22.949 0 41.553-18.603 41.553-41.553S278.949 214.447 256 214.447zm0 65.298c-13.114 0-23.745-10.631-23.745-23.745s10.631-23.745 23.745-23.745 23.745 10.631 23.745 23.745-10.631 23.745-23.745 23.745z"/><path fill="#0052B4" d="M276.563 261.936 256 256l-20.563 5.936-6.855 11.873h54.836z"/><path fill="#338AF3" d="m256 226.32-13.709 23.744L256 256l13.709-5.936z"/><path fill="#6DA544" d="M235.437 261.936h41.126l-6.854-11.872h-27.418z"/></svg>`,yh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 114h513v114H0z"/><path fill="#cd1f2a" d="M0 0h513v114H0z"/><path fill="#1d4185" d="M0 228h513v114H0z"/></svg>`,bh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z"/><path fill="#2E52B2" d="M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"/></svg>`,xh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 426.663V85.337l280.419 174.75H87.61l183.576 166.576z"/><path fill="#D80027" d="M244.769 249.888 10.199 103.71v312.754h234.57L61.193 249.888z"/><g fill="#FFF"><path d="m98.003 324.433-14.589-6.863 7.77-14.13-15.844 3.03-2.008-16.005-11.035 11.772-11.036-11.772-2.008 16.005-15.843-3.031 7.77 14.131-14.591 6.863 14.591 6.862-7.77 14.13 15.844-3.029 2.007 16.004 11.036-11.772L73.332 358.4l2.008-16.004 15.843 3.03-7.769-14.13zM88.268 191.662l-10.612-4.991 5.651-10.278-11.523 2.205-1.461-11.641-8.026 8.561-8.026-8.561-1.46 11.641-11.525-2.205 5.652 10.278-10.613 4.991 25.972 5.194z"/><path d="M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165"/></g></svg>`,Sh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M0 239.994h512v32H0z"/><path fill="#FFF" d="m174.802 341.329-19.124 8.996 10.184 18.521-20.767-3.973-2.631 20.978L128 370.422l-14.465 15.429-2.63-20.978-20.767 3.973 10.183-18.521-19.123-8.996 19.124-8.995-10.184-18.52 20.766 3.971 2.632-20.978L128 312.236l14.465-15.429 2.63 20.978 20.767-3.971-10.183 18.521z"/></svg>`,Ch=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M0 85.334h256v170.663H0z"/><g fill="#D80027"><path d="M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"/><path d="M0 85.329v15.083l57.377 38.251H80z"/></g><g fill="#2E52B2"><path d="M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z"/></g><path fill="#D80027" d="M256 85.329v15.083l-57.377 38.251H176z"/><g fill="#2E52B2"><path d="M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z"/></g><path fill="#D80027" d="M0 85.329v15.083l57.377 38.251H80z"/><g fill="#2E52B2"><path d="M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z"/></g><path fill="#D80027" d="M256 85.329v15.083l-57.377 38.251H176z"/><g fill="#2E52B2"><path d="M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z"/></g><path fill="#D80027" d="M0 255.997v-15.082l57.377-38.252H80z"/><g fill="#2E52B2"><path d="M0 233.376v-30.713h46.069zM96 255.994v-48.912l-73.372 48.912z"/></g><path fill="#D80027" d="M256 255.997v-15.082l-57.377-38.252H176z"/><g fill="#2E52B2"><path d="M256 233.376v-30.713h-46.069zM160 255.994v-48.912l73.372 48.912z"/><circle cx="128" cy="170.66" r="22.627"/></g><g fill="#FFDA44"><path d="m128 154.663 3.97 12.222h12.854l-10.398 7.556 3.971 12.222L128 179.109l-10.398 7.554 3.972-12.222-10.398-7.556h12.853zM128 219.803l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM128 102.469l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM197.931 161.136l2.365 7.277h7.653l-6.192 4.499 2.365 7.279-6.191-4.498-6.191 4.498 2.365-7.279-6.191-4.499h7.652zM58.069 161.136l2.364 7.277h7.653l-6.191 4.499 2.364 7.279-6.19-4.498-6.191 4.498 2.365-7.279-6.192-4.499h7.653z"/></g></svg>`,wh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.334h512v341.337H0z"/><g fill="#D80027"><path d="m425.301 233.745 3.388 10.428h10.963l-8.87 6.444 3.388 10.427-8.869-6.444-8.871 6.444 3.388-10.427-8.87-6.444h10.963zM386.107 308.817l5.083 15.642h16.445l-13.305 9.667 5.082 15.64-13.305-9.667-13.305 9.667 5.083-15.64-13.305-9.667h16.445zM387.588 185.971l4.236 13.036h13.704l-11.088 8.054 4.235 13.034-11.087-8.056-11.088 8.056 4.235-13.034-11.087-8.054h13.704zM349.876 233.291l5.082 15.641h16.446l-13.306 9.666 5.084 15.641-13.306-9.666-13.305 9.666 5.082-15.641-13.305-9.666h16.445z"/></g><path fill="#FFF" d="M256.003 85.329v30.564l-45.178 25.088h45.178v59.359H196.89l59.113 32.846v22.806h-26.69l-73.484-40.826v40.826h-55.652v-48.573l-87.429 48.573H.003v-30.553l45.168-25.099H.003v-59.359h59.103L.003 108.147V85.329h26.68l73.494 40.838V85.329h55.652v48.573l87.43-48.573z"/><path fill="#D80027" d="M144 85.33h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915zM71.846 200.344 0 240.259v15.739l100.174-55.654z"/></g><path fill="#0052B4" d="M100.174 140.983 0 85.33v15.738l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.983 0 85.33v15.738l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.983 0 85.33v15.738l71.847 39.915zM184.154 140.983 256 101.068V85.33l-100.174 55.653z"/></g></svg>`,Th=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M138 0h377v114H138z"/><path fill="#4A7C3A" d="M138 230h377v114H138z"/><g fill="none" stroke="#FFF" stroke-width="10" stroke-miterlimit="2"><path d="M40.3 35.2s37.1 48 50.8 54.5c13.7 6.5 17.1 5.7 17.1 5.7"/><path d="M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8M51.7 65.3h37.9M70.7 35.2v30.1"/></g></svg>`,Eh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M256 256v170.663H0V256h256z"/><path fill="#D80027" d="M512 85.337V256H256V85.337h256z"/><path fill="#0052B4" d="m128 123.034 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L128 195.813l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"/><path fill="#D80027" d="m384 293.697 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L384 366.476l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"/></svg>`,Dh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.331h170.663v341.337H0zM341.337 85.331H512v341.337H341.337z"/></g></svg>`,Oh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M293.991 256c0 20.982-17.01 33.243-37.992 33.243S218.008 276.982 218.008 256s17.01-37.992 37.992-37.992 37.991 17.01 37.991 37.992z"/><path fill="#0052B4" d="M293.991 256c0 20.982-17.01 37.992-37.992 37.992s-37.992-17.01-37.992-37.992"/><g fill="#D80027"><path d="M232.259 246.506h9.498v19h-9.498zM270.247 246.506h9.498v19h-9.498zM251.247 232.259h9.498v33.243h-9.498z"/></g></svg>`,kh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.333h512V426.67H0z"/><path fill="#A2001D" d="M0 85.33h512v341.332"/><g fill="#FFF"><path d="m204.631 326.488 2.762 8.504h8.941l-7.233 5.255 2.763 8.502-7.233-5.254-7.233 5.254 2.762-8.502-7.233-5.255h8.94zM181.797 244.866l4.605 14.172h14.901l-12.056 8.757 4.605 14.172-12.055-8.759-12.055 8.759 4.606-14.172-12.056-8.757h14.901zM181.797 348.749l4.604 14.173h14.902l-12.057 8.757 4.606 14.173-12.055-8.759-12.055 8.759 4.604-14.173-12.054-8.757h14.899zM225.363 281.967l4.606 14.172h14.901l-12.056 8.758 4.605 14.172-12.056-8.759-12.054 8.759 4.606-14.172-12.056-8.758h14.901zM138.23 281.967l4.606 14.172h14.899l-12.054 8.758 4.603 14.172-12.054-8.759-12.055 8.759 4.605-14.172-12.055-8.758h14.9z"/></g><path fill="#FFDA44" d="M376.526 204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795c-12.698-12.698-29.714-18.431-46.319-17.218a44.31 44.31 0 0 0-11.396-19.511l-12.593 25.186a18.47 18.47 0 0 0-3.148-4.197c-7.245-7.245-18.991-7.244-26.234 0s-7.245 18.99 0 26.234a18.536 18.536 0 0 0 4.197 3.148l-25.186 12.593a44.303 44.303 0 0 0 19.519 11.399c-1.217 16.606 4.511 33.619 17.209 46.317L324.12 214.6a11.053 11.053 0 0 1 7.807-3.202c2.973 0 5.768 1.158 7.87 3.26a11.055 11.055 0 0 1 3.26 7.87c0 2.974-1.158 5.768-3.26 7.87l10.494 10.494c4.905-4.905 7.607-11.428 7.607-18.364 0-5.675-1.81-11.071-5.153-15.534a29.492 29.492 0 0 1 13.288 7.662c11.573 11.572 11.573 30.403 0 41.975l10.494 10.494c8.409-8.409 13.039-19.59 13.039-31.481-.001-11.892-4.632-23.072-13.04-31.481z"/></svg>`,Ah=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M512 85.337V256H256L0 85.337z"/><path fill="#D80027" d="M512 256v170.663H0L256 256z"/><g fill="#FFDA44"><path d="m161.908 256-27.288-12.835 14.532-26.428-29.632 5.668-3.755-29.933-20.64 22.015-20.639-22.015-3.755 29.933-29.631-5.669 14.531 26.428L28.343 256l27.288 12.835L41.1 295.263l29.633-5.668 3.753 29.933 20.639-22.015 20.64 22.015 3.755-29.933 29.631 5.669-14.532-26.427zM21.789 117.607l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.694-14.809-4.932-9.268 12.559.117-15.608-14.809-4.934 14.88-4.712zM21.789 353.53l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.695-14.809-4.933-9.268 12.558.117-15.607-14.809-4.934 14.88-4.712zM210.395 235.569l-9.081 12.695-14.879-4.713 9.268 12.559-9.081 12.696 14.809-4.933 9.268 12.558-.117-15.607 14.809-4.934-14.88-4.713z"/></g></svg>`,jh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><g fill="#FFF"><path d="m393.508 170.516 17.512 18.875 23.363-10.821-12.541 22.487 17.513 18.876-25.263-4.978-12.539 22.488-3.073-25.564-25.263-4.978 23.363-10.82z"/><path d="M0 85.343h512v341.326H0z"/></g><path fill="#01411c" d="M128 85.331h384v341.337H128z"/><g fill="#FFF"><path d="M361.909 298.793c-31.037 22.426-74.378 15.446-96.804-15.592-22.427-31.038-15.446-74.379 15.593-96.804 9.677-6.992 20.55-11.125 31.613-12.563-21.283-3.183-43.777 1.613-62.598 15.211-38.2 27.602-46.792 80.944-19.191 119.145 27.601 38.199 80.944 46.792 119.145 19.189 18.82-13.598 30.436-33.448 34.096-54.655-4.839 10.05-12.176 19.076-21.854 26.069zM360.58 172.889l17.484 18.842 23.322-10.802-12.519 22.447 17.483 18.844-25.219-4.968-12.519 22.45-3.067-25.521-25.22-4.969 23.323-10.802z"/></g></svg>`,Mh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><g fill="#FFF"><path d="M0 85.337h512v341.326H0z"/><path d="M0 85.337h512V256H0z"/></g><path fill="#D80027" d="M0 256h512v170.663H0z"/></svg>`,Nh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 26.666 640 426.666"><g fill-rule="evenodd" stroke-width="1pt"><path fill="#fff" d="M0 0h640v480H0z"/><path fill="#00267f" d="M0 0h213.3v480H0z"/><path fill="#f31830" d="M426.7 0H640v480H426.7z"/></g></svg>`,Ph=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#ACABB1" d="M400.696 219.822 384 225.387l-16.696-5.565-5.565-13.913 5.565-13.913h33.392l-5.566 13.913z"/><path fill="#338AF3" d="M345.043 219.822v61.217c0 29.821 38.957 38.957 38.957 38.957s38.957-9.137 38.957-38.957v-61.217h-77.914z"/><path fill="#6DA544" d="M348.555 295.541C358.131 313.927 384 319.996 384 319.996s25.869-6.069 35.445-24.455L384 236.518l-35.445 59.023z"/><path fill="#FFDA44" d="M422.957 280.421 384 219.822l-38.957 60.599v.618c0 5.518 1.337 10.328 3.512 14.503L384 240.405l35.445 55.137c2.175-4.175 3.512-8.983 3.512-14.503v-.618z"/><path fill="#FFF" d="M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"/><path fill="#D80027" d="M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915zM71.846 200.344 0 240.259v15.737l100.174-55.652z"/></g><path fill="#0052B4" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.982 0 85.33v15.737l71.847 39.915zM184.154 140.982 256 101.067V85.33l-100.174 55.652z"/></g></svg>`,Fh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.337h512V153.6H0zM0 221.863h512v68.263H0zM0 358.4h512v68.263H0z"/></g><path fill="#0052B4" d="M256 256.006 0 426.668V85.331z"/><path fill="#FFF" d="m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"/></svg>`,Ih=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path d="M0 85.337h512v113.775H0z"/><path fill="#268024" d="M0 312.888h512v113.775H0z"/><path fill="#e4312b" d="M256 256.006 0 426.668V85.331z"/></svg>`,Lh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M196.641 85.337v341.326H0V85.337z"/><circle fill="#FFDA44" cx="196.641" cy="256" r="64"/><path fill="#D80027" d="M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z"/><path fill="#FFF" d="M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z"/></svg>`,Rh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><circle fill="#FFDA44" cx="218.902" cy="255.994" r="74.207"/></svg>`,zh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path fill="#0052B4" d="M0 312.888h512v113.775H0z"/><path fill="#6DA544" d="m289.579 216.738-12.592 12.592c5.37 5.372 8.693 12.792 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.112-5.316-24.985-13.91-33.579z"/><path fill="#FFDA44" d="m256 232.51 4.421 13.605h14.304l-11.573 8.408 4.421 13.604L256 259.719l-11.573 8.408 4.421-13.604-11.573-8.408h14.304z"/></svg>`,Bh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#751A46" d="M0 0h512v342H0z"/><path fill="#FFF" d="M0 0v342h150.3l37.7-19.6-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19 37.7-18.9-37.7-19 37.7-19-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19L188 57l-37.7-19L188 19.1 150.3 0z"/></svg>`,Vh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 26.666 640 426.666"><g fill-rule="evenodd" stroke-width="1pt"><path fill="#fff" d="M0 0h640v480H0z"/><path fill="#00267f" d="M0 0h213.3v480H0z"/><path fill="#f31830" d="M426.7 0H640v480H426.7z"/></g></svg>`,Hh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#0052B4" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,Uh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.331h512v341.337H0z"/><path fill="#D80027" d="M0 85.331h512v113.775H0z"/><path fill="#FFF" d="M0 312.882h512v113.775H0z"/><path fill="#D80027" d="M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z"/><g fill="#FFDA44"><path d="M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zM241.16 278.782l-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z"/></g><path fill="#FFF" d="M241.16 233.734h-22.504a14.74 14.74 0 0 0 2.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0 0 18.149 3.544 48.079 48.079 0 0 0 18.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z"/></svg>`,Wh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.33v341.332h512V85.33z"/><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFF" d="M0 85.333h512v113.775H0z"/><path fill="#D80027" d="M0 312.884h512v113.775H0z"/></svg>`,Gh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><path fill="#FFDA44" d="M0 255.994h512v81.619H0z"/><path fill="#496E2D" d="M0 337.614h512v89.043H0z"/><path fill="#FFDA44" d="m278.261 185.209 20.844 9.804-11.099 20.186 22.632-4.33 2.868 22.865 15.765-16.816 15.766 16.816 2.867-22.865 22.633 4.33-11.099-20.186 20.843-9.804-20.844-9.805 11.1-20.185-22.633 4.329-2.868-22.864-15.765 16.816-15.766-16.816-2.867 22.864-22.634-4.329 11.1 20.187z"/></svg>`,Kh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#055e1c" d="M0 85.333h512v341.333H0z"/><g fill="#FFF"><path d="M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zM330.264 181.791v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zM174.491 233.734c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z"/><path d="M297.661 181.788h21.736v51.942h-21.736zM265.057 211.473c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z"/><path d="M207.093 248.57h32.601v22.261h-32.601z"/></g></svg>`,qh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.334h512v341.337H0z"/><path fill="#0052B4" d="M0 426.663V85.329h512"/><path fill="#FFDA44" d="M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z"/><g fill="#FFF"><path d="m85.688 108.787 5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.12-15.757L64 124.543h16.567zM170.312 108.787l5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zM85.688 191.289l5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zM170.312 191.289l5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z"/></g></svg>`,Jh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M235.454 85.337 0 426.663 427.345 85.337z"/><path fill="#6DA544" d="M512 329.393 0 426.663h512z"/><path fill="#D80027" d="M512 85.337h-84.655L0 426.663l512-204.512z"/><path fill="#0052B4" d="M0 85.337v341.326L235.454 85.337z"/></svg>`,Yh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path d="M0 312.888h512v113.775H0z"/><path fill="#496E2D" d="M0 426.668V85.331l256 170.675z"/></svg>`,Xh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFDA44" d="M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"/></svg>`,Zh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512V256H0z"/><g fill="#FFF"><path d="M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 0 0-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zM150.261 122.435l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z"/><path d="m121.344 144.696 3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zM179.178 144.696l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zM168.047 178.087l3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zM132.474 178.087l3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z"/></g></svg>`,Qh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#0052B4" d="M0 0h512v341.3H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z"/></g><path fill="#29DBFF" d="M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z"/><path fill="#ffda44" d="M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z"/><path fill="#BF521B" d="m369.5 204.5.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z"/><path fill="#474747" d="m436.6 192.5-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z"/></svg>`,$h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 199.112h512v113.775H0z"/><path fill="#D80027" d="M0 312.888h512v113.775H0z"/><path fill="#FFF" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"/><path fill="#0052B4" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"/><path fill="#FFF" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"/></svg>`,eg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z"/><path fill="#2E52B2" d="M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"/></svg>`,tg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 196.641h512v118.717H0z"/><path fill="#D80027" d="M0 315.359h512v111.304H0z"/><path fill="#FFF" d="M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"/><path fill="#D80027" d="M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"/><path fill="#FFF" d="M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"/><path fill="#0052B4" d="M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"/></svg>`,ng=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 85.337h512v113.775H0z"/><path fill="#338AF3" d="M0 312.888h512v113.775H0z"/></svg>`,rg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.34h512v341.326H0z"/><path fill="#FFF" d="M512 85.334v166.69L0 256.175V85.334z"/><path fill="#6DA544" d="M323.744 203.099 256 270.843l-67.744-67.744a81.156 81.156 0 0 0-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 0 0-13.881-45.483z"/><path fill="#FFDA44" d="M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z"/><path fill="#338AF3" d="M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z"/><path fill="#6DA544" d="M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z"/><path fill="#FFDA44" d="M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 0 0-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 0 0-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z"/></svg>`,ig=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#D80027" d="M330.207 85.331H512v341.337H330.207z"/><g fill="#496E2D"><path d="M0 85.331h181.793v341.337H0zM255.999 196.632l14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z"/></g></svg>`,ag=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="m256 157.273 22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z"/></svg>`,og=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.337H0z"/><path fill="#A2001D" d="M0 196.636h512v118.728H0z"/><g fill="#6DA544"><path d="M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z"/></g><path fill="#FFDA44" d="m256.742 218.003 9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z"/></svg>`,sg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#496E2D" d="M0 322.783h512v103.88H0z"/><path d="M0 85.337h512v104.515H0z"/><path fill="#A2001D" d="M0 210.877h512v89.656H0z"/><path fill="#0052B4" d="M256 256.006 0 426.668V85.331z"/><path fill="#FFDA44" d="m73.178 209.188 20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z"/></svg>`,cg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><g fill="#6DA544"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#D80027" d="M256 256.006 0 426.668V85.331z"/><path d="m302.049 226.318 7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zM376.252 226.318l7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z"/></svg>`,lg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#0052B4"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M228.582 261.936 256 214.447l27.418 47.489z"/><path fill="#6DA544" d="M291.616 277.616 256 295.425l-35.616-17.809v-23.744h71.232z"/><path fill="#FFDA44" d="m289.579 216.485-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z"/></svg>`,ug=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M512 85.331v166.69L0 256.173V85.331z"/><path fill="#FFF" d="M256 256.006 0 426.668V85.331z"/><g fill="#FFDA44"><path d="M59.621 256a59.546 59.546 0 0 0-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z"/><circle cx="118.862" cy="210.287" r="18.286"/></g><path fill="#D80027" d="M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z"/><path fill="#338AF3" d="M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z"/><path fill="#F3F3F3" d="M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z"/></svg>`,dg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.337H0z"/><path fill="#D80027" d="M0 85.331h512v113.775H0z"/><path d="M0 312.882h512v113.775H0z"/><g fill="#6DA544"><path d="m187.31 215.184 9.208 28.341h29.802l-24.11 17.518 9.209 28.342-24.109-17.516-24.11 17.516 9.209-28.342-24.109-17.518h29.801zM324.69 215.184l9.209 28.341H363.7l-24.109 17.518 9.209 28.342-24.11-17.516-24.109 17.516 9.209-28.342-24.11-17.518h29.802z"/></g></svg>`,fg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#2B5DEA" d="M0 0h900v600H0V0z"/><path fill="#FFDF29" d="M0 100h900v400H0V100z"/><path fill="#D70000" d="M0 150h900v300H0V150z"/><path fill="#FFF" d="M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z"/><path d="M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z"/><path fill="#FFF" d="M346.3 254.3h21v91.3h-21zM398.2 254.3h21v91.3h-21z"/><path d="M477.8 254.3h21v91.3h-21zM529.7 254.3h21v91.3h-21z"/></svg>`,pg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#0052B4" d="M0 0h512v341.3H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z"/></g><path fill="#29DBFF" d="M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z"/><path fill="#FFF" d="M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9"/><path fill="#29DBFF" d="m385.4 251.7-22.9-43h45.8z"/><path fill="#FFF" d="m385.4 165.8-22.9 42.9h45.8z"/><ellipse fill="#FFBE57" cx="474.8" cy="236.8" rx="16.8" ry="43.3"/><ellipse fill="#FFBE57" cx="295.3" cy="236.8" rx="16.8" ry="43.3"/><path fill="#FFF" d="m385.4 31.5-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z"/><ellipse fill="#A5A5A5" cx="386.3" cy="104.3" rx="34.3" ry="23.3"/></svg>`,mg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFDA44" d="M332.058 191.996v78.221c0 38.103 51.942 49.779 51.942 49.779s51.942-11.675 51.942-49.779v-78.221H332.058z"/><path fill="#FF9811" d="M376.579 220.44c0 7.855-6.644 28.445-14.84 28.445s-14.84-20.589-14.84-28.445c0-7.856 14.84-14.222 14.84-14.222s14.84 6.367 14.84 14.222z"/><path fill="#A2001D" d="M415.961 235.93c2.394-5.6 4.257-13.785 4.257-17.86 0-6.546-8.904-11.852-8.904-11.852s-8.904 5.306-8.904 11.852c0 4.075 1.862 12.26 4.257 17.86l-5.141 11.123a26.898 26.898 0 0 0 9.788 1.831c3.463 0 6.766-.654 9.788-1.831l-5.141-11.123z"/><path fill="#6DA544" d="M372.87 270.217s-7.421 14.222-7.421 28.445h37.101c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111-11.129 7.111z"/><path fill="#D80027" d="M395.13 270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666-6.147 0-11.13 4.776-11.13 10.666v3.555h22.26z"/><path fill="#FFF" d="M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"/><path fill="#D80027" d="M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915zM71.846 200.344 0 240.259v15.737l100.174-55.652z"/></g><path fill="#0052B4" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.982 0 85.33v15.737l71.847 39.915zM184.154 140.982 256 101.067V85.33l-100.174 55.652z"/></g></svg>`,hg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#0052B4" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,gg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M0 0h21v15H0V0z"/><path fill="#073AB6" d="M0 0h22.5v15H0V0z"/><path fill="#FFF" d="M0 0h11.3v7.5H0V0z"/><path fill="#F44653" d="M7.1 0h3.6v7H7.1V0z"/><path fill="#1035BB" d="M0 0h3.6v7H0V0z"/><path fill="#FFF" d="M3.6 0h3.6v7H3.6V0zM14.5 6h5L19 7h-1.5v.5h1l-.5 1h-.5V10h-1V7H15l-.5-1zm4 2.5 1 1.5h-2l1-1.5zm-3 0 1 1.5h-2l1-1.5zm1.5 3L16 10h2l-1 1.5zM20 8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-6 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm1 4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm4 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-2 1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5z"/></svg>`,_g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><g fill="#496E2D"><path d="M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zM0 221.863h512v68.263H0z"/></g><path fill="#D80027" d="M0 85.337h204.054v204.054H0z"/><path fill="#FFF" d="m102.026 133.938 13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z"/></svg>`,vg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.334h512V426.66H0z"/><path fill="#0052B4" d="M0 194.056h512v123.882H0z"/><g fill="#D80027"><path d="M0 85.334h512v54.522H0zM0 372.143h512v54.522H0z"/></g></svg>`,yg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path fill="#6DA544" d="M0 312.888h512v113.775H0z"/><g fill="#FFDA44"><path d="M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zM192.355 270.84l2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zM200.921 241.16l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM225.409 218.899l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM319.645 270.84l-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zM311.079 241.16l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM286.591 218.899l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z"/></g></svg>`,bg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><g fill="#FFF"><path d="m210.715 174.377 3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zM116.816 281.971l4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zM144.696 119.679l4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zM69.539 175.331l4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z"/></g><g fill="#FFDA44"><path d="M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zM117.801 366.089c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.195-17.37 0-17.37H117.801z"/></g></svg>`,xg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M256 256 0 90.691v44.242L155.826 256 0 377.067v44.242z"/><path d="M0 90.691v330.618L189.217 256z"/><path fill="#FFF" d="m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z"/></svg>`,Sg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.337h512v341.326H0z"/><g fill="#FFF"><path d="M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0 1 10.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 0 1-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zM310.637 115.729l-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z"/><path d="m330.338 146.448-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zM275.101 162.105l-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zM308.585 174.118l-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z"/></g><path fill="#D80027" d="M83.478 85.337h89.043v341.326H83.478z"/><path fill="#FFF" d="m117.458 175.191-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z"/><g fill="#FF9811"><path d="M128 137.276h-10.542l-14.908 11.105v7.678H128zM128 175.191h10.542l14.908-11.105v-8.012H128z"/></g><path fill="#FFF" d="m117.458 374.725-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z"/><g fill="#FF9811"><path d="M128 336.81h-10.542l-14.908 11.105v7.678H128zM128 374.725h10.542l14.908-11.106v-8.011H128z"/></g><g fill="#496E2D"><path d="m117.458 274.957-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zM153.971 299.391h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zM153.971 199.623h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z"/></g><g fill="#D80027"><path d="M120.576 248.576h14.84v14.84h-14.84z"/><circle cx="128" cy="206.113" r="7.421"/><circle cx="128" cy="305.887" r="7.421"/></g></svg>`,Cg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><circle fill="#FFF" cx="256" cy="255.994" r="96"/><g fill="#D80027"><path d="m267.826 219.291 16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z"/><path d="M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z"/></g></svg>`,wg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="M0 85.331h256v170.663H0z"/><path fill="#D80027" d="M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"/></svg>`,Tg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E30A17" d="M0 0h513v342H0z"/><path fill="#FFF" d="M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"/></svg>`,Eg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#FFF" d="m6.066 85.337 207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z"/><path d="M43.364 85.337 384.69 426.663h83.946L127.31 85.337z"/></svg>`,Dg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#0052B4" d="M0 0h900v600H0z"/><path fill="#00B2EE" d="M0 300h450V0h450v600H0V300z"/><path fill="#FFDA44" d="m345.3 480.9 29.4 90.6-77.1-56H393l-77.1 56 29.4-90.6zM706.4 340l29.4 90.6-77.1-56H754l-77.1 56 29.5-90.6zM812.8 261.5l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM812.8 37.4l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6z"/><path fill="#FFF" d="M449.9 0v206.3h-81l81 54V300h-39.7l-129-85.9V300H168.7v-85.9L39.7 300H0v-39.7l81-54H0V93.8h81L0 39.9V0h39.7l129 85.9V0h112.5v85.9L410.2 0z"/><path fill="#D80027" d="M253.1 0h-56.3v122H0v56.2h196.8V300h56.3V178.2h196.8V122H253.1z"/><path fill="#2E52B2" d="M449.9 39.9v53.9h-81z"/><path fill="#D80027" d="M0 300v-19.3l109.9-74.4h39.7L12.8 300zM12.8.1l136.8 93.7h-39.7L0 19.4V.1zM449.9.2v19.3L340 93.8h-39.7L437.1.2zM437.1 300l-136.8-93.7H340l109.9 74.4V300z"/><path fill="#FFDA44" d="m719.9 131.6 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM584 187.7l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM614 430.6l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM488 332l29.4 90.6-77.1-56h95.3l-77.1 56L488 332zM488 464l29.4 90.6-77.1-56h95.3l-77.1 56L488 464z"/></svg>`,Og=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 85.337h256V256H0z"/><path fill="#FFF" d="M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"/><circle fill="#0052B4" cx="128" cy="170.674" r="29.006"/><path fill="#FFF" d="M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"/></svg>`,kg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 426.663V85.337h512"/><path fill="#FFDA44" d="M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"/><path d="M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"/></svg>`,Ag=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><path fill="#338AF3" d="M0 85.337h512V256H0z"/></svg>`,jg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#232323" d="M0 0h512v341.3H0z"/><path fill="#FFDA44" d="M0 56.9h512v56.9H0z"/><path fill="#D32300" d="M0 113.8h512v56.9H0z"/><path fill="#FFDA44" d="M0 227.6h512v56.9H0z"/><path fill="#D32300" d="M0 284.4h512v56.9H0z"/><circle fill="#FFF" cx="256" cy="170.7" r="80.7"/><path d="M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z"/></svg>`,Mg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 0h513v26.3H0zM0 52.6h513v26.3H0zM0 105.2h513v26.3H0zM0 157.8h513v26.3H0zM0 210.5h513v26.3H0zM0 263.1h513v26.3H0zM0 315.7h513V342H0z"/></g><path fill="#2E52B2" d="M0 0h256.5v184.1H0z"/><g fill="#FFF"><path d="m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zM104.1 138.9l-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zM160.6 138.9l-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zM216.8 138.9l-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zM43.8 75.3l-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zM156.3 75.3l-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zM212.8 75.3l-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zM43.8 24.7l-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zM100 24.7l-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zM156.3 24.7l-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zM212.8 24.7l-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z"/></g></svg>`,Ng=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 0h513v26.3H0zM0 52.6h513v26.3H0zM0 105.2h513v26.3H0zM0 157.8h513v26.3H0zM0 210.5h513v26.3H0zM0 263.1h513v26.3H0zM0 315.7h513V342H0z"/></g><path fill="#2E52B2" d="M0 0h256.5v184.1H0z"/><g fill="#FFF"><path d="m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zM104.1 138.9l-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zM160.6 138.9l-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zM216.8 138.9l-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zM43.8 75.3l-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zM156.3 75.3l-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zM212.8 75.3l-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zM43.8 24.7l-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zM100 24.7l-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zM156.3 24.7l-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zM212.8 24.7l-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z"/></g></svg>`,Pg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0038a8"><path d="M0 38h513v38H0zM0 114h513v38H0zM0 190h513v38H0zM0 266h513v38H0z"/></g><path fill="#FFF" d="M0 0h256.5v190H0z"/><path fill="#FED443" d="m128.3 138.7-15.1 22.6-3.8-26.9L86 148.2l8.2-25.9-27.2 2.2 18.6-19.8L60.3 95l25.4-9.7L67 65.5l27.1 2.3-8.2-25.9 23.4 13.8 3.9-26.9 15.1 22.6 15.1-22.6 3.8 26.9 23.4-13.8-8.2 25.9 27.1-2.2-18.6 19.8 25.4 9.7-25.4 9.7 18.6 19.8-27.1-2.2 8.2 25.9-23.4-13.8-3.9 26.9-15-22.7zm0-.5c23.9.9 44-17.6 44.9-41.5.9-23.9-17.6-44-41.5-44.9h-3.4c-23.9.8-42.6 20.8-41.8 44.6.6 22.8 19 41.1 41.8 41.8zm0-10.6c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.3 34-34 34z"/></svg>`,Fg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 322.783h512v103.88H0z"/><path fill="#338AF3" d="M0 85.337h512v104.515H0z"/><path fill="#FFF" d="M0 210.877h512v89.656H0z"/><path fill="#338AF3" d="M0 85.337h512v104.515H0z"/><g fill="#FFF"><path d="M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 0 0-7.155-.777c-18.442 0-33.391 14.949-33.391 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zM234.658 152.766l2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zM258.006 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM281.353 152.766l2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zM304.7 152.766l2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zM328.048 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM258.006 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 128.482l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zM304.7 128.482l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zM328.048 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 104.198l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zM304.7 104.198l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zM328.048 104.198l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z"/></g></svg>`,Ig=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#FFF" d="M256 85.331h256v341.337H256z"/><path fill="#ACABB1" d="m321.353 233.837 32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 1 1 8.95 11.84 7.421 7.421 0 0 1-8.95-11.84z"/><path fill="#FFDA44" d="m376.367 247.24 17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 1 1-11.84-8.95 7.42 7.42 0 0 1 11.84 8.95z"/></svg>`,Lg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#338AF3" d="M0 85.331h170.663v341.337H0z"/><g fill="#6DA544"><path d="M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zM297.739 283.82l-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z"/></g></svg>`,Rg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFCE00" d="M0 0h22.5v5H0z"/><path fill="#203899" d="M0 5h22.5v5H0z"/><path fill="#D82B2B" d="M0 10h22.5v5H0z"/><path fill="#FFF" d="m12.13 5.38.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zM10.36 5.38l.27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zM13.8 5.94l-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zM8.69 5.96l.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zM15.24 7.13l-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zM15.43 8.25l.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zM7.31 7.05l.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z"/></svg>`,zg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M256 85.334V202.66h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z"/><g fill="#D80027"><path d="M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"/><path d="M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z"/></g><path fill="#2E52B2" d="M256 107.951v30.712h-46.069z"/><g fill="#D80027"><path d="M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z"/></g><path fill="#2E52B2" d="M256 107.951v30.712h-46.069z"/><g fill="#D80027"><path d="M0 255.997v-15.082l57.377-38.252H80zM256 255.997v-15.082l-57.377-38.252H176z"/></g><path fill="#FFDA44" d="m384 259.706-46.129 46.129c8.645 16.675 26.051 28.074 46.129 28.074s37.484-11.4 46.129-28.074L384 259.706z"/><path fill="#6DA544" d="M332.058 178.084V259.708c.001 39.759 51.942 51.941 51.942 51.941s51.941-12.182 51.942-51.942v-81.623H332.058z"/><path fill="#FFF" d="M372.87 215.181h22.261v59.359H372.87z"/><circle fill="#A2001D" cx="384" cy="215.181" r="11.13"/><g fill="#FFDA44"><path d="M346.902 192.92h14.84v14.84h-14.84zM346.902 226.312h14.84v14.84h-14.84zM346.902 259.703h14.84v14.84h-14.84zM406.261 192.92h14.84v14.84h-14.84zM406.261 226.312h14.84v14.84h-14.84zM406.261 259.703h14.84v14.84h-14.84z"/></g></svg>`,Bg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#FFF" d="M0 0h512v341.3H0z"/><path fill="#1583C4" d="m397.7 166.3-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z"/><path fill="#1583C4" d="m404.9 188-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z"/><path fill="#1583C4" d="m379 181.3-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z"/><path fill="#409347" d="M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z"/><g fill="#FFD836" stroke="#231F20" stroke-miterlimit="10"><path d="M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.6-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z"/><path d="m466.1 48.4-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z"/></g><path fill="#FFF" stroke="#231F20" stroke-miterlimit="10" d="M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3z"/><g fill="#D80027"><path d="M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zM296.8 137.7V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z"/></g><path fill="#0052B4" d="M201.3 111.8h119.4v37.9H201.3z"/><path fill="#1583C4" d="m60.1 210.5-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zM451.5 151.9h18.9v81.7h-18.9z"/></svg>`,Vg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M196.641 85.337H0v341.326h512V85.337z"/><path fill="#FFDA44" d="m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"/></svg>`,Hg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M512 256v170.663H0L215.185 256z"/><path fill="#D80027" d="M512 85.337V256H215.185L0 85.337z"/><path d="M221.001 239.304 26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z"/><g fill="#FFDA44"><path d="M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z"/><path d="M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 0 0 4.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z"/></g></svg>`,Ug=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 100"><path fill="#ED2939" d="M0 0h150v100H0z"/><path fill="#002395" d="M0 0h20v44.33H0z"/><path fill="#FFF" d="M20 0h20v44.33H20z"/><path fill="none" stroke="#FFF" stroke-width="3" d="M0 44.33h62.75V0"/><path fill="#FFF" d="M108.08 43.29 87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71 20.13-20.13v40.25L114.79 50z"/></svg>`,Wg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><path fill="#0052B4" d="M0 85.331h256v170.663H0z"/><g fill="#FFF"><path d="m165.483 181.79 2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zM120.579 115.007l4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zM165.101 129.848l4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zM129.909 189.211l4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zM90.899 152.108l4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z"/></g></svg>`,Gg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.33"><path fill="#0052B4" d="M0 0h512v341.34H0z"/><g fill="#FFF"><path d="m220.72 42.63 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zM291.28 42.57l7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zM353.36 53.93l7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zM416.37 72.23l7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zM158.64 53.93l7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zM95.63 72.23l7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z"/></g><path fill="#FFDA44" d="m217.53 259.33-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z"/></svg>`,Kg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path d="M0 312.888h512v113.775H0z"/></svg>`,qg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#FFF" d="M0 0h90v60H0z"/><path stroke="#7f7f7f" stroke-width=".25" fill="#ABABAB" d="M75.6 39.6c-1.1.7 0 1.8-.6 1.9-.6.1-1.5-1.4-.2-2.5 1.6-1.5 5.8 0 5.9 4.3 0 2.2-.9 6.8-7.2 6.8-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2s5.7-2.4 5.8-4.9c.1-3.9-3-4.4-3.7-4zM10.7 43.6c.1 2.5 1.8 4.7 5.8 4.9s8.2-2.2 8.5-5.2c.8-7.5-9.7-11.3-10.3-12-.7-.7-.5 3.9-.5 3.9s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2 1.6 4.3-1c-2.9-4-.6-11.7 7-11.7 2.1 0 1.8 3.9 3 5.5 1.1 1.5 4 3.5 4 4.6s-3.5.3-6.6-1.4c-1.9-1-3.3-1.4-3.3-.9.1 1.5 3.7 3.8 6.8 5 2.8 1.1 6.5 9.8 6.5 14.6 0 5.7-3.8 11.4-11.4 11.4-6.3 0-7.2-4.6-7.2-6.8.1-4.3 4.3-5.8 5.9-4.3 1.2 1.1.4 2.7-.2 2.5-.6-.1.6-1.2-.6-1.9-.6-.4-3.7.1-3.7 4z"/><path fill="#DE393A" d="M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z"/><path fill="#3951A3" d="M31 13.1h28v15.7H31z"/><path fill="#FFF" d="M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z"/><circle fill="#FEE05F" cx="39.1" cy="36.5" r="3"/><circle fill="#FEE05F" cx="50.9" cy="36.5" r="3"/></svg>`,Jg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path d="M114.024 256.001 0 141.926v228.17z"/><path fill="#ffb915" d="M161.192 256 0 94.7v47.226l114.024 114.075L0 370.096v47.138z"/><path fill="#007847" d="M509.833 289.391c.058-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z"/><path fill="#000c8a" d="M503.181 322.783H236.433l-103.881 103.88H512v-103.88z"/><path fill="#e1392d" d="M503.181 189.217H512V85.337H132.552l103.881 103.88z"/></svg>`,Yg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.331h512v341.337H0z"/><path fill="#FF9811" d="M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z"/><path fill="#D80027" d="M341.337 255.994h56.888v170.663h-56.888z"/><path fill="#FF9811" d="M455.112 255.994H512v170.663h-56.888z"/><path d="M398.225 255.994h56.888v170.663h-56.888z"/></svg>`,Xg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.333h512V426.67H0z"/><g fill="#FFDA44"><path d="M0 134.196h512v48.868H0zM0 329.668h512v48.868H0z"/></g><path fill="#057f44" d="M0 85.333h512v48.868H0z"/><g fill="#D80027"><path d="M0 183.069h512v48.868H0zM0 280.806h512v48.868H0z"/></g><path fill="#057f44" d="M0 378.542h512v48.128H0z"/><path fill="#FFF" d="M276.992 255.996 106.329 426.659H0V85.333h106.329z"/><path d="M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"/><path fill="#D80027" d="m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"/><path fill="#FFDA44" d="m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"/></svg>`,Zg=o({AC:()=>pf,AD:()=>mf,AE:()=>hf,AF:()=>gf,AG:()=>_f,AI:()=>vf,AL:()=>yf,AM:()=>bf,AO:()=>xf,AQ:()=>Sf,AR:()=>Cf,AS:()=>wf,AT:()=>Tf,AU:()=>Ef,AW:()=>Df,AX:()=>Of,AZ:()=>kf,BA:()=>Af,BB:()=>jf,BD:()=>Mf,BE:()=>Nf,BF:()=>Pf,BG:()=>Ff,BH:()=>If,BI:()=>Lf,BJ:()=>Rf,BL:()=>zf,BM:()=>Bf,BN:()=>Vf,BO:()=>Hf,BQ:()=>Uf,BR:()=>Wf,BS:()=>Gf,BT:()=>Kf,BV:()=>qf,BW:()=>Jf,BY:()=>Yf,BZ:()=>Xf,CA:()=>Zf,CC:()=>Qf,CD:()=>$f,CF:()=>ep,CG:()=>tp,CH:()=>np,CI:()=>rp,CK:()=>ip,CL:()=>ap,CM:()=>op,CN:()=>sp,CO:()=>cp,CR:()=>lp,CU:()=>up,CV:()=>dp,CW:()=>fp,CX:()=>pp,CY:()=>mp,CZ:()=>hp,DE:()=>gp,DJ:()=>_p,DK:()=>vp,DM:()=>yp,DO:()=>bp,DZ:()=>xp,EC:()=>Sp,EE:()=>Cp,EG:()=>wp,EH:()=>Tp,ER:()=>Ep,ES:()=>Dp,ET:()=>Op,EU:()=>kp,FI:()=>Ap,FJ:()=>jp,FK:()=>Mp,FM:()=>Np,FO:()=>Pp,FR:()=>Fp,GA:()=>Ip,GB:()=>Lp,GD:()=>Rp,GE:()=>zp,GF:()=>Bp,GG:()=>Vp,GH:()=>Hp,GI:()=>Up,GL:()=>Wp,GM:()=>Gp,GN:()=>Kp,GP:()=>qp,GQ:()=>Jp,GR:()=>Yp,GS:()=>Xp,GT:()=>Zp,GU:()=>Qp,GW:()=>$p,GY:()=>em,HK:()=>tm,HM:()=>nm,HN:()=>rm,HR:()=>im,HT:()=>am,HU:()=>om,IC:()=>sm,ID:()=>cm,IE:()=>lm,IL:()=>um,IM:()=>dm,IN:()=>fm,IO:()=>pm,IQ:()=>mm,IR:()=>hm,IS:()=>gm,IT:()=>_m,JE:()=>vm,JM:()=>ym,JO:()=>bm,JP:()=>xm,KE:()=>Sm,KG:()=>Cm,KH:()=>wm,KI:()=>Tm,KM:()=>Em,KN:()=>Dm,KP:()=>Om,KR:()=>km,KW:()=>Am,KY:()=>jm,KZ:()=>Mm,LA:()=>Nm,LB:()=>Pm,LC:()=>Fm,LI:()=>Im,LK:()=>Lm,LR:()=>Rm,LS:()=>zm,LT:()=>Bm,LU:()=>Vm,LV:()=>Hm,LY:()=>Um,MA:()=>Wm,MC:()=>Gm,MD:()=>Km,ME:()=>qm,MF:()=>Jm,MG:()=>Ym,MH:()=>Xm,MK:()=>Zm,ML:()=>Qm,MM:()=>$m,MN:()=>eh,MO:()=>th,MP:()=>nh,MQ:()=>rh,MR:()=>ih,MS:()=>ah,MT:()=>oh,MU:()=>sh,MV:()=>ch,MW:()=>lh,MX:()=>uh,MY:()=>dh,MZ:()=>fh,NA:()=>ph,NC:()=>mh,NE:()=>hh,NF:()=>gh,NG:()=>_h,NI:()=>vh,NL:()=>yh,NO:()=>bh,NP:()=>xh,NR:()=>Sh,NU:()=>Ch,NZ:()=>wh,OM:()=>Th,PA:()=>Eh,PE:()=>Dh,PF:()=>Oh,PG:()=>kh,PH:()=>Ah,PK:()=>jh,PL:()=>Mh,PM:()=>Nh,PN:()=>Ph,PR:()=>Fh,PS:()=>Ih,PT:()=>Lh,PW:()=>Rh,PY:()=>zh,QA:()=>Bh,RE:()=>Vh,RO:()=>Hh,RS:()=>Uh,RU:()=>Wh,RW:()=>Gh,SA:()=>Kh,SB:()=>qh,SC:()=>Jh,SD:()=>Yh,SE:()=>Xh,SG:()=>Zh,SH:()=>Qh,SI:()=>$h,SJ:()=>eg,SK:()=>tg,SL:()=>ng,SM:()=>rg,SN:()=>ig,SO:()=>ag,SR:()=>og,SS:()=>sg,ST:()=>cg,SV:()=>lg,SX:()=>ug,SY:()=>dg,SZ:()=>fg,TA:()=>pg,TC:()=>mg,TD:()=>hg,TF:()=>gg,TG:()=>_g,TH:()=>vg,TJ:()=>yg,TK:()=>bg,TL:()=>xg,TM:()=>Sg,TN:()=>Cg,TO:()=>wg,TR:()=>Tg,TT:()=>Eg,TV:()=>Dg,TW:()=>Og,TZ:()=>kg,UA:()=>Ag,UG:()=>jg,UM:()=>Mg,US:()=>Ng,UY:()=>Pg,UZ:()=>Fg,VA:()=>Ig,VC:()=>Lg,VE:()=>Rg,VG:()=>zg,VI:()=>Bg,VN:()=>Vg,VU:()=>Hg,WF:()=>Ug,WS:()=>Wg,XK:()=>Gg,YE:()=>Kg,YT:()=>qg,ZA:()=>Jg,ZM:()=>Yg,ZW:()=>Xg});function Qg(e){let t=Zg[e]??null;return t===null?null:`data:image/svg+xml,${encodeURIComponent(t)}`}function $g(e,t){return new Intl.DisplayNames(t,{type:`region`}).of(e)??null}function e_(e){let t=Z(),n=(0,d.computed)(()=>t?.locale?.value??navigator.language),{contains:r}=(0,p.useFilter)(),i=(0,d.ref)(``),a=(0,d.computed)(()=>{let e=i.value.trim(),t=of();return(e?t.filter(t=>s(t,e)):t).map(e=>({type:`option`,value:e}))}),o=(0,d.computed)(()=>{let t=e.modelValue.value;if(!t)return null;let r=of();return r.includes(t)?t:r.find(e=>$g(e,n.value)?.toLowerCase()===t.toLowerCase())??null});function s(e,t){let i=$g(e,n.value)??``,a=t.toLowerCase();return r(e.toLowerCase(),a)||r(i.toLowerCase(),a)}function c(e){let t=Qg(e);return{left:t===null?null:{aspect:`rectangle`,src:t,type:`image`}}}function l(e){i.value=e}function u(e){return $g(e,n.value)??e}function f(t){e.setValue(t?$g(t,n.value)??t:null)}return{countryItems:a,currentCountryCode:o,displayCountry:u,getCountryItemConfig:c,onCountrySearch:l,onCountrySelect:f}}var[t_,n_]=L(`buttonContext`),r_=U({compoundVariants:[{class:{container:`dark:rounded-[0.31rem] dark:px-md`},size:`md`,variant:`primary`},{class:{container:`dark:rounded-[0.44rem] dark:px-lg`},size:`lg`,variant:`primary`},{class:{container:`dark:rounded-[0.19rem] dark:px-sm`},size:`sm`,variant:`primary`},{class:{container:`dark:rounded-[0.06rem] dark:px-xs`},size:`xs`,variant:`primary`}],slots:{container:`grid size-full items-center [grid-template-areas:'stack']`,icon:`shrink-0`,label:`truncate font-medium`,loader:`mx-auto items-center duration-100 [grid-area:stack]`,root:`
|
|
36
|
+
`},variants:{orientation:{horizontal:{separator:`h-px w-full`},vertical:{separator:`h-full w-px`}}}}),uo=(0,d.defineComponent)({__name:`Separator`,props:{class:{},orientation:{default:`horizontal`}},setup(e){let t=e,n=(0,d.computed)(()=>lo({orientation:t.orientation}));return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Separator),{class:(0,d.normalizeClass)(n.value.separator({class:t.class})),orientation:t.orientation,role:`presentation`},null,8,[`class`,`orientation`]))}}),fo=(0,d.defineComponent)({__name:`DropdownMenuSeparator`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuSeparator),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(uo)]),_:1}))}}),po=(0,d.defineComponent)({__name:`DropdownMenuSub`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuSub),null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),mo={class:`relative size-full max-h-(--reka-dropdown-menu-content-available-height) overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},ho=(0,d.defineComponent)({__name:`DropdownMenuSubContent`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuPortal),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DropdownMenuSubContent),{"side-offset":8,"align-offset":-4,"collision-padding":5,"data-animation":`popover-default`,class:`z-50 max-w-64 min-w-52 origin-(--reka-dropdown-menu-content-transform-origin) will-change-[transform,opacity]`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,mo,[(0,d.renderSlot)(e.$slots,`default`)])]),_:3})]),_:3})]),_:3}))}}),go=(0,d.defineComponent)({__name:`DropdownMenuSubTrigger`,props:{isDisabled:{type:Boolean},config:{default:null},disabledReason:{default:null},label:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuSubTrigger),{disabled:t.isDisabled||t.disabledReason!==null,class:`cursor-default rounded-sm outline-none data-disabled:cursor-not-allowed not-data-disabled:data-highlighted:bg-secondary-hover data-[state=open]:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(eo),{"is-disabled":t.isDisabled,"disabled-reason":t.disabledReason,config:t.config,label:t.label},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Yt),{class:`size-3.5 text-tertiary`})]),_:1},8,[`is-disabled`,`disabled-reason`,`config`,`label`])]),_:1},8,[`disabled`]))}}),_o=(0,d.defineComponent)({__name:`ActionContextMenuItem`,props:{action:{},closeOnSelect:{type:Boolean},context:{},models:{},preview:{}},setup(e){let t=e,n=(0,f.useActionManagerStore)(),r=pt(`Shift`),i=(0,d.computed)(()=>t.context??n.actionContext({})),a=(0,d.computed)(()=>(0,f.resolveActionName)(t.action,i.value)),o=(0,d.computed)(()=>t.action.subActions!==void 0),s=(0,d.computed)(()=>{let e=t.action.parentAction;return e===void 0?null:e.nameAsParent===void 0?(0,f.resolveActionName)(e,i.value):(0,f.resolveActionValue)(e.nameAsParent,i.value)}),c=(0,d.computed)(()=>t.action.isApplicable===void 0||t.action.isApplicable(i.value)),l=(0,d.computed)(()=>t.action.disabledReason?.(i.value)??null),u=(0,d.computed)(()=>(0,f.resolveActionSelected)(t.action,i.value)===!0),p=(0,d.computed)(()=>(0,f.resolveActionHint)(t.action,i.value)),m=(0,d.computed)(()=>t.action.icon===void 0?null:t.action.icon(i.value)),h=(0,d.computed)(()=>s.value===null?m.value===null?null:{icon:m.value,type:`icon`}:{breadcrumbs:[{icon:m.value,label:s.value}],type:`breadcrumbs`});function g(e){(!t.closeOnSelect||r.value)&&e.preventDefault(),n.executeAction(t.action,i.value)}return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[o.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(po),{key:0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(go),{label:a.value,config:{left:m.value===null||s.value!==null?void 0:{type:`icon`,icon:m.value}}},null,8,[`label`,`config`]),(0,d.createVNode)((0,d.unref)(hr),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(To,{models:t.models??[],"parent-action":t.action},null,8,[`models`,`parent-action`])]),_:1})]),_:1})):(0,d.createCommentVNode)(``,!0),c.value&&t.action.execute!==void 0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(oo),{key:1,label:a.value,config:{left:h.value,description:p.value===null?null:{layout:s.value===null?`block`:`inline`,value:p.value},right:u.value?{icon:(0,d.unref)(Lt),type:`icon`}:t.action.keyboardShortcut===void 0?void 0:{type:`shortcut`,keyboardShortcut:t.action.keyboardShortcut}},"disabled-reason":l.value,onSelect:g},null,8,[`label`,`config`,`disabled-reason`])):(0,d.createCommentVNode)(``,!0)],64))}}),vo={"aria-busy":!0,class:`relative overflow-hidden rounded-md bg-tertiary`,role:`status`,"aria-live":`polite`},q=U((0,d.defineComponent)({__name:`SkeletonItem`,props:{animate:{type:Boolean,default:!1},animationDelayInMs:{default:0}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,vo,[t.animate?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,style:(0,d.normalizeStyle)({animationDelay:`${t.animationDelayInMs}ms`}),class:`custom-shimmer absolute inset-0`},null,4)):(0,d.createCommentVNode)(``,!0)]))}}),[[`__scopeId`,`data-v-4134f9dd`]]),yo={class:`group/content flex max-h-[inherit] flex-col overflow-hidden`},bo={key:0,class:`p-xs pb-none`},xo={ref:`scrollContainer`,class:`max-h-120 scroll-p-1 overflow-y-auto`},So={key:0,class:`p-md`,role:`status`,"aria-live":`polite`},Co={class:`sr-only`},wo={key:2,class:`flex px-lg py-md`},To=(0,d.defineComponent)({__name:`ActionContextMenuContent`,props:{actions:{default:()=>[]},metadata:{},models:{},parentAction:{default:null}},setup(e){let t=e,n=(0,m.useI18n)(),r=(0,d.useTemplateRef)(`scrollContainer`),{isLoading:i,actionGroups:a,context:o,placeholder:s,preview:c,searchInput:l,onKeyDown:u}=(0,f.useActionDropdownMenuContent)({actions:(0,d.toRef)(t,`actions`),metadata:(0,d.toRef)(t,`metadata`),models:(0,d.toRef)(t,`models`),parentAction:(0,d.toRef)(t,`parentAction`),scrollContainerRef:r}),h=(0,d.computed)(()=>t.actions.length>7||t.parentAction?.subActions!==void 0||t.actions.some(e=>e.subActions!==void 0));return(r,f)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,yo,[h.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,bo,[(0,d.createVNode)((0,d.unref)(p.DropdownMenuFilter),{modelValue:(0,d.unref)(l),"onUpdate:modelValue":f[0]||=e=>(0,d.isRef)(l)?l.value=e:null,"auto-focus":!0,placeholder:(0,d.unref)(s),class:`block w-full rounded-xs bg-secondary px-md py-sm text-xs text-secondary duration-100 outline-none placeholder:text-placeholder group-hover/content:placeholder:text-tertiary`,onKeydown:[(0,d.unref)(u),f[1]||=(0,d.withKeys)((0,d.withModifiers)(()=>{},[`stop`]),[`enter`])]},null,8,[`modelValue`,`placeholder`,`onKeydown`])])):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,xo,[(0,d.unref)(i)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,So,[(0,d.createElementVNode)(`span`,Co,(0,d.toDisplayString)((0,d.unref)(n).t(`component.action_dropdown_menu.loading_actions`)),1),(0,d.createVNode)((0,d.unref)(K),{gap:`lg`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-40`}),(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-24`}),(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-48`}),(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-32`})]),_:1})])):(0,d.unref)(a).length>0?((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:1},(0,d.renderList)((0,d.unref)(a),(n,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:r},[r>0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(fo),{key:0})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(no),null,{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n,n=>((0,d.openBlock)(),(0,d.createBlock)(_o,{key:n.id,models:t.models,action:n,context:(0,d.unref)(o),preview:(0,d.unref)(c),"close-on-select":e.parentAction?.multiSelectSubActions!==!0},null,8,[`models`,`action`,`context`,`preview`,`close-on-select`]))),128))]),_:2},1024)],64))),128)):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,wo,[(0,d.createVNode)((0,d.unref)(W),{text:(0,d.unref)(n).t(`component.action_menu.no_matching_actions`),class:`text-xs text-tertiary`},null,8,[`text`])]))],512)]))}}),Eo=(0,d.defineComponent)({__name:`ActionContextMenu`,props:{actions:{},currentContextOnly:{type:Boolean},metadata:{},models:{},parentAction:{}},setup(e){let t=e;return t.currentContextOnly||((0,f.useTemporaryActions)(t.actions??[],f.GroupPriority.VIEW),(0,f.useTemporaryActions)(t.parentAction??[],f.GroupPriority.VIEW)),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(pr),null,{trigger:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(To,{metadata:t.metadata,actions:t.actions??[],"parent-action":t.parentAction,models:t.models??[]},null,8,[`metadata`,`actions`,`parent-action`,`models`])]),_:3}))}}),Do=(0,d.defineComponent)({__name:`ActionDropdownMenuItem`,props:{action:{},closeOnSelect:{type:Boolean},context:{},models:{},preview:{}},setup(e){let t=e,n=(0,f.useActionManagerStore)(),r=pt(`Shift`),i=(0,d.computed)(()=>t.context??n.actionContext({})),a=(0,d.computed)(()=>(0,f.resolveActionName)(t.action,i.value)),o=(0,d.computed)(()=>t.action.subActions!==void 0),s=(0,d.computed)(()=>{let e=t.action.parentAction;return e===void 0?null:e.nameAsParent===void 0?(0,f.resolveActionName)(e,i.value):(0,f.resolveActionValue)(e.nameAsParent,i.value)}),c=(0,d.computed)(()=>t.action.isApplicable===void 0||t.action.isApplicable(i.value)),l=(0,d.computed)(()=>t.action.disabledReason?.(i.value)??null),u=(0,d.computed)(()=>(0,f.resolveActionHint)(t.action,i.value)),p=(0,d.computed)(()=>(0,f.resolveActionSelected)(t.action,i.value)===!0),m=(0,d.computed)(()=>t.action.icon===void 0?null:t.action.icon(i.value)),h=(0,d.computed)(()=>s.value===null?m.value===null?null:{icon:m.value,type:`icon`}:{breadcrumbs:[{icon:m.value,label:s.value}],type:`breadcrumbs`});function g(e){(!t.closeOnSelect||r.value)&&e.preventDefault(),n.executeAction(t.action,i.value)}return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[o.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(po),{key:0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(go),{label:a.value,config:{left:m.value===null||s.value!==null?void 0:{type:`icon`,icon:m.value}}},null,8,[`label`,`config`]),(0,d.createVNode)((0,d.unref)(ho),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Po,{models:t.models??[],"parent-action":t.action},null,8,[`models`,`parent-action`])]),_:1})]),_:1})):(0,d.createCommentVNode)(``,!0),c.value&&t.action.execute!==void 0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(oo),{key:1,label:a.value,config:{left:h.value,description:u.value===null?null:{layout:s.value===null?`block`:`inline`,value:u.value},right:p.value?{icon:(0,d.unref)(Lt),type:`icon`}:t.action.keyboardShortcut===void 0?void 0:{type:`shortcut`,keyboardShortcut:t.action.keyboardShortcut}},"disabled-reason":l.value,onSelect:g},null,8,[`label`,`config`,`disabled-reason`])):(0,d.createCommentVNode)(``,!0)],64))}}),Oo={class:`group/content flex max-h-[inherit] flex-col overflow-hidden`},ko={key:0,class:`p-xs pb-none`},Ao={ref:`scrollContainer`,class:`max-h-120 scroll-p-1 overflow-y-auto`},jo={key:0,class:`p-md`,role:`status`,"aria-live":`polite`},Mo={class:`sr-only`},No={key:2,class:`flex px-lg py-md`},Po=(0,d.defineComponent)({__name:`ActionDropdownMenuContent`,props:{actions:{default:()=>[]},metadata:{},models:{},parentAction:{default:null}},setup(e){let t=e,n=(0,m.useI18n)(),r=(0,d.useTemplateRef)(`scrollContainer`),{isLoading:i,actionGroups:a,context:o,placeholder:s,preview:c,searchInput:l,onKeyDown:u}=(0,f.useActionDropdownMenuContent)({actions:(0,d.toRef)(t,`actions`),metadata:(0,d.toRef)(t,`metadata`),models:(0,d.toRef)(t,`models`),parentAction:(0,d.toRef)(t,`parentAction`),scrollContainerRef:r}),h=(0,d.computed)(()=>t.actions.length>7||t.parentAction?.subActions!==void 0||t.actions.some(e=>e.subActions!==void 0));return(r,f)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Oo,[h.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,ko,[(0,d.createVNode)((0,d.unref)(p.DropdownMenuFilter),{modelValue:(0,d.unref)(l),"onUpdate:modelValue":f[0]||=e=>(0,d.isRef)(l)?l.value=e:null,"auto-focus":!0,placeholder:(0,d.unref)(s),class:`block w-full rounded-xs bg-secondary px-md py-sm text-xs text-secondary duration-100 outline-none placeholder:text-placeholder group-hover/content:placeholder:text-tertiary`,onKeydown:[(0,d.unref)(u),f[1]||=(0,d.withKeys)((0,d.withModifiers)(()=>{},[`stop`]),[`enter`])]},null,8,[`modelValue`,`placeholder`,`onKeydown`])])):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,Ao,[(0,d.unref)(i)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,jo,[(0,d.createElementVNode)(`span`,Mo,(0,d.toDisplayString)((0,d.unref)(n).t(`component.action_dropdown_menu.loading_actions`)),1),(0,d.createVNode)((0,d.unref)(K),{gap:`lg`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-40`}),(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-24`}),(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-48`}),(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-32`})]),_:1})])):(0,d.unref)(a).length>0?((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:1},(0,d.renderList)((0,d.unref)(a),(n,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:r},[r>0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(fo),{key:0})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(no),null,{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n,n=>((0,d.openBlock)(),(0,d.createBlock)(Do,{key:n.id,models:t.models,action:n,context:(0,d.unref)(o),preview:(0,d.unref)(c),"close-on-select":e.parentAction?.multiSelectSubActions!==!0},null,8,[`models`,`action`,`context`,`preview`,`close-on-select`]))),128))]),_:2},1024)],64))),128)):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,No,[(0,d.createVNode)((0,d.unref)(W),{text:(0,d.unref)(n).t(`component.action_menu.no_matching_actions`),class:`text-xs text-tertiary`},null,8,[`text`])]))],512)]))}}),Fo=(0,d.defineComponent)({__name:`ActionDropdownMenu`,props:(0,d.mergeModels)({disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},actions:{},currentContextOnly:{type:Boolean},metadata:{},models:{},parentAction:{}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:[`update:isOpen`],setup(e){let t=e,n=(0,d.useModel)(e,`isOpen`);t.currentContextOnly||((0,f.useTemporaryActions)(t.actions??[],f.GroupPriority.VIEW),(0,f.useTemporaryActions)(t.parentAction??[],f.GroupPriority.VIEW));let r=(0,f.useActionManagerStore)(),i=(0,d.computed)(()=>{let e=r.actionContext({menuType:`contextualMenu`,metadata:t.metadata,models:t.models??[]});return t.parentAction===void 0?(t.actions??[]).some(t=>(0,f.resolveApplicable)(t,e)):(0,f.resolveApplicable)(t.parentAction,e)});return(e,r)=>i.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(yr),(0,d.mergeProps)({key:0},t,{"is-open":n.value,"onUpdate:isOpen":r[0]||=e=>n.value=e}),{trigger:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(Po,{metadata:t.metadata,actions:t.actions??[],"parent-action":t.parentAction,models:t.models??[]},null,8,[`metadata`,`actions`,`parent-action`,`models`])]),_:3},16,[`is-open`])):(0,d.renderSlot)(e.$slots,`fallback`,{key:1})}}),Io=(0,d.defineComponent)({__name:`ActionFocus`,props:{actions:{},models:{}},setup(e){let t=e,{register:n,unregister:r}=(0,f.useTemporaryActions)(t.actions,f.GroupPriority.HOVER,!0),{register:i,unregister:a}=(0,f.useFocusedModels)((0,d.computed)(()=>t.models??[]));function o(){n(),i()}function s(){r(),a()}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,onMouseenter:o,onFocusin:o,onMouseleave:s,onFocusout:s},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),Lo=(0,d.defineComponent)({__name:`ActionTrigger`,props:{action:{},currentContextOnly:{type:Boolean},models:{}},setup(e){let t=e,n=(0,f.useActionManagerStore)();t.currentContextOnly||((0,f.useTemporaryActions)(t.action,t.action.group?.priority??f.GroupPriority.VIEW),(0,f.useViewModels)((0,d.computed)(()=>t.models??[])));let r=(0,d.ref)(!1),i=(0,d.computed)(()=>n.actionContext({models:t.models}));async function a(){if(!(t.action.isApplicable!==void 0&&!t.action.isApplicable(i.value))){r.value=!0;try{await n.executeAction(t.action,i.value)}finally{r.value=!1}}}let o=(0,d.computed)(()=>(0,f.resolveActionName)(t.action,i.value)),s=(0,d.computed)(()=>t.action.icon?.(i.value)??null),c=(0,d.computed)(()=>t.action.isApplicable===void 0?!0:t.action.isApplicable(i.value));return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,onClick:a},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{label:o.value,icon:s.value,isExecuting:r.value,canExecute:c.value,keyboardShortcut:t.action.keyboardShortcut??null})]),_:3}))}}),[Ro,zo]=I(`adaptiveContentContext`),Bo=(0,d.defineComponent)({__name:`AdaptiveContent`,setup(e){let t=(0,d.useTemplateRef)(`container`),n=null,r=!1,i=!1,a=!1,o=(0,d.ref)(new Map),s=(0,d.ref)(new Set);function c(e){o.value.set(e.id,{...e,width:e.element.offsetWidth}),u()}function l(e){o.value.delete(e),s.value.delete(e),u()}function u(){if(i){a=!0;return}r||(r=!0,requestAnimationFrame(()=>{r=!1,g()}))}function f(){let e=[...o.value.entries()].toSorted((e,t)=>e[1].priority-t[1].priority),t=new Map;for(let[,n]of e)t.has(n.priority)||t.set(n.priority,[]),t.get(n.priority)?.push(n);return t}function m(e){return[...e.keys()].toSorted((e,t)=>e-t)}function h(){return t.value?.$el}async function g(){let e=h();if(e===null)return;i=!0,s.value=new Set;let t=f(),n=m(t);for(let r of n){let i=t.get(r);for(let e of i)s.value.add(e.id);if(await(0,d.nextTick)(),e.scrollWidth>e.clientWidth){for(let e of i)s.value.delete(e.id);let e=n.slice(n.indexOf(r)+1);for(let n of e){let e=t.get(n);for(let t of e)s.value.delete(t.id)}break}}i=!1,a&&(a=!1,u())}return(0,d.onMounted)(()=>{n=new ResizeObserver(u),n.observe(t.value?.$el)}),(0,d.onBeforeUnmount)(()=>{n?.disconnect()}),Ro({registerBlock:c,scheduleLayoutEvaluation:u,unregisterBlock:l,visibleBlockIds:(0,d.computed)(()=>s.value)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{ref:`container`,"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{hiddenBlockCount:o.value.size-s.value.size})]),_:3},512))}}),Vo=(0,d.defineComponent)({inheritAttrs:!1,__name:`AdaptiveContentBlock`,props:{priority:{}},setup(e){let t=e,n=(0,d.useAttrs)(),r=(0,d.useTemplateRef)(`block`),{registerBlock:i,unregisterBlock:a,visibleBlockIds:o}=zo(),s=(0,d.useId)(),c=(0,d.computed)(()=>o.value.has(s)),l=(0,h.useMounted)();return(0,d.onMounted)(()=>{i({id:s,element:r.value?.$el,priority:t.priority})}),(0,d.onBeforeUnmount)(()=>{a(s)}),(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[(0,d.withDirectives)((0,d.createVNode)((0,d.unref)(p.Primitive),(0,d.mergeProps)({ref:`block`},(0,d.unref)(n),{"as-child":!0}),{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},16),[[d.vShow,c.value||!(0,d.unref)(l)]]),!c.value&&(0,d.unref)(l)?(0,d.renderSlot)(e.$slots,`fallback`,{key:0}):(0,d.createCommentVNode)(``,!0)],64))}});function Ho(e){let t=[],n=[];return e.street!==``&&t.push(e.street),e.streetNumber!==``&&t.push(e.streetNumber),e.bus!==``&&t.push(e.bus),e.postalCode!==``&&n.push(e.postalCode),e.city!==``&&n.push(e.city),{placeId:e.placeId??``,mainText:t.join(` `),secondaryText:n.join(` `)}}function Uo(e){let t=[];return e.mainText!==``&&t.push(e.mainText),e.secondaryText!==``&&t.push(e.secondaryText),t.join(`, `)}var Wo={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 Go(e,t){var n=Array.prototype.slice.call(t);return n.push(Wo),e.apply(this,n)}function Ko(e,t){e=e.split(`-`),t=t.split(`-`);for(var n=e[0].split(`.`),r=t[0].split(`.`),i=0;i<3;i++){var a=Number(n[i]),o=Number(r[i]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var qo={}.constructor;function Jo(e){return e!=null&&e.constructor===qo}function Yo(e){"@babel/helpers - typeof";return Yo=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Yo(e)}function Xo(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Zo(e,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(e,$o(r.key),r)}}function Qo(e,t,n){return t&&Zo(e.prototype,t),n&&Zo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $o(e){var t=es(e,`string`);return Yo(t)==`symbol`?t:t+``}function es(e,t){if(Yo(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Yo(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var ts=`1.2.0`,ns=`1.7.35`,rs=` ext. `,is=/^\d+$/,J=function(){function e(t){Xo(this,e),us(t),this.metadata=t,ms.call(this,t)}return Qo(e,[{key:`getCountries`,value:function(){return Object.keys(this.metadata.countries).filter(function(e){return e!==`001`})}},{key:`getCountryMetadata`,value:function(e){return this.metadata.countries[e]}},{key:`nonGeographic`,value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:`hasCountry`,value:function(e){return this.getCountryMetadata(e)!==void 0}},{key:`hasCallingCode`,value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&t.length===1&&t[0]===`001`)return!0}}},{key:`isNonGeographicCallingCode`,value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:`country`,value:function(e){return this.selectNumberingPlan(e)}},{key:`selectNumberingPlan`,value:function(e,t){if(e&&is.test(e)&&(t=e,e=null),e&&e!==`001`){if(!this.hasCountry(e))throw Error(`Unknown country: ${e}`);this.numberingPlan=new as(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error(`Unknown calling code: ${t}`);this.numberingPlan=new as(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:`getCountryCodesForCallingCode`,value:function(e){var t=this.countryCallingCodes()[e];if(t)return t.length===1&&t[0].length===3?void 0:t}},{key:`getCountryCodeForCallingCode`,value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:`getNumberingPlanMetadata`,value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&r.length===1&&r[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(e){return this.numberingPlan.type(e)}},{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(e){return this.selectNumberingPlan(e)}},{key:`hasSelectedNumberingPlan`,value:function(){return this.numberingPlan!==void 0}}])}(),as=function(){function e(t,n){Xo(this,e),this.globalMetadataObject=n,this.metadata=t,ms.call(this,n.metadata)}return Qo(e,[{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(e){return e[this.v1?2:this.v2?3:4]}},{key:`formats`,value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new os(t,e)})}},{key:`nationalPrefix`,value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:`_getNationalPrefixFormattingRule`,value:function(e){return e[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(e){if(this.hasTypes()&&ls(this.types(),e))return new cs(ls(this.types(),e),this)}},{key:`ext`,value:function(){return this.v1||this.v2?rs:this.metadata[13]||rs}}])}(),os=function(){function e(t,n){Xo(this,e),this._format=t,this.metadata=n}return Qo(e,[{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()&&!ss.test(this.nationalPrefixFormattingRule()))}},{key:`internationalFormat`,value:function(){return this._format[5]||this.format()}}])}(),ss=/^\(?\$1\)?$/,cs=function(){function e(t,n){Xo(this,e),this.type=t,this.metadata=n}return Qo(e,[{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 ls(e,t){switch(t){case`FIXED_LINE`:return e[0];case`MOBILE`:return e[1];case`TOLL_FREE`:return e[2];case`PREMIUM_RATE`:return e[3];case`PERSONAL_NUMBER`:return e[4];case`VOICEMAIL`:return e[5];case`UAN`:return e[6];case`PAGER`:return e[7];case`VOIP`:return e[8];case`SHARED_COST`:return e[9]}}function us(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Jo(e)||!Jo(e.countries))throw Error(`[libphonenumber-js] \`metadata\` argument was passed but it's not a valid metadata. Must be an object having \`.countries\` child object property. Got ${Jo(e)?`an object of shape: { `+Object.keys(e).join(`, `)+` }`:`a `+ds(e)+`: `+e}.`)}var ds=function(e){return Yo(e)};function fs(e,t){if(t=new J(t),t.hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw Error(`Unknown country: ${e}`)}function ps(e,t){return t.countries.hasOwnProperty(e)}function ms(e){var t=e.version;typeof t==`number`?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Ko(t,ts)===-1?this.v2=!0:Ko(t,ns)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function hs(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=gs(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
37
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gs(e,t){if(e){if(typeof e==`string`)return _s(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_s(e,t):void 0}}function _s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function vs(e,t){for(var n=e.slice(),r=hs(t),i;!(i=r()).done;){var a=i.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(e,t){return e-t})}function ys(e,t,n){return bs(e,t,void 0,n)}function bs(e,t,n,r){t&&(r=new J(r.metadata),r.selectNumberingPlan(t));var i=r.type(n),a=i&&i.possibleLengths()||r.possibleLengths();if(!a)return`IS_POSSIBLE`;if(n===`FIXED_LINE_OR_MOBILE`){if(!r.type(`FIXED_LINE`))return bs(e,t,`MOBILE`,r);var o=r.type(`MOBILE`);o&&(a=vs(a,o.possibleLengths()))}else if(n&&!i)return`INVALID_LENGTH`;var s=e.length,c=a[0];return c===s?`IS_POSSIBLE`:c>s?`TOO_SHORT`:a[a.length-1]<s?`TOO_LONG`:a.indexOf(s,1)>=0?`IS_POSSIBLE`:`INVALID_LENGTH`}function xs(e,t,n){if(t===void 0&&(t={}),n=new J(n),t.v2){if(!e.countryCallingCode)throw Error(`Invalid phone number object passed`);n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw Error(`Unknown country: ${e.country}`);n.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw Error(`Invalid phone number object passed`);n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return Ss(e.phone||e.nationalNumber,e.country,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw Error(`Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.`)}function Ss(e,t,n){switch(ys(e,t,n)){case`IS_POSSIBLE`:return!0;default:return!1}}function Cs(e,t){return e||=``,RegExp(`^(?:`+t+`)$`).test(e)}function ws(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Ts(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
38
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ts(e,t){if(e){if(typeof e==`string`)return Es(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Es(e,t):void 0}}function Es(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ds=[`MOBILE`,`PREMIUM_RATE`,`TOLL_FREE`,`SHARED_COST`,`VOIP`,`PERSONAL_NUMBER`,`PAGER`,`UAN`,`VOICEMAIL`];function Os(e,t,n){if(t||={},!(!e.country&&!e.countryCallingCode)){n=new J(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Cs(r,n.nationalNumberPattern())){if(ks(r,`FIXED_LINE`,n))return n.type(`MOBILE`)&&n.type(`MOBILE`).pattern()===``||!n.type(`MOBILE`)||ks(r,`MOBILE`,n)?`FIXED_LINE_OR_MOBILE`:`FIXED_LINE`;for(var i=ws(Ds),a;!(a=i()).done;){var o=a.value;if(ks(r,o,n))return o}}}}function ks(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:Cs(e,t.pattern())}function As(e,t,n){return t||={},n=new J(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes()?Os(e,t,n.metadata)!==void 0:Cs(t.v2?e.nationalNumber:e.phone,n.nationalNumberPattern())}function js(e,t,n){var r=new J(n).getCountryCodesForCallingCode(e);return r?r.filter(function(e){return Ms(t,e,n)}):[]}function Ms(e,t,n){var r=new J(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var Y=`0-90-9٠-٩۰-۹`,Ns=`-‐-―−ー-//.. \xA0 ()()[]\\[\\]~⁓∼~`,Ps=`++`,Fs=RegExp(`([`+Y+`])`);function Is(e,t,n,r){if(t){var i=new J(r);i.selectNumberingPlan(t,n);var a=new RegExp(i.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var o=e.match(Fs);if(!(o&&o[1]!=null&&o[1].length>0&&o[1]===`0`))return e}}}function Ls(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=RegExp(`^(?:`+t.numberingPlan.nationalPrefixForParsing()+`)`),r=n.exec(e);if(r){var i,a,o=r.length-1,s=o>0&&r[o];if(t.nationalPrefixTransformRule()&&s)i=e.replace(n,t.nationalPrefixTransformRule()),o>1&&(a=r[1]);else{var c=r[0];i=e.slice(c.length),s&&(a=r[1])}var l;if(s){var u=e.indexOf(r[1]);e.slice(0,u)===t.numberingPlan.nationalPrefix()&&(l=t.numberingPlan.nationalPrefix())}else l=r[0];return{nationalNumber:i,nationalPrefix:l,carrierCode:a}}}return{nationalNumber:e}}function Rs(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=zs(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
39
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zs(e,t){if(e){if(typeof e==`string`)return Bs(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bs(e,t):void 0}}function Bs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vs(e,t){var n=t.countries,r=t.metadata;r=new J(r);for(var i=Rs(n),a;!(a=i()).done;){var o=a.value;if(r.selectNumberingPlan(o),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return o}else if(Os({phone:e,country:o},void 0,r.metadata))return o}}var Hs=!1;function Us(e,t){var n=t.nationalNumber,r=t.metadata;if(Hs&&r.isNonGeographicCallingCode(e))return`001`;var i=r.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:Vs(n,{countries:i,metadata:r.metadata})}function Ws(e,t,n){var r=Ls(e,n),i=r.carrierCode,a=r.nationalNumber;return a!==e&&(!Gs(e,a,n)||n.numberingPlan.possibleLengths()&&(t||=Us(n.numberingPlan.callingCode(),{nationalNumber:a,metadata:n}),!Ks(a,t,n)))?{nationalNumber:e}:{nationalNumber:a,carrierCode:i}}function Gs(e,t,n){return!(Cs(e,n.nationalNumberPattern())&&!Cs(t,n.nationalNumberPattern()))}function Ks(e,t,n){switch(ys(e,t,n)){case`TOO_SHORT`:case`INVALID_LENGTH`:return!1;default:return!0}}function qs(e,t,n,r,i){var a=t||n?fs(t||n,i):r;if(e.indexOf(a)===0){i=new J(i),i.selectNumberingPlan(t||n,a);var o=e.slice(a.length),s=Ws(o,t,i).nationalNumber,c=Ws(e,t,i).nationalNumber;if(!Cs(c,i.nationalNumberPattern())&&Cs(s,i.nationalNumberPattern())||ys(c,t,i)===`TOO_LONG`)return{countryCallingCode:a,number:o}}return{number:e}}function Js(e,t,n,r,i){if(!e)return{};var a;if(e[0]!==`+`){var o=Is(e,t||n,r,i);if(o&&o!==e)a=!0,e=`+`+o;else{if(t||n||r){var s=qs(e,t,n,r,i),c=s.countryCallingCode,l=s.number;if(c)return{countryCallingCodeSource:`FROM_NUMBER_WITHOUT_PLUS_SIGN`,countryCallingCode:c,number:l}}return{number:e}}}if(e[1]===`0`)return{};i=new J(i);for(var u=2;u-1<=3&&u<=e.length;){var d=e.slice(1,u);if(i.hasCallingCode(d))return i.selectNumberingPlan(d),{countryCallingCodeSource:a?`FROM_NUMBER_WITH_IDD`:`FROM_NUMBER_WITH_PLUS_SIGN`,countryCallingCode:d,number:e.slice(u)};u++}return{}}function Ys(e){return e.replace(RegExp(`[${Ns}]+`,`g`),` `).trim()}var Xs=/(\$\d)/;function Zs(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(Xs,t.nationalPrefixFormattingRule()):t.format());return r?Ys(a):a}var Qs=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function $s(e,t,n){var r=new J(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(Qs.test(r.IDDPrefix()))return r.IDDPrefix()}var ec=`;ext=`,tc=function(e){return`([${Y}]{1,${e}})`};function nc(e){var t=`20`,n=`15`,r=`9`,i=`6`,a=`[ \xA0\\t,]*`,o=`[:\\..]?[ \xA0\\t,-]*`,s=`#?`,c=`(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)`,l=`(?:[xx##~~]|int|int)`,u=`[- ]+`,d=`[ \xA0\\t]*`,f=`(?:,{2}|;)`,p=ec+tc(t),m=a+c+o+tc(t)+s,h=a+l+o+tc(r)+s,g=u+tc(i)+`#`,_=d+f+o+tc(n)+s,v=d+`(?:,)+`+o+tc(r)+s;return p+`|`+m+`|`+h+`|`+g+`|`+_+`|`+v}var rc=`[`+Y+`]{2}`,ic=`[`+Ps+`]{0,1}(?:[`+Ns+`]*[`+Y+`]){3,}[`+Ns+Y+`]*`,ac=RegExp(`^[`+Ps+`]{0,1}(?:[`+Ns+`]*[`+Y+`]){1,2}$`,`i`),oc=ic+`(?:`+nc()+`)?`,sc=RegExp(`^`+rc+`$|^`+oc+`$`,`i`);function cc(e){return e.length>=2&&sc.test(e)}function lc(e){return ac.test(e)}function uc(e){var t=e.number,n=e.ext;if(!t)return``;if(t[0]!==`+`)throw Error(`"formatRFC3966()" expects "number" to be in E.164 format.`);return`tel:${t}${n?`;ext=`+n:``}`}var dc={formatExtension:function(e,t,n){return`${e}${n.ext()}${t}`}};function fc(e,t,n,r){if(n=n?_c({},dc,n):dc,r=new J(r),e.country&&e.country!==`001`){if(!r.hasCountry(e.country))throw Error(`Unknown country: ${e.country}`);r.selectNumberingPlan(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||``;var i=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,o;switch(t){case`NATIONAL`:return a?(o=pc(a,e.carrierCode,`NATIONAL`,r,n),hc(o,e.ext,r,n.formatExtension)):``;case`INTERNATIONAL`:return a?(o=pc(a,null,`INTERNATIONAL`,r,n),o=`+${i} ${o}`,hc(o,e.ext,r,n.formatExtension)):`+${i}`;case`E.164`:return`+${i}${a}`;case`RFC3966`:return uc({number:`+${i}${a}`,ext:e.ext});case`IDD`:if(!n.fromCountry)return;var s=gc(a,e.carrierCode,i,n.fromCountry,r);return s?hc(s,e.ext,r,n.formatExtension):void 0;default:throw Error(`Unknown "format" argument passed to "formatNumber()": "${t}"`)}}function pc(e,t,n,r,i){var a=mc(r.formats(),e);return a?Zs(e,a,{useInternationalFormat:n===`INTERNATIONAL`,withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function mc(e,t){return vc(e,function(e){if(e.leadingDigitsPatterns().length>0){var n=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(t.search(n)!==0)return!1}return Cs(t,e.pattern())})}function hc(e,t,n,r){return t?r(e,t,n):e}function gc(e,t,n,r,i){if(fs(r,i.metadata)===n){var a=pc(e,t,`NATIONAL`,i);return n===`1`?n+` `+a:a}var o=$s(r,void 0,i.metadata);if(o)return`${o} ${n} ${pc(e,null,`INTERNATIONAL`,i)}`}function _c(){for(var e=1,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var i in n[e])n[0][i]=n[e][i];e++}return n[0]}function vc(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}function yc(e){"@babel/helpers - typeof";return yc=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yc(e)}function bc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bc(Object(n),!0).forEach(function(t){Sc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Sc(e,t,n){return(t=Ec(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function wc(e,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(e,Ec(r.key),r)}}function Tc(e,t,n){return t&&wc(e.prototype,t),n&&wc(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ec(e){var t=Dc(e,`string`);return yc(t)==`symbol`?t:t+``}function Dc(e,t){if(yc(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(yc(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Oc=!1,kc=function(){function e(t,n,r){if(Cc(this,e),!t)throw TypeError(`First argument is required`);if(typeof t!=`string`)throw TypeError(`First argument must be a string`);if(t[0]===`+`&&!n)throw TypeError("`metadata` argument not passed");if(Jo(n)&&Jo(n.countries)){r=n;var i=t;if(!Mc.test(i))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=Js(i,void 0,void 0,void 0,r),o=a.countryCallingCode;if(n=a.number,t=o,!n)throw Error("Invalid `number` argument passed: too short")}if(!n)throw TypeError("`nationalNumber` argument is required");if(typeof n!=`string`)throw TypeError("`nationalNumber` argument must be a string");us(r);var s=jc(t,r),c=s.country,l=s.countryCallingCode;this.country=c,this.countryCallingCode=l,this.nationalNumber=n,this.number=`+`+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return Tc(e,[{key:`setExt`,value:function(e){this.ext=e}},{key:`getPossibleCountries`,value:function(){return this.country?[this.country]:js(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:`isPossible`,value:function(){return xs(this,{v2:!0},this.getMetadata())}},{key:`isValid`,value:function(){return As(this,{v2:!0},this.getMetadata())}},{key:`isNonGeographic`,value:function(){return new J(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:`isEqual`,value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:`getType`,value:function(){return Os(this,{v2:!0},this.getMetadata())}},{key:`format`,value:function(e,t){return fc(this,e,t?xc(xc({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:`formatNational`,value:function(e){return this.format(`NATIONAL`,e)}},{key:`formatInternational`,value:function(e){return this.format(`INTERNATIONAL`,e)}},{key:`getURI`,value:function(e){return this.format(`RFC3966`,e)}}])}(),Ac=function(e){return/^[A-Z]{2}$/.test(e)};function jc(e,t){var n,r,i=new J(t);return Ac(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):(r=e,Oc&&i.isNonGeographicCallingCode(r)&&(n=`001`)),{country:n,countryCallingCode:r}}var Mc=/^\+\d+$/;function Nc(e){"@babel/helpers - typeof";return Nc=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Nc(e)}function Pc(e,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(e,Ic(r.key),r)}}function Fc(e,t,n){return t&&Pc(e.prototype,t),n&&Pc(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ic(e){var t=Lc(e,`string`);return Nc(t)==`symbol`?t:t+``}function Lc(e,t){if(Nc(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Nc(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Rc(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function zc(e,t,n){return t=Jc(t),Bc(e,Gc()?Reflect.construct(t,n||[],Jc(e).constructor):t.apply(e,n))}function Bc(e,t){if(t&&(Nc(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return Vc(e)}function Vc(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Hc(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qc(e,t)}function Uc(e){var t=typeof Map==`function`?new Map:void 0;return Uc=function(e){if(e===null||!Kc(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Wc(e,arguments,Jc(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),qc(n,e)},Uc(e)}function Wc(e,t,n){if(Gc())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&qc(i,n.prototype),i}function Gc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Gc=function(){return!!e})()}function Kc(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function qc(e,t){return qc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qc(e,t)}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jc(e)}var Yc=function(e){function t(e){var n;return Rc(this,t),n=zc(this,t,[e]),Object.setPrototypeOf(n,t.prototype),n.name=n.constructor.name,n}return Hc(t,e),Fc(t)}(Uc(Error)),Xc=RegExp(`(?:`+nc()+`)$`,`i`);function Zc(e){var t=e.search(Xc);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(Xc),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}function Qc(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=$c(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
40
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $c(e,t){if(e){if(typeof e==`string`)return el(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?el(e,t):void 0}}function el(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tl={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 nl(e){return tl[e]}function rl(e){for(var t=``,n=Qc(e.split(``)),r;!(r=n()).done;){var i=r.value,a=nl(i);a&&(t+=a)}return t}function il(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=al(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
41
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function al(e,t){if(e){if(typeof e==`string`)return ol(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ol(e,t):void 0}}function ol(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function sl(e){for(var t=``,n=il(e.split(``)),r;!(r=n()).done;){var i=r.value;t+=cl(i,t)||``}return t}function cl(e,t,n){if(e===`+`){if(t){typeof n==`function`&&n(`end`);return}return`+`}return nl(e)}var ll=`([`+Y+`]|[\\-\\.\\(\\)]?)`,ul=`^\\+`+ll+`*[`+Y+`]`+ll+`*$`,dl=new RegExp(ul,`g`),fl=Y,pl=`[`+fl+`]+((\\-)*[`+fl+`])*`,ml=`[a-zA-Z]+((\\-)*[`+fl+`])*`,hl=`^(`+pl+`\\.)*`+ml+`\\.?$`,gl=new RegExp(hl,`g`),_l=`tel:`,vl=`;phone-context=`,yl=`;isub=`;function bl(e){var t=e.indexOf(vl);if(t<0)return null;var n=t+vl.length;if(n>=e.length)return``;var r=e.indexOf(`;`,n);return r>=0?e.substring(n,r):e.substring(n)}function xl(e){return e===null?!0:e.length===0?!1:dl.test(e)||gl.test(e)}function Sl(e,t){var n=t.extractFormattedPhoneNumber,r=bl(e);if(!xl(r))throw new Yc(`NOT_A_NUMBER`);var i;if(r===null)i=n(e)||``;else{i=``,r.charAt(0)===`+`&&(i+=r);var a=e.indexOf(_l),o=a>=0?a+_l.length:0,s=e.indexOf(vl);i+=e.substring(o,s)}var c=i.indexOf(yl);if(c>0&&(i=i.substring(0,c)),i!==``)return i}var Cl=250,wl=RegExp(`[`+Ps+Y+`]`),Tl=RegExp(`[^`+Y+`#]+$`),El=!1;function Dl(e,t,n){if(t||={},n=new J(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new Yc(`INVALID_COUNTRY`):Error(`Unknown country: ${t.defaultCountry}`);var r=kl(e,t.v2,t.extract),i=r.number,a=r.ext,o=r.error;if(!i){if(t.v2)throw o===`TOO_SHORT`?new Yc(`TOO_SHORT`):new Yc(`NOT_A_NUMBER`);return{}}var s=jl(i,t.defaultCountry,t.defaultCallingCode,n),c=s.country,l=s.nationalNumber,u=s.countryCallingCode,d=s.countryCallingCodeSource,f=s.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new Yc(`INVALID_COUNTRY`);return{}}if(!l||l.length<2){if(t.v2)throw new Yc(`TOO_SHORT`);return{}}if(l.length>17){if(t.v2)throw new Yc(`TOO_LONG`);return{}}if(t.v2){var p=new kc(u,l,n.metadata);return c&&(p.country=c),f&&(p.carrierCode=f),a&&(p.ext=a),p.__countryCallingCodeSource=d,p}var m=(t.extended?n.hasSelectedNumberingPlan():c)?Cs(l,n.nationalNumberPattern()):!1;return t.extended?{country:c,countryCallingCode:u,carrierCode:f,valid:m,possible:m?!0:!!(t.extended===!0&&n.possibleLengths()&&Ss(l,c,n)),phone:l,ext:a}:m?Al(c,l,a):{}}function Ol(e,t,n){if(e){if(e.length>Cl){if(n)throw new Yc(`TOO_LONG`);return}if(t===!1)return e;var r=e.search(wl);if(!(r<0))return e.slice(r).replace(Tl,``)}}function kl(e,t,n){var r=Sl(e,{extractFormattedPhoneNumber:function(e){return Ol(e,n,t)}});if(!r)return{};if(!cc(r))return lc(r)?{error:`TOO_SHORT`}:{};var i=Zc(r);return i.ext?i:{number:r}}function Al(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function jl(e,t,n,r){var i=Js(sl(e),void 0,t,n,r.metadata),a=i.countryCallingCodeSource,o=i.countryCallingCode,s=i.number,c;if(o)r.selectNumberingPlan(o);else if(s&&(t||n))r.selectNumberingPlan(t,n),t?c=t:El&&r.isNonGeographicCallingCode(n)&&(c=`001`),o=n||fs(t,r.metadata);else return{};if(!s)return{countryCallingCodeSource:a,countryCallingCode:o};var l=Ws(sl(s),c,r),u=l.nationalNumber,d=l.carrierCode,f=Us(o,{nationalNumber:u,metadata:r});return f&&(c=f,f===`001`||r.selectNumberingPlan(c)),{country:c,countryCallingCode:o,countryCallingCodeSource:a,nationalNumber:u,carrierCode:d}}function Ml(e){"@babel/helpers - typeof";return Ml=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ml(e)}function Nl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Pl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Nl(Object(n),!0).forEach(function(t){Fl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fl(e,t,n){return(t=Il(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(e){var t=Ll(e,`string`);return Ml(t)==`symbol`?t:t+``}function Ll(e,t){if(Ml(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Ml(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Rl(e,t,n){return Dl(e,Pl(Pl({},t),{},{v2:!0}),n)}function zl(e){"@babel/helpers - typeof";return zl=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},zl(e)}function Bl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Vl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Bl(Object(n),!0).forEach(function(t){Hl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Hl(e,t,n){return(t=Ul(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){var t=Wl(e,`string`);return zl(t)==`symbol`?t:t+``}function Wl(e,t){if(zl(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(zl(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Gl(e,t){return Xl(e)||Yl(e,t)||ql(e,t)||Kl()}function Kl(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
42
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ql(e,t){if(e){if(typeof e==`string`)return Jl(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jl(e,t):void 0}}function Jl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Yl(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Xl(e){if(Array.isArray(e))return e}function Zl(e){var t=Gl(Array.prototype.slice.call(e),4),n=t[0],r=t[1],i=t[2],a=t[3],o,s,c;if(typeof n==`string`)o=n;else throw TypeError(`A text for parsing must be a string.`);if(!r||typeof r==`string`)a?(s=i,c=a):(s=void 0,c=i),r&&(s=Vl({defaultCountry:r},s));else if(Jo(r))i?(s=r,c=i):c=r;else throw Error(`Invalid second argument: ${r}`);return{text:o,options:s,metadata:c}}function Ql(e){"@babel/helpers - typeof";return Ql=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ql(e)}function $l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$l(Object(n),!0).forEach(function(t){tu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tu(e,t,n){return(t=nu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e){var t=ru(e,`string`);return Ql(t)==`symbol`?t:t+``}function ru(e,t){if(Ql(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Ql(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function iu(e,t,n){t&&t.defaultCountry&&!ps(t.defaultCountry,n)&&(t=eu(eu({},t),{},{defaultCountry:void 0}));try{return Rl(e,t,n)}catch(e){if(!(e instanceof Yc))throw e}}function au(){var e=Zl(arguments),t=e.text,n=e.options,r=e.metadata;return iu(t,n,r)}function ou(e){"@babel/helpers - typeof";return ou=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ou(e)}function su(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?su(Object(n),!0).forEach(function(t){lu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):su(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lu(e,t,n){return(t=uu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uu(e){var t=du(e,`string`);return ou(t)==`symbol`?t:t+``}function du(e,t){if(ou(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(ou(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function fu(){var e=Zl(arguments),t=e.text,n=e.options,r=e.metadata;n=cu(cu({},n),{},{extract:!1});try{var i=Rl(t,n,r);r=new J(r),r.selectNumberingPlan(i.countryCallingCode);var a=ys(i.nationalNumber,i.country,r);if(a!==`IS_POSSIBLE`)return a}catch(e){if(e instanceof Yc)return e.message;throw e}}function pu(e){"@babel/helpers - typeof";return pu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},pu(e)}function mu(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function hu(e,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(e,_u(r.key),r)}}function gu(e,t,n){return t&&hu(e.prototype,t),n&&hu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _u(e){var t=vu(e,`string`);return pu(t)==`symbol`?t:t+``}function vu(e,t){if(pu(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(pu(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var yu=function(){function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;mu(this,e),this.onCountryChange=n,this.onCallingCodeChange=r}return gu(e,[{key:`reset`,value:function(e){var t=e.country,n=e.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits=``,this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(t,n)}},{key:`resetNationalSignificantNumber`,value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberIsModified=!1,this.nationalPrefix=void 0,this.carrierCode=void 0,this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=void 0}},{key:`update`,value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this[r]=e[r]}}},{key:`initCountryAndCallingCode`,value:function(e,t){this.setCountry(e),this.setCallingCode(t)}},{key:`setCountry`,value:function(e){this.country=e,this.onCountryChange(e)}},{key:`setCallingCode`,value:function(e){this.callingCode=e,this.onCallingCodeChange(e,this.country)}},{key:`startInternationalNumber`,value:function(e,t){this.international=!0,this.initCountryAndCallingCode(e,t)}},{key:`appendDigits`,value:function(e){this.digits+=e}},{key:`appendNationalSignificantNumberDigits`,value:function(e){this.nationalSignificantNumber+=e}},{key:`getNationalDigits`,value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:`getDigitsWithoutInternationalPrefix`,value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}])}();function bu(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=xu(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
43
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xu(e,t){if(e){if(typeof e==`string`)return Su(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Su(e,t):void 0}}function Su(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Cu=RegExp(`x`);function wu(e,t){if(t<1)return``;for(var n=``;t>1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function Tu(e,t){return e[t]===`)`&&t++,Eu(e.slice(0,t))}function Eu(e){for(var t=[],n=0;n<e.length;)e[n]===`(`?t.push(n):e[n]===`)`&&t.pop(),n++;var r=0,i=``;t.push(e.length);for(var a=0,o=t;a<o.length;a++){var s=o[a];i+=e.slice(r,s),r=s+1}return i}function Du(e,t,n){for(var r=bu(n.split(``)),i;!(i=r()).done;){var a=i.value;if(e.slice(t+1).search(Cu)<0)return;t=e.search(Cu),e=e.replace(Cu,a)}return[e,t]}function Ou(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix;if(RegExp(`^(?:${t.pattern()})\$`).test(e.nationalSignificantNumber))return Au(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:a})}function ku(e,t,n){return ys(e,t,n)===`IS_POSSIBLE`}function Au(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,i(t)){var o=ju(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:a,metadata:r});if(o)return o}return ju(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:a,metadata:r})}function ju(e,t,n){var r=n.metadata,i=n.useNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix,o=Zs(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:i,metadata:r});if(i||(e.nationalPrefix?o=e.nationalPrefix+a(t)+o:e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix&&(o=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+` `+o)),Mu(o,e))return o}function Mu(e,t){return rl(e)===t.getNationalDigits()}function Nu(e){"@babel/helpers - typeof";return Nu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Nu(e)}function Pu(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Fu(e,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(e,Lu(r.key),r)}}function Iu(e,t,n){return t&&Fu(e.prototype,t),n&&Fu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lu(e){var t=Ru(e,`string`);return Nu(t)==`symbol`?t:t+``}function Ru(e,t){if(Nu(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Nu(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var zu=function(){function e(){Pu(this,e)}return Iu(e,[{key:`parse`,value:function(e){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(e),this.context.length!==1)throw Error(`Non-finalized contexts left when pattern parse ended`);var t=this.context[0],n=t.branches,r=t.instructions;if(n)return{op:`|`,args:n.concat([Uu(r)])};if(r.length===0)throw Error(`Pattern is required`);return r.length===1?r[0]:r}},{key:`startContext`,value:function(e){this.context.push(e)}},{key:`endContext`,value:function(){this.context.pop()}},{key:`getContext`,value:function(){return this.context[this.context.length-1]}},{key:`parsePattern`,value:function(e){if(!e)throw Error(`Pattern is required`);var t=e.match(Hu);if(!t){if(Vu.test(e))throw Error(`Illegal characters found in a pattern: ${e}`);this.getContext().instructions=this.getContext().instructions.concat(e.split(``));return}var n=t[1],r=e.slice(0,t.index),i=e.slice(t.index+n.length);switch(n){case`(?:`:r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case`)`:if(!this.getContext().or)throw Error(`")" operator must be preceded by "(?:" operator`);if(r&&this.parsePattern(r),this.getContext().instructions.length===0)throw Error(`No instructions found after "|" operator in an "or" group`);var a=this.getContext().branches;a.push(Uu(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:`|`,args:a});break;case`|`:if(!this.getContext().or)throw Error(`"|" operator can only be used inside "or" groups`);if(r&&this.parsePattern(r),!this.getContext().branches)if(this.context.length===1)this.getContext().branches=[];else throw Error(`"branches" not found in an "or" group context`);this.getContext().branches.push(Uu(this.getContext().instructions)),this.getContext().instructions=[];break;case`[`:r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case`]`:if(!this.getContext().oneOfSet)throw Error(`"]" operator must be preceded by "[" operator`);this.endContext(),this.getContext().instructions.push({op:`[]`,args:Bu(r)});break;default:throw Error(`Unknown operator: ${n}`)}i&&this.parsePattern(i)}}])}();function Bu(e){for(var t=[],n=0;n<e.length;){if(e[n]===`-`){if(n===0||n===e.length-1)throw Error(`Couldn't parse a one-of set pattern: ${e}`);for(var r=e[n-1].charCodeAt(0)+1,i=e[n+1].charCodeAt(0)-1,a=r;a<=i;)t.push(String.fromCharCode(a)),a++}else t.push(e[n]);n++}return t}var Vu=/[\(\)\[\]\?\:\|]/,Hu=RegExp(`(\\||\\(\\?\\:|\\)|\\[|\\])`);function Uu(e){return e.length===1?e[0]:e}function Wu(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Gu(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
44
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gu(e,t){if(e){if(typeof e==`string`)return Ku(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ku(e,t):void 0}}function Ku(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function qu(e){"@babel/helpers - typeof";return qu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},qu(e)}function Ju(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Yu(e,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(e,Zu(r.key),r)}}function Xu(e,t,n){return t&&Yu(e.prototype,t),n&&Yu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zu(e){var t=Qu(e,`string`);return qu(t)==`symbol`?t:t+``}function Qu(e,t){if(qu(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(qu(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var $u=function(){function e(t){Ju(this,e),this.matchTree=new zu().parse(t)}return Xu(e,[{key:`match`,value:function(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).allowOverflow;if(!e)throw Error(`String is required`);var n=ed(e.split(``),this.matchTree,!0);if(n&&n.match&&delete n.matchedChars,!(n&&n.overflow&&!t))return n}}])}();function ed(e,t,n){if(typeof t==`string`){var r=e.join(``);return t.indexOf(r)===0?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:r.indexOf(t)===0?n&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var i=e.slice(),a=0;a<t.length;){var o=t[a],s=ed(i,o,n&&a===t.length-1);if(!s)return;if(s.overflow)return s;if(s.match){if(i=i.slice(s.matchedChars.length),i.length===0)return a===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0}}else if(s.partialMatch)return{partialMatch:!0};else throw Error(`Unsupported match result:
|
|
45
|
+
${JSON.stringify(s,null,2)}`);a++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(t.op){case`|`:for(var c,l=Wu(t.args),u;!(u=l()).done;){var d=u.value,f=ed(e,d,n);if(f){if(f.overflow)return f;if(f.match)return{match:!0,matchedChars:f.matchedChars};if(f.partialMatch)c=!0;else throw Error(`Unsupported match result:
|
|
46
|
+
${JSON.stringify(f,null,2)}`)}}return c?{partialMatch:!0}:void 0;case`[]`:for(var p=Wu(t.args),m;!(m=p()).done;){var h=m.value;if(e[0]===h)return e.length===1?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[h]}}return;default:throw Error(`Unsupported instruction tree: ${t}`)}}function td(e){"@babel/helpers - typeof";return td=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},td(e)}function nd(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=rd(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
47
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rd(e,t){if(e){if(typeof e==`string`)return id(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?id(e,t):void 0}}function id(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ad(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function od(e,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(e,cd(r.key),r)}}function sd(e,t,n){return t&&od(e.prototype,t),n&&od(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function cd(e){var t=ld(e,`string`);return td(t)==`symbol`?t:t+``}function ld(e,t){if(td(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(td(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var ud=`9`,dd=wu(ud,15),fd=/[- ]/,pd=!0,md=pd&&function(){return/\[([^\[\]])*\]/g},hd=pd&&function(){return/\d(?=[^,}][^,}])/g},gd=RegExp(`[`+Ns+`]*\\$1[`+Ns+`]*(\\$\\d[`+Ns+`]*)*$`),_d=3,vd=function(){function e(t){t.state;var n=t.metadata;ad(this,e),this.metadata=n,this.resetFormat()}return sd(e,[{key:`resetFormat`,value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:`reset`,value:function(e,t){this.resetFormat(),e?(this.isNANP=e.callingCode()===`1`,this.matchingFormats=e.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:`format`,value:function(e,t){var n=this;if(ku(t.nationalSignificantNumber,t.country,this.metadata))for(var r=nd(this.matchingFormats),i;!(i=r()).done;){var a=i.value,o=Ou(t,a,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(e){return n.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:function(e){return n.getSeparatorAfterNationalPrefix(e)}});if(o)return this.resetFormat(),this.chosenFormat=a,this.setNationalNumberTemplate(o.replace(/\d/g,`x`),t),this.populatedNationalNumberTemplate=o,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(`x`),o}return this.formatNationalNumberWithNextDigits(e,t)}},{key:`formatNationalNumberWithNextDigits`,value:function(e,t){var n=this.chosenFormat,r=this.chooseFormat(t);if(r)return r===n?this.formatNextNationalNumberDigits(e):this.formatNextNationalNumberDigits(t.getNationalDigits())}},{key:`narrowDownMatchingFormats`,value:function(e){var t=this,n=e.nationalSignificantNumber,r=e.nationalPrefix,i=e.international,a=n,o=a.length-_d;o<0&&(o=0),this.matchingFormats=this.matchingFormats.filter(function(e){return t.formatSuits(e,i,r)&&t.formatMatches(e,a,o)}),this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1&&this.resetFormat()}},{key:`formatSuits`,value:function(e,t,n){return!(n&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!t&&!n&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:`formatMatches`,value:function(e,t,n){var r=e.leadingDigitsPatterns().length;if(r===0)return!0;n=Math.min(n,r-1);var i=e.leadingDigitsPatterns()[n];if(t.length<_d)try{return new $u(i).match(t,{allowOverflow:!0})!==void 0}catch(e){return console.error(e),!0}return RegExp(`^(${i})`).test(t)}},{key:`getFormatFormat`,value:function(e,t){return t?e.internationalFormat():e.format()}},{key:`chooseFormat`,value:function(e){for(var t=this,n=function(){var n=a.value;return t.chosenFormat===n?0:gd.test(t.getFormatFormat(n,e.international))?t.createTemplateForFormat(n,e)?(t.chosenFormat=n,0):(t.matchingFormats=t.matchingFormats.filter(function(e){return e!==n}),1):1},r,i=nd(this.matchingFormats.slice()),a;!(a=i()).done&&(r=n(),r!==0););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:`createTemplateForFormat`,value:function(e,t){if(!(pd&&e.pattern().indexOf(`|`)>=0)){var n=this.getTemplateForFormat(e,t);if(n)return this.setNationalNumberTemplate(n,t),!0}}},{key:`getSeparatorAfterNationalPrefix`,value:function(e){return this.isNANP||e&&e.nationalPrefixFormattingRule()&&fd.test(e.nationalPrefixFormattingRule())?` `:``}},{key:`getInternationalPrefixBeforeCountryCallingCode`,value:function(e,t){var n=e.IDDPrefix,r=e.missingPlus;return n?t&&t.spacing===!1?n:n+` `:r?``:`+`}},{key:`getTemplate`,value:function(e){if(this.template){for(var t=-1,n=0,r=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:!1}):``;n<r.length+e.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf(`x`,t+1),n++;return Tu(this.template,t+1)}}},{key:`setNationalNumberTemplate`,value:function(e,t){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,t.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,`x`)+wu(`x`,t.callingCode.length)+` `+e:this.template=e}},{key:`getTemplateForFormat`,value:function(e,t){var n=t.nationalSignificantNumber,r=t.international,i=t.nationalPrefix,a=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,o=e.pattern();pd&&(o=o.replace(md(),`\\d`).replace(hd(),`\\d`));var s=dd.match(o)[0];if(!(n.length>s.length)){var c=RegExp(`^`+o+`$`),l=n.replace(/\d/g,ud);c.test(l)&&(s=l);var u=this.getFormatFormat(e,r),d;if(this.shouldTryNationalPrefixFormattingRule(e,{international:r,nationalPrefix:i})){var f=u.replace(Xs,e.nationalPrefixFormattingRule());if(rl(e.nationalPrefixFormattingRule())===(i||``)+rl(`$1`)&&(u=f,d=!0,i))for(var p=i.length;p>0;)u=u.replace(/\d/,`x`),p--}var m=s.replace(new RegExp(o),u).replace(new RegExp(ud,`g`),`x`);return d||(a?m=wu(`x`,a.length)+` `+m:i&&(m=wu(`x`,i.length)+this.getSeparatorAfterNationalPrefix(e)+m)),r&&(m=Ys(m)),m}}},{key:`formatNextNationalNumberDigits`,value:function(e){var t=Du(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);if(!t){this.resetFormat();return}return this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],Tu(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:`shouldTryNationalPrefixFormattingRule`,value:function(e,t){var n=t.international,r=t.nationalPrefix;if(e.nationalPrefixFormattingRule()){var i=e.usesNationalPrefix();if(i&&r||!i&&!n)return!0}}}])}();function yd(e){"@babel/helpers - typeof";return yd=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yd(e)}function bd(e,t){return Td(e)||wd(e,t)||Sd(e,t)||xd()}function xd(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
48
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sd(e,t){if(e){if(typeof e==`string`)return Cd(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cd(e,t):void 0}}function Cd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function wd(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Td(e){if(Array.isArray(e))return e}function Ed(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Dd(e,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(e,kd(r.key),r)}}function Od(e,t,n){return t&&Dd(e.prototype,t),n&&Dd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function kd(e){var t=Ad(e,`string`);return yd(t)==`symbol`?t:t+``}function Ad(e,t){if(yd(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(yd(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var jd=`[`+Ns+Y+`]+`,Md=RegExp(`^`+jd+`$`,`i`),Nd=`(?:[`+Ps+`][`+Ns+Y+`]*|[`+Ns+Y+`]+)`,Pd=RegExp(`[^`+Ns+Y+`]+.*$`),Fd=/[^\d\[\]]/,Id=function(){function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,i=t.metadata,a=t.onNationalSignificantNumberChange;Ed(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=i,this.onNationalSignificantNumberChange=a}return Od(e,[{key:`input`,value:function(e,t){var n=bd(zd(e),2),r=n[0],i=n[1],a=rl(r),o;return i&&(t.digits||(t.startInternationalNumber(void 0,void 0),a||(o=!0))),a&&this.inputDigits(a,t),{digits:a,justLeadingPlus:o}}},{key:`inputDigits`,value:function(e,t){var n=t.digits,r=n.length<3&&n.length+e.length>=3;if(t.appendDigits(e),r&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(e);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}},{key:`isWaitingForCountryCallingCode`,value:function(e){var t=e.international,n=e.callingCode;return t&&!n}},{key:`extractCountryCallingCode`,value:function(e){var t=Js(`+`+e.getDigitsWithoutInternationalPrefix(),e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode,r=t.number;if(n)return e.setCallingCode(n),e.update({nationalSignificantNumber:r}),!0}},{key:`reset`,value:function(e){if(e){this.hasSelectedNumberingPlan=!0;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&Fd.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:`extractNationalSignificantNumber`,value:function(e,t){if(this.hasSelectedNumberingPlan){var n=Ls(e,this.metadata),r=n.nationalPrefix,i=n.nationalNumber,a=n.carrierCode;if(i!==e)return this.onExtractedNationalNumber(r,a,i,e,t),!0}}},{key:`extractAnotherNationalSignificantNumber`,value:function(e,t,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(e,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=Ls(e,this.metadata),i=r.nationalPrefix,a=r.nationalNumber,o=r.carrierCode;if(a!==t)return this.onExtractedNationalNumber(i,o,a,e,n),!0}}},{key:`onExtractedNationalNumber`,value:function(e,t,n,r,i){var a=!1,o,s=r.lastIndexOf(n);if(s<0||s!==r.length-n.length)a=!0;else{var c=r.slice(0,s);c&&c!==e&&(o=c)}i({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:n,nationalSignificantNumberIsModified:a,prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix:o}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:`reExtractNationalSignificantNumber`,value:function(e){if(this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,function(t){return e.update(t)}))return!0;if(this.extractIddPrefix(e)||this.fixMissingPlus(e))return this.extractCallingCodeAndNationalSignificantNumber(e),!0}},{key:`extractIddPrefix`,value:function(e){var t=e.international,n=e.IDDPrefix,r=e.digits;if(e.nationalSignificantNumber,!(t||n)){var i=Is(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(i!==void 0&&i!==r)return e.update({IDDPrefix:r.slice(0,r.length-i.length)}),this.startInternationalNumber(e,{country:void 0,callingCode:void 0}),!0}}},{key:`fixMissingPlus`,value:function(e){if(!e.international){var t=qs(e.digits,e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(t)return e.update({missingPlus:!0}),this.startInternationalNumber(e,{country:e.country,callingCode:t}),!0}}},{key:`startInternationalNumber`,value:function(e,t){var n=t.country,r=t.callingCode;e.startInternationalNumber(n,r),e.nationalSignificantNumber&&(e.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:`extractCallingCodeAndNationalSignificantNumber`,value:function(e){this.extractCountryCallingCode(e)&&this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}}])}();function Ld(e){var t=e.search(Nd);if(!(t<0)){e=e.slice(t);var n;return e[0]===`+`&&(n=!0,e=e.slice(1)),e=e.replace(Pd,``),n&&(e=`+`+e),e}}function Rd(e){var t=Ld(e)||``;return t[0]===`+`?[t.slice(1),!0]:[t]}function zd(e){var t=bd(Rd(e),2),n=t[0],r=t[1];return Md.test(n)||(n=``),[n,r]}function Bd(e){"@babel/helpers - typeof";return Bd=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Bd(e)}function Vd(e,t){return Kd(e)||Gd(e,t)||Ud(e,t)||Hd()}function Hd(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
49
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ud(e,t){if(e){if(typeof e==`string`)return Wd(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wd(e,t):void 0}}function Wd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Gd(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Kd(e){if(Array.isArray(e))return e}function qd(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Jd(e,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(e,Xd(r.key),r)}}function Yd(e,t,n){return t&&Jd(e.prototype,t),n&&Jd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Xd(e){var t=Zd(e,`string`);return Bd(t)==`symbol`?t:t+``}function Zd(e,t){if(Bd(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Bd(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Qd=!1,$d=function(){function e(t,n){qd(this,e),this.metadata=new J(n);var r=Vd(this.getCountryAndCallingCode(t),2),i=r[0],a=r[1];this.defaultCountry=i,this.defaultCallingCode=a,this.reset()}return Yd(e,[{key:`getCountryAndCallingCode`,value:function(e){var t,n;return e&&(Jo(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),n&&Qd&&this.metadata.isNonGeographicCallingCode(n)&&(t=`001`),[t,n]}},{key:`input`,value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput=`+`;else if(n){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var r;if(this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),r===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var i=this.state.getNationalDigits();i&&(r=this.formatter.format(i,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:`reset`,value:function(){var e=this;return this.state=new yu({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n,t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new vd({state:this.state,metadata:this.metadata}),this.parser=new Id({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput=``,this}},{key:`isInternational`,value:function(){return this.state.international}},{key:`getCallingCode`,value:function(){if(this.isInternational())return this.state.callingCode}},{key:`getCountryCallingCode`,value:function(){return this.getCallingCode()}},{key:`getCountry`,value:function(){if(this.state.digits)return this._getCountry()}},{key:`_getCountry`,value:function(){var e=this.state.country;if(!(Qd&&e===`001`))return e}},{key:`determineTheCountryIfNeeded`,value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:`getFullNumber`,value:function(e){var t=this;if(this.isInternational()){var n=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},r=this.state.callingCode;return n(r?e?`${r} ${e}`:r:`${this.state.getDigitsWithoutInternationalPrefix()}`)}return e}},{key:`getNonFormattedNationalNumberWithPrefix`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,r=e.nationalPrefix,i=t,a=n||r;return a&&(i=a+i),i}},{key:`getNonFormattedNumber`,value:function(){var e=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(e?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:`getNonFormattedTemplate`,value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,`x`)}},{key:`isCountryCallingCodeAmbiguous`,value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:`determineTheCountry`,value:function(){this.state.setCountry(Us(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata}))}},{key:`getNumberValue`,value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,i=e.nationalSignificantNumber;if(t){if(this.isInternational())return n?`+`+n+i:`+`+t;if(r||n)return`+`+(r?this.metadata.countryCallingCode():n)+i}}},{key:`getNumber`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode,i=this._getCountry();if(t&&!(!i&&!r)){if(i&&i===this.defaultCountry){var a=new J(this.metadata.metadata);a.selectNumberingPlan(i);var o=a.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(o);if(s.length>1){var c=Vs(t,{countries:s,metadata:this.metadata.metadata});c&&(i=c)}}var l=new kc(i||r,t,this.metadata.metadata);return n&&(l.carrierCode=n),l}}},{key:`isPossible`,value:function(){var e=this.getNumber();return e?e.isPossible():!1}},{key:`isValid`,value:function(){var e=this.getNumber();return e?e.isValid():!1}},{key:`getNationalNumber`,value:function(){return this.state.nationalSignificantNumber}},{key:`getChars`,value:function(){return(this.state.international?`+`:``)+this.state.digits}},{key:`getTemplate`,value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||``}}])}();function ef(e){return new J(e).getCountries()}function tf(e,t,n){if(t[e])return new kc(e,t[e],n)}function nf(e,t,n){return n||(n=t,t=void 0),new $d(t,n).input(e)}function rf(){return Go(au,arguments)}function af(){return Go(fu,arguments)}function of(e){return $d.call(this,e,Wo)}of.prototype=Object.create($d.prototype,{}),of.prototype.constructor=of;function sf(){return Go(ef,arguments)}function cf(){return Go(fs,arguments)}function lf(){return Go(tf,arguments)}function uf(){return Go(nf,arguments)}var[df,X]=I(`configContext`),ff=(0,h.createSharedComposable)(e=>{let t=X(null),n=(0,g.useReducedMotion)(),r=(0,d.computed)(()=>(0,d.toValue)(e)===!0||t?.reducedMotion.value===!0||n.value);return(0,d.watch)(r,e=>{document.body.classList.toggle(`reduced-motion`,e)},{immediate:!0}),r}),pf=(0,d.defineComponent)({__name:`ConfigProvider`,props:{addressAutocompleteAdapter:{default:null},autoCloseToast:{},dateLocale:{default:null},googleMapsApiKey:{default:null},hourCycle:{},locale:{},numberFormat:{},projectName:{},reducedMotion:{type:Boolean,default:!1},showNavigationArrowsInTopBar:{type:Boolean,default:!1}},setup(e){let t=e;return ff((0,d.computed)(()=>t.reducedMotion)),df(sr(t)),(e,t)=>(0,d.renderSlot)(e.$slots,`default`)}}),mf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"/><path fill="#29DBFF" d="M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"/><path fill="#FFF" d="M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"/><path fill="#29DBFF" d="M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"/><path fill="#FFF" d="M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"/><path fill="#29DBFF" d="M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"/><path fill="#5CC85C" d="M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"/><ellipse transform="rotate(-82.3 291.431 225.686)" fill="#F7A226" cx="291.4" cy="225.7" rx="48.7" ry="15.7"/><ellipse transform="rotate(-68.099 303.087 164.67)" fill="#DDC7AB" cx="303.1" cy="164.7" rx="11.7" ry="7.2"/><ellipse transform="rotate(-81.738 291.697 271.697)" fill="#DDC7AB" cx="291.7" cy="271.7" rx="11.4" ry="3.3"/><ellipse transform="matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)" fill="#DDC7AB" cx="299.6" cy="269.4" rx="3.3" ry="11"/><ellipse transform="rotate(-21.518 314.54 201.06)" fill="#DDC7AB" cx="314.5" cy="201.1" rx="4.1" ry="13.7"/><ellipse transform="rotate(-21.518 317.511 178.077)" fill="#DDC7AB" cx="317.5" cy="178.1" rx="13.7" ry="4.1"/><ellipse transform="rotate(-7.7 473.781 225.857)" fill="#F7A226" cx="473.6" cy="225.9" rx="15.7" ry="48.7"/><ellipse transform="rotate(-21.901 462.057 164.866)" fill="#DDC7AB" cx="462" cy="164.9" rx="7.2" ry="11.7"/><ellipse transform="rotate(-8.27 473.27 271.908)" fill="#DDC7AB" cx="473.4" cy="271.9" rx="3.3" ry="11.4"/><ellipse transform="matrix(.05353 -.9986 .9986 .05353 171.34 719.998)" fill="#DDC7AB" cx="465.5" cy="269.6" rx="11" ry="3.3"/><ellipse transform="rotate(-68.482 450.552 201.247)" fill="#DDC7AB" cx="450.6" cy="201.2" rx="13.7" ry="4.1"/><ellipse transform="rotate(-68.482 447.58 178.265)" fill="#DDC7AB" cx="447.6" cy="178.3" rx="4.1" ry="13.7"/><path fill="#B0C6CC" d="M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><path fill="#D80027" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/></svg>`,hf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"/><g stroke="#D80027" stroke-width="7"><path d="M267.6 113.6v64.7M284.2 113.6v64.7M300.8 113.6v64.7"/></g><g stroke="#D80027" stroke-width="5"><path d="M247.4 178.4v64.7M234.1 178.4v64.7M220.8 178.5v53.9M207.1 178.5v47.1"/></g><path fill="#FFDA44" d="m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"/><path fill="#BC8B00" d="M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"/><path fill="#D80027" d="M264.4 188.9h29.5v8.6h-29.5zM264.4 206.5h29.5v8.6h-29.5z"/></svg>`,gf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#009e49" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><path fill="#ce1126" d="M0 0h171v342H0z"/></svg>`,_f=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#DB3E00" d="M0 0h513v342H0z"/><path fill="#479900" d="M331 0h182v342H331z"/><path d="M0 0h181.8v342H0z"/><path fill="#FFF" d="M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"/><path fill="#FFF" d="M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"/></svg>`,vf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 0h513v342H0z"/><path fill="#0072c6" d="M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8"/><path fill="#FFF" d="M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z"/><path fill="#FFDA44" d="M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z"/><g fill="#ce1126"><path d="M256.5 342 0 0v342z"/><path d="M513 342V0L256 342z"/></g></svg>`,yf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#00318b" d="M0 0h513v342H0z"/><path fill="#FFF" d="M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 0 1-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z"/><path fill="#8DCCFF" d="M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z"/><path fill="#D87B00" d="M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z"/><path fill="#D87B00" d="M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z"/><path fill="#D87B00" d="M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z"/><path fill="#FFF" d="M256.5 0h-23.1L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1V171h22.6L96 121.8V171h64v-49.2l73.4 49.2h23.1v-22.9l-46.6-30.7h46.6v-64h-46.6l46.6-30.7z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112V171h32v-69.6h112.5v-32H144z"/><path fill="#D80027" d="M0 171v-11.3l62.5-42.3h22.6L7.3 171zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256.5.1v11l-63 42.3h-22.6L248.7.1zM248.7 171l-77.8-53.6h22.6l63 42.3V171z"/></svg>`,bf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#ED2024" d="M0 0h90v60H0z"/><path fill="#212121" d="M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"/><g fill="#212121"><path d="M26.2 25h6.4v2.5h-6.4zM26.2 20.9h6.4v2.7h-6.4zM26.2 16.7h6.4v2.6h-6.4zM26.2 12.7h6.4v2.5h-6.4z"/></g><g fill="#212121"><path d="M57.4 25h6.4v2.5h-6.4zM57.4 20.9h6.4v2.7h-6.4zM57.4 16.7h6.4v2.6h-6.4zM57.4 12.7h6.4v2.5h-6.4z"/></g><path fill="#212121" d="M53.4 36.1h6.4V38h-6.4zM30.2 36.1h6.4V38h-6.4z"/></svg>`,xf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#FF9811" d="M0 228h513v114H0z"/></svg>`,Sf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 171h513v171H0z"/><path fill="#D80027" d="M0 0h513v171H0z"/><g fill="#FFDA44"><path d="m332.7 135.6 17.5-8.6-7.4-19-18.7 6.2zM287.1 79.6l5.5-18.8-19.1-7.2-8 18zM316.5 102.8l12.2-15.3-14.9-13.9-14.2 13.6zM335.9 171.7l19.5-.8v-21.3l-22.9.2zM323.3 209.8l18.8 5.5 7.3-19-18-8zM294.3 242.2l14.9 12.7 14.4-14.4-13.1-14.7zM247.3 94.5l9.8 19.9 21.9 3.3-15.9 15.5 3.6 21.9-19.6-10.4-19.7 10.2 3.8-21.9-15.8-15.5 22-3.1z"/><path d="m250.8 61.3-2.7 18.3c43.1 3.2 77 39.2 77 83.1 0 46-37.3 82.9-83.4 83.4-29.2.3-51.3-14.8-67-33.7l-13.9 12.3c15 19 40.8 39.9 80.9 39.9 56.3 0 101.9-45.6 101.9-101.9.1-53.2-40.7-96.9-92.8-101.4z"/><path fill="#000" d="m291.9 223.4-11.8 14s51.9 38.9 53.6 40.4c1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-2-1.5-51.8-42-51.8-42z"/><path d="M206.1 157.2c-7.7 10.3-7.5 23.1 2.8 30.9 0 0 135.2 101.5 136.9 103 1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-1.9-1.5-149.7-121.5-149.7-121.5zM253.8 256.3l7.3 18.2 19.5-6-4.8-19.1zM213.4 252.6l-2 19.5 20.1 3.6 4.5-19.1zM177.7 231.4 167.4 248l16.4 12.1 12.5-15.2z"/></g></svg>`,Cf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 744 496"><path fill="#3A7DCE" d="M0 0h744v496H0V0z"/><path fill="#fff" d="m120 125 90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-46-49-62z"/></svg>`,wf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><path fill="#338AF3" d="M0 0h512v114H0zM0 228h512v114H0z"/><circle fill="#FFDA44" stroke="#d6ab00" stroke-width="5" cx="256.5" cy="171" r="40"/></svg>`,Tf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338c" d="M0 0h513v342H0z"/><path fill="#D80027" d="M513 33 95.3 171 513 310.76V342L0 171 513 0z"/><path fill="#FFF" d="M513 287.18v24.58L81.72 171 513 30v24.16"/><path fill="#A2001D" d="m476.98 140.21-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z"/><path fill="#EFC100" stroke="#231F20" stroke-miterlimit="10" d="m317.89 238.41-22.24-11.11 22.24-11.11h144.46v22.22z"/></svg>`,Ef=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 114h513v114H0z"/><path fill="#D80027" d="M0 0h513v114H0zM0 228h513v114H0z"/></svg>`,Df=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338c" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="M222.2 170.7c.3-.3.5-.6.8-.9-.2.3-.5.6-.8.9zM188 212.6l11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zM385.9 241.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM337.3 125.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zM385.9 58.9l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zM428.4 108.6l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z"/><path d="M254.8 0v30.6l-45.1 25.1h45.1V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9H99v-48.6l-87.4 48.6H-1.2v-30.6L44 115H-1.2V55.7h59.1L-1.2 22.8V0h26.7L99 40.8V0h55.6v48.6L242.1 0z"/></g><path fill="#D80027" d="M142.8 0h-32v69.3h-112v32h112v69.4h32v-69.4h112v-32h-112z"/><path fill="#0052B4" d="m154.6 115 100.2 55.7v-15.8L183 115z"/><path fill="#FFF" d="m154.6 115 100.2 55.7v-15.8L183 115z"/><g fill="#D80027"><path d="m154.6 115 100.2 55.7v-15.8L183 115zM70.7 115l-71.9 39.9v15.8L99 115z"/></g><path fill="#0052B4" d="M99 55.7-1.2 0v15.7l71.9 40z"/><path fill="#FFF" d="M99 55.7-1.2 0v15.7l71.9 40z"/><g fill="#D80027"><path d="M99 55.7-1.2 0v15.7l71.9 40zM183 55.7l71.8-40V0L154.6 55.7z"/></g></svg>`,Of=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 363 242"><path fill="#338AF3" d="M0 0h363v242H0z"/><path fill="#FFF" d="M57 96.9 14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z"/><path fill="#f30028" d="m75.6 40.6 11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z"/><g fill="#FFDA44"><path d="M0 152.2h363v15.7H0zM0 183.6h363v15.7H0z"/></g></svg>`,kf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 210.9H202.2V342h-79.8V210.9H0V131.1h122.4V0h79.8v131.1H513v61.2z"/><path fill="#D80027" d="M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"/></svg>`,Af=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ef3340" d="M0 0h513v342H0z"/><path fill="#00b5e2" d="M0 0h513v114H0z"/><path fill="#509e2f" d="M0 228h513v114H0z"/><g fill="#FFF"><path d="M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z"/><path d="m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"/></g></svg>`,jf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338C" d="M0 0h513.1v342H0z"/><path fill="#F6C500" d="M99.9 0h342v342"/><g fill="#FFF"><path d="M19.9 21.1 40.3 6.2 60.9 21 54 0H26.7z"/><path d="M92.3 25.5 84.4 1.3l-7.8 24.2H51.3l20.5 14.8-7.8 24 20.4-14.8L105 64.3l-7.9-24 20.5-14.9z"/><path d="m136.3 69.2-7.8-24-7.8 24H95.5l20.4 14.9-7.8 24 20.4-14.8 20.6 14.8-7.8-24 20.4-14.9z"/><path d="m179.4 112.3-7.8-24.1-7.8 24.1h-25.3l20.5 14.9-7.8 24 20.4-14.8 20.6 14.8-7.9-24 20.5-15z"/><path d="m222.5 155.3-7.8-24-7.8 24h-25.4l20.6 15-7.8 24 20.4-14.9 20.4 14.9-7.8-24 20.6-15z"/><path d="m265.6 198.4-7.8-24-7.8 24h-25.4l20.6 14.9-7.8 24.1 20.4-14.9 20.4 14.9-7.8-24.2 20.5-14.8z"/><path d="m308.7 241.5-7.9-24-7.8 24h-25.3l20.5 14.8-7.9 24.2 20.6-14.9 20.4 14.8-7.8-24.1 20.5-14.8z"/><path d="m351.7 284.6-7.8-24.2-7.8 24.2h-25.3l20.4 14.8-7.8 24.1 20.5-14.9 20.5 14.9-7.8-24.1 20.4-14.8z"/><path d="m387 303.5-7.9 24.1-25.3.1 19.8 14.3h26.6l19.9-14.4h-25.3z"/></g></svg>`,Mf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ffc726" d="M0 0h513v342H0z"/><g fill="#00267f"><path d="M0 0h171v342H0zM342 0h171v342H342z"/></g><path d="m325.74 101.02-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z"/></svg>`,Nf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#2d6e41" d="M0 85.331h513v342H0z"/><circle fill="#F40B32" cx="218.902" cy="256.5" r="115"/></svg>`,Pf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#fdda25" d="M0 0h513v342H0z"/><path d="M0 0h171v342H0z"/><path fill="#ef3340" d="M342 0h171v342H342z"/></svg>`,Ff=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#3d944f" d="M0 0h513v342H0z"/><path fill="#ef2b2d" d="M0 0h513v171H0z"/><path fill="#FFDA44" d="m256 102.6 16.9 52h54.7l-44.2 32.2 16.8 52-44.2-32.1-44.2 32.1 16.8-52-44.2-32.2h54.7z"/></svg>`,If=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#00966e" d="M0 0h513v342H0z"/><path fill="#FFF" d="M0 0h513v114H0z"/><path fill="#d62612" d="M0 228h513v114H0z"/></svg>`,Lf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="m222.8 34.3-85.2 34.2 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.8H0V0h137.6z"/></svg>`,Rf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#47a644"><path d="M215.9 170.7 0 314.6V26.8zM513 26.8v287.8L297.1 170.7z"/></g><path fill="#0052B4" d="M513 26.8 296.1 170.7 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"/><path fill="#FFF" d="M513 26.8 297.1 170.7 513 314.6V342h-40L256 197.4 39 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"/><circle fill="#FFF" cx="251.6" cy="170.7" r="100.2"/><g fill="#D80027" stroke="#47a644" stroke-width="3"><path d="m251.4 103.6 7.4 12.9h14.8l-7.4 12.8 7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8H244zM290.2 170.3l7.4 12.9h14.8L305 196l7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.9l7.4-12.8-7.4-12.8h14.9zM213 170.3l7.4 12.9h14.9l-7.4 12.8 7.4 12.8h-14.9l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8h14.8z"/></g></svg>`,zf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#008751" d="M0 85.333h513v342H0z"/><path fill="#fcd116" d="M196.666 85.333H513v171H196.666z"/><path fill="#e8112d" d="M196.666 256H513v171H196.666z"/></svg>`,Bf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#E6BC00" d="M157.31 199.76s-9.04 43.93-19.31 40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52 21.24s38.18 8.48 41.01 5.47c1.22-1.14 8.21-15.1 10.34-26.05v-22.29zm-56.13 60.57s-2.48 20.18-1.06 22.66c1.24 2.3 39.48 11.33 39.48 11.33s-24.96 16.46-29.74 20.54L91.8 284.94l-.71-24.61h10.09zM112.51 94.64s39.65 41.6 40.36 45.5c.71 3.72-4.25 3.19-4.25 3.19s-44.79-37.53-49.92-41.07c-5.31-3.55 13.81-7.62 13.81-7.62z"/><path fill="#ADADAD" d="M99.41 104.73s16.99-.71 16.64-11.51c-.35-10.62-11.15-14.87-19.12-12.39-7.97 2.3-23.01 13.45-13.63 35.05 9.38 21.42 23.37 29.39 26.2 47.8 0 0-5.46 9.86-19.12.35-16.9-11.77-6.2-38.24-10.44-44.96-4.25-7.08-40.95-38.92-40.95-38.92s-30.24 39.37-18 74.92c16.95 49.21 51.74 31.98 64.61 36.76 0 0-42.13 61.96-49.57 67.09 0 0 24.08 8.32 47.8-18.76 0 0 5.84 9.74 7.08 20.18h10.27c4.78-26.2 51.51-64.26 49.92-82.32-1.77-21.25-49.21-49.39-51.69-73.29z"/><path fill="#E6BC00" d="M359.17 201.27s8.96 42.43 19.23 38.89c10.62-3.54 17.53-18.76 17.53-18.76l14.52 21.24s-37 8.48-39.83 5.47c-1.21-1.14-9.32-13.79-11.52-24.66l.07-22.18zm56.05 59.06s2.48 20.18 1.06 22.66c-1.24 2.3-39.48 11.33-39.48 11.33s24.96 16.46 29.74 20.54l18.06-29.92.71-24.61h-10.09zM403.89 94.64s-39.65 41.6-40.36 45.5c-.71 3.72 4.25 3.19 4.25 3.19s44.79-37.53 49.92-41.07c5.14-3.55-13.81-7.62-13.81-7.62z"/><path fill="#125ECC" d="M157.31 87.06H359.1v145.46c0 16.06-9.69 21.39-21.91 31.85l-45.92 39.41c-18.25 15.62-47.91 15.57-66.07 0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V87.06z"/><path fill="#FFE600" d="M200.55 147.71c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65-3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zM214.96 274.43c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c.01 7.96-6.45 14.41-14.41 14.41zm43.24 14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c0 7.95-6.45 14.41-14.41 14.41zm43.24-14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"/><path fill="#D60537" d="M157.31 175.36H359.1v57.65H157.31v-57.65z"/><path fill="#EACE00" d="M142.9 43.82s57.65-14.41 115.31-14.41 115.31 14.41 115.31 14.41l-14.41 57.65s-50.45-14.41-100.89-14.41-100.89 14.41-100.89 14.41L142.9 43.82z"/><path fill="#7A6920" d="M258.2 72.65c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 5c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm-115.3 0c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"/><path fill="#ADADAD" d="M365.08 178.02c-1.59 18.06 45.14 56.12 49.92 82.32h10.27c1.24-10.44 7.08-20.18 7.08-20.18 23.72 27.09 47.8 18.76 47.8 18.76-7.44-5.13-49.57-67.09-49.57-67.09 12.88-4.78 47.67 12.45 64.61-36.76 12.24-35.55-18-74.92-18-74.92s-36.7 31.84-40.95 38.92c-4.25 6.73 6.46 33.2-10.44 44.96-13.66 9.51-19.12-.35-19.12-.35 2.83-18.41 16.82-26.38 26.2-47.8 9.38-21.6-5.66-32.75-13.63-35.05-7.97-2.48-18.76 1.77-19.12 12.39-.35 10.8 16.64 11.51 16.64 11.51-2.48 23.9-49.92 52.04-51.69 73.29z"/><circle fill="#FFF" cx="258.2" cy="204.19" r="16.93"/></svg>`,Vf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c8102e" d="M0 0h513v342H0z"/><path fill="#012169" d="M0 .1h256.5v171H0z"/><path fill="#FFF" d="M256 0h-22.6L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1v22.6h22.6L96 121.8v48.9h64v-48.9l73.4 48.9H256v-22.6l-46.1-30.7H256v-64h-46.1L256 22.7z"/><path fill="#c8102e" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#c8102e" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/><g transform="translate(13 5)"><path fill="#fff" d="M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z"/><path fill="#2F8F22" d="M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z"/><circle fill="#65B5D2" cx="383.65" cy="214.56" r="39.88"/><circle fill="#c8102e" cx="343.77" cy="194.63" r="19.94"/><circle fill="#c8102e" cx="423.52" cy="194.63" r="19.94"/><circle fill="#c8102e" cx="383.65" cy="154.75" r="19.94"/></g></svg>`,Hf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path d="m0 193.74 513 127.19V214.26L0 97.08z"/><path fill="#FFF" d="M513 234.26v-86.67L0 20.41v86.67"/><g fill="#D80027" stroke="#231F20" stroke-width="3" stroke-miterlimit="10"><path d="M306.4 134.01a50.28 50.28 0 0 1 6.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z"/><path d="M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zM129.24 133.18h20.88l24.93 27.26v73.45h-26.28v-68.37zM400 133.18h-20.88l-24.93 27.26v73.45h26.27v-68.37z"/></g></svg>`,Uf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#d52b1e" d="M0 0h513v114H0z"/><path fill="#f9e300" d="M0 114h513v114H0z"/><path fill="#007934" d="M0 228h513v114H0z"/></svg>`,Wf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#012a87" d="M0 342h513V0z"/><path fill="#f9d90f" d="M250.4 0H0v166.9z"/><path fill="#dc171d" d="m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"/><circle fill="none" stroke="#000" stroke-width="9" stroke-miterlimit="10" cx="140.4" cy="160.6" r="57.7"/></svg>`,Gf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#009b3a" d="M0 0h513v342H0z"/><path fill="#fedf00" d="m256.5 19.3 204.9 151.4L256.5 322 50.6 170.7z"/><circle fill="#FFF" cx="256.5" cy="171" r="80.4"/><path fill="#002776" d="M215.9 165.7c-13.9 0-27.4 2.1-40.1 6 .6 43.9 36.3 79.3 80.3 79.3 27.2 0 51.3-13.6 65.8-34.3-24.9-31-63.2-51-106-51zM334.9 186c.9-5 1.5-10.1 1.5-15.4 0-44.4-36-80.4-80.4-80.4-33.1 0-61.5 20.1-73.9 48.6 10.9-2.2 22.1-3.4 33.6-3.4 46.8.1 89 19.5 119.2 50.6z"/></svg>`,Kf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ffc72c" d="M0 0h513v342H0z"/><g fill="#00778b"><path d="M0 0h513v114H0zM0 228h513v114H0z"/></g><path d="M256 171 0 342V0z"/></svg>`,qf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FF7415" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 0H0v342"/><path fill="none" stroke="#FFF" stroke-width="42" stroke-miterlimit="10" d="M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6"/></svg>`,Jf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 33.333 1100 733.333"><path fill="#ef2b2d" d="M0 0h1100v800H0z"/><path fill="#fff" d="M300 0h200v800H300z"/><path fill="#fff" d="M0 300h1100v200H0z"/><path fill="#002868" d="M350 0h100v800H350z"/><path fill="#002868" d="M0 350h1100v100H0z"/></svg>`,Yf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#6da9d2"><path d="M0 238h513v104H0zM0 0h513v104H0z"/></g><path d="M0 125.5h513v89.656H0z"/></svg>`,Xf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#007C30" d="M0 0h513v342H0z"/><path fill="#CE1720" d="M0 230h513V0H0"/><path fill="#FFF" d="M100 230V0H0v342h513-413z"/><g fill="#CE1720"><path d="M28 159.6 8.6 128.2 28 97.4l19.3 30.8zM72.6 159.6l-19.3-31.4 19.3-30.8L92 128.2zM28 241.2 8.6 209.8 28 179l19.3 30.8zM72.6 241.2l-19.3-31.4L72.6 179 92 209.8z"/></g><g fill="none" stroke="#CE1720" stroke-width="7"><path d="m28 73.8-16.1-26L28 22.2l16 25.6zM72.6 73.8l-16-26 16-25.6 16.1 25.6zM28 318l-16.1-26.1L28 266.3l16 25.6zM72.6 318l-16-26.1 16-25.6 16.1 25.6z"/></g></svg>`,Zf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#003e87" d="M0 0h513v342H0z"/><circle fill="#FFF" cx="260.9" cy="170.9" r="118.9"/><circle fill="none" stroke="#6DA544" stroke-width="18" stroke-miterlimit="10" cx="261.9" cy="173.1" r="94.5"/><g stroke="#000"><path fill="#003e87" d="m261.9 151.5-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z"/><path fill="#FFDA44" d="M211.3 128.1h101.3v46.7H211.3z"/></g><g fill="#ce1127"><path d="M0 0h513v35H0zM0 306h513v35H0z"/></g></svg>`,Qf=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="red"><path d="M0 0h142v342H0zM371 0h142v342H371zM306.5 206l50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z"/></g></svg>`,$f=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="green" d="M0 0h513v342H0z"/><g fill="#FFDA44"><path d="m422.7 252.4 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zM376.1 116.1l6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zM413.1 38.3l6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zM464.9 96.7l6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zM436.9 164.8l4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6z"/></g><path fill="#FFDA44" d="M306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zM140.6 59.9l-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z"/><path fill="#A2001D" d="M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z"/></svg>`,ep=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 66.9V0H411.7L0 274.4V342h100.3z"/><path fill="#D80027" d="M513 0v40.1L60.2 342H0v-40.8L451.8 0z"/><path fill="#FFDA44" d="m93.6 31.2 16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z"/></svg>`,tp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#d21034" d="M0 0h513v342H0z"/><g fill="#3a9927"><path d="M0 171h211.5v85.3H0zM300.5 171H512v85.3H300.5z"/></g><path fill="#003082" d="M0 0v85.3h211.5V0h89v85.3H513V0z"/><g fill="#FFF"><path d="M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z"/></g><g fill="#ffce00"><path d="M300.5 342h-89v-86H0v86h513v-86H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z"/></g></svg>`,np=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#da1a35" d="M0 85.331h513v342H0z"/><path fill="#009543" d="M443.726 85.331 102.4 426.657H0V85.331z"/><path fill="#fbde4a" d="M500.124 85.331 158.798 426.657H11.876L353.202 85.331z"/></svg>`,rp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="red" d="M0 85.337h513v342H0z"/><path fill="#FFF" d="M356.174 222.609h-66.783v-66.783h-66.782v66.783h-66.783v66.782h66.783v66.783h66.782v-66.783h66.783z"/></svg>`,ip=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#009e60" d="M342 0h171v342H342z"/><path fill="#f77f00" d="M0 0h171v342H0z"/></svg>`,ap=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#01237a" d="M0 85.332h513v342H0z"/><g fill="#FFF"><path d="m384 156.705 5.283 16.254h17.089l-13.826 10.045 5.281 16.254L384 189.211l-13.825 10.047 5.28-16.254-13.825-10.045h17.089zM313.791 185.786l15.228 7.758 12.084-12.083-2.673 16.879 15.227 7.759-16.879 2.673-2.674 16.88-7.76-15.227-16.878 2.673 12.086-12.084zM284.71 255.995l16.254-5.281.001-17.089 10.044 13.825 16.254-5.282-10.046 13.827 10.046 13.826-16.254-5.28-10.044 13.825v-17.09zM313.791 326.204l7.759-15.229-12.084-12.084 16.881 2.674 7.757-15.227 2.674 16.879 16.879 2.672-15.227 7.759 2.673 16.882-12.084-12.087zM384 355.284l-5.281-16.253h-17.091l13.827-10.045-5.28-16.254L384 322.776l13.827-10.044-5.281 16.254 13.826 10.045h-17.089zM454.209 326.204l-15.229-7.758-12.083 12.084 2.673-16.882-15.227-7.756 16.879-2.675 2.675-16.879 7.756 15.227 16.881-2.674-12.086 12.085zM483.29 255.995l-16.254 5.281v17.09l-10.045-13.826-16.254 5.281 10.046-13.826-10.046-13.827 16.254 5.282 10.045-13.825v17.089zM454.209 185.788l-7.757 15.226 12.082 12.084-16.881-2.673-7.756 15.227-2.675-16.88-16.879-2.675 15.227-7.757-2.673-16.878 12.084 12.082zM0 186.665v16h46.069L0 233.377v7.539l57.377-38.252H80L0 255.998h112v-69.334H0zm96 69.331H22.628L96 207.083v48.913zM176 138.665l80-53.334H144v69.334h112v-16h-46.069L256 107.951v-7.539l-57.377 38.251H176v.002zm-16-53.332h73.372L160 134.246V85.333zM144 255.998h112l-80-53.334h22.623L256 240.917v-7.539l-46.069-30.713H256v-16H144v69.333zm16-48.915 73.372 48.913H160v-48.913zM112 85.331H0l80 53.334H57.377L0 100.413v7.539l46.069 30.712H0v16h112V85.331zm-16 48.915L22.628 85.333H96v48.913z"/></g><g fill="#D80027"><path d="M144 85.331h-32v69.334H0v32h112v69.333h32v-69.333h112v-32H144z"/><path d="M80 138.665 0 85.331v15.082l57.377 38.252zM176 138.665h22.623L256 100.413V85.331zM57.377 202.665 0 240.917v15.081l80-53.333zM176 202.665l80 53.333v-15.081l-57.377-38.252z"/></g></svg>`,op=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M196 0h317v171H196z"/><path fill="#0037A1" d="M0 0h196v171H0z"/><path fill="#FFF" d="M98 24.5 113.1 71H162l-39.6 28.7 15.2 46.5L98 117.5l-39.6 28.7 15.2-46.5L34 71h48.9z"/></svg>`,sp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ce1126" d="M0 0h513v342H0z"/><path fill="#007a5e" d="M0 0h171v342H0z"/><g fill="#fcd116"><path d="M342 0h171v342H342zM256 102.2l17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z"/></g></svg>`,cp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#FFDA44"><path d="m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zM236.2 25.4l-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zM292.8 161.8l-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z"/></g></svg>`,lp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 256.5h513V342H0z"/><path fill="#0052B4" d="M0 171h513v85.5H0z"/></svg>`,up=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 114h513v114H0z"/><path fill="#0052B4" d="M0 285h513v57H0zM0 0h513v57H0z"/></svg>`,dp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FF9811" d="M0-40.8v422.9-211.4z"/><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v68.3H0zM0 136.5h513v68.3H0zM0 273.1h513v68.3H0z"/></g><path fill="#D80027" d="M256 170.7 0 342V0z"/><path fill="#FFF" d="m86.5 111.4 12.7 39.2h41.3l-33.4 24.2 12.8 39.3-33.4-24.2-33.4 24.2 12.8-39.3-33.4-24.2h41.2z"/></svg>`,fp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#003893" d="M0 0h513v342H0z"/><path fill="#cf2027" d="M0 182.2h513v41.4H0z"/><path fill="#FFF" d="M0 140.8h513v41.4H0zM0 223.6h513V265H0z"/><g fill="#f7d116" stroke="#000"><path d="m150.4 70 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zM150.4 279.7l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zM52.8 208.8l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zM23.8 162H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zM72.2 310.9l6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zM277.1 162h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zM228.7 310.9l-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z"/></g></svg>`,pp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#002b7f" d="M0 0h513v342H0z"/><path fill="#f9e814" d="M0 233.5h513v51H0z"/><g fill="#FFF"><path d="m168.7 86.5 12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zM85.4 32.5l7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z"/></g></svg>`,mp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0021ad" d="M0 0h513v342H0z"/><path fill="#1c8a42" d="M0 0h513v342"/><g fill="#FFF"><path d="m77.6 272 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zM40.5 173.1l5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zM77.6 92.2l5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zM123.7 155.1l5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zM90.8 209.1l4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z"/></g><circle fill="#ffc639" cx="267.1" cy="170.7" r="74.5"/><path fill="#1c8a42" d="M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z"/><path fill="#ffc639" d="M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z"/></svg>`,hp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#DB7D00" d="M141.7 154.7s.2 67.1 74.7 65.3l4.5 13.9h8.9s-7.4-41.1 60.1-41.5c0 0 0-27.6 27.6-27.6H359s-66-51.8 58.9-118l1.8-13.1s-129.9 71-198.9 57.2c0 0 10.7 42.5-10.8 42.5-10.8 0-9.7-8.1-32.3-8.1-18.7 0-17.3 19.7-26.3 19.5-8.9-.2-18.8-12.3-19.6-10.2-.7 2.1 9.9 20.1 9.9 20.1z"/><g fill="#006651"><path d="M237.2 308.1c6.9-5 13-6.6 22.4-8.3s19.4-4.4 24.6-5.8-17.7 6.6-23.5 8.3c-5.8 1.6-23.5 5.8-23.5 5.8zM275.1 293.4c-1.9-11.9 2.8-24.3 13.5-29.3 2.5 8.6-5.2 23.2-13.5 29.3zM293.3 287.2c-5.8-9.8 4-22.6 11.1-28.8 3.3 6-2.5 23.7-11.1 28.8zM310.2 279.6c-6.2-8.4 1.1-23.2 8.8-29 3.1 8.2.1 23.2-8.8 29zM327.1 269c-5.6-8-1.7-20.4 6.3-28.4 5.8 6.6.9 21-6.3 28.4zM340.6 258.3c-4.7-7.5 1.1-25.4 8.6-30.4 3.3 6.6.8 25.4-8.6 30.4zM351.4 255.5c-1.4-10.8 17.4-22.7 25.2-22.4-.9 8.9-8.9 18.6-25.2 22.4zM340.9 267.7c8.8-9.1 26-9.1 32.1-7.2-1.7 5.3-21.9 16.9-32.1 7.2z"/><path d="M328.7 276.8c12.4-3.3 20.5-6.1 27.9 1.7-5.2 6.6-25.4 4.7-27.9-1.7zM311 284.8c11.9-6.4 26.3 3 28.5 8.6-13.3 5.5-28.7-7.2-28.5-8.6zM294.7 294c10.8-4.1 23.2 1.4 28.2 7.5-5.8 2.7-21 5.7-28.2-7.5zM279.8 298.7c12.4-1.4 24.4 8 27 13.4-15.9 1.5-22-3.2-27-13.4zM275.8 308.1c-6.9-5-13-6.6-22.4-8.3-9.4-1.7-19.4-4.4-24.6-5.8-5.3-1.4 17.7 6.6 23.5 8.3 5.8 1.6 23.5 5.8 23.5 5.8zM237.9 293.4c1.9-11.9-2.8-24.3-13.5-29.3-2.5 8.6 5.2 23.2 13.5 29.3zM219.7 287.2c5.8-9.8-4-22.6-11.1-28.8-3.3 6 2.5 23.7 11.1 28.8zM202.8 279.6c6.2-8.4-1.1-23.2-8.8-29-3.1 8.2-.1 23.2 8.8 29zM185.9 269c5.6-8 1.7-20.4-6.3-28.4-5.8 6.6-.9 21 6.3 28.4zM172.4 258.3c4.7-7.5-1.1-25.4-8.6-30.4-3.3 6.6-.8 25.4 8.6 30.4zM161.6 255.5c1.4-10.8-17.4-22.7-25.2-22.4.9 8.9 8.9 18.6 25.2 22.4zM172.1 267.7c-8.8-9.1-26-9.1-32.1-7.2 1.7 5.3 21.9 16.9 32.1 7.2z"/><path d="M184.3 276.8c-12.4-3.3-20.5-6.1-27.9 1.7 5.2 6.6 25.4 4.7 27.9-1.7zM202 284.8c-11.9-6.4-26.3 3-28.5 8.6 13.3 5.5 28.7-7.2 28.5-8.6zM218.3 294c-10.8-4.1-23.2 1.4-28.2 7.5 5.8 2.7 21 5.7 28.2-7.5zM233.2 298.7c-12.4-1.4-24.4 8-27 13.4 15.9 1.5 22-3.2 27-13.4z"/></g></svg>`,gp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#11457e" d="M0 0h513v342H0z"/><path fill="#d7141a" d="M513 171v171H0l215-171z"/><path fill="#FFF" d="M513 0v171H215.185L0 0z"/></svg>`,_p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#FFDA44" d="M0 228h513v114H0z"/></svg>`,vp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#12ad2b" d="M0 0h513v342H0z"/><path fill="#6ab2e7" d="M513 0v166.7L0 170.8V0z"/><path fill="#FFF" d="M256 170.7 0 342V0z"/><path fill="#d7141a" d="m89.8 92.5 17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z"/></svg>`,yp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c60c30" d="M0 0h513v342H0z"/><path fill="#FFF" d="M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"/></svg>`,bp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#496E2D" d="M0 0h513v342H0z"/><path d="M0 110.7v120h513v-120z"/><path fill="#FFDA44" d="M0 110.7h513v40H0z"/><path fill="#FFF" d="M0 190.7h513v40H0z"/><path d="M196 0h120v342H196z"/><path fill="#FFDA44" d="M196 0h40v342h-40z"/><path fill="#FFF" d="M274.7 0h40v342h-40z"/><circle fill="#D80027" cx="256" cy="170.7" r="123.1"/><g fill="#496E2D"><path d="m256 58.6 4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zM149.4 136h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zM149.4 205.3l12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zM190.1 261.4l4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zM256 282.8l-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zM321.9 261.4l-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zM362.6 205.3h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zM362.6 136l-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zM321.9 80l-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8z"/></g><path fill="#496E2D" d="M279.3 168.7c-11-21.1-14.5-25.1-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z"/></svg>`,xp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 215.2h211.5v126.1H0z"/><path fill="#0052B4" d="M0 0h211.5v126.2H0z"/><path fill="#D80027" d="M300.5 0H512v126.2H300.5z"/><path fill="#0052B4" d="M300.5 215.2H512v126.1H300.5z"/><g stroke="#FFF" stroke-width="5" stroke-miterlimit="10"><path fill="#0052B4" d="M256 130h-49.9v49.4s19.5 6 49.9 6V130z"/><path fill="#D80027" d="M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z"/><path fill="#0052B4" d="M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z"/><path fill="#D80027" d="M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z"/></g></svg>`,Sp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#41662E" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256.5 0H513v342H256.5z"/><g fill="#D80027"><path d="m341.5 105.3-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z"/><path d="M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z"/></g></svg>`,Cp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 170.7h513V256H0z"/><path fill="#D80027" d="M0 256h513v85.3H0z"/><circle fill="#FFDA44" cx="256" cy="171" r="60"/><path fill="#4C1F00" d="M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"/><path fill="#57BA17" d="M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"/><path fill="#338AF3" d="M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"/></svg>`,wp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#111" d="M0 0h513v342H0z"/><path fill="#368FD8" d="M0 0h513v114H0z"/><path fill="#FFF" d="M0 228h513v114H0z"/></svg>`,Tp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><path fill="#C09300" d="M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z"/></svg>`,Ep=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#428823" d="M0 228h513v114H0z"/><g fill="#D80027"><path d="M256 171 0 342V0zM309.1 171c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.1-21.5-5.1-34.6-24.2-34.6-46.8z"/><path d="m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"/></g></svg>`,Dp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><path fill="#56AF35" d="M0 0h513v171H0z"/><path fill="#D80027" d="m0 342 513-171L0 0v342z"/><g fill="#ffc945"><path d="M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z"/><circle cx="119.5" cy="148.3" r="17.5"/><circle cx="148.9" cy="158.5" r="17.5"/><circle cx="134.7" cy="135.2" r="17.5"/><circle cx="119.5" cy="172.7" r="17.5"/><circle cx="149.9" cy="182.8" r="17.5"/><circle cx="122.5" cy="198" r="17.5"/><circle cx="145.9" cy="205.2" r="17.5"/></g></svg>`,Op=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M0 0h22.5v15H0V0z"/><path fill="#D03433" d="M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"/><path fill="#FBCA46" d="M0 4h22.5v7H0V4z"/><path fill="#FFF" d="M7.8 7h1v.5h-1V7z"/><path fill="#A41517" d="M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"/><path fill="#A41517" d="M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"/></svg>`,kp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#20AA46" d="M0 0h22.5v5H0V0z"/><path fill="#E92F3B" d="M0 10h22.5v5H0v-5z"/><path fill="#FADF50" d="M0 5h22.5v5H0V5z"/><circle fill="#205CCA" cx="11.3" cy="7.5" r="5.2"/><g stroke="#FFDB3D" fill="none"><g stroke-width=".5"><path d="m11.3 8.8-2.1 1.5.8-2.4-2-1.5h2.5l.8-2.3.8 2.3h2.6l-2.1 1.5.8 2.4-2.1-1.5zM10.3 6.4h1.9M9.9 7.8l1.3 1M12 6.2l.7 1.8M10 7.9l.6-1.8M11 9l1.6-1.1"/></g><g stroke-width=".25"><path d="m8.7 3.9 1.1 1.6M13.8 3.8l-1 1.6M11.3 10.1V12M8.9 8.3 7.1 9M15.5 9l-1.8-.7"/></g></g></svg>`,Ap=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 810 540"><path fill="#039" d="M0 0h810v540H0z"/><path fill="#FC0" d="m404.951 59.865 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-90 24 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-66 66 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-24 89.999 6.735 20.719h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm24 90.001 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm66 66 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm180-312 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm66 66 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm24 90 6.735 20.718h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm-24 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm-156 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm90-24.001 6.735 20.719h21.894l-17.633 12.812 6.639 20.74-17.635-12.812-17.633 12.812 6.735-20.73-17.633-12.811h21.797z"/></svg>`,jp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#2E52B2" d="M513 129.3V212H203.7v130H121V212H0v-82.7h121V0h82.7v129.3z"/></svg>`,Mp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#62b5e5" d="M0 0h513v342H0z"/><path fill="#2E52B2" d="M0 0h256v170H0z"/><path fill="#FFF" d="M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zM256 170.7v-15.1l-57.4-38.3H176z"/></g><path fill="#F3F3F3" d="M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z"/><path fill="#D80027" d="M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z"/></svg>`,Np=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><g fill="#D80027"><path d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/></g><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><g fill="#D80027"><path d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></g><path fill="#1F8BDE" d="M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z"/><path fill="#FFF" d="M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z"/><path fill="#187536" d="M347.1 193.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8-21.7 0-19.1 4.8-19.1 4.8-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z"/><path fill="#FFF" d="M357.4 179.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1-24.9 0-45.1 13.5-45.1 30.1-.1 8.5 6.6 28.5 15 30.1zM356 270.7c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM322.1 210c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z"/></svg>`,Pp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="m256 37.9 10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zM388.8 170.7l-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z"/></g></svg>`,Fp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0F61A5" d="M513 214.5H206.2V342H118.4V214.5H0v-87.7h118.4V0H206.2v126.8H513V192z"/><path fill="#E50E3D" d="M513 149.3V192H183.7v150H141V192H0v-42.7h141V0h42.7v149.3z"/></svg>`,Ip=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,Lp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><path fill="#0052B4" d="M0 228h513v114H0z"/></svg>`,Rp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><g fill="#FFF"><path d="M0 0h513v341.3H0V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"/></g><g fill="#0052B4"><path d="M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zM118.2 111.3 0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zM421.7 111.3 513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z"/></g><g fill="#D80027"><path d="M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM143.7 230 0 309.9v31.5L200.3 230h-56.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6zM368.3 111.3 513 31.5V0L311.7 111.3h56.6z"/></g></svg>`,zp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c60a0a" d="M0 0h513v342H0z"/><path fill="#3E8446" d="m256.5 170.7-212 126.1V44.5z"/><g fill="#FFDA44"><path d="m256.5 170.7 211 126.1h-423zM467.5 44.5l-211 126.2-212-126.2z"/></g><path fill="#3E8446" d="M467.5 44.5v252.3l-211-126.1z"/><g fill="#FFDA44"><path d="m256.5 10.4 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 10.4l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 10.4l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM256.5 304.2l2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 304.2l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 304.2l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z"/></g><circle fill="#c60a0a" cx="244.5" cy="170.7" r="76.2"/><path fill="#FFDA44" d="m244.5 110.1 13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zM107.7 167.8c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z"/><circle fill="#A2001D" cx="99.1" cy="182.1" r="7.4"/></svg>`,Bp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M.8 0h21v15H.8V0z"/><path fill="#eb000e" d="M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z"/><path fill="#eb000e" d="m17.3 2.7-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z"/></svg>`,Vp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#FDEB01" d="m0 0 90 60H0z"/><path fill="#58A846" d="M90 0v60L0 0z"/><path fill="#ED3D24" d="m50.7 33.3 9.3-6.7H48.5L45 15.7l-3.5 10.9H30l9.3 6.7-3.6 11 9.3-6.7 9.3 6.7z"/></svg>`,Hp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M308 0H204v118.7H0v104h204V342h104V222.7h205v-104H308z"/><path fill="#FFDA44" d="m368.6 188 26 17.3V136l-26 17.3h-95.3V58.1l17.3-26h-69.2l17.3 26v95.2h-95.3l-26-17.3v69.3l26-17.3h95.3v95.2l-17.3 26h69.2l-17.3-26V188z"/></svg>`,Up=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#496E2D" d="M0 228h513v114H0z"/><path d="m255.9 113.8 14.1 43.4 40.4 3.2-37 26.9 19.5 40.3-37-26.9-37 26.9 14.1-43.5-36.9-26.9h45.7z"/></svg>`,Wp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 230h513v112H0z"/><path fill="#D80027" stroke="#000" stroke-miterlimit="10" d="M363.1 131.8V99.1H374V77.3h-21.9v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7h-21.8V55.5h10.9V33.7h-21.8v10.9h-10.9V33.7H254v10.9h-10.9V33.7h-21.8v21.8h10.9v76.3h-21.8V99.1h10.9V77.3h-21.8v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7H145V219h239.9v-87.2z"/><path fill="#FFDA44" stroke="#000" stroke-miterlimit="10" d="m264.9 235.5-24.2 18.2 19.1 14.3v31.3h-23.2v9h23v7.9h-23v9.3H270V268l19.1-14.3-24.2-18.2zm0 25.3-10.1-7.1 10.1-7.1 10.1 7.1-10.1 7.1z"/><path d="M239.6 209.7v-27.9s.1-22.3 25-22.3c24.8 0 25.7 22 25.7 22v28.2h-50.7zM170.5 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8z"/><path d="M169.1 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zM320.9 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zM329.3 132v-15.7s.1-12.1 11.3-12.1c11.3 0 11.7 11.9 11.7 11.9V132h-23zM250.5 132v-23.7s.1-18.3 14.3-18.3c14.2 0 14.7 18 14.7 18v24h-29zM177.5 132v-15.7s.1-12.1 11.3-12.1 11.7 11.9 11.7 11.9V132h-23z"/></svg>`,Gp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 0v171H0V0z"/><circle fill="#FFF" cx="185.8" cy="171.2" r="117.8"/><path fill="#D80027" d="M68 171c0-65.1 52.8-117.8 117.8-117.8 65.1 0 117.8 52.8 117.8 117.8"/></svg>`,Kp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#cf0d19" d="M0 0h513v100H0z"/><path fill="#0052B4" d="M0 121h513v100H0z"/><path fill="#1a7e25" d="M0 242h513v100H0z"/></svg>`,qp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h512v342H0z"/><path fill="#6DA544" d="M342 0h171v342H342z"/><path fill="#D80027" d="M0 0h171v342H0z"/></svg>`,Jp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,Yp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v113.8H0z"/><path fill="#D80027" d="M0 227.6h513V342H0z"/><path fill="#0070C8" d="M126 171 0 342V0z"/><path fill="none" stroke="#000" stroke-miterlimit="10" d="M233.8 139.4v40.4c0 35.6 35.6 35.6 35.6 35.6s35.6 0 35.6-35.6v-40.4h-71.2z"/><path fill="#786145" d="M264.5 179.8h9.8l4 25.8h-17.8z"/><path fill="#6DA544" d="M287.2 162c0-9.8-8-14.8-17.8-14.8s-17.8 5-17.8 14.8c-4.9 0-8.9 4-8.9 8.9s4 8.9 8.9 8.9h35.6c4.9 0 8.9-4 8.9-8.9s-4-8.9-8.9-8.9z"/><g fill="#FFDA00" stroke="#000" stroke-miterlimit="10"><path d="m230.7 120 1.9 3.3h3.8l-1.9 3.3 1.9 3.2h-3.8l-1.9 3.3-1.9-3.3H225l1.9-3.2-1.9-3.3h3.8zM246 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zM261.3 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zM277.1 120l1.9 3.3h3.8l-1.9 3.3 1.9 3.2H279l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zM293.1 120l1.9 3.3h3.8l-1.9 3.3 1.9 3.2H295l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zM308.1 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2H310l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8z"/></g></svg>`,Xp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0d5eaf"><path d="M0 0h513v38H0zM0 76h513v38H0zM0 152h513v38H0zM0 228h513v38H0zM0 304h513v38H0z"/><path d="M0 0h190v190H0z"/></g><g fill="#FFF"><path d="M0 76h190v38H0z"/><path d="M76 0h38v190H76z"/></g></svg>`,Zp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><path fill="#D80027" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/><ellipse fill="#FFF" cx="443.4" cy="233.6" rx="29" ry="43.5"/><ellipse fill="#FFCE00" cx="406.9" cy="317.7" rx="22" ry="9.3"/><ellipse fill="#FFCE00" cx="364" cy="317.7" rx="22" ry="9.3"/><path fill="#39B200" d="m342 190.1 43.4 86.9 43.5-86.9z"/><ellipse fill="#9B9B9B" cx="327.5" cy="233.6" rx="29" ry="43.5"/><path fill="#757575" d="m371 175.6-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z"/><circle fill="#C6B56F" cx="385.4" cy="67" r="29"/><circle fill="#A54A00" cx="386" cy="88.7" r="29"/><circle fill="#FFF" cx="443.4" cy="117.7" r="29"/><circle fill="#0049FF" cx="342.2" cy="146.7" r="29"/><circle fill="#0041F9" cx="429.8" cy="146.7" r="29"/><circle fill="#F7D71E" cx="386" cy="233.6" r="29"/><circle fill="#CEC851" cx="457.9" cy="190.1" r="29"/><circle fill="#FFF" cx="385.4" cy="289.5" r="29"/><path fill="#7C0B29" d="m371 135.7 14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z"/><circle fill="#FFF" cx="327.5" cy="117.4" r="29"/></svg>`,Qp=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#338AF3"><path d="M0 0h171v342H0zM342 0h171v342H342z"/></g><circle fill="#DCC26D" cx="256" cy="155.8" r="25.5"/><path fill="#628A40" d="M194.2 155.9c0 22.1 11.8 42.5 30.8 53.5 5.9 3.4 13.5 1.4 16.9-4.5 3.4-5.9 1.4-13.5-4.5-16.9-11.5-6.6-18.5-18.9-18.5-32.1 0-6.8-5.5-12.4-12.4-12.4s-12.3 5.5-12.3 12.4zm95.1 52.1c17.8-11.4 28.6-31 28.5-52.1 0-6.8-5.5-12.4-12.4-12.4-6.8 0-12.4 5.5-12.4 12.4 0 12.7-6.5 24.5-17.1 31.3-5.8 3.6-7.7 11.2-4.1 17 3.6 5.8 11.2 7.7 17 4.1.2-.1.3-.2.5-.3z"/></svg>`,$p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M11.1 11.1h489.7v319.1H11.1z"/><path fill="#7DBEF1" d="M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"/><path fill="#1C8AE6" d="M179.8 180.7h152.6l-29.3 64.9h-95.2z"/><path fill="#FFF042" d="M192.3 205.9s40.5 38.2 51 38.2c12.4 0 12.6-18.4 25.5-25.5 20.2-11.1 51-12.7 51-12.7L297 248.7l-41 36.6-46.8-39.7-16.9-39.7z"/><path fill="#259C7B" d="m256 157.5-22.5 15.6 7.9-26.2-21.8-16.5 27.4-.5 9-25.9 9 25.9 27.4.5-21.8 16.6 7.9 26.2-22.5-15.7z"/><path fill="#8E5715" d="M249.7 144.6c-.9 9.2-1.5 18.4-1.7 27.6-.3 11.9.3 20.7 2 26 2.2 6.6 7.2 12.9 14.2 18.9 5.3 4.6 10.6 8.1 14.2 10.1 3.1 1.7 7 .6 8.7-2.4 1.7-3.1.6-7-2.4-8.7-4.3-2.5-8.4-5.4-12.2-8.7-5.4-4.6-9.1-9.2-10.4-13.3-1.1-3.4-1.6-11.3-1.4-21.7.2-8.9.8-17.8 1.7-26.6.4-3.5-2.2-6.6-5.7-7-3.6-.3-6.7 2.3-7 5.8z"/><path fill="#FFF" d="m217.8 170.7 25.5 38.2h-25.5v-38.2z"/><path fill="none" stroke="#D80027" stroke-width="12" stroke-miterlimit="10" d="M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"/></svg>`,em=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h512v342H0z"/><path fill="#FFDA44" d="M0 0h512v171H0z"/><path fill="#D80027" d="M0 0h182v342H0z"/><path d="m98.3 109.8 15.1 46.5h48.9L122.8 185l15.1 46.5-39.6-28.7-39.5 28.7L73.9 185l-39.6-28.7h48.9z"/></svg>`,tm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#009E49" d="M0 0h900v600H0V0z"/><path fill="#FFF" d="m0 0 947 300L0 600V0z"/><path fill="#FFD00D" d="M0 26.1 870 300 0 573.9V26.1z"/><path fill="#2D2D2D" d="m0 0 450 300L0 600V0z"/><path fill="#D3132F" d="m0 35 397.5 265L0 565V35z"/></svg>`,nm=`<svg viewBox="0 0.5 21 14" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path fill="#FFF" d="M0 0h21v15H0z"/><path fill="#ee1c25" d="M0 0h21v15H0z"/><path d="M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 1 0 0-.5.25.25 0 0 0 0 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 1 0 .476-.154.25.25 0 0 0-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 1 0 .294.405.25.25 0 0 0-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 1 0-.293.404.25.25 0 0 0 .293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 1 0-.475-.155.25.25 0 0 0 .475.155z" fill="#FFF"/></g></svg>`,rm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="M223.4 170.7c.3-.3.5-.6.8-.9-.3.3-.5.6-.8.9zM189.2 212.6l11 22.9 24.7-5.7-11.1 22.8 19.9 15.8L209 274v25.4l-19.8-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zM387.1 241.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.9-2.6 9.5-7.5-5.3-10.9 11.9 2.7zM338.5 125.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6v-12.1l-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zM387.1 58.9l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9 11.9 2.7zM429.5 108.6l5.3 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.5-7.6-9.4 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM399.2 166.5l4.1 12.7h13.3l-10.8 7.8 4.1 12.6-10.7-7.8-10.8 7.8 4.1-12.6-10.7-7.8h13.3z"/><path d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/></g><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><g fill="#D80027"><path d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/></g><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><g fill="#D80027"><path d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></g></svg>`,im=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#338AF3"><path d="M0 0h513v114H0zM0 228h513v114H0zM203.5 117.9l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM308.5 117.9l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM256 147.6l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM203.5 177.3l6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1zM308.5 177.3l6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1z"/></g></svg>`,am=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#0052B4" d="M0 228h513v114H0z"/><g fill="#338AF3"><path d="M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zM203.7 113.2v-44l-17.3-14.4-17.9 14.4v44zM238.9 113.2v-44l17.6-14.4 17.6 14.4v44z"/></g><g fill="#0052B4"><path d="M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zM238.9 113.2h-35.2v-44l17.5-14.4 17.7 14.4z"/></g><path stroke="#D80027" fill="#FFF" d="M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"/><g fill="#D80027"><path d="M168.5 113.2h35.2v35.2h-35.2zM238.9 113.2h35.2v35.2h-35.2zM309.3 113.2h35.2v35.2h-35.2zM203.7 148.4h35.2v35.2h-35.2zM274.1 148.4h35.2v35.2h-35.2zM168.5 183.6h35.2v35.2h-35.2zM203.7 218.8h35.2V254h-35.2zM238.9 183.6h35.2v35.2h-35.2zM309.3 183.6h35.2v35.2h-35.2zM274.1 218.8h35.2V254h-35.2zM309.3 274.3c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zM238.9 254v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z"/></g></svg>`,om=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#A2001D" d="M0 0h513v172H0z"/><path fill="#0052B4" d="M0 172h513v172H0z"/><path fill="#FFF" d="m381.4 251.5-110.7-13.8-110.8 13.8V85.4h221.5z"/><circle fill="#0052B4" cx="270.7" cy="182.3" r="55.4"/><circle fill="#A2001D" cx="270.7" cy="182.3" r="27.7"/><path fill="#6DA544" d="M229.1 113.1h83.1l-41.5 41.5z"/><path fill="#FFDA44" d="M256.8 140.8h27.7v83h-27.7z"/><path fill="#6DA544" d="M314.9 215.5h-88.5l-66.5 36h221.5z"/></svg>`,sm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 228h513v114H0z"/></svg>`,cm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><path fill="#fc0" d="M0 0h300v200H0z"/><path fill="#0768a9" d="M0 0h200v200H0z"/><path fill="#fff" d="M0 0h100v200H0z"/></svg>`,lm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#E00" d="M0 0h513v171H0z"/></svg>`,um=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h171v342H0z"/><path fill="#FF9811" d="M342 0h171v342H342z"/></svg>`,dm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#2E52B2"><path d="M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zM0 277.3h512V320H0z"/></g></svg>`,fm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E52D42" d="M0 0h513v342H0z"/><path fill="#FFF" d="M393.3 68.2h-45.8l-33.8 80.2-34.4-22.9s-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-.6-48.9 7.8-29.6 8.4-30.8 18.7-42.2 18.7-4.8 0-19.9-17.5-27.7-22.3-12.1-7.8-16.9-4.2-13.9 7.2 1.2 4.8 10.9 10.9 16.9 19.9 7.8 11.5 12.7 25.9 12.7 25.9s10.9-10.3 16.9-12.1c9-2.4 19.3 1.8 31.4 0 15.1-2.4 31.4-10.9 31.4-10.9l4.2 43.4s-54.3 50.7-49.5 70.6 56.1 44.6 68.2 62.7c12.1 17.5-7.2 24.1-7.2 32.6s-1.8 19.9 7.2 16.3c9-3.6 10.3-18.1 18.7-31.4 6-9 10.3-13.9 11.5-17.5 1.8-9-23.5-32-37.4-48.9-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6s67.6 27.7 82.6 18.7c15.1-9 19.3-98.3 19.3-98.3l47-11.5-12.1-11.7z"/><path fill="#F8DD4E" d="M279.3 262.4c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.8-182.8c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm0 91.1c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6 0 11.5 4.8 11.5 11.5-.6 6.7-5.5 11.5-11.5 11.5zm-136.9 45.8c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.2-136.9c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-4.8 11.5-11.5 11.5zm22.9 91.1c-6 0-11.5-10.3-11.5-22.9s4.8-22.9 11.5-22.9c6 0 11.5 10.3 11.5 22.9s-4.8 22.9-11.5 22.9zm-114-45.2c-6 0-11.5-4.8-11.5-11.5 0-6.6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5 0 6.6-4.8 11.5-11.5 11.5z"/></svg>`,pm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#181A93" d="M17.3 0h478.4v342H17.3V0z"/><path fill="#FFA44A" d="M0 0h513v114H0V0z"/><path fill="#1A9F0B" d="M0 228h513v114H0V228z"/><path fill="#FFF" d="M0 114h513v114H0V114z"/><circle fill="#FFF" cx="256.5" cy="171" r="34.2"/><path fill="#181A93" d="M256.5 216.6c-25.1 0-45.6-20.5-45.6-45.6s20.5-45.6 45.6-45.6 45.6 20.5 45.6 45.6-20.5 45.6-45.6 45.6zm0-11.4c18.2 0 34.2-16 34.2-34.2s-15.9-34.2-34.2-34.2-34.2 16-34.2 34.2 16 34.2 34.2 34.2z"/><circle fill="#181A93" cx="256.5" cy="171" r="22.8"/></svg>`,mm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0-.3h513V342H0V-.3z"/><path fill="#0052B4" d="M462.9 198.1c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zM0 31.7l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 1-20 6-30.1 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30.1-12v22zm462.9 55.2c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 3.9-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 1 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-8 19-9v-23zm-50.1 133.3c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 0 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-9 19-9v-23z"/><path fill="#FFF" d="M0-.3h256v171H0V-.3z"/><path d="M389.8 119.9H408v78.8h-18.3l.1-78.8zm0 117.8H408v75.1h-18.3l.1-75.1z" fill="#A2001D"/><g fill="#D80027"><path d="M144-.3h-32v70H0v32h112v69h32v-69h112v-32H144v-70z"/><path d="M0-.3v15l57 39h23L0-.3zM256-.3v15l-57 39h-23l80-54z"/><path d="M0-.3v15l57 39h23L0-.3zM256-.3v15l-57 39h-23l80-54zM0 170.7v-15l57-38h23l-80 53zM256 170.7v-15l-57-38h-23l80 53z"/></g><g fill="#2E52B2"><path d="M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zM256 22.7v31h-46l46-31zm-96-23v49l73-49h-73z"/><path d="M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zM256 22.7v31h-46l46-31zm-96-23v49l73-49h-73zM0 147.7v-30h46l-46 30zm96 23v-49l-73 49h73zM256 147.7v-30h-46l46 30zm-96 23v-49l73 49h-73z"/></g><path fill="#5DA51E" stroke="#45602C" stroke-width="4" stroke-miterlimit="10" d="M462.8 91.5h-29.1l25.7-25.7c4.5-4.4 4.5-11.4 0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8 0l-25.9 25.9V37.4c0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2 0-11.3 5.1-11.3 11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9 0l-3.6 3.6c-4.7 4.7-4.7 12.4 0 17.2l25 25.4h-30.6c-6 0-10.9 4.9-10.9 10.9v4.6c0 6 4.9 10.9 10.9 10.9H369l-20.7 20.7c-4.4 4.4-4.4 11.4 0 15.8l3.4 3.4c4.4 4.4 11.4 4.4 15.8 0l19.6-19.6V167c0 6.1 5.1 11.1 11.3 11.3h4.7c6.2 0 11.3-5.1 11.3-11.3v-28.3l22.2 22.6c4.7 4.7 12.4 4.7 17.1 0l3.6-3.6c4.7-4.7 4.7-12.4 0-17.2L435.2 118h27.6c5.9 0 10.7-4.9 10.9-10.9v-4.6c0-6.1-4.9-11-10.9-11z"/><path fill="#E2DD24" stroke="#525625" stroke-width="4" stroke-miterlimit="10" d="M439.2 249.1h-79.8s-.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7 15.9-10.9 33.7.8 48.2.8 11.8.1 26.9-14 45-.8 12.2 8.9 3.9 28.2-1.3 36.7-7 11.5-4.7 21.8-4.7 21.8z"/></svg>`,hm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#CE1126" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><g fill="#547C31"><path d="M219.2 160.7h-29.3c1.5-5.7 6.6-9.9 12.8-9.9v-19.9c-18.3 0-33.1 14.9-33.1 33.1v16.5h49.6c1.8 0 3.3 1.5 3.3 3.3v6.6h-66.2v19.9h86.1v-26.5c0-12.7-10.4-23.1-23.2-23.1zM268.8 190.5v-59.6H249v79.5h33.1v-19.9zM335 190.5v-59.6h-19.8v59.6h-6.6v-19.8h-19.9v39.7h59.6v-19.9z"/></g></svg>`,gm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><g fill="#D80027"><path d="M0 227.9h513v114H0zM278.8 134.8c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z"/></g><g fill="#FFF" opacity=".5"><path d="M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zM89.2 98.9h22.3v24.4H89.2zM133.8 98.9h22.3v24.4h-22.3zM178.4 98.9h22.3v24.4h-22.3zM223 98.9h22.3v24.4H223zM267.7 98.9H290v24.4h-22.3zM312.3 98.9h22.3v24.4h-22.3zM356.9 98.9h22.3v24.4h-22.3zM401.5 98.9h22.3v24.4h-22.3zM446.1 98.9h22.3v24.4h-22.3zM490.7 98.9H513v24.4h-22.3zM44.6 216.9h22.3v25.5H44.6zM0 216.9h22.3v25.5H0zM89.2 216.9h22.3v25.5H89.2zM133.8 216.9h22.3v25.5h-22.3zM178.4 216.9h22.3v25.5h-22.3zM223 216.9h22.3v25.5H223zM267.7 216.9H290v25.5h-22.3zM312.3 216.9h22.3v25.5h-22.3zM356.9 216.9h22.3v25.5h-22.3zM401.5 216.9h22.3v25.5h-22.3zM446.1 216.9h22.3v25.5h-22.3zM490.7 216.9H513v25.5h-22.3z"/></g></svg>`,_m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 210.6H202.2v130.7H122.4V210.6H0V130.8h122.4V0H202.2v130.8H513v18.5l-1 42.7z"/><path fill="#D80027" d="M513 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z"/></svg>`,vm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M342 0H0v341.3h512V0z"/><path fill="#6DA544" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,ym=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M301.8 171 513 30.2V0h-45.3L256.5 140.8 45.3 0H0v30.2L211.2 171 0 311.8V342h45.3l211.2-140.8L467.7 342H513v-30.2z"/><path fill="#FFDA44" d="m233.7 44.6 22.3 5.6 22.3-5.6 4-20.9-14.9 6.5L256 14.8l-11.4 15.4-14.9-6.5z"/><path fill="#D80027" d="M233.7 44.6s-4 12.9-4 29.9c0 27.9 26.3 41.3 26.3 41.3s26.3-15.5 26.3-41.3c0-15.4-4-29.9-4-29.9s-8.1-5-22.3-5-22.3 5-22.3 5z"/></svg>`,bm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h513v342H0z"/><path d="M215.9 171 0 314.6V26.8zM513 26.8v287.8L296.1 171z"/><path fill="#0052B4" d="M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"/><path fill="#FFDA44" d="M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"/></svg>`,xm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 228h513v114H0z"/><path fill="#D80027" d="M256.5 170.7 0 341.3V0z"/><path fill="#FFF" d="m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"/></svg>`,Sm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><circle fill="#D80027" cx="256.5" cy="171" r="96"/></svg>`,Cm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h512v90.579H0z"/><path fill="#496E2D" d="M0 251h513v91H0z"/><path fill="#A2001D" d="M0 114h513v114H0z"/><g fill="#FFF"><path d="m323.3 54.5-25.6-11.8L256 137l-41.7-94.3-25.6 11.8 51.8 116.2-51.8 116.2 25.6 11.8 41.7-94.4 41.7 94.4 25.6-11.8-51.8-116.2z"/><path d="M273.4 65.6c-9.9-10.8-17.4-17-17.4-17s-7.5 6.2-17.4 17v210.1c9.9 10.8 17.4 17 17.4 17s7.5-6.2 17.4-17V65.6z"/></g><g fill="#A2001D"><path d="M209 105.9v129.5c10.5 18.5 23.3 33.7 32.9 43.8V62.1c-9.6 10.1-22.4 25.3-32.9 43.8zM303 105.9c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1 22.4-25.3 32.9-43.8V105.9z"/></g><path d="M303 105.9v129.5c10.6-18.8 18.8-41 18.8-64.8s-8.2-45.9-18.8-64.7zM209 105.9v129.5c-10.6-18.8-18.8-41-18.8-64.8s8.2-45.9 18.8-64.7z"/></svg>`,wm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 342"><g fill="#D80027"><path d="M0 0h513v342H0z"/><circle cx="256" cy="170.7" r="170.7"/></g><path fill="#FFDA44" d="M382.4 170.7 330.8 195l27.5 50-56.1-10.7-7.1 56.6-39.1-41.7-39.1 41.7-7.1-56.6-56.1 10.7 27.5-50-51.6-24.3 51.6-24.3-27.5-50.1 56.1 10.8 7.1-56.7L256 92.1l39.1-41.7 7.1 56.7 56.1-10.8-27.5 50.1z"/><circle fill="#D80027" cx="257.4" cy="170.7" r="71.6"/><g fill="#FFDA44"><path d="M214.2 170.7c-2.1 0-4.1.1-6.2.3.1 12 4.4 22.9 11.6 31.5 3.8-10.3 9.5-19.6 16.7-27.7-6.9-2.7-14.3-4.1-22.1-4.1zM240.8 217.2c5.2 1.9 10.8 2.9 16.6 2.9 5.8 0 11.4-1 16.6-2.9-2.8-11.1-8.7-21-16.6-28.8-7.9 7.8-13.8 17.7-16.6 28.8zM300.2 146c-8.5-14.8-24.5-24.7-42.8-24.7-18.3 0-34.2 9.9-42.8 24.7 15.6.1 30.2 4.3 42.8 11.6 12.6-7.3 27.2-11.6 42.8-11.6zM278.5 174.8c7.2 8 12.9 17.4 16.7 27.7 7.2-8.5 11.5-19.5 11.6-31.5-2-.2-4.1-.3-6.2-.3-7.7 0-15.2 1.4-22.1 4.1z"/></g></svg>`,Tm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v114H0zM0 228h513v114H0z"/></g><path fill="#FFF" d="M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"/></svg>`,Em=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 450 300"><path fill="#CE1126" d="M0 0h450v300H0V0z"/><g fill="#FCD116"><circle cx="227.6" cy="161.2" r="56.2"/><path d="m254.1 73.4-23.7 26 28.6 6.5zM202.6 73.6l-4.8 33.1 28.5-8zM296.9 100.3l-34.7 8.5 20.1 23.7zM158.6 98.5l15.5 32.7 20.2-22.7zM317.6 143.8l-34.4-9.9 5.6 29.5zM135.6 141.2l31.9 19.8 5.2-27.7z"/></g><path fill="#003F87" d="M0 175h450v125H0V175z"/><path fill="#FFF" d="M0 267c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#FCD116" d="m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"/></svg>`,Dm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M0 0h513v85.5H0z"/><path fill="#FFF" d="M0 85.5h513V171H0z"/><path fill="#D80027" d="M0 171h513v85.5H0z"/><path fill="#6DA544" d="M256.5 171 0 342V0z"/><g fill="#FFF"><path d="M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7-3.6-.8-7.3-1.2-11.1-1.2-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9c3.8 0 7.5-.4 11.1-1.2-23.3-5.1-40.8-25.9-40.8-50.7z"/><path d="m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.3h8.9zM108.9 148.4l2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/><path d="m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zM108.9 192.9l2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/></g></svg>`,Om=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M512 0H0v342"/><path fill="#FFDA44" d="M307.7 0 0 194.5V342h206.9L513 148.5V0z"/><path d="M513 0H385.2L0 249.4V341l126.2 1L513 91.6z"/><g fill="#FFF"><path d="m141.1 187 31.2 24 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.3-22.2zM310.6 70.8l31.2 23.9 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.4-22.2z"/></g></svg>`,km=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#91DC5A" d="M0 0h513v342H0z"/><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v57.188H0zM0 284.1h513v57.177H0z"/></g><path fill="#D80027" d="M0 79.9h513v181.582H0z"/><circle fill="#FFF" cx="190.33" cy="171" r="65.668"/><path fill="#D80027" d="m190.3 105 14.8 45.3h47.7l-38.6 28.1 14.8 45.5-38.7-28.2-38.6 28.1 14.8-45.4-38.6-28.1h47.7z"/></svg>`,Am=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#FFF" d="M0 0h900v600H0z"/><g transform="rotate(-56.31)"><g stroke="#000" stroke-width="25"><path d="M-75 228.3H75m-150 37.5H75m-150 37.5H75M-75 778.3H75m-150 37.5H75m-150 37.5H75"/></g><path stroke="#FFF" stroke-width="12.5" d="M0 753.3v125"/><circle fill="#ca163a" cy="540.8" r="150"/><path fill="#0e4896" d="M0 390.8c-41.4 0-75 33.6-75 75s33.6 75 75 75 75 33.6 75 75-33.6 75-75 75c-82.8 0-150-67.2-150-150s67.2-150 150-150z"/></g><g stroke="#000" stroke-width="25"><path d="m231.56 535.73-83.205-124.808M262.76 514.928l-83.205-124.807m114.407 104.006-83.205-124.808M689.187 230.644l-83.205-124.807M720.39 209.843 637.184 85.036m114.407 104.006L668.386 64.234"/></g><path stroke="#FFF" stroke-width="12.5" d="m205.6 462.897 31.202-20.8m389.981-259.989 36.444-24.296m31.202-20.801 31.202-20.801"/></svg>`,jm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><path fill="#D80027" d="M0 228h513v114H0z"/><path d="M167 227.6 0 341.3V0l167 113.8z"/></svg>`,Mm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><circle fill="#6DA544" cx="384" cy="96.5" r="29.7"/><path fill="#D80027" d="M332.1 89H436v44.5H332.1z"/><path fill="#496E2D" d="M435.9 170.7z"/><path fill="#FFDA44" d="M332.1 200.3V230h15.6c9.4 9.2 22.2 14.8 36.3 14.8 14.1 0 27-5.7 36.3-14.8H435.9v-29.7H332.1z"/><path fill="#338AF3" d="M332.1 126.1v44.5c0 39.8 51.9 51.9 51.9 51.9s51.9-12.2 51.9-51.9v-44.5H332.1z"/><g fill="#F3F3F3"><path d="M384 149.9c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9zM384 108.3c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9z"/></g><path fill="#FFF" d="M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zM256 170.7v-15.1l-57.4-38.3H176z"/></g></svg>`,Nm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#36B6CC" d="M0 0h513v342H0V0z"/><circle fill="#FFD400" cx="256.5" cy="170.9" r="68.4"/><path fill="#FFD400" d="m256.5 251.5-27.9 41.7-7.1-49.7-43.2 25.5 15.2-47.8-50 4.2 34.4-36.5-46.9-18 46.8-18-34.4-36.5 50 4.2-15.2-47.8 43.2 25.4 7.1-49.7 27.9 41.7 27.9-41.7 7.1 49.7 43.2-25.4-15.2 47.8 50-4.2-34.3 36.6 46.8 17.9-46.8 18 34.4 36.5-50-4.2 15.2 47.8-43.2-25.4-7.1 49.7c0-.1-27.9-41.8-27.9-41.8zm0-.8c44.1 0 79.9-35.8 79.9-79.9S300.6 91 256.5 91s-79.9 35.8-79.9 79.9 35.8 79.8 79.9 79.8zM22.8 28.3c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V28.3zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V74zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm22.8-22.8c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7V245c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V188zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V96.8zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V51.2z"/></svg>`,Pm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 .1h513v90.7H0zM0 251.3h513V342H0z"/></g><circle fill="#FFF" cx="256.5" cy="171" r="65.9"/></svg>`,Fm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 .2h513v90.7H0zM.5 251.3H513V342H.5z"/></g><path fill="#6DA544" d="M290.3 193.5 256 130.7l-34.3 62.8h25.7v17.2h17.2v-17.2z"/><path fill="#14AF5A" d="M241.3 213.1c4.4-4.4 4.4-11.6-.1-16l4.7 4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5 5.9c-6.1 1.5-6.8-.4-1.8-4.2l27.1-20.3c5.1-3.8 4.2-6.9-2.3-6.9h-11c-6.4 0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8 5.1-5.1-1.5-5.1h-11c-6.4 0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8 12.9-3.8 18.5 0l27.1 20.3c5.1 3.8 4.2 6.9-2.3 6.9h-11c-6.4 0-7 2.3-1.5 5.1l25.3 12.7c5.6 2.8 5.1 5.1-1.5 5.1h-11c-6.4 0-7.4 3.1-2.3 6.9l27.1 20.3c5.1 3.8 4.4 5.7-1.8 4.2l-23.5-5.9c-6.8-1.3-13.9.6-19.1 5.3l4.7-4.7c-4.4 4.4-4.5 11.5-.1 16l6.8 6.8c4.4 4.4 3.1 8-3.3 8h-45.8c-6.2 0-7.7-3.6-3.3-8 .1.1 6.9-6.8 6.9-6.8z"/></svg>`,Im=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#55B2FF" d="M0 0h513v342H0z"/><path fill="#F3F3F3" d="M148.5 298.1h216l-108-254.2z"/><path fill="#333" d="m186 272.7 70.5-160.3L327 272.7z"/><path fill="#FFDA44" d="M148.5 298.1h216l-108-101.7z"/></svg>`,Lm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h513v171H0z"/><path fill="#FFDA44" d="M149.3 98.1c0-14-11.3-25.3-25.3-25.3-6.5 0-12.4 2.4-16.9 6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4-14 0-25.3 11.3-25.3 25.3 0 7.5 3.3 14.2 8.4 18.8v14.9h84.3V117c5.3-4.7 8.5-11.5 8.5-18.9z"/></svg>`,Rm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#A2001D" d="M222.6 22.3h267.1v296.8H222.6z"/><path fill="#D80027" d="M22.3 22.3h200.3v296.8H22.3z"/><path fill="#FFDA44" d="M200.3 0h22.3v342h-22.3z"/><path fill="#6DA544" d="M22.3 22.3h89v296.8h-89z"/><path fill="#FF9811" d="M111.3 22.3h89v296.8h-89z"/><path fill="#FFDA44" d="M368.2 156.8c-1.4-2 0-37.9 0-37.9.9-7.4.1-8.4 1-11.4.9-2.9 5.4-11.6 5.4-11.6s-6-2.3-10.3-.6c-4.3 1.7-24.7-7.5-31.2 3.4-4.4 7-23.6 16.2-24.6 14-1-2.2-5.9-5-6.9-2.9s-.7 13.9 0 16c.8 2.6 9.8 2 12.3 3.1 3.7 1.8 12.2 8.2 11.9 10.7-.3 2.5-22.5-6-24.2-4.5-1.4 1.2-1.9 13.2-.4 15 1.8 2.1 23.4 5.6 25 7.5 1.6 1.9-13.1 7.4-12.3 25 .7 14.7 8 17.4 8 17.4s-2.4 3.6-7.8 3.1c-6.2-.6-27.4-17.7-27.4-17.7s-3.5-109 3.6-121.4c4.9-8.5-22.7 10.1-22.7 50.8V151c0 6.6-1.4 22.4 2.6 34 0 0-.4 46.9 1.5 49.6s12.7 2.2 14.8 0 0-30 0-30c7.7.2 18.3 17.5 32.5 16.4 20.6-1.6 28.7-9.9 34.3-5 8.1 7.1 5.5 23.2.4 31.5-2.2 3.5-14.3 4.7-15.7 7.6-1.4 2.9.5 5.4.5 5.4h29.7s1.4-20.5 2.7-26.1c1.3-5.7-.6-10.7 5.9-10.4 23.5 1.1 39.8-15.3 45.5-8 3.2 4.1 5.6 29.9 3.3 33.3-2.2 3.4-13.8 2.8-15.2 6.7-1.4 4 .8 4.4.8 4.4h29.7s-.4-21.2 2.5-27.7 4.9-10.4 9.3-17.2c4.4-6.8 11.3-15.7 11.3-36.2 0-14.2-8.1-22.8-8.1-22.8H417c-14.1.2-47.4 2.3-48.8.3zM232.2 32.3c10.7-10.6 20.2-2.7 22.2 2.1 1.9 4.8 2.1 8.2 2.8 13.6.9 6.9 4.9 14 4.9 14s-7.1-3.8-14.7-4.2c-4.7-.3-9-.6-13.6-2.5-5.7-2.3-11.7-12.9-1.6-23zM480.6 32.2c10.7 10.6 2.8 20.2-2 22.2s-8.2 2.1-13.6 2.8c-6.9.9-14 5-14 5s3.7-7.1 4.2-14.7c.3-4.7.6-9.1 2.4-13.6 2.2-5.7 12.8-11.8 23-1.7zM480.7 309.1c-10.7 10.6-20.2 2.6-22.2-2.2-1.9-4.8-2.1-8.2-2.7-13.6-.8-6.9-4.9-14.1-4.9-14.1s7 3.8 14.7 4.3c4.7.3 9 .6 13.6 2.5 5.7 2.4 11.7 13.1 1.5 23.1zM232.5 309c-10.6-10.7-2.7-20.2 2.1-22.2 4.8-1.9 8.2-2.1 13.6-2.8 6.9-.9 14-4.9 14-4.9s-3.8 7.1-4.2 14.7c-.3 4.7-.6 9-2.5 13.6-2.3 5.7-12.9 11.8-23 1.6z"/><path fill="none" stroke="#FFDA44" stroke-width="6" stroke-miterlimit="10" d="M446.9 162.4s7.5-2.6 8.4-16.1c.6-8.6-19.8-16-39-11.5-19.7 4.6-34-3.1-34-14.6 0-22.9 29.7-16.2 38.9-11.3 9.1 4.9 29.7 23.5 35.1 9.4"/></svg>`,zm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#bf0a30"><path d="M0 0h513v31.1H0zM0 62.2h513v31.1H0zM0 124.5h513v31.1H0zM0 186.8h513v31.1H0zM0 249.3h513v31.1H0zM0 310.9h513V342H0z"/></g><path fill="#002868" d="M0 0h155.6v155.6H0z"/><path fill="#FFF" d="m77.8 30.2 10.7 32.9h34.6l-28 20.4 10.7 32.9-28-20.3-28 20.3 10.7-32.9-28-20.4h34.6z"/></svg>`,Bm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 227.6h513v114H0z"/><path d="m245.2 171 7.7-23.1c2-5.9 5.1-6 7.1 0l7.7 23.1 19.4 29.1c1.7 2.6 1.3 6.3-1.2 8 0 0-6.9 8-29.5 8s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8l19.5-29.1z"/><path d="M256.5 171c-12.5 0-22.6-10.1-22.6-22.6 0-12.5 10.1-22.6 22.6-22.6s22.6 10.1 22.6 22.6c0 12.5-10.2 22.6-22.6 22.6zm0 0c6.2 0 11.3-16.3 11.3-22.6 0-6.2-5.1-11.3-11.3-11.3-6.2 0-11.3 5.1-11.3 11.3 0 6.3 5 22.6 11.3 22.6z"/></svg>`,Vm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M0 0h513v114H0z"/><path fill="#D80027" d="M0 228h513v114H0z"/></svg>`,Hm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#338AF3" d="M0 228h513v114H0z"/></svg>`,Um=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#A2001D"><path class="st1" d="M0 0h513v127.6H0zM0 214.4h513V342H0z"/></g></svg>`,Wm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#496E2D" d="M0 228h513v114H0z"/><g fill="#FFF"><path d="m281.4 150.7 9 12.3 14.5-4.7-9 12.4 9 12.3-14.5-4.7-9 12.3v-15.2l-14.5-4.7 14.5-4.7z"/><path d="M257 201.5c-17 0-30.9-13.8-30.9-30.9s13.8-30.9 30.9-30.9c5.3 0 10.3 1.3 14.7 3.7-6.9-6.7-16.2-10.8-26.6-10.8-21 0-38 17-38 38s17 38 38 38c10.3 0 19.7-4.1 26.6-10.8-4.4 2.4-9.4 3.7-14.7 3.7z"/></g></svg>`,Gm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 .3V342h513V.3z"/><path fill="#20661B" d="M359.8 148.9h-73.3l-22.7-69.7-22.7 69.7h-73.3l59.3 43.1-22.7 69.7 59.3-43.1 59.3 43.1-22.5-69.7 59.3-43.1zm-116.1 37.7 7.7-23.6h24.8l7.7 23.6-20.1 14.6-20.1-14.6zm27.9-37.7H256l7.8-24 7.8 24zm24.3 29-4.8-14.9h25.3l-20.5 14.9zM236.6 163l-4.8 14.9-20.5-14.9h25.3zm-5.3 61.8 7.8-24 12.6 9.2-20.4 14.8zm44.5-14.9 12.6-9.2 7.8 24-20.4-14.8z"/></svg>`,Km=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.333h512v341.333H0z"/><path fill="#c70000" d="M0 85.333h512V256H0z"/></svg>`,qm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#AF7F59" d="M206.2 129.1h33.2L256 79.3l16.6 49.8h33.2v99.6L256 262l-49.8-33.2v-99.7zm33.2 33.3v49.8h33.2v-49.8h-33.2z"/></svg>`,Jm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E6BE53" d="M0 0h513v342H0z"/><path fill="#E01D24" d="M20 20h473v302H20z"/><path fill="#E6BE53" d="M248.5 112.9c4.4 4.4 11.6 4.4 16 0l-4.7 4.7 22.7-22.7c4.9-4.5 12.1-5.6 18.2-2.8l2.1 1c5.7 2.9 6.7 8.7 2.3 13.1l4.7-4.7-22.8 22.8c-4.5 4.9-5.6 12.1-2.8 18.2l1 2.1c2.9 5.7 5.1 15.4 5.1 21.6v-11.3c0 6.2 4.4 9.1 10.2 6.2l2.1-1c5.7-2.9 6.7-8.7 2.3-13.1l4.7 4.7c-4.4-4.4-4.4-11.6 0-16l-4.7 4.7c5.2-5.5 9.6-11.6 13.1-18.2l1-2.1c2.9-5.7 6.3-15.1 7.9-21.2l5.8-23.3c1.5-6 5.9-6.8 9.6-1.8l20.2 26.9c3.8 5.1 6.9 14 6.9 20.6v22.4c0 6.3-2.2 15.8-5.1 21.7l-1 2.1c-3.5 6.6-7.9 12.7-13.1 18.2l-6.8 6.8c-5.4 5.2-11.5 9.6-18.2 13.1l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.2 0-6.9 2.2-1.1 5.1l2.1 1c5.7 2.9 13.8 8.7 18.2 13.1l-4.7-4.7c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L339 226c4.6 4.9 5.7 12.1 2.9 18.2l-1 2.1c-2.9 5.7-10.4 10.2-16.4 10.2-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7c-4.4 4.7-5.2 11.8-1.8 17.3l10.3 15.4c3.4 5.1 2 12.1-3.1 15.5L266 284.4c-5.7 3.4-12.8 3.4-18.6 0L232 274.1c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5 2.6-12.6-1.8-17.3l4.7 4.7c-4.4-4.4-10.2-3.6-13.1 2.3l-1 2.1c-2.9 5.7-9.5 12.4-15.4 15.4l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.9-.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3 2.9-18.2l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L181 226c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c5.5-5.2 11.6-9.6 18.2-13.1l2.1-1c5.7-2.9 5-5.1-1.1-5.1-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3 3.1-15.6 6.9-20.6l20.2-26.9c3.8-5.1 8.1-4.3 9.6 1.8l5.8 23.3c2 7.3 4.6 14.4 7.9 21.2l1 2.1c2.9 5.7 8.7 13.8 13.1 18.2l-4.7-4.7c4.4 4.4 4.4 11.6 0 16l4.7-4.7c-4.4 4.4-3.6 10.2 2.3 13.1l2.1 1c5.7 2.9 10.2 0 10.2-6.2v11.3c0-6.2 2.2-15.7 5.1-21.6l1-2.1c2.8-6.1 1.7-13.2-2.8-18.2l-22.7-22.7 4.7 4.7c-4.4-4.4-3.6-10.2 2.3-13.1l2.1-1c6.1-2.8 13.2-1.7 18.2 2.8l22.7 22.7-4.8-4.5zm-18-40.7c-4.4-4.4-3.2-9.5 2.8-11.5l12.4-4.2c6-2 15.5-2 21.5 0l12.4 4.2c6 2 7.2 7.1 2.8 11.5l-6.8 6.8c-5.3 4.7-12.1 7.5-19.2 7.9-6.2 0-14.8-3.5-19.2-7.9.1 0-6.7-6.8-6.7-6.8z"/><path fill="#215F90" d="M233.9 200.2c0 6.2 1.7 6.4 4.2.5 0 0 7.1-23.2 18.4-23.2 11.3 0 18.6 23.6 18.6 23.6 2.2 5.7 4 5.3 4-1.1v-11.2c0-18.7-10.1-33.9-22.6-33.9-12.5 0-22.6 15.2-22.6 33.9v11.4z"/></svg>`,Ym=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 72"><path d="M0 0h108v72H0z" fill="#003787"/><path d="M0 0h108L60 48v24H48V48z" fill="#fff"/><circle cx="54" cy="30" r="8" fill="#f9d90f"/><path d="M44 30h20L54 48z" fill="#fff"/><path d="M54 48 38 33h32z" fill="#cf142b"/></svg>`,Xm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#6DA544" d="M512 426.666V85.329H0v341.337h512z"/><path fill="#D80027" d="M512 85.331H0v170.666h512V85.331z"/><path fill="#FFF" d="M0 85.334h181.793v341.337H0z"/></svg>`,Zm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#1E509C" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 176.1V81.3L0 342l513-165.9z"/><path fill="#F18D36" d="M513 0v81.3L0 342 513 0z"/><path fill="#FFF" d="m126.7 99.3-7.8-54.1-7.7 54.1-20.8-23.7 10.7 31.6-31.5-10.7 23.6 20.8-54.1 7.7 54.1 7.7-23.6 20.8 31.5-10.7-10.7 31.6 20.8-23.7 7.7 54.1 7.8-54.1 20.7 23.7-10.6-31.6 31.5 10.7-23.6-20.8 54-7.7-54-7.7 23.6-20.8-31.5 10.7 10.6-31.6z"/></svg>`,Qm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.333h512V426.67H0z"/><g fill="#D80027"><path d="M383.875 426.662 256 252.286l26.827 174.376zM133.565 85.33 256 252.286 230.314 85.33zM229.171 426.662 256 252.286 128.124 426.662zM0 85.33V212.9l256 39.386L28.333 85.33zM0 426.662h18.212L256 252.286 0 291.67zM256 252.286 512 212.9V85.33h-28.331zM281.686 85.33 256 252.286 378.434 85.33zM512 426.662V291.671l-256-39.385 237.787 174.376z"/><circle cx="256" cy="252.29" r="59.359"/></g><circle fill="#FFDA44" cx="256" cy="252.29" r="44.522"/></svg>`,$m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#6DA544" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,eh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#6DA544" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M0 85.337h512v113.775H0z"/><path fill="#D80027" d="M0 312.888h512v113.775H0z"/><path fill="#FFF" d="M384 227.261h-97.783L256 134.265l-30.217 92.997H128l79.108 57.475-30.217 92.998L256 320.925l79.108 56.81-30.217-92.998L384 227.261z"/></svg>`,th=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#095FAD" d="M0 0h513v342H0z"/><g fill="#BE1229"><path d="M342 0h171v342H342zM0 0h171v342H0z"/></g><g fill="#FFDA44"><path d="M108.3 166.3h14.8v74.2h-14.8zM48.9 166.3h14.8v74.2H48.9z"/><circle cx="86" cy="203.4" r="14.8"/><path d="M71.2 225.7h29.7v14.8H71.2zM71.2 166.3h29.7v14.8H71.2z"/><circle cx="86" cy="144" r="14.8"/><path d="M76.3 123.9h19.5L86 108.3z"/></g></svg>`,nh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#00745a" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="M285.682 248.878c-4.19 0-8.166.836-11.861 2.164 2.023-4.509 3.379-9.527 3.379-14.885 0-21.201-21.201-37.101-21.201-37.101s-21.201 15.901-21.201 37.101c0 5.357 1.356 10.375 3.379 14.885-3.693-1.328-7.671-2.164-11.861-2.164-21.201 0-37.101 21.201-37.101 21.201s15.901 21.201 37.101 21.201c12.429 0 23.031-7.286 29.682-13.315 6.65 6.03 17.251 13.315 29.682 13.315 21.201 0 37.101-21.201 37.101-21.201s-15.899-21.201-37.099-21.201z"/><g fill="#FFDA44"><path d="m256 152.111 4.38 13.476h14.171l-11.464 8.332 4.376 13.476-11.463-8.33-11.463 8.33 4.376-13.476-11.464-8.332h14.171zM202.112 175.683l8.425 7.585 9.818-5.667-4.61 10.355 8.423 7.588-11.274-1.185-4.611 10.355-2.358-11.088-11.275-1.185 9.818-5.669zM162.662 215.132l11.09 2.358 5.668-9.818 1.186 11.274 11.089 2.358-10.357 4.61 1.186 11.274-7.587-8.423-10.357 4.61 5.669-9.818zM309.889 175.683l-8.425 7.585-9.818-5.667 4.611 10.355-8.425 7.588 11.275-1.185 4.61 10.355 2.359-11.088 11.275-1.185-9.818-5.669zM349.338 215.132l-11.089 2.358-5.669-9.818-1.186 11.274-11.088 2.358 10.357 4.61-1.185 11.274 7.586-8.423 10.357 4.61-5.669-9.818z"/></g><g fill="#FFF"><path d="M256 350.642c16.84 0 32.363-5.619 44.816-15.073h-89.63c12.451 9.454 27.974 15.073 44.814 15.073zM187.977 306.12a74.138 74.138 0 0 0 8.85 15.073h118.345a74.13 74.13 0 0 0 8.85-15.073H187.977z"/></g></svg>`,rh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 500"><path fill="#0071BC" d="M0 0h750v500H0V0z"/><g fill="#FFF" stroke="#000" stroke-width="1.9"><circle cx="375" cy="245" r="225" fill="#fff"/><circle cx="375" cy="245" r="165" fill="#0071BC"/></g><g stroke="#000"><path fill="#8C8A8C" stroke-width="1.9" d="M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z"/><path fill="#FFF" stroke-width="2" stroke-linejoin="round" d="m373 114 30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"/></g></svg>`,ih=`<svg viewBox="0 0 900 600" xmlns="http://www.w3.org/2000/svg"><path fill="#231f1e" d="M0 0h900v600H0z"/><path fill="#00a650" d="M0 0h900v300H0z"/><path fill="#ef1923" d="m0 0 450 300L0 600z"/></svg>`,ah=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 100 513 342"><path fill="#006233" d="M0 100h513v342H0z"/><path fill="#cd2a3e" d="M0 100h513v46H0zM0 396h513v46H0z"/><path fill="#ffc400" d="M256 298.851c-45.956 0-84.348-32.298-93.767-75.429A96.288 96.288 0 0 0 160 243.994c0 53.02 42.979 96 96 96s96-42.98 96-96c0-7.066-.785-13.942-2.233-20.572-9.419 43.131-47.811 75.429-93.767 75.429z"/><path fill="#ffc400" d="m255.999 171.994 8.935 27.502h28.918l-23.394 16.996 8.936 27.503-23.395-16.998-23.394 16.998 8.937-27.503-23.394-16.996h28.915z"/></svg>`,oh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#1B4991" d="M0 0h513v342H0z"/><path fill="#00A2B8" stroke="#FFF" stroke-width="3" d="M318.2 106.7v106.5c0 51.9 67.8 67.8 67.8 67.8s67.8-15.9 67.8-67.8V106.7H318.2z"/><path fill="#A35023" d="M319.7 212.7c0 50.8 66.3 66.3 66.3 66.3s66.3-15.6 66.3-66.3H319.7z"/><path d="M415.1 155.1h-19.4v-19.4h-19.4v19.4H357v19.4h19.3v58.1h19.4v-58.1h19.4z"/><path fill="#FFF" d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#D80027" d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#D80027" d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></svg>`,sh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#C31B28" d="M256 0h256.5v342H256z"/><path fill="#ACABB1" stroke="#C31B28" stroke-width="2" d="M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"/></svg>`,ch=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#f7ce00" d="M0 85.331h512v341.326H0z"/><path fill="#e32737" d="M0 85.331h512v85.337H0z"/><path fill="#191f6a" d="M0 170.657h512v85.337H0z"/><path fill="#00a04e" d="M0 341.331h512v85.337H0z"/></svg>`,lh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#d01920" d="M0 85.331h512v341.333H0z"/><path fill="#017c3b" d="M144.696 174.375h222.609v163.25H144.696z"/><path fill="#FFF" d="M283.484 304.226c-26.637 0-48.232-21.594-48.232-48.232s21.594-48.232 48.232-48.232c8.306 0 16.12 2.1 22.943 5.797-10.703-10.467-25.341-16.927-41.494-16.927-32.784 0-59.362 26.577-59.362 59.362s26.578 59.362 59.362 59.362c16.154 0 30.791-6.461 41.494-16.927-6.822 3.698-14.636 5.797-22.943 5.797z"/></svg>`,uh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 342"><path fill="#272727" d="M0 0h512v114H0z"/><path fill="#e40112" d="M0 114h512v114H0z"/><path fill="#07893f" d="M0 228h512v114H0z"/><circle fill="#e40112" cx="256" cy="125" r="95"/></svg>`,dh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#dc2339" d="M342 0H0v341.3h513V0z"/><path fill="#11865d" d="M0 0h171v342H0z"/><path fill="#FFF" d="M171 0h171v342H171z"/><path fill="#8C9157" d="M195.8 171.2c0 21.6 11.5 41.7 30.3 52.5 5.8 3.4 13.2 1.4 16.6-4.4 3.4-5.8 1.4-13.2-4.4-16.6-11.3-6.5-18.2-18.5-18.2-31.5 0-6.7-5.4-12.1-12.1-12.1-6.7 0-12.2 5.4-12.2 12.1zm93.4 51.1c17.5-11.1 28-30.4 28-51.1 0-6.7-5.4-12.1-12.1-12.1s-12.1 5.4-12.1 12.1c0 12.4-6.3 24-16.8 30.7-5.7 3.5-7.5 10.9-4.1 16.7s10.9 7.5 16.7 4.1c0-.2.2-.3.4-.4z"/><ellipse fill="#C59262" cx="256.5" cy="159.1" rx="24.3" ry="36.4"/></svg>`,fh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#c00"><path d="M0 0h513v24.4H0zM0 48.9h513v24.4H0zM0 97.7h513v24.4H0zM0 146.6h513V171H0zM0 195.4h513v24.4H0zM0 244.3h513v24.4H0zM0 293.1h513v24.4H0z"/></g><path fill="#006" d="M0 0h256.5v195.4H0z"/><path d="M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z" fill="#fc0"/></svg>`,ph=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#FFF" d="M0 85.333h513v342H0z"/><path fill="#f4d900" d="M0 323.333h513v104H0z"/><path fill="#006d66" d="M0 85.333h513v104H0z"/><path d="M0 204.333h513v104H0z"/><path fill="#cb0f31" d="M256 256.006 0 426.668V85.331z"/><path fill="#f4d900" d="m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"/></svg>`,mh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 426.663V85.337h512"/><path fill="#FFF" d="M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"/><path fill="#A2001D" d="M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"/><path fill="#FFDA44" d="m187.737 189.212-22.741 10.696 12.11 22.024-24.693-4.724-3.129 24.945-17.199-18.347-17.2 18.347-3.129-24.945-24.693 4.723 12.109-22.023-22.739-10.696 22.74-10.697-12.11-22.022 24.693 4.722 3.13-24.944 17.199 18.347 17.2-18.347 3.128 24.944 24.693-4.722-12.108 22.024z"/></svg>`,hh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 426.7"><path fill="#009543" d="M0 293h640v133.7H0V293z"/><path fill="#ED4135" d="M0 132h640v161.3H0V132z"/><path fill="#0035AD" d="M0 0h640v133.3H0V0z"/><circle fill="#FAE600" stroke="#000" stroke-width="5.3" cx="240" cy="213.3" r="157.3"/><path d="m307.9 354.5-31.8 12-36.1 4.2-37.8-2.4-35.9-15.5s28.6-29.3 40.7-33.5c8.6-3 22.4-3.7 22.4-3.7V122l-.3-66H246l-.5 67.5v191.7s15.3 1.2 22.1 4.1c11.3 4.9 40.3 35.2 40.3 35.2z"/><path d="m212.727 102.375 42.955-21.418 5.577 11.187-42.955 21.417z"/><ellipse cx="237.8" cy="280.5" rx="16.8" ry="26.5"/><circle cx="237.4" cy="143.4" r="20.9"/><ellipse cx="238.4" cy="211.1" rx="19.9" ry="12.1"/><path d="M213.8 177h47v10h-47zM213.8 234h47v10h-47z"/></svg>`,gh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#e05206" d="M0 85.337h512v113.775H0z"/><path fill="#0db02b" d="M0 312.888h512v113.775H0z"/><circle fill="#e05206" cx="256" cy="256" r="32"/></svg>`,_h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.5 513 342"><path fill="#FFF" d="M0 85.5h513v342H0z"/><g fill="#007b23"><path d="M0 85.5h171v342H0zM342 85.5h171v342H342zM304 311.995l-48-152.001-48 152.001h36v39.999h24v-39.999z"/></g></svg>`,vh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.5 513 342"><path fill="#FFF" d="M0 85.5h513v342H0z"/><g fill="#007b23"><path d="M0 85.5h171v342H0zM342 85.5h171v342H342z"/></g></svg>`,yh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#338AF3"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M256 214.447c-22.949 0-41.553 18.603-41.553 41.553S233.05 297.553 256 297.553c22.949 0 41.553-18.603 41.553-41.553S278.949 214.447 256 214.447zm0 65.298c-13.114 0-23.745-10.631-23.745-23.745s10.631-23.745 23.745-23.745 23.745 10.631 23.745 23.745-10.631 23.745-23.745 23.745z"/><path fill="#0052B4" d="M276.563 261.936 256 256l-20.563 5.936-6.855 11.873h54.836z"/><path fill="#338AF3" d="m256 226.32-13.709 23.744L256 256l13.709-5.936z"/><path fill="#6DA544" d="M235.437 261.936h41.126l-6.854-11.872h-27.418z"/></svg>`,bh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 114h513v114H0z"/><path fill="#cd1f2a" d="M0 0h513v114H0z"/><path fill="#1d4185" d="M0 228h513v114H0z"/></svg>`,xh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z"/><path fill="#2E52B2" d="M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"/></svg>`,Sh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 426.663V85.337l280.419 174.75H87.61l183.576 166.576z"/><path fill="#D80027" d="M244.769 249.888 10.199 103.71v312.754h234.57L61.193 249.888z"/><g fill="#FFF"><path d="m98.003 324.433-14.589-6.863 7.77-14.13-15.844 3.03-2.008-16.005-11.035 11.772-11.036-11.772-2.008 16.005-15.843-3.031 7.77 14.131-14.591 6.863 14.591 6.862-7.77 14.13 15.844-3.029 2.007 16.004 11.036-11.772L73.332 358.4l2.008-16.004 15.843 3.03-7.769-14.13zM88.268 191.662l-10.612-4.991 5.651-10.278-11.523 2.205-1.461-11.641-8.026 8.561-8.026-8.561-1.46 11.641-11.525-2.205 5.652 10.278-10.613 4.991 25.972 5.194z"/><path d="M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165"/></g></svg>`,Ch=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M0 239.994h512v32H0z"/><path fill="#FFF" d="m174.802 341.329-19.124 8.996 10.184 18.521-20.767-3.973-2.631 20.978L128 370.422l-14.465 15.429-2.63-20.978-20.767 3.973 10.183-18.521-19.123-8.996 19.124-8.995-10.184-18.52 20.766 3.971 2.632-20.978L128 312.236l14.465-15.429 2.63 20.978 20.767-3.971-10.183 18.521z"/></svg>`,wh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M0 85.334h256v170.663H0z"/><g fill="#D80027"><path d="M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"/><path d="M0 85.329v15.083l57.377 38.251H80z"/></g><g fill="#2E52B2"><path d="M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z"/></g><path fill="#D80027" d="M256 85.329v15.083l-57.377 38.251H176z"/><g fill="#2E52B2"><path d="M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z"/></g><path fill="#D80027" d="M0 85.329v15.083l57.377 38.251H80z"/><g fill="#2E52B2"><path d="M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z"/></g><path fill="#D80027" d="M256 85.329v15.083l-57.377 38.251H176z"/><g fill="#2E52B2"><path d="M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z"/></g><path fill="#D80027" d="M0 255.997v-15.082l57.377-38.252H80z"/><g fill="#2E52B2"><path d="M0 233.376v-30.713h46.069zM96 255.994v-48.912l-73.372 48.912z"/></g><path fill="#D80027" d="M256 255.997v-15.082l-57.377-38.252H176z"/><g fill="#2E52B2"><path d="M256 233.376v-30.713h-46.069zM160 255.994v-48.912l73.372 48.912z"/><circle cx="128" cy="170.66" r="22.627"/></g><g fill="#FFDA44"><path d="m128 154.663 3.97 12.222h12.854l-10.398 7.556 3.971 12.222L128 179.109l-10.398 7.554 3.972-12.222-10.398-7.556h12.853zM128 219.803l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM128 102.469l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM197.931 161.136l2.365 7.277h7.653l-6.192 4.499 2.365 7.279-6.191-4.498-6.191 4.498 2.365-7.279-6.191-4.499h7.652zM58.069 161.136l2.364 7.277h7.653l-6.191 4.499 2.364 7.279-6.19-4.498-6.191 4.498 2.365-7.279-6.192-4.499h7.653z"/></g></svg>`,Th=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.334h512v341.337H0z"/><g fill="#D80027"><path d="m425.301 233.745 3.388 10.428h10.963l-8.87 6.444 3.388 10.427-8.869-6.444-8.871 6.444 3.388-10.427-8.87-6.444h10.963zM386.107 308.817l5.083 15.642h16.445l-13.305 9.667 5.082 15.64-13.305-9.667-13.305 9.667 5.083-15.64-13.305-9.667h16.445zM387.588 185.971l4.236 13.036h13.704l-11.088 8.054 4.235 13.034-11.087-8.056-11.088 8.056 4.235-13.034-11.087-8.054h13.704zM349.876 233.291l5.082 15.641h16.446l-13.306 9.666 5.084 15.641-13.306-9.666-13.305 9.666 5.082-15.641-13.305-9.666h16.445z"/></g><path fill="#FFF" d="M256.003 85.329v30.564l-45.178 25.088h45.178v59.359H196.89l59.113 32.846v22.806h-26.69l-73.484-40.826v40.826h-55.652v-48.573l-87.429 48.573H.003v-30.553l45.168-25.099H.003v-59.359h59.103L.003 108.147V85.329h26.68l73.494 40.838V85.329h55.652v48.573l87.43-48.573z"/><path fill="#D80027" d="M144 85.33h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915zM71.846 200.344 0 240.259v15.739l100.174-55.654z"/></g><path fill="#0052B4" d="M100.174 140.983 0 85.33v15.738l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.983 0 85.33v15.738l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.983 0 85.33v15.738l71.847 39.915zM184.154 140.983 256 101.068V85.33l-100.174 55.653z"/></g></svg>`,Eh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M138 0h377v114H138z"/><path fill="#4A7C3A" d="M138 230h377v114H138z"/><g fill="none" stroke="#FFF" stroke-width="10" stroke-miterlimit="2"><path d="M40.3 35.2s37.1 48 50.8 54.5c13.7 6.5 17.1 5.7 17.1 5.7"/><path d="M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8M51.7 65.3h37.9M70.7 35.2v30.1"/></g></svg>`,Dh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M256 256v170.663H0V256h256z"/><path fill="#D80027" d="M512 85.337V256H256V85.337h256z"/><path fill="#0052B4" d="m128 123.034 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L128 195.813l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"/><path fill="#D80027" d="m384 293.697 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L384 366.476l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"/></svg>`,Oh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.331h170.663v341.337H0zM341.337 85.331H512v341.337H341.337z"/></g></svg>`,kh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M293.991 256c0 20.982-17.01 33.243-37.992 33.243S218.008 276.982 218.008 256s17.01-37.992 37.992-37.992 37.991 17.01 37.991 37.992z"/><path fill="#0052B4" d="M293.991 256c0 20.982-17.01 37.992-37.992 37.992s-37.992-17.01-37.992-37.992"/><g fill="#D80027"><path d="M232.259 246.506h9.498v19h-9.498zM270.247 246.506h9.498v19h-9.498zM251.247 232.259h9.498v33.243h-9.498z"/></g></svg>`,Ah=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.333h512V426.67H0z"/><path fill="#A2001D" d="M0 85.33h512v341.332"/><g fill="#FFF"><path d="m204.631 326.488 2.762 8.504h8.941l-7.233 5.255 2.763 8.502-7.233-5.254-7.233 5.254 2.762-8.502-7.233-5.255h8.94zM181.797 244.866l4.605 14.172h14.901l-12.056 8.757 4.605 14.172-12.055-8.759-12.055 8.759 4.606-14.172-12.056-8.757h14.901zM181.797 348.749l4.604 14.173h14.902l-12.057 8.757 4.606 14.173-12.055-8.759-12.055 8.759 4.604-14.173-12.054-8.757h14.899zM225.363 281.967l4.606 14.172h14.901l-12.056 8.758 4.605 14.172-12.056-8.759-12.054 8.759 4.606-14.172-12.056-8.758h14.901zM138.23 281.967l4.606 14.172h14.899l-12.054 8.758 4.603 14.172-12.054-8.759-12.055 8.759 4.605-14.172-12.055-8.758h14.9z"/></g><path fill="#FFDA44" d="M376.526 204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795c-12.698-12.698-29.714-18.431-46.319-17.218a44.31 44.31 0 0 0-11.396-19.511l-12.593 25.186a18.47 18.47 0 0 0-3.148-4.197c-7.245-7.245-18.991-7.244-26.234 0s-7.245 18.99 0 26.234a18.536 18.536 0 0 0 4.197 3.148l-25.186 12.593a44.303 44.303 0 0 0 19.519 11.399c-1.217 16.606 4.511 33.619 17.209 46.317L324.12 214.6a11.053 11.053 0 0 1 7.807-3.202c2.973 0 5.768 1.158 7.87 3.26a11.055 11.055 0 0 1 3.26 7.87c0 2.974-1.158 5.768-3.26 7.87l10.494 10.494c4.905-4.905 7.607-11.428 7.607-18.364 0-5.675-1.81-11.071-5.153-15.534a29.492 29.492 0 0 1 13.288 7.662c11.573 11.572 11.573 30.403 0 41.975l10.494 10.494c8.409-8.409 13.039-19.59 13.039-31.481-.001-11.892-4.632-23.072-13.04-31.481z"/></svg>`,jh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M512 85.337V256H256L0 85.337z"/><path fill="#D80027" d="M512 256v170.663H0L256 256z"/><g fill="#FFDA44"><path d="m161.908 256-27.288-12.835 14.532-26.428-29.632 5.668-3.755-29.933-20.64 22.015-20.639-22.015-3.755 29.933-29.631-5.669 14.531 26.428L28.343 256l27.288 12.835L41.1 295.263l29.633-5.668 3.753 29.933 20.639-22.015 20.64 22.015 3.755-29.933 29.631 5.669-14.532-26.427zM21.789 117.607l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.694-14.809-4.932-9.268 12.559.117-15.608-14.809-4.934 14.88-4.712zM21.789 353.53l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.695-14.809-4.933-9.268 12.558.117-15.607-14.809-4.934 14.88-4.712zM210.395 235.569l-9.081 12.695-14.879-4.713 9.268 12.559-9.081 12.696 14.809-4.933 9.268 12.558-.117-15.607 14.809-4.934-14.88-4.713z"/></g></svg>`,Mh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><g fill="#FFF"><path d="m393.508 170.516 17.512 18.875 23.363-10.821-12.541 22.487 17.513 18.876-25.263-4.978-12.539 22.488-3.073-25.564-25.263-4.978 23.363-10.82z"/><path d="M0 85.343h512v341.326H0z"/></g><path fill="#01411c" d="M128 85.331h384v341.337H128z"/><g fill="#FFF"><path d="M361.909 298.793c-31.037 22.426-74.378 15.446-96.804-15.592-22.427-31.038-15.446-74.379 15.593-96.804 9.677-6.992 20.55-11.125 31.613-12.563-21.283-3.183-43.777 1.613-62.598 15.211-38.2 27.602-46.792 80.944-19.191 119.145 27.601 38.199 80.944 46.792 119.145 19.189 18.82-13.598 30.436-33.448 34.096-54.655-4.839 10.05-12.176 19.076-21.854 26.069zM360.58 172.889l17.484 18.842 23.322-10.802-12.519 22.447 17.483 18.844-25.219-4.968-12.519 22.45-3.067-25.521-25.22-4.969 23.323-10.802z"/></g></svg>`,Nh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><g fill="#FFF"><path d="M0 85.337h512v341.326H0z"/><path d="M0 85.337h512V256H0z"/></g><path fill="#D80027" d="M0 256h512v170.663H0z"/></svg>`,Ph=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 26.666 640 426.666"><g fill-rule="evenodd" stroke-width="1pt"><path fill="#fff" d="M0 0h640v480H0z"/><path fill="#00267f" d="M0 0h213.3v480H0z"/><path fill="#f31830" d="M426.7 0H640v480H426.7z"/></g></svg>`,Fh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#ACABB1" d="M400.696 219.822 384 225.387l-16.696-5.565-5.565-13.913 5.565-13.913h33.392l-5.566 13.913z"/><path fill="#338AF3" d="M345.043 219.822v61.217c0 29.821 38.957 38.957 38.957 38.957s38.957-9.137 38.957-38.957v-61.217h-77.914z"/><path fill="#6DA544" d="M348.555 295.541C358.131 313.927 384 319.996 384 319.996s25.869-6.069 35.445-24.455L384 236.518l-35.445 59.023z"/><path fill="#FFDA44" d="M422.957 280.421 384 219.822l-38.957 60.599v.618c0 5.518 1.337 10.328 3.512 14.503L384 240.405l35.445 55.137c2.175-4.175 3.512-8.983 3.512-14.503v-.618z"/><path fill="#FFF" d="M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"/><path fill="#D80027" d="M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915zM71.846 200.344 0 240.259v15.737l100.174-55.652z"/></g><path fill="#0052B4" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.982 0 85.33v15.737l71.847 39.915zM184.154 140.982 256 101.067V85.33l-100.174 55.652z"/></g></svg>`,Ih=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.337h512V153.6H0zM0 221.863h512v68.263H0zM0 358.4h512v68.263H0z"/></g><path fill="#0052B4" d="M256 256.006 0 426.668V85.331z"/><path fill="#FFF" d="m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"/></svg>`,Lh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path d="M0 85.337h512v113.775H0z"/><path fill="#268024" d="M0 312.888h512v113.775H0z"/><path fill="#e4312b" d="M256 256.006 0 426.668V85.331z"/></svg>`,Rh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M196.641 85.337v341.326H0V85.337z"/><circle fill="#FFDA44" cx="196.641" cy="256" r="64"/><path fill="#D80027" d="M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z"/><path fill="#FFF" d="M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z"/></svg>`,zh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><circle fill="#FFDA44" cx="218.902" cy="255.994" r="74.207"/></svg>`,Bh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path fill="#0052B4" d="M0 312.888h512v113.775H0z"/><path fill="#6DA544" d="m289.579 216.738-12.592 12.592c5.37 5.372 8.693 12.792 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.112-5.316-24.985-13.91-33.579z"/><path fill="#FFDA44" d="m256 232.51 4.421 13.605h14.304l-11.573 8.408 4.421 13.604L256 259.719l-11.573 8.408 4.421-13.604-11.573-8.408h14.304z"/></svg>`,Vh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#751A46" d="M0 0h512v342H0z"/><path fill="#FFF" d="M0 0v342h150.3l37.7-19.6-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19 37.7-18.9-37.7-19 37.7-19-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19L188 57l-37.7-19L188 19.1 150.3 0z"/></svg>`,Hh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 26.666 640 426.666"><g fill-rule="evenodd" stroke-width="1pt"><path fill="#fff" d="M0 0h640v480H0z"/><path fill="#00267f" d="M0 0h213.3v480H0z"/><path fill="#f31830" d="M426.7 0H640v480H426.7z"/></g></svg>`,Uh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#0052B4" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,Wh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.331h512v341.337H0z"/><path fill="#D80027" d="M0 85.331h512v113.775H0z"/><path fill="#FFF" d="M0 312.882h512v113.775H0z"/><path fill="#D80027" d="M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z"/><g fill="#FFDA44"><path d="M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zM241.16 278.782l-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z"/></g><path fill="#FFF" d="M241.16 233.734h-22.504a14.74 14.74 0 0 0 2.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0 0 18.149 3.544 48.079 48.079 0 0 0 18.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z"/></svg>`,Gh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.33v341.332h512V85.33z"/><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFF" d="M0 85.333h512v113.775H0z"/><path fill="#D80027" d="M0 312.884h512v113.775H0z"/></svg>`,Kh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><path fill="#FFDA44" d="M0 255.994h512v81.619H0z"/><path fill="#496E2D" d="M0 337.614h512v89.043H0z"/><path fill="#FFDA44" d="m278.261 185.209 20.844 9.804-11.099 20.186 22.632-4.33 2.868 22.865 15.765-16.816 15.766 16.816 2.867-22.865 22.633 4.33-11.099-20.186 20.843-9.804-20.844-9.805 11.1-20.185-22.633 4.329-2.868-22.864-15.765 16.816-15.766-16.816-2.867 22.864-22.634-4.329 11.1 20.187z"/></svg>`,qh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#055e1c" d="M0 85.333h512v341.333H0z"/><g fill="#FFF"><path d="M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zM330.264 181.791v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zM174.491 233.734c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z"/><path d="M297.661 181.788h21.736v51.942h-21.736zM265.057 211.473c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z"/><path d="M207.093 248.57h32.601v22.261h-32.601z"/></g></svg>`,Jh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.334h512v341.337H0z"/><path fill="#0052B4" d="M0 426.663V85.329h512"/><path fill="#FFDA44" d="M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z"/><g fill="#FFF"><path d="m85.688 108.787 5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.12-15.757L64 124.543h16.567zM170.312 108.787l5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zM85.688 191.289l5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zM170.312 191.289l5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z"/></g></svg>`,Yh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M235.454 85.337 0 426.663 427.345 85.337z"/><path fill="#6DA544" d="M512 329.393 0 426.663h512z"/><path fill="#D80027" d="M512 85.337h-84.655L0 426.663l512-204.512z"/><path fill="#0052B4" d="M0 85.337v341.326L235.454 85.337z"/></svg>`,Xh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path d="M0 312.888h512v113.775H0z"/><path fill="#496E2D" d="M0 426.668V85.331l256 170.675z"/></svg>`,Zh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFDA44" d="M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"/></svg>`,Qh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512V256H0z"/><g fill="#FFF"><path d="M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 0 0-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zM150.261 122.435l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z"/><path d="m121.344 144.696 3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zM179.178 144.696l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zM168.047 178.087l3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zM132.474 178.087l3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z"/></g></svg>`,$h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#0052B4" d="M0 0h512v341.3H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z"/></g><path fill="#29DBFF" d="M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z"/><path fill="#ffda44" d="M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z"/><path fill="#BF521B" d="m369.5 204.5.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z"/><path fill="#474747" d="m436.6 192.5-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z"/></svg>`,eg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 199.112h512v113.775H0z"/><path fill="#D80027" d="M0 312.888h512v113.775H0z"/><path fill="#FFF" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"/><path fill="#0052B4" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"/><path fill="#FFF" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"/></svg>`,tg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z"/><path fill="#2E52B2" d="M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"/></svg>`,ng=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 196.641h512v118.717H0z"/><path fill="#D80027" d="M0 315.359h512v111.304H0z"/><path fill="#FFF" d="M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"/><path fill="#D80027" d="M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"/><path fill="#FFF" d="M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"/><path fill="#0052B4" d="M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"/></svg>`,rg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 85.337h512v113.775H0z"/><path fill="#338AF3" d="M0 312.888h512v113.775H0z"/></svg>`,ig=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.34h512v341.326H0z"/><path fill="#FFF" d="M512 85.334v166.69L0 256.175V85.334z"/><path fill="#6DA544" d="M323.744 203.099 256 270.843l-67.744-67.744a81.156 81.156 0 0 0-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 0 0-13.881-45.483z"/><path fill="#FFDA44" d="M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z"/><path fill="#338AF3" d="M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z"/><path fill="#6DA544" d="M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z"/><path fill="#FFDA44" d="M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 0 0-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 0 0-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z"/></svg>`,ag=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#D80027" d="M330.207 85.331H512v341.337H330.207z"/><g fill="#496E2D"><path d="M0 85.331h181.793v341.337H0zM255.999 196.632l14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z"/></g></svg>`,og=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="m256 157.273 22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z"/></svg>`,sg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.337H0z"/><path fill="#A2001D" d="M0 196.636h512v118.728H0z"/><g fill="#6DA544"><path d="M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z"/></g><path fill="#FFDA44" d="m256.742 218.003 9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z"/></svg>`,cg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#496E2D" d="M0 322.783h512v103.88H0z"/><path d="M0 85.337h512v104.515H0z"/><path fill="#A2001D" d="M0 210.877h512v89.656H0z"/><path fill="#0052B4" d="M256 256.006 0 426.668V85.331z"/><path fill="#FFDA44" d="m73.178 209.188 20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z"/></svg>`,lg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><g fill="#6DA544"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#D80027" d="M256 256.006 0 426.668V85.331z"/><path d="m302.049 226.318 7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zM376.252 226.318l7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z"/></svg>`,ug=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#0052B4"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M228.582 261.936 256 214.447l27.418 47.489z"/><path fill="#6DA544" d="M291.616 277.616 256 295.425l-35.616-17.809v-23.744h71.232z"/><path fill="#FFDA44" d="m289.579 216.485-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z"/></svg>`,dg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M512 85.331v166.69L0 256.173V85.331z"/><path fill="#FFF" d="M256 256.006 0 426.668V85.331z"/><g fill="#FFDA44"><path d="M59.621 256a59.546 59.546 0 0 0-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z"/><circle cx="118.862" cy="210.287" r="18.286"/></g><path fill="#D80027" d="M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z"/><path fill="#338AF3" d="M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z"/><path fill="#F3F3F3" d="M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z"/></svg>`,fg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.337H0z"/><path fill="#D80027" d="M0 85.331h512v113.775H0z"/><path d="M0 312.882h512v113.775H0z"/><g fill="#6DA544"><path d="m187.31 215.184 9.208 28.341h29.802l-24.11 17.518 9.209 28.342-24.109-17.516-24.11 17.516 9.209-28.342-24.109-17.518h29.801zM324.69 215.184l9.209 28.341H363.7l-24.109 17.518 9.209 28.342-24.11-17.516-24.109 17.516 9.209-28.342-24.11-17.518h29.802z"/></g></svg>`,pg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#2B5DEA" d="M0 0h900v600H0V0z"/><path fill="#FFDF29" d="M0 100h900v400H0V100z"/><path fill="#D70000" d="M0 150h900v300H0V150z"/><path fill="#FFF" d="M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z"/><path d="M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z"/><path fill="#FFF" d="M346.3 254.3h21v91.3h-21zM398.2 254.3h21v91.3h-21z"/><path d="M477.8 254.3h21v91.3h-21zM529.7 254.3h21v91.3h-21z"/></svg>`,mg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#0052B4" d="M0 0h512v341.3H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z"/></g><path fill="#29DBFF" d="M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z"/><path fill="#FFF" d="M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9"/><path fill="#29DBFF" d="m385.4 251.7-22.9-43h45.8z"/><path fill="#FFF" d="m385.4 165.8-22.9 42.9h45.8z"/><ellipse fill="#FFBE57" cx="474.8" cy="236.8" rx="16.8" ry="43.3"/><ellipse fill="#FFBE57" cx="295.3" cy="236.8" rx="16.8" ry="43.3"/><path fill="#FFF" d="m385.4 31.5-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z"/><ellipse fill="#A5A5A5" cx="386.3" cy="104.3" rx="34.3" ry="23.3"/></svg>`,hg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFDA44" d="M332.058 191.996v78.221c0 38.103 51.942 49.779 51.942 49.779s51.942-11.675 51.942-49.779v-78.221H332.058z"/><path fill="#FF9811" d="M376.579 220.44c0 7.855-6.644 28.445-14.84 28.445s-14.84-20.589-14.84-28.445c0-7.856 14.84-14.222 14.84-14.222s14.84 6.367 14.84 14.222z"/><path fill="#A2001D" d="M415.961 235.93c2.394-5.6 4.257-13.785 4.257-17.86 0-6.546-8.904-11.852-8.904-11.852s-8.904 5.306-8.904 11.852c0 4.075 1.862 12.26 4.257 17.86l-5.141 11.123a26.898 26.898 0 0 0 9.788 1.831c3.463 0 6.766-.654 9.788-1.831l-5.141-11.123z"/><path fill="#6DA544" d="M372.87 270.217s-7.421 14.222-7.421 28.445h37.101c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111-11.129 7.111z"/><path fill="#D80027" d="M395.13 270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666-6.147 0-11.13 4.776-11.13 10.666v3.555h22.26z"/><path fill="#FFF" d="M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"/><path fill="#D80027" d="M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915zM71.846 200.344 0 240.259v15.737l100.174-55.652z"/></g><path fill="#0052B4" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.982 0 85.33v15.737l71.847 39.915zM184.154 140.982 256 101.067V85.33l-100.174 55.652z"/></g></svg>`,gg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#0052B4" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,_g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M0 0h21v15H0V0z"/><path fill="#073AB6" d="M0 0h22.5v15H0V0z"/><path fill="#FFF" d="M0 0h11.3v7.5H0V0z"/><path fill="#F44653" d="M7.1 0h3.6v7H7.1V0z"/><path fill="#1035BB" d="M0 0h3.6v7H0V0z"/><path fill="#FFF" d="M3.6 0h3.6v7H3.6V0zM14.5 6h5L19 7h-1.5v.5h1l-.5 1h-.5V10h-1V7H15l-.5-1zm4 2.5 1 1.5h-2l1-1.5zm-3 0 1 1.5h-2l1-1.5zm1.5 3L16 10h2l-1 1.5zM20 8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-6 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm1 4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm4 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-2 1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5z"/></svg>`,vg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><g fill="#496E2D"><path d="M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zM0 221.863h512v68.263H0z"/></g><path fill="#D80027" d="M0 85.337h204.054v204.054H0z"/><path fill="#FFF" d="m102.026 133.938 13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z"/></svg>`,yg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.334h512V426.66H0z"/><path fill="#0052B4" d="M0 194.056h512v123.882H0z"/><g fill="#D80027"><path d="M0 85.334h512v54.522H0zM0 372.143h512v54.522H0z"/></g></svg>`,bg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path fill="#6DA544" d="M0 312.888h512v113.775H0z"/><g fill="#FFDA44"><path d="M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zM192.355 270.84l2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zM200.921 241.16l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM225.409 218.899l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM319.645 270.84l-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zM311.079 241.16l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM286.591 218.899l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z"/></g></svg>`,xg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><g fill="#FFF"><path d="m210.715 174.377 3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zM116.816 281.971l4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zM144.696 119.679l4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zM69.539 175.331l4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z"/></g><g fill="#FFDA44"><path d="M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zM117.801 366.089c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.195-17.37 0-17.37H117.801z"/></g></svg>`,Sg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M256 256 0 90.691v44.242L155.826 256 0 377.067v44.242z"/><path d="M0 90.691v330.618L189.217 256z"/><path fill="#FFF" d="m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z"/></svg>`,Cg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.337h512v341.326H0z"/><g fill="#FFF"><path d="M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0 1 10.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 0 1-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zM310.637 115.729l-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z"/><path d="m330.338 146.448-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zM275.101 162.105l-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zM308.585 174.118l-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z"/></g><path fill="#D80027" d="M83.478 85.337h89.043v341.326H83.478z"/><path fill="#FFF" d="m117.458 175.191-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z"/><g fill="#FF9811"><path d="M128 137.276h-10.542l-14.908 11.105v7.678H128zM128 175.191h10.542l14.908-11.105v-8.012H128z"/></g><path fill="#FFF" d="m117.458 374.725-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z"/><g fill="#FF9811"><path d="M128 336.81h-10.542l-14.908 11.105v7.678H128zM128 374.725h10.542l14.908-11.106v-8.011H128z"/></g><g fill="#496E2D"><path d="m117.458 274.957-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zM153.971 299.391h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zM153.971 199.623h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z"/></g><g fill="#D80027"><path d="M120.576 248.576h14.84v14.84h-14.84z"/><circle cx="128" cy="206.113" r="7.421"/><circle cx="128" cy="305.887" r="7.421"/></g></svg>`,wg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><circle fill="#FFF" cx="256" cy="255.994" r="96"/><g fill="#D80027"><path d="m267.826 219.291 16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z"/><path d="M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z"/></g></svg>`,Tg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="M0 85.331h256v170.663H0z"/><path fill="#D80027" d="M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"/></svg>`,Eg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E30A17" d="M0 0h513v342H0z"/><path fill="#FFF" d="M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"/></svg>`,Dg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#FFF" d="m6.066 85.337 207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z"/><path d="M43.364 85.337 384.69 426.663h83.946L127.31 85.337z"/></svg>`,Og=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#0052B4" d="M0 0h900v600H0z"/><path fill="#00B2EE" d="M0 300h450V0h450v600H0V300z"/><path fill="#FFDA44" d="m345.3 480.9 29.4 90.6-77.1-56H393l-77.1 56 29.4-90.6zM706.4 340l29.4 90.6-77.1-56H754l-77.1 56 29.5-90.6zM812.8 261.5l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM812.8 37.4l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6z"/><path fill="#FFF" d="M449.9 0v206.3h-81l81 54V300h-39.7l-129-85.9V300H168.7v-85.9L39.7 300H0v-39.7l81-54H0V93.8h81L0 39.9V0h39.7l129 85.9V0h112.5v85.9L410.2 0z"/><path fill="#D80027" d="M253.1 0h-56.3v122H0v56.2h196.8V300h56.3V178.2h196.8V122H253.1z"/><path fill="#2E52B2" d="M449.9 39.9v53.9h-81z"/><path fill="#D80027" d="M0 300v-19.3l109.9-74.4h39.7L12.8 300zM12.8.1l136.8 93.7h-39.7L0 19.4V.1zM449.9.2v19.3L340 93.8h-39.7L437.1.2zM437.1 300l-136.8-93.7H340l109.9 74.4V300z"/><path fill="#FFDA44" d="m719.9 131.6 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM584 187.7l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM614 430.6l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM488 332l29.4 90.6-77.1-56h95.3l-77.1 56L488 332zM488 464l29.4 90.6-77.1-56h95.3l-77.1 56L488 464z"/></svg>`,kg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 85.337h256V256H0z"/><path fill="#FFF" d="M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"/><circle fill="#0052B4" cx="128" cy="170.674" r="29.006"/><path fill="#FFF" d="M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"/></svg>`,Ag=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 426.663V85.337h512"/><path fill="#FFDA44" d="M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"/><path d="M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"/></svg>`,jg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><path fill="#338AF3" d="M0 85.337h512V256H0z"/></svg>`,Mg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#232323" d="M0 0h512v341.3H0z"/><path fill="#FFDA44" d="M0 56.9h512v56.9H0z"/><path fill="#D32300" d="M0 113.8h512v56.9H0z"/><path fill="#FFDA44" d="M0 227.6h512v56.9H0z"/><path fill="#D32300" d="M0 284.4h512v56.9H0z"/><circle fill="#FFF" cx="256" cy="170.7" r="80.7"/><path d="M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z"/></svg>`,Ng=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 0h513v26.3H0zM0 52.6h513v26.3H0zM0 105.2h513v26.3H0zM0 157.8h513v26.3H0zM0 210.5h513v26.3H0zM0 263.1h513v26.3H0zM0 315.7h513V342H0z"/></g><path fill="#2E52B2" d="M0 0h256.5v184.1H0z"/><g fill="#FFF"><path d="m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zM104.1 138.9l-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zM160.6 138.9l-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zM216.8 138.9l-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zM43.8 75.3l-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zM156.3 75.3l-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zM212.8 75.3l-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zM43.8 24.7l-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zM100 24.7l-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zM156.3 24.7l-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zM212.8 24.7l-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z"/></g></svg>`,Pg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 0h513v26.3H0zM0 52.6h513v26.3H0zM0 105.2h513v26.3H0zM0 157.8h513v26.3H0zM0 210.5h513v26.3H0zM0 263.1h513v26.3H0zM0 315.7h513V342H0z"/></g><path fill="#2E52B2" d="M0 0h256.5v184.1H0z"/><g fill="#FFF"><path d="m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zM104.1 138.9l-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zM160.6 138.9l-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zM216.8 138.9l-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zM43.8 75.3l-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zM156.3 75.3l-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zM212.8 75.3l-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zM43.8 24.7l-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zM100 24.7l-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zM156.3 24.7l-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zM212.8 24.7l-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z"/></g></svg>`,Fg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0038a8"><path d="M0 38h513v38H0zM0 114h513v38H0zM0 190h513v38H0zM0 266h513v38H0z"/></g><path fill="#FFF" d="M0 0h256.5v190H0z"/><path fill="#FED443" d="m128.3 138.7-15.1 22.6-3.8-26.9L86 148.2l8.2-25.9-27.2 2.2 18.6-19.8L60.3 95l25.4-9.7L67 65.5l27.1 2.3-8.2-25.9 23.4 13.8 3.9-26.9 15.1 22.6 15.1-22.6 3.8 26.9 23.4-13.8-8.2 25.9 27.1-2.2-18.6 19.8 25.4 9.7-25.4 9.7 18.6 19.8-27.1-2.2 8.2 25.9-23.4-13.8-3.9 26.9-15-22.7zm0-.5c23.9.9 44-17.6 44.9-41.5.9-23.9-17.6-44-41.5-44.9h-3.4c-23.9.8-42.6 20.8-41.8 44.6.6 22.8 19 41.1 41.8 41.8zm0-10.6c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.3 34-34 34z"/></svg>`,Ig=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 322.783h512v103.88H0z"/><path fill="#338AF3" d="M0 85.337h512v104.515H0z"/><path fill="#FFF" d="M0 210.877h512v89.656H0z"/><path fill="#338AF3" d="M0 85.337h512v104.515H0z"/><g fill="#FFF"><path d="M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 0 0-7.155-.777c-18.442 0-33.391 14.949-33.391 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zM234.658 152.766l2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zM258.006 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM281.353 152.766l2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zM304.7 152.766l2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zM328.048 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM258.006 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 128.482l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zM304.7 128.482l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zM328.048 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 104.198l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zM304.7 104.198l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zM328.048 104.198l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z"/></g></svg>`,Lg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#FFF" d="M256 85.331h256v341.337H256z"/><path fill="#ACABB1" d="m321.353 233.837 32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 1 1 8.95 11.84 7.421 7.421 0 0 1-8.95-11.84z"/><path fill="#FFDA44" d="m376.367 247.24 17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 1 1-11.84-8.95 7.42 7.42 0 0 1 11.84 8.95z"/></svg>`,Rg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#338AF3" d="M0 85.331h170.663v341.337H0z"/><g fill="#6DA544"><path d="M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zM297.739 283.82l-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z"/></g></svg>`,zg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFCE00" d="M0 0h22.5v5H0z"/><path fill="#203899" d="M0 5h22.5v5H0z"/><path fill="#D82B2B" d="M0 10h22.5v5H0z"/><path fill="#FFF" d="m12.13 5.38.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zM10.36 5.38l.27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zM13.8 5.94l-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zM8.69 5.96l.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zM15.24 7.13l-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zM15.43 8.25l.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zM7.31 7.05l.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z"/></svg>`,Bg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M256 85.334V202.66h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z"/><g fill="#D80027"><path d="M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"/><path d="M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z"/></g><path fill="#2E52B2" d="M256 107.951v30.712h-46.069z"/><g fill="#D80027"><path d="M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z"/></g><path fill="#2E52B2" d="M256 107.951v30.712h-46.069z"/><g fill="#D80027"><path d="M0 255.997v-15.082l57.377-38.252H80zM256 255.997v-15.082l-57.377-38.252H176z"/></g><path fill="#FFDA44" d="m384 259.706-46.129 46.129c8.645 16.675 26.051 28.074 46.129 28.074s37.484-11.4 46.129-28.074L384 259.706z"/><path fill="#6DA544" d="M332.058 178.084V259.708c.001 39.759 51.942 51.941 51.942 51.941s51.941-12.182 51.942-51.942v-81.623H332.058z"/><path fill="#FFF" d="M372.87 215.181h22.261v59.359H372.87z"/><circle fill="#A2001D" cx="384" cy="215.181" r="11.13"/><g fill="#FFDA44"><path d="M346.902 192.92h14.84v14.84h-14.84zM346.902 226.312h14.84v14.84h-14.84zM346.902 259.703h14.84v14.84h-14.84zM406.261 192.92h14.84v14.84h-14.84zM406.261 226.312h14.84v14.84h-14.84zM406.261 259.703h14.84v14.84h-14.84z"/></g></svg>`,Vg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#FFF" d="M0 0h512v341.3H0z"/><path fill="#1583C4" d="m397.7 166.3-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z"/><path fill="#1583C4" d="m404.9 188-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z"/><path fill="#1583C4" d="m379 181.3-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z"/><path fill="#409347" d="M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z"/><g fill="#FFD836" stroke="#231F20" stroke-miterlimit="10"><path d="M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.6-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z"/><path d="m466.1 48.4-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z"/></g><path fill="#FFF" stroke="#231F20" stroke-miterlimit="10" d="M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3z"/><g fill="#D80027"><path d="M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zM296.8 137.7V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z"/></g><path fill="#0052B4" d="M201.3 111.8h119.4v37.9H201.3z"/><path fill="#1583C4" d="m60.1 210.5-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zM451.5 151.9h18.9v81.7h-18.9z"/></svg>`,Hg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M196.641 85.337H0v341.326h512V85.337z"/><path fill="#FFDA44" d="m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"/></svg>`,Ug=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M512 256v170.663H0L215.185 256z"/><path fill="#D80027" d="M512 85.337V256H215.185L0 85.337z"/><path d="M221.001 239.304 26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z"/><g fill="#FFDA44"><path d="M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z"/><path d="M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 0 0 4.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z"/></g></svg>`,Wg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 100"><path fill="#ED2939" d="M0 0h150v100H0z"/><path fill="#002395" d="M0 0h20v44.33H0z"/><path fill="#FFF" d="M20 0h20v44.33H20z"/><path fill="none" stroke="#FFF" stroke-width="3" d="M0 44.33h62.75V0"/><path fill="#FFF" d="M108.08 43.29 87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71 20.13-20.13v40.25L114.79 50z"/></svg>`,Gg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><path fill="#0052B4" d="M0 85.331h256v170.663H0z"/><g fill="#FFF"><path d="m165.483 181.79 2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zM120.579 115.007l4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zM165.101 129.848l4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zM129.909 189.211l4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zM90.899 152.108l4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z"/></g></svg>`,Kg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.33"><path fill="#0052B4" d="M0 0h512v341.34H0z"/><g fill="#FFF"><path d="m220.72 42.63 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zM291.28 42.57l7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zM353.36 53.93l7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zM416.37 72.23l7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zM158.64 53.93l7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zM95.63 72.23l7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z"/></g><path fill="#FFDA44" d="m217.53 259.33-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z"/></svg>`,qg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path d="M0 312.888h512v113.775H0z"/></svg>`,Jg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#FFF" d="M0 0h90v60H0z"/><path stroke="#7f7f7f" stroke-width=".25" fill="#ABABAB" d="M75.6 39.6c-1.1.7 0 1.8-.6 1.9-.6.1-1.5-1.4-.2-2.5 1.6-1.5 5.8 0 5.9 4.3 0 2.2-.9 6.8-7.2 6.8-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2s5.7-2.4 5.8-4.9c.1-3.9-3-4.4-3.7-4zM10.7 43.6c.1 2.5 1.8 4.7 5.8 4.9s8.2-2.2 8.5-5.2c.8-7.5-9.7-11.3-10.3-12-.7-.7-.5 3.9-.5 3.9s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2 1.6 4.3-1c-2.9-4-.6-11.7 7-11.7 2.1 0 1.8 3.9 3 5.5 1.1 1.5 4 3.5 4 4.6s-3.5.3-6.6-1.4c-1.9-1-3.3-1.4-3.3-.9.1 1.5 3.7 3.8 6.8 5 2.8 1.1 6.5 9.8 6.5 14.6 0 5.7-3.8 11.4-11.4 11.4-6.3 0-7.2-4.6-7.2-6.8.1-4.3 4.3-5.8 5.9-4.3 1.2 1.1.4 2.7-.2 2.5-.6-.1.6-1.2-.6-1.9-.6-.4-3.7.1-3.7 4z"/><path fill="#DE393A" d="M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z"/><path fill="#3951A3" d="M31 13.1h28v15.7H31z"/><path fill="#FFF" d="M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z"/><circle fill="#FEE05F" cx="39.1" cy="36.5" r="3"/><circle fill="#FEE05F" cx="50.9" cy="36.5" r="3"/></svg>`,Yg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path d="M114.024 256.001 0 141.926v228.17z"/><path fill="#ffb915" d="M161.192 256 0 94.7v47.226l114.024 114.075L0 370.096v47.138z"/><path fill="#007847" d="M509.833 289.391c.058-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z"/><path fill="#000c8a" d="M503.181 322.783H236.433l-103.881 103.88H512v-103.88z"/><path fill="#e1392d" d="M503.181 189.217H512V85.337H132.552l103.881 103.88z"/></svg>`,Xg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.331h512v341.337H0z"/><path fill="#FF9811" d="M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z"/><path fill="#D80027" d="M341.337 255.994h56.888v170.663h-56.888z"/><path fill="#FF9811" d="M455.112 255.994H512v170.663h-56.888z"/><path d="M398.225 255.994h56.888v170.663h-56.888z"/></svg>`,Zg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.333h512V426.67H0z"/><g fill="#FFDA44"><path d="M0 134.196h512v48.868H0zM0 329.668h512v48.868H0z"/></g><path fill="#057f44" d="M0 85.333h512v48.868H0z"/><g fill="#D80027"><path d="M0 183.069h512v48.868H0zM0 280.806h512v48.868H0z"/></g><path fill="#057f44" d="M0 378.542h512v48.128H0z"/><path fill="#FFF" d="M276.992 255.996 106.329 426.659H0V85.333h106.329z"/><path d="M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"/><path fill="#D80027" d="m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"/><path fill="#FFDA44" d="m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"/></svg>`,Qg=o({AC:()=>mf,AD:()=>hf,AE:()=>gf,AF:()=>_f,AG:()=>vf,AI:()=>yf,AL:()=>bf,AM:()=>xf,AO:()=>Sf,AQ:()=>Cf,AR:()=>wf,AS:()=>Tf,AT:()=>Ef,AU:()=>Df,AW:()=>Of,AX:()=>kf,AZ:()=>Af,BA:()=>jf,BB:()=>Mf,BD:()=>Nf,BE:()=>Pf,BF:()=>Ff,BG:()=>If,BH:()=>Lf,BI:()=>Rf,BJ:()=>zf,BL:()=>Bf,BM:()=>Vf,BN:()=>Hf,BO:()=>Uf,BQ:()=>Wf,BR:()=>Gf,BS:()=>Kf,BT:()=>qf,BV:()=>Jf,BW:()=>Yf,BY:()=>Xf,BZ:()=>Zf,CA:()=>Qf,CC:()=>$f,CD:()=>ep,CF:()=>tp,CG:()=>np,CH:()=>rp,CI:()=>ip,CK:()=>ap,CL:()=>op,CM:()=>sp,CN:()=>cp,CO:()=>lp,CR:()=>up,CU:()=>dp,CV:()=>fp,CW:()=>pp,CX:()=>mp,CY:()=>hp,CZ:()=>gp,DE:()=>_p,DJ:()=>vp,DK:()=>yp,DM:()=>bp,DO:()=>xp,DZ:()=>Sp,EC:()=>Cp,EE:()=>wp,EG:()=>Tp,EH:()=>Ep,ER:()=>Dp,ES:()=>Op,ET:()=>kp,EU:()=>Ap,FI:()=>jp,FJ:()=>Mp,FK:()=>Np,FM:()=>Pp,FO:()=>Fp,FR:()=>Ip,GA:()=>Lp,GB:()=>Rp,GD:()=>zp,GE:()=>Bp,GF:()=>Vp,GG:()=>Hp,GH:()=>Up,GI:()=>Wp,GL:()=>Gp,GM:()=>Kp,GN:()=>qp,GP:()=>Jp,GQ:()=>Yp,GR:()=>Xp,GS:()=>Zp,GT:()=>Qp,GU:()=>$p,GW:()=>em,GY:()=>tm,HK:()=>nm,HM:()=>rm,HN:()=>im,HR:()=>am,HT:()=>om,HU:()=>sm,IC:()=>cm,ID:()=>lm,IE:()=>um,IL:()=>dm,IM:()=>fm,IN:()=>pm,IO:()=>mm,IQ:()=>hm,IR:()=>gm,IS:()=>_m,IT:()=>vm,JE:()=>ym,JM:()=>bm,JO:()=>xm,JP:()=>Sm,KE:()=>Cm,KG:()=>wm,KH:()=>Tm,KI:()=>Em,KM:()=>Dm,KN:()=>Om,KP:()=>km,KR:()=>Am,KW:()=>jm,KY:()=>Mm,KZ:()=>Nm,LA:()=>Pm,LB:()=>Fm,LC:()=>Im,LI:()=>Lm,LK:()=>Rm,LR:()=>zm,LS:()=>Bm,LT:()=>Vm,LU:()=>Hm,LV:()=>Um,LY:()=>Wm,MA:()=>Gm,MC:()=>Km,MD:()=>qm,ME:()=>Jm,MF:()=>Ym,MG:()=>Xm,MH:()=>Zm,MK:()=>Qm,ML:()=>$m,MM:()=>eh,MN:()=>th,MO:()=>nh,MP:()=>rh,MQ:()=>ih,MR:()=>ah,MS:()=>oh,MT:()=>sh,MU:()=>ch,MV:()=>lh,MW:()=>uh,MX:()=>dh,MY:()=>fh,MZ:()=>ph,NA:()=>mh,NC:()=>hh,NE:()=>gh,NF:()=>_h,NG:()=>vh,NI:()=>yh,NL:()=>bh,NO:()=>xh,NP:()=>Sh,NR:()=>Ch,NU:()=>wh,NZ:()=>Th,OM:()=>Eh,PA:()=>Dh,PE:()=>Oh,PF:()=>kh,PG:()=>Ah,PH:()=>jh,PK:()=>Mh,PL:()=>Nh,PM:()=>Ph,PN:()=>Fh,PR:()=>Ih,PS:()=>Lh,PT:()=>Rh,PW:()=>zh,PY:()=>Bh,QA:()=>Vh,RE:()=>Hh,RO:()=>Uh,RS:()=>Wh,RU:()=>Gh,RW:()=>Kh,SA:()=>qh,SB:()=>Jh,SC:()=>Yh,SD:()=>Xh,SE:()=>Zh,SG:()=>Qh,SH:()=>$h,SI:()=>eg,SJ:()=>tg,SK:()=>ng,SL:()=>rg,SM:()=>ig,SN:()=>ag,SO:()=>og,SR:()=>sg,SS:()=>cg,ST:()=>lg,SV:()=>ug,SX:()=>dg,SY:()=>fg,SZ:()=>pg,TA:()=>mg,TC:()=>hg,TD:()=>gg,TF:()=>_g,TG:()=>vg,TH:()=>yg,TJ:()=>bg,TK:()=>xg,TL:()=>Sg,TM:()=>Cg,TN:()=>wg,TO:()=>Tg,TR:()=>Eg,TT:()=>Dg,TV:()=>Og,TW:()=>kg,TZ:()=>Ag,UA:()=>jg,UG:()=>Mg,UM:()=>Ng,US:()=>Pg,UY:()=>Fg,UZ:()=>Ig,VA:()=>Lg,VC:()=>Rg,VE:()=>zg,VG:()=>Bg,VI:()=>Vg,VN:()=>Hg,VU:()=>Ug,WF:()=>Wg,WS:()=>Gg,XK:()=>Kg,YE:()=>qg,YT:()=>Jg,ZA:()=>Yg,ZM:()=>Xg,ZW:()=>Zg});function $g(e){let t=Qg[e]??null;return t===null?null:`data:image/svg+xml,${encodeURIComponent(t)}`}function e_(e,t){return new Intl.DisplayNames(t,{type:`region`}).of(e)??null}function t_(e){let t=X(),n=(0,d.computed)(()=>t?.locale?.value??navigator.language),{contains:r}=(0,p.useFilter)(),i=(0,d.ref)(``),a=(0,d.computed)(()=>{let e=i.value.trim(),t=sf();return(e?t.filter(t=>s(t,e)):t).map(e=>({type:`option`,value:e}))}),o=(0,d.computed)(()=>{let t=e.modelValue.value;if(!t)return null;let r=sf();return r.includes(t)?t:r.find(e=>e_(e,n.value)?.toLowerCase()===t.toLowerCase())??null});function s(e,t){let i=e_(e,n.value)??``,a=t.toLowerCase();return r(e.toLowerCase(),a)||r(i.toLowerCase(),a)}function c(e){let t=$g(e);return{left:t===null?null:{aspect:`rectangle`,src:t,type:`image`}}}function l(e){i.value=e}function u(e){return e_(e,n.value)??e}function f(t){e.setValue(t?e_(t,n.value)??t:null)}return{countryItems:a,currentCountryCode:o,displayCountry:u,getCountryItemConfig:c,onCountrySearch:l,onCountrySelect:f}}var[n_,r_]=I(`buttonContext`),i_=H({compoundVariants:[{class:{container:`dark:rounded-[0.31rem] dark:px-md`},size:`md`,variant:`primary`},{class:{container:`dark:rounded-[0.44rem] dark:px-lg`},size:`lg`,variant:`primary`},{class:{container:`dark:rounded-[0.19rem] dark:px-sm`},size:`sm`,variant:`primary`},{class:{container:`dark:rounded-[0.06rem] dark:px-xs`},size:`xs`,variant:`primary`}],slots:{container:`grid size-full items-center [grid-template-areas:'stack']`,icon:`shrink-0`,label:`truncate font-medium`,loader:`mx-auto items-center duration-100 [grid-area:stack]`,root:`
|
|
50
50
|
group/button shrink-0 items-center justify-center border outline-2
|
|
51
51
|
outline-offset-1 outline-transparent duration-100
|
|
52
52
|
not-data-interactive:cursor-not-allowed
|
|
@@ -161,7 +161,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
161
161
|
border-transparent
|
|
162
162
|
focus-visible:outline-fg-brand-primary
|
|
163
163
|
data-interactive:hover:bg-secondary-hover
|
|
164
|
-
`}},size:{lg:{icon:`size-4`,label:`text-sm`,loader:`size-4`,root:`h-8 min-w-8 rounded-lg px-lg`,rowLayout:`gap-sm`},md:{icon:`size-3.5`,label:`text-xs`,loader:`size-3.5`,root:`h-7 min-w-7 rounded-md px-md`,rowLayout:`gap-sm`},sm:{icon:`size-3.5`,label:`text-xs`,loader:`size-3.5`,root:`h-6 min-w-6 rounded-sm px-sm`,rowLayout:`gap-xs`},xs:{icon:`size-3.5`,label:`text-xs`,loader:`size-3.5`,root:`h-5.5 min-w-5.5 rounded-sm px-xs`,rowLayout:`gap-xs`}}}}),
|
|
164
|
+
`}},size:{lg:{icon:`size-4`,label:`text-sm`,loader:`size-4`,root:`h-8 min-w-8 rounded-lg px-lg`,rowLayout:`gap-sm`},md:{icon:`size-3.5`,label:`text-xs`,loader:`size-3.5`,root:`h-7 min-w-7 rounded-md px-md`,rowLayout:`gap-sm`},sm:{icon:`size-3.5`,label:`text-xs`,loader:`size-3.5`,root:`h-6 min-w-6 rounded-sm px-sm`,rowLayout:`gap-xs`},xs:{icon:`size-3.5`,label:`text-xs`,loader:`size-3.5`,root:`h-5.5 min-w-5.5 rounded-sm px-xs`,rowLayout:`gap-xs`}}}}),a_=(0,d.defineComponent)({__name:`ButtonIcon`,props:{icon:{},size:{},variant:{}},setup(e){let t=e,{buttonStyle:n}=r_();return(e,r)=>t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:(0,d.normalizeClass)((0,d.unref)(n).icon())},null,8,[`class`]))}}),o_=[`type`,`form`,`aria-disabled`,`disabled`,`aria-busy`,`data-interactive`],Z=(0,d.defineComponent)({inheritAttrs:!1,__name:`Button`,props:{isLoading:{type:Boolean,default:!1},form:{default:null},iconLeft:{default:null},iconRight:{default:null},label:{},size:{default:`md`},tooltipLabel:{default:null},tooltipSide:{default:`top`},type:{default:`button`},variant:{default:`primary`},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null},keyboardShortcut:{default:null}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.useAttrs)(),a=(0,d.computed)(()=>i_({isLoading:n.isLoading,class:i.class,size:n.size,variant:n.variant}));function o(e){if(n.isLoading){e.preventDefault();return}r(`click`,e)}let s=(0,d.computed)(()=>!(n.tooltipLabel!==null||n.keyboardShortcut!==null||n.isDisabled&&n.disabledReason!==null)),c=(0,d.computed)(()=>n.isDisabled&&n.disabledReason!==null?n.disabledReason:n.tooltipLabel??n.label);return n_({buttonStyle:a}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"popover-side":n.tooltipSide,"is-disabled":s.value,label:c.value,"keyboard-shortcut":n.keyboardShortcut},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,(0,d.mergeProps)((0,d.unref)(i),{type:n.type,form:n.form??void 0,"aria-disabled":n.isLoading,disabled:n.isDisabled,"aria-busy":n.isLoading,"data-interactive":!n.isDisabled&&!n.isLoading||void 0,class:a.value.root(),onClick:o}),[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(a.value.container())},[(0,d.createVNode)(Ia,{class:(0,d.normalizeClass)(a.value.loader())},null,8,[`class`]),(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(a.value.rowLayout())},[(0,d.renderSlot)(e.$slots,`left`),n.iconLeft===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(a_,{key:0,icon:n.iconLeft,size:n.size,variant:n.variant},null,8,[`icon`,`size`,`variant`])),(0,d.createElementVNode)(`span`,{class:(0,d.normalizeClass)(a.value.label())},(0,d.toDisplayString)(n.label),3),n.iconRight===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(a_,{key:1,icon:n.iconRight,size:n.size,variant:n.variant},null,8,[`icon`,`size`,`variant`]))],2)],2)],16,o_)]),_:3},8,[`popover-side`,`is-disabled`,`label`,`keyboard-shortcut`]))}}),[s_,c_]=I(`linkContext`),l_=H({compoundVariants:[{class:{container:`dark:rounded-[0.31rem] dark:px-md`},size:`md`,variant:`primary`},{class:{container:`dark:rounded-[0.44rem] dark:px-lg`},size:`lg`,variant:`primary`},{class:{container:`dark:rounded-[0.19rem] dark:px-sm`},size:`sm`,variant:`primary`},{class:{container:`dark:rounded-[0.06rem] dark:px-xs`},size:`xs`,variant:`primary`}],slots:{container:`grid size-full [grid-template-areas:'stack']`,icon:`shrink-0`,label:`truncate font-medium`,root:`
|
|
165
165
|
group/link inline-flex shrink-0 cursor-pointer items-center justify-center
|
|
166
166
|
border outline-2 outline-offset-1 outline-transparent duration-100
|
|
167
167
|
`,rowLayout:`
|
|
@@ -200,7 +200,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
200
200
|
border-transparent
|
|
201
201
|
hover:bg-secondary-hover
|
|
202
202
|
focus-visible:outline-fg-brand-primary
|
|
203
|
-
`}}}}),u_=(0,d.defineComponent)({__name:`LinkIcon`,props:{icon:{},size:{},variant:{}},setup(e){let t=e;return(e,n)=>t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:(0,d.normalizeClass)([{"size-3.5":t.size===`md`||t.size===`sm`||t.size===`xs`,"size-4":t.size===`lg`,"text-primary-on-brand group-disabled/button:text-disabled":t.variant===`primary`,"text-secondary group-disabled/button:text-disabled":t.variant===`secondary`||t.variant===`tertiary`,"text-white group-disabled/button:text-disabled":t.variant===`destructive-primary`,"text-error-primary group-disabled/button:text-disabled":t.variant===`destructive-tertiary`},`shrink-0`])},null,8,[`class`]))}}),d_=(0,d.defineComponent)({inheritAttrs:!1,__name:`Link`,props:{iconLeft:{default:null},iconRight:{default:null},label:{},link:{default:null},size:{default:`md`},to:{default:null},tooltipLabel:{default:null},tooltipSide:{default:`top`},variant:{default:`primary`},keyboardShortcut:{default:null}},setup(e){let t=e,n=(0,d.useAttrs)();if(t.link===null&&t.to===null)throw Error("Either `link` or `to` must be provided.");let r=(0,d.computed)(()=>t.to===null?`a`:y.RouterLink),i=(0,d.computed)(()=>t.to===null?t.link===null?{}:{href:t.link.href,rel:t.link.rel,target:t.link.target}:{to:t.to}),a=(0,d.computed)(()=>l_({class:n.class,size:t.size,variant:t.variant}));return s_({linkStyle:a}),(e,o)=>((0,d.openBlock)(),(0,d.createBlock)(
|
|
203
|
+
`}}}}),u_=(0,d.defineComponent)({__name:`LinkIcon`,props:{icon:{},size:{},variant:{}},setup(e){let t=e;return(e,n)=>t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:(0,d.normalizeClass)([{"size-3.5":t.size===`md`||t.size===`sm`||t.size===`xs`,"size-4":t.size===`lg`,"text-primary-on-brand group-disabled/button:text-disabled":t.variant===`primary`,"text-secondary group-disabled/button:text-disabled":t.variant===`secondary`||t.variant===`tertiary`,"text-white group-disabled/button:text-disabled":t.variant===`destructive-primary`,"text-error-primary group-disabled/button:text-disabled":t.variant===`destructive-tertiary`},`shrink-0`])},null,8,[`class`]))}}),d_=(0,d.defineComponent)({inheritAttrs:!1,__name:`Link`,props:{iconLeft:{default:null},iconRight:{default:null},label:{},link:{default:null},size:{default:`md`},to:{default:null},tooltipLabel:{default:null},tooltipSide:{default:`top`},variant:{default:`primary`},keyboardShortcut:{default:null}},setup(e){let t=e,n=(0,d.useAttrs)();if(t.link===null&&t.to===null)throw Error("Either `link` or `to` must be provided.");let r=(0,d.computed)(()=>t.to===null?`a`:y.RouterLink),i=(0,d.computed)(()=>t.to===null?t.link===null?{}:{href:t.link.href,rel:t.link.rel,target:t.link.target}:{to:t.to}),a=(0,d.computed)(()=>l_({class:n.class,size:t.size,variant:t.variant}));return s_({linkStyle:a}),(e,o)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"popover-side":t.tooltipSide,"is-disabled":t.tooltipLabel===null&&t.keyboardShortcut===null,label:t.tooltipLabel??t.label,"keyboard-shortcut":t.keyboardShortcut},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(r.value),(0,d.mergeProps)({...i.value,...(0,d.unref)(n)},{class:a.value.root()}),{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(a.value.container())},[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(a.value.rowLayout())},[t.iconLeft===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(u_,{key:0,icon:t.iconLeft,size:t.size,variant:t.variant},null,8,[`icon`,`size`,`variant`])),(0,d.createElementVNode)(`span`,{class:(0,d.normalizeClass)(a.value.label())},(0,d.toDisplayString)(t.label),3),t.iconRight===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(u_,{key:1,icon:t.iconRight,size:t.size,variant:t.variant},null,8,[`icon`,`size`,`variant`]))],2)],2)]),_:1},16,[`class`]))]),_:1},8,[`popover-side`,`is-disabled`,`label`,`keyboard-shortcut`]))}}),[f_,p_]=I(`iconButtonContext`),m_=H({compoundVariants:[{class:{container:`dark:rounded-[0.31rem]`},size:`md`,variant:`primary`},{class:{container:`dark:rounded-[0.44rem]`},size:`lg`,variant:`primary`},{class:{container:`dark:rounded-[0.19rem]`},size:`sm`,variant:`primary`},{class:{container:`dark:rounded-[0.06rem]`},size:`xs`,variant:`primary`}],slots:{container:`
|
|
204
204
|
grid size-full items-center justify-center [grid-template-areas:'stack']
|
|
205
205
|
`,icon:`shrink-0`,loader:`mx-auto duration-100 [grid-area:stack]`,root:`
|
|
206
206
|
group/button shrink-0 items-center justify-center border outline-2
|
|
@@ -269,7 +269,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
269
269
|
border-transparent
|
|
270
270
|
focus-visible:outline-fg-brand-primary
|
|
271
271
|
data-interactive:hover:bg-secondary-hover
|
|
272
|
-
`}}}}),h_=(0,d.defineComponent)({__name:`IconButtonIcon`,props:{icon:{}},setup(e){let t=e,{iconButtonStyle:n}=p_();return(e,r)=>t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:(0,d.normalizeClass)((0,d.unref)(n).icon())},null,8,[`class`]))}}),g_=[`type`,`form`,`aria-disabled`,`disabled`,`aria-busy`,`aria-label`,`data-interactive`],Q=(0,d.defineComponent)({inheritAttrs:!1,__name:`IconButton`,props:{isLoading:{type:Boolean,default:!1},isTooltipDisabled:{type:Boolean,default:!1},form:{default:null},icon:{},label:{},size:{default:`md`},tooltipLabel:{default:null},type:{default:`button`},variant:{default:`primary`},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null},keyboardShortcut:{default:null}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.useAttrs)(),a=(0,d.computed)(()=>m_({isLoading:n.isLoading,class:i.class,size:n.size,variant:n.variant}));function o(e){if(n.isLoading){e.preventDefault();return}r(`click`,e)}let s=(0,d.computed)(()=>n.isDisabled&&n.disabledReason!==null?!1:n.isTooltipDisabled),c=(0,d.computed)(()=>n.isDisabled&&n.disabledReason!==null?n.disabledReason:n.tooltipLabel??n.label);return f_({iconButtonStyle:a}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(
|
|
272
|
+
`}}}}),h_=(0,d.defineComponent)({__name:`IconButtonIcon`,props:{icon:{}},setup(e){let t=e,{iconButtonStyle:n}=p_();return(e,r)=>t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:(0,d.normalizeClass)((0,d.unref)(n).icon())},null,8,[`class`]))}}),g_=[`type`,`form`,`aria-disabled`,`disabled`,`aria-busy`,`aria-label`,`data-interactive`],Q=(0,d.defineComponent)({inheritAttrs:!1,__name:`IconButton`,props:{isLoading:{type:Boolean,default:!1},isTooltipDisabled:{type:Boolean,default:!1},form:{default:null},icon:{},label:{},size:{default:`md`},tooltipLabel:{default:null},type:{default:`button`},variant:{default:`primary`},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null},keyboardShortcut:{default:null}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.useAttrs)(),a=(0,d.computed)(()=>m_({isLoading:n.isLoading,class:i.class,size:n.size,variant:n.variant}));function o(e){if(n.isLoading){e.preventDefault();return}r(`click`,e)}let s=(0,d.computed)(()=>n.isDisabled&&n.disabledReason!==null?!1:n.isTooltipDisabled),c=(0,d.computed)(()=>n.isDisabled&&n.disabledReason!==null?n.disabledReason:n.tooltipLabel??n.label);return f_({iconButtonStyle:a}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"is-disabled":s.value,label:c.value,"keyboard-shortcut":n.keyboardShortcut},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,(0,d.mergeProps)((0,d.unref)(i),{type:n.type,form:n.form??void 0,"aria-disabled":n.isLoading,disabled:n.isDisabled,"aria-busy":n.isLoading,"aria-label":n.label,"data-interactive":!n.isDisabled&&!n.isLoading||void 0,class:a.value.root(),onClick:o}),[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(a.value.container())},[(0,d.createVNode)(Ia,{class:(0,d.normalizeClass)(a.value.loader())},null,8,[`class`]),(0,d.createVNode)((0,d.unref)(L),{class:(0,d.normalizeClass)(a.value.rowLayout()),gap:`sm`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(h_,{icon:n.icon},null,8,[`icon`])]),_:1},8,[`class`])],2)],16,g_)]),_:1},8,[`is-disabled`,`label`,`keyboard-shortcut`]))}}),__=(0,d.defineComponent)({__name:`FormFieldGrid`,props:{lg:{},md:{},sm:{},variant:{default:`ghost`}},setup(e){let t=e,n=(0,d.computed)(()=>t.md??t.lg);return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)([{"rounded-2xl bg-secondary p-2xl":t.variant===`card`},`@container/form-field-grid w-full`])},[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)([{"grid-cols-1":t.sm===1,"grid-cols-2":t.sm===2,"grid-cols-3":t.sm===3,"@md/form-field-grid:grid-cols-1":n.value===1,"@md/form-field-grid:grid-cols-2":n.value===2,"@md/form-field-grid:grid-cols-3":n.value===3,"@lg/form-field-grid:grid-cols-1":t.lg===1,"@lg/form-field-grid:grid-cols-2":t.lg===2,"@lg/form-field-grid:grid-cols-3":t.lg===3},`grid gap-lg`]),role:`group`},[(0,d.renderSlot)(e.$slots,`default`)],2)],2))}}),v_=(0,d.defineComponent)({__name:`FormFieldGroup`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{class:`w-full`,gap:`xl`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),y_=(0,d.defineComponent)({__name:`FormFieldSeperator`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{class:`mx-auto w-full max-w-3xl`}))}}),b_={class:`text-sm font-medium text-primary`},x_={key:0,class:`mt-sm text-xs text-tertiary`},S_=(0,d.defineComponent)({__name:`FormFieldSet`,props:{title:{},isStacked:{type:Boolean,default:!1},description:{default:null},horizontalAlignment:{default:`start`},variant:{default:`ghost`}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)([{"rounded-2xl bg-secondary p-2xl":t.variant===`card`},`@container/fieldset mx-auto w-full max-w-3xl`])},[(0,d.createElementVNode)(`section`,{class:(0,d.normalizeClass)([{"@xl/fieldset:grid-cols-[20rem_auto]":!t.isStacked},`grid gap-x-8xl gap-y-2xl`])},[(0,d.createElementVNode)(`header`,null,[(0,d.createVNode)((0,d.unref)(L),null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`h2`,b_,(0,d.toDisplayString)(t.title),1),t.isStacked?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{key:0,class:`flex-1`})):(0,d.createCommentVNode)(``,!0)]),_:1}),t.description===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`p`,x_,(0,d.toDisplayString)(t.description),1))]),(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)([{"items-start":t.horizontalAlignment===`start`,"items-end":t.horizontalAlignment===`end`},`ml-auto flex w-full flex-col overflow-hidden p-xxs`])},[(0,d.renderSlot)(e.$slots,`default`)],2)],2)],2))}}),C_=(0,d.defineComponent)({__name:`FormLayout`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{gap:`2xl`,align:`stretch`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),[w_,T_]=I(`formContext`),[E_,D_]=I(`dialogContext`),O_=H({slots:{body:`
|
|
273
273
|
flex-1 overflow-y-auto px-xl pt-xs pb-xl
|
|
274
274
|
group-has-data-dialog-footer/dialog:pb-xs
|
|
275
275
|
`,chin:`
|
|
@@ -292,7 +292,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
292
292
|
`},variants:{size:{"full-screen":{content:`
|
|
293
293
|
h-[90vh]
|
|
294
294
|
sm:max-h-[90vh] sm:rounded-[calc(1rem+5px)] sm:border-[5px]
|
|
295
|
-
`,contentWrapper:`sm:max-w-[90vw]`},lg:{contentWrapper:`sm:max-w-160`},md:{contentWrapper:`sm:max-w-140`},sm:{contentWrapper:`sm:max-w-120`},xl:{contentWrapper:`sm:max-w-180`},xs:{contentWrapper:`sm:max-w-100`},xxs:{contentWrapper:`sm:max-w-90`}}}}),k_={ref:`chinContent`,class:`w-full`},A_=(0,d.defineComponent)({__name:`DialogChin`,props:{chin:{}},setup(e){let t=e,n=(0,d.computed)(()=>t.chin!==null),r=(0,d.useTemplateRef)(`chinContent`),i=(0,d.ref)(38);(0,d.watch)(r,(e,t,n)=>{if(e==null)return;let r=new ResizeObserver(([e])=>{i.value=e?.contentRect.height??0});r.observe(e),n(()=>{r.disconnect()})},{immediate:!0});let a={default:`from-white/60 dark:from-black/10`,error:`from-error-secondary`},o=(0,d.computed)(()=>t.chin?.variant==null?`from-white/60 dark:from-black/10`:a[t.chin.variant]),s={brand:`minimal-color`,default:`tertiary`,destructive:`destructive-tertiary`},c={brand:`primary`,default:`tertiary`,destructive:`destructive-tertiary`},l=(0,d.computed)(()=>t.chin?.variant===`error`?`text-error-500`:`text-primary`),{style:u}=D_(),f=df();return(r,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{animate:{height:n.value?`calc(100% + ${i.value+14}px)`:`100%`},initial:!1,transition:{duration:(0,d.unref)(f)?0:.3,type:`spring`,bounce:0},class:(0,d.normalizeClass)([(0,d.unref)(u).chin(),`bg-white/20 dark:bg-black/40`]),as:`div`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.AnimatePresence),null,{default:(0,d.withCtx)(()=>[n.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,type:`spring`,bounce:0},class:(0,d.normalizeClass)([o.value,`h-full rounded-t-[calc(1rem+5px)] rounded-b-none bg-linear-to-b to-transparent sm:rounded-[calc(1rem+5px)] sm:bg-linear-to-t`]),as:`div`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(q,{class:`h-full justify-start p-lg px-xl sm:justify-end`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,k_,[(0,d.createVNode)(R,{align:`center`,justify:`between`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,null,{default:(0,d.withCtx)(()=>[e.chin?.icon?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.chin?.icon),{key:0,class:(0,d.normalizeClass)([l.value,`size-4 shrink-0`])},null,8,[`class`])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(G),{text:t.chin?.text??``,truncate:2,class:`text-xs font-medium`},null,8,[`text`])]),_:1}),(0,d.createVNode)(R,{items:`center`,gap:`none`},{default:(0,d.withCtx)(()=>[t.chin?.secondaryAction?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[t.chin.secondaryAction.type===`button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(o_),{key:0,label:t.chin.secondaryAction.label,"is-loading":t.chin.secondaryAction.isLoading,"is-disabled":t.chin.secondaryAction.isDisabled,"disabled-reason":t.chin.secondaryAction.disabledReason,variant:s[t.chin.secondaryAction.variant??`default`],onClick:t.chin.secondaryAction.action},null,8,[`label`,`is-loading`,`is-disabled`,`disabled-reason`,`variant`,`onClick`])):t.chin.secondaryAction.type===`link`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(d_),{key:1,label:t.chin.secondaryAction.label,to:t.chin.secondaryAction.to,link:t.chin.secondaryAction.link,variant:c[t.chin.secondaryAction.variant??`default`]},null,8,[`label`,`to`,`link`,`variant`])):t.chin.secondaryAction.type===`icon-button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Q),{key:2,icon:t.chin.secondaryAction.icon,label:t.chin.secondaryAction.label,"is-loading":t.chin.secondaryAction.isLoading,"is-disabled":t.chin.secondaryAction.isDisabled,"disabled-reason":t.chin.secondaryAction.disabledReason,variant:c[t.chin.secondaryAction.variant??`default`],onClick:t.chin.secondaryAction.action},null,8,[`icon`,`label`,`is-loading`,`is-disabled`,`disabled-reason`,`variant`,`onClick`])):(0,d.createCommentVNode)(``,!0)],64)):(0,d.createCommentVNode)(``,!0),t.chin?.primaryAction?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[t.chin.primaryAction.type===`button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(o_),{key:0,label:t.chin.primaryAction.label,"is-loading":t.chin.primaryAction.isLoading,"is-disabled":t.chin.primaryAction.isDisabled,"disabled-reason":t.chin.primaryAction.disabledReason,variant:s[t.chin.primaryAction.variant??`brand`],onClick:t.chin.primaryAction.action},null,8,[`label`,`is-loading`,`is-disabled`,`disabled-reason`,`variant`,`onClick`])):t.chin.primaryAction.type===`link`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(d_),{key:1,label:t.chin.primaryAction.label,to:t.chin.primaryAction.to,link:t.chin.primaryAction.link,variant:c[t.chin.primaryAction.variant??`brand`]},null,8,[`label`,`to`,`link`,`variant`])):t.chin.primaryAction.type===`icon-button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Q),{key:2,icon:t.chin.primaryAction.icon,label:t.chin.primaryAction.label,"is-loading":t.chin.primaryAction.isLoading,"is-disabled":t.chin.primaryAction.isDisabled,"disabled-reason":t.chin.primaryAction.disabledReason,variant:c[t.chin.primaryAction.variant??`brand`],onClick:t.chin.primaryAction.action},null,8,[`icon`,`label`,`is-loading`,`is-disabled`,`disabled-reason`,`variant`,`onClick`])):(0,d.createCommentVNode)(``,!0)],64)):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1})],512)]),_:1})]),_:1},8,[`class`])):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`animate`,`transition`,`class`]))}}),j_=(0,d.defineComponent)({__name:`DialogCloseButton`,setup(e){let t=(0,m.useI18n)();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogClose),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(ar),label:(0,d.unref)(t).t(`component.dialog.close`),"keyboard-shortcut":{key:`Escape`},class:`absolute top-0 right-0 z-10 m-lg`,variant:`tertiary`},null,8,[`icon`,`label`])]),_:1}))}});function M_(){let e=(0,d.shallowReactive)([]),t=(t,i)=>{let{defaultOpen:a,destroyOnClose:s,props:c}=i||{},l=(0,d.reactive)({id:Symbol(`useOverlay`),isMounted:!!a,isOpen:!!a,destroyOnClose:!!s,originalProps:c||{},props:{...c},component:(0,d.markRaw)(t)});return e.push(l),{...l,close:e=>r(l.id,e),open:e=>n(l.id,e),patch:e=>o(l.id,e)}},n=(e,t)=>{let n=s(e);t?n.props={...n.originalProps,...t}:n.props={...n.originalProps},n.isOpen=!0,n.isMounted=!0;let r=new Promise(e=>n.resolvePromise=e);return Object.assign(r,{id:e,isMounted:n.isMounted,isOpen:n.isOpen,result:r})},r=(e,t)=>{let n=s(e);n.isOpen=!1,n.resolvePromise&&=(n.resolvePromise(t),void 0)},i=()=>{for(let t of e)r(t.id)},a=t=>{let n=s(t);if(n.isMounted=!1,n.destroyOnClose){let n=e.findIndex(e=>e.id===t);e.splice(n,1)}},o=(e,t)=>{let n=s(e);n.props={...n.props,...t}},s=t=>{let n=e.find(e=>e.id===t);if(!n)throw Error(`Overlay not found`);return n};return{isOpen:e=>s(e).isOpen,close:r,closeAll:i,create:t,open:n,overlays:e,patch:o,unmount:a}}var N_=(0,h.createSharedComposable)(M_);function P_(){let e=(0,d.ref)(null),t=(0,d.ref)(!0),n=(0,d.ref)(!0);function r(){let r=e.value;r!==null&&(t.value=r.scrollTop<=1,n.value=r.scrollTop+r.clientHeight>=r.scrollHeight-1)}let i=null;return(0,d.watch)(e,(e,t,n)=>{e!==null&&(e.addEventListener(`scroll`,r,{passive:!0}),i=new ResizeObserver(r),i.observe(e),r(),n(()=>{e.removeEventListener(`scroll`,r),i?.disconnect(),i=null}))},{immediate:!0}),{isScrolledToBottom:n,isScrolledToTop:t,bodyRef:e}}var F_=(0,d.defineComponent)({__name:`Dialog`,props:(0,d.mergeModels)({chin:{default:null},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1},showCloseButton:{type:Boolean,default:!0},size:{default:`md`}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:(0,d.mergeModels)([`afterLeave`,`close`,`update:isOpen`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`isOpen`),a=(0,d.computed)(()=>O_({size:n.size})),{isScrolledToBottom:o,isScrolledToTop:s,bodyRef:c}=P_();E_({isScrolledToBottom:o,isScrolledToTop:s,bodyRef:c,style:a});function l(e){n.preventEsc&&e.preventDefault()}function u(e){n.preventClickOutside&&e.preventDefault()}function f(e){e||r(`close`)}function m(e){e.target instanceof Element&&(e.target.hasAttribute(`data-dialog-overlay`)||e.preventDefault())}let h=`${40+N_().overlays.filter(e=>e.isMounted).length}`;return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogRoot),{open:i.value,"onUpdate:open":[t[1]||=e=>i.value=e,f],modal:!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DialogOverlay),{class:(0,d.normalizeClass)(a.value.overlay()),"data-animation":`dialog`,"data-dialog-overlay":``},null,8,[`class`]),(0,d.createVNode)((0,d.unref)(p.DialogContent),{class:(0,d.normalizeClass)(a.value.contentWrapper()),style:(0,d.normalizeStyle)({zIndex:h}),"data-animation":`dialog`,onEscapeKeyDown:l,onPointerDownOutside:u,onAfterLeave:t[0]||=e=>r(`afterLeave`),onInteractOutside:m},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(a.value.content())},[(0,d.renderSlot)(e.$slots,`default`),n.showCloseButton?((0,d.openBlock)(),(0,d.createBlock)(j_,{key:0})):(0,d.createCommentVNode)(``,!0)],2),(0,d.createVNode)(A_,{chin:n.chin},null,8,[`chin`])]),_:3},8,[`class`,`style`])]),_:3},8,[`open`]))}}),I_=(0,d.defineComponent)({__name:`DialogFooter`,props:{showSeparator:{type:Boolean,default:!0}},setup(e){let t=e,n=D_(null);return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(n)?.style.value.footer()),"data-dialog-footer":``},[t.showSeparator?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(lo),{key:0,class:(0,d.normalizeClass)([(0,d.unref)(n)!==null&&(0,d.unref)(n).isScrolledToBottom.value?`opacity-0`:`opacity-100`,`transition-opacity duration-150`])},null,8,[`class`])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)(R,{align:`center`,justify:`between`,gap:`lg`,class:`p-xl`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,null,[(0,d.renderSlot)(e.$slots,`left`)]),(0,d.createVNode)(R,{align:`center`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`right`),(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3})],2))}}),L_=(0,d.defineComponent)({__name:`DialogFooterCancel`,props:{isDestructive:{type:Boolean},disableAutoFocus:{type:Boolean},disabledReason:{default:null},form:{default:null},iconLeft:{default:null},iconRight:{default:null},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},type:{default:`button`},label:{default:null}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)();return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogClose),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(o_,(0,d.mergeProps)(n,{label:n.label??(0,d.unref)(i).t(`component.dialog.cancel`),variant:`secondary`,onClick:t[0]||=e=>r(`click`)}),null,16,[`label`])]),_:1}))}}),R_=(0,d.defineComponent)({__name:`AutoFocus`,props:{isDisabled:{type:Boolean,default:!1}},setup(e){let t=e,n=(0,d.ref)(null);function r(e){let t=e.querySelectorAll(`a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])`),[n]=Array.from(t);return n??null}return(0,d.onMounted)(()=>{if(t.isDisabled)return;let e=n.value?.$el;if(e===null)return;let i=r(e);i!==null&&setTimeout(()=>{i.focus()})}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{ref_key:`primitiveRef`,ref:n},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},512))}}),z_=(0,d.defineComponent)({__name:`DialogFooterPrimary`,props:{isDestructive:{type:Boolean,default:!1},disableAutoFocus:{type:Boolean,default:!1},disabledReason:{default:null},form:{default:null},iconLeft:{default:null},iconRight:{default:null},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},label:{},type:{default:`button`}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R_),{"is-disabled":n.disableAutoFocus},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(o_,(0,d.mergeProps)(n,{variant:n.isDestructive?`destructive-primary`:`primary`,onClick:t[0]||=e=>r(`click`)}),null,16,[`variant`])]),_:1},8,[`is-disabled`]))}}),B_={class:`flex min-w-0 flex-1 flex-col gap-sm`},V_=(0,d.defineComponent)({__name:`DialogHeader`,props:{title:{},description:{},hideDescription:{type:Boolean},icon:{default:null},iconVariant:{default:`brand`},showSeparator:{type:Boolean,default:!0}},setup(e){let t=e,n=U({slots:{bg:``,text:``},variants:{variant:{brand:{bg:`bg-brand-secondary`,text:`text-brand-primary`},error:{bg:`bg-error-secondary`,text:`text-error-primary`},success:{bg:`bg-success-secondary`,text:`text-success-primary`},warning:{bg:`bg-warning-secondary`,text:`text-warning-primary`}}}}),r=(0,d.computed)(()=>n({variant:t.iconVariant})),i=D_(null);return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(q,{class:(0,d.normalizeClass)((0,d.unref)(i)?.style.value.header()),gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{align:`start`,gap:`xl`,class:`p-xl pb-0 group-has-data-dialog-body/dialog:pb-xl`},{default:(0,d.withCtx)(()=>[t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:(0,d.normalizeClass)([r.value.bg(),`flex size-10 shrink-0 items-center justify-center rounded-full`])},[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{class:(0,d.normalizeClass)([r.value.text(),`size-5`])},null,8,[`class`]))],2)),(0,d.createElementVNode)(`div`,B_,[(0,d.createVNode)((0,d.unref)(p.DialogTitle),{as:`h2`,class:`text-sm font-semibold text-primary`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t.title),1)]),_:1}),(0,d.createVNode)((0,d.unref)(p.DialogDescription),{class:(0,d.normalizeClass)([{"sr-only":t.hideDescription},`text-xs text-tertiary`]),as:`p`,innerHTML:t.description},null,8,[`class`,`innerHTML`])])]),_:1}),t.showSeparator?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(lo),{key:0,class:(0,d.normalizeClass)([(0,d.unref)(i)!==null&&(0,d.unref)(i).isScrolledToTop.value?`opacity-0`:`opacity-100`,`transition-opacity duration-150`])},null,8,[`class`])):(0,d.createCommentVNode)(``,!0)]),_:1},8,[`class`]))}}),H_=(0,d.defineComponent)({__name:`ConfirmDialog`,props:{title:{},isDestructive:{type:Boolean,default:!1},cancelLabel:{default:null},confirmLabel:{default:null},description:{},icon:{default:null},onConfirm:{},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1}},emits:[`close`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),a=(0,d.ref)(!1);async function o(){a.value=!0;try{await n.onConfirm()}finally{a.value=!1}}function s(){r(`close`)}function c(){r(`close`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(F_,{"has-close-button":!1,"prevent-click-outside":n.preventClickOutside,"prevent-esc":n.preventEsc,size:`xs`,onClose:c},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(V_,{title:n.title,description:n.description,icon:n.icon,"icon-variant":n.isDestructive?`error`:`brand`,"has-close-button":!1},null,8,[`title`,`description`,`icon`,`icon-variant`]),(0,d.createVNode)(I_,null,{right:(0,d.withCtx)(()=>[(0,d.createVNode)(L_,{label:n.cancelLabel,"is-disabled":a.value,onClick:s},null,8,[`label`,`is-disabled`]),(0,d.createVNode)(z_,{label:n.confirmLabel??(0,d.unref)(i).t(`component.unsaved_changes_dialog.confirm`),"is-loading":a.value,"is-destructive":n.isDestructive,onClick:o},null,8,[`label`,`is-loading`,`is-destructive`])]),_:1})]),_:1},8,[`prevent-click-outside`,`prevent-esc`]))}});function U_(e){let t=(0,m.useI18n)(),n=N_().create(H_);function r(){return new Promise(e=>{n.open({title:t.t(`component.unsaved_changes_dialog.title`),isDestructive:!0,cancelLabel:t.t(`component.unsaved_changes_dialog.cancel`),confirmLabel:t.t(`component.unsaved_changes_dialog.confirm`),description:t.t(`component.unsaved_changes_dialog.description`),onClose:()=>{e(!1)},onConfirm:()=>{n.close(),e(!0)}})})}(0,y.onBeforeRouteLeave)(async()=>{if(e.value)return await r()}),window.addEventListener(`beforeunload`,()=>{if(e.value)return t.t(`component.unsaved_changes_dialog.description`)})}var W_=[`id`],G_=(0,d.defineComponent)({__name:`Form`,props:{id:{default:null},form:{},promptOnUnsavedChanges:{type:Boolean}},setup(e){let t=e,n=(0,d.useId)();return t.promptOnUnsavedChanges&&U_(t.form.isDirty),w_({formId:t.id??n,form:t.form}),(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`form`,{id:t.id??(0,d.unref)(n),novalidate:!0,onSubmit:r[0]||=(0,d.withModifiers)(e=>t.form.submit(),[`prevent`])},[(0,d.renderSlot)(e.$slots,`default`)],40,W_))}}),K_={alt:``,arrowdown:`↓`,arrowleft:`←`,arrowright:`→`,arrowup:`↑`,backspace:`⌫`,capslock:`⇪`,command:`⌘`,control:`⌃`,ctrl:``,delete:`⌦`,end:`↘`,enter:`↵`,escape:`Esc`,home:`↖`,option:`⌥`,pagedown:`⇟`,pageup:`⇞`,shift:`⇧`,tab:`⇥`,win:`⊞`,meta:``},q_=/Macintosh;/,J_=Y_();function Y_(){return typeof navigator>`u`||typeof navigator.userAgent!=`string`?!1:q_.test(navigator.userAgent)}var X_=(0,h.createSharedComposable)(()=>{let e=(0,d.reactive)({alt:` `,ctrl:` `,meta:` `});(0,d.onMounted)(()=>{e.meta=J_?K_.command:`Ctrl`,e.ctrl=J_?K_.control:`Ctrl`,e.alt=J_?K_.option:`Alt`});function t(t){return[`meta`,`alt`,`ctrl`].includes(t)?e[t]:K_[t]||t}return{getKbdKey:t,IS_MACOS:J_}}),Z_=/^[^-]+.*-.*[^-]+$/,Q_=/^[^_]+.*_.*[^_]+$/,$_=/^[a-z]$/i,ev=/^\d$/,tv=/^f\d+$/i,nv=/^Key[A-Z]$/i,rv=/^[a-z]{1}$/i,iv=[`arrowleft`,`arrowright`,`arrowup`,`arrowright`,`tab`,`escape`,`enter`,`backspace`];function av(e){return $_.test(e)?`Key${e.toUpperCase()}`:ev.test(e)?`Digit${e}`:tv.test(e)?e.toUpperCase():{arrowdown:`ArrowDown`,arrowleft:`ArrowLeft`,arrowright:`ArrowRight`,arrowup:`ArrowUp`,backspace:`Backspace`,delete:`Delete`,enter:`Enter`,escape:`Escape`,space:`Space`,tab:`Tab`}[e.toLowerCase()]||e}function ov(e,t={}){let n=(0,d.ref)([]);function r(){n.value.splice(0,n.value.length)}let i=(0,h.useDebounceFn)(r,t.chainDelay??800),{IS_MACOS:a}=X_(),o=(0,h.useActiveElement)(),s=t.layoutIndependent??!1,c=new Set(iv.map(e=>av(e))),l=(0,d.computed)(()=>{let e=o.value?.tagName,t=o.value?.contentEditable;return e===`INPUT`||e===`TEXTAREA`||t===`true`||t===`plaintext-only`}),u=(0,d.computed)(()=>Object.entries((0,d.toValue)(e)).map(([e,t])=>{if(!t)return null;let n;e.includes(`-`)&&e!==`-`&&!e.includes(`_`)&&!e.match(Z_)?.length&&console.warn(`[Shortcut] Invalid key: "${e}"`),e.includes(`_`)&&e!==`_`&&!e.match(Q_)?.length&&console.warn(`[Shortcut] Invalid key: "${e}"`);let r=e.includes(`-`)&&e!==`-`&&!e.includes(`_`);if(r)n=s?{altKey:!1,ctrlKey:!1,key:e.split(`-`).map(e=>av(e)).join(`-`),metaKey:!1,shiftKey:!1}:{altKey:!1,ctrlKey:!1,key:e.toLowerCase(),metaKey:!1,shiftKey:!1};else{let t=e.toLowerCase().split(`_`).map(e=>e),r=t.filter(e=>![`meta`,`command`,`ctrl`,`shift`,`alt`,`option`].includes(e)).join(`_`);s&&(r=av(r)),n={altKey:t.includes(`alt`)||t.includes(`option`),ctrlKey:t.includes(`ctrl`),key:r,metaKey:t.includes(`meta`)||t.includes(`command`),shiftKey:t.includes(`shift`)}}if(n.chained=r,!a&&n.metaKey&&!n.ctrlKey&&(n.metaKey=!1,n.ctrlKey=!0),typeof t==`function`?n.handler=t:typeof t==`object`&&(n={...n,handler:t.handler}),!n.handler)return console.warn(`[Shortcut] Invalid value`),null;let i=!0,o=e.split(r?`-`:`_`)[0];return o===`meta`||o===`command`||(t.usingInput?typeof t.usingInput==`string`&&(i=l.value===t.usingInput):i=!l.value),n.enabled=i,n}).filter(Boolean));function f(e){if(!e.key)return;let t=s?nv.test(e.code):rv.test(e.key),a=s?c.has(e.code):iv.includes(e.key.toLowerCase()),o;if(n.value.push(s?e.code:e.key),n.value.length>=2){o=n.value.slice(-2).join(`-`);for(let t of u.value.filter(e=>e.chained))if(t.key===o){t.enabled&&t.handler(e),r();return}}for(let n of u.value.filter(e=>!e.chained)){if(s){if(e.code!==n.key)continue}else if(e.key.toLowerCase()!==n.key)continue;if(e.metaKey===n.metaKey&&e.ctrlKey===n.ctrlKey&&!((t||a)&&e.shiftKey!==n.shiftKey)){n.enabled&&n.handler(e),r();return}}i()}return(0,h.useEventListener)(`keydown`,f)}var sv=(0,d.defineComponent)({__name:`FormSubmitButton`,props:{disableKeyboardShortcut:{type:Boolean,default:!1},label:{},variant:{default:`primary`}},setup(e){let t=e,n={submit:{keys:[`meta`,`enter`],shortcutKey:`meta_enter`}},{formId:r,form:i}=T_();return ov({[n.submit.shortcutKey]:()=>{t.disableKeyboardShortcut||i.submit()}}),(e,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),(0,d.mergeProps)({"as-child":!0},t,{"is-loading":(0,d.unref)(i).isSubmitting.value,form:(0,d.unref)(r),type:`submit`}),{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{},()=>[(0,d.createVNode)((0,d.unref)(o_),{label:t.label,form:(0,d.unref)(r),variant:t.variant,"keyboard-shortcut-keys":t.disableKeyboardShortcut?null:n.submit.keys},null,8,[`label`,`form`,`variant`,`keyboard-shortcut-keys`])])]),_:3},16,[`is-loading`,`form`]))}}),cv=(0,d.defineComponent)({__name:`PopoverArrow`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.PopoverArrow),{class:`relative -mb-4 h-4 w-10 -translate-y-px overflow-hidden`,as:`div`},{default:(0,d.withCtx)(()=>[...t[0]||=[(0,d.createElementVNode)(`div`,{class:`absolute left-1/2 size-4 -translate-x-1/2 -translate-y-3 rotate-45 rounded-xxs border border-secondary bg-primary shadow-lg`},null,-1)]]),_:1}))}}),lv={class:`relative size-full overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},uv=(0,d.defineComponent)({__name:`Popover`,props:(0,d.mergeModels)((0,d.mergeDefaults)({disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...hr,disableSideFlip:!1,disableUpdateOnLayoutShift:!1,prioritizePosition:!1}),{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:(0,d.mergeModels)([`autoFocusOnClose`,`escapeKeyDown`,`focusOutside`,`interactOutside`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`isOpen`);function a(e){r(`escapeKeyDown`,e)}function o(e){r(`focusOutside`,e)}function s(e){r(`interactOutside`,e)}function c(e){r(`autoFocusOnClose`,e)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.PopoverRoot),{open:i.value,"onUpdate:open":t[0]||=e=>i.value=e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverAnchor),{"as-child":!0,reference:n.popoverAnchorReferenceElement??void 0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverTrigger),(0,d.mergeProps)({"as-child":!0},(0,d.toHandlers)(e.$attrs)),{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`)]),_:3},16)]),_:3},8,[`reference`]),(0,d.createVNode)((0,d.unref)(p.PopoverPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(ur,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverContent),{align:n.popoverAlign,"align-offset":n.popoverAlignOffset,"collision-padding":n.popoverCollisionPadding,"collision-boundary":n.popoverContainerElement,side:n.popoverSide,"side-offset":n.popoverSideOffset,class:(0,d.normalizeClass)([{"w-(--reka-popover-trigger-width)":n.popoverWidth===`anchor-width`,"w-(--reka-popover-content-available-width)":n.popoverWidth===`available-width`},`z-50 origin-(--reka-popover-content-transform-origin) will-change-[transform,opacity]`]),"prioritize-position":n.prioritizePosition,"data-animation":n.popoverAnimationName??`popover-default`,"disable-update-on-layout-shift":n.disableUpdateOnLayoutShift,"side-flip":!n.disableSideFlip,"position-strategy":`absolute`,sticky:`always`,onCloseAutoFocus:c,onEscapeKeyDown:a,onFocusOutside:o,onInteractOutside:s},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,lv,[(0,d.renderSlot)(e.$slots,`content`)]),n.isPopoverArrowVisible?((0,d.openBlock)(),(0,d.createBlock)(cv,{key:0})):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`align`,`align-offset`,`collision-padding`,`collision-boundary`,`side`,`side-offset`,`class`,`prioritize-position`,`data-animation`,`disable-update-on-layout-shift`,`side-flip`])]),_:3})]),_:3})]),_:3},8,[`open`]))}});function dv(e){return e.map(e=>({type:`option`,value:e}))}function fv(e,t){let n=(0,d.computed)(()=>{if(t.errorMessage===null&&t.hint===null)return;let n=[];return t.errorMessage!==null&&n.push(`${e}-error-message`),t.hint!==null&&n.push(`${e}-hint`),n.join(` `)}),r=(0,d.computed)(()=>t.errorMessage?`true`:void 0),i=(0,d.computed)(()=>t.isRequired?`true`:void 0),a=(0,d.computed)(()=>t.isLoading?`true`:void 0);return{isError:(0,d.computed)(()=>t.errorMessage!==void 0&&t.errorMessage!==null),ariaBusy:a,ariaDescribedBy:n,ariaInvalid:r,ariaRequired:i}}var pv={isDisabled:!1,disabledReason:null},mv={...pv,id:null,isReadonly:!1,isRequired:!1,name:null,class:null,style:null},hv={...pv,isHorizontal:!1,isLabelHidden:!1,isRequired:!1,errorMessage:null,for:null,helpText:null,hideErrorMessage:!1,hint:null,label:null},gv={isDisabled:!1,isLoading:!1,isReadonly:!1,iconLeft:null,iconRight:null,placeholder:null},_v={autocomplete:`off`};function vv(e,...t){let n={...e};for(let e of t)delete n[e];return n}var[yv,bv]=L(`badgeContext`),xv=U({compoundVariants:[{class:{base:`
|
|
295
|
+
`,contentWrapper:`sm:max-w-[90vw]`},lg:{contentWrapper:`sm:max-w-160`},md:{contentWrapper:`sm:max-w-140`},sm:{contentWrapper:`sm:max-w-120`},xl:{contentWrapper:`sm:max-w-180`},xs:{contentWrapper:`sm:max-w-100`},xxs:{contentWrapper:`sm:max-w-90`}}}}),k_={ref:`chinContent`,class:`w-full`},A_=(0,d.defineComponent)({__name:`DialogChin`,props:{chin:{}},setup(e){let t=e,n=(0,d.computed)(()=>t.chin!==null),r=(0,d.useTemplateRef)(`chinContent`),i=(0,d.ref)(38);(0,d.watch)(r,(e,t,n)=>{if(e==null)return;let r=new ResizeObserver(([e])=>{i.value=e?.contentRect.height??0});r.observe(e),n(()=>{r.disconnect()})},{immediate:!0});let a={default:`from-white/60 dark:from-black/10`,error:`from-error-secondary`},o=(0,d.computed)(()=>t.chin?.variant==null?`from-white/60 dark:from-black/10`:a[t.chin.variant]),s={brand:`minimal-color`,default:`tertiary`,destructive:`destructive-tertiary`},c={brand:`primary`,default:`tertiary`,destructive:`destructive-tertiary`},l=(0,d.computed)(()=>t.chin?.variant===`error`?`text-error-500`:`text-primary`),{style:u}=D_(),f=ff();return(r,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{animate:{height:n.value?`calc(100% + ${i.value+14}px)`:`100%`},initial:!1,transition:{duration:(0,d.unref)(f)?0:.3,type:`spring`,bounce:0},class:(0,d.normalizeClass)([(0,d.unref)(u).chin(),`bg-white/20 dark:bg-black/40`]),as:`div`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.AnimatePresence),null,{default:(0,d.withCtx)(()=>[n.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,type:`spring`,bounce:0},class:(0,d.normalizeClass)([o.value,`h-full rounded-t-[calc(1rem+5px)] rounded-b-none bg-linear-to-b to-transparent sm:rounded-[calc(1rem+5px)] sm:bg-linear-to-t`]),as:`div`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(K,{class:`h-full justify-start p-lg px-xl sm:justify-end`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,k_,[(0,d.createVNode)(L,{align:`center`,justify:`between`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,null,{default:(0,d.withCtx)(()=>[e.chin?.icon?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.chin?.icon),{key:0,class:(0,d.normalizeClass)([l.value,`size-4 shrink-0`])},null,8,[`class`])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(W),{text:t.chin?.text??``,truncate:2,class:`text-xs font-medium`},null,8,[`text`])]),_:1}),(0,d.createVNode)(L,{items:`center`,gap:`none`},{default:(0,d.withCtx)(()=>[t.chin?.secondaryAction?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[t.chin.secondaryAction.type===`button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Z),{key:0,label:t.chin.secondaryAction.label,"is-loading":t.chin.secondaryAction.isLoading,"is-disabled":t.chin.secondaryAction.isDisabled,"disabled-reason":t.chin.secondaryAction.disabledReason,variant:s[t.chin.secondaryAction.variant??`default`],onClick:t.chin.secondaryAction.action},null,8,[`label`,`is-loading`,`is-disabled`,`disabled-reason`,`variant`,`onClick`])):t.chin.secondaryAction.type===`link`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(d_),{key:1,label:t.chin.secondaryAction.label,to:t.chin.secondaryAction.to,link:t.chin.secondaryAction.link,variant:c[t.chin.secondaryAction.variant??`default`]},null,8,[`label`,`to`,`link`,`variant`])):t.chin.secondaryAction.type===`icon-button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Q),{key:2,icon:t.chin.secondaryAction.icon,label:t.chin.secondaryAction.label,"is-loading":t.chin.secondaryAction.isLoading,"is-disabled":t.chin.secondaryAction.isDisabled,"disabled-reason":t.chin.secondaryAction.disabledReason,variant:c[t.chin.secondaryAction.variant??`default`],onClick:t.chin.secondaryAction.action},null,8,[`icon`,`label`,`is-loading`,`is-disabled`,`disabled-reason`,`variant`,`onClick`])):(0,d.createCommentVNode)(``,!0)],64)):(0,d.createCommentVNode)(``,!0),t.chin?.primaryAction?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[t.chin.primaryAction.type===`button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Z),{key:0,label:t.chin.primaryAction.label,"is-loading":t.chin.primaryAction.isLoading,"is-disabled":t.chin.primaryAction.isDisabled,"disabled-reason":t.chin.primaryAction.disabledReason,variant:s[t.chin.primaryAction.variant??`brand`],onClick:t.chin.primaryAction.action},null,8,[`label`,`is-loading`,`is-disabled`,`disabled-reason`,`variant`,`onClick`])):t.chin.primaryAction.type===`link`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(d_),{key:1,label:t.chin.primaryAction.label,to:t.chin.primaryAction.to,link:t.chin.primaryAction.link,variant:c[t.chin.primaryAction.variant??`brand`]},null,8,[`label`,`to`,`link`,`variant`])):t.chin.primaryAction.type===`icon-button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Q),{key:2,icon:t.chin.primaryAction.icon,label:t.chin.primaryAction.label,"is-loading":t.chin.primaryAction.isLoading,"is-disabled":t.chin.primaryAction.isDisabled,"disabled-reason":t.chin.primaryAction.disabledReason,variant:c[t.chin.primaryAction.variant??`brand`],onClick:t.chin.primaryAction.action},null,8,[`icon`,`label`,`is-loading`,`is-disabled`,`disabled-reason`,`variant`,`onClick`])):(0,d.createCommentVNode)(``,!0)],64)):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1})],512)]),_:1})]),_:1},8,[`class`])):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`animate`,`transition`,`class`]))}}),j_=(0,d.defineComponent)({__name:`DialogCloseButton`,setup(e){let t=(0,m.useI18n)();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogClose),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(or),label:(0,d.unref)(t).t(`component.dialog.close`),"keyboard-shortcut":{key:`Escape`},class:`absolute top-0 right-0 z-10 m-lg`,variant:`tertiary`},null,8,[`icon`,`label`])]),_:1}))}});function M_(){let e=(0,d.shallowReactive)([]),t=(t,i)=>{let{defaultOpen:a,destroyOnClose:s,props:c}=i||{},l=(0,d.reactive)({id:Symbol(`useOverlay`),isMounted:!!a,isOpen:!!a,destroyOnClose:!!s,originalProps:c||{},props:{...c},component:(0,d.markRaw)(t)});return e.push(l),{...l,close:e=>r(l.id,e),open:e=>n(l.id,e),patch:e=>o(l.id,e)}},n=(e,t)=>{let n=s(e);t?n.props={...n.originalProps,...t}:n.props={...n.originalProps},n.isOpen=!0,n.isMounted=!0;let r=new Promise(e=>n.resolvePromise=e);return Object.assign(r,{id:e,isMounted:n.isMounted,isOpen:n.isOpen,result:r})},r=(e,t)=>{let n=s(e);n.isOpen=!1,n.resolvePromise&&=(n.resolvePromise(t),void 0)},i=()=>{for(let t of e)r(t.id)},a=t=>{let n=s(t);if(n.isMounted=!1,n.destroyOnClose){let n=e.findIndex(e=>e.id===t);e.splice(n,1)}},o=(e,t)=>{let n=s(e);n.props={...n.props,...t}},s=t=>{let n=e.find(e=>e.id===t);if(!n)throw Error(`Overlay not found`);return n};return{isOpen:e=>s(e).isOpen,close:r,closeAll:i,create:t,open:n,overlays:e,patch:o,unmount:a}}var N_=(0,h.createSharedComposable)(M_);function P_(){let e=(0,d.ref)(null),t=(0,d.ref)(!0),n=(0,d.ref)(!0);function r(){let r=e.value;r!==null&&(t.value=r.scrollTop<=1,n.value=r.scrollTop+r.clientHeight>=r.scrollHeight-1)}let i=null;return(0,d.watch)(e,(e,t,n)=>{e!==null&&(e.addEventListener(`scroll`,r,{passive:!0}),i=new ResizeObserver(r),i.observe(e),r(),n(()=>{e.removeEventListener(`scroll`,r),i?.disconnect(),i=null}))},{immediate:!0}),{isScrolledToBottom:n,isScrolledToTop:t,bodyRef:e}}var F_=(0,d.defineComponent)({__name:`Dialog`,props:(0,d.mergeModels)({chin:{default:null},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1},showCloseButton:{type:Boolean,default:!0},size:{default:`md`}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:(0,d.mergeModels)([`afterLeave`,`close`,`update:isOpen`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`isOpen`),a=(0,d.computed)(()=>O_({size:n.size})),{isScrolledToBottom:o,isScrolledToTop:s,bodyRef:c}=P_();E_({isScrolledToBottom:o,isScrolledToTop:s,bodyRef:c,style:a});function l(e){n.preventEsc&&e.preventDefault()}function u(e){n.preventClickOutside&&e.preventDefault()}function f(e){e||r(`close`)}function m(e){e.target instanceof Element&&(e.target.hasAttribute(`data-dialog-overlay`)||e.preventDefault())}let h=`${40+N_().overlays.filter(e=>e.isMounted).length}`;return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogRoot),{open:i.value,"onUpdate:open":[t[1]||=e=>i.value=e,f],modal:!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DialogOverlay),{class:(0,d.normalizeClass)(a.value.overlay()),"data-animation":`dialog`,"data-dialog-overlay":``},null,8,[`class`]),(0,d.createVNode)((0,d.unref)(p.DialogContent),{class:(0,d.normalizeClass)(a.value.contentWrapper()),style:(0,d.normalizeStyle)({zIndex:h}),"data-animation":`dialog`,onEscapeKeyDown:l,onPointerDownOutside:u,onAfterLeave:t[0]||=e=>r(`afterLeave`),onInteractOutside:m},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(a.value.content())},[(0,d.renderSlot)(e.$slots,`default`),n.showCloseButton?((0,d.openBlock)(),(0,d.createBlock)(j_,{key:0})):(0,d.createCommentVNode)(``,!0)],2),(0,d.createVNode)(A_,{chin:n.chin},null,8,[`chin`])]),_:3},8,[`class`,`style`])]),_:3},8,[`open`]))}}),I_=(0,d.defineComponent)({__name:`DialogFooter`,props:{showSeparator:{type:Boolean,default:!0}},setup(e){let t=e,n=D_(null);return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(n)?.style.value.footer()),"data-dialog-footer":``},[t.showSeparator?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{key:0,class:(0,d.normalizeClass)([(0,d.unref)(n)!==null&&(0,d.unref)(n).isScrolledToBottom.value?`opacity-0`:`opacity-100`,`transition-opacity duration-150`])},null,8,[`class`])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)(L,{align:`center`,justify:`between`,gap:`lg`,class:`p-xl`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,null,[(0,d.renderSlot)(e.$slots,`left`)]),(0,d.createVNode)(L,{align:`center`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`right`),(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3})],2))}}),L_=(0,d.defineComponent)({__name:`DialogFooterCancel`,props:{isDestructive:{type:Boolean},disableAutoFocus:{type:Boolean},disabledReason:{default:null},form:{default:null},iconLeft:{default:null},iconRight:{default:null},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},type:{default:`button`},label:{default:null}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)();return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogClose),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Z,(0,d.mergeProps)(n,{label:n.label??(0,d.unref)(i).t(`component.dialog.cancel`),variant:`secondary`,onClick:t[0]||=e=>r(`click`)}),null,16,[`label`])]),_:1}))}}),R_=(0,d.defineComponent)({__name:`AutoFocus`,props:{isDisabled:{type:Boolean,default:!1}},setup(e){let t=e,n=(0,d.ref)(null);function r(e){let t=e.querySelectorAll(`a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])`),[n]=Array.from(t);return n??null}return(0,d.onMounted)(()=>{if(t.isDisabled)return;let e=n.value?.$el;if(e===null)return;let i=r(e);i!==null&&setTimeout(()=>{i.focus()})}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{ref_key:`primitiveRef`,ref:n},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},512))}}),z_=(0,d.defineComponent)({__name:`DialogFooterPrimary`,props:{isDestructive:{type:Boolean,default:!1},disableAutoFocus:{type:Boolean,default:!1},disabledReason:{default:null},form:{default:null},iconLeft:{default:null},iconRight:{default:null},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},label:{},type:{default:`button`}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R_),{"is-disabled":n.disableAutoFocus},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Z,(0,d.mergeProps)(n,{variant:n.isDestructive?`destructive-primary`:`primary`,onClick:t[0]||=e=>r(`click`)}),null,16,[`variant`])]),_:1},8,[`is-disabled`]))}}),B_={class:`flex min-w-0 flex-1 flex-col gap-sm`},V_=(0,d.defineComponent)({__name:`DialogHeader`,props:{title:{},description:{},hideDescription:{type:Boolean},icon:{default:null},iconVariant:{default:`brand`},showSeparator:{type:Boolean,default:!0}},setup(e){let t=e,n=H({slots:{bg:``,text:``},variants:{variant:{brand:{bg:`bg-brand-secondary`,text:`text-brand-primary`},error:{bg:`bg-error-secondary`,text:`text-error-primary`},success:{bg:`bg-success-secondary`,text:`text-success-primary`},warning:{bg:`bg-warning-secondary`,text:`text-warning-primary`}}}}),r=(0,d.computed)(()=>n({variant:t.iconVariant})),i=D_(null);return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(K,{class:(0,d.normalizeClass)((0,d.unref)(i)?.style.value.header()),gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{align:`start`,gap:`xl`,class:`p-xl pb-0 group-has-data-dialog-body/dialog:pb-xl`},{default:(0,d.withCtx)(()=>[t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:(0,d.normalizeClass)([r.value.bg(),`flex size-10 shrink-0 items-center justify-center rounded-full`])},[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{class:(0,d.normalizeClass)([r.value.text(),`size-5`])},null,8,[`class`]))],2)),(0,d.createElementVNode)(`div`,B_,[(0,d.createVNode)((0,d.unref)(p.DialogTitle),{as:`h2`,class:`text-sm font-semibold text-primary`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t.title),1)]),_:1}),(0,d.createVNode)((0,d.unref)(p.DialogDescription),{class:(0,d.normalizeClass)([{"sr-only":t.hideDescription},`text-xs text-tertiary`]),as:`p`,innerHTML:t.description},null,8,[`class`,`innerHTML`])])]),_:1}),t.showSeparator?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{key:0,class:(0,d.normalizeClass)([(0,d.unref)(i)!==null&&(0,d.unref)(i).isScrolledToTop.value?`opacity-0`:`opacity-100`,`transition-opacity duration-150`])},null,8,[`class`])):(0,d.createCommentVNode)(``,!0)]),_:1},8,[`class`]))}}),H_=(0,d.defineComponent)({__name:`ConfirmDialog`,props:{title:{},isDestructive:{type:Boolean,default:!1},cancelLabel:{default:null},confirmLabel:{default:null},description:{},icon:{default:null},onConfirm:{},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1}},emits:[`close`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),a=(0,d.ref)(!1);async function o(){a.value=!0;try{await n.onConfirm()}finally{a.value=!1}}function s(){r(`close`)}function c(){r(`close`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(F_,{"has-close-button":!1,"prevent-click-outside":n.preventClickOutside,"prevent-esc":n.preventEsc,size:`xs`,onClose:c},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(V_,{title:n.title,description:n.description,icon:n.icon,"icon-variant":n.isDestructive?`error`:`brand`,"has-close-button":!1},null,8,[`title`,`description`,`icon`,`icon-variant`]),(0,d.createVNode)(I_,null,{right:(0,d.withCtx)(()=>[(0,d.createVNode)(L_,{label:n.cancelLabel,"is-disabled":a.value,onClick:s},null,8,[`label`,`is-disabled`]),(0,d.createVNode)(z_,{label:n.confirmLabel??(0,d.unref)(i).t(`component.unsaved_changes_dialog.confirm`),"is-loading":a.value,"is-destructive":n.isDestructive,onClick:o},null,8,[`label`,`is-loading`,`is-destructive`])]),_:1})]),_:1},8,[`prevent-click-outside`,`prevent-esc`]))}});function U_(e){let t=(0,m.useI18n)(),n=N_().create(H_);function r(){return new Promise(e=>{n.open({title:t.t(`component.unsaved_changes_dialog.title`),isDestructive:!0,cancelLabel:t.t(`component.unsaved_changes_dialog.cancel`),confirmLabel:t.t(`component.unsaved_changes_dialog.confirm`),description:t.t(`component.unsaved_changes_dialog.description`),onClose:()=>{e(!1)},onConfirm:()=>{n.close(),e(!0)}})})}(0,y.onBeforeRouteLeave)(async()=>{if(e.value)return await r()}),window.addEventListener(`beforeunload`,()=>{if(e.value)return t.t(`component.unsaved_changes_dialog.description`)})}var W_=[`id`],G_=(0,d.defineComponent)({__name:`Form`,props:{id:{default:null},form:{},promptOnUnsavedChanges:{type:Boolean}},setup(e){let t=e,n=(0,d.useId)();return t.promptOnUnsavedChanges&&U_(t.form.isDirty),w_({formId:t.id??n,form:t.form}),(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`form`,{id:t.id??(0,d.unref)(n),novalidate:!0,onSubmit:r[0]||=(0,d.withModifiers)(e=>t.form.submit(),[`prevent`])},[(0,d.renderSlot)(e.$slots,`default`)],40,W_))}}),K_={alt:``,arrowdown:`↓`,arrowleft:`←`,arrowright:`→`,arrowup:`↑`,backspace:`⌫`,capslock:`⇪`,command:`⌘`,control:`⌃`,ctrl:``,delete:`⌦`,end:`↘`,enter:`↵`,escape:`Esc`,home:`↖`,option:`⌥`,pagedown:`⇟`,pageup:`⇞`,shift:`⇧`,tab:`⇥`,win:`⊞`,meta:``},q_=/Macintosh;/,J_=Y_();function Y_(){return typeof navigator>`u`||typeof navigator.userAgent!=`string`?!1:q_.test(navigator.userAgent)}var X_=(0,h.createSharedComposable)(()=>{let e=(0,d.reactive)({alt:` `,ctrl:` `,meta:` `});(0,d.onMounted)(()=>{e.meta=J_?K_.command:`Ctrl`,e.ctrl=J_?K_.control:`Ctrl`,e.alt=J_?K_.option:`Alt`});function t(t){return[`meta`,`alt`,`ctrl`].includes(t)?e[t]:K_[t]||t}return{getKbdKey:t,IS_MACOS:J_}}),Z_=/^[^-]+.*-.*[^-]+$/,Q_=/^[^_]+.*_.*[^_]+$/,$_=/^[a-z]$/i,ev=/^\d$/,tv=/^f\d+$/i,nv=/^Key[A-Z]$/i,rv=/^[a-z]{1}$/i,iv=[`arrowleft`,`arrowright`,`arrowup`,`arrowright`,`tab`,`escape`,`enter`,`backspace`];function av(e){return $_.test(e)?`Key${e.toUpperCase()}`:ev.test(e)?`Digit${e}`:tv.test(e)?e.toUpperCase():{arrowdown:`ArrowDown`,arrowleft:`ArrowLeft`,arrowright:`ArrowRight`,arrowup:`ArrowUp`,backspace:`Backspace`,delete:`Delete`,enter:`Enter`,escape:`Escape`,space:`Space`,tab:`Tab`}[e.toLowerCase()]||e}function ov(e,t={}){let n=(0,d.ref)([]);function r(){n.value.splice(0,n.value.length)}let i=(0,h.useDebounceFn)(r,t.chainDelay??800),{IS_MACOS:a}=X_(),o=(0,h.useActiveElement)(),s=t.layoutIndependent??!1,c=new Set(iv.map(e=>av(e))),l=(0,d.computed)(()=>{let e=o.value?.tagName,t=o.value?.contentEditable;return e===`INPUT`||e===`TEXTAREA`||t===`true`||t===`plaintext-only`}),u=(0,d.computed)(()=>Object.entries((0,d.toValue)(e)).map(([e,t])=>{if(!t)return null;let n;e.includes(`-`)&&e!==`-`&&!e.includes(`_`)&&!e.match(Z_)?.length&&console.warn(`[Shortcut] Invalid key: "${e}"`),e.includes(`_`)&&e!==`_`&&!e.match(Q_)?.length&&console.warn(`[Shortcut] Invalid key: "${e}"`);let r=e.includes(`-`)&&e!==`-`&&!e.includes(`_`);if(r)n=s?{altKey:!1,ctrlKey:!1,key:e.split(`-`).map(e=>av(e)).join(`-`),metaKey:!1,shiftKey:!1}:{altKey:!1,ctrlKey:!1,key:e.toLowerCase(),metaKey:!1,shiftKey:!1};else{let t=e.toLowerCase().split(`_`).map(e=>e),r=t.filter(e=>![`meta`,`command`,`ctrl`,`shift`,`alt`,`option`].includes(e)).join(`_`);s&&(r=av(r)),n={altKey:t.includes(`alt`)||t.includes(`option`),ctrlKey:t.includes(`ctrl`),key:r,metaKey:t.includes(`meta`)||t.includes(`command`),shiftKey:t.includes(`shift`)}}if(n.chained=r,!a&&n.metaKey&&!n.ctrlKey&&(n.metaKey=!1,n.ctrlKey=!0),typeof t==`function`?n.handler=t:typeof t==`object`&&(n={...n,handler:t.handler}),!n.handler)return console.warn(`[Shortcut] Invalid value`),null;let i=!0,o=e.split(r?`-`:`_`)[0];return o===`meta`||o===`command`||(t.usingInput?typeof t.usingInput==`string`&&(i=l.value===t.usingInput):i=!l.value),n.enabled=i,n}).filter(Boolean));function f(e){if(!e.key)return;let t=s?nv.test(e.code):rv.test(e.key),a=s?c.has(e.code):iv.includes(e.key.toLowerCase()),o;if(n.value.push(s?e.code:e.key),n.value.length>=2){o=n.value.slice(-2).join(`-`);for(let t of u.value.filter(e=>e.chained))if(t.key===o){t.enabled&&t.handler(e),r();return}}for(let n of u.value.filter(e=>!e.chained)){if(s){if(e.code!==n.key)continue}else if(e.key.toLowerCase()!==n.key)continue;if(e.metaKey===n.metaKey&&e.ctrlKey===n.ctrlKey&&!((t||a)&&e.shiftKey!==n.shiftKey)){n.enabled&&n.handler(e),r();return}}i()}return(0,h.useEventListener)(`keydown`,f)}var sv=(0,d.defineComponent)({__name:`FormSubmitButton`,props:{disableKeyboardShortcut:{type:Boolean,default:!1},label:{},variant:{default:`primary`}},setup(e){let t=e,n={submit:{keys:[`meta`,`enter`],shortcutKey:`meta_enter`}},{formId:r,form:i}=T_();return ov({[n.submit.shortcutKey]:()=>{t.disableKeyboardShortcut||i.submit()}}),(e,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),(0,d.mergeProps)({"as-child":!0},t,{"is-loading":(0,d.unref)(i).isSubmitting.value,form:(0,d.unref)(r),type:`submit`}),{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{},()=>[(0,d.createVNode)((0,d.unref)(Z),{label:t.label,form:(0,d.unref)(r),variant:t.variant,"keyboard-shortcut-keys":t.disableKeyboardShortcut?null:n.submit.keys},null,8,[`label`,`form`,`variant`,`keyboard-shortcut-keys`])])]),_:3},16,[`is-loading`,`form`]))}}),cv=(0,d.defineComponent)({__name:`PopoverArrow`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.PopoverArrow),{class:`relative -mb-4 h-4 w-10 -translate-y-px overflow-hidden`,as:`div`},{default:(0,d.withCtx)(()=>[...t[0]||=[(0,d.createElementVNode)(`div`,{class:`absolute left-1/2 size-4 -translate-x-1/2 -translate-y-3 rotate-45 rounded-xxs border border-secondary bg-primary shadow-lg`},null,-1)]]),_:1}))}}),lv={class:`relative size-full overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},uv=(0,d.defineComponent)({__name:`Popover`,props:(0,d.mergeModels)((0,d.mergeDefaults)({disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...gr,disableSideFlip:!1,disableUpdateOnLayoutShift:!1,prioritizePosition:!1}),{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:(0,d.mergeModels)([`autoFocusOnClose`,`escapeKeyDown`,`focusOutside`,`interactOutside`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`isOpen`);function a(e){r(`escapeKeyDown`,e)}function o(e){r(`focusOutside`,e)}function s(e){r(`interactOutside`,e)}function c(e){r(`autoFocusOnClose`,e)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.PopoverRoot),{open:i.value,"onUpdate:open":t[0]||=e=>i.value=e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverAnchor),{"as-child":!0,reference:n.popoverAnchorReferenceElement??void 0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverTrigger),(0,d.mergeProps)({"as-child":!0},(0,d.toHandlers)(e.$attrs)),{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`)]),_:3},16)]),_:3},8,[`reference`]),(0,d.createVNode)((0,d.unref)(p.PopoverPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverContent),{align:n.popoverAlign,"align-offset":n.popoverAlignOffset,"collision-padding":n.popoverCollisionPadding,"collision-boundary":n.popoverContainerElement,side:n.popoverSide,"side-offset":n.popoverSideOffset,class:(0,d.normalizeClass)([{"w-(--reka-popover-trigger-width)":n.popoverWidth===`anchor-width`,"w-(--reka-popover-content-available-width)":n.popoverWidth===`available-width`},`z-50 origin-(--reka-popover-content-transform-origin) will-change-[transform,opacity]`]),"prioritize-position":n.prioritizePosition,"data-animation":n.popoverAnimationName??`popover-default`,"disable-update-on-layout-shift":n.disableUpdateOnLayoutShift,"side-flip":!n.disableSideFlip,"position-strategy":`absolute`,sticky:`always`,onCloseAutoFocus:c,onEscapeKeyDown:a,onFocusOutside:o,onInteractOutside:s},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,lv,[(0,d.renderSlot)(e.$slots,`content`)]),n.isPopoverArrowVisible?((0,d.openBlock)(),(0,d.createBlock)(cv,{key:0})):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`align`,`align-offset`,`collision-padding`,`collision-boundary`,`side`,`side-offset`,`class`,`prioritize-position`,`data-animation`,`disable-update-on-layout-shift`,`side-flip`])]),_:3})]),_:3})]),_:3},8,[`open`]))}});function dv(e){return e.map(e=>({type:`option`,value:e}))}function fv(e,t){let n=(0,d.computed)(()=>{if(t.errorMessage===null&&t.hint===null)return;let n=[];return t.errorMessage!==null&&n.push(`${e}-error-message`),t.hint!==null&&n.push(`${e}-hint`),n.join(` `)}),r=(0,d.computed)(()=>t.errorMessage?`true`:void 0),i=(0,d.computed)(()=>t.isRequired?`true`:void 0),a=(0,d.computed)(()=>t.isLoading?`true`:void 0);return{isError:(0,d.computed)(()=>t.errorMessage!==void 0&&t.errorMessage!==null),ariaBusy:a,ariaDescribedBy:n,ariaInvalid:r,ariaRequired:i}}var pv={isDisabled:!1,disabledReason:null},mv={...pv,id:null,isReadonly:!1,isRequired:!1,name:null,class:null,style:null},hv={...pv,isHorizontal:!1,isLabelHidden:!1,isRequired:!1,errorMessage:null,for:null,helpText:null,hideErrorMessage:!1,hint:null,label:null},gv={isDisabled:!1,isLoading:!1,isReadonly:!1,iconLeft:null,iconRight:null,placeholder:null},_v={autocomplete:`off`};function vv(e,...t){let n={...e};for(let e of t)delete n[e];return n}var[yv,bv]=I(`badgeContext`),xv=H({compoundVariants:[{class:{base:`
|
|
296
296
|
border-brand-400
|
|
297
297
|
dark:border-brand-600
|
|
298
298
|
`,dot:`bg-brand-500`,icon:`
|
|
@@ -484,27 +484,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
484
484
|
`,separator:`
|
|
485
485
|
bg-warning-200
|
|
486
486
|
dark:bg-warning-800
|
|
487
|
-
`},color:`warning`,variant:`translucent`}],slots:{base:`inline-flex items-center gap-sm border`,dot:`rounded-full`,icon:``,label:`font-medium`,separator:`mx-xs`},variants:{size:{lg:{base:`h-7 px-sm`,dot:`size-1.5`,icon:`size-4`,label:`text-xs`},md:{base:`h-6 px-sm`,dot:`size-1.5`,icon:`size-3`,label:`text-xxs`},sm:{base:`h-5 px-xs`,dot:`size-1`,icon:`size-3`,label:`text-xxs`}},color:{blue:{},brand:{},error:{},gray:{},pink:{},purple:{},success:{},warning:{}},variant:{outline:{base:`bg-transparent`},solid:{},translucent:{}},rounded:{default:{base:`rounded-sm`},full:{base:`rounded-full`}}}}),Sv=(0,d.defineComponent)({__name:`BadgeAvatar`,props:{name:{},src:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(
|
|
487
|
+
`},color:`warning`,variant:`translucent`}],slots:{base:`inline-flex items-center gap-sm border`,dot:`rounded-full`,icon:``,label:`font-medium`,separator:`mx-xs`},variants:{size:{lg:{base:`h-7 px-sm`,dot:`size-1.5`,icon:`size-4`,label:`text-xs`},md:{base:`h-6 px-sm`,dot:`size-1.5`,icon:`size-3`,label:`text-xxs`},sm:{base:`h-5 px-xs`,dot:`size-1`,icon:`size-3`,label:`text-xxs`}},color:{blue:{},brand:{},error:{},gray:{},pink:{},purple:{},success:{},warning:{}},variant:{outline:{base:`bg-transparent`},solid:{},translucent:{}},rounded:{default:{base:`rounded-sm`},full:{base:`rounded-full`}}}}),Sv=(0,d.defineComponent)({__name:`BadgeAvatar`,props:{name:{},src:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Oa),{name:t.name,src:t.src??null,size:`xxs`},null,8,[`name`,`src`]))}}),Cv=(0,d.defineComponent)({__name:`BadgeDot`,setup(e){let{effectiveDotColor:t,size:n}=bv(),r=(0,d.computed)(()=>t.value),i=(0,d.computed)(()=>n.value===`sm`?`sm`:`md`);return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Ga),{color:r.value,size:i.value},null,8,[`color`,`size`]))}}),wv=(0,d.defineComponent)({__name:`BadgeIcon`,props:{icon:{}},setup(e){let t=e,{variants:n}=bv(),r=(0,d.useAttrs)();return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{class:(0,d.normalizeClass)([(0,d.unref)(n).icon({class:(0,d.unref)(r).class})])},null,8,[`class`]))}}),Tv=(0,d.defineComponent)({__name:`BadgeLabel`,props:{label:{}},setup(e){let t=e,{variants:n}=bv();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{text:t.label,class:(0,d.normalizeClass)((0,d.unref)(n).label())},null,8,[`text`,`class`]))}}),Ev=(0,d.defineComponent)({__name:`Badge`,props:{ariaLabel:{default:null},avatar:{default:null},color:{default:`gray`},dot:{default:null},icon:{default:null},label:{default:null},rounded:{default:`default`},size:{default:`md`},variant:{default:`translucent`}},setup(e){let t=e,n=(0,d.computed)(()=>t.dot?.color??t.color),r=(0,d.computed)(()=>xv({color:t.color,rounded:t.rounded,size:t.size,variant:t.variant}));return yv({...sr(t),effectiveDotColor:n,variants:r}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{class:(0,d.normalizeClass)(r.value.base()),"aria-label":t.ariaLabel,gap:`xs`,role:`status`},{default:(0,d.withCtx)(()=>[t.dot==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Cv,{key:0})),(0,d.renderSlot)(e.$slots,`default`,{},()=>[t.avatar==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Sv,{key:0,name:t.avatar.name,src:t.avatar.src},null,8,[`name`,`src`])),t.icon?((0,d.openBlock)(),(0,d.createBlock)(wv,{key:1,icon:t.icon},null,8,[`icon`])):(0,d.createCommentVNode)(``,!0),t.label?((0,d.openBlock)(),(0,d.createBlock)(Tv,{key:2,label:t.label},null,8,[`label`])):(0,d.createCommentVNode)(``,!0)])]),_:3},8,[`class`,`aria-label`]))}}),Dv=(0,d.defineComponent)({__name:`BadgeGroup`,props:{noWrap:{type:Boolean,default:!1}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{class:(0,d.normalizeClass)({"flex-wrap":!t.noWrap}),gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}}),Ov=(0,d.defineComponent)({__name:`BadgeGroupTruncate`,props:{badges:{},maxVisibleCount:{default:null}},setup(e){let t=e,n=(0,d.computed)(()=>t.maxVisibleCount===null?t.badges:t.badges.slice(0,t.maxVisibleCount)),r=(0,d.computed)(()=>t.maxVisibleCount===null?0:Math.max(0,t.badges.length-t.maxVisibleCount));function i(e){return e===t.badges.length}function a(e){return i(e)?`${e} selected`:`+${e}`}function o(e){return t.badges.slice(-e).map(e=>e.label).join(`, `)}return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)(Bo,null,{default:(0,d.withCtx)(({hiddenBlockCount:e})=>[(0,d.createVNode)(Dv,{"no-wrap":!0},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.value,(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(Vo,{key:t,priority:t},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Ev,(0,d.mergeProps)({ref_for:!0},e),null,16)]),_:2},1032,[`priority`]))),128)),e+r.value>0?((0,d.openBlock)(),(0,d.createBlock)(G,{key:0,label:o(e+r.value)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Ev,{label:a(e+r.value),size:t.badges[0]?.size,class:`pointer-events-auto cursor-default`},null,8,[`label`,`size`])]),_:2},1032,[`label`])):(0,d.createCommentVNode)(``,!0)]),_:2},1024)]),_:1}))}}),kv=(0,d.defineComponent)({__name:`FieldWrapperIcon`,props:{icon:{}},setup(e){let t=e;return(e,n)=>t.icon?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-3.5 shrink-0 text-fg-quaternary group-data-disabled/field-wrapper:text-fg-disabled-subtle`})):(0,d.createCommentVNode)(``,!0)}}),Av=(0,d.defineComponent)({__name:`FieldWrapperLoader`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(Ia,{class:`mr-md size-3.5 shrink-0 text-quaternary`}))}}),jv=(0,d.defineComponent)({__name:`FieldWrapper`,props:(0,d.mergeDefaults)({isError:{type:Boolean},size:{},isDisabled:{type:Boolean},isLoading:{type:Boolean},isReadonly:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...gv,isError:!1,size:`md`}),setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{"data-error":t.isError||void 0,"data-disabled":t.isDisabled||void 0,"data-readonly":t.isReadonly||void 0,"data-interactive":!t.isDisabled&&!t.isReadonly||void 0,class:(0,d.normalizeClass)([{"h-8":t.size===`md`,"h-7":t.size===`sm`},`group/field-wrapper relative rounded-md border border-secondary bg-primary outline outline-transparent duration-100 data-disabled:cursor-not-allowed data-disabled:border-disabled-subtle data-disabled:bg-disabled-subtle data-disabled:text-disabled data-error:border-error not-data-error:data-interactive:hover:border-primary [&:has([data-field-wrapper]:focus-visible)]:data-interactive:border-fg-brand-primary [&:has([data-field-wrapper]:focus-visible)]:data-interactive:outline-fg-brand-primary [&:has([data-field-wrapper]:focus-visible)]:data-interactive:data-error:border-error [&:has([data-field-wrapper]:focus-visible)]:data-interactive:data-error:outline-fg-error-primary`]),gap:`none`},{default:(0,d.withCtx)(()=>[t.iconLeft?((0,d.openBlock)(),(0,d.createBlock)(kv,{key:0,icon:t.iconLeft,"input-field-size":t.size,class:(0,d.normalizeClass)([{"ml-md":t.size===`md`,"ml-sm":t.size===`sm`},`text-error-500`])},null,8,[`icon`,`input-field-size`,`class`])):(0,d.createCommentVNode)(``,!0),(0,d.renderSlot)(e.$slots,`left`),(0,d.renderSlot)(e.$slots,`default`),(0,d.renderSlot)(e.$slots,`right`),(0,d.createVNode)((0,d.unref)(g.MotionConfig),{transition:{duration:.2}},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.AnimatePresence),{mode:`popLayout`},{default:(0,d.withCtx)(()=>[t.isLoading?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,initial:{opacity:0,scale:.9,filter:`blur(2px)`},animate:{opacity:1,scale:1,filter:`blur(0px)`},exit:{opacity:0,scale:.9,filter:`blur(2px)`}},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Av)]),_:1})):t.iconRight?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:1,initial:{opacity:0,scale:.9,filter:`blur(2px)`},animate:{opacity:1,scale:1,filter:`blur(0px)`},exit:{opacity:0,scale:.9,filter:`blur(2px)`}},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(kv,{icon:t.iconRight,"input-field-size":t.size,class:(0,d.normalizeClass)({"mr-md":t.size===`md`,"mr-sm":t.size===`sm`})},null,8,[`icon`,`input-field-size`,`class`])]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1})]),_:3},8,[`data-error`,`data-disabled`,`data-readonly`,`data-interactive`,`class`]))}}),Mv={class:`flex h-lh items-center`},Nv=(0,d.defineComponent)({__name:`InputWrapperErrorMessage`,props:{errorMessage:{},for:{}},setup(e){let t=e,n=ff();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[t.errorMessage===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.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)`},transition:{duration:(0,d.unref)(n)?0:.3,type:`spring`,bounce:0}},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(L),{class:`pt-xs text-xs`,align:`start`,gap:`sm`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Mv,[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)((0,d.unref)(xt)),{class:`size-3.5 shrink-0 text-error-primary`}))]),(0,d.createVNode)((0,d.unref)(W),{id:`${t.for}-error-message`,text:t.errorMessage,truncate:!1,role:`alert`,"aria-live":`assertive`,class:`block text-error-primary`},null,8,[`id`,`text`])]),_:1})]),_:1},8,[`transition`]))]),_:1}))}}),Pv=(0,d.defineComponent)({__name:`InputWrapperHint`,props:{for:{},hint:{}},setup(e){let t=e;return(e,n)=>t.hint===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:0,id:`${t.for}-hint`,text:t.hint,truncate:!1,role:`alert`,class:`block pt-xs text-xs text-tertiary`},null,8,[`id`,`text`]))}}),$=(0,d.defineComponent)({__name:`ClickableElement`,props:{isDefaultCursor:{type:Boolean,default:!1},class:{default:``}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,class:(0,d.normalizeClass)((0,d.unref)(ca)(`
|
|
488
488
|
rounded-sm outline-2 outline-transparent
|
|
489
489
|
focus-visible:outline-fg-brand-primary
|
|
490
490
|
disabled:cursor-not-allowed
|
|
491
|
-
`,t.class))},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}}),Fv=oa({extend:{theme:{spacing:[`none`,`xxs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`,`5xl`,`6xl`,`7xl`,`8xl`,`9xl`,`10xl`,`11xl`]}}}),Iv={tabindex:`0`,"aria-label":`Help`,class:`ml-xs inline-flex items-center`},Lv=W((0,d.defineComponent)({__name:`InputWrapperLabel`,props:{isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},isRequired:{type:Boolean},for:{},helpText:{},label:{}},setup(e){let t=e;return(e,n)=>t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:0,class:(0,d.normalizeClass)([{"pb-xs":!t.isHorizontal},t.isLabelHidden&&`sr-only`]),gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`,{},void 0,!0),(0,d.createVNode)((0,d.unref)(G),{for:t.for??void 0,text:t.label,class:(0,d.normalizeClass)((0,d.unref)(Fv)(`text-xs font-medium text-secondary`,t.isRequired?`after:pl-xxs after:text-error-primary`:``)),"data-label-required":t.isRequired?``:null,as:`label`},null,8,[`for`,`text`,`class`,`data-label-required`]),t.helpText!==void 0&&t.helpText!==null?((0,d.openBlock)(),(0,d.createBlock)(K,{key:0,label:t.helpText},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,{"is-default-cursor":!0},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,Iv,[(0,d.createVNode)((0,d.unref)(Dn),{class:`size-3.5 shrink-0 text-fg-quaternary`})])]),_:1})]),_:1},8,[`label`])):(0,d.createCommentVNode)(``,!0),(0,d.renderSlot)(e.$slots,`right`,{},void 0,!0)]),_:3},8,[`class`]))}}),[[`__scopeId`,`data-v-aa6c5faa`]]),Rv={key:0},zv=(0,d.defineComponent)({inheritAttrs:!1,__name:`InputWrapper`,props:(0,d.mergeDefaults)({isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},isRequired:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isDisabled:{type:Boolean},disabledReason:{}},{...hv}),setup(e){let t=e,n=(0,d.useAttrs)();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)(K,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[t.isHorizontal?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.normalizeProps)((0,d.mergeProps)({key:0},(0,d.unref)(n))),[(0,d.createVNode)(R,{align:`start`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{class:`h-4.5`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}),(0,d.createVNode)((0,d.unref)(q),{gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Lv,{label:t.label,for:t.for,"is-required":t.isRequired,"is-horizontal":t.isHorizontal,"is-label-hidden":t.isLabelHidden,"help-text":t.helpText},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),_:3},8,[`label`,`for`,`is-required`,`is-horizontal`,`is-label-hidden`,`help-text`]),t.hint!==null||t.errorMessage!==null&&!t.hideErrorMessage?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Rv,[(0,d.createVNode)(Pv,{hint:t.hint,for:t.for},null,8,[`hint`,`for`]),t.hideErrorMessage?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Nv,{key:0,"error-message":t.errorMessage,for:t.for},null,8,[`error-message`,`for`]))])):(0,d.createCommentVNode)(``,!0)]),_:3})]),_:3})],16)):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.normalizeProps)((0,d.mergeProps)({key:1},(0,d.unref)(n))),[(0,d.createVNode)(Lv,{label:t.label,for:t.for,"is-required":t.isRequired,"is-label-hidden":t.isLabelHidden,"help-text":t.helpText},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),_:3},8,[`label`,`for`,`is-required`,`is-label-hidden`,`help-text`]),(0,d.renderSlot)(e.$slots,`default`),(0,d.createVNode)(Pv,{hint:t.hint,for:t.for},null,8,[`hint`,`for`]),t.hideErrorMessage?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Nv,{key:0,"error-message":t.errorMessage,for:t.for},null,8,[`error-message`,`for`]))],16))]),_:3},8,[`is-disabled`,`label`]))}});function Bv(e,t){function n(e){return Array.isArray(e)}return{isMultiple:n,selectedOptions:(0,d.computed)(()=>n(e.value)?e.value.map(e=>({type:`option`,value:e})):e.value===null?[]:[{type:`option`,value:e.value}]),valueLabel:(0,d.computed)(()=>e.value===null?null:n(e.value)?e.value.length===1?t(e.value[0]):`${e.value.length} selected`:t(e.value))}}function Vv(){let e=(0,d.ref)(!1);function t(){e.value=!0}function n(){e.value=!1}function r(n){(n.key===`ArrowUp`||n.key===`ArrowDown`)&&!e.value&&t(),n.key.length===1&&n.key!==` `&&!e.value&&t()}return{isDropdownVisible:e,closeDropdown:n,openDropdown:t,onTriggerKeyDown:r}}var Hv={class:`relative flex size-full flex-col overflow-hidden`},Uv={key:0,class:`pointer-events-none absolute top-0 z-1 h-8 w-full bg-linear-to-b from-primary to-transparent`},Wv={key:1,class:`pointer-events-none absolute bottom-0 z-1 h-8 w-full bg-linear-to-t from-primary to-transparent`},Gv=(0,d.defineComponent)({inheritAttrs:!1,__name:`Scrollable`,props:{as:{default:`div`},distance:{default:250},onNext:{}},setup(e){let t=e,n=(0,d.useAttrs)(),r=(0,d.useTemplateRef)(`scrollable`),i=(0,d.ref)(!1),a=(0,d.ref)(!1);(0,h.useInfiniteScroll)((0,d.computed)(()=>r.value?.$el??null),async()=>{await t.onNext?.()},{distance:t.distance}),(0,h.useMutationObserver)((0,d.computed)(()=>r.value?.$el??null),o,{childList:!0,subtree:!0});function o(){let e=r.value?.$el??null;if(e===null){i.value=!1,a.value=!1;return}i.value=e.scrollTop>0,a.value=e.scrollHeight-e.clientHeight-e.scrollTop>0}(0,d.watch)(()=>r.value?.$el??null,e=>{e!==null&&requestAnimationFrame(o)},{immediate:!0});function s(){o()}return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Hv,[i.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Uv)):(0,d.createCommentVNode)(``,!0),a.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Wv)):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(p.Primitive),(0,d.mergeProps)({ref:`scrollable`},(0,d.unref)(n),{as:t.as,class:`overflow-auto`,onScroll:s}),{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},16,[`as`])]))}});function Kv(){return Math.random().toString(36).substring(2,15)}function qv(e,t,n,r){let i=(0,d.ref)([]),a=(0,d.computed)(()=>e.value.map(e=>({...e,key:Kv()})).sort((e,t)=>{let n=r(e.value),i=r(t.value);return n.localeCompare(i)}));function o(t){return t.filter(t=>t.type===`option`?!e.value.some(e=>JSON.stringify(e.value)===JSON.stringify(t.value)):!0).map(e=>(e.type,{...e,key:Kv()}))}function s(){return{key:Kv(),type:`separator`}}function c(t){return t.sort((t,n)=>{if(t.type!==`option`||n.type!==`option`)return 0;let r=e.value.some(e=>JSON.stringify(e.value)===JSON.stringify(t.value)),i=e.value.some(e=>JSON.stringify(e.value)===JSON.stringify(n.value));return r&&!i?-1:!r&&i?1:0})}function l(r){let l=o(r);if(t.value&&n&&a.value.length>0&&l.length>0){i.value=[...a.value,s(),...l];return}let u=[];u=t.value&&n&&e.value.length>0?e.value:r;let d=u.map(e=>(e.type,{...e,key:Kv()}));if(n){i.value=c(d);return}i.value=d}return{createDisplayItemList:l,displayItems:i}}function Jv(){let e=(0,d.ref)(``),t=(0,d.ref)(e.value),n=(0,d.computed)(()=>t.value.trim()===``);return(0,h.watchDebounced)(e,e=>{t.value=e},{debounce:100}),{isSearchEmpty:n,debouncedSearch:t,search:e}}var[Yv,Xv]=L(`selectContext`),Zv=class{static format(e,t=0){return new Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(e)}static randomBetween(e,t){return Math.floor(Math.random()*(t-e+1))+e}},Qv=(0,d.defineComponent)({__name:`SelectLoading`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(q),{gap:`xs`,class:`py-xs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(3,e=>(0,d.createElementVNode)(`div`,{key:e,class:`h-6 w-full p-sm`},[((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(J),{key:e,style:(0,d.normalizeStyle)({width:`${(0,d.unref)(Zv).randomBetween(40,80)}%`}),animate:!0,class:`h-3`},null,8,[`style`]))])),64))]),_:1}))}});function $v(e,t){let n=(0,d.ref)(``),{contains:r}=(0,p.useFilter)({sensitivity:`base`});function i(e){n.value=e}return{locallyFilteredItems:(0,d.computed)(()=>e.value.filter(e=>n.value.trim().length===0||e.type!==`option`?!0:r(t(e.value),n.value))),localSearch:n,onSearchLocally:i}}var ey=(0,d.defineComponent)({__name:`SelectOption`,props:{label:{},value:{}},setup(e){let t=e,{getItemConfig:n,size:r,onSelectOption:i}=Xv();return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxItem),{value:t.value,class:`group/listbox-item relative z-2 flex w-full cursor-default items-center rounded-sm outline-none hover:bg-secondary-hover data-highlighted:bg-secondary-hover`,onSelect:(0,d.unref)(i)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($a),{config:(0,d.unref)(n)?.(t.value)??null,label:t.label,size:(0,d.unref)(r)},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ListboxItemIndicator),null,{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)((0,d.unref)(It)),{class:`size-3.5 text-tertiary`}))]),_:1})]),_:1},8,[`config`,`label`,`size`])]),_:1},8,[`value`,`onSelect`]))}}),ty={key:0,class:`p-xs pb-none`},ny=9,ry=(0,d.defineComponent)({__name:`SelectContent`,props:(0,d.mergeModels)({displayFn:{},hasVirtualScroll:{type:[Boolean,null],default:!1},isLoading:{type:Boolean,default:!1},items:{},limit:{default:null},search:{default:null},contentWidthClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`nextPage`,`update:search`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),{getItemConfig:a,size:o}=Xv(),s=(0,d.useModel)(e,`modelValue`),{isMultiple:c,selectedOptions:l}=Bv(s,n.displayFn),{locallyFilteredItems:u,localSearch:f,onSearchLocally:h}=$v((0,d.computed)(()=>n.items),n.displayFn),{debouncedSearch:g,search:_}=Jv(),{createDisplayItemList:v,displayItems:y}=qv(l,(0,d.computed)(()=>n.search===`local`?f.value===``:_.value===``),c(s.value),n.displayFn),b=(0,d.computed)(()=>n.search===`local`?f.value:_.value);function x(e){let t=y.value[e]??null;if(t===null)throw Error(`item does not exist`);if(t.type===`separator`)return ny;let n=a?.(t.value)??null;return n===null?o.value===`sm`?28:32:n.description?.layout===`block`?50:32}function S(e){n.search===`local`?h(e):_.value=e}return n.search===`remote`?(0,d.watch)(()=>n.items,e=>{v(e)},{immediate:!0}):(0,d.watch)(u,e=>{v(e)},{immediate:!0}),(0,d.watch)(g,e=>{r(`update:search`,e)}),(0,d.onBeforeUnmount)(()=>{r(`update:search`,``)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxRoot),{modelValue:s.value,"onUpdate:modelValue":t[1]||=e=>s.value=e,"highlight-on-hover":!0,multiple:(0,d.unref)(c)(s.value),"selection-behavior":(0,d.unref)(c)(s.value)?`toggle`:`replace`,class:(0,d.normalizeClass)([n.contentWidthClass,`flex max-h-[min(var(--reka-popover-content-available-height),32rem)] flex-col overflow-hidden`])},{default:(0,d.withCtx)(()=>[n.search===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,ty,[(0,d.createVNode)((0,d.unref)(p.ListboxFilter),{"model-value":b.value,placeholder:(0,d.unref)(i).t(`component.autocomplete.search_placeholder`),class:`h-7 w-full rounded-sm bg-secondary px-md text-xs text-primary outline-none`,"onUpdate:modelValue":S},null,8,[`model-value`,`placeholder`])])),(0,d.createVNode)(Gv,{as:(0,d.unref)(p.ListboxContent),style:(0,d.normalizeStyle)(n.hasVirtualScroll?`max-height: min(var(--reka-popover-content-available-height, 32rem), 32rem)`:void 0),class:`p-xs`,onNext:t[0]||=e=>r(`nextPage`)},{default:(0,d.withCtx)(()=>[n.hasVirtualScroll?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxVirtualizer),{key:0,options:(0,d.unref)(y),overscan:5,"estimate-size":x,"text-content":e=>e.type===`option`?n.displayFn(e.value):``},{default:(0,d.withCtx)(({option:e})=>[e.type===`option`?((0,d.openBlock)(),(0,d.createBlock)(ey,{key:0,label:n.displayFn(e.value),value:e.value},null,8,[`label`,`value`])):e.type===`separator`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(lo),{key:1,class:`my-xs`})):(0,d.createCommentVNode)(``,!0)]),_:1},8,[`options`,`text-content`])):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(y),e=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:e.key},[e.type===`option`?((0,d.openBlock)(),(0,d.createBlock)(ey,{key:0,label:n.displayFn(e.value),value:e.value},null,8,[`label`,`value`])):e.type===`separator`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(lo),{key:1,class:`my-xs`})):(0,d.createCommentVNode)(``,!0)],64))),128)),n.isLoading&&(0,d.unref)(y).length===0?((0,d.openBlock)(),(0,d.createBlock)(Qv,{key:0})):(0,d.createCommentVNode)(``,!0),n.items.length===n.limit?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:1,text:(0,d.unref)(i).t(`component.autocomplete.more_results_available`),truncate:!1,class:`block px-md pt-xs pb-sm text-xxs text-disabled`},null,8,[`text`])):(0,d.createCommentVNode)(``,!0)],64)),(0,d.unref)(y).length===0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:2,text:(0,d.unref)(i).t(`component.autocomplete.no_results_found`),class:`block px-md pt-xs pb-sm text-xs text-disabled`},null,8,[`text`])):(0,d.createCommentVNode)(``,!0)]),_:1},8,[`as`,`style`])]),_:1},8,[`modelValue`,`multiple`,`selection-behavior`,`class`]))}}),iy=(0,d.defineComponent)({__name:`SelectDropdown`,props:(0,d.mergeModels)((0,d.mergeDefaults)({hasVirtualScroll:{type:[Boolean,null]},contentWidthClass:{},displayFn:{type:Function},getItemConfig:{type:[Function,null]},items:{},keepDropdownOpenOnSelect:{type:[Boolean,null]},limit:{},search:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},placeholder:{},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...mv,...hv,...vv(gv,`iconRight`),..._v,disableSideFlip:!0,keepDropdownOpenOnSelect:null,limit:null,popoverAlign:`center`,popoverCollisionPadding:8,popoverSide:`bottom`,popoverSideOffset:4,popoverWidth:`anchor-width`,prioritizePosition:!0,search:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`,`nextPage`,`update:search`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),{isMultiple:a}=Bv(i,n.displayFn),{isDropdownVisible:o,onTriggerKeyDown:s}=Vv();function c(){if(n.keepDropdownOpenOnSelect!==!0){if(n.keepDropdownOpenOnSelect===!1){o.value=!1;return}a(i.value)||(o.value=!1)}}function l(){r(`blur`)}function u(e){e||l()}return(0,d.watch)(o,u),Yv({getItemConfig:n.getItemConfig??null,size:(0,d.computed)(()=>n.size),onSelectOption:c}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(uv,{"is-open":(0,d.unref)(o),"onUpdate:isOpen":t[3]||=e=>(0,d.isRef)(o)?o.value=e:null,"popover-side-offset":4,"popover-animation-name":n.popoverAnimationName,"popover-align":n.popoverAlign,"popover-align-offset":n.popoverAlignOffset,"popover-anchor-reference-element":n.popoverAnchorReferenceElement,"popover-collision-padding":n.popoverCollisionPadding,"popover-container-element":n.popoverContainerElement,"popover-side":n.popoverSide,"popover-width":n.popoverWidth,"is-popover-arrow-visible":n.isPopoverArrowVisible,"disable-update-on-layout-shift":n.disableUpdateOnLayoutShift,"prioritize-position":n.prioritizePosition,"disable-side-flip":n.disableSideFlip,onKeydown:(0,d.unref)(s)},{trigger:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`,{isOpen:(0,d.unref)(o)})]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(ry,(0,d.mergeProps)(e.$attrs,{modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,"is-loading":n.isLoading,search:n.search,"display-fn":n.displayFn,items:n.items,limit:n.limit,"has-virtual-scroll":n.hasVirtualScroll,"content-width-class":n.contentWidthClass,onNextPage:t[1]||=e=>r(`nextPage`),"onUpdate:search":t[2]||=e=>r(`update:search`,e)}),null,16,[`modelValue`,`is-loading`,`search`,`display-fn`,`items`,`limit`,`has-virtual-scroll`,`content-width-class`])]),_:3},8,[`is-open`,`popover-animation-name`,`popover-align`,`popover-align-offset`,`popover-anchor-reference-element`,`popover-collision-padding`,`popover-container-element`,`popover-side`,`popover-width`,`is-popover-arrow-visible`,`disable-update-on-layout-shift`,`prioritize-position`,`disable-side-flip`,`onKeydown`]))}}),ay=[`id`,`disabled`,`aria-expanded`,`aria-busy`,`aria-describedby`,`aria-invalid`,`aria-required`,`aria-controls`],oy={class:`sr-only`},sy=(0,d.defineComponent)({inheritAttrs:!1,__name:`Select`,props:(0,d.mergeModels)((0,d.mergeDefaults)({hasVirtualScroll:{type:[Boolean,null]},contentWidthClass:{},displayFn:{type:Function},getItemConfig:{type:[Function,null]},items:{},keepDropdownOpenOnSelect:{type:[Boolean,null]},limit:{},search:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},placeholder:{},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...mv,...hv,...vv(gv,`iconRight`),..._v,disableSideFlip:!0,keepDropdownOpenOnSelect:null,limit:null,popoverAlign:`center`,popoverCollisionPadding:8,popoverSide:`bottom`,popoverSideOffset:4,popoverWidth:`anchor-width`,prioritizePosition:!0,search:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`,`nextPage`,`update:search`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),a=n.id??(0,d.useId)(),o=(0,d.useAttrs)(),{isMultiple:s,valueLabel:c}=Bv(i,n.displayFn),{isError:l,ariaBusy:u,ariaDescribedBy:f,ariaInvalid:p,ariaRequired:m}=fv(a,n),h=(0,d.computed)(()=>s(i.value)?i.value.map(e=>{let t=n.getItemConfig?.(e)??null;return{avatar:t?.left?.type===`avatar`?{name:t.left.name,src:t.left.src??null}:null,dot:t?.left?.type===`dot`?{color:t.left.color??`gray`}:null,icon:t?.left?.type===`icon`?t.left.icon:null,label:n.displayFn(e)}}):[]),g=(0,d.computed)(()=>s(i.value)||i.value===null?null:n.getItemConfig?.(i.value)??null);return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,"help-text":n.helpText,label:n.label,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(a),"hide-error-message":n.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"icon-left":n.iconLeft,"icon-right":(0,d.unref)(Bt),"is-loading":n.isLoading,"is-error":(0,d.unref)(l),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly,size:n.size},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(R),{class:(0,d.normalizeClass)([{"px-md":n.size===`md`,"px-sm":n.size===`sm`},`size-full overflow-hidden text-left`])},{default:(0,d.withCtx)(()=>[((0,d.unref)(s)(i.value)?i.value.length>0:i.value!==null)?(0,d.renderSlot)(e.$slots,`value`,{key:0},()=>[(0,d.unref)(s)(i.value)?((0,d.openBlock)(),(0,d.createBlock)(Ov,{key:0,badges:h.value,class:`-ml-xs w-full`,size:`sm`,color:`gray`,variant:`translucent`},null,8,[`badges`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:1,align:`center`},{default:(0,d.withCtx)(()=>[g.value?.left?.type===`avatar`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Da),{key:0,name:g.value.left.name,src:g.value.left.src,"image-alt":g.value.left.imageAlt,size:`xxs`},null,8,[`name`,`src`,`image-alt`])):g.value?.left?.type===`icon`?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(g.value.left.icon),{key:1,class:`size-3.5 shrink-0 text-tertiary`})):g.value?.left?.type===`dot`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Wa),{key:2,color:g.value.left.color},null,8,[`color`])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(G),{text:(0,d.unref)(c),class:(0,d.normalizeClass)([{"text-disabled":n.isDisabled,"text-primary":!n.isDisabled},`text-xs font-medium`])},null,8,[`text`,`class`])]),_:1}))]):n.placeholder===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:1,text:n.placeholder,class:`text-xs text-disabled`},null,8,[`text`]))]),_:3},8,[`class`]),(0,d.createVNode)(iy,(0,d.mergeProps)({modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e},n,{"content-width-class":n.contentWidthClass,onBlur:t[1]||=e=>r(`blur`),onNextPage:t[2]||=e=>r(`nextPage`),"onUpdate:search":t[3]||=e=>r(`update:search`,e)}),{trigger:(0,d.withCtx)(({isOpen:e})=>[(0,d.createElementVNode)(`button`,(0,d.mergeProps)((0,d.unref)(o),{id:(0,d.unref)(a),disabled:n.isDisabled,"aria-expanded":e,"aria-busy":(0,d.unref)(u),"aria-describedby":(0,d.unref)(f),"aria-invalid":(0,d.unref)(p),"aria-required":(0,d.unref)(m),"aria-controls":`${(0,d.unref)(a)}-listbox`,role:`combobox`,class:`absolute inset-0 size-full outline-none disabled:cursor-not-allowed`,"data-field-wrapper":``}),[(0,d.createElementVNode)(`span`,oy,(0,d.toDisplayString)((0,d.unref)(c)),1)],16,ay)]),_:1},16,[`modelValue`,`content-width-class`])]),_:3},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`help-text`,`label`,`class`,`style`,`for`,`hide-error-message`]))}}),cy=U({slots:{input:`
|
|
491
|
+
`,t.class))},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}}),Fv=sa({extend:{theme:{spacing:[`none`,`xxs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`,`5xl`,`6xl`,`7xl`,`8xl`,`9xl`,`10xl`,`11xl`]}}}),Iv={tabindex:`0`,"aria-label":`Help`,class:`ml-xs inline-flex items-center`},Lv=U((0,d.defineComponent)({__name:`InputWrapperLabel`,props:{isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},isRequired:{type:Boolean},for:{},helpText:{},label:{}},setup(e){let t=e;return(e,n)=>t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0,class:(0,d.normalizeClass)([{"pb-xs":!t.isHorizontal},t.isLabelHidden&&`sr-only`]),gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`,{},void 0,!0),(0,d.createVNode)((0,d.unref)(W),{for:t.for??void 0,text:t.label,class:(0,d.normalizeClass)((0,d.unref)(Fv)(`text-xs font-medium text-secondary`,t.isRequired?`after:pl-xxs after:text-error-primary`:``)),"data-label-required":t.isRequired?``:null,as:`label`},null,8,[`for`,`text`,`class`,`data-label-required`]),t.helpText!==void 0&&t.helpText!==null?((0,d.openBlock)(),(0,d.createBlock)(G,{key:0,label:t.helpText},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,{"is-default-cursor":!0},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,Iv,[(0,d.createVNode)((0,d.unref)(On),{class:`size-3.5 shrink-0 text-fg-quaternary`})])]),_:1})]),_:1},8,[`label`])):(0,d.createCommentVNode)(``,!0),(0,d.renderSlot)(e.$slots,`right`,{},void 0,!0)]),_:3},8,[`class`]))}}),[[`__scopeId`,`data-v-aa6c5faa`]]),Rv={key:0},zv=(0,d.defineComponent)({inheritAttrs:!1,__name:`InputWrapper`,props:(0,d.mergeDefaults)({isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},isRequired:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isDisabled:{type:Boolean},disabledReason:{}},{...hv}),setup(e){let t=e,n=(0,d.useAttrs)();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[t.isHorizontal?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.normalizeProps)((0,d.mergeProps)({key:0},(0,d.unref)(n))),[(0,d.createVNode)(L,{align:`start`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{class:`h-4.5`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}),(0,d.createVNode)((0,d.unref)(K),{gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Lv,{label:t.label,for:t.for,"is-required":t.isRequired,"is-horizontal":t.isHorizontal,"is-label-hidden":t.isLabelHidden,"help-text":t.helpText},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),_:3},8,[`label`,`for`,`is-required`,`is-horizontal`,`is-label-hidden`,`help-text`]),t.hint!==null||t.errorMessage!==null&&!t.hideErrorMessage?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Rv,[(0,d.createVNode)(Pv,{hint:t.hint,for:t.for},null,8,[`hint`,`for`]),t.hideErrorMessage?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Nv,{key:0,"error-message":t.errorMessage,for:t.for},null,8,[`error-message`,`for`]))])):(0,d.createCommentVNode)(``,!0)]),_:3})]),_:3})],16)):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.normalizeProps)((0,d.mergeProps)({key:1},(0,d.unref)(n))),[(0,d.createVNode)(Lv,{label:t.label,for:t.for,"is-required":t.isRequired,"is-label-hidden":t.isLabelHidden,"help-text":t.helpText},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),_:3},8,[`label`,`for`,`is-required`,`is-label-hidden`,`help-text`]),(0,d.renderSlot)(e.$slots,`default`),(0,d.createVNode)(Pv,{hint:t.hint,for:t.for},null,8,[`hint`,`for`]),t.hideErrorMessage?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Nv,{key:0,"error-message":t.errorMessage,for:t.for},null,8,[`error-message`,`for`]))],16))]),_:3},8,[`is-disabled`,`label`]))}});function Bv(e,t){function n(e){return Array.isArray(e)}return{isMultiple:n,selectedOptions:(0,d.computed)(()=>n(e.value)?e.value.map(e=>({type:`option`,value:e})):e.value===null?[]:[{type:`option`,value:e.value}]),valueLabel:(0,d.computed)(()=>e.value===null?null:n(e.value)?e.value.length===1?t(e.value[0]):`${e.value.length} selected`:t(e.value))}}function Vv(){let e=(0,d.ref)(!1);function t(){e.value=!0}function n(){e.value=!1}function r(n){(n.key===`ArrowUp`||n.key===`ArrowDown`)&&!e.value&&t(),n.key.length===1&&n.key!==` `&&!e.value&&t()}return{isDropdownVisible:e,closeDropdown:n,openDropdown:t,onTriggerKeyDown:r}}var Hv={class:`relative flex size-full flex-col overflow-hidden`},Uv={key:0,class:`pointer-events-none absolute top-0 z-1 h-8 w-full bg-linear-to-b from-primary to-transparent`},Wv={key:1,class:`pointer-events-none absolute bottom-0 z-1 h-8 w-full bg-linear-to-t from-primary to-transparent`},Gv=(0,d.defineComponent)({inheritAttrs:!1,__name:`Scrollable`,props:{as:{default:`div`},distance:{default:250},onNext:{}},setup(e){let t=e,n=(0,d.useAttrs)(),r=(0,d.useTemplateRef)(`scrollable`),i=(0,d.ref)(!1),a=(0,d.ref)(!1);(0,h.useInfiniteScroll)((0,d.computed)(()=>r.value?.$el??null),async()=>{await t.onNext?.()},{distance:t.distance}),(0,h.useMutationObserver)((0,d.computed)(()=>r.value?.$el??null),o,{childList:!0,subtree:!0});function o(){let e=r.value?.$el??null;if(e===null){i.value=!1,a.value=!1;return}i.value=e.scrollTop>0,a.value=e.scrollHeight-e.clientHeight-e.scrollTop>0}(0,d.watch)(()=>r.value?.$el??null,e=>{e!==null&&requestAnimationFrame(o)},{immediate:!0});function s(){o()}return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Hv,[i.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Uv)):(0,d.createCommentVNode)(``,!0),a.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Wv)):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(p.Primitive),(0,d.mergeProps)({ref:`scrollable`},(0,d.unref)(n),{as:t.as,class:`overflow-auto`,onScroll:s}),{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},16,[`as`])]))}});function Kv(){return Math.random().toString(36).substring(2,15)}function qv(e,t,n,r){let i=(0,d.ref)([]),a=(0,d.computed)(()=>e.value.map(e=>({...e,key:Kv()})).sort((e,t)=>{let n=r(e.value),i=r(t.value);return n.localeCompare(i)}));function o(t){return t.filter(t=>t.type===`option`?!e.value.some(e=>JSON.stringify(e.value)===JSON.stringify(t.value)):!0).map(e=>(e.type,{...e,key:Kv()}))}function s(){return{key:Kv(),type:`separator`}}function c(t){return t.sort((t,n)=>{if(t.type!==`option`||n.type!==`option`)return 0;let r=e.value.some(e=>JSON.stringify(e.value)===JSON.stringify(t.value)),i=e.value.some(e=>JSON.stringify(e.value)===JSON.stringify(n.value));return r&&!i?-1:!r&&i?1:0})}function l(r){let l=o(r);if(t.value&&n&&a.value.length>0&&l.length>0){i.value=[...a.value,s(),...l];return}let u=[];u=t.value&&n&&e.value.length>0?e.value:r;let d=u.map(e=>(e.type,{...e,key:Kv()}));if(n){i.value=c(d);return}i.value=d}return{createDisplayItemList:l,displayItems:i}}function Jv(){let e=(0,d.ref)(``),t=(0,d.ref)(e.value),n=(0,d.computed)(()=>t.value.trim()===``);return(0,h.watchDebounced)(e,e=>{t.value=e},{debounce:100}),{isSearchEmpty:n,debouncedSearch:t,search:e}}var[Yv,Xv]=I(`selectContext`),Zv=class{static format(e,t=0){return new Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(e)}static randomBetween(e,t){return Math.floor(Math.random()*(t-e+1))+e}},Qv=(0,d.defineComponent)({__name:`SelectLoading`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{gap:`xs`,class:`py-xs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(3,e=>(0,d.createElementVNode)(`div`,{key:e,class:`h-6 w-full p-sm`},[((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(q),{key:e,style:(0,d.normalizeStyle)({width:`${(0,d.unref)(Zv).randomBetween(40,80)}%`}),animate:!0,class:`h-3`},null,8,[`style`]))])),64))]),_:1}))}});function $v(e,t){let n=(0,d.ref)(``),{contains:r}=(0,p.useFilter)({sensitivity:`base`});function i(e){n.value=e}return{locallyFilteredItems:(0,d.computed)(()=>e.value.filter(e=>n.value.trim().length===0||e.type!==`option`?!0:r(t(e.value),n.value))),localSearch:n,onSearchLocally:i}}var ey=(0,d.defineComponent)({__name:`SelectOption`,props:{label:{},value:{}},setup(e){let t=e,{getItemConfig:n,size:r,onSelectOption:i}=Xv();return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxItem),{value:t.value,class:`group/listbox-item relative z-2 flex w-full cursor-default items-center rounded-sm outline-none hover:bg-secondary-hover data-highlighted:bg-secondary-hover`,onSelect:(0,d.unref)(i)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(eo),{config:(0,d.unref)(n)?.(t.value)??null,label:t.label,size:(0,d.unref)(r)},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ListboxItemIndicator),null,{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)((0,d.unref)(Lt)),{class:`size-3.5 text-tertiary`}))]),_:1})]),_:1},8,[`config`,`label`,`size`])]),_:1},8,[`value`,`onSelect`]))}}),ty={key:0,class:`p-xs pb-none`},ny=9,ry=(0,d.defineComponent)({__name:`SelectContent`,props:(0,d.mergeModels)({displayFn:{},hasVirtualScroll:{type:[Boolean,null],default:!1},isLoading:{type:Boolean,default:!1},items:{},limit:{default:null},search:{default:null},contentWidthClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`nextPage`,`update:search`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),{getItemConfig:a,size:o}=Xv(),s=(0,d.useModel)(e,`modelValue`),{isMultiple:c,selectedOptions:l}=Bv(s,n.displayFn),{locallyFilteredItems:u,localSearch:f,onSearchLocally:h}=$v((0,d.computed)(()=>n.items),n.displayFn),{debouncedSearch:g,search:_}=Jv(),{createDisplayItemList:v,displayItems:y}=qv(l,(0,d.computed)(()=>n.search===`local`?f.value===``:_.value===``),c(s.value),n.displayFn),b=(0,d.computed)(()=>n.search===`local`?f.value:_.value);function x(e){let t=y.value[e]??null;if(t===null)throw Error(`item does not exist`);if(t.type===`separator`)return ny;let n=a?.(t.value)??null;return n===null?o.value===`sm`?28:32:n.description?.layout===`block`?50:32}function S(e){n.search===`local`?h(e):_.value=e}return n.search===`remote`?(0,d.watch)(()=>n.items,e=>{v(e)},{immediate:!0}):(0,d.watch)(u,e=>{v(e)},{immediate:!0}),(0,d.watch)(g,e=>{r(`update:search`,e)}),(0,d.onBeforeUnmount)(()=>{r(`update:search`,``)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxRoot),{modelValue:s.value,"onUpdate:modelValue":t[1]||=e=>s.value=e,"highlight-on-hover":!0,multiple:(0,d.unref)(c)(s.value),"selection-behavior":(0,d.unref)(c)(s.value)?`toggle`:`replace`,class:(0,d.normalizeClass)([n.contentWidthClass,`flex max-h-[min(var(--reka-popover-content-available-height),32rem)] flex-col overflow-hidden`])},{default:(0,d.withCtx)(()=>[n.search===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,ty,[(0,d.createVNode)((0,d.unref)(p.ListboxFilter),{"model-value":b.value,placeholder:(0,d.unref)(i).t(`component.autocomplete.search_placeholder`),class:`h-7 w-full rounded-sm bg-secondary px-md text-xs text-primary outline-none`,"onUpdate:modelValue":S},null,8,[`model-value`,`placeholder`])])),(0,d.createVNode)(Gv,{as:(0,d.unref)(p.ListboxContent),style:(0,d.normalizeStyle)(n.hasVirtualScroll?`max-height: min(var(--reka-popover-content-available-height, 32rem), 32rem)`:void 0),class:`p-xs`,onNext:t[0]||=e=>r(`nextPage`)},{default:(0,d.withCtx)(()=>[n.hasVirtualScroll?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxVirtualizer),{key:0,options:(0,d.unref)(y),overscan:5,"estimate-size":x,"text-content":e=>e.type===`option`?n.displayFn(e.value):``},{default:(0,d.withCtx)(({option:e})=>[e.type===`option`?((0,d.openBlock)(),(0,d.createBlock)(ey,{key:0,label:n.displayFn(e.value),value:e.value},null,8,[`label`,`value`])):e.type===`separator`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{key:1,class:`my-xs`})):(0,d.createCommentVNode)(``,!0)]),_:1},8,[`options`,`text-content`])):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(y),e=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:e.key},[e.type===`option`?((0,d.openBlock)(),(0,d.createBlock)(ey,{key:0,label:n.displayFn(e.value),value:e.value},null,8,[`label`,`value`])):e.type===`separator`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{key:1,class:`my-xs`})):(0,d.createCommentVNode)(``,!0)],64))),128)),n.isLoading&&(0,d.unref)(y).length===0?((0,d.openBlock)(),(0,d.createBlock)(Qv,{key:0})):(0,d.createCommentVNode)(``,!0),n.items.length===n.limit?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:1,text:(0,d.unref)(i).t(`component.autocomplete.more_results_available`),truncate:!1,class:`block px-md pt-xs pb-sm text-xxs text-disabled`},null,8,[`text`])):(0,d.createCommentVNode)(``,!0)],64)),(0,d.unref)(y).length===0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:2,text:(0,d.unref)(i).t(`component.autocomplete.no_results_found`),class:`block px-md pt-xs pb-sm text-xs text-disabled`},null,8,[`text`])):(0,d.createCommentVNode)(``,!0)]),_:1},8,[`as`,`style`])]),_:1},8,[`modelValue`,`multiple`,`selection-behavior`,`class`]))}}),iy=(0,d.defineComponent)({__name:`SelectDropdown`,props:(0,d.mergeModels)((0,d.mergeDefaults)({hasVirtualScroll:{type:[Boolean,null]},contentWidthClass:{},displayFn:{type:Function},getItemConfig:{type:[Function,null]},items:{},keepDropdownOpenOnSelect:{type:[Boolean,null]},limit:{},search:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},placeholder:{},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...mv,...hv,...vv(gv,`iconRight`),..._v,disableSideFlip:!0,keepDropdownOpenOnSelect:null,limit:null,popoverAlign:`center`,popoverCollisionPadding:8,popoverSide:`bottom`,popoverSideOffset:4,popoverWidth:`anchor-width`,prioritizePosition:!0,search:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`,`nextPage`,`update:search`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),{isMultiple:a}=Bv(i,n.displayFn),{isDropdownVisible:o,onTriggerKeyDown:s}=Vv();function c(){if(n.keepDropdownOpenOnSelect!==!0){if(n.keepDropdownOpenOnSelect===!1){o.value=!1;return}a(i.value)||(o.value=!1)}}function l(){r(`blur`)}function u(e){e||l()}return(0,d.watch)(o,u),Yv({getItemConfig:n.getItemConfig??null,size:(0,d.computed)(()=>n.size),onSelectOption:c}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(uv,{"is-open":(0,d.unref)(o),"onUpdate:isOpen":t[3]||=e=>(0,d.isRef)(o)?o.value=e:null,"popover-side-offset":4,"popover-animation-name":n.popoverAnimationName,"popover-align":n.popoverAlign,"popover-align-offset":n.popoverAlignOffset,"popover-anchor-reference-element":n.popoverAnchorReferenceElement,"popover-collision-padding":n.popoverCollisionPadding,"popover-container-element":n.popoverContainerElement,"popover-side":n.popoverSide,"popover-width":n.popoverWidth,"is-popover-arrow-visible":n.isPopoverArrowVisible,"disable-update-on-layout-shift":n.disableUpdateOnLayoutShift,"prioritize-position":n.prioritizePosition,"disable-side-flip":n.disableSideFlip,onKeydown:(0,d.unref)(s)},{trigger:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`trigger`,{isOpen:(0,d.unref)(o)})]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(ry,(0,d.mergeProps)(e.$attrs,{modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,"is-loading":n.isLoading,search:n.search,"display-fn":n.displayFn,items:n.items,limit:n.limit,"has-virtual-scroll":n.hasVirtualScroll,"content-width-class":n.contentWidthClass,onNextPage:t[1]||=e=>r(`nextPage`),"onUpdate:search":t[2]||=e=>r(`update:search`,e)}),null,16,[`modelValue`,`is-loading`,`search`,`display-fn`,`items`,`limit`,`has-virtual-scroll`,`content-width-class`])]),_:3},8,[`is-open`,`popover-animation-name`,`popover-align`,`popover-align-offset`,`popover-anchor-reference-element`,`popover-collision-padding`,`popover-container-element`,`popover-side`,`popover-width`,`is-popover-arrow-visible`,`disable-update-on-layout-shift`,`prioritize-position`,`disable-side-flip`,`onKeydown`]))}}),ay=[`id`,`disabled`,`aria-expanded`,`aria-busy`,`aria-describedby`,`aria-invalid`,`aria-required`,`aria-controls`],oy={class:`sr-only`},sy=(0,d.defineComponent)({inheritAttrs:!1,__name:`Select`,props:(0,d.mergeModels)((0,d.mergeDefaults)({hasVirtualScroll:{type:[Boolean,null]},contentWidthClass:{},displayFn:{type:Function},getItemConfig:{type:[Function,null]},items:{},keepDropdownOpenOnSelect:{type:[Boolean,null]},limit:{},search:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},placeholder:{},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...mv,...hv,...vv(gv,`iconRight`),..._v,disableSideFlip:!0,keepDropdownOpenOnSelect:null,limit:null,popoverAlign:`center`,popoverCollisionPadding:8,popoverSide:`bottom`,popoverSideOffset:4,popoverWidth:`anchor-width`,prioritizePosition:!0,search:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`,`nextPage`,`update:search`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),a=n.id??(0,d.useId)(),o=(0,d.useAttrs)(),{isMultiple:s,valueLabel:c}=Bv(i,n.displayFn),{isError:l,ariaBusy:u,ariaDescribedBy:f,ariaInvalid:p,ariaRequired:m}=fv(a,n),h=(0,d.computed)(()=>s(i.value)?i.value.map(e=>{let t=n.getItemConfig?.(e)??null;return{avatar:t?.left?.type===`avatar`?{name:t.left.name,src:t.left.src??null}:null,dot:t?.left?.type===`dot`?{color:t.left.color??`gray`}:null,icon:t?.left?.type===`icon`?t.left.icon:null,label:n.displayFn(e)}}):[]),g=(0,d.computed)(()=>s(i.value)||i.value===null?null:n.getItemConfig?.(i.value)??null);return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,"help-text":n.helpText,label:n.label,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(a),"hide-error-message":n.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"icon-left":n.iconLeft,"icon-right":(0,d.unref)(Vt),"is-loading":n.isLoading,"is-error":(0,d.unref)(l),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly,size:n.size},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(L),{class:(0,d.normalizeClass)([{"px-md":n.size===`md`,"px-sm":n.size===`sm`},`size-full overflow-hidden text-left`])},{default:(0,d.withCtx)(()=>[((0,d.unref)(s)(i.value)?i.value.length>0:i.value!==null)?(0,d.renderSlot)(e.$slots,`value`,{key:0},()=>[(0,d.unref)(s)(i.value)?((0,d.openBlock)(),(0,d.createBlock)(Ov,{key:0,badges:h.value,class:`-ml-xs w-full`,size:`sm`,color:`gray`,variant:`translucent`},null,8,[`badges`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:1,align:`center`},{default:(0,d.withCtx)(()=>[g.value?.left?.type===`avatar`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Oa),{key:0,name:g.value.left.name,src:g.value.left.src,"image-alt":g.value.left.imageAlt,size:`xxs`},null,8,[`name`,`src`,`image-alt`])):g.value?.left?.type===`icon`?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(g.value.left.icon),{key:1,class:`size-3.5 shrink-0 text-tertiary`})):g.value?.left?.type===`dot`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Ga),{key:2,color:g.value.left.color},null,8,[`color`])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(W),{text:(0,d.unref)(c),class:(0,d.normalizeClass)([{"text-disabled":n.isDisabled,"text-primary":!n.isDisabled},`text-xs font-medium`])},null,8,[`text`,`class`])]),_:1}))]):n.placeholder===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:1,text:n.placeholder,class:`text-xs text-disabled`},null,8,[`text`]))]),_:3},8,[`class`]),(0,d.createVNode)(iy,(0,d.mergeProps)({modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e},n,{"content-width-class":n.contentWidthClass,onBlur:t[1]||=e=>r(`blur`),onNextPage:t[2]||=e=>r(`nextPage`),"onUpdate:search":t[3]||=e=>r(`update:search`,e)}),{trigger:(0,d.withCtx)(({isOpen:e})=>[(0,d.createElementVNode)(`button`,(0,d.mergeProps)((0,d.unref)(o),{id:(0,d.unref)(a),disabled:n.isDisabled,"aria-expanded":e,"aria-busy":(0,d.unref)(u),"aria-describedby":(0,d.unref)(f),"aria-invalid":(0,d.unref)(p),"aria-required":(0,d.unref)(m),"aria-controls":`${(0,d.unref)(a)}-listbox`,role:`combobox`,class:`absolute inset-0 size-full outline-none disabled:cursor-not-allowed`,"data-field-wrapper":``}),[(0,d.createElementVNode)(`span`,oy,(0,d.toDisplayString)((0,d.unref)(c)),1)],16,ay)]),_:1},16,[`modelValue`,`content-width-class`])]),_:3},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`help-text`,`label`,`class`,`style`,`for`,`hide-error-message`]))}}),cy=H({slots:{input:`
|
|
492
492
|
size-full truncate bg-transparent text-xs text-primary outline-none
|
|
493
493
|
placeholder:text-placeholder
|
|
494
494
|
read-only:cursor-default
|
|
495
495
|
disabled:cursor-not-allowed disabled:text-disabled
|
|
496
496
|
disabled:placeholder:text-fg-disabled-subtle
|
|
497
|
-
`},variants:{size:{md:{input:`px-md`},sm:{input:`px-sm`}}}}),ly=[`id`,`value`,`aria-describedby`,`autocomplete`,`name`,`type`,`aria-required`,`readonly`,`aria-busy`,`aria-invalid`,`disabled`,`placeholder`],uy=(0,d.defineComponent)({inheritAttrs:!1,__name:`TextField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({size:{},type:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...mv,...hv,...gv,..._v,size:`md`,type:`text`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e,{expose:t}){let n=e,r=(0,d.useModel)(e,`modelValue`),i=(0,d.computed)(()=>cy({size:n.size})),a=(0,d.useTemplateRef)(`input`),o=(0,d.useAttrs)(),s=n.id??(0,d.useId)(),{isError:c,ariaBusy:l,ariaDescribedBy:u,ariaInvalid:f,ariaRequired:p}=fv(s,n);return t({input:a}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(s),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"icon-left":n.iconLeft,"icon-right":n.iconRight,"is-loading":n.isLoading,"is-error":(0,d.unref)(c),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly,size:n.size},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`right`)]),default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`input`,(0,d.mergeProps)((0,d.unref)(o),{id:(0,d.unref)(s),ref:`input`,value:r.value,"aria-describedby":(0,d.unref)(u),autocomplete:n.autocomplete??void 0,name:n.name??void 0,type:n.type,"aria-required":(0,d.unref)(p),readonly:n.isReadonly,"aria-busy":(0,d.unref)(l),"aria-invalid":(0,d.unref)(f),disabled:n.isDisabled,placeholder:n.placeholder??void 0,class:i.value.input(),"data-field-wrapper":``,onInput:t[0]||=e=>r.value=e.target.value}),null,16,ly)]),_:3},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`]))}});function dy(e){return{isTouched:e.isTouched.value,errorMessage:e.isTouched.value?e.errors.value?.[0]?.message??null:null,modelValue:e.modelValue.value,onBlur:e.onBlur,"onUpdate:modelValue":e[`onUpdate:modelValue`]}}var fy={class:`flex max-w-full flex-col gap-none overflow-hidden`},py={class:`w-96 p-xl`},my=(0,d.defineComponent)({__name:`AddressAutocompleteSelectedCard`,props:{isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},address:{},class:{default:null}},emits:[`clear`,`error`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,{t:i}=(0,m.useI18n)(),a=Z(),o=(0,_.useForm)({initialState:{bus:n.address.bus,city:n.address.city,country:n.address.country,postalCode:n.address.postalCode,street:n.address.street,streetNumber:n.address.streetNumber},schema:v.z.object({bus:v.z.string().nullable(),city:v.z.string(),country:v.z.string(),postalCode:v.z.string(),street:v.z.string(),streetNumber:v.z.string()}),onSubmit:async()=>{await E()}}),s=o.register(`bus`),c=o.register(`city`),l=o.register(`country`),u=o.register(`postalCode`),f=o.register(`street`),p=o.register(`streetNumber`),h=a.addressAutocompleteAdapter.value,{countryItems:g,currentCountryCode:y,displayCountry:b,getCountryItemConfig:x,onCountrySearch:S,onCountrySelect:C}=e_(l),w=(0,d.ref)(!1);(0,d.watch)(()=>n.address,e=>{s.setValue(e.bus),c.setValue(e.city),l.setValue(e.country),u.setValue(e.postalCode),f.setValue(e.street),p.setValue(e.streetNumber)}),(0,d.watch)(w,e=>{e&&(s.setValue(n.address.bus),c.setValue(n.address.city),l.setValue(n.address.country),u.setValue(n.address.postalCode),f.setValue(n.address.street),p.setValue(n.address.streetNumber))});let T=(0,d.computed)(()=>[n.address.street,n.address.streetNumber,n.address.bus].filter(Boolean).join(` `)),ee=(0,d.computed)(()=>[[n.address.postalCode,n.address.city].filter(Boolean).join(` `),n.address.country].filter(Boolean).join(`, `)),te=(0,d.computed)(()=>n.isDisabled||n.isReadonly||n.isLoading);async function E(){try{let e=[`${f.modelValue.value} ${p.modelValue.value}`,`${u.modelValue.value} ${c.modelValue.value}`,l.modelValue.value].map(e=>e?.trim()).filter(Boolean).join(`, `),t=await h.searchAddresses(e);t.length>0?r(`update:modelValue`,await h.getAddressByPlaceId(t[0].placeId)):r(`update:modelValue`,{placeId:null,bus:s.modelValue.value??``,city:c.modelValue.value??``,coordinates:{lat:null,lng:null},country:l.modelValue.value??``,postalCode:u.modelValue.value??``,street:f.modelValue.value??``,streetNumber:p.modelValue.value??``}),w.value=!1}catch(e){r(`error`,e)}}function ne(){w.value=!1}return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)([n.class,`flex max-w-full items-center justify-between gap-md rounded-lg border border-secondary bg-secondary px-lg py-md`])},[(0,d.createElementVNode)(`div`,fy,[(0,d.createVNode)((0,d.unref)(G),{text:T.value,class:`text-sm text-primary`},null,8,[`text`]),(0,d.createVNode)((0,d.unref)(G),{text:ee.value,class:`text-xs text-tertiary`},null,8,[`text`])]),(0,d.createVNode)((0,d.unref)(R),{gap:`xxs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(uv),{"is-open":w.value,"onUpdate:isOpen":t[0]||=e=>w.value=e,"popover-side-offset":8,"popover-side":`bottom`,"popover-align":`end`},{trigger:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(hn),"is-disabled":te.value,"is-loading":n.isLoading,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.edit_address`),size:`sm`,variant:`tertiary`},null,8,[`icon`,`is-disabled`,`is-loading`,`label`])]),content:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,py,[(0,d.createVNode)((0,d.unref)(G_),{"prompt-on-unsaved-changes":!1,form:(0,d.unref)(o)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(q),{gap:`3xl`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(S_),{title:(0,d.unref)(i)(`component.address_autocomplete_selected_card.edit_manually`)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(v_),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(__),{lg:3,md:3,sm:3},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({"is-required":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.street.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.street.placeholder`),class:`col-span-2`},(0,d.unref)(dy)((0,d.unref)(f))),null,16,[`label`,`placeholder`]),(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({"is-required":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.number.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.number.placeholder`)},(0,d.unref)(dy)((0,d.unref)(p))),null,16,[`label`,`placeholder`])]),_:1}),(0,d.createVNode)((0,d.unref)(__),{lg:2,md:2,sm:2},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.bus.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.bus.placeholder`)},(0,d.unref)(dy)((0,d.unref)(s))),null,16,[`label`,`placeholder`]),(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({"is-required":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.postal_code.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.postal_code.placeholder`)},(0,d.unref)(dy)((0,d.unref)(u))),null,16,[`label`,`placeholder`])]),_:1}),(0,d.createVNode)((0,d.unref)(__),{lg:2,md:2,sm:2},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({"is-required":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.city.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.city.placeholder`)},(0,d.unref)(dy)((0,d.unref)(c))),null,16,[`label`,`placeholder`]),(0,d.createVNode)((0,d.unref)(sy),{"is-required":!0,"model-value":(0,d.unref)(y),items:(0,d.unref)(g),"display-fn":(0,d.unref)(b),"get-item-config":(0,d.unref)(x),"error-message":(0,d.unref)(l).isTouched.value?(0,d.unref)(l).errors.value?.[0]?.message??null:null,"has-virtual-scroll":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.country.label`),"prioritize-position":!1,"popover-align":`end`,"content-width-class":`w-[20rem]`,search:`remote`,"popover-width":`content-width`,"onUpdate:modelValue":(0,d.unref)(C),"onUpdate:search":(0,d.unref)(S),onBlur:(0,d.unref)(l).onBlur},null,8,[`model-value`,`items`,`display-fn`,`get-item-config`,`error-message`,`label`,`onUpdate:modelValue`,`onUpdate:search`,`onBlur`])]),_:1})]),_:1})]),_:1},8,[`title`]),(0,d.createVNode)(R,{class:`w-full`,justify:`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(o_),{label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.cancel`),variant:`secondary`,onClick:ne},null,8,[`label`]),(0,d.createVNode)((0,d.unref)(sv),{label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.save`)},null,8,[`label`])]),_:1})]),_:1})]),_:1},8,[`form`])])]),_:1},8,[`is-open`]),(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(nn),"is-disabled":te.value,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.clear_address`),variant:`tertiary`,onClick:t[1]||=e=>r(`clear`)},null,8,[`icon`,`is-disabled`,`label`])]),_:1})],2))}}),hy=(0,d.defineComponent)({__name:`AnimateHeight`,props:{duration:{default:.3}},setup(e){let t=e,n=(0,d.ref)(null),{height:r}=(0,h.useElementSize)(n),i=(0,d.ref)(!1),a=df(),o=(0,d.computed)(()=>i.value&&!a.value?t.duration:0);return(0,d.onMounted)(()=>{setTimeout(()=>{i.value=!0},50)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{animate:{height:(0,d.unref)(r)},transition:{bounce:0,duration:o.value,type:`spring`},tabindex:`-1`,class:`relative flex flex-col`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{ref_key:`el`,ref:n},[(0,d.renderSlot)(e.$slots,`default`)],512)]),_:3},8,[`animate`,`transition`]))}});function gy(e){return e.map(e=>({type:`option`,value:e}))}var[_y,vy]=L(`autocompleteContext`),yy=U({slots:{input:`
|
|
497
|
+
`},variants:{size:{md:{input:`px-md`},sm:{input:`px-sm`}}}}),ly=[`id`,`value`,`aria-describedby`,`autocomplete`,`name`,`type`,`aria-required`,`readonly`,`aria-busy`,`aria-invalid`,`disabled`,`placeholder`],uy=(0,d.defineComponent)({inheritAttrs:!1,__name:`TextField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({size:{},type:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...mv,...hv,...gv,..._v,size:`md`,type:`text`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e,{expose:t}){let n=e,r=(0,d.useModel)(e,`modelValue`),i=(0,d.computed)(()=>cy({size:n.size})),a=(0,d.useTemplateRef)(`input`),o=(0,d.useAttrs)(),s=n.id??(0,d.useId)(),{isError:c,ariaBusy:l,ariaDescribedBy:u,ariaInvalid:f,ariaRequired:p}=fv(s,n);return t({input:a}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(s),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"icon-left":n.iconLeft,"icon-right":n.iconRight,"is-loading":n.isLoading,"is-error":(0,d.unref)(c),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly,size:n.size},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`right`)]),default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`input`,(0,d.mergeProps)((0,d.unref)(o),{id:(0,d.unref)(s),ref:`input`,value:r.value,"aria-describedby":(0,d.unref)(u),autocomplete:n.autocomplete??void 0,name:n.name??void 0,type:n.type,"aria-required":(0,d.unref)(p),readonly:n.isReadonly,"aria-busy":(0,d.unref)(l),"aria-invalid":(0,d.unref)(f),disabled:n.isDisabled,placeholder:n.placeholder??void 0,class:i.value.input(),"data-field-wrapper":``,onInput:t[0]||=e=>r.value=e.target.value}),null,16,ly)]),_:3},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`]))}});function dy(e){return{isTouched:e.isTouched.value,errorMessage:e.isTouched.value?e.errors.value?.[0]?.message??null:null,modelValue:e.modelValue.value,onBlur:e.onBlur,"onUpdate:modelValue":e[`onUpdate:modelValue`]}}var fy={class:`flex max-w-full flex-col gap-none overflow-hidden`},py={class:`w-96 p-xl`},my=(0,d.defineComponent)({__name:`AddressAutocompleteSelectedCard`,props:{isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},address:{},class:{default:null}},emits:[`clear`,`error`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,{t:i}=(0,m.useI18n)(),a=X(),o=(0,_.useForm)({initialState:{bus:n.address.bus,city:n.address.city,country:n.address.country,postalCode:n.address.postalCode,street:n.address.street,streetNumber:n.address.streetNumber},schema:v.z.object({bus:v.z.string().nullable(),city:v.z.string(),country:v.z.string(),postalCode:v.z.string(),street:v.z.string(),streetNumber:v.z.string()}),onSubmit:async()=>{await E()}}),s=o.register(`bus`),c=o.register(`city`),l=o.register(`country`),u=o.register(`postalCode`),f=o.register(`street`),p=o.register(`streetNumber`),h=a.addressAutocompleteAdapter.value,{countryItems:g,currentCountryCode:y,displayCountry:b,getCountryItemConfig:x,onCountrySearch:S,onCountrySelect:C}=t_(l),w=(0,d.ref)(!1);(0,d.watch)(()=>n.address,e=>{s.setValue(e.bus),c.setValue(e.city),l.setValue(e.country),u.setValue(e.postalCode),f.setValue(e.street),p.setValue(e.streetNumber)}),(0,d.watch)(w,e=>{e&&(s.setValue(n.address.bus),c.setValue(n.address.city),l.setValue(n.address.country),u.setValue(n.address.postalCode),f.setValue(n.address.street),p.setValue(n.address.streetNumber))});let T=(0,d.computed)(()=>[n.address.street,n.address.streetNumber,n.address.bus].filter(Boolean).join(` `)),ee=(0,d.computed)(()=>[[n.address.postalCode,n.address.city].filter(Boolean).join(` `),n.address.country].filter(Boolean).join(`, `)),te=(0,d.computed)(()=>n.isDisabled||n.isReadonly||n.isLoading);async function E(){try{let e=[`${f.modelValue.value} ${p.modelValue.value}`,`${u.modelValue.value} ${c.modelValue.value}`,l.modelValue.value].map(e=>e?.trim()).filter(Boolean).join(`, `),t=await h.searchAddresses(e);t.length>0?r(`update:modelValue`,await h.getAddressByPlaceId(t[0].placeId)):r(`update:modelValue`,{placeId:null,bus:s.modelValue.value??``,city:c.modelValue.value??``,coordinates:{lat:null,lng:null},country:l.modelValue.value??``,postalCode:u.modelValue.value??``,street:f.modelValue.value??``,streetNumber:p.modelValue.value??``}),w.value=!1}catch(e){r(`error`,e)}}function ne(){w.value=!1}return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)([n.class,`flex max-w-full items-center justify-between gap-md rounded-lg border border-secondary bg-secondary px-lg py-md`])},[(0,d.createElementVNode)(`div`,fy,[(0,d.createVNode)((0,d.unref)(W),{text:T.value,class:`text-sm text-primary`},null,8,[`text`]),(0,d.createVNode)((0,d.unref)(W),{text:ee.value,class:`text-xs text-tertiary`},null,8,[`text`])]),(0,d.createVNode)((0,d.unref)(L),{gap:`xxs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(uv),{"is-open":w.value,"onUpdate:isOpen":t[0]||=e=>w.value=e,"popover-side-offset":8,"popover-side":`bottom`,"popover-align":`end`},{trigger:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(gn),"is-disabled":te.value,"is-loading":n.isLoading,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.edit_address`),size:`sm`,variant:`tertiary`},null,8,[`icon`,`is-disabled`,`is-loading`,`label`])]),content:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,py,[(0,d.createVNode)((0,d.unref)(G_),{"prompt-on-unsaved-changes":!1,form:(0,d.unref)(o)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(K),{gap:`3xl`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(S_),{title:(0,d.unref)(i)(`component.address_autocomplete_selected_card.edit_manually`)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(v_),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(__),{lg:3,md:3,sm:3},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({"is-required":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.street.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.street.placeholder`),class:`col-span-2`},(0,d.unref)(dy)((0,d.unref)(f))),null,16,[`label`,`placeholder`]),(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({"is-required":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.number.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.number.placeholder`)},(0,d.unref)(dy)((0,d.unref)(p))),null,16,[`label`,`placeholder`])]),_:1}),(0,d.createVNode)((0,d.unref)(__),{lg:2,md:2,sm:2},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.bus.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.bus.placeholder`)},(0,d.unref)(dy)((0,d.unref)(s))),null,16,[`label`,`placeholder`]),(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({"is-required":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.postal_code.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.postal_code.placeholder`)},(0,d.unref)(dy)((0,d.unref)(u))),null,16,[`label`,`placeholder`])]),_:1}),(0,d.createVNode)((0,d.unref)(__),{lg:2,md:2,sm:2},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(uy),(0,d.mergeProps)({"is-required":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.city.label`),placeholder:(0,d.unref)(i)(`component.address_autocomplete_selected_card.city.placeholder`)},(0,d.unref)(dy)((0,d.unref)(c))),null,16,[`label`,`placeholder`]),(0,d.createVNode)((0,d.unref)(sy),{"is-required":!0,"model-value":(0,d.unref)(y),items:(0,d.unref)(g),"display-fn":(0,d.unref)(b),"get-item-config":(0,d.unref)(x),"error-message":(0,d.unref)(l).isTouched.value?(0,d.unref)(l).errors.value?.[0]?.message??null:null,"has-virtual-scroll":!0,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.country.label`),"prioritize-position":!1,"popover-align":`end`,"content-width-class":`w-[20rem]`,search:`remote`,"popover-width":`content-width`,"onUpdate:modelValue":(0,d.unref)(C),"onUpdate:search":(0,d.unref)(S),onBlur:(0,d.unref)(l).onBlur},null,8,[`model-value`,`items`,`display-fn`,`get-item-config`,`error-message`,`label`,`onUpdate:modelValue`,`onUpdate:search`,`onBlur`])]),_:1})]),_:1})]),_:1},8,[`title`]),(0,d.createVNode)(L,{class:`w-full`,justify:`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Z),{label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.cancel`),variant:`secondary`,onClick:ne},null,8,[`label`]),(0,d.createVNode)((0,d.unref)(sv),{label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.save`)},null,8,[`label`])]),_:1})]),_:1})]),_:1},8,[`form`])])]),_:1},8,[`is-open`]),(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(rn),"is-disabled":te.value,label:(0,d.unref)(i)(`component.address_autocomplete_selected_card.clear_address`),variant:`tertiary`,onClick:t[1]||=e=>r(`clear`)},null,8,[`icon`,`is-disabled`,`label`])]),_:1})],2))}}),hy=(0,d.defineComponent)({__name:`AnimateHeight`,props:{duration:{default:.3}},setup(e){let t=e,n=(0,d.ref)(null),{height:r}=(0,h.useElementSize)(n),i=(0,d.ref)(!1),a=ff(),o=(0,d.computed)(()=>i.value&&!a.value?t.duration:0);return(0,d.onMounted)(()=>{setTimeout(()=>{i.value=!0},50)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{animate:{height:(0,d.unref)(r)},transition:{bounce:0,duration:o.value,type:`spring`},tabindex:`-1`,class:`relative flex flex-col`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{ref_key:`el`,ref:n},[(0,d.renderSlot)(e.$slots,`default`)],512)]),_:3},8,[`animate`,`transition`]))}});function gy(e){return e.map(e=>({type:`option`,value:e}))}var[_y,vy]=I(`autocompleteContext`),yy=H({slots:{input:`
|
|
498
498
|
size-full truncate bg-transparent text-xs text-primary outline-none
|
|
499
499
|
placeholder:text-placeholder
|
|
500
500
|
read-only:cursor-default
|
|
501
501
|
disabled:cursor-not-allowed disabled:text-disabled
|
|
502
502
|
disabled:placeholder:text-fg-disabled-subtle
|
|
503
|
-
`},variants:{size:{md:{input:`px-md`},sm:{input:`px-sm`}}}}),by=(0,d.defineComponent)({__name:`AutocompleteLoading`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(q),{gap:`xs`,class:`py-xs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(3,e=>(0,d.createElementVNode)(`div`,{key:e,class:`h-6 w-full p-sm`},[((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(J),{key:e,style:(0,d.normalizeStyle)({width:`${(0,d.unref)(Zv).randomBetween(40,80)}%`}),animate:!0,class:`h-3`},null,8,[`style`]))])),64))]),_:1}))}}),xy=(0,d.defineComponent)({__name:`AutocompleteOption`,props:{label:{},value:{}},setup(e){let t=e,{getItemConfig:n,size:r}=vy();return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ComboboxItem),{value:t.value,class:`group/combobox-item relative z-2 flex w-full cursor-default items-center rounded-sm outline-none hover:bg-secondary-hover data-highlighted:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($a),{config:(0,d.unref)(n)?.(t.value)??null,label:t.label,size:(0,d.unref)(r)},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxItemIndicator),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(It),{class:`size-3.5 text-tertiary`})]),_:1})]),_:1},8,[`config`,`label`,`size`])]),_:1},8,[`value`]))}});function Sy(e,t,n,r){let{contains:i}=(0,p.useFilter)({sensitivity:`base`}),a=(0,d.ref)(t.value);(0,h.watchDebounced)(t,e=>{a.value=e},{debounce:100});let o=(0,d.computed)(()=>t.value.trim().length===0);return{isSearchEmpty:o,debouncedSearch:a,filteredItems:(0,d.computed)(()=>r===`remote`||o.value?e.value:e.value.filter(e=>e.type===`option`?i(n(e.value),t.value):!0))}}var Cy={class:`relative size-full overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},wy={key:1,class:`block px-md pt-xs pb-sm text-xs text-disabled`},Ty=(0,d.defineComponent)({__name:`AutocompleteContent`,props:{displayFn:{},isLoading:{type:Boolean,default:!1},items:{},searchMode:{default:`local`},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{default:`center`},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{default:8},popoverContainerElement:{},popoverSide:{default:`bottom`},popoverSideOffset:{default:4},popoverWidth:{}},emits:[`nextPage`,`update:search`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),{filterSearch:a}=(0,p.injectComboboxRootContext)(),{debouncedSearch:o,filteredItems:s}=Sy((0,d.computed)(()=>n.items),a,n.displayFn,n.searchMode??`local`);return(0,d.watch)(o,e=>{n.searchMode===`remote`&&r(`update:search`,e)}),(0,d.onBeforeUnmount)(()=>{n.searchMode===`remote`&&r(`update:search`,``)}),(t,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ComboboxPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(ur,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxContent),{side:n.popoverSide,align:n.popoverAlign,"align-offset":n.popoverAlignOffset,"hide-when-empty":!0,"side-offset":4,"collision-padding":8,position:`popper`,sticky:`always`,"data-animation":`popover-default`,class:`z-50 w-(--reka-combobox-trigger-width) origin-(--reka-combobox-content-transform-origin) will-change-[transform,opacity]`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Cy,[(0,d.createVNode)(Gv,{class:`max-h-[min(var(--reka-combobox-content-available-height),32rem)] p-xs`,onNext:a[0]||=e=>r(`nextPage`)},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(s),(t,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:t.type===`option`?`option-${e.displayFn(t.value)}`:`sep-${r}`},[t.type===`option`?((0,d.openBlock)(),(0,d.createBlock)(xy,{key:0,label:n.displayFn(t.value),value:t.value},null,8,[`label`,`value`])):t.type===`separator`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(lo),{key:1,class:`my-xs`})):(0,d.createCommentVNode)(``,!0)],64))),128)),n.isLoading&&(0,d.unref)(s).length===0?((0,d.openBlock)(),(0,d.createBlock)(by,{key:0})):!n.isLoading&&(0,d.unref)(s).length===0?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,wy,(0,d.toDisplayString)((0,d.unref)(i).t(`component.autocomplete.no_results_found`)),1)):(0,d.createCommentVNode)(``,!0)]),_:1})])]),_:1},8,[`side`,`align`,`align-offset`])]),_:1})]),_:1}))}}),Ey=(0,d.defineComponent)({inheritAttrs:!1,__name:`Autocomplete`,props:(0,d.mergeModels)((0,d.mergeDefaults)({displayFn:{type:Function},getItemConfig:{type:[Function,null]},items:{},searchMode:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},placeholder:{},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...mv,...hv,...vv(gv,`iconRight`),..._v,disableSideFlip:!0,getItemConfig:null,popoverAlign:`center`,popoverCollisionPadding:8,popoverSide:`bottom`,popoverSideOffset:4,popoverWidth:`anchor-width`,prioritizePosition:!0,searchMode:`remote`,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`,`nextPage`,`update:search`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),a=n.id??(0,d.useId)(),o=(0,d.useAttrs)(),{isError:s,ariaBusy:c,ariaDescribedBy:l,ariaInvalid:u,ariaRequired:f}=fv(a,n),m=(0,d.computed)(()=>yy({size:n.size}));function h(e){return e==null?``:n.displayFn(e)}function g(e){e||r(`blur`)}return _y({getItemConfig:n.getItemConfig??null,size:(0,d.computed)(()=>n.size)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,"help-text":n.helpText,label:n.label,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(a),"hide-error-message":n.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxRoot),{modelValue:i.value,"onUpdate:modelValue":t[2]||=e=>i.value=e,"display-value":h,"ignore-filter":!0,"open-on-click":n.items.length>1,disabled:n.isDisabled,class:`block w-full`,"onUpdate:open":g},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxAnchor),{class:`block w-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"icon-left":n.iconLeft,"icon-right":(0,d.unref)(Bt),"is-loading":n.isLoading,"is-error":(0,d.unref)(s),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly,size:n.size},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`)]),right:(0,d.withCtx)(()=>[n.isDisabled?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ComboboxTrigger),{key:0,class:`absolute top-0 right-0 z-1 size-8 -translate-y-px`}))]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxInput),(0,d.mergeProps)((0,d.unref)(o),{id:(0,d.unref)(a),"display-value":h,name:n.name??void 0,autocomplete:n.autocomplete??void 0,placeholder:n.placeholder??void 0,readonly:n.isReadonly,disabled:n.isDisabled,"aria-describedby":(0,d.unref)(l),"aria-required":(0,d.unref)(f),"aria-busy":(0,d.unref)(c),"aria-invalid":(0,d.unref)(u),class:m.value.input(),"data-field-wrapper":``}),null,16,[`id`,`name`,`autocomplete`,`placeholder`,`readonly`,`disabled`,`aria-describedby`,`aria-required`,`aria-busy`,`aria-invalid`,`class`])]),_:3},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`,`size`])]),_:3}),(0,d.createVNode)(Ty,{"display-fn":n.displayFn,"is-loading":n.isLoading,items:n.items,"popover-align":n.popoverAlign,"popover-align-offset":n.popoverAlignOffset,"popover-collision-padding":n.popoverCollisionPadding,"popover-side":n.popoverSide,"popover-side-offset":n.popoverSideOffset,"search-mode":n.searchMode,onNextPage:t[0]||=e=>r(`nextPage`),"onUpdate:search":t[1]||=e=>r(`update:search`,e)},null,8,[`display-fn`,`is-loading`,`items`,`popover-align`,`popover-align-offset`,`popover-collision-padding`,`popover-side`,`popover-side-offset`,`search-mode`])]),_:3},8,[`modelValue`,`open-on-click`,`disabled`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`help-text`,`label`,`class`,`style`,`for`,`hide-error-message`]))}}),Dy=(0,d.defineComponent)({__name:`AddressAutocomplete`,props:(0,d.mergeModels)({size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},iconLeft:{},placeholder:{},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`,`error`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),{addressAutocompleteAdapter:a}=Z();if(a.value===null)throw Error(`[AddressAutocomplete] No adapter provided. Add an adapter to the ConfigProvider.
|
|
504
|
-
Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutocomplete ... /></ConfigProvider>`);let o=a.value,s=(0,d.ref)(!1),c=(0,d.ref)([]),l=(0,d.ref)(null),u=(0,d.computed)(()=>i.value===null?null:
|
|
503
|
+
`},variants:{size:{md:{input:`px-md`},sm:{input:`px-sm`}}}}),by=(0,d.defineComponent)({__name:`AutocompleteLoading`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{gap:`xs`,class:`py-xs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(3,e=>(0,d.createElementVNode)(`div`,{key:e,class:`h-6 w-full p-sm`},[((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(q),{key:e,style:(0,d.normalizeStyle)({width:`${(0,d.unref)(Zv).randomBetween(40,80)}%`}),animate:!0,class:`h-3`},null,8,[`style`]))])),64))]),_:1}))}}),xy=(0,d.defineComponent)({__name:`AutocompleteOption`,props:{label:{},value:{}},setup(e){let t=e,{getItemConfig:n,size:r}=vy();return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ComboboxItem),{value:t.value,class:`group/combobox-item relative z-2 flex w-full cursor-default items-center rounded-sm outline-none hover:bg-secondary-hover data-highlighted:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(eo),{config:(0,d.unref)(n)?.(t.value)??null,label:t.label,size:(0,d.unref)(r)},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxItemIndicator),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Lt),{class:`size-3.5 text-tertiary`})]),_:1})]),_:1},8,[`config`,`label`,`size`])]),_:1},8,[`value`]))}});function Sy(e,t,n,r){let{contains:i}=(0,p.useFilter)({sensitivity:`base`}),a=(0,d.ref)(t.value);(0,h.watchDebounced)(t,e=>{a.value=e},{debounce:100});let o=(0,d.computed)(()=>t.value.trim().length===0);return{isSearchEmpty:o,debouncedSearch:a,filteredItems:(0,d.computed)(()=>r===`remote`||o.value?e.value:e.value.filter(e=>e.type===`option`?i(n(e.value),t.value):!0))}}var Cy={class:`relative size-full overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},wy={key:1,class:`block px-md pt-xs pb-sm text-xs text-disabled`},Ty=(0,d.defineComponent)({__name:`AutocompleteContent`,props:{displayFn:{},isLoading:{type:Boolean,default:!1},items:{},searchMode:{default:`local`},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{default:`center`},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{default:8},popoverContainerElement:{},popoverSide:{default:`bottom`},popoverSideOffset:{default:4},popoverWidth:{}},emits:[`nextPage`,`update:search`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),{filterSearch:a}=(0,p.injectComboboxRootContext)(),{debouncedSearch:o,filteredItems:s}=Sy((0,d.computed)(()=>n.items),a,n.displayFn,n.searchMode??`local`);return(0,d.watch)(o,e=>{n.searchMode===`remote`&&r(`update:search`,e)}),(0,d.onBeforeUnmount)(()=>{n.searchMode===`remote`&&r(`update:search`,``)}),(t,a)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ComboboxPortal),{to:`body`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxContent),{side:n.popoverSide,align:n.popoverAlign,"align-offset":n.popoverAlignOffset,"hide-when-empty":!0,"side-offset":4,"collision-padding":8,position:`popper`,sticky:`always`,"data-animation":`popover-default`,class:`z-50 w-(--reka-combobox-trigger-width) origin-(--reka-combobox-content-transform-origin) will-change-[transform,opacity]`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Cy,[(0,d.createVNode)(Gv,{class:`max-h-[min(var(--reka-combobox-content-available-height),32rem)] p-xs`,onNext:a[0]||=e=>r(`nextPage`)},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(s),(t,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:t.type===`option`?`option-${e.displayFn(t.value)}`:`sep-${r}`},[t.type===`option`?((0,d.openBlock)(),(0,d.createBlock)(xy,{key:0,label:n.displayFn(t.value),value:t.value},null,8,[`label`,`value`])):t.type===`separator`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{key:1,class:`my-xs`})):(0,d.createCommentVNode)(``,!0)],64))),128)),n.isLoading&&(0,d.unref)(s).length===0?((0,d.openBlock)(),(0,d.createBlock)(by,{key:0})):!n.isLoading&&(0,d.unref)(s).length===0?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,wy,(0,d.toDisplayString)((0,d.unref)(i).t(`component.autocomplete.no_results_found`)),1)):(0,d.createCommentVNode)(``,!0)]),_:1})])]),_:1},8,[`side`,`align`,`align-offset`])]),_:1})]),_:1}))}}),Ey=(0,d.defineComponent)({inheritAttrs:!1,__name:`Autocomplete`,props:(0,d.mergeModels)((0,d.mergeDefaults)({displayFn:{type:Function},getItemConfig:{type:[Function,null]},items:{},searchMode:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},placeholder:{},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{...mv,...hv,...vv(gv,`iconRight`),..._v,disableSideFlip:!0,getItemConfig:null,popoverAlign:`center`,popoverCollisionPadding:8,popoverSide:`bottom`,popoverSideOffset:4,popoverWidth:`anchor-width`,prioritizePosition:!0,searchMode:`remote`,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`,`nextPage`,`update:search`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),a=n.id??(0,d.useId)(),o=(0,d.useAttrs)(),{isError:s,ariaBusy:c,ariaDescribedBy:l,ariaInvalid:u,ariaRequired:f}=fv(a,n),m=(0,d.computed)(()=>yy({size:n.size}));function h(e){return e==null?``:n.displayFn(e)}function g(e){e||r(`blur`)}return _y({getItemConfig:n.getItemConfig??null,size:(0,d.computed)(()=>n.size)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,"help-text":n.helpText,label:n.label,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(a),"hide-error-message":n.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxRoot),{modelValue:i.value,"onUpdate:modelValue":t[2]||=e=>i.value=e,"display-value":h,"ignore-filter":!0,"open-on-click":n.items.length>1,disabled:n.isDisabled,class:`block w-full`,"onUpdate:open":g},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxAnchor),{class:`block w-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"icon-left":n.iconLeft,"icon-right":(0,d.unref)(Vt),"is-loading":n.isLoading,"is-error":(0,d.unref)(s),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly,size:n.size},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`)]),right:(0,d.withCtx)(()=>[n.isDisabled?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ComboboxTrigger),{key:0,class:`absolute top-0 right-0 z-1 size-8 -translate-y-px`}))]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.ComboboxInput),(0,d.mergeProps)((0,d.unref)(o),{id:(0,d.unref)(a),"display-value":h,name:n.name??void 0,autocomplete:n.autocomplete??void 0,placeholder:n.placeholder??void 0,readonly:n.isReadonly,disabled:n.isDisabled,"aria-describedby":(0,d.unref)(l),"aria-required":(0,d.unref)(f),"aria-busy":(0,d.unref)(c),"aria-invalid":(0,d.unref)(u),class:m.value.input(),"data-field-wrapper":``}),null,16,[`id`,`name`,`autocomplete`,`placeholder`,`readonly`,`disabled`,`aria-describedby`,`aria-required`,`aria-busy`,`aria-invalid`,`class`])]),_:3},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`,`size`])]),_:3}),(0,d.createVNode)(Ty,{"display-fn":n.displayFn,"is-loading":n.isLoading,items:n.items,"popover-align":n.popoverAlign,"popover-align-offset":n.popoverAlignOffset,"popover-collision-padding":n.popoverCollisionPadding,"popover-side":n.popoverSide,"popover-side-offset":n.popoverSideOffset,"search-mode":n.searchMode,onNextPage:t[0]||=e=>r(`nextPage`),"onUpdate:search":t[1]||=e=>r(`update:search`,e)},null,8,[`display-fn`,`is-loading`,`items`,`popover-align`,`popover-align-offset`,`popover-collision-padding`,`popover-side`,`popover-side-offset`,`search-mode`])]),_:3},8,[`modelValue`,`open-on-click`,`disabled`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`help-text`,`label`,`class`,`style`,`for`,`hide-error-message`]))}}),Dy=(0,d.defineComponent)({__name:`AddressAutocomplete`,props:(0,d.mergeModels)({size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},iconLeft:{},placeholder:{},disableSideFlip:{type:Boolean},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverAnimationName:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`,`error`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),{addressAutocompleteAdapter:a}=X();if(a.value===null)throw Error(`[AddressAutocomplete] No adapter provided. Add an adapter to the ConfigProvider.
|
|
504
|
+
Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutocomplete ... /></ConfigProvider>`);let o=a.value,s=(0,d.ref)(!1),c=(0,d.ref)([]),l=(0,d.ref)(null),u=(0,d.computed)(()=>i.value===null?null:Ho(i.value)),f=(0,d.computed)(()=>l.value??u.value),p=(0,d.computed)(()=>i.value===null?l.value===null?null:{placeId:l.value.placeId,bus:``,city:``,coordinates:{lat:null,lng:null},country:``,postalCode:l.value.secondaryText,street:l.value.mainText,streetNumber:``}:i.value),m=(0,d.computed)(()=>gy(c.value));async function h(e){s.value=!0;try{c.value=await o.searchAddresses(e)}catch(e){r(`error`,e)}finally{s.value=!1}}async function _(e){if(e===null){i.value=null;return}try{l.value=e,i.value=await o.getAddressByPlaceId(e.placeId)}catch(e){r(`error`,e)}finally{l.value=null}}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(hy,{class:`max-w-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.AnimatePresence),{mode:`wait`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:p.value===null?`autocomplete`:`card`,class:(0,d.normalizeClass)([n.class,`max-w-full`]),initial:{filter:`blur(4px)`,opacity:0},animate:{filter:`blur(0px)`,opacity:1},exit:{filter:`blur(4px)`,opacity:0},transition:{duration:.2}},{default:(0,d.withCtx)(()=>[p.value===null?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Ey),(0,d.mergeProps)({key:1},n,{"model-value":f.value,items:m.value,"is-loading":s.value,"display-fn":e=>(0,d.unref)(Uo)(e),"search-mode":`remote`,onBlur:t[3]||=e=>r(`blur`),"onUpdate:search":h,"onUpdate:modelValue":_}),{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`)]),_:3},16,[`model-value`,`items`,`is-loading`,`display-fn`])):((0,d.openBlock)(),(0,d.createBlock)(my,{key:0,address:p.value,"is-disabled":n.isDisabled,"is-loading":l.value!==null,"is-readonly":n.isReadonly,"onUpdate:modelValue":t[0]||=e=>i.value=e,onClear:t[1]||=e=>i.value=null,onError:t[2]||=e=>r(`error`,e)},null,8,[`address`,`is-disabled`,`is-loading`,`is-readonly`]))]),_:3},8,[`class`]))]),_:3})]),_:3}))}}),Oy={},ky={class:`rounded-lg border border-secondary`};function Ay(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,ky,[(0,d.renderSlot)(e.$slots,`default`)])}var jy=U(Oy,[[`render`,Ay]]),My={};function Ny(e,t){return(0,d.openBlock)(),(0,d.createBlock)(d.Transition,{mode:`out-in`,"enter-active-class":`transition-opacity duration-150 ease-in`,"enter-from-class":`opacity-0`,"enter-to-class":`opacity-100`,"leave-active-class":`transition-opacity duration-100 ease-out`,"leave-from-class":`opacity-100`,"leave-to-class":`opacity-0`,"appear-active-class":`transition-opacity duration-150 ease-in`,"appear-from-class":`opacity-0`,"appear-to-class":`opacity-100`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})}var Py=U(My,[[`render`,Ny]]),Fy=`14rem`,Iy=`3rem`,Ly=`0.5625rem`,Ry=`1rem`,zy=`1.875rem`,By=`1.875rem`,Vy=`0.1875rem`,Hy=`0.1875rem`,Uy=`1.875rem`,Wy=(0,d.ref)(!1),Gy=(0,d.ref)(Fy),Ky=(0,d.ref)(`hidden`);function qy(){let e=(0,h.useBreakpoints)({xl:960}),t=(0,h.useLocalStorage)(`dashboard-sidebar-is-open`,!0),n=e.smaller(`xl`),r=(0,d.computed)({get:()=>n.value?Wy.value:t.value,set:e=>{n.value?Wy.value=e:(Ky.value===`minified`&&(Gy.value=e?Fy:Iy),t.value=e)}}),i=Ly,a=Ry,o=zy,s=By,c=Vy,l=Hy,u=Uy;function f(){n.value&&(Wy.value=!1)}function p(e){if(Ky.value=e,e===`minified`){Gy.value=r.value?Fy:Iy;return}Gy.value=Fy}return{isFloatingSidebar:n,isSidebarOpen:r,closeIfFloatingSidebar:f,collapsedVariant:Ky,minifiedSidebarWidth:Iy,setCollapsedVariant:p,sidebarAvatarPadding:l,sidebarContainerPadding:i,sidebarIconCellSize:o,sidebarIconSize:a,sidebarLinkHeight:s,sidebarLogoHeight:u,sidebarLogoPadding:c,sidebarWidth:Gy}}var Jy={class:`flex h-12 items-center justify-center`,type:`button`},Yy={class:`flex w-full flex-col overflow-hidden`},Xy=(0,d.defineComponent)({__name:`MainSidebarFooterAccountCard`,props:{name:{},actions:{},avatarUrl:{},email:{}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r,sidebarIconCellSize:i}=qy(),a=`${i} 1fr`;return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)(Fo,{actions:t.actions,"current-context-only":!1,"popover-side":`right`,"popover-align":`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,Jy,[(0,d.createVNode)((0,d.unref)(jy),{class:(0,d.normalizeClass)([(0,d.unref)(r)===`minified`&&!(0,d.unref)(n)?`border-transparent`:`
|
|
505
505
|
border-fg-primary/10 bg-fg-primary/3 p-md py-sm pl-xs
|
|
506
506
|
hover:bg-fg-primary/4
|
|
507
|
-
`,`grid w-full gap-xs overflow-hidden text-left duration-100`]),style:(0,d.normalizeStyle)({gridTemplateColumns:a})},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(R),{align:`center`,justify:`center`,class:`h-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Da,{name:t.name??t.email,src:t.avatarUrl,"is-static-color":!0,size:`xs`},null,8,[`name`,`src`])]),_:1}),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(r)!==`minified`||(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:0,justify:`between`,align:`center`,gap:`xxs`,class:`overflow-hidden`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Yy,[(0,d.createVNode)((0,d.unref)(G),{text:t.name??`-`,"disable-tooltip":!0,class:`w-full text-xs font-semibold text-primary`},null,8,[`text`]),(0,d.createVNode)((0,d.unref)(G),{text:t.email,"disable-tooltip":!0,class:`w-full text-xs text-tertiary`},null,8,[`text`])]),(0,d.createVNode)(q,{align:`start`,class:`h-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Bt),{class:`mt-xxs size-4 shrink-0 text-quaternary`})]),_:1})]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`class`,`style`])])]),_:1})]),_:1},8,[`actions`]))}}),Zy={};function Qy(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`)}var $y=W(Zy,[[`render`,Qy]]),eb=(0,d.defineComponent)({__name:`MainSidebarGlobalSearch`,emits:[`click`],setup(e,{emit:t}){let n=t,r=(0,m.useI18n)();function i(){n(`click`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Q),{icon:(0,d.unref)(qn),label:(0,d.unref)(r).t(`components.sidebar.global_search.label`),variant:`tertiary`,onClick:i},null,8,[`icon`,`label`]))}}),tb=(0,d.defineComponent)({__name:`MainSidebarHeaderContainer`,setup(e){let{sidebarLogoHeight:t}=qy();return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{style:(0,d.normalizeStyle)({height:(0,d.unref)(t)})},[(0,d.renderSlot)(e.$slots,`default`)],4))}}),nb=[`src`,`alt`],rb=(0,d.defineComponent)({__name:`Logo`,props:{alt:{},size:{},src:{}},setup(e){let t=e,n=(0,d.ref)(!1);return(e,r)=>n.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:(0,d.normalizeClass)([{"size-12 rounded-2xl":t.size===`lg`,"size-10 rounded-xl":t.size===`md`,"size-8 rounded-lg":t.size===`sm`,"size-6 rounded-md":t.size===`xs`,"size-5 rounded-sm":t.size===`xxs`,"size-3.5 rounded-xs":t.size===`3xs`},`shrink-0 bg-quaternary`])},null,2)):((0,d.openBlock)(),(0,d.createElementBlock)(`img`,{key:1,src:t.src,alt:t.alt,class:(0,d.normalizeClass)([{"size-12 rounded-2xl":t.size===`lg`,"size-10 rounded-xl":t.size===`md`,"size-8 rounded-lg":t.size===`sm`,"size-6 rounded-md":t.size===`xs`,"size-5 rounded-sm":t.size===`xxs`,"size-3.5 rounded-xs":t.size===`3xs`},`shrink-0 overflow-hidden from-black/20 to-white/10 object-contain dark:bg-primary-solid dark:bg-linear-to-b`]),onError:r[0]||=e=>n.value=!0},null,42,nb))}}),ib={key:0,class:`text-sm font-semibold text-secondary`},ab={key:0},ob=(0,d.defineComponent)({__name:`MainSidebarHeaderLogoWithText`,props:{name:{},url:{}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r,sidebarLogoPadding:i}=qy();return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)(tb,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{justify:`between`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{style:(0,d.normalizeStyle)({padding:(0,d.unref)(i)})},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(rb,{src:t.url,alt:`Logo`,size:`xs`},null,8,[`src`]),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(r)!==`minified`||(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,ib,(0,d.toDisplayString)(t.name),1)):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`style`]),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(r)!==`minified`||(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,ab,[(0,d.renderSlot)(e.$slots,`right`)])):(0,d.createCommentVNode)(``,!0)]),_:3})]),_:3})]),_:3}))}}),sb={class:`truncate text-xs text-secondary`},cb=(0,d.defineComponent)({__name:`MainSidebarHeaderReturnToApp`,props:{to:{}},setup(e){let t=e,n=(0,m.useI18n)(),{isSidebarOpen:r,closeIfFloatingSidebar:i,collapsedVariant:a,sidebarIconCellSize:o,sidebarIconSize:s}=qy(),c=`${o} 1fr`;return(e,l)=>((0,d.openBlock)(),(0,d.createBlock)(tb,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{class:`w-fit`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(K,{"keyboard-shortcut":{key:`Backspace`,meta:!0},label:(0,d.unref)(n).t(`components.sidebar.return_to_app`)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(y.RouterLink),{to:t.to,style:(0,d.normalizeStyle)({height:(0,d.unref)(o),gridTemplateColumns:c}),"aria-label":(0,d.unref)(n).t(`components.sidebar.return_to_app`),class:`grid w-full rounded-md duration-100 hover:bg-secondary-hover`,onClick:l[0]||=e=>(0,d.unref)(i)()},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{style:(0,d.normalizeStyle)({width:(0,d.unref)(o),height:(0,d.unref)(o)}),align:`center`,justify:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Wt),{style:(0,d.normalizeStyle)({width:(0,d.unref)(s),height:(0,d.unref)(s)}),class:`shrink-0 text-secondary`},null,8,[`style`])]),_:1},8,[`style`]),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(a)!==`minified`||(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createBlock)(R,{key:0,align:`center`,class:`overflow-hidden pr-md`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`span`,sb,(0,d.toDisplayString)((0,d.unref)(n).t(`components.sidebar.return_to_app`)),1)]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`to`,`style`,`aria-label`])]),_:1})]),_:1},8,[`label`])]),_:1})]),_:1}))}}),lb={class:`w-full`},ub=(0,d.defineComponent)({__name:`MainSidebarNavigationGroup`,props:{label:{default:null}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r}=qy();return(e,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,lb,[t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`span`,{key:0,class:(0,d.normalizeClass)([{"opacity-0":(0,d.unref)(r)===`minified`&&!(0,d.unref)(n)},`block px-sm pb-sm text-xs font-medium whitespace-nowrap text-quaternary transition-opacity duration-150 ease-in-out`])},(0,d.toDisplayString)(t.label),3)),(0,d.createVNode)((0,d.unref)(q),{align:`start`,gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]))}}),db=(0,d.defineComponent)({__name:`MainSidebarNavigationGroups`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(q),{gap:`2xl`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),[fb,pb]=L(`MainSidebarNavigationLinkContextKey`),mb=(0,d.defineComponent)({__name:`MainSidebarNavigationLinkProvider`,props:{isActive:{type:Boolean}},setup(e){let t=e;return fb({isActive:(0,d.computed)(()=>t.isActive)}),(e,t)=>(0,d.renderSlot)(e.$slots,`default`)}}),hb=[`data-active`],gb={class:`truncate text-xs font-medium whitespace-nowrap text-secondary duration-100 group-hover:text-primary group-data-active:text-brand-secondary`},_b=(0,d.defineComponent)({__name:`MainSidebarNavigationLink`,props:{isActive:{type:Function,default:()=>!1},icon:{},keyboardShortcut:{default:null},label:{},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,{isSidebarOpen:i,closeIfFloatingSidebar:a,collapsedVariant:o,sidebarIconCellSize:s,sidebarIconSize:c,sidebarLinkHeight:l}=qy(),u=(0,y.useRoute)();function f(){a(),r(`click`)}let p=`${s} 1fr`,m=(0,d.computed)(()=>!!(o.value===`hidden`&&n.keyboardShortcut===null||o.value===`minified`&&i&&n.keyboardShortcut===null));return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(K,{"is-disabled":m.value,"keyboard-shortcut":n.keyboardShortcut,label:n.label,"popover-side":`right`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(y.RouterLink),{to:n.to,class:`w-full`,onClick:f},{default:(0,d.withCtx)(({isActive:t})=>[(0,d.createVNode)(mb,{"is-active":t},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{"data-active":t||n.isActive((0,d.unref)(u))||void 0,style:(0,d.normalizeStyle)({height:(0,d.unref)(l),gridTemplateColumns:p}),class:`group grid rounded-md duration-100 hover:bg-fg-primary/4 data-active:bg-fg-primary/4`},[(0,d.createVNode)(R,{style:(0,d.normalizeStyle)({width:(0,d.unref)(s),height:(0,d.unref)(s)}),align:`center`,justify:`center`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(n.icon),{style:(0,d.normalizeStyle)({width:(0,d.unref)(c),height:(0,d.unref)(c)}),class:`shrink-0 text-fg-quaternary duration-100 group-data-active:text-fg-brand-primary dark:group-data-active:text-fg-primary`},null,8,[`style`]))]),_:1},8,[`style`]),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(o)!==`minified`||(0,d.unref)(i)?((0,d.openBlock)(),(0,d.createBlock)(R,{key:0,align:`center`,justify:`between`,gap:`md`,class:`overflow-hidden pr-md`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`span`,gb,(0,d.toDisplayString)(n.label),1),(0,d.createVNode)(R,{gap:`lg`,align:`center`,class:`shrink-0`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`right`)]),_:3})]),_:3})):(0,d.createCommentVNode)(``,!0)]),_:3})],12,hb)]),_:2},1032,[`is-active`])]),_:3},8,[`to`])]),_:3})]),_:3},8,[`is-disabled`,`keyboard-shortcut`,`label`]))}}),vb=(0,d.defineComponent)({__name:`BadgeSeparator`,setup(e){let{variants:t}=bv();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(lo),{class:(0,d.normalizeClass)((0,d.unref)(t).separator()),orientation:`vertical`},null,8,[`class`]))}}),yb=(0,d.defineComponent)({__name:`MainSidebarNavigationLinkBadge`,props:{label:{}},setup(e){let t=e,{isActive:n}=pb();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Ev),{label:t.label,color:(0,d.unref)(n)?`brand`:`gray`,size:`sm`},null,8,[`label`,`color`]))}}),bb={},xb={class:`size-2 rounded-full bg-success-500`};function Sb(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,xb)}var Cb=W(bb,[[`render`,Sb]]),wb={class:`flex h-full flex-col justify-between overflow-hidden text-primary`},Tb=(0,d.defineComponent)({__name:`MainSidebarContent`,setup(e){let{sidebarContainerPadding:t}=qy();return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,wb,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)({paddingLeft:(0,d.unref)(t),paddingRight:(0,d.unref)(t),paddingBottom:(0,d.unref)(t)})},[(0,d.renderSlot)(e.$slots,`header`)],4),(0,d.createElementVNode)(`nav`,{style:(0,d.normalizeStyle)({padding:(0,d.unref)(t)}),class:`flex h-full flex-col justify-between gap-2xl overflow-y-auto`},[(0,d.renderSlot)(e.$slots,`navigation`),(0,d.renderSlot)(e.$slots,`bottom-navigation`)],4),(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)({padding:(0,d.unref)(t)}),class:`flex flex-col gap-sm`},[(0,d.renderSlot)(e.$slots,`footer`)],4)]))}}),Eb=(0,d.defineComponent)({__name:`MainSidebarTransition`,setup(e){let t=df();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{initial:{transform:`translateX(-100%)`},animate:{transform:`translateX(0%)`},exit:{transform:`translateX(-100%)`},transition:{duration:(0,d.unref)(t)?0:.3,type:`spring`,bounce:0}},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`transition`]))}}),Db={class:`size-full rounded-xl border border-secondary bg-secondary py-md shadow-lg/5`},Ob=(0,d.defineComponent)({__name:`MainSidebar`,props:{collapsedVariant:{default:`hidden`}},setup(e){let t=e,{isFloatingSidebar:n,isSidebarOpen:r,setCollapsedVariant:i,sidebarWidth:a}=qy(),o=(0,m.useI18n)(),s=df();return i(t.collapsedVariant),(t,i)=>(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogRoot),{key:0,open:(0,d.unref)(r),"onUpdate:open":i[0]||=e=>(0,d.isRef)(r)?r.value=e:null},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogContent),{key:0,"as-child":!0,"force-mount":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Eb,{class:`absolute z-6 h-full w-64 p-md outline-none`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Db,[(0,d.createVNode)((0,d.unref)(p.DialogTitle),{as:`h1`,class:`sr-only`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(o).t(`components.sidebar.title`)),1)]),_:1}),(0,d.createVNode)((0,d.unref)(p.DialogDescription),{class:`sr-only`,as:`p`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(o).t(`components.sidebar.description`)),1)]),_:1}),(0,d.createVNode)(Tb,null,{header:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`header`)]),navigation:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`footer`)]),_:3})])]),_:3})]),_:3})):(0,d.createCommentVNode)(``,!0),(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogOverlay),{key:1,"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.Motion),{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:(0,d.unref)(s)?0:.3},class:`absolute inset-0 z-5 bg-black/10`},null,8,[`transition`])]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:3})]),_:3},8,[`open`])):e.collapsedVariant===`hidden`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{key:1,initial:!1},{default:(0,d.withCtx)(()=>[(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createBlock)(Eb,{key:0,style:(0,d.normalizeStyle)({width:(0,d.unref)(a)}),class:`absolute h-full pt-md`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Tb,null,{header:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`header`)]),navigation:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`footer`)]),_:3})]),_:3},8,[`style`])):(0,d.createCommentVNode)(``,!0)]),_:3})):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:2,initial:!1,animate:{width:(0,d.unref)(a)},transition:{duration:(0,d.unref)(s)?0:.3,type:`spring`,bounce:0},style:(0,d.normalizeStyle)({width:(0,d.unref)(a)}),class:`absolute z-1 h-full overflow-hidden pt-[0.475rem]`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Tb,null,{header:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`header`)]),navigation:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`footer`)]),_:3})]),_:3},8,[`animate`,`transition`,`style`]))}}),kb=(0,d.defineComponent)({__name:`TextShimmer`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,class:`animate-shimmer bg-[linear-gradient(110deg,var(--text-disabled)_40%,var(--text-primary)_50%,var(--text-disabled)_60%)] bg-size-[300%_100%] bg-clip-text! text-transparent dark:bg-[linear-gradient(110deg,var(--text-disabled)_40%,var(--text-primary)_50%,var(--text-disabled)_60%)]`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),Ab={class:`size-full p-md pl-none`},jb={class:`size-full rounded-2xl border border-secondary bg-primary shadow-sm/5`},Mb={class:`text-sm font-medium`},Nb=(0,d.defineComponent)({__name:`ApplicationLoadingView`,props:{isFetchingAuthUser:{type:Boolean}},setup(e){let t=e,n=(0,m.useI18n)(),r=(0,y.useRouter)(),{isFloatingSidebar:i,isSidebarOpen:a,sidebarWidth:o}=qy(),s=(0,d.ref)(!0),c=(0,d.ref)(!1),l=df();r.isReady().then(()=>{s.value=!1});let u=(0,d.computed)(()=>t.isFetchingAuthUser||s.value);return setTimeout(()=>{c.value=!0},500),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),null,{default:(0,d.withCtx)(()=>[u.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,exit:{opacity:0},transition:{duration:(0,d.unref)(l)?0:.2},style:(0,d.normalizeStyle)({paddingLeft:(0,d.unref)(a)&&!(0,d.unref)(i)?(0,d.unref)(o):`0.5rem`}),class:`absolute inset-0 z-99 size-full bg-secondary`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Ab,[(0,d.createElementVNode)(`div`,jb,[c.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(q),{key:0,class:`size-full`,align:`center`,justify:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(kb),null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`h1`,Mb,(0,d.toDisplayString)((0,d.unref)(n).t(`component.dashboard_page_loading_state.loading`)),1)]),_:1})]),_:1})):(0,d.createCommentVNode)(``,!0)])])]),_:1},8,[`transition`,`style`])):(0,d.createCommentVNode)(``,!0)]),_:1}))}}),Pb={class:`rounded-2xl border border-secondary bg-secondary px-lg py-sm shadow-lg duration-200 ease-in-out group-hover:translate-y-0.5 group-hover:scale-102`},Fb={class:`grid grid-cols-[auto_auto] items-center gap-x-md gap-y-none`},Ib={class:`flex`},Lb=(0,d.defineComponent)({__name:`ApplicationOfflineWarning`,setup(e){let t=(0,m.useI18n)(),{isOnline:n}=(0,h.useNetwork)(),r=(0,d.ref)(!1),i=(0,d.computed)(()=>!n.value);function a(){r.value=!0}(0,d.watch)(i,e=>{e&&(r.value=!1)});let o=df();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),null,{default:(0,d.withCtx)(()=>[i.value&&!r.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-40},"as-child":!0,transition:{type:`spring`,bounce:0,duration:(0,d.unref)(o)?0:.3},"while-hover":`hovered`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($),null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,{class:`group absolute top-4 left-1/2 z-10 -translate-x-1/2`,onClick:a},[(0,d.createElementVNode)(`div`,Pb,[(0,d.createElementVNode)(`div`,Fb,[(0,d.createVNode)((0,d.unref)(tr),{class:`size-3 text-tertiary`}),(0,d.createVNode)((0,d.unref)(G),{text:(0,d.unref)(t).t(`component.offline_warning.title`),class:`text-xs text-primary`},null,8,[`text`]),n[0]||=(0,d.createElementVNode)(`span`,null,null,-1),(0,d.createVNode)((0,d.unref)(g.Motion),{variants:{hovered:{height:`auto`,opacity:1,y:0}},initial:{height:`0px`,y:-8,opacity:0},transition:{type:`spring`,bounce:0,duration:.3},class:`will-change-transform`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Ib,[(0,d.createVNode)((0,d.unref)(G),{text:(0,d.unref)(t).t(`component.offline_warning.dismiss`),class:`text-xs text-disabled`},null,8,[`text`])])]),_:1})])])])]),_:1})]),_:1},8,[`transition`])):(0,d.createCommentVNode)(``,!0)]),_:1}))}}),Rb={href:`#main-content`,class:`absolute top-2 left-2 z-99 rounded-sm bg-primary p-xs text-sm text-primary not-focus-visible:sr-only`},zb=(0,d.defineComponent)({__name:`ApplicationSkipToMainContent`,setup(e){let t=(0,m.useI18n)();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)($),null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`a`,Rb,(0,d.toDisplayString)((0,d.unref)(t).t(`component.skip_to_main_content_link.label`)),1)]),_:1}))}}),Bb={class:`flex items-center gap-x-xs`},Vb={key:0,class:`flex items-center gap-x-xs text-disabled`},Hb={class:`text-secondary`},Ub={key:2,class:`text-disabled`},Wb=(0,d.defineComponent)({__name:`CommandMenuActionItem`,props:{action:{},ctx:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.computed)(()=>(0,f.resolveActionBreadcrumbs)(n.action,n.ctx)),a=(0,d.computed)(()=>i.value.length===0?null:n.action.icon===void 0?i.value[0]?.icon??null:n.action.icon(n.ctx));return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxItem),{value:e.action.id,"data-id":e.action.id,class:`flex cursor-default items-center justify-between rounded-md px-lg py-md text-xs`,"data-item":``,onSelect:n[0]||=e=>r(`select`)},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Bb,[i.value.length>0?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,Vb,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(i.value,(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:t,gap:`xs`},{default:(0,d.withCtx)(()=>[a.value!==null&&t===0?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(a.value),{key:0,class:`size-3.5 text-tertiary`})):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`span`,null,(0,d.toDisplayString)(e.label),1),(0,d.createVNode)((0,d.unref)(Jt),{class:`size-3 text-tertiary`})]),_:2},1024))),128))])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(R),{gap:`sm`},{default:(0,d.withCtx)(()=>[(0,d.unref)(f.resolveActionAvatar)(e.action,e.ctx)===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Da),(0,d.mergeProps)({key:0},(0,d.unref)(f.resolveActionAvatar)(e.action,e.ctx),{size:`xxs`}),null,16)),e.action.icon!==void 0&&i.value.length===0?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.action.icon(e.ctx)),{key:1,class:`size-3.5 text-secondary`})):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`span`,Hb,(0,d.toDisplayString)((0,d.unref)(f.resolveActionName)(e.action,e.ctx)),1),(0,d.unref)(f.resolveActionHint)(e.action,e.ctx)?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,Ub,(0,d.toDisplayString)((0,d.unref)(f.resolveActionHint)(e.action,e.ctx)),1)):(0,d.createCommentVNode)(``,!0)]),_:1})]),(0,d.unref)(f.resolveActionSelected)(e.action,e.ctx)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(It),{key:0,class:`size-3 text-primary`})):(0,d.createCommentVNode)(``,!0),e.action.keyboardShortcut===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Sr),{key:1,"keyboard-shortcut":e.action.keyboardShortcut},null,8,[`keyboard-shortcut`]))]),_:1},8,[`value`,`data-id`]))}}),Gb={class:`p-lg`,role:`status`,"aria-live":`polite`},Kb={class:`sr-only`},qb=(0,d.defineComponent)({__name:`CommandMenuLoadingSkeleton`,setup(e){let t=(0,m.useI18n)();return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Gb,[(0,d.createElementVNode)(`span`,Kb,(0,d.toDisplayString)((0,d.unref)(t).t(`component.command_menu.loading_actions`)),1),(0,d.createVNode)((0,d.unref)(q),{gap:`4xl`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(2,e=>(0,d.createElementVNode)(`div`,{key:e},[(0,d.createVNode)((0,d.unref)(J),{class:`h-2 w-20`}),(0,d.createVNode)((0,d.unref)(q),{class:`mt-xl`,gap:`lg`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-40`}),(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-24`}),(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-48`}),(0,d.createVNode)((0,d.unref)(J),{class:`h-3 w-40`})]),_:1})])),64))]),_:1})]))}}),Jb={class:`relative flex items-center border-b border-secondary`},Yb={class:`text-xxs text-tertiary`},Xb={class:`text-xxs text-disabled`},Zb={key:0,class:`h-full border-l border-secondary p-xl`},Qb=W((0,d.defineComponent)({__name:`CommandMenu`,props:(0,d.mergeModels)({action:{}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:(0,d.mergeModels)([`afterLeave`,`close`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`isOpen`),a=(0,f.useActionManagerStore)(),o=(0,f.useActionRegistryStore)().allActions(),s=a.focusedModels,c=(0,m.useI18n)(),l=(0,d.useTemplateRef)(`listboxRoot`),u=(0,d.useTemplateRef)(`listboxContent`),h=ft(`Shift`),g=(0,d.ref)([]),_=(0,d.ref)(``),{isLoadingActions:v,buildContext:y,refreshActions:b,resolvedActions:x,subActionsMetaMap:S}=(0,f.useCommandMenuActions)({actionsSnapshot:o,focusedModelsSnapshot:s,listboxContentRef:u,listboxRootRef:l,manager:a,navStack:g,searchInput:_}),{highlightedActionId:C,activateAction:w,breadcrumbs:T,currentParent:ee,placeholder:te,preview:E,onKeyDown:ne}=(0,f.useCommandMenuNavigation)({isShiftKeyHeld:h,buildContext:y,emit:r,listboxRootRef:l,manager:a,navStack:g,refreshActions:b,resolvedActions:x,scrollToTopOfGroup:A,searchInput:_,subActionsMetaMap:S}),{hasNavigated:D,isBouncing:O}=(0,f.useCommandMenuAnimation)(i,()=>g.value.length),k=(0,d.computed)(()=>(0,f.buildCommandMenuGroups)(x.value,y()));n.action!==void 0&&w(n.action),b();function A(){let e=l.value?.highlightedElement?.getAttribute(`data-id`)??null;if(e===null)return;let t=u.value?.$el;if(t===void 0)return;let n=t.querySelector(`[data-id="${CSS.escape(e)}"]`);if(n===null)return;let r=t.getBoundingClientRect(),i=n.closest(`[role="group"]`);if(i===null||i.querySelector(`[data-id]`)!==n)return;let a=i.getBoundingClientRect().top-r.top+t.scrollTop;a<t.scrollTop&&t.scrollTo({behavior:`instant`,top:a})}function j(e){e||r(`close`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogRoot),{open:i.value,"onUpdate:open":[t[3]||=e=>i.value=e,j]},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DialogContent),{class:(0,d.normalizeClass)([{bouncing:(0,d.unref)(O),navigated:(0,d.unref)(D)},`absolute top-28 left-1/2 z-99 w-full max-w-180 -translate-x-1/2 rounded-xl border border-transparent bg-primary shadow-lg duration-200 outline-none dark:border-secondary`]),"data-command-menu":``,onAfterLeave:t[2]||=e=>r(`afterLeave`)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DialogTitle),{class:`sr-only`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(c).t(`component.command_menu.title`)),1)]),_:1}),(0,d.createVNode)((0,d.unref)(p.DialogDescription),{class:`sr-only`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(c).t(`component.command_menu.title`)),1)]),_:1}),(0,d.createVNode)((0,d.unref)(p.ListboxRoot),{ref:`listboxRoot`,"highlight-on-hover":!0,class:`flex flex-col overflow-hidden`,onHighlight:t[1]||=e=>C.value=e?.value??null},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Jb,[(0,d.unref)(T).length>0&&(0,d.unref)(ee)?.forceAsRootMenu!==!0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:0,as:`ul`,gap:`xs`,class:`-mr-sm pl-lg`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(T),(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:t},[(0,d.createVNode)((0,d.unref)(Ev),{label:e,size:`sm`},null,8,[`label`]),t===(0,d.unref)(T).length-1?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Jt),{key:0,class:`size-3 text-tertiary`}))],64))),128))]),_:1})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(p.ListboxFilter),{modelValue:_.value,"onUpdate:modelValue":t[0]||=e=>_.value=e,placeholder:(0,d.unref)(te),class:`block w-full p-lg text-xs text-secondary outline-none`,onKeydown:(0,d.unref)(ne)},null,8,[`modelValue`,`placeholder`,`onKeydown`])]),(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)([{"grid-cols-2":(0,d.unref)(E)!==null},`grid`])},[((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxContent),{key:(0,d.unref)(x).map(e=>e.id).join(``),ref:`listboxContent`,class:`max-h-96 scroll-p-1 overflow-y-auto outline-none select-none`,"data-content":``},{default:(0,d.withCtx)(()=>[(0,d.unref)(x).length>0?((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:0},(0,d.renderList)(k.value,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxGroup),{key:e.key,class:`p-xs`},{default:(0,d.withCtx)(()=>[e.label!==null&&(e.showIfOnlyGroup||(0,d.unref)(ee)===null||k.value.length>1)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxGroupLabel),{key:0,class:`px-md py-xs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(R),{gap:`xs`},{default:(0,d.withCtx)(()=>[e.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.icon),{key:0,class:`size-3 text-disabled`})),e.category===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[(0,d.createElementVNode)(`span`,Yb,(0,d.toDisplayString)(e.category),1),t[4]||=(0,d.createElementVNode)(`span`,{class:`text-xxs text-tertiary`},`•`,-1)],64)),(0,d.createElementVNode)(`span`,Xb,(0,d.toDisplayString)(e.label),1)]),_:2},1024)]),_:2},1024)):(0,d.createCommentVNode)(``,!0),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.items,e=>((0,d.openBlock)(),(0,d.createBlock)(Wb,{key:e.id,action:e,ctx:(0,d.unref)(y)(),onSelect:t=>(0,d.unref)(w)(e)},null,8,[`action`,`ctx`,`onSelect`]))),128))]),_:2},1024))),128)):(0,d.unref)(v)?((0,d.openBlock)(),(0,d.createBlock)(qb,{key:1})):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:2,text:(0,d.unref)(c).t(`component.command_menu.no_results`,{query:_.value}),class:`flex p-lg text-xs text-tertiary`},null,8,[`text`]))]),_:1})),(0,d.unref)(E)===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Zb,[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)((0,d.unref)(E))))]))],2)]),_:1},512)]),_:1},8,[`class`]),(0,d.createVNode)((0,d.unref)(p.DialogOverlay),{class:`absolute inset-0 z-39 bg-black/5 dark:bg-black/20`,"data-overlay":``})]),_:1},8,[`open`]))}}),[[`__scopeId`,`data-v-d2f841e7`]]);function $b(){let e=(0,m.useI18n)(),t=N_(),n=t.create(Qb);return(0,f.createAction)({id:`command-menu`,isApplicable:e=>e.menuType===void 0,name:()=>e.t(`action.global.open_command_menu.name`),availableWhenUnauthenticated:!0,execute:()=>{t.isOpen(n.id)?n.close():n.open()},keyboardShortcut:{key:`K`,runWithInputFocus:!0,meta:!0}})}var ex=(0,d.defineComponent)({__name:`DialogBody`,setup(e){let{bodyRef:t,style:n}=D_();function r(e){t.value=e??null}return(0,d.onBeforeUnmount)(()=>{t.value=null}),(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{ref:r,class:(0,d.normalizeClass)((0,d.unref)(n).body()),"data-dialog-body":``},[(0,d.renderSlot)(e.$slots,`default`)],2))}}),tx=(0,d.defineComponent)({__name:`DialogContainer`,setup(e){let{close:t,overlays:n,unmount:r}=N_();function i(e,n){t(e,n)}function a(e){r(e)}return(e,t)=>((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(n),e=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:e.id},[e.isMounted?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.component),(0,d.mergeProps)({key:0,ref_for:!0},e.props,{"is-open":e.isOpen,"onUpdate:isOpen":t=>e.isOpen=t,onClose:t=>i(e.id,t),onAfterLeave:t=>a(e.id)}),null,16,[`is-open`,`onUpdate:isOpen`,`onClose`,`onAfterLeave`])):(0,d.createCommentVNode)(``,!0)],64))),128))}}),nx=(0,d.defineComponent)({__name:`DialogFooterSecondary`,props:{isDestructive:{type:Boolean},disableAutoFocus:{type:Boolean},disabledReason:{default:null},form:{default:null},iconLeft:{default:null},iconRight:{default:null},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},label:{},type:{default:`button`}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(o_,(0,d.mergeProps)(n,{variant:`secondary`,onClick:t[0]||=e=>r(`click`)}),null,16))}}),rx=(0,d.defineComponent)({__name:`DialogFooterSubmit`,props:{label:{}},setup(e){let t=e,{form:n}=T_();return it(`Meta+Enter`,()=>{n.submit()}),(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(o_),{label:t.label,"is-loading":(0,d.unref)(n).isSubmitting.value,"keyboard-shortcut":{key:`Enter`,meta:!0},variant:`primary`,onClick:(0,d.unref)(n).submit},null,8,[`label`,`is-loading`,`onClick`]))}});function ix(e){let t=N_();return{triggerProps:(0,d.computed)(()=>{let n=t.overlays.find(t=>t.id===e)?.isOpen??!1;return{"aria-expanded":n,"aria-haspopup":`dialog`,"data-state":n?`open`:`closed`}})}}var[ax,ox]=L(`formDialogContext`),sx=(0,d.defineComponent)({__name:`FormDialog`,props:{form:{},promptOnUnsavedChanges:{type:Boolean,default:!1},renderOwnFormComponent:{type:Boolean},chin:{},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1},showCloseButton:{type:Boolean,default:!0},size:{default:`md`}},emits:[`close`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.useId)();ax({formId:i,form:n.form,promptOnUnsavedChanges:(0,d.computed)(()=>n.promptOnUnsavedChanges??!1)});function a(){r(`close`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(F_,{"has-close-button":n.showCloseButton,size:n.size,"prevent-click-outside":n.preventClickOutside,"prevent-esc":n.preventEsc,onClose:a},{default:(0,d.withCtx)(()=>[n.renderOwnFormComponent?(0,d.renderSlot)(e.$slots,`default`,{key:0,formId:(0,d.unref)(i)}):((0,d.openBlock)(),(0,d.createBlock)(G_,{key:1,form:n.form,"prompt-on-unsaved-changes":!1,class:`flex size-full flex-col overflow-hidden`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{formId:(0,d.unref)(i)})]),_:3},8,[`form`]))]),_:3},8,[`has-close-button`,`size`,`prevent-click-outside`,`prevent-esc`]))}}),cx=(0,d.defineComponent)({__name:`FormDialogForm`,setup(e){let{formId:t,form:n,promptOnUnsavedChanges:r}=ox();return(e,i)=>{let a=(0,d.resolveDirective)(`ele`);return(0,d.withDirectives)(((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G_),{id:(0,d.unref)(t),form:(0,d.unref)(n),"prompt-on-unsaved-changes":(0,d.unref)(r)},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{formId:(0,d.unref)(t)})]),_:3},8,[`id`,`form`,`prompt-on-unsaved-changes`])),[[a]])}}}),lx={withStackTrace:!1},ux=(e,t,n=lx)=>({data:t.isOk()?{type:`Ok`,value:t.value}:{type:`Err`,value:t.error},message:e,stack:n.withStackTrace?Error().stack:void 0});function dx(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}function fx(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function px(e){return this instanceof px?(this.v=e,this):new px(e)}function mx(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof px?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function hx(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:px(e[r](t)),done:!1}:i?i(t):t}:i}}function gx(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof fx==`function`?fx(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}}var _x=class e{constructor(e){this._promise=e}static fromSafePromise(t){return new e(t.then(e=>new Ex(e)))}static fromPromise(t,n){return new e(t.then(e=>new Ex(e)).catch(e=>new Dx(n(e))))}static fromThrowable(t,n){return(...r)=>new e(dx(this,void 0,void 0,function*(){try{return new Ex(yield t(...r))}catch(e){return new Dx(n?n(e):e)}}))}static combine(e){return bx(e)}static combineWithAllErrors(e){return Sx(e)}map(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){return e.isErr()?new Dx(e.error):new Ex(yield t(e.value))})))}andThrough(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){if(e.isErr())return new Dx(e.error);let n=yield t(e.value);return n.isErr()?new Dx(n.error):new Ex(e.value)})))}andTee(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){if(e.isErr())return new Dx(e.error);try{yield t(e.value)}catch{}return new Ex(e.value)})))}orTee(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){if(e.isOk())return new Ex(e.value);try{yield t(e.error)}catch{}return new Dx(e.error)})))}mapErr(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){return e.isOk()?new Ex(e.value):new Dx(yield t(e.error))})))}andThen(t){return new e(this._promise.then(n=>{if(n.isErr())return new Dx(n.error);let r=t(n.value);return r instanceof e?r._promise:r}))}orElse(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){return e.isErr()?t(e.error):new Ex(e.value)})))}match(e,t){return this._promise.then(n=>n.match(e,t))}unwrapOr(e){return this._promise.then(t=>t.unwrapOr(e))}safeUnwrap(){return mx(this,arguments,function*(){return yield px(yield px(yield*hx(gx(yield px(this._promise.then(e=>e.safeUnwrap()))))))})}then(e,t){return this._promise.then(e,t)}[Symbol.asyncIterator](){return mx(this,arguments,function*(){let e=yield px(this._promise);return e.isErr()&&(yield yield px(vx(e.error))),yield px(e.value)})}};function vx(e){return new _x(Promise.resolve(new Dx(e)))}_x.fromPromise,_x.fromSafePromise,_x.fromThrowable;var yx=e=>{let t=wx([]);for(let n of e)if(n.isErr()){t=Tx(n.error);break}else t.map(e=>e.push(n.value));return t},bx=e=>_x.fromSafePromise(Promise.all(e)).andThen(yx),xx=e=>{let t=wx([]);for(let n of e)n.isErr()&&t.isErr()?t.error.push(n.error):n.isErr()&&t.isOk()?t=Tx([n.error]):n.isOk()&&t.isOk()&&t.value.push(n.value);return t},Sx=e=>_x.fromSafePromise(Promise.all(e)).andThen(xx),Cx;(function(e){function t(e,t){return(...n)=>{try{return wx(e(...n))}catch(e){return Tx(t?t(e):e)}}}e.fromThrowable=t;function n(e){return yx(e)}e.combine=n;function r(e){return xx(e)}e.combineWithAllErrors=r})(Cx||={});function wx(e){return new Ex(e)}function Tx(e){return new Dx(e)}var Ex=class{constructor(e){this.value=e}isOk(){return!0}isErr(){return!this.isOk()}map(e){return wx(e(this.value))}mapErr(e){return wx(this.value)}andThen(e){return e(this.value)}andThrough(e){return e(this.value).map(e=>this.value)}andTee(e){try{e(this.value)}catch{}return wx(this.value)}orTee(e){return wx(this.value)}orElse(e){return wx(this.value)}asyncAndThen(e){return e(this.value)}asyncAndThrough(e){return e(this.value).map(()=>this.value)}asyncMap(e){return _x.fromSafePromise(e(this.value))}unwrapOr(e){return this.value}match(e,t){return e(this.value)}safeUnwrap(){let e=this.value;return(function*(){return e})()}_unsafeUnwrap(e){return this.value}_unsafeUnwrapErr(e){throw ux("Called `_unsafeUnwrapErr` on an Ok",this,e)}*[Symbol.iterator](){return this.value}},Dx=class{constructor(e){this.error=e}isOk(){return!1}isErr(){return!this.isOk()}map(e){return Tx(this.error)}mapErr(e){return Tx(e(this.error))}andThrough(e){return Tx(this.error)}andTee(e){return Tx(this.error)}orTee(e){try{e(this.error)}catch{}return Tx(this.error)}andThen(e){return Tx(this.error)}orElse(e){return e(this.error)}asyncAndThen(e){return vx(this.error)}asyncAndThrough(e){return vx(this.error)}asyncMap(e){return vx(this.error)}unwrapOr(e){return e}match(e,t){return t(this.error)}safeUnwrap(){let e=this.error;return(function*(){throw yield Tx(e),Error("Do not use this generator out of `safeTry`")})()}_unsafeUnwrap(e){throw ux("Called `_unsafeUnwrap` on an Err",this,e)}_unsafeUnwrapErr(e){return this.error}*[Symbol.iterator](){let e=this;return yield e,e}};Cx.fromThrowable;var Ox={prefetchStaleTime:60,limit:20};Ox.limit,Ox.limit;var kx=class e{static getApiErrorCode(e){return e.errors?.[0]?.code??null}static getApiErrorMessage(e){return e.errors?.[0]?.detail??null}static getMessage(e){return e.errors?.[0]?.detail??null}static handleApiError({error:t,message:n}){return e.isExpectedApiError(t)||(console.error(`Unexpected API error: ${t}`),t instanceof Error)?t:Error(n??`An unknown error occurred`)}static isExpectedApiError(e){return e?.errors!==void 0}static isZodError(e){return e instanceof v.default.ZodError}},Ax=1,jx=new class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)});publish=e=>{this.subscribers.forEach(t=>t(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:Ax++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e);message=(e,t)=>this.create({...t,message:e,type:`default`});error=(e,t)=>this.create({...t,type:`error`,message:e});success=(e,t)=>this.create({...t,type:`success`,message:e});info=(e,t)=>this.create({...t,type:`info`,message:e});warning=(e,t)=>this.create({...t,type:`warning`,message:e});loading=(e,t)=>this.create({...t,type:`loading`,message:e});promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(e instanceof Function?e():e),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],(0,d.isVNode)(e))i=!1,this.create({id:n,type:`default`,message:e});else if(Nx(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description,o=typeof r==`object`&&!(0,d.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(e instanceof Error){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,d.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,d.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`success`,description:a,...o})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,d.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),t.finally?.()}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})};custom=(e,t)=>{let n=t?.id||Ax++,r=this.toasts.find(e=>e.id===n),i=t?.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),r?this.toasts=this.toasts.map(r=>r.id===n?(this.publish({...r,component:e,dismissible:i,id:n,...t}),{...r,component:e,dismissible:i,id:n,...t}):r):this.addToast({component:e,dismissible:i,id:n,...t}),n};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))};function Mx(e,t){let n=t?.id||Ax++;return jx.create({message:e,id:n,type:`default`,...t}),n}var Nx=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,Px=Object.assign(Mx,{success:jx.success,info:jx.info,warning:jx.warning,error:jx.error,custom:jx.custom,message:jx.message,promise:jx.promise,dismiss:jx.dismiss,loading:jx.loading},{getHistory:()=>jx.toasts,getToasts:()=>jx.getActiveToasts()});function Fx(e){return e.label!==void 0}var Ix=3,Lx=`24px`,Rx=`16px`,zx=4e3,Bx=356,Vx=14,Hx=45,Ux=200;function Wx(){let e=(0,d.ref)(!1);return(0,d.watchEffect)(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}}function Gx(...e){return e.filter(Boolean).join(` `)}function Kx(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(t),n&&r.push(n),r}function qx(e,t){let n={};return[e,t].forEach((e,t)=>{let r=t===1,i=r?`--mobile-offset`:`--offset`,a=r?Rx:Lx;function o(e){[`top`,`right`,`bottom`,`left`].forEach(t=>{n[`${i}-${t}`]=typeof e==`number`?`${e}px`:e})}typeof e==`number`||typeof e==`string`?o(e):typeof e==`object`?[`top`,`right`,`bottom`,`left`].forEach(t=>{e[t]===void 0?n[`${i}-${t}`]=a:n[`${i}-${t}`]=typeof e[t]==`number`?`${e[t]}px`:e[t]}):o(a)}),n}var Jx=[`data-rich-colors`,`data-styled`,`data-mounted`,`data-promise`,`data-swiped`,`data-removed`,`data-visible`,`data-y-position`,`data-x-position`,`data-index`,`data-front`,`data-swiping`,`data-dismissible`,`data-type`,`data-invert`,`data-swipe-out`,`data-swipe-direction`,`data-expanded`,`data-testid`],Yx=[`aria-label`,`data-disabled`,`data-close-button-position`],Xx=(0,d.defineComponent)({__name:`Toast`,props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},closeButtonPosition:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:[`update:heights`,`update:height`,`removeToast`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.ref)(null),a=(0,d.ref)(null),o=(0,d.ref)(!1),s=(0,d.ref)(!1),c=(0,d.ref)(!1),l=(0,d.ref)(!1),u=(0,d.ref)(!1),f=(0,d.ref)(0),p=(0,d.ref)(0),m=(0,d.ref)(n.toast.duration||n.duration||zx),h=(0,d.ref)(null),g=(0,d.ref)(null),_=(0,d.computed)(()=>n.index===0),v=(0,d.computed)(()=>n.index+1<=n.visibleToasts),y=(0,d.computed)(()=>n.toast.type),b=(0,d.computed)(()=>n.toast.dismissible!==!1),x=(0,d.computed)(()=>n.toast.class||``),S=(0,d.computed)(()=>n.descriptionClass||``),C=(0,d.computed)(()=>{let e=n.toast.position||n.position,t=n.heights.filter(t=>t.position===e).findIndex(e=>e.toastId===n.toast.id);return t>=0?t:0}),w=(0,d.computed)(()=>{let e=n.toast.position||n.position;return n.heights.filter(t=>t.position===e).reduce((e,t,n)=>n>=C.value?e:e+t.height,0)}),T=(0,d.computed)(()=>C.value*n.gap+w.value||0),ee=(0,d.computed)(()=>n.toast.closeButton??n.closeButton),te=(0,d.computed)(()=>n.toast.duration||n.duration||zx),E=(0,d.ref)(0),ne=(0,d.ref)(0),D=(0,d.ref)(null),O=(0,d.computed)(()=>n.position.split(`-`)),k=(0,d.computed)(()=>O.value[0]),A=(0,d.computed)(()=>O.value[1]),j=(0,d.computed)(()=>typeof n.toast.title!=`string`),re=(0,d.computed)(()=>typeof n.toast.description!=`string`),{isDocumentHidden:ie}=Wx(),ae=(0,d.computed)(()=>y.value&&y.value===`loading`);(0,d.onMounted)(()=>{o.value=!0,m.value=te.value}),(0,d.watchEffect)(async()=>{if(!o.value||!g.value)return;await(0,d.nextTick)();let e=g.value,t=e.style.height;e.style.height=`auto`;let i=e.getBoundingClientRect().height;e.style.height=t,p.value=i,r(`update:height`,{toastId:n.toast.id,height:i,position:n.toast.position||n.position})});function oe(){s.value=!0,f.value=T.value,setTimeout(()=>{r(`removeToast`,n.toast)},Ux)}function M(){if(ae.value||!b.value)return{};oe(),n.toast.onDismiss?.(n.toast)}function N(e){e.button!==2&&(ae.value||!b.value||(h.value=new Date,f.value=T.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(c.value=!0,D.value={x:e.clientX,y:e.clientY})))}function se(){if(l.value||!b.value)return;D.value=null;let e=Number(g.value?.style.getPropertyValue(`--swipe-amount-x`).replace(`px`,``)||0),t=Number(g.value?.style.getPropertyValue(`--swipe-amount-y`).replace(`px`,``)||0),r=new Date().getTime()-(h.value?.getTime()||0),o=i.value===`x`?e:t,s=Math.abs(o)/r;if(Math.abs(o)>=Hx||s>.11){f.value=T.value,n.toast.onDismiss?.(n.toast),i.value===`x`?a.value=e>0?`right`:`left`:a.value=t>0?`down`:`up`,oe(),l.value=!0;return}else g.value?.style.setProperty(`--swipe-amount-x`,`0px`),g.value?.style.setProperty(`--swipe-amount-y`,`0px`);u.value=!1,c.value=!1,i.value=null}function ce(e){if(!D.value||!b.value||(window?.getSelection()?.toString()?.length??!1))return;let t=e.clientY-D.value.y,r=e.clientX-D.value.x,a=n.swipeDirections??Kx(n.position);!i.value&&(Math.abs(r)>1||Math.abs(t)>1)&&(i.value=Math.abs(r)>Math.abs(t)?`x`:`y`);let o={x:0,y:0},s=e=>1/(1.5+Math.abs(e)/20);if(i.value===`y`){if(a.includes(`top`)||a.includes(`bottom`))if(a.includes(`top`)&&t<0||a.includes(`bottom`)&&t>0)o.y=t;else{let e=t*s(t);o.y=Math.abs(e)<Math.abs(t)?e:t}}else if(i.value===`x`&&(a.includes(`left`)||a.includes(`right`)))if(a.includes(`left`)&&r<0||a.includes(`right`)&&r>0)o.x=r;else{let e=r*s(r);o.x=Math.abs(e)<Math.abs(r)?e:r}(Math.abs(o.x)>0||Math.abs(o.y)>0)&&(u.value=!0),g.value?.style.setProperty(`--swipe-amount-x`,`${o.x}px`),g.value?.style.setProperty(`--swipe-amount-y`,`${o.y}px`)}(0,d.onMounted)(()=>{if(o.value=!0,!g.value)return;let e=g.value.getBoundingClientRect().height;p.value=e,r(`update:heights`,[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights])}),(0,d.onBeforeUnmount)(()=>{g.value&&r(`removeToast`,n.toast)}),(0,d.watchEffect)(e=>{if(n.toast.promise&&y.value===`loading`||n.toast.duration===1/0||n.toast.type===`loading`)return;let t;n.expanded||n.interacting||ie.value?(()=>{if(ne.value<E.value){let e=new Date().getTime()-E.value;m.value-=e}ne.value=new Date().getTime()})():m.value!==1/0&&(E.value=new Date().getTime(),t=setTimeout(()=>{n.toast.onAutoClose?.(n.toast),oe()},m.value)),e(()=>{clearTimeout(t)})}),(0,d.watch)(()=>n.toast.delete,e=>{e!==void 0&&e&&(oe(),n.toast.onDismiss?.(n.toast))},{deep:!0});function P(){c.value=!1,i.value=null,D.value=null}return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`li`,{tabindex:`0`,ref_key:`toastRef`,ref:g,class:(0,d.normalizeClass)((0,d.unref)(Gx)(n.class,x.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[y.value],e.toast?.classes?.[y.value])),"data-sonner-toast":``,"data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!(e.toast.component||e.toast?.unstyled||e.unstyled),"data-mounted":o.value,"data-promise":!!e.toast.promise,"data-swiped":u.value,"data-removed":s.value,"data-visible":v.value,"data-y-position":k.value,"data-x-position":A.value,"data-index":e.index,"data-front":_.value,"data-swiping":c.value,"data-dismissible":b.value,"data-type":y.value,"data-invert":e.toast.invert||e.invert,"data-swipe-out":l.value,"data-swipe-direction":a.value,"data-expanded":!!(e.expanded||e.expandByDefault&&o.value),"data-testid":e.toast.testId,style:(0,d.normalizeStyle)({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${s.value?f.value:T.value}px`,"--initial-height":e.expandByDefault?`auto`:`${p.value}px`,...e.style,...n.toast.style}),onDragend:P,onPointerdown:N,onPointerup:se,onPointermove:ce},[ee.value&&!e.toast.component&&y.value!==`loading`?((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":ae.value,"data-close-button":`true`,"data-close-button-position":e.closeButtonPosition,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:M},[e.icons?.close?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.icons?.close),{key:0})):(0,d.renderSlot)(e.$slots,`close-icon`,{key:1})],10,Yx)):(0,d.createCommentVNode)(`v-if`,!0),e.toast.component?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.toast.component),(0,d.mergeProps)({key:1},e.toast.componentProps,{onCloseToast:M,isPaused:e.$props.expanded||e.$props.interacting||(0,d.unref)(ie)}),null,16,[`isPaused`])):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:2},[y.value!==`default`||e.toast.icon||e.toast.promise?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,"data-icon":``,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.toast.icon),{key:0})):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[y.value===`loading`?(0,d.renderSlot)(e.$slots,`loading-icon`,{key:0}):y.value===`success`?(0,d.renderSlot)(e.$slots,`success-icon`,{key:1}):y.value===`error`?(0,d.renderSlot)(e.$slots,`error-icon`,{key:2}):y.value===`warning`?(0,d.renderSlot)(e.$slots,`warning-icon`,{key:3}):y.value===`info`?(0,d.renderSlot)(e.$slots,`info-icon`,{key:4}):(0,d.createCommentVNode)(`v-if`,!0)],64))],2)):(0,d.createCommentVNode)(`v-if`,!0),(0,d.createElementVNode)(`div`,{"data-content":``,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.content,e.toast?.classes?.content))},[(0,d.createElementVNode)(`div`,{"data-title":``,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.title,e.toast.classes?.title))},[j.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.toast.title),(0,d.normalizeProps)((0,d.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[(0,d.createTextVNode)((0,d.toDisplayString)(e.toast.title),1)],64))],2),e.toast.description?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,"data-description":``,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.descriptionClass,S.value,e.classes?.description,e.toast.classes?.description))},[re.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.toast.description),(0,d.normalizeProps)((0,d.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[(0,d.createTextVNode)((0,d.toDisplayString)(e.toast.description),1)],64))],2)):(0,d.createCommentVNode)(`v-if`,!0)],2),e.toast.cancel?((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:1,style:(0,d.normalizeStyle)(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":``,"data-cancel":``,onClick:t[0]||=t=>{(0,d.unref)(Fx)(e.toast.cancel)&&b.value&&(e.toast.cancel.onClick?.(t),oe())}},(0,d.toDisplayString)((0,d.unref)(Fx)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):(0,d.createCommentVNode)(`v-if`,!0),e.toast.action?((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:2,style:(0,d.normalizeStyle)(e.toast.actionButtonStyle||e.actionButtonStyle),class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":``,"data-action":``,onClick:t[1]||=t=>{(0,d.unref)(Fx)(e.toast.action)&&(e.toast.action.onClick?.(t),!t.defaultPrevented&&oe())}},(0,d.toDisplayString)((0,d.unref)(Fx)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):(0,d.createCommentVNode)(`v-if`,!0)],64))],46,Jx))}}),Zx=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Qx={},$x={xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stoke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function eS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,$x,t[0]||=[(0,d.createElementVNode)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),(0,d.createElementVNode)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)])}var tS=Zx(Qx,[[`render`,eS]]),nS=[`data-visible`],rS={class:`sonner-spinner`},iS=(0,d.defineComponent)({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[(0,d.createElementVNode)(`div`,rS,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(t),e=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,nS))}}),aS={},oS={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function sS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,oS,t[0]||=[(0,d.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,"clip-rule":`evenodd`},null,-1)])}var cS=Zx(aS,[[`render`,sS]]),lS={},uS={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function dS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,uS,t[0]||=[(0,d.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,"clip-rule":`evenodd`},null,-1)])}var fS=Zx(lS,[[`render`,dS]]),pS={},mS={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`};function hS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,mS,t[0]||=[(0,d.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,"clip-rule":`evenodd`},null,-1)])}var gS=Zx(pS,[[`render`,hS]]),_S={},vS={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function yS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,vS,t[0]||=[(0,d.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,"clip-rule":`evenodd`},null,-1)])}var bS=Zx(_S,[[`render`,yS]]),xS=[`aria-label`],SS=[`data-sonner-theme`,`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`],CS=typeof window<`u`&&typeof document<`u`;function wS(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}var TS=(0,d.defineComponent)({name:`Toaster`,inheritAttrs:!1,__name:`Toaster`,props:{id:{},invert:{type:Boolean,default:!1},theme:{default:`light`},position:{default:`bottom-right`},closeButtonPosition:{default:`top-left`},hotkey:{default:()=>[`altKey`,`KeyT`]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:Vx},visibleToasts:{default:Ix},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{},offset:{default:Lx},mobileOffset:{default:Rx},dir:{default:`auto`},swipeDirections:{},icons:{},containerAriaLabel:{default:`Notifications`}},setup(e){let t=e,n=(0,d.useAttrs)(),r=(0,d.ref)([]),i=(0,d.computed)(()=>t.id?r.value.filter(e=>e.toasterId===t.id):r.value.filter(e=>!e.toasterId));function a(e,t){return i.value.filter(n=>!n.position&&t===0||n.position===e)}let o=(0,d.computed)(()=>{let e=i.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([t.position].concat(e))):[t.position]}),s=(0,d.computed)(()=>{let e={};return o.value.forEach(t=>{e[t]=r.value.filter(e=>e.position===t)}),e}),c=(0,d.ref)([]),l=(0,d.ref)({}),u=(0,d.ref)(!1);(0,d.watchEffect)(()=>{o.value.forEach(e=>{e in l.value||(l.value[e]=!1)})});let f=(0,d.ref)(t.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t.theme),p=(0,d.ref)(null),m=(0,d.ref)(null),h=(0,d.ref)(!1),g=t.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``);function _(e){r.value.find(t=>t.id===e.id)?.delete||jx.dismiss(e.id),r.value=r.value.filter(({id:t})=>t!==e.id),setTimeout(()=>{r.value.find(t=>t.id===e.id)||(c.value=c.value.filter(t=>t.toastId!==e.id))},250)}function v(e){h.value&&!e.currentTarget?.contains?.(e.relatedTarget)&&(h.value=!1,m.value&&=(m.value.focus({preventScroll:!0}),null))}function y(e){e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||h.value||(h.value=!0,m.value=e.relatedTarget)}function b(e){e.target&&e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||(u.value=!0)}(0,d.watchEffect)(e=>{e(jx.subscribe(e=>{if(e.dismiss){requestAnimationFrame(()=>{r.value=r.value.map(t=>t.id===e.id?{...t,delete:!0}:t)});return}(0,d.nextTick)(()=>{let t=r.value.findIndex(t=>t.id===e.id);t===-1?r.value=[e,...r.value]:r.value=[...r.value.slice(0,t),{...r.value[t],...e},...r.value.slice(t+1)]})}))}),(0,d.watchEffect)(e=>{if(typeof window>`u`)return;if(t.theme!==`system`){f.value=t.theme;return}let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=e=>{f.value=e?`dark`:`light`};r(n.matches);let i=e=>{r(e.matches)};try{n.addEventListener(`change`,i)}catch{n.addListener(i)}e(()=>{try{n.removeEventListener(`change`,i)}catch{n.removeListener(i)}})}),(0,d.watchEffect)(()=>{p.value&&m.value&&(m.value.focus({preventScroll:!0}),m.value=null,h.value=!1)}),(0,d.watchEffect)(()=>{r.value.length<=1&&Object.keys(l.value).forEach(e=>{l.value[e]=!1})}),(0,d.watchEffect)(e=>{function n(e){let n=t.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(p.value)?p.value[0]:p.value;n&&(o.value.forEach(e=>{l.value[e]=!0}),r?.focus());let i=document.activeElement===p.value||r?.contains(document.activeElement);e.code===`Escape`&&i&&o.value.forEach(e=>{l.value[e]=!1})}CS&&(document.addEventListener(`keydown`,n),e(()=>{document.removeEventListener(`keydown`,n)}))});function x(e){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!0}function S(e){if(!u.value){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!1}}function C(){Object.keys(l.value).forEach(e=>{l.value[e]=!1})}function w(){u.value=!1}function T(e){c.value=e}function ee(e){let t=c.value.findIndex(t=>t.toastId===e.toastId);if(t!==-1)c.value[t]=e;else{let t=c.value.findIndex(t=>t.position===e.position);t===-1?c.value.unshift(e):c.value.splice(t,0,e)}}return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[(0,d.createCommentVNode)(` Remove item from normal navigation flow, only available via hotkey `),(0,d.createElementVNode)(`section`,{"aria-label":`${e.containerAriaLabel} ${(0,d.unref)(g)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(o.value,(r,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`ol`,(0,d.mergeProps)({key:r,ref_for:!0,ref_key:`listRef`,ref:p,"data-sonner-toaster":``,"data-sonner-theme":f.value,class:t.class,dir:e.dir===`auto`?wS():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":r.split(`-`)[0],"data-x-position":r.split(`-`)[1],style:{"--front-toast-height":`${c.value[0]?.height||0}px`,"--width":`${(0,d.unref)(Bx)}px`,"--gap":`${e.gap}px`,...e.style,...(0,d.unref)(n).style,...(0,d.unref)(qx)(e.offset,e.mobileOffset)}},{ref_for:!0},e.$attrs,{onBlur:v,onFocus:y,onMouseenter:x,onMousemove:x,onMouseleave:S,onDragend:C,onPointerdown:b,onPointerup:w}),[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(a(r,i),(n,i)=>((0,d.openBlock)(),(0,d.createBlock)(Xx,{key:n.id,heights:c.value,icons:e.icons,index:i,toast:n,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:(0,d.normalizeClass)(e.toastOptions?.class??``),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:u.value,position:r,closeButtonPosition:e.toastOptions?.closeButtonPosition??e.closeButtonPosition,style:(0,d.normalizeStyle)(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,"close-button-aria-label":e.toastOptions?.closeButtonAriaLabel,toasts:s.value[r],expandByDefault:e.expand,gap:e.gap,expanded:l.value[r]||!1,swipeDirections:t.swipeDirections,"onUpdate:heights":T,"onUpdate:height":ee,onRemoveToast:_},{"close-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`close-icon`,{},()=>[(0,d.createVNode)(tS)])]),"loading-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`loading-icon`,{},()=>[(0,d.createVNode)(iS,{visible:n.type===`loading`},null,8,[`visible`])])]),"success-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`success-icon`,{},()=>[(0,d.createVNode)(cS)])]),"error-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`error-icon`,{},()=>[(0,d.createVNode)(bS)])]),"warning-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`warning-icon`,{},()=>[(0,d.createVNode)(gS)])]),"info-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`info-icon`,{},()=>[(0,d.createVNode)(fS)])]),_:2},1032,[`heights`,`icons`,`index`,`toast`,`defaultRichColors`,`duration`,`class`,`descriptionClass`,`invert`,`visibleToasts`,`closeButton`,`interacting`,`position`,`closeButtonPosition`,`style`,`unstyled`,`classes`,`cancelButtonStyle`,`actionButtonStyle`,`close-button-aria-label`,`toasts`,`expandByDefault`,`gap`,`expanded`,`swipeDirections`]))),128))],16,SS))),128))],8,xS)],2112))}}),ES=U({slots:{title:`mb-xs text-sm font-medium`},variants:{variant:{error:{title:`text-error-primary`},info:{title:`text-primary`},warning:{title:`text-warning-primary`}}}}),DS=(0,d.defineComponent)({__name:`ToastActions`,props:{button:{},link:{}},emits:[`close`],setup(e,{emit:t}){let n=t;function r(e){e.onClick(),n(`close`)}function i(){n(`close`)}return(t,n)=>e.button!==void 0||e.link!==void 0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:0},{default:(0,d.withCtx)(()=>[e.button===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(o_),(0,d.mergeProps)({key:0,variant:`secondary`},e.button,{onClick:n[0]||=t=>r(e.button)}),null,16)),e.link===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(d_),(0,d.mergeProps)({key:1,variant:`secondary`},e.link,{onClick:n[1]||=e=>i()}),null,16))]),_:1})):(0,d.createCommentVNode)(``,!0)}}),OS={class:`absolute top-0 right-0 mt-md mr-sm flex h-text-sm items-center justify-center`},kS=(0,d.defineComponent)({__name:`ToastCloseButton`,emits:[`close`],setup(e,{emit:t}){let n=t,r=(0,m.useI18n)();return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,OS,[(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(ar),"is-tooltip-disabled":!0,label:(0,d.unref)(r).t(`component.toast.close.label`),size:`sm`,variant:`tertiary`,onClick:t[0]||=e=>n(`close`)},null,8,[`icon`,`label`])]))}}),AS={class:`flex h-text-sm items-center`},jS=(0,d.defineComponent)({__name:`ToastIcon`,props:{icon:{},variant:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,AS,[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{class:(0,d.normalizeClass)([{"text-error-primary":t.variant===`error`,"text-warning-primary":t.variant===`warning`,"text-tertiary":t.variant===`info`||t.variant===`loading`||t.variant===void 0},`size-4`])},null,8,[`class`]))]))}}),MS={},NS={class:`pointer-events-auto relative w-full rounded-xl border border-secondary bg-primary p-md pl-lg shadow-lg/5`};function PS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,NS,[(0,d.renderSlot)(e.$slots,`default`)])}var FS=W(MS,[[`render`,PS]]),IS={class:`flex h-text-sm items-center`},LS=(0,d.defineComponent)({__name:`ToastLoader`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,IS,[(0,d.createVNode)((0,d.unref)(Fa),{class:`size-3.5 text-tertiary`})]))}}),RS=[`src`,`alt`],zS={class:`font-medium text-primary`},BS=(0,d.defineComponent)({__name:`ToastInteractablePart`,props:{icon:{},imageSrc:{},label:{},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;function i(){n.to!==null&&r(`click`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(n.to===null?`span`:(0,d.unref)(y.RouterLink)),{to:n.to,class:(0,d.normalizeClass)({"hover:underline":n.to!==null}),onClick:i},{default:(0,d.withCtx)(()=>[n.imageSrc===null?n.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(n.icon),{key:1,class:`mr-xs inline size-3.5 -translate-y-px align-sub text-secondary`})):((0,d.openBlock)(),(0,d.createElementBlock)(`img`,{key:0,src:n.imageSrc,alt:n.label,class:`mr-xs inline size-3.5 -translate-y-px rounded-xs align-middle`},null,8,RS)),(0,d.createElementVNode)(`span`,zS,(0,d.toDisplayString)(n.label),1)]),_:1},8,[`to`,`class`]))}}),VS={class:`text-sm text-secondary`},HS=(0,d.defineComponent)({__name:`ToastMessage`,props:{message:{},models:{}},emits:[`closeToast`],setup(e,{emit:t}){let n=e,r=t,i=/(\{.*?\})/g,a=/^\{(.*?)\}$/,o=(0,d.computed)(()=>n.message.split(i).map(e=>{let t=e.match(a);if(t===null)return{label:e,type:`text`};let r=t[1],i=n.models[r]??null;return i===null?(console.warn(`No model found for key "${r}" in toast message "${n.message}"`),{label:e,type:`text`}):{icon:i.icon??null,imageSrc:i.imageSrc??null,key:r,label:i.label,to:i.to,type:`interactable`}}));return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`span`,VS,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(o.value,(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:n},[e.type===`text`?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[(0,d.createTextVNode)((0,d.toDisplayString)(e.label),1)],64)):e.type===`interactable`?((0,d.openBlock)(),(0,d.createBlock)(BS,{key:1,icon:e.icon,"image-src":e.imageSrc,label:e.label,to:e.to??null,onClick:t[0]||=e=>r(`closeToast`)},null,8,[`icon`,`image-src`,`label`,`to`])):(0,d.createCommentVNode)(``,!0)],64))),128))]))}}),US=W((0,d.defineComponent)({__name:`Toast`,props:{toast:{}},emits:[`closeToast`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.computed)(()=>n.toast.variant===`error`?`error`:n.toast.variant===`warning`?`warning`:`info`),a=(0,d.computed)(()=>ES({variant:i.value}));return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(FS,{"data-toast-id":n.toast.id},{default:(0,d.withCtx)(()=>[(n.toast.dismissible??!0)&&n.toast.variant!==`loading`?((0,d.openBlock)(),(0,d.createBlock)(kS,{key:0,onClose:t[0]||=e=>r(`closeToast`)})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(R),{align:`start`,class:`pr-3xl`},{default:(0,d.withCtx)(()=>[n.toast.variant===`loading`?((0,d.openBlock)(),(0,d.createBlock)(LS,{key:0})):n.toast.icon===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(jS,{key:1,icon:n.toast.icon,variant:n.toast.variant},null,8,[`icon`,`variant`])),(0,d.createVNode)((0,d.unref)(q),{gap:`none`},{default:(0,d.withCtx)(()=>[n.toast.title===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:0,text:n.toast.title,class:(0,d.normalizeClass)([a.value.title(),`mb-xs text-sm font-medium`])},null,8,[`text`,`class`])),(0,d.createVNode)(HS,{models:n.toast.interactableModels??{},message:n.toast.message,onCloseToast:t[1]||=e=>r(`closeToast`)},null,8,[`models`,`message`]),(0,d.createVNode)(DS,{button:n.toast.button,link:n.toast.link,class:`mt-lg`,onClose:t[2]||=e=>r(`closeToast`)},null,8,[`button`,`link`])]),_:1})]),_:1})]),_:1},8,[`data-toast-id`]))}}),[[`__scopeId`,`data-v-201a0d0f`]]),WS=600,GS=`animate-toast-highlight`,KS=new Map;function qS(e){let t=document.querySelector(`[data-toast-id="${e}"]`);if(!t)return;let n=KS.get(e);n&&clearTimeout(n),t.classList.remove(GS),t.scrollTop,t.classList.add(GS);let r=setTimeout(()=>{t.classList.remove(GS),KS.delete(e)},WS);KS.set(e,r)}var JS=1/0,YS=5e3,XS=7e3;function ZS(e,t){switch(e){case`always`:return t===`error`?XS:YS;case`all-except-errors`:return t===`error`?JS:YS;case`never`:return JS}}function QS(e){Px.dismiss(e)}function $S(){let e=(0,m.useI18n)(),t=Z();function n(e){(e.id===void 0?null:Px.getToasts().find(t=>t.id===e.id)??null)!==null&&qS(e.id),Px.custom((0,d.markRaw)((0,d.defineComponent)({render:()=>(0,d.h)(US,{toast:e})})),{id:e.id??crypto.randomUUID(),class:`w-full sm:w-96`,dismissible:e.dismissible,duration:e.duration??ZS(t.autoCloseToast.value,e.variant===`error`?`error`:`info`),position:e.position??`bottom-right`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss})}function r(e){let r=e.id??crypto.randomUUID();n({id:r,dismissible:!1,duration:JS,icon:e.icon,interactableModels:e.interactableModels,message:e.loading,variant:`loading`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss});function i(n,i){let a=Px.custom((0,d.markRaw)((0,d.defineComponent)({render:()=>(0,d.h)(US,{toast:{id:r,icon:e.icon,interactableModels:e.interactableModels,message:n,variant:i}})})),{id:r,class:`w-full sm:w-96`,dismissible:!0,position:e.position??`bottom-right`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss});setTimeout(()=>{Px.dismiss(a)},e.duration??ZS(t.autoCloseToast.value,i===`error`?`error`:`info`))}e.promise.then(()=>i(e.success,`info`)).catch(()=>i(e.error,`error`))}function i(){n({id:`unable-to-save`,icon:gt,message:e.t(`component.toast.unable_to_save_changes.message`),variant:`error`})}function a(t){if(!kx.isExpectedApiError(t)){n({icon:gt,message:e.t(`component.toast.unexpected_error.message`),variant:`error`}),console.error(`Unknown error occurred:`,t);return}let[r]=t.errors;r!==void 0&&n({icon:gt,message:r.detail,variant:`error`})}return{apiError:a,dismiss:QS,promise:r,show:n,unableToSave:i}}var eC=(0,d.defineComponent)({__name:`ToastContainer`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(TS),{style:{zIndex:41},expand:!1}))}}),tC=(0,d.defineComponent)({__name:`TooltipProvider`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TooltipProvider),null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),nC=(0,d.defineComponent)({__name:`ApplicationProvider`,props:{isFetchingAuthUser:{type:Boolean}},setup(e){let t=e;return(0,f.useActionRegistryStore)().registerActions($b()),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(tC,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(zb)),(0,d.createVNode)((0,d.unref)(Lb)),(0,d.createVNode)((0,d.unref)(Nb),{"is-fetching-auth-user":t.isFetchingAuthUser},null,8,[`is-fetching-auth-user`]),(0,d.createVNode)((0,d.unref)(eC)),(0,d.createVNode)((0,d.unref)(tx)),(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),rC=(0,d.defineComponent)({__name:`BreadcrumbItem`,props:{isLabelHidden:{type:Boolean},icon:{},label:{},to:{}},setup(e){let t=e,n=(0,d.computed)(()=>t.isLabelHidden?`sr-only`:``),r=(0,d.computed)(()=>t.to===void 0?``:`group-hover:text-primary group-hover:underline`);return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.to===void 0?`span`:$),{class:`min-w-0 overflow-hidden`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.to===void 0?`span`:(0,d.unref)(y.RouterLink)),{to:t.to,class:`group min-w-0`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{class:`min-w-0`,gap:`sm`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(K,{"is-disabled":!t.isLabelHidden,label:t.label},{default:(0,d.withCtx)(()=>[t.icon?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:(0,d.normalizeClass)([{"group-hover:text-primary":t.to!==void 0},`size-4 shrink-0 text-tertiary`])},null,8,[`class`])):(0,d.createCommentVNode)(``,!0)]),_:1},8,[`is-disabled`,`label`]),t.label?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:0,text:t.label,class:(0,d.normalizeClass)((0,d.unref)(Fv)(`text-xs text-tertiary`,n.value,r.value))},null,8,[`text`,`class`])):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`to`]))]),_:1}))}}),iC={class:`min-w-0`},aC=(0,d.defineComponent)({__name:`BreadcrumbItems`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`nav`,iC,[(0,d.createVNode)(R,{align:`center`,gap:`sm`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]))}}),oC=(0,d.defineComponent)({__name:`BreadcrumbSeparator`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Jt),{class:`size-3.5 shrink-0 text-disabled`}))}}),[sC,cC]=L(`checkboxContext`),lC=U({slots:{control:`
|
|
507
|
+
`,`grid w-full gap-xs overflow-hidden text-left duration-100`]),style:(0,d.normalizeStyle)({gridTemplateColumns:a})},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(L),{align:`center`,justify:`center`,class:`h-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Oa,{name:t.name??t.email,src:t.avatarUrl,"is-static-color":!0,size:`xs`},null,8,[`name`,`src`])]),_:1}),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(r)!==`minified`||(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0,justify:`between`,align:`center`,gap:`xxs`,class:`overflow-hidden`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Yy,[(0,d.createVNode)((0,d.unref)(W),{text:t.name??`-`,"disable-tooltip":!0,class:`w-full text-xs font-semibold text-primary`},null,8,[`text`]),(0,d.createVNode)((0,d.unref)(W),{text:t.email,"disable-tooltip":!0,class:`w-full text-xs text-tertiary`},null,8,[`text`])]),(0,d.createVNode)(K,{align:`start`,class:`h-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Vt),{class:`mt-xxs size-4 shrink-0 text-quaternary`})]),_:1})]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`class`,`style`])])]),_:1})]),_:1},8,[`actions`]))}}),Zy={};function Qy(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`)}var $y=U(Zy,[[`render`,Qy]]),eb=(0,d.defineComponent)({__name:`MainSidebarGlobalSearch`,emits:[`click`],setup(e,{emit:t}){let n=t,r=(0,m.useI18n)();function i(){n(`click`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Q),{icon:(0,d.unref)(Jn),label:(0,d.unref)(r).t(`components.sidebar.global_search.label`),variant:`tertiary`,onClick:i},null,8,[`icon`,`label`]))}}),tb=(0,d.defineComponent)({__name:`MainSidebarHeaderContainer`,setup(e){let{sidebarLogoHeight:t}=qy();return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{style:(0,d.normalizeStyle)({height:(0,d.unref)(t)})},[(0,d.renderSlot)(e.$slots,`default`)],4))}}),nb=[`src`,`alt`],rb=(0,d.defineComponent)({__name:`Logo`,props:{alt:{},size:{},src:{}},setup(e){let t=e,n=(0,d.ref)(!1);return(e,r)=>n.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:(0,d.normalizeClass)([{"size-12 rounded-2xl":t.size===`lg`,"size-10 rounded-xl":t.size===`md`,"size-8 rounded-lg":t.size===`sm`,"size-6 rounded-md":t.size===`xs`,"size-5 rounded-sm":t.size===`xxs`,"size-3.5 rounded-xs":t.size===`3xs`},`shrink-0 bg-quaternary`])},null,2)):((0,d.openBlock)(),(0,d.createElementBlock)(`img`,{key:1,src:t.src,alt:t.alt,class:(0,d.normalizeClass)([{"size-12 rounded-2xl":t.size===`lg`,"size-10 rounded-xl":t.size===`md`,"size-8 rounded-lg":t.size===`sm`,"size-6 rounded-md":t.size===`xs`,"size-5 rounded-sm":t.size===`xxs`,"size-3.5 rounded-xs":t.size===`3xs`},`shrink-0 overflow-hidden from-black/20 to-white/10 object-contain dark:bg-primary-solid dark:bg-linear-to-b`]),onError:r[0]||=e=>n.value=!0},null,42,nb))}}),ib={key:0,class:`text-sm font-semibold text-secondary`},ab={key:0},ob=(0,d.defineComponent)({__name:`MainSidebarHeaderLogoWithText`,props:{name:{},url:{}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r,sidebarLogoPadding:i}=qy();return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)(tb,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{justify:`between`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{style:(0,d.normalizeStyle)({padding:(0,d.unref)(i)})},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(rb,{src:t.url,alt:`Logo`,size:`xs`},null,8,[`src`]),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(r)!==`minified`||(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,ib,(0,d.toDisplayString)(t.name),1)):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`style`]),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(r)!==`minified`||(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,ab,[(0,d.renderSlot)(e.$slots,`right`)])):(0,d.createCommentVNode)(``,!0)]),_:3})]),_:3})]),_:3}))}}),sb={class:`truncate text-xs text-secondary`},cb=(0,d.defineComponent)({__name:`MainSidebarHeaderReturnToApp`,props:{to:{}},setup(e){let t=e,n=(0,m.useI18n)(),{isSidebarOpen:r,closeIfFloatingSidebar:i,collapsedVariant:a,sidebarIconCellSize:o,sidebarIconSize:s}=qy(),c=`${o} 1fr`;return(e,l)=>((0,d.openBlock)(),(0,d.createBlock)(tb,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{class:`w-fit`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(G,{"keyboard-shortcut":{key:`Backspace`,meta:!0},label:(0,d.unref)(n).t(`components.sidebar.return_to_app`)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(y.RouterLink),{to:t.to,style:(0,d.normalizeStyle)({height:(0,d.unref)(o),gridTemplateColumns:c}),"aria-label":(0,d.unref)(n).t(`components.sidebar.return_to_app`),class:`grid w-full rounded-md duration-100 hover:bg-secondary-hover`,onClick:l[0]||=e=>(0,d.unref)(i)()},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{style:(0,d.normalizeStyle)({width:(0,d.unref)(o),height:(0,d.unref)(o)}),align:`center`,justify:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Gt),{style:(0,d.normalizeStyle)({width:(0,d.unref)(s),height:(0,d.unref)(s)}),class:`shrink-0 text-secondary`},null,8,[`style`])]),_:1},8,[`style`]),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(a)!==`minified`||(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createBlock)(L,{key:0,align:`center`,class:`overflow-hidden pr-md`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`span`,sb,(0,d.toDisplayString)((0,d.unref)(n).t(`components.sidebar.return_to_app`)),1)]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`to`,`style`,`aria-label`])]),_:1})]),_:1},8,[`label`])]),_:1})]),_:1}))}}),lb={class:`w-full`},ub=(0,d.defineComponent)({__name:`MainSidebarNavigationGroup`,props:{label:{default:null}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r}=qy();return(e,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,lb,[t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`span`,{key:0,class:(0,d.normalizeClass)([{"opacity-0":(0,d.unref)(r)===`minified`&&!(0,d.unref)(n)},`block px-sm pb-sm text-xs font-medium whitespace-nowrap text-quaternary transition-opacity duration-150 ease-in-out`])},(0,d.toDisplayString)(t.label),3)),(0,d.createVNode)((0,d.unref)(K),{align:`start`,gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]))}}),db=(0,d.defineComponent)({__name:`MainSidebarNavigationGroups`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{gap:`2xl`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),[fb,pb]=I(`MainSidebarNavigationLinkContextKey`),mb=(0,d.defineComponent)({__name:`MainSidebarNavigationLinkProvider`,props:{isActive:{type:Boolean}},setup(e){let t=e;return fb({isActive:(0,d.computed)(()=>t.isActive)}),(e,t)=>(0,d.renderSlot)(e.$slots,`default`)}}),hb=[`data-active`],gb={class:`truncate text-xs font-medium whitespace-nowrap text-secondary duration-100 group-hover:text-primary group-data-active:text-brand-secondary`},_b=(0,d.defineComponent)({__name:`MainSidebarNavigationLink`,props:{isActive:{type:Function,default:()=>!1},icon:{},keyboardShortcut:{default:null},label:{},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,{isSidebarOpen:i,closeIfFloatingSidebar:a,collapsedVariant:o,sidebarIconCellSize:s,sidebarIconSize:c,sidebarLinkHeight:l}=qy(),u=(0,y.useRoute)();function f(){a(),r(`click`)}let p=`${s} 1fr`,m=(0,d.computed)(()=>!!(o.value===`hidden`&&n.keyboardShortcut===null||o.value===`minified`&&i&&n.keyboardShortcut===null));return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"is-disabled":m.value,"keyboard-shortcut":n.keyboardShortcut,label:n.label,"popover-side":`right`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(y.RouterLink),{to:n.to,class:`w-full`,onClick:f},{default:(0,d.withCtx)(({isActive:t})=>[(0,d.createVNode)(mb,{"is-active":t},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{"data-active":t||n.isActive((0,d.unref)(u))||void 0,style:(0,d.normalizeStyle)({height:(0,d.unref)(l),gridTemplateColumns:p}),class:`group grid rounded-md duration-100 hover:bg-fg-primary/4 data-active:bg-fg-primary/4`},[(0,d.createVNode)(L,{style:(0,d.normalizeStyle)({width:(0,d.unref)(s),height:(0,d.unref)(s)}),align:`center`,justify:`center`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(n.icon),{style:(0,d.normalizeStyle)({width:(0,d.unref)(c),height:(0,d.unref)(c)}),class:`shrink-0 text-fg-quaternary duration-100 group-data-active:text-fg-brand-primary dark:group-data-active:text-fg-primary`},null,8,[`style`]))]),_:1},8,[`style`]),(0,d.createVNode)(Py,null,{default:(0,d.withCtx)(()=>[(0,d.unref)(o)!==`minified`||(0,d.unref)(i)?((0,d.openBlock)(),(0,d.createBlock)(L,{key:0,align:`center`,justify:`between`,gap:`md`,class:`overflow-hidden pr-md`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`span`,gb,(0,d.toDisplayString)(n.label),1),(0,d.createVNode)(L,{gap:`lg`,align:`center`,class:`shrink-0`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`right`)]),_:3})]),_:3})):(0,d.createCommentVNode)(``,!0)]),_:3})],12,hb)]),_:2},1032,[`is-active`])]),_:3},8,[`to`])]),_:3})]),_:3},8,[`is-disabled`,`keyboard-shortcut`,`label`]))}}),vb=(0,d.defineComponent)({__name:`BadgeSeparator`,setup(e){let{variants:t}=bv();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo),{class:(0,d.normalizeClass)((0,d.unref)(t).separator()),orientation:`vertical`},null,8,[`class`]))}}),yb=(0,d.defineComponent)({__name:`MainSidebarNavigationLinkBadge`,props:{label:{}},setup(e){let t=e,{isActive:n}=pb();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Ev),{label:t.label,color:(0,d.unref)(n)?`brand`:`gray`,size:`sm`},null,8,[`label`,`color`]))}}),bb={},xb={class:`size-2 rounded-full bg-success-500`};function Sb(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,xb)}var Cb=U(bb,[[`render`,Sb]]),wb={class:`flex h-full flex-col justify-between overflow-hidden text-primary`},Tb=(0,d.defineComponent)({__name:`MainSidebarContent`,setup(e){let{sidebarContainerPadding:t}=qy();return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,wb,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)({paddingLeft:(0,d.unref)(t),paddingRight:(0,d.unref)(t),paddingBottom:(0,d.unref)(t)})},[(0,d.renderSlot)(e.$slots,`header`)],4),(0,d.createElementVNode)(`nav`,{style:(0,d.normalizeStyle)({padding:(0,d.unref)(t)}),class:`flex h-full flex-col justify-between gap-2xl overflow-y-auto`},[(0,d.renderSlot)(e.$slots,`navigation`),(0,d.renderSlot)(e.$slots,`bottom-navigation`)],4),(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)({padding:(0,d.unref)(t)}),class:`flex flex-col gap-sm`},[(0,d.renderSlot)(e.$slots,`footer`)],4)]))}}),Eb=(0,d.defineComponent)({__name:`MainSidebarTransition`,setup(e){let t=ff();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{initial:{transform:`translateX(-100%)`},animate:{transform:`translateX(0%)`},exit:{transform:`translateX(-100%)`},transition:{duration:(0,d.unref)(t)?0:.3,type:`spring`,bounce:0}},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`transition`]))}}),Db={class:`size-full rounded-xl border border-secondary bg-secondary py-md shadow-lg/5`},Ob=(0,d.defineComponent)({__name:`MainSidebar`,props:{collapsedVariant:{default:`hidden`}},setup(e){let t=e,{isFloatingSidebar:n,isSidebarOpen:r,setCollapsedVariant:i,sidebarWidth:a}=qy(),o=(0,m.useI18n)(),s=ff();return i(t.collapsedVariant),(t,i)=>(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogRoot),{key:0,open:(0,d.unref)(r),"onUpdate:open":i[0]||=e=>(0,d.isRef)(r)?r.value=e:null},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogContent),{key:0,"as-child":!0,"force-mount":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Eb,{class:`absolute z-6 h-full w-64 p-md outline-none`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Db,[(0,d.createVNode)((0,d.unref)(p.DialogTitle),{as:`h1`,class:`sr-only`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(o).t(`components.sidebar.title`)),1)]),_:1}),(0,d.createVNode)((0,d.unref)(p.DialogDescription),{class:`sr-only`,as:`p`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(o).t(`components.sidebar.description`)),1)]),_:1}),(0,d.createVNode)(Tb,null,{header:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`header`)]),navigation:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`footer`)]),_:3})])]),_:3})]),_:3})):(0,d.createCommentVNode)(``,!0),(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogOverlay),{key:1,"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.Motion),{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:(0,d.unref)(s)?0:.3},class:`absolute inset-0 z-5 bg-black/10`},null,8,[`transition`])]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:3})]),_:3},8,[`open`])):e.collapsedVariant===`hidden`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{key:1,initial:!1},{default:(0,d.withCtx)(()=>[(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createBlock)(Eb,{key:0,style:(0,d.normalizeStyle)({width:(0,d.unref)(a)}),class:`absolute h-full pt-md`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Tb,null,{header:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`header`)]),navigation:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`footer`)]),_:3})]),_:3},8,[`style`])):(0,d.createCommentVNode)(``,!0)]),_:3})):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:2,initial:!1,animate:{width:(0,d.unref)(a)},transition:{duration:(0,d.unref)(s)?0:.3,type:`spring`,bounce:0},style:(0,d.normalizeStyle)({width:(0,d.unref)(a)}),class:`absolute z-1 h-full overflow-hidden pt-[0.475rem]`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Tb,null,{header:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`header`)]),navigation:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`footer`)]),_:3})]),_:3},8,[`animate`,`transition`,`style`]))}}),kb=(0,d.defineComponent)({__name:`TextShimmer`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,class:`animate-shimmer bg-[linear-gradient(110deg,var(--text-disabled)_40%,var(--text-primary)_50%,var(--text-disabled)_60%)] bg-size-[300%_100%] bg-clip-text! text-transparent dark:bg-[linear-gradient(110deg,var(--text-disabled)_40%,var(--text-primary)_50%,var(--text-disabled)_60%)]`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),Ab={class:`size-full p-md pl-none`},jb={class:`size-full rounded-2xl border border-secondary bg-primary shadow-sm/5`},Mb={class:`text-sm font-medium`},Nb=(0,d.defineComponent)({__name:`ApplicationLoadingView`,props:{isFetchingAuthUser:{type:Boolean}},setup(e){let t=e,n=(0,m.useI18n)(),r=(0,y.useRouter)(),{isFloatingSidebar:i,isSidebarOpen:a,sidebarWidth:o}=qy(),s=(0,d.ref)(!0),c=(0,d.ref)(!1),l=ff();r.isReady().then(()=>{s.value=!1});let u=(0,d.computed)(()=>t.isFetchingAuthUser||s.value);return setTimeout(()=>{c.value=!0},500),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),null,{default:(0,d.withCtx)(()=>[u.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,exit:{opacity:0},transition:{duration:(0,d.unref)(l)?0:.2},style:(0,d.normalizeStyle)({paddingLeft:(0,d.unref)(a)&&!(0,d.unref)(i)?(0,d.unref)(o):`0.5rem`}),class:`absolute inset-0 z-99 size-full bg-secondary`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Ab,[(0,d.createElementVNode)(`div`,jb,[c.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{key:0,class:`size-full`,align:`center`,justify:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(kb),null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`h1`,Mb,(0,d.toDisplayString)((0,d.unref)(n).t(`component.dashboard_page_loading_state.loading`)),1)]),_:1})]),_:1})):(0,d.createCommentVNode)(``,!0)])])]),_:1},8,[`transition`,`style`])):(0,d.createCommentVNode)(``,!0)]),_:1}))}}),Pb={class:`rounded-2xl border border-secondary bg-secondary px-lg py-sm shadow-lg duration-200 ease-in-out group-hover:translate-y-0.5 group-hover:scale-102`},Fb={class:`grid grid-cols-[auto_auto] items-center gap-x-md gap-y-none`},Ib={class:`flex`},Lb=(0,d.defineComponent)({__name:`ApplicationOfflineWarning`,setup(e){let t=(0,m.useI18n)(),{isOnline:n}=(0,h.useNetwork)(),r=(0,d.ref)(!1),i=(0,d.computed)(()=>!n.value);function a(){r.value=!0}(0,d.watch)(i,e=>{e&&(r.value=!1)});let o=ff();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),null,{default:(0,d.withCtx)(()=>[i.value&&!r.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-40},"as-child":!0,transition:{type:`spring`,bounce:0,duration:(0,d.unref)(o)?0:.3},"while-hover":`hovered`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($),null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,{class:`group absolute top-4 left-1/2 z-10 -translate-x-1/2`,onClick:a},[(0,d.createElementVNode)(`div`,Pb,[(0,d.createElementVNode)(`div`,Fb,[(0,d.createVNode)((0,d.unref)(nr),{class:`size-3 text-tertiary`}),(0,d.createVNode)((0,d.unref)(W),{text:(0,d.unref)(t).t(`component.offline_warning.title`),class:`text-xs text-primary`},null,8,[`text`]),n[0]||=(0,d.createElementVNode)(`span`,null,null,-1),(0,d.createVNode)((0,d.unref)(g.Motion),{variants:{hovered:{height:`auto`,opacity:1,y:0}},initial:{height:`0px`,y:-8,opacity:0},transition:{type:`spring`,bounce:0,duration:.3},class:`will-change-transform`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Ib,[(0,d.createVNode)((0,d.unref)(W),{text:(0,d.unref)(t).t(`component.offline_warning.dismiss`),class:`text-xs text-disabled`},null,8,[`text`])])]),_:1})])])])]),_:1})]),_:1},8,[`transition`])):(0,d.createCommentVNode)(``,!0)]),_:1}))}}),Rb={href:`#main-content`,class:`absolute top-2 left-2 z-99 rounded-sm bg-primary p-xs text-sm text-primary not-focus-visible:sr-only`},zb=(0,d.defineComponent)({__name:`ApplicationSkipToMainContent`,setup(e){let t=(0,m.useI18n)();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)($),null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`a`,Rb,(0,d.toDisplayString)((0,d.unref)(t).t(`component.skip_to_main_content_link.label`)),1)]),_:1}))}}),Bb={class:`flex items-center gap-x-xs`},Vb={key:0,class:`flex items-center gap-x-xs text-disabled`},Hb={class:`text-secondary`},Ub={key:2,class:`text-disabled`},Wb=(0,d.defineComponent)({__name:`CommandMenuActionItem`,props:{action:{},ctx:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.computed)(()=>(0,f.resolveActionBreadcrumbs)(n.action,n.ctx)),a=(0,d.computed)(()=>i.value.length===0?null:n.action.icon===void 0?i.value[0]?.icon??null:n.action.icon(n.ctx));return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxItem),{value:e.action.id,"data-id":e.action.id,class:`flex cursor-default items-center justify-between rounded-md px-lg py-md text-xs`,"data-item":``,onSelect:n[0]||=e=>r(`select`)},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Bb,[i.value.length>0?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,Vb,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(i.value,(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:t,gap:`xs`},{default:(0,d.withCtx)(()=>[a.value!==null&&t===0?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(a.value),{key:0,class:`size-3.5 text-tertiary`})):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`span`,null,(0,d.toDisplayString)(e.label),1),(0,d.createVNode)((0,d.unref)(Yt),{class:`size-3 text-tertiary`})]),_:2},1024))),128))])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(L),{gap:`sm`},{default:(0,d.withCtx)(()=>[(0,d.unref)(f.resolveActionAvatar)(e.action,e.ctx)===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Oa),(0,d.mergeProps)({key:0},(0,d.unref)(f.resolveActionAvatar)(e.action,e.ctx),{size:`xxs`}),null,16)),e.action.icon!==void 0&&i.value.length===0?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.action.icon(e.ctx)),{key:1,class:`size-3.5 text-secondary`})):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`span`,Hb,(0,d.toDisplayString)((0,d.unref)(f.resolveActionName)(e.action,e.ctx)),1),(0,d.unref)(f.resolveActionHint)(e.action,e.ctx)?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,Ub,(0,d.toDisplayString)((0,d.unref)(f.resolveActionHint)(e.action,e.ctx)),1)):(0,d.createCommentVNode)(``,!0)]),_:1})]),(0,d.unref)(f.resolveActionSelected)(e.action,e.ctx)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Lt),{key:0,class:`size-3 text-primary`})):(0,d.createCommentVNode)(``,!0),e.action.keyboardShortcut===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Cr),{key:1,"keyboard-shortcut":e.action.keyboardShortcut},null,8,[`keyboard-shortcut`]))]),_:1},8,[`value`,`data-id`]))}}),Gb={class:`p-lg`,role:`status`,"aria-live":`polite`},Kb={class:`sr-only`},qb=(0,d.defineComponent)({__name:`CommandMenuLoadingSkeleton`,setup(e){let t=(0,m.useI18n)();return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Gb,[(0,d.createElementVNode)(`span`,Kb,(0,d.toDisplayString)((0,d.unref)(t).t(`component.command_menu.loading_actions`)),1),(0,d.createVNode)((0,d.unref)(K),{gap:`4xl`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(2,e=>(0,d.createElementVNode)(`div`,{key:e},[(0,d.createVNode)((0,d.unref)(q),{class:`h-2 w-20`}),(0,d.createVNode)((0,d.unref)(K),{class:`mt-xl`,gap:`lg`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-40`}),(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-24`}),(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-48`}),(0,d.createVNode)((0,d.unref)(q),{class:`h-3 w-40`})]),_:1})])),64))]),_:1})]))}}),Jb={class:`relative flex items-center border-b border-secondary`},Yb={class:`text-xxs text-tertiary`},Xb={class:`text-xxs text-disabled`},Zb={key:0,class:`h-full border-l border-secondary p-xl`},Qb=U((0,d.defineComponent)({__name:`CommandMenu`,props:(0,d.mergeModels)({action:{}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:(0,d.mergeModels)([`afterLeave`,`close`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`isOpen`),a=(0,f.useActionManagerStore)(),o=(0,f.useActionRegistryStore)().allActions(),s=a.focusedModels,c=(0,m.useI18n)(),l=(0,d.useTemplateRef)(`listboxRoot`),u=(0,d.useTemplateRef)(`listboxContent`),h=pt(`Shift`),g=(0,d.ref)([]),_=(0,d.ref)(``),{isLoadingActions:v,buildContext:y,refreshActions:b,resolvedActions:x,subActionsMetaMap:S}=(0,f.useCommandMenuActions)({actionsSnapshot:o,focusedModelsSnapshot:s,listboxContentRef:u,listboxRootRef:l,manager:a,navStack:g,searchInput:_}),{highlightedActionId:C,activateAction:w,breadcrumbs:T,currentParent:ee,placeholder:te,preview:E,onKeyDown:ne}=(0,f.useCommandMenuNavigation)({isShiftKeyHeld:h,buildContext:y,emit:r,listboxRootRef:l,manager:a,navStack:g,refreshActions:b,resolvedActions:x,scrollToTopOfGroup:A,searchInput:_,subActionsMetaMap:S}),{hasNavigated:D,isBouncing:O}=(0,f.useCommandMenuAnimation)(i,()=>g.value.length),k=(0,d.computed)(()=>(0,f.buildCommandMenuGroups)(x.value,y()));n.action!==void 0&&w(n.action),b();function A(){let e=l.value?.highlightedElement?.getAttribute(`data-id`)??null;if(e===null)return;let t=u.value?.$el;if(t===void 0)return;let n=t.querySelector(`[data-id="${CSS.escape(e)}"]`);if(n===null)return;let r=t.getBoundingClientRect(),i=n.closest(`[role="group"]`);if(i===null||i.querySelector(`[data-id]`)!==n)return;let a=i.getBoundingClientRect().top-r.top+t.scrollTop;a<t.scrollTop&&t.scrollTo({behavior:`instant`,top:a})}function j(e){e||r(`close`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DialogRoot),{open:i.value,"onUpdate:open":[t[3]||=e=>i.value=e,j]},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DialogContent),{class:(0,d.normalizeClass)([{bouncing:(0,d.unref)(O),navigated:(0,d.unref)(D)},`absolute top-28 left-1/2 z-99 w-full max-w-180 -translate-x-1/2 rounded-xl border border-transparent bg-primary shadow-lg duration-200 outline-none dark:border-secondary`]),"data-command-menu":``,onAfterLeave:t[2]||=e=>r(`afterLeave`)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DialogTitle),{class:`sr-only`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(c).t(`component.command_menu.title`)),1)]),_:1}),(0,d.createVNode)((0,d.unref)(p.DialogDescription),{class:`sr-only`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(c).t(`component.command_menu.title`)),1)]),_:1}),(0,d.createVNode)((0,d.unref)(p.ListboxRoot),{ref:`listboxRoot`,"highlight-on-hover":!0,class:`flex flex-col overflow-hidden`,onHighlight:t[1]||=e=>C.value=e?.value??null},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,Jb,[(0,d.unref)(T).length>0&&(0,d.unref)(ee)?.forceAsRootMenu!==!0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0,as:`ul`,gap:`xs`,class:`-mr-sm pl-lg`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(T),(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:t},[(0,d.createVNode)((0,d.unref)(Ev),{label:e,size:`sm`},null,8,[`label`]),t===(0,d.unref)(T).length-1?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Yt),{key:0,class:`size-3 text-tertiary`}))],64))),128))]),_:1})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(p.ListboxFilter),{modelValue:_.value,"onUpdate:modelValue":t[0]||=e=>_.value=e,placeholder:(0,d.unref)(te),class:`block w-full p-lg text-xs text-secondary outline-none`,onKeydown:(0,d.unref)(ne)},null,8,[`modelValue`,`placeholder`,`onKeydown`])]),(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)([{"grid-cols-2":(0,d.unref)(E)!==null},`grid`])},[((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxContent),{key:(0,d.unref)(x).map(e=>e.id).join(``),ref:`listboxContent`,class:`max-h-96 scroll-p-1 overflow-y-auto outline-none select-none`,"data-content":``},{default:(0,d.withCtx)(()=>[(0,d.unref)(x).length>0?((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:0},(0,d.renderList)(k.value,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxGroup),{key:e.key,class:`p-xs`},{default:(0,d.withCtx)(()=>[e.label!==null&&(e.showIfOnlyGroup||(0,d.unref)(ee)===null||k.value.length>1)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.ListboxGroupLabel),{key:0,class:`px-md py-xs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(L),{gap:`xs`},{default:(0,d.withCtx)(()=>[e.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.icon),{key:0,class:`size-3 text-disabled`})),e.category===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[(0,d.createElementVNode)(`span`,Yb,(0,d.toDisplayString)(e.category),1),t[4]||=(0,d.createElementVNode)(`span`,{class:`text-xxs text-tertiary`},`•`,-1)],64)),(0,d.createElementVNode)(`span`,Xb,(0,d.toDisplayString)(e.label),1)]),_:2},1024)]),_:2},1024)):(0,d.createCommentVNode)(``,!0),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.items,e=>((0,d.openBlock)(),(0,d.createBlock)(Wb,{key:e.id,action:e,ctx:(0,d.unref)(y)(),onSelect:t=>(0,d.unref)(w)(e)},null,8,[`action`,`ctx`,`onSelect`]))),128))]),_:2},1024))),128)):(0,d.unref)(v)?((0,d.openBlock)(),(0,d.createBlock)(qb,{key:1})):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:2,text:(0,d.unref)(c).t(`component.command_menu.no_results`,{query:_.value}),class:`flex p-lg text-xs text-tertiary`},null,8,[`text`]))]),_:1})),(0,d.unref)(E)===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Zb,[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)((0,d.unref)(E))))]))],2)]),_:1},512)]),_:1},8,[`class`]),(0,d.createVNode)((0,d.unref)(p.DialogOverlay),{class:`absolute inset-0 z-39 bg-black/5 dark:bg-black/20`,"data-overlay":``})]),_:1},8,[`open`]))}}),[[`__scopeId`,`data-v-d2f841e7`]]);function $b(){let e=(0,m.useI18n)(),t=N_(),n=t.create(Qb);return(0,f.createAction)({id:`command-menu`,isApplicable:e=>e.menuType===void 0,name:()=>e.t(`action.global.open_command_menu.name`),availableWhenUnauthenticated:!0,execute:()=>{t.isOpen(n.id)?n.close():n.open()},keyboardShortcut:{key:`K`,runWithInputFocus:!0,meta:!0}})}var ex=(0,d.defineComponent)({__name:`DialogBody`,setup(e){let{bodyRef:t,style:n}=D_();function r(e){t.value=e??null}return(0,d.onBeforeUnmount)(()=>{t.value=null}),(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{ref:r,class:(0,d.normalizeClass)((0,d.unref)(n).body()),"data-dialog-body":``},[(0,d.renderSlot)(e.$slots,`default`)],2))}}),tx=(0,d.defineComponent)({__name:`DialogContainer`,setup(e){let{close:t,overlays:n,unmount:r}=N_();function i(e,n){t(e,n)}function a(e){r(e)}return(e,t)=>((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(n),e=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:e.id},[e.isMounted?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.component),(0,d.mergeProps)({key:0,ref_for:!0},e.props,{"is-open":e.isOpen,"onUpdate:isOpen":t=>e.isOpen=t,onClose:t=>i(e.id,t),onAfterLeave:t=>a(e.id)}),null,16,[`is-open`,`onUpdate:isOpen`,`onClose`,`onAfterLeave`])):(0,d.createCommentVNode)(``,!0)],64))),128))}}),nx=(0,d.defineComponent)({__name:`DialogFooterSecondary`,props:{isDestructive:{type:Boolean},disableAutoFocus:{type:Boolean},disabledReason:{default:null},form:{default:null},iconLeft:{default:null},iconRight:{default:null},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},label:{},type:{default:`button`}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(Z,(0,d.mergeProps)(n,{variant:`secondary`,onClick:t[0]||=e=>r(`click`)}),null,16))}}),rx=(0,d.defineComponent)({__name:`DialogFooterSubmit`,props:{label:{}},setup(e){let t=e,{form:n}=T_();return at(`Meta+Enter`,()=>{n.submit()}),(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Z),{label:t.label,"is-loading":(0,d.unref)(n).isSubmitting.value,"keyboard-shortcut":{key:`Enter`,meta:!0},variant:`primary`,onClick:(0,d.unref)(n).submit},null,8,[`label`,`is-loading`,`onClick`]))}});function ix(e){let t=N_();return{triggerProps:(0,d.computed)(()=>{let n=t.overlays.find(t=>t.id===e)?.isOpen??!1;return{"aria-expanded":n,"aria-haspopup":`dialog`,"data-state":n?`open`:`closed`}})}}var[ax,ox]=I(`formDialogContext`),sx=(0,d.defineComponent)({__name:`FormDialog`,props:{form:{},promptOnUnsavedChanges:{type:Boolean,default:!1},renderOwnFormComponent:{type:Boolean},chin:{},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1},showCloseButton:{type:Boolean,default:!0},size:{default:`md`}},emits:[`close`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.useId)();ax({formId:i,form:n.form,promptOnUnsavedChanges:(0,d.computed)(()=>n.promptOnUnsavedChanges??!1)});function a(){r(`close`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(F_,{"has-close-button":n.showCloseButton,size:n.size,"prevent-click-outside":n.preventClickOutside,"prevent-esc":n.preventEsc,onClose:a},{default:(0,d.withCtx)(()=>[n.renderOwnFormComponent?(0,d.renderSlot)(e.$slots,`default`,{key:0,formId:(0,d.unref)(i)}):((0,d.openBlock)(),(0,d.createBlock)(G_,{key:1,form:n.form,"prompt-on-unsaved-changes":!1,class:`flex size-full flex-col overflow-hidden`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{formId:(0,d.unref)(i)})]),_:3},8,[`form`]))]),_:3},8,[`has-close-button`,`size`,`prevent-click-outside`,`prevent-esc`]))}}),cx=(0,d.defineComponent)({__name:`FormDialogForm`,setup(e){let{formId:t,form:n,promptOnUnsavedChanges:r}=ox();return(e,i)=>{let a=(0,d.resolveDirective)(`ele`);return(0,d.withDirectives)(((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G_),{id:(0,d.unref)(t),form:(0,d.unref)(n),"prompt-on-unsaved-changes":(0,d.unref)(r)},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{formId:(0,d.unref)(t)})]),_:3},8,[`id`,`form`,`prompt-on-unsaved-changes`])),[[a]])}}}),lx={withStackTrace:!1},ux=(e,t,n=lx)=>({data:t.isOk()?{type:`Ok`,value:t.value}:{type:`Err`,value:t.error},message:e,stack:n.withStackTrace?Error().stack:void 0});function dx(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}function fx(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function px(e){return this instanceof px?(this.v=e,this):new px(e)}function mx(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof px?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function hx(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:px(e[r](t)),done:!1}:i?i(t):t}:i}}function gx(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof fx==`function`?fx(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}}var _x=class e{constructor(e){this._promise=e}static fromSafePromise(t){return new e(t.then(e=>new Ex(e)))}static fromPromise(t,n){return new e(t.then(e=>new Ex(e)).catch(e=>new Dx(n(e))))}static fromThrowable(t,n){return(...r)=>new e(dx(this,void 0,void 0,function*(){try{return new Ex(yield t(...r))}catch(e){return new Dx(n?n(e):e)}}))}static combine(e){return bx(e)}static combineWithAllErrors(e){return Sx(e)}map(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){return e.isErr()?new Dx(e.error):new Ex(yield t(e.value))})))}andThrough(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){if(e.isErr())return new Dx(e.error);let n=yield t(e.value);return n.isErr()?new Dx(n.error):new Ex(e.value)})))}andTee(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){if(e.isErr())return new Dx(e.error);try{yield t(e.value)}catch{}return new Ex(e.value)})))}orTee(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){if(e.isOk())return new Ex(e.value);try{yield t(e.error)}catch{}return new Dx(e.error)})))}mapErr(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){return e.isOk()?new Ex(e.value):new Dx(yield t(e.error))})))}andThen(t){return new e(this._promise.then(n=>{if(n.isErr())return new Dx(n.error);let r=t(n.value);return r instanceof e?r._promise:r}))}orElse(t){return new e(this._promise.then(e=>dx(this,void 0,void 0,function*(){return e.isErr()?t(e.error):new Ex(e.value)})))}match(e,t){return this._promise.then(n=>n.match(e,t))}unwrapOr(e){return this._promise.then(t=>t.unwrapOr(e))}safeUnwrap(){return mx(this,arguments,function*(){return yield px(yield px(yield*hx(gx(yield px(this._promise.then(e=>e.safeUnwrap()))))))})}then(e,t){return this._promise.then(e,t)}[Symbol.asyncIterator](){return mx(this,arguments,function*(){let e=yield px(this._promise);return e.isErr()&&(yield yield px(vx(e.error))),yield px(e.value)})}};function vx(e){return new _x(Promise.resolve(new Dx(e)))}_x.fromPromise,_x.fromSafePromise,_x.fromThrowable;var yx=e=>{let t=wx([]);for(let n of e)if(n.isErr()){t=Tx(n.error);break}else t.map(e=>e.push(n.value));return t},bx=e=>_x.fromSafePromise(Promise.all(e)).andThen(yx),xx=e=>{let t=wx([]);for(let n of e)n.isErr()&&t.isErr()?t.error.push(n.error):n.isErr()&&t.isOk()?t=Tx([n.error]):n.isOk()&&t.isOk()&&t.value.push(n.value);return t},Sx=e=>_x.fromSafePromise(Promise.all(e)).andThen(xx),Cx;(function(e){function t(e,t){return(...n)=>{try{return wx(e(...n))}catch(e){return Tx(t?t(e):e)}}}e.fromThrowable=t;function n(e){return yx(e)}e.combine=n;function r(e){return xx(e)}e.combineWithAllErrors=r})(Cx||={});function wx(e){return new Ex(e)}function Tx(e){return new Dx(e)}var Ex=class{constructor(e){this.value=e}isOk(){return!0}isErr(){return!this.isOk()}map(e){return wx(e(this.value))}mapErr(e){return wx(this.value)}andThen(e){return e(this.value)}andThrough(e){return e(this.value).map(e=>this.value)}andTee(e){try{e(this.value)}catch{}return wx(this.value)}orTee(e){return wx(this.value)}orElse(e){return wx(this.value)}asyncAndThen(e){return e(this.value)}asyncAndThrough(e){return e(this.value).map(()=>this.value)}asyncMap(e){return _x.fromSafePromise(e(this.value))}unwrapOr(e){return this.value}match(e,t){return e(this.value)}safeUnwrap(){let e=this.value;return(function*(){return e})()}_unsafeUnwrap(e){return this.value}_unsafeUnwrapErr(e){throw ux("Called `_unsafeUnwrapErr` on an Ok",this,e)}*[Symbol.iterator](){return this.value}},Dx=class{constructor(e){this.error=e}isOk(){return!1}isErr(){return!this.isOk()}map(e){return Tx(this.error)}mapErr(e){return Tx(e(this.error))}andThrough(e){return Tx(this.error)}andTee(e){return Tx(this.error)}orTee(e){try{e(this.error)}catch{}return Tx(this.error)}andThen(e){return Tx(this.error)}orElse(e){return e(this.error)}asyncAndThen(e){return vx(this.error)}asyncAndThrough(e){return vx(this.error)}asyncMap(e){return vx(this.error)}unwrapOr(e){return e}match(e,t){return t(this.error)}safeUnwrap(){let e=this.error;return(function*(){throw yield Tx(e),Error("Do not use this generator out of `safeTry`")})()}_unsafeUnwrap(e){throw ux("Called `_unsafeUnwrap` on an Err",this,e)}_unsafeUnwrapErr(e){return this.error}*[Symbol.iterator](){let e=this;return yield e,e}};Cx.fromThrowable;var Ox={prefetchStaleTime:60,limit:20};Ox.limit,Ox.limit;var kx=class e{static getApiErrorCode(e){return e.errors?.[0]?.code??null}static getApiErrorMessage(e){return e.errors?.[0]?.detail??null}static getMessage(e){return e.errors?.[0]?.detail??null}static handleApiError({error:t,message:n}){return e.isExpectedApiError(t)||(console.error(`Unexpected API error: ${t}`),t instanceof Error)?t:Error(n??`An unknown error occurred`)}static isExpectedApiError(e){return e?.errors!==void 0}static isZodError(e){return e instanceof v.default.ZodError}},Ax=1,jx=new class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)});publish=e=>{this.subscribers.forEach(t=>t(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:Ax++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e);message=(e,t)=>this.create({...t,message:e,type:`default`});error=(e,t)=>this.create({...t,type:`error`,message:e});success=(e,t)=>this.create({...t,type:`success`,message:e});info=(e,t)=>this.create({...t,type:`info`,message:e});warning=(e,t)=>this.create({...t,type:`warning`,message:e});loading=(e,t)=>this.create({...t,type:`loading`,message:e});promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(e instanceof Function?e():e),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],(0,d.isVNode)(e))i=!1,this.create({id:n,type:`default`,message:e});else if(Nx(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description,o=typeof r==`object`&&!(0,d.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(e instanceof Error){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,d.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,d.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`success`,description:a,...o})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,d.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),t.finally?.()}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})};custom=(e,t)=>{let n=t?.id||Ax++,r=this.toasts.find(e=>e.id===n),i=t?.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),r?this.toasts=this.toasts.map(r=>r.id===n?(this.publish({...r,component:e,dismissible:i,id:n,...t}),{...r,component:e,dismissible:i,id:n,...t}):r):this.addToast({component:e,dismissible:i,id:n,...t}),n};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))};function Mx(e,t){let n=t?.id||Ax++;return jx.create({message:e,id:n,type:`default`,...t}),n}var Nx=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,Px=Object.assign(Mx,{success:jx.success,info:jx.info,warning:jx.warning,error:jx.error,custom:jx.custom,message:jx.message,promise:jx.promise,dismiss:jx.dismiss,loading:jx.loading},{getHistory:()=>jx.toasts,getToasts:()=>jx.getActiveToasts()});function Fx(e){return e.label!==void 0}var Ix=3,Lx=`24px`,Rx=`16px`,zx=4e3,Bx=356,Vx=14,Hx=45,Ux=200;function Wx(){let e=(0,d.ref)(!1);return(0,d.watchEffect)(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}}function Gx(...e){return e.filter(Boolean).join(` `)}function Kx(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(t),n&&r.push(n),r}function qx(e,t){let n={};return[e,t].forEach((e,t)=>{let r=t===1,i=r?`--mobile-offset`:`--offset`,a=r?Rx:Lx;function o(e){[`top`,`right`,`bottom`,`left`].forEach(t=>{n[`${i}-${t}`]=typeof e==`number`?`${e}px`:e})}typeof e==`number`||typeof e==`string`?o(e):typeof e==`object`?[`top`,`right`,`bottom`,`left`].forEach(t=>{e[t]===void 0?n[`${i}-${t}`]=a:n[`${i}-${t}`]=typeof e[t]==`number`?`${e[t]}px`:e[t]}):o(a)}),n}var Jx=[`data-rich-colors`,`data-styled`,`data-mounted`,`data-promise`,`data-swiped`,`data-removed`,`data-visible`,`data-y-position`,`data-x-position`,`data-index`,`data-front`,`data-swiping`,`data-dismissible`,`data-type`,`data-invert`,`data-swipe-out`,`data-swipe-direction`,`data-expanded`,`data-testid`],Yx=[`aria-label`,`data-disabled`,`data-close-button-position`],Xx=(0,d.defineComponent)({__name:`Toast`,props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},closeButtonPosition:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:[`update:heights`,`update:height`,`removeToast`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.ref)(null),a=(0,d.ref)(null),o=(0,d.ref)(!1),s=(0,d.ref)(!1),c=(0,d.ref)(!1),l=(0,d.ref)(!1),u=(0,d.ref)(!1),f=(0,d.ref)(0),p=(0,d.ref)(0),m=(0,d.ref)(n.toast.duration||n.duration||zx),h=(0,d.ref)(null),g=(0,d.ref)(null),_=(0,d.computed)(()=>n.index===0),v=(0,d.computed)(()=>n.index+1<=n.visibleToasts),y=(0,d.computed)(()=>n.toast.type),b=(0,d.computed)(()=>n.toast.dismissible!==!1),x=(0,d.computed)(()=>n.toast.class||``),S=(0,d.computed)(()=>n.descriptionClass||``),C=(0,d.computed)(()=>{let e=n.toast.position||n.position,t=n.heights.filter(t=>t.position===e).findIndex(e=>e.toastId===n.toast.id);return t>=0?t:0}),w=(0,d.computed)(()=>{let e=n.toast.position||n.position;return n.heights.filter(t=>t.position===e).reduce((e,t,n)=>n>=C.value?e:e+t.height,0)}),T=(0,d.computed)(()=>C.value*n.gap+w.value||0),ee=(0,d.computed)(()=>n.toast.closeButton??n.closeButton),te=(0,d.computed)(()=>n.toast.duration||n.duration||zx),E=(0,d.ref)(0),ne=(0,d.ref)(0),D=(0,d.ref)(null),O=(0,d.computed)(()=>n.position.split(`-`)),k=(0,d.computed)(()=>O.value[0]),A=(0,d.computed)(()=>O.value[1]),j=(0,d.computed)(()=>typeof n.toast.title!=`string`),re=(0,d.computed)(()=>typeof n.toast.description!=`string`),{isDocumentHidden:ie}=Wx(),ae=(0,d.computed)(()=>y.value&&y.value===`loading`);(0,d.onMounted)(()=>{o.value=!0,m.value=te.value}),(0,d.watchEffect)(async()=>{if(!o.value||!g.value)return;await(0,d.nextTick)();let e=g.value,t=e.style.height;e.style.height=`auto`;let i=e.getBoundingClientRect().height;e.style.height=t,p.value=i,r(`update:height`,{toastId:n.toast.id,height:i,position:n.toast.position||n.position})});function oe(){s.value=!0,f.value=T.value,setTimeout(()=>{r(`removeToast`,n.toast)},Ux)}function M(){if(ae.value||!b.value)return{};oe(),n.toast.onDismiss?.(n.toast)}function se(e){e.button!==2&&(ae.value||!b.value||(h.value=new Date,f.value=T.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(c.value=!0,D.value={x:e.clientX,y:e.clientY})))}function ce(){if(l.value||!b.value)return;D.value=null;let e=Number(g.value?.style.getPropertyValue(`--swipe-amount-x`).replace(`px`,``)||0),t=Number(g.value?.style.getPropertyValue(`--swipe-amount-y`).replace(`px`,``)||0),r=new Date().getTime()-(h.value?.getTime()||0),o=i.value===`x`?e:t,s=Math.abs(o)/r;if(Math.abs(o)>=Hx||s>.11){f.value=T.value,n.toast.onDismiss?.(n.toast),i.value===`x`?a.value=e>0?`right`:`left`:a.value=t>0?`down`:`up`,oe(),l.value=!0;return}else g.value?.style.setProperty(`--swipe-amount-x`,`0px`),g.value?.style.setProperty(`--swipe-amount-y`,`0px`);u.value=!1,c.value=!1,i.value=null}function le(e){if(!D.value||!b.value||(window?.getSelection()?.toString()?.length??!1))return;let t=e.clientY-D.value.y,r=e.clientX-D.value.x,a=n.swipeDirections??Kx(n.position);!i.value&&(Math.abs(r)>1||Math.abs(t)>1)&&(i.value=Math.abs(r)>Math.abs(t)?`x`:`y`);let o={x:0,y:0},s=e=>1/(1.5+Math.abs(e)/20);if(i.value===`y`){if(a.includes(`top`)||a.includes(`bottom`))if(a.includes(`top`)&&t<0||a.includes(`bottom`)&&t>0)o.y=t;else{let e=t*s(t);o.y=Math.abs(e)<Math.abs(t)?e:t}}else if(i.value===`x`&&(a.includes(`left`)||a.includes(`right`)))if(a.includes(`left`)&&r<0||a.includes(`right`)&&r>0)o.x=r;else{let e=r*s(r);o.x=Math.abs(e)<Math.abs(r)?e:r}(Math.abs(o.x)>0||Math.abs(o.y)>0)&&(u.value=!0),g.value?.style.setProperty(`--swipe-amount-x`,`${o.x}px`),g.value?.style.setProperty(`--swipe-amount-y`,`${o.y}px`)}(0,d.onMounted)(()=>{if(o.value=!0,!g.value)return;let e=g.value.getBoundingClientRect().height;p.value=e,r(`update:heights`,[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights])}),(0,d.onBeforeUnmount)(()=>{g.value&&r(`removeToast`,n.toast)}),(0,d.watchEffect)(e=>{if(n.toast.promise&&y.value===`loading`||n.toast.duration===1/0||n.toast.type===`loading`)return;let t;n.expanded||n.interacting||ie.value?(()=>{if(ne.value<E.value){let e=new Date().getTime()-E.value;m.value-=e}ne.value=new Date().getTime()})():m.value!==1/0&&(E.value=new Date().getTime(),t=setTimeout(()=>{n.toast.onAutoClose?.(n.toast),oe()},m.value)),e(()=>{clearTimeout(t)})}),(0,d.watch)(()=>n.toast.delete,e=>{e!==void 0&&e&&(oe(),n.toast.onDismiss?.(n.toast))},{deep:!0});function N(){c.value=!1,i.value=null,D.value=null}return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`li`,{tabindex:`0`,ref_key:`toastRef`,ref:g,class:(0,d.normalizeClass)((0,d.unref)(Gx)(n.class,x.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[y.value],e.toast?.classes?.[y.value])),"data-sonner-toast":``,"data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!(e.toast.component||e.toast?.unstyled||e.unstyled),"data-mounted":o.value,"data-promise":!!e.toast.promise,"data-swiped":u.value,"data-removed":s.value,"data-visible":v.value,"data-y-position":k.value,"data-x-position":A.value,"data-index":e.index,"data-front":_.value,"data-swiping":c.value,"data-dismissible":b.value,"data-type":y.value,"data-invert":e.toast.invert||e.invert,"data-swipe-out":l.value,"data-swipe-direction":a.value,"data-expanded":!!(e.expanded||e.expandByDefault&&o.value),"data-testid":e.toast.testId,style:(0,d.normalizeStyle)({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${s.value?f.value:T.value}px`,"--initial-height":e.expandByDefault?`auto`:`${p.value}px`,...e.style,...n.toast.style}),onDragend:N,onPointerdown:se,onPointerup:ce,onPointermove:le},[ee.value&&!e.toast.component&&y.value!==`loading`?((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":ae.value,"data-close-button":`true`,"data-close-button-position":e.closeButtonPosition,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:M},[e.icons?.close?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.icons?.close),{key:0})):(0,d.renderSlot)(e.$slots,`close-icon`,{key:1})],10,Yx)):(0,d.createCommentVNode)(`v-if`,!0),e.toast.component?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.toast.component),(0,d.mergeProps)({key:1},e.toast.componentProps,{onCloseToast:M,isPaused:e.$props.expanded||e.$props.interacting||(0,d.unref)(ie)}),null,16,[`isPaused`])):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:2},[y.value!==`default`||e.toast.icon||e.toast.promise?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,"data-icon":``,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.toast.icon),{key:0})):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[y.value===`loading`?(0,d.renderSlot)(e.$slots,`loading-icon`,{key:0}):y.value===`success`?(0,d.renderSlot)(e.$slots,`success-icon`,{key:1}):y.value===`error`?(0,d.renderSlot)(e.$slots,`error-icon`,{key:2}):y.value===`warning`?(0,d.renderSlot)(e.$slots,`warning-icon`,{key:3}):y.value===`info`?(0,d.renderSlot)(e.$slots,`info-icon`,{key:4}):(0,d.createCommentVNode)(`v-if`,!0)],64))],2)):(0,d.createCommentVNode)(`v-if`,!0),(0,d.createElementVNode)(`div`,{"data-content":``,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.content,e.toast?.classes?.content))},[(0,d.createElementVNode)(`div`,{"data-title":``,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.title,e.toast.classes?.title))},[j.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.toast.title),(0,d.normalizeProps)((0,d.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[(0,d.createTextVNode)((0,d.toDisplayString)(e.toast.title),1)],64))],2),e.toast.description?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,"data-description":``,class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.descriptionClass,S.value,e.classes?.description,e.toast.classes?.description))},[re.value?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.toast.description),(0,d.normalizeProps)((0,d.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[(0,d.createTextVNode)((0,d.toDisplayString)(e.toast.description),1)],64))],2)):(0,d.createCommentVNode)(`v-if`,!0)],2),e.toast.cancel?((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:1,style:(0,d.normalizeStyle)(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":``,"data-cancel":``,onClick:t[0]||=t=>{(0,d.unref)(Fx)(e.toast.cancel)&&b.value&&(e.toast.cancel.onClick?.(t),oe())}},(0,d.toDisplayString)((0,d.unref)(Fx)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):(0,d.createCommentVNode)(`v-if`,!0),e.toast.action?((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:2,style:(0,d.normalizeStyle)(e.toast.actionButtonStyle||e.actionButtonStyle),class:(0,d.normalizeClass)((0,d.unref)(Gx)(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":``,"data-action":``,onClick:t[1]||=t=>{(0,d.unref)(Fx)(e.toast.action)&&(e.toast.action.onClick?.(t),!t.defaultPrevented&&oe())}},(0,d.toDisplayString)((0,d.unref)(Fx)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):(0,d.createCommentVNode)(`v-if`,!0)],64))],46,Jx))}}),Zx=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Qx={},$x={xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stoke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function eS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,$x,t[0]||=[(0,d.createElementVNode)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),(0,d.createElementVNode)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)])}var tS=Zx(Qx,[[`render`,eS]]),nS=[`data-visible`],rS={class:`sonner-spinner`},iS=(0,d.defineComponent)({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[(0,d.createElementVNode)(`div`,rS,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(t),e=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,nS))}}),aS={},oS={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function sS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,oS,t[0]||=[(0,d.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,"clip-rule":`evenodd`},null,-1)])}var cS=Zx(aS,[[`render`,sS]]),lS={},uS={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function dS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,uS,t[0]||=[(0,d.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,"clip-rule":`evenodd`},null,-1)])}var fS=Zx(lS,[[`render`,dS]]),pS={},mS={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`};function hS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,mS,t[0]||=[(0,d.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,"clip-rule":`evenodd`},null,-1)])}var gS=Zx(pS,[[`render`,hS]]),_S={},vS={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function yS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,vS,t[0]||=[(0,d.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,"clip-rule":`evenodd`},null,-1)])}var bS=Zx(_S,[[`render`,yS]]),xS=[`aria-label`],SS=[`data-sonner-theme`,`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`],CS=typeof window<`u`&&typeof document<`u`;function wS(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}var TS=(0,d.defineComponent)({name:`Toaster`,inheritAttrs:!1,__name:`Toaster`,props:{id:{},invert:{type:Boolean,default:!1},theme:{default:`light`},position:{default:`bottom-right`},closeButtonPosition:{default:`top-left`},hotkey:{default:()=>[`altKey`,`KeyT`]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:Vx},visibleToasts:{default:Ix},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{},offset:{default:Lx},mobileOffset:{default:Rx},dir:{default:`auto`},swipeDirections:{},icons:{},containerAriaLabel:{default:`Notifications`}},setup(e){let t=e,n=(0,d.useAttrs)(),r=(0,d.ref)([]),i=(0,d.computed)(()=>t.id?r.value.filter(e=>e.toasterId===t.id):r.value.filter(e=>!e.toasterId));function a(e,t){return i.value.filter(n=>!n.position&&t===0||n.position===e)}let o=(0,d.computed)(()=>{let e=i.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([t.position].concat(e))):[t.position]}),s=(0,d.computed)(()=>{let e={};return o.value.forEach(t=>{e[t]=r.value.filter(e=>e.position===t)}),e}),c=(0,d.ref)([]),l=(0,d.ref)({}),u=(0,d.ref)(!1);(0,d.watchEffect)(()=>{o.value.forEach(e=>{e in l.value||(l.value[e]=!1)})});let f=(0,d.ref)(t.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t.theme),p=(0,d.ref)(null),m=(0,d.ref)(null),h=(0,d.ref)(!1),g=t.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``);function _(e){r.value.find(t=>t.id===e.id)?.delete||jx.dismiss(e.id),r.value=r.value.filter(({id:t})=>t!==e.id),setTimeout(()=>{r.value.find(t=>t.id===e.id)||(c.value=c.value.filter(t=>t.toastId!==e.id))},250)}function v(e){h.value&&!e.currentTarget?.contains?.(e.relatedTarget)&&(h.value=!1,m.value&&=(m.value.focus({preventScroll:!0}),null))}function y(e){e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||h.value||(h.value=!0,m.value=e.relatedTarget)}function b(e){e.target&&e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||(u.value=!0)}(0,d.watchEffect)(e=>{e(jx.subscribe(e=>{if(e.dismiss){requestAnimationFrame(()=>{r.value=r.value.map(t=>t.id===e.id?{...t,delete:!0}:t)});return}(0,d.nextTick)(()=>{let t=r.value.findIndex(t=>t.id===e.id);t===-1?r.value=[e,...r.value]:r.value=[...r.value.slice(0,t),{...r.value[t],...e},...r.value.slice(t+1)]})}))}),(0,d.watchEffect)(e=>{if(typeof window>`u`)return;if(t.theme!==`system`){f.value=t.theme;return}let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=e=>{f.value=e?`dark`:`light`};r(n.matches);let i=e=>{r(e.matches)};try{n.addEventListener(`change`,i)}catch{n.addListener(i)}e(()=>{try{n.removeEventListener(`change`,i)}catch{n.removeListener(i)}})}),(0,d.watchEffect)(()=>{p.value&&m.value&&(m.value.focus({preventScroll:!0}),m.value=null,h.value=!1)}),(0,d.watchEffect)(()=>{r.value.length<=1&&Object.keys(l.value).forEach(e=>{l.value[e]=!1})}),(0,d.watchEffect)(e=>{function n(e){let n=t.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(p.value)?p.value[0]:p.value;n&&(o.value.forEach(e=>{l.value[e]=!0}),r?.focus());let i=document.activeElement===p.value||r?.contains(document.activeElement);e.code===`Escape`&&i&&o.value.forEach(e=>{l.value[e]=!1})}CS&&(document.addEventListener(`keydown`,n),e(()=>{document.removeEventListener(`keydown`,n)}))});function x(e){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!0}function S(e){if(!u.value){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!1}}function C(){Object.keys(l.value).forEach(e=>{l.value[e]=!1})}function w(){u.value=!1}function T(e){c.value=e}function ee(e){let t=c.value.findIndex(t=>t.toastId===e.toastId);if(t!==-1)c.value[t]=e;else{let t=c.value.findIndex(t=>t.position===e.position);t===-1?c.value.unshift(e):c.value.splice(t,0,e)}}return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,[(0,d.createCommentVNode)(` Remove item from normal navigation flow, only available via hotkey `),(0,d.createElementVNode)(`section`,{"aria-label":`${e.containerAriaLabel} ${(0,d.unref)(g)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(o.value,(r,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`ol`,(0,d.mergeProps)({key:r,ref_for:!0,ref_key:`listRef`,ref:p,"data-sonner-toaster":``,"data-sonner-theme":f.value,class:t.class,dir:e.dir===`auto`?wS():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":r.split(`-`)[0],"data-x-position":r.split(`-`)[1],style:{"--front-toast-height":`${c.value[0]?.height||0}px`,"--width":`${(0,d.unref)(Bx)}px`,"--gap":`${e.gap}px`,...e.style,...(0,d.unref)(n).style,...(0,d.unref)(qx)(e.offset,e.mobileOffset)}},{ref_for:!0},e.$attrs,{onBlur:v,onFocus:y,onMouseenter:x,onMousemove:x,onMouseleave:S,onDragend:C,onPointerdown:b,onPointerup:w}),[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(a(r,i),(n,i)=>((0,d.openBlock)(),(0,d.createBlock)(Xx,{key:n.id,heights:c.value,icons:e.icons,index:i,toast:n,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:(0,d.normalizeClass)(e.toastOptions?.class??``),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:u.value,position:r,closeButtonPosition:e.toastOptions?.closeButtonPosition??e.closeButtonPosition,style:(0,d.normalizeStyle)(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,"close-button-aria-label":e.toastOptions?.closeButtonAriaLabel,toasts:s.value[r],expandByDefault:e.expand,gap:e.gap,expanded:l.value[r]||!1,swipeDirections:t.swipeDirections,"onUpdate:heights":T,"onUpdate:height":ee,onRemoveToast:_},{"close-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`close-icon`,{},()=>[(0,d.createVNode)(tS)])]),"loading-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`loading-icon`,{},()=>[(0,d.createVNode)(iS,{visible:n.type===`loading`},null,8,[`visible`])])]),"success-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`success-icon`,{},()=>[(0,d.createVNode)(cS)])]),"error-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`error-icon`,{},()=>[(0,d.createVNode)(bS)])]),"warning-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`warning-icon`,{},()=>[(0,d.createVNode)(gS)])]),"info-icon":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`info-icon`,{},()=>[(0,d.createVNode)(fS)])]),_:2},1032,[`heights`,`icons`,`index`,`toast`,`defaultRichColors`,`duration`,`class`,`descriptionClass`,`invert`,`visibleToasts`,`closeButton`,`interacting`,`position`,`closeButtonPosition`,`style`,`unstyled`,`classes`,`cancelButtonStyle`,`actionButtonStyle`,`close-button-aria-label`,`toasts`,`expandByDefault`,`gap`,`expanded`,`swipeDirections`]))),128))],16,SS))),128))],8,xS)],2112))}}),ES=H({slots:{title:`mb-xs text-sm font-medium`},variants:{variant:{error:{title:`text-error-primary`},info:{title:`text-primary`},warning:{title:`text-warning-primary`}}}}),DS=(0,d.defineComponent)({__name:`ToastActions`,props:{button:{},link:{}},emits:[`close`],setup(e,{emit:t}){let n=t;function r(e){e.onClick(),n(`close`)}function i(){n(`close`)}return(t,n)=>e.button!==void 0||e.link!==void 0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0},{default:(0,d.withCtx)(()=>[e.button===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Z),(0,d.mergeProps)({key:0,variant:`secondary`},e.button,{onClick:n[0]||=t=>r(e.button)}),null,16)),e.link===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(d_),(0,d.mergeProps)({key:1,variant:`secondary`},e.link,{onClick:n[1]||=e=>i()}),null,16))]),_:1})):(0,d.createCommentVNode)(``,!0)}}),OS={class:`absolute top-0 right-0 mt-md mr-sm flex h-text-sm items-center justify-center`},kS=(0,d.defineComponent)({__name:`ToastCloseButton`,emits:[`close`],setup(e,{emit:t}){let n=t,r=(0,m.useI18n)();return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,OS,[(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(or),"is-tooltip-disabled":!0,label:(0,d.unref)(r).t(`component.toast.close.label`),size:`sm`,variant:`tertiary`,onClick:t[0]||=e=>n(`close`)},null,8,[`icon`,`label`])]))}}),AS={class:`flex h-text-sm items-center`},jS=(0,d.defineComponent)({__name:`ToastIcon`,props:{icon:{},variant:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,AS,[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{class:(0,d.normalizeClass)([{"text-error-primary":t.variant===`error`,"text-warning-primary":t.variant===`warning`,"text-tertiary":t.variant===`info`||t.variant===`loading`||t.variant===void 0},`size-4`])},null,8,[`class`]))]))}}),MS={},NS={class:`pointer-events-auto relative w-full rounded-xl border border-secondary bg-primary p-md pl-lg shadow-lg/5`};function PS(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,NS,[(0,d.renderSlot)(e.$slots,`default`)])}var FS=U(MS,[[`render`,PS]]),IS={class:`flex h-text-sm items-center`},LS=(0,d.defineComponent)({__name:`ToastLoader`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,IS,[(0,d.createVNode)((0,d.unref)(Ia),{class:`size-3.5 text-tertiary`})]))}}),RS=[`src`,`alt`],zS={class:`font-medium text-primary`},BS=(0,d.defineComponent)({__name:`ToastInteractablePart`,props:{icon:{},imageSrc:{},label:{},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;function i(){n.to!==null&&r(`click`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(n.to===null?`span`:(0,d.unref)(y.RouterLink)),{to:n.to,class:(0,d.normalizeClass)({"hover:underline":n.to!==null}),onClick:i},{default:(0,d.withCtx)(()=>[n.imageSrc===null?n.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(n.icon),{key:1,class:`mr-xs inline size-3.5 -translate-y-px align-sub text-secondary`})):((0,d.openBlock)(),(0,d.createElementBlock)(`img`,{key:0,src:n.imageSrc,alt:n.label,class:`mr-xs inline size-3.5 -translate-y-px rounded-xs align-middle`},null,8,RS)),(0,d.createElementVNode)(`span`,zS,(0,d.toDisplayString)(n.label),1)]),_:1},8,[`to`,`class`]))}}),VS={class:`text-sm text-secondary`},HS=(0,d.defineComponent)({__name:`ToastMessage`,props:{message:{},models:{}},emits:[`closeToast`],setup(e,{emit:t}){let n=e,r=t,i=/(\{.*?\})/g,a=/^\{(.*?)\}$/,o=(0,d.computed)(()=>n.message.split(i).map(e=>{let t=e.match(a);if(t===null)return{label:e,type:`text`};let r=t[1],i=n.models[r]??null;return i===null?(console.warn(`No model found for key "${r}" in toast message "${n.message}"`),{label:e,type:`text`}):{icon:i.icon??null,imageSrc:i.imageSrc??null,key:r,label:i.label,to:i.to,type:`interactable`}}));return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`span`,VS,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(o.value,(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:n},[e.type===`text`?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[(0,d.createTextVNode)((0,d.toDisplayString)(e.label),1)],64)):e.type===`interactable`?((0,d.openBlock)(),(0,d.createBlock)(BS,{key:1,icon:e.icon,"image-src":e.imageSrc,label:e.label,to:e.to??null,onClick:t[0]||=e=>r(`closeToast`)},null,8,[`icon`,`image-src`,`label`,`to`])):(0,d.createCommentVNode)(``,!0)],64))),128))]))}}),US=U((0,d.defineComponent)({__name:`Toast`,props:{toast:{}},emits:[`closeToast`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.computed)(()=>n.toast.variant===`error`?`error`:n.toast.variant===`warning`?`warning`:`info`),a=(0,d.computed)(()=>ES({variant:i.value}));return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(FS,{"data-toast-id":n.toast.id},{default:(0,d.withCtx)(()=>[(n.toast.dismissible??!0)&&n.toast.variant!==`loading`?((0,d.openBlock)(),(0,d.createBlock)(kS,{key:0,onClose:t[0]||=e=>r(`closeToast`)})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(L),{align:`start`,class:`pr-3xl`},{default:(0,d.withCtx)(()=>[n.toast.variant===`loading`?((0,d.openBlock)(),(0,d.createBlock)(LS,{key:0})):n.toast.icon===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(jS,{key:1,icon:n.toast.icon,variant:n.toast.variant},null,8,[`icon`,`variant`])),(0,d.createVNode)((0,d.unref)(K),{gap:`none`},{default:(0,d.withCtx)(()=>[n.toast.title===void 0?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:0,text:n.toast.title,class:(0,d.normalizeClass)([a.value.title(),`mb-xs text-sm font-medium`])},null,8,[`text`,`class`])),(0,d.createVNode)(HS,{models:n.toast.interactableModels??{},message:n.toast.message,onCloseToast:t[1]||=e=>r(`closeToast`)},null,8,[`models`,`message`]),(0,d.createVNode)(DS,{button:n.toast.button,link:n.toast.link,class:`mt-lg`,onClose:t[2]||=e=>r(`closeToast`)},null,8,[`button`,`link`])]),_:1})]),_:1})]),_:1},8,[`data-toast-id`]))}}),[[`__scopeId`,`data-v-201a0d0f`]]),WS=600,GS=`animate-toast-highlight`,KS=new Map;function qS(e){let t=document.querySelector(`[data-toast-id="${e}"]`);if(!t)return;let n=KS.get(e);n&&clearTimeout(n),t.classList.remove(GS),t.scrollTop,t.classList.add(GS);let r=setTimeout(()=>{t.classList.remove(GS),KS.delete(e)},WS);KS.set(e,r)}var JS=1/0,YS=5e3,XS=7e3;function ZS(e,t){switch(e){case`always`:return t===`error`?XS:YS;case`all-except-errors`:return t===`error`?JS:YS;case`never`:return JS}}function QS(e){Px.dismiss(e)}function $S(){let e=(0,m.useI18n)(),t=X();function n(e){(e.id===void 0?null:Px.getToasts().find(t=>t.id===e.id)??null)!==null&&qS(e.id),Px.custom((0,d.markRaw)((0,d.defineComponent)({render:()=>(0,d.h)(US,{toast:e})})),{id:e.id??crypto.randomUUID(),class:`w-full sm:w-96`,dismissible:e.dismissible,duration:e.duration??ZS(t.autoCloseToast.value,e.variant===`error`?`error`:`info`),position:e.position??`bottom-right`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss})}function r(e){let r=e.id??crypto.randomUUID();n({id:r,dismissible:!1,duration:JS,icon:e.icon,interactableModels:e.interactableModels,message:e.loading,variant:`loading`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss});function i(n,i){let a=Px.custom((0,d.markRaw)((0,d.defineComponent)({render:()=>(0,d.h)(US,{toast:{id:r,icon:e.icon,interactableModels:e.interactableModels,message:n,variant:i}})})),{id:r,class:`w-full sm:w-96`,dismissible:!0,position:e.position??`bottom-right`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss});setTimeout(()=>{Px.dismiss(a)},e.duration??ZS(t.autoCloseToast.value,i===`error`?`error`:`info`))}e.promise.then(()=>i(e.success,`info`)).catch(()=>i(e.error,`error`))}function i(){n({id:`unable-to-save`,icon:_t,message:e.t(`component.toast.unable_to_save_changes.message`),variant:`error`})}function a(t){if(!kx.isExpectedApiError(t)){n({icon:_t,message:e.t(`component.toast.unexpected_error.message`),variant:`error`}),console.error(`Unknown error occurred:`,t);return}let[r]=t.errors;r!==void 0&&n({icon:_t,message:r.detail,variant:`error`})}return{apiError:a,dismiss:QS,promise:r,show:n,unableToSave:i}}var eC=(0,d.defineComponent)({__name:`ToastContainer`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(TS),{style:{zIndex:41},expand:!1}))}}),tC=(0,d.defineComponent)({__name:`TooltipProvider`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TooltipProvider),null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),nC=(0,d.defineComponent)({__name:`ApplicationProvider`,props:{isFetchingAuthUser:{type:Boolean}},setup(e){let t=e;return(0,f.useActionRegistryStore)().registerActions($b()),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(tC,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(zb)),(0,d.createVNode)((0,d.unref)(Lb)),(0,d.createVNode)((0,d.unref)(Nb),{"is-fetching-auth-user":t.isFetchingAuthUser},null,8,[`is-fetching-auth-user`]),(0,d.createVNode)((0,d.unref)(eC)),(0,d.createVNode)((0,d.unref)(tx)),(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),rC=(0,d.defineComponent)({__name:`BreadcrumbItem`,props:{isLabelHidden:{type:Boolean},icon:{},label:{},to:{}},setup(e){let t=e,n=(0,d.computed)(()=>t.isLabelHidden?`sr-only`:``),r=(0,d.computed)(()=>t.to===void 0?``:`group-hover:text-primary group-hover:underline`);return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.to===void 0?`span`:$),{class:`min-w-0 overflow-hidden`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.to===void 0?`span`:(0,d.unref)(y.RouterLink)),{to:t.to,class:`group min-w-0`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{class:`min-w-0`,gap:`sm`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(G,{"is-disabled":!t.isLabelHidden,label:t.label},{default:(0,d.withCtx)(()=>[t.icon?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:(0,d.normalizeClass)([{"group-hover:text-primary":t.to!==void 0},`size-4 shrink-0 text-tertiary`])},null,8,[`class`])):(0,d.createCommentVNode)(``,!0)]),_:1},8,[`is-disabled`,`label`]),t.label?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:0,text:t.label,class:(0,d.normalizeClass)((0,d.unref)(Fv)(`text-xs text-tertiary`,n.value,r.value))},null,8,[`text`,`class`])):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`to`]))]),_:1}))}}),iC={class:`min-w-0`},aC=(0,d.defineComponent)({__name:`BreadcrumbItems`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`nav`,iC,[(0,d.createVNode)(L,{align:`center`,gap:`sm`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]))}}),oC=(0,d.defineComponent)({__name:`BreadcrumbSeparator`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Yt),{class:`size-3.5 shrink-0 text-disabled`}))}}),[sC,cC]=I(`checkboxContext`),lC=H({slots:{control:`
|
|
508
508
|
relative flex size-4 items-center justify-center overflow-hidden
|
|
509
509
|
rounded-xs border border-solid border-secondary bg-primary outline-2
|
|
510
510
|
outline-offset-1 outline-transparent duration-300
|
|
@@ -527,7 +527,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
527
527
|
`,root:`
|
|
528
528
|
group/checkbox flex items-center justify-start outline-none
|
|
529
529
|
disabled:cursor-not-allowed
|
|
530
|
-
`}}),uC={key:0,width:`100%`,height:`100%`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`},dC={key:1,width:`100%`,height:`100%`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`},fC=(0,d.defineComponent)({__name:`CheckboxIndicator`,setup(e){let t={hidden:{opacity:0,pathLength:0},visible:{opacity:1,pathLength:1,transition:{opacity:{duration:.01},pathLength:{bounce:0,duration:.5,type:`spring`}}}},{isIndeterminate:n,checkboxStyle:r}=cC();return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.CheckboxIndicator),{class:(0,d.normalizeClass)((0,d.unref)(r).indicator()),"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{},()=>[(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,uC,[(0,d.createVNode)((0,d.unref)(g.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`})])):((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,dC,[(0,d.createVNode)((0,d.unref)(g.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}))}}),pC=(0,d.defineComponent)({__name:`BaseCheckbox`,props:(0,d.mergeModels)({isIndeterminate:{type:Boolean,default:!1},value:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean,default:!1},hint:{},label:{},autocomplete:{}},{modelValue:{type:Boolean,required:!1},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),a=n.id??(0,d.useId)(),o=(0,d.computed)(()=>lC()),s=(0,d.computed)({get(){return i.value===null?null:i.value?!0:n.isIndeterminate?`indeterminate`:!1},set(e){e!==null&&(i.value=e===`indeterminate`?!1:e)}});return sC({isIndeterminate:(0,d.computed)(()=>n.isIndeterminate),checkboxStyle:o}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,"is-horizontal":!0,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(a),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-label-hidden":n.isLabelHidden},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.CheckboxRoot),{id:(0,d.unref)(a),modelValue:s.value,"onUpdate:modelValue":t[0]||=e=>s.value=e,disabled:n.isDisabled,class:(0,d.normalizeClass)(o.value.root()),value:n.value,onBlur:t[1]||=e=>r(`blur`)},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(o.value.control())},[(0,d.createVNode)(fC)],2)]),_:1},8,[`id`,`modelValue`,`disabled`,`class`,`value`])]),_:1},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-label-hidden`]))}}),mC=(0,d.defineComponent)({__name:`Checkbox`,props:(0,d.mergeModels)({value:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},autocomplete:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`);return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(pC,(0,d.mergeProps)(n,{modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,onBlur:t[1]||=e=>r(`blur`)}),null,16,[`modelValue`]))}}),[hC,gC]=
|
|
530
|
+
`}}),uC={key:0,width:`100%`,height:`100%`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`},dC={key:1,width:`100%`,height:`100%`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`},fC=(0,d.defineComponent)({__name:`CheckboxIndicator`,setup(e){let t={hidden:{opacity:0,pathLength:0},visible:{opacity:1,pathLength:1,transition:{opacity:{duration:.01},pathLength:{bounce:0,duration:.5,type:`spring`}}}},{isIndeterminate:n,checkboxStyle:r}=cC();return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.CheckboxIndicator),{class:(0,d.normalizeClass)((0,d.unref)(r).indicator()),"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{},()=>[(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,uC,[(0,d.createVNode)((0,d.unref)(g.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`})])):((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,dC,[(0,d.createVNode)((0,d.unref)(g.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}))}}),pC=(0,d.defineComponent)({__name:`BaseCheckbox`,props:(0,d.mergeModels)({isIndeterminate:{type:Boolean,default:!1},value:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean,default:!1},hint:{},label:{},autocomplete:{}},{modelValue:{type:Boolean,required:!1},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),a=n.id??(0,d.useId)(),o=(0,d.computed)(()=>lC()),s=(0,d.computed)({get(){return i.value===null?null:i.value?!0:n.isIndeterminate?`indeterminate`:!1},set(e){e!==null&&(i.value=e===`indeterminate`?!1:e)}});return sC({isIndeterminate:(0,d.computed)(()=>n.isIndeterminate),checkboxStyle:o}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,"is-horizontal":!0,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(a),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-label-hidden":n.isLabelHidden},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.CheckboxRoot),{id:(0,d.unref)(a),modelValue:s.value,"onUpdate:modelValue":t[0]||=e=>s.value=e,disabled:n.isDisabled,class:(0,d.normalizeClass)(o.value.root()),value:n.value,onBlur:t[1]||=e=>r(`blur`)},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(o.value.control())},[(0,d.createVNode)(fC)],2)]),_:1},8,[`id`,`modelValue`,`disabled`,`class`,`value`])]),_:1},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-label-hidden`]))}}),mC=(0,d.defineComponent)({__name:`Checkbox`,props:(0,d.mergeModels)({value:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},autocomplete:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`);return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(pC,(0,d.mergeProps)(n,{modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,onBlur:t[1]||=e=>r(`blur`)}),null,16,[`modelValue`]))}}),[hC,gC]=I(`checkboxGroupContext`),_C=(0,d.defineComponent)({__name:`CheckboxGroupCheckbox`,props:{isLabelHidden:{type:Boolean},label:{},value:{},isDisabled:{type:Boolean},disabledReason:{}},setup(e){let t=e,n=(0,d.useId)(),{registerCheckbox:r,unRegisterCheckbox:i}=gC();return(0,d.onMounted)(()=>{r(n,t.value)}),(0,d.onBeforeUnmount)(()=>{i(n)}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(pC,{value:t.value,label:t.label,"is-label-hidden":t.isLabelHidden,"is-disabled":t.isDisabled,"disabled-reason":t.disabledReason},null,8,[`value`,`label`,`is-label-hidden`,`is-disabled`,`disabled-reason`]))}}),vC=(0,d.defineComponent)({__name:`CheckboxGroupIndeterminateCheckbox`,props:{label:{default:null}},setup(e){let t=e,{isDisabled:n,isIndeterminate:r,modelValue:i,toggleAll:a}=gC(),o=(0,d.computed)(()=>i.value.length>0),s=(0,d.computed)({get:()=>o.value?[`indeterminate`]:[],set:a});return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.CheckboxGroupRoot),{modelValue:s.value,"onUpdate:modelValue":i[0]||=e=>s.value=e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(pC,{"is-disabled":(0,d.unref)(n),"is-indeterminate":(0,d.unref)(r),label:t.label,value:`indeterminate`,"onUpdate:modelValue":(0,d.unref)(a)},null,8,[`is-disabled`,`is-indeterminate`,`label`,`onUpdate:modelValue`])]),_:1},8,[`modelValue`]))}}),yC=(0,d.defineComponent)({__name:`CheckboxGroupRoot`,props:(0,d.mergeModels)({orientation:{default:`vertical`},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`),r=(0,d.ref)(new Map),i=(0,d.computed)(()=>n.value.length===r.value.size),a=(0,d.computed)(()=>{let e=n.value.length,t=r.value.size;return e>0&&e<t});function o(){if(i.value){n.value=[];return}n.value=[...r.value.values()]}function s(e,t){r.value.set(e,t)}function c(e){r.value.delete(e)}return hC({isDisabled:(0,d.computed)(()=>t.isDisabled),isIndeterminate:a,modelValue:n,orientation:(0,d.computed)(()=>t.orientation),registerCheckbox:s,toggleAll:o,unRegisterCheckbox:c}),(e,r)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.CheckboxGroupRoot),{modelValue:n.value,"onUpdate:modelValue":r[0]||=e=>n.value=e},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`modelValue`])]),_:3},8,[`is-disabled`,`label`]))}}),bC={class:`h-full overflow-hidden`},xC=(0,d.defineComponent)({__name:`DashboardPageCenteredContent`,props:{hasVerticalPadding:{type:Boolean,default:!1},isFullWidth:{type:Boolean,default:!1}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,bC,[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)([{"max-w-3xl":!t.isFullWidth,"py-4xl":t.hasVerticalPadding},`relative mx-auto flex size-full flex-col px-3xl`])},[(0,d.renderSlot)(e.$slots,`default`)],2)]))}}),SC=H({compoundVariants:[{class:{base:`
|
|
531
531
|
border-brand-200 bg-brand-25
|
|
532
532
|
dark:border-brand-800 dark:bg-brand-950
|
|
533
533
|
`,icon:`
|
|
@@ -623,7 +623,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
623
623
|
`,icon:`
|
|
624
624
|
text-warning-700
|
|
625
625
|
dark:text-warning-200
|
|
626
|
-
`},color:`warning`,variant:`translucent`}],slots:{base:`inline-flex shrink-0 items-center justify-center border`,icon:``},variants:{color:{blue:{},brand:{},error:{},gray:{},pink:{},purple:{},success:{},warning:{}},size:{"2xl":{base:`size-16.25 rounded-2xl`,icon:`size-8`},lg:{base:`size-10 rounded-xl`,icon:`size-5`},md:{base:`size-7.5 rounded-lg`,icon:`size-4`},sm:{base:`size-6 rounded-lg`,icon:`size-4`},xl:{base:`size-12 rounded-xl`,icon:`size-6`}},variant:{outline:{},translucent:{}}}}),CC=(0,d.defineComponent)({__name:`FeaturedIcon`,props:{color:{default:`gray`},icon:{},size:{default:`md`},variant:{default:`translucent`}},setup(e){let t=e,n=(0,d.computed)(()=>SC({color:t.color,size:t.size,variant:t.variant}));return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.base())},[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{class:(0,d.normalizeClass)(n.value.icon())},null,8,[`class`]))],2))}}),wC=(0,d.defineComponent)({__name:`LogoWithText`,props:{name:{},size:{},src:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(
|
|
626
|
+
`},color:`warning`,variant:`translucent`}],slots:{base:`inline-flex shrink-0 items-center justify-center border`,icon:``},variants:{color:{blue:{},brand:{},error:{},gray:{},pink:{},purple:{},success:{},warning:{}},size:{"2xl":{base:`size-16.25 rounded-2xl`,icon:`size-8`},lg:{base:`size-10 rounded-xl`,icon:`size-5`},md:{base:`size-7.5 rounded-lg`,icon:`size-4`},sm:{base:`size-6 rounded-lg`,icon:`size-4`},xl:{base:`size-12 rounded-xl`,icon:`size-6`}},variant:{outline:{},translucent:{}}}}),CC=(0,d.defineComponent)({__name:`FeaturedIcon`,props:{color:{default:`gray`},icon:{},size:{default:`md`},variant:{default:`translucent`}},setup(e){let t=e,n=(0,d.computed)(()=>SC({color:t.color,size:t.size,variant:t.variant}));return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.base())},[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{class:(0,d.normalizeClass)(n.value.icon())},null,8,[`class`]))],2))}}),wC=(0,d.defineComponent)({__name:`LogoWithText`,props:{name:{},size:{},src:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(L,{gap:`md`},{default:(0,d.withCtx)(()=>[t.src===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(rb,{key:0,src:t.src,alt:t.name,size:t.size},null,8,[`src`,`alt`,`size`])),(0,d.createElementVNode)(`span`,{class:(0,d.normalizeClass)([{"text-xl":t.size===`sm`,"text-sm":t.size===`xs`,"text-xs":t.size===`xxs`},`font-semibold text-secondary`])},(0,d.toDisplayString)(t.name),3)]),_:1}))}}),TC=(0,d.defineComponent)({__name:`BaseHeader`,props:{title:{},left:{default:null}},setup(e){let t=e,n=(0,d.useSlots)(),r=(0,d.computed)(()=>n.subtitle!==void 0);return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{gap:r.value?`xl`:`lg`,align:`center`},{default:(0,d.withCtx)(()=>[t.left===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[t.left.type===`icon`?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.left.icon),{key:0,class:(0,d.normalizeClass)([{"size-6":r.value,"size-4":!r.value},`shrink-0 text-tertiary`])},null,8,[`class`])):t.left.type===`featured-icon`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(CC),{key:1,icon:t.left.icon,size:r.value?`lg`:`md`,color:t.left.color??`gray`,variant:`outline`},null,8,[`icon`,`size`,`color`])):t.left.type===`avatar`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Oa),{key:2,name:t.left.name,src:t.left.src??null,"logo-alt":t.left.imageAlt??null,size:r.value?`md`:`sm`,class:`shrink-0`},null,8,[`name`,`src`,`logo-alt`,`size`])):t.left.type===`dot`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Ga),{key:3,color:t.left.color??`gray`,class:`shrink-0`},null,8,[`color`])):t.left.type===`logo`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(rb),{key:4,src:t.left.src,alt:t.left.alt,size:r.value?`md`:`sm`,class:`shrink-0`},null,8,[`src`,`alt`,`size`])):(0,d.createCommentVNode)(``,!0)],64)),(0,d.createVNode)((0,d.unref)(K),{gap:`none`,class:`min-w-0 flex-1 overflow-hidden`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(L),{align:`baseline`,gap:`sm`,class:`min-w-0`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(W),{text:t.title,as:`h1`,class:`text-md font-semibold text-primary`},null,8,[`text`]),(0,d.renderSlot)(e.$slots,`title-end`)]),_:3}),(0,d.renderSlot)(e.$slots,`subtitle`)]),_:3}),e.$slots.actions?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:1,gap:`sm`,class:`shrink-0`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`actions`)]),_:3})):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`gap`]))}}),EC={},DC={"aria-hidden":`true`,class:`pointer-events-none absolute inset-0`};function OC(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,DC,[...t[0]||=[(0,d.createStaticVNode)(`<div class="absolute inset-0 bg-linear-to-b from-primary to-transparent"></div><div class="absolute inset-0 mask-[linear-gradient(to_bottom,black_0%,transparent_100%)] backdrop-blur-xs"></div><div class="absolute inset-0 mask-[linear-gradient(to_bottom,black_0%,transparent_75%)] backdrop-blur-xs"></div><div class="absolute inset-0 mask-[linear-gradient(to_bottom,black_0%,transparent_50%)] backdrop-blur-sm"></div><div class="absolute inset-0 mask-[linear-gradient(to_bottom,black_0%,transparent_25%)] backdrop-blur-md"></div>`,5)]])}var kC=U(EC,[[`render`,OC]]),AC={class:`sticky top-0 z-1 py-4xl`},jC=(0,d.defineComponent)({__name:`DashboardPageCenteredContentHeader`,props:{title:{},actions:{default:()=>[]},headerLeftConfig:{default:null}},setup(e){let t=e,n=(0,m.useI18n)(),r=(0,d.useSlots)();return(e,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`header`,AC,[(0,d.createVNode)(kC),(0,d.createVNode)((0,d.unref)(TC),{title:t.title,left:t.headerLeftConfig,class:`relative`},(0,d.createSlots)({actions:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`actions`),t.actions.length>0?((0,d.openBlock)(),(0,d.createBlock)(Fo,{key:0,actions:t.actions,"current-context-only":!0,"popover-side":`bottom`,"popover-align":`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{label:(0,d.unref)(n).t(`component.dashboard_page_header.options`),icon:(0,d.unref)(fn),"is-tooltip-disabled":!0,variant:`tertiary`},null,8,[`label`,`icon`])]),_:1},8,[`actions`])):(0,d.createCommentVNode)(``,!0)]),_:2},[(0,d.unref)(r).subtitle===void 0?void 0:{name:`subtitle`,fn:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`subtitle`)]),key:`0`}]),1032,[`title`,`left`])]))}}),MC={class:`overflow-y-auto pb-4xl`},NC=(0,d.defineComponent)({__name:`DashboardPageCenteredContentScrollable`,props:{hasVerticalPadding:{type:Boolean,default:!1},isFullWidth:{type:Boolean,default:!1}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,MC,[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)([{"max-w-3xl":!t.isFullWidth,"py-4xl":t.hasVerticalPadding},`relative mx-auto flex w-full flex-col px-3xl`])},[(0,d.renderSlot)(e.$slots,`default`)],2)]))}}),PC=(0,d.defineComponent)({__name:`DashboardPageContainer`,props:{class:{default:null}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(Fv)(`mx-auto flex w-full flex-col px-xl`,t.class))},[(0,d.renderSlot)(e.$slots,`default`)],2))}}),FC=(0,d.defineComponent)({__name:`DashboardPageActions`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(PC,{class:`flex h-11 shrink-0 justify-center border-b border-secondary`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`,{},()=>[(0,d.createVNode)(L,{class:`size-full`,justify:`between`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`,{},()=>[t[0]||=(0,d.createElementVNode)(`span`,null,null,-1)]),(0,d.renderSlot)(e.$slots,`right`,{},()=>[t[1]||=(0,d.createElementVNode)(`span`,null,null,-1)])]),_:3})])]),_:3}))}}),IC=(0,d.defineComponent)({__name:`DashboardPageContent`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(PC,{class:`h-full overflow-auto py-4xl`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),[LC,RC]=I(`DetailPaneContext`),zC=10;function BC(){let e=RC(null),t=ff(),n=(0,d.computed)(()=>e===null||e.isFloatingDetailPane.value?`0px`:e.isOpen.value&&e.variant===`bordered-inline`?`calc(${e.sidebarWidth.value} + ${zC}px)`:e.isOpen.value?e.sidebarWidth.value:`0px`),r=(0,d.computed)(()=>e?.isResizing.value??!1);return{contentPaddingRight:n,transitionDuration:(0,d.computed)(()=>r.value||t.value?0:.3)}}var VC=(0,d.defineComponent)({__name:`DashboardPageDetailPanePadding`,setup(e){let{contentPaddingRight:t,transitionDuration:n}=BC();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{initial:{marginRight:(0,d.unref)(t)},animate:{marginRight:(0,d.unref)(t)},transition:{duration:(0,d.unref)(n),type:`spring`,bounce:0},class:`flex size-full flex-col overflow-hidden`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`initial`,`animate`,`transition`]))}}),HC=H({slots:{pane:`absolute z-4 max-w-full bg-primary`,resizeHandle:`
|
|
627
627
|
group absolute -left-2 z-10 flex w-4 cursor-col-resize items-center
|
|
628
628
|
justify-center
|
|
629
629
|
`,resizeHandleBar:`
|
|
@@ -646,14 +646,14 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
646
646
|
`,resizeHandle:`inset-y-0`},"full-height-overlay":{pane:`
|
|
647
647
|
inset-y-0 right-0 h-full border-l border-secondary
|
|
648
648
|
max-md:w-full!
|
|
649
|
-
`,resizeHandle:`inset-y-0`}}}}),UC=[`aria-label`],WC=(0,d.defineComponent)({__name:`DashboardPageDetailPaneTransition`,setup(e){let{isResizable:t,isResizing:n,sidebarWidth:r,variant:i,onResizeKeyDown:a,onResizeStart:o}=RC(),s=df(),c=(0,d.computed)(()=>n.value||s.value?0:.3),{t:l}=(0,m.useI18n)(),u=(0,d.computed)(()=>HC({variant:i}));return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{initial:{translateX:`105%`},animate:{translateX:`0%`},exit:{translateX:`105%`},transition:{duration:c.value,type:`spring`,bounce:0},style:(0,d.normalizeStyle)({width:(0,d.unref)(r)}),class:(0,d.normalizeClass)(u.value.pane())},{default:(0,d.withCtx)(()=>[(0,d.unref)(t)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:(0,d.normalizeClass)([u.value.resizeHandle(),`focus-visible:outline-none`]),"aria-label":(0,d.unref)(l)(`component.dashboard_page_detail_pane_transition.resize`),role:`separator`,"aria-orientation":`vertical`,tabindex:`0`,onPointerdown:n[0]||=(...e)=>(0,d.unref)(o)&&(0,d.unref)(o)(...e),onKeydown:n[1]||=(...e)=>(0,d.unref)(a)&&(0,d.unref)(a)(...e)},[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(u.value.resizeHandleBar())},null,2)],42,UC)):(0,d.createCommentVNode)(``,!0),(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`transition`,`style`,`class`]))}}),GC=(0,d.defineComponent)({__name:`DashboardPageDetailPane`,setup(e){let{isOpen:t}=RC();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[(0,d.unref)(t)?((0,d.openBlock)(),(0,d.createBlock)(WC,{key:0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})):(0,d.createCommentVNode)(``,!0)]),_:3}))}}),KC=`20rem`,qC=`16rem`,JC=`25rem`;function YC(e){return Number.parseFloat(e)*(typeof document<`u`?Number.parseFloat(getComputedStyle(document.documentElement).fontSize):16)}function XC(e){let t=e.isResizable??!0,n=e.storage,r=e.variant,i=KC,a=qC,o=JC,s=(0,h.useBreakpoints)({xl:960}),c=(0,d.computed)(()=>r===`full-height-overlay`||r===`bordered-overlay`?!0:s.smaller(`xl`).value),l=(0,d.ref)(!1),u=(0,d.ref)(!1),f=n==null?(0,d.ref)(i):(0,h.useLocalStorage)(`${n.key}-width`,i);function p(){if(n==null)return e.isOpen;if(n.strategy===`localStorage`)return(0,h.useLocalStorage)(n.key,e.isOpen.value);if(n.strategy===`routeQuery`){let t=(0,b.useRouteQuery)(n.key,String(e.isOpen.value));return(0,d.computed)({get:()=>t.value===`true`,set:e=>{t.value=String(e)}})}return e.isOpen}let m=p(),g=(0,d.computed)({get:()=>c.value?l.value:m.value,set:e=>{c.value?l.value=e:m.value=e}});function _(){g.value=!g.value}function v(e){e.preventDefault(),u.value=!0;let t=e.target.closest(`.relative`);if(t===null)return;let n=t.getBoundingClientRect(),r=YC(a),i=YC(o);function s(e){let t=n.right-e.clientX;f.value=`${Math.min(Math.max(t,r),i)}px`}function c(){u.value=!1,document.removeEventListener(`pointermove`,s),document.removeEventListener(`pointerup`,c)}document.addEventListener(`pointermove`,s),document.addEventListener(`pointerup`,c)}function y(e){let t=YC(a),n=YC(o),r=0;if(e.key===`ArrowLeft`?r=16:e.key===`ArrowRight`&&(r=-16),r===0)return;e.preventDefault();let s=Number.parseFloat(f.value)||YC(i);f.value=`${Math.min(Math.max(s+r,t),n)}px`}return{isFloatingDetailPane:c,isOpen:g,isResizable:t,isResizing:u,sidebarWidth:f,toggleIsOpen:_,variant:r,onResizeKeyDown:y,onResizeStart:v}}var ZC={id:`main-content`},QC=(0,d.defineComponent)({__name:`Page`,props:{title:{}},setup(e){let t=e,n=Z(),r=(0,h.useTitle)();return(0,d.watch)([()=>t.title,n.projectName],([e,t])=>{r.value=`${e} — ${t}`},{immediate:!0}),(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`main`,ZC,[(0,d.renderSlot)(e.$slots,`default`)]))}}),[$C,ew]=L(`MainContentDetailPaneContext`),tw=(0,d.ref)(null),nw=(0,d.ref)([]);function rw(){function e(e,t){tw.value=e,nw.value=t}function t(){tw.value=null,nw.value=[]}return{title:tw,breadcrumbs:nw,clearNavigation:t,setNavigation:e}}var iw={class:`relative flex size-full overflow-hidden`},aw=W((0,d.defineComponent)({__name:`DashboardPage`,props:(0,d.mergeModels)({title:{},isTitleHidden:{type:Boolean,default:!1},actions:{default:()=>[]},breadcrumbs:{default:()=>[]},tabs:{default:()=>[]},detailPane:{default:null}},{isDetailPaneOpen:{type:Boolean,default:!0,required:!1},isDetailPaneOpenModifiers:{}}),emits:[`update:isDetailPaneOpen`],setup(e){let t=e,n=ew(null),r=(0,d.useSlots)(),{setNavigation:i}=rw();(0,d.watch)([()=>t.title,()=>t.breadcrumbs],([e,t])=>{i(e,t)},{immediate:!0});let a=(0,d.useModel)(e,`isDetailPaneOpen`),o=(0,d.computed)(()=>t.detailPane!==null&&r[`detail-pane`]!==void 0),{isFloatingDetailPane:s,isOpen:c,isResizable:l,isResizing:u,sidebarWidth:f,toggleIsOpen:p,variant:m,onResizeKeyDown:h,onResizeStart:g}=XC({isOpen:a,isResizable:t.detailPane?.isResizable??!0,storage:t.detailPane?.storage??null,variant:t.detailPane?.variant??`full-height-inline`});o.value&&(LC({isFloatingDetailPane:(0,d.computed)(()=>s.value),isOpen:c,isResizable:l,isResizing:u,sidebarWidth:f,toggleIsOpen:p,variant:m,onResizeKeyDown:h,onResizeStart:g}),n!=null&&(n.registerDetailPane(c,p,t.detailPane?.isToggleHidden),(0,d.onUnmounted)(()=>n.unregisterDetailPane())));let _=(0,d.computed)(()=>r[`page-actions-left`]!==void 0||r[`page-actions-right`]!==void 0);return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)(QC,{title:e.title,class:`custom-content-shadow z-1 flex min-h-0 flex-1 flex-col overflow-hidden rounded-xl border border-secondary bg-primary dark:shadow-none`},{default:(0,d.withCtx)(()=>[_.value?((0,d.openBlock)(),(0,d.createBlock)(FC,{key:0},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`page-actions-left`,{},void 0,!0)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`page-actions-right`,{},void 0,!0)]),_:3})):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,iw,[(0,d.createVNode)(VC,null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`default`,{},void 0,!0)]),_:3}),o.value?((0,d.openBlock)(),(0,d.createBlock)(GC,{key:0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`detail-pane`,{},void 0,!0)]),_:3})):(0,d.createCommentVNode)(``,!0)])]),_:3},8,[`title`]))}}),[[`__scopeId`,`data-v-d924492c`]]),ow={class:`sr-only`},sw=(0,d.defineComponent)({__name:`DashboardPageLoadingState`,props:{breadcrumbs:{}},setup(e){let t=e,n=(0,m.useI18n)();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)(aw,{breadcrumbs:t.breadcrumbs,title:``},{title:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`h1`,ow,(0,d.toDisplayString)((0,d.unref)(n).t(`component.dashboard_page_loading_state.loading`)),1),(0,d.createVNode)(J,{class:`h-4 w-24`})]),_:1},8,[`breadcrumbs`]))}}),cw=(0,d.defineComponent)({__name:`DashboardPageDetailPaneCloseButton`,setup(e){let t=(0,m.useI18n)(),{toggle:n}=ew();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Q),{label:(0,d.unref)(t).t(`component.dashboard_page_detail_pane_toggle.collapse`),icon:(0,d.unref)(ar),variant:`tertiary`,onClick:r[0]||=e=>(0,d.unref)(n)()},null,8,[`label`,`icon`]))}}),lw=(0,d.defineComponent)({__name:`DashboardPageDetailPaneToggle`,setup(e){let{isOpen:t,toggle:n}=ew(),r=(0,m.useI18n)(),i=(0,f.createAction)({id:`toggle-detail-pane`,name:()=>r.t(`action.global.toggle_detail_pane.name`),execute:()=>{n()},group:(0,f.useActionGroup)().navigation,icon:()=>t.value?Fn:Cn,keyboardShortcut:{key:`I`,meta:!0},keywords:r.t(`action.global.toggle_detail_pane.keywords`).split(` `)}),a=(0,d.computed)(()=>t.value?r.t(`component.dashboard_page_detail_pane_toggle.collapse`):r.t(`component.dashboard_page_detail_pane_toggle.expand`));return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(K,{label:a.value,"keyboard-shortcut":(0,d.unref)(i).keyboardShortcut},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Io,{"current-context-only":!1,action:(0,d.unref)(i),"group-priority":(0,d.unref)(f.GroupPriority).NAVIGATION},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.Toggle),{"model-value":(0,d.unref)(t),"data-state":(0,d.unref)(t)?`open`:`closed`,"aria-label":a.value,class:`group/toggle -mr-xxs flex size-6 items-center justify-center rounded-sm duration-150 hover:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[...n[0]||=[(0,d.createElementVNode)(`div`,{class:`flex h-3 w-3.5 justify-end rounded-[0.1875rem] border border-fg-tertiary p-[0.09375rem] duration-150 group-data-[state=open]/toggle:border-fg-tertiary dark:group-data-[state=open]/toggle:border-fg-secondary`},[(0,d.createElementVNode)(`div`,{class:`h-full w-0.5 rounded-[1px] bg-fg-tertiary duration-150 group-data-[state=open]/toggle:w-1 group-data-[state=open]/toggle:bg-fg-tertiary dark:group-data-[state=open]/toggle:bg-fg-secondary`})],-1)]]),_:1},8,[`model-value`,`data-state`,`aria-label`])]),_:1})]),_:1},8,[`action`,`group-priority`])]),_:1},8,[`label`,`keyboard-shortcut`]))}}),uw=(0,d.defineComponent)({__name:`DashboardPageHeaderActions`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(R,{gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),dw={class:`border-b border-secondary`},fw={class:`flex h-11 items-center`},pw={key:0,class:`flex h-11 items-center border-t border-secondary`},mw=(0,d.defineComponent)({__name:`DashboardPageHeader`,setup(e){let t=(0,d.useSlots)(),n=(0,h.useBreakpoints)({lg:1024}).smaller(`lg`),r=(0,d.computed)(()=>!!t[`action-right`]);return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`header`,dw,[(0,d.createElementVNode)(`div`,fw,[(0,d.createVNode)(PC,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{justify:`between`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`action-left`)]),_:3}),(0,d.renderSlot)(e.$slots,`action-center`),(0,d.createVNode)(R,{gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.unref)(n)?(0,d.createCommentVNode)(``,!0):(0,d.renderSlot)(e.$slots,`action-right`,{key:0}),(0,d.createVNode)(uw,null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`master-actions`)]),_:3})]),_:3})]),_:3})]),_:3})]),(0,d.unref)(n)&&r.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,pw,[(0,d.createVNode)(PC,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{justify:`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`action-right`)]),_:3})]),_:3})]),_:3})])):(0,d.createCommentVNode)(``,!0)]))}}),hw=(0,d.defineComponent)({__name:`DashboardPageHeaderMasterActionButton`,props:{icon:{},label:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(Q,{icon:t.icon,label:t.label,variant:`tertiary`},null,8,[`icon`,`label`]))}});function gw({maxDate:e,minDate:t,modelValue:n}){let r=Z(),i=(0,d.computed)(()=>r.dateLocale.value??navigator.language),a=S.Temporal.Now.plainDateISO(),o=(0,d.shallowRef)(new x.CalendarDate(a.year,a.month,a.day));function s(e){o.value=e}function c(e){return new x.CalendarDate(e.year,e.month,e.day)}function l(e){return S.Temporal.PlainDate.from({day:e.day,month:e.month,year:e.year})}let u=(0,d.computed)({get:()=>{if(n.value!==null)return c(n.value)},set:e=>{e==null?n.value=null:n.value=l(e)}}),f=(0,d.computed)(()=>{if(t.value!=null)return c(t.value)});return{plainDateToCalendarDate:c,calendarPlaceholder:o,calendarValue:u,locale:i,maxDateValue:(0,d.computed)(()=>{if(e.value!=null)return c(e.value)}),minDateValue:f,setPlaceholder:s}}var _w=U({slots:{field:`ml-sm flex h-full flex-1 items-center`,literal:`text-placeholder select-none`,segment:`
|
|
649
|
+
`,resizeHandle:`inset-y-0`}}}}),UC=[`aria-label`],WC=(0,d.defineComponent)({__name:`DashboardPageDetailPaneTransition`,setup(e){let{isResizable:t,isResizing:n,sidebarWidth:r,variant:i,onResizeKeyDown:a,onResizeStart:o}=RC(),s=ff(),c=(0,d.computed)(()=>n.value||s.value?0:.3),{t:l}=(0,m.useI18n)(),u=(0,d.computed)(()=>HC({variant:i}));return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{initial:{translateX:`105%`},animate:{translateX:`0%`},exit:{translateX:`105%`},transition:{duration:c.value,type:`spring`,bounce:0},style:(0,d.normalizeStyle)({width:(0,d.unref)(r)}),class:(0,d.normalizeClass)(u.value.pane())},{default:(0,d.withCtx)(()=>[(0,d.unref)(t)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:(0,d.normalizeClass)([u.value.resizeHandle(),`focus-visible:outline-none`]),"aria-label":(0,d.unref)(l)(`component.dashboard_page_detail_pane_transition.resize`),role:`separator`,"aria-orientation":`vertical`,tabindex:`0`,onPointerdown:n[0]||=(...e)=>(0,d.unref)(o)&&(0,d.unref)(o)(...e),onKeydown:n[1]||=(...e)=>(0,d.unref)(a)&&(0,d.unref)(a)(...e)},[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(u.value.resizeHandleBar())},null,2)],42,UC)):(0,d.createCommentVNode)(``,!0),(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`transition`,`style`,`class`]))}}),GC=(0,d.defineComponent)({__name:`DashboardPageDetailPane`,setup(e){let{isOpen:t}=RC();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[(0,d.unref)(t)?((0,d.openBlock)(),(0,d.createBlock)(WC,{key:0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})):(0,d.createCommentVNode)(``,!0)]),_:3}))}}),KC=`20rem`,qC=`16rem`,JC=`25rem`;function YC(e){return Number.parseFloat(e)*(typeof document<`u`?Number.parseFloat(getComputedStyle(document.documentElement).fontSize):16)}function XC(e){let t=e.isResizable??!0,n=e.storage,r=e.variant,i=KC,a=qC,o=JC,s=(0,h.useBreakpoints)({xl:960}),c=(0,d.computed)(()=>r===`full-height-overlay`||r===`bordered-overlay`?!0:s.smaller(`xl`).value),l=(0,d.ref)(!1),u=(0,d.ref)(!1),f=n==null?(0,d.ref)(i):(0,h.useLocalStorage)(`${n.key}-width`,i);function p(){if(n==null)return e.isOpen;if(n.strategy===`localStorage`)return(0,h.useLocalStorage)(n.key,e.isOpen.value);if(n.strategy===`routeQuery`){let t=(0,b.useRouteQuery)(n.key,String(e.isOpen.value));return(0,d.computed)({get:()=>t.value===`true`,set:e=>{t.value=String(e)}})}return e.isOpen}let m=p(),g=(0,d.computed)({get:()=>c.value?l.value:m.value,set:e=>{c.value?l.value=e:m.value=e}});function _(){g.value=!g.value}function v(e){e.preventDefault(),u.value=!0;let t=e.target.closest(`.relative`);if(t===null)return;let n=t.getBoundingClientRect(),r=YC(a),i=YC(o);function s(e){let t=n.right-e.clientX;f.value=`${Math.min(Math.max(t,r),i)}px`}function c(){u.value=!1,document.removeEventListener(`pointermove`,s),document.removeEventListener(`pointerup`,c)}document.addEventListener(`pointermove`,s),document.addEventListener(`pointerup`,c)}function y(e){let t=YC(a),n=YC(o),r=0;if(e.key===`ArrowLeft`?r=16:e.key===`ArrowRight`&&(r=-16),r===0)return;e.preventDefault();let s=Number.parseFloat(f.value)||YC(i);f.value=`${Math.min(Math.max(s+r,t),n)}px`}return{isFloatingDetailPane:c,isOpen:g,isResizable:t,isResizing:u,sidebarWidth:f,toggleIsOpen:_,variant:r,onResizeKeyDown:y,onResizeStart:v}}var ZC={id:`main-content`},QC=(0,d.defineComponent)({__name:`Page`,props:{title:{}},setup(e){let t=e,n=X(),r=(0,h.useTitle)();return(0,d.watch)([()=>t.title,n.projectName],([e,t])=>{r.value=`${e} — ${t}`},{immediate:!0}),(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`main`,ZC,[(0,d.renderSlot)(e.$slots,`default`)]))}}),[$C,ew]=I(`MainContentDetailPaneContext`),tw=(0,d.ref)(null),nw=(0,d.ref)([]);function rw(){function e(e,t){tw.value=e,nw.value=t}function t(){tw.value=null,nw.value=[]}return{title:tw,breadcrumbs:nw,clearNavigation:t,setNavigation:e}}var iw={class:`relative flex size-full overflow-hidden`},aw=U((0,d.defineComponent)({__name:`DashboardPage`,props:(0,d.mergeModels)({title:{},isTitleHidden:{type:Boolean,default:!1},actions:{default:()=>[]},breadcrumbs:{default:()=>[]},tabs:{default:()=>[]},detailPane:{default:null}},{isDetailPaneOpen:{type:Boolean,default:!0,required:!1},isDetailPaneOpenModifiers:{}}),emits:[`update:isDetailPaneOpen`],setup(e){let t=e,n=ew(null),r=(0,d.useSlots)(),{setNavigation:i}=rw();(0,d.watch)([()=>t.title,()=>t.breadcrumbs],([e,t])=>{i(e,t)},{immediate:!0});let a=(0,d.useModel)(e,`isDetailPaneOpen`),o=(0,d.computed)(()=>t.detailPane!==null&&r[`detail-pane`]!==void 0),{isFloatingDetailPane:s,isOpen:c,isResizable:l,isResizing:u,sidebarWidth:f,toggleIsOpen:p,variant:m,onResizeKeyDown:h,onResizeStart:g}=XC({isOpen:a,isResizable:t.detailPane?.isResizable??!0,storage:t.detailPane?.storage??null,variant:t.detailPane?.variant??`full-height-inline`});o.value&&(LC({isFloatingDetailPane:(0,d.computed)(()=>s.value),isOpen:c,isResizable:l,isResizing:u,sidebarWidth:f,toggleIsOpen:p,variant:m,onResizeKeyDown:h,onResizeStart:g}),n!=null&&(n.registerDetailPane(c,p,t.detailPane?.isToggleHidden),(0,d.onUnmounted)(()=>n.unregisterDetailPane())));let _=(0,d.computed)(()=>r[`page-actions-left`]!==void 0||r[`page-actions-right`]!==void 0);return(t,n)=>((0,d.openBlock)(),(0,d.createBlock)(QC,{title:e.title,class:`custom-content-shadow z-1 flex min-h-0 flex-1 flex-col overflow-hidden rounded-xl border border-secondary bg-primary dark:shadow-none`},{default:(0,d.withCtx)(()=>[_.value?((0,d.openBlock)(),(0,d.createBlock)(FC,{key:0},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`page-actions-left`,{},void 0,!0)]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`page-actions-right`,{},void 0,!0)]),_:3})):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,iw,[(0,d.createVNode)(VC,null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`default`,{},void 0,!0)]),_:3}),o.value?((0,d.openBlock)(),(0,d.createBlock)(GC,{key:0},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`detail-pane`,{},void 0,!0)]),_:3})):(0,d.createCommentVNode)(``,!0)])]),_:3},8,[`title`]))}}),[[`__scopeId`,`data-v-d924492c`]]),ow={class:`sr-only`},sw=(0,d.defineComponent)({__name:`DashboardPageLoadingState`,props:{breadcrumbs:{}},setup(e){let t=e,n=(0,m.useI18n)();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)(aw,{breadcrumbs:t.breadcrumbs,title:``},{title:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`h1`,ow,(0,d.toDisplayString)((0,d.unref)(n).t(`component.dashboard_page_loading_state.loading`)),1),(0,d.createVNode)(q,{class:`h-4 w-24`})]),_:1},8,[`breadcrumbs`]))}}),cw=(0,d.defineComponent)({__name:`DashboardPageDetailPaneCloseButton`,setup(e){let t=(0,m.useI18n)(),{toggle:n}=ew();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Q),{label:(0,d.unref)(t).t(`component.dashboard_page_detail_pane_toggle.collapse`),icon:(0,d.unref)(or),variant:`tertiary`,onClick:r[0]||=e=>(0,d.unref)(n)()},null,8,[`label`,`icon`]))}}),lw=(0,d.defineComponent)({__name:`DashboardPageDetailPaneToggle`,setup(e){let{isOpen:t,toggle:n}=ew(),r=(0,m.useI18n)(),i=(0,f.createAction)({id:`toggle-detail-pane`,name:()=>r.t(`action.global.toggle_detail_pane.name`),execute:()=>{n()},group:(0,f.useActionGroup)().navigation,icon:()=>t.value?In:wn,keyboardShortcut:{key:`I`,meta:!0},keywords:r.t(`action.global.toggle_detail_pane.keywords`).split(` `)}),a=(0,d.computed)(()=>t.value?r.t(`component.dashboard_page_detail_pane_toggle.collapse`):r.t(`component.dashboard_page_detail_pane_toggle.expand`));return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(G,{label:a.value,"keyboard-shortcut":(0,d.unref)(i).keyboardShortcut},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Lo,{"current-context-only":!1,action:(0,d.unref)(i),"group-priority":(0,d.unref)(f.GroupPriority).NAVIGATION},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.Toggle),{"model-value":(0,d.unref)(t),"data-state":(0,d.unref)(t)?`open`:`closed`,"aria-label":a.value,class:`group/toggle -mr-xxs flex size-6 items-center justify-center rounded-sm duration-150 hover:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[...n[0]||=[(0,d.createElementVNode)(`div`,{class:`flex h-3 w-3.5 justify-end rounded-[0.1875rem] border border-fg-tertiary p-[0.09375rem] duration-150 group-data-[state=open]/toggle:border-fg-tertiary dark:group-data-[state=open]/toggle:border-fg-secondary`},[(0,d.createElementVNode)(`div`,{class:`h-full w-0.5 rounded-[1px] bg-fg-tertiary duration-150 group-data-[state=open]/toggle:w-1 group-data-[state=open]/toggle:bg-fg-tertiary dark:group-data-[state=open]/toggle:bg-fg-secondary`})],-1)]]),_:1},8,[`model-value`,`data-state`,`aria-label`])]),_:1})]),_:1},8,[`action`,`group-priority`])]),_:1},8,[`label`,`keyboard-shortcut`]))}}),uw=(0,d.defineComponent)({__name:`DashboardPageHeaderActions`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(L,{gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),dw={class:`border-b border-secondary`},fw={class:`flex h-11 items-center`},pw={key:0,class:`flex h-11 items-center border-t border-secondary`},mw=(0,d.defineComponent)({__name:`DashboardPageHeader`,setup(e){let t=(0,d.useSlots)(),n=(0,h.useBreakpoints)({lg:1024}).smaller(`lg`),r=(0,d.computed)(()=>!!t[`action-right`]);return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`header`,dw,[(0,d.createElementVNode)(`div`,fw,[(0,d.createVNode)(PC,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{justify:`between`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`action-left`)]),_:3}),(0,d.renderSlot)(e.$slots,`action-center`),(0,d.createVNode)(L,{gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.unref)(n)?(0,d.createCommentVNode)(``,!0):(0,d.renderSlot)(e.$slots,`action-right`,{key:0}),(0,d.createVNode)(uw,null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`master-actions`)]),_:3})]),_:3})]),_:3})]),_:3})]),(0,d.unref)(n)&&r.value?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,pw,[(0,d.createVNode)(PC,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{justify:`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`action-right`)]),_:3})]),_:3})]),_:3})])):(0,d.createCommentVNode)(``,!0)]))}}),hw=(0,d.defineComponent)({__name:`DashboardPageHeaderMasterActionButton`,props:{icon:{},label:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(Q,{icon:t.icon,label:t.label,variant:`tertiary`},null,8,[`icon`,`label`]))}});function gw({maxDate:e,minDate:t,modelValue:n}){let r=X(),i=(0,d.computed)(()=>r.dateLocale.value??navigator.language),a=S.Temporal.Now.plainDateISO(),o=(0,d.shallowRef)(new x.CalendarDate(a.year,a.month,a.day));function s(e){o.value=e}function c(e){return new x.CalendarDate(e.year,e.month,e.day)}function l(e){return S.Temporal.PlainDate.from({day:e.day,month:e.month,year:e.year})}let u=(0,d.computed)({get:()=>{if(n.value!==null)return c(n.value)},set:e=>{e==null?n.value=null:n.value=l(e)}}),f=(0,d.computed)(()=>{if(t.value!=null)return c(t.value)});return{plainDateToCalendarDate:c,calendarPlaceholder:o,calendarValue:u,locale:i,maxDateValue:(0,d.computed)(()=>{if(e.value!=null)return c(e.value)}),minDateValue:f,setPlaceholder:s}}var _w=H({slots:{field:`ml-sm flex h-full flex-1 items-center`,literal:`text-placeholder select-none`,segment:`
|
|
650
650
|
rounded-xs px-xxs text-primary tabular-nums caret-transparent outline-none
|
|
651
651
|
group-data-disabled/field-wrapper:pointer-events-none
|
|
652
652
|
hover:bg-secondary-hover hover:text-primary
|
|
653
653
|
focus:bg-secondary-hover focus:text-primary
|
|
654
654
|
data-placeholder:text-placeholder
|
|
655
655
|
data-placeholder:focus:text-primary
|
|
656
|
-
`},variants:{isPickerHidden:{false:{field:`pl-xxs`},true:{field:`pl-md`}},size:{md:{field:`text-xs`},sm:{field:`text-xs`}}}}),[vw,yw]=
|
|
656
|
+
`},variants:{isPickerHidden:{false:{field:`pl-xxs`},true:{field:`pl-md`}},size:{md:{field:`text-xs`},sm:{field:`text-xs`}}}}),[vw,yw]=I(`DatePickerContext`),bw={key:0,class:`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 rounded-full bg-brand-solid group-data-selected/cell:bg-white`},xw=(0,d.defineComponent)({__name:`DatePickerCalendarGrid`,props:{month:{},weekDays:{}},setup(e){let t=e,{onClose:n}=yw();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DatePickerGrid),{class:`w-full border-collapse select-none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerGridHead),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerGridRow),{class:`flex`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.weekDays,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DatePickerHeadCell),{key:e,class:`flex-1 py-xs text-center text-xs font-medium text-tertiary`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(e),1)]),_:2},1024))),128))]),_:1})]),_:1}),(0,d.createVNode)((0,d.unref)(p.DatePickerGridBody),null,{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.month.rows,(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DatePickerGridRow),{key:i,class:`flex py-xxs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DatePickerCell),{key:e.toString(),date:e,class:`relative flex-1 p-0 text-center text-xs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerCellTrigger),{day:e,month:t.month.value,class:`group/cell inline-flex size-9 shrink-0 items-center justify-center rounded-full text-xs font-regular text-secondary transition-colors outline-none not-data-disabled:hover:bg-secondary-hover focus-visible:ring-2 focus-visible:ring-fg-brand-primary data-disabled:pointer-events-none data-disabled:text-disabled data-disabled:opacity-50 data-outside-view:pointer-events-none data-outside-view:invisible data-selected:bg-brand-solid data-selected:text-primary-on-brand data-selected:hover:bg-brand-solid-hover data-selected:focus-visible:ring-0 data-unavailable:pointer-events-none data-unavailable:text-disabled data-unavailable:line-through`,onClick:r[0]||=e=>(0,d.unref)(n)?.()},{default:(0,d.withCtx)(({today:t})=>[(0,d.createTextVNode)((0,d.toDisplayString)(e.day)+` `,1),t?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,bw)):(0,d.createCommentVNode)(``,!0)]),_:2},1032,[`day`,`month`])]),_:2},1032,[`date`]))),128))]),_:2},1024))),128))]),_:1})]),_:1}))}}),Sw=H({slots:{headingTrigger:`
|
|
657
657
|
rounded-sm px-xxs text-sm font-semibold text-primary transition-colors
|
|
658
658
|
outline-none
|
|
659
659
|
hover:bg-secondary-hover
|
|
@@ -673,7 +673,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
673
673
|
z-50 w-72 origin-(--reka-popover-content-transform-origin) rounded-2xl
|
|
674
674
|
border border-secondary bg-primary p-xl shadow-lg
|
|
675
675
|
will-change-[transform,opacity]
|
|
676
|
-
`}})(),Cw=(0,d.defineComponent)({__name:`DatePickerMonthPopover`,props:{placeholder:{}},emits:[`update:placeholder`],setup(e,{emit:t}){let n=e,r=t,i=
|
|
676
|
+
`}})(),Cw=(0,d.defineComponent)({__name:`DatePickerMonthPopover`,props:{placeholder:{}},emits:[`update:placeholder`],setup(e,{emit:t}){let n=e,r=t,i=X(),a=(0,d.ref)(!1),o=(0,d.computed)(()=>new Intl.DateTimeFormat(i.locale.value,{month:`long`}).format(new Date(n.placeholder.year,n.placeholder.month-1,1)));function s(e){e==null||Array.isArray(e)||(r(`update:placeholder`,new x.CalendarDate(e.year,e.month,1)),a.value=!1)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.PopoverRoot),{open:a.value,"onUpdate:open":t[0]||=e=>a.value=e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Z),{label:o.value,size:`xs`,variant:`tertiary`,class:`font-semibold`},null,8,[`label`])]),_:1}),(0,d.createVNode)((0,d.unref)(p.PopoverPortal),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverContent),{class:(0,d.normalizeClass)((0,d.unref)(Sw).pickerPopover()),"side-offset":8,"collision-padding":10,align:`center`,"data-animation":`popover-default`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.MonthPickerRoot),{locale:(0,d.unref)(i).locale.value,"model-value":n.placeholder,"onUpdate:modelValue":s},{default:(0,d.withCtx)(({grid:e})=>[(0,d.createVNode)((0,d.unref)(p.MonthPickerGrid),{class:(0,d.normalizeClass)((0,d.unref)(Sw).pickerGrid())},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.MonthPickerGridBody),{class:(0,d.normalizeClass)((0,d.unref)(Sw).pickerGridBody())},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.rows,(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.MonthPickerGridRow),{key:t,class:(0,d.normalizeClass)((0,d.unref)(Sw).pickerGridRow())},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.MonthPickerCell),{key:e.toString(),class:(0,d.normalizeClass)((0,d.unref)(Sw).pickerCell()),date:e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.MonthPickerCellTrigger),{month:e,class:(0,d.normalizeClass)((0,d.unref)(Sw).pickerCellTrigger())},{default:(0,d.withCtx)(({monthValue:e})=>[(0,d.createTextVNode)((0,d.toDisplayString)(e),1)]),_:1},8,[`month`,`class`])]),_:2},1032,[`class`,`date`]))),128))]),_:2},1032,[`class`]))),128))]),_:2},1032,[`class`])]),_:2},1032,[`class`])]),_:1},8,[`locale`,`model-value`])]),_:1},8,[`class`])]),_:1})]),_:1})]),_:1},8,[`open`]))}}),ww=H({slots:{header:`flex w-full items-center justify-between`,heading:`text-sm font-semibold text-primary`,headingTrigger:`
|
|
677
677
|
rounded-sm px-xxs text-sm font-semibold text-primary transition-colors
|
|
678
678
|
outline-none
|
|
679
679
|
hover:bg-secondary-hover
|
|
@@ -693,7 +693,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
693
693
|
z-50 w-72 origin-(--reka-popover-content-transform-origin) rounded-2xl
|
|
694
694
|
border border-secondary bg-primary p-xl shadow-lg
|
|
695
695
|
will-change-[transform,opacity]
|
|
696
|
-
`}})(),Tw=(0,d.defineComponent)({__name:`DatePickerYearPopover`,props:{placeholder:{}},emits:[`update:placeholder`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),{locale:a}=
|
|
696
|
+
`}})(),Tw=(0,d.defineComponent)({__name:`DatePickerYearPopover`,props:{placeholder:{}},emits:[`update:placeholder`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),{locale:a}=X(),o=(0,d.ref)(!1),s=(0,d.computed)(()=>String(n.placeholder.year));function c(e){e==null||Array.isArray(e)||(r(`update:placeholder`,new x.CalendarDate(e.year,n.placeholder.month,1)),o.value=!1)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.PopoverRoot),{open:o.value,"onUpdate:open":t[0]||=e=>o.value=e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Z),{label:s.value,size:`xs`,variant:`tertiary`,class:`font-semibold`},null,8,[`label`])]),_:1}),(0,d.createVNode)((0,d.unref)(p.PopoverPortal),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.PopoverContent),{class:(0,d.normalizeClass)((0,d.unref)(ww).pickerPopover()),"side-offset":8,"collision-padding":10,align:`center`,"data-animation":`popover-default`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.YearPickerRoot),{locale:(0,d.unref)(a),"model-value":n.placeholder,"onUpdate:modelValue":c},{default:(0,d.withCtx)(({grid:e})=>[(0,d.createVNode)(K,null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(ww).header())},[(0,d.createVNode)((0,d.unref)(p.YearPickerPrev),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Q,{icon:(0,d.unref)(Gt),label:(0,d.unref)(i).t(`component.date_picker.previous_year_page`),size:`md`,variant:`tertiary`},null,8,[`icon`,`label`])]),_:1}),(0,d.createVNode)((0,d.unref)(p.YearPickerHeading),{class:(0,d.normalizeClass)((0,d.unref)(ww).heading())},null,8,[`class`]),(0,d.createVNode)((0,d.unref)(p.YearPickerNext),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Q,{icon:(0,d.unref)(Yt),label:(0,d.unref)(i).t(`component.date_picker.next_year_page`),size:`md`,variant:`tertiary`},null,8,[`icon`,`label`])]),_:1})],2),(0,d.createVNode)((0,d.unref)(p.YearPickerGrid),{class:(0,d.normalizeClass)((0,d.unref)(ww).pickerGrid())},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.YearPickerGridBody),{class:(0,d.normalizeClass)((0,d.unref)(ww).pickerGridBody())},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.rows,(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.YearPickerGridRow),{key:t,class:(0,d.normalizeClass)((0,d.unref)(ww).pickerGridRow())},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.YearPickerCell),{key:e.toString(),class:(0,d.normalizeClass)((0,d.unref)(ww).pickerCell()),date:e},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.YearPickerCellTrigger),{year:e,class:(0,d.normalizeClass)((0,d.unref)(ww).pickerCellTrigger())},{default:(0,d.withCtx)(({yearValue:e})=>[(0,d.createTextVNode)((0,d.toDisplayString)(e),1)]),_:1},8,[`year`,`class`])]),_:2},1032,[`class`,`date`]))),128))]),_:2},1032,[`class`]))),128))]),_:2},1032,[`class`])]),_:2},1032,[`class`])]),_:2},1024)]),_:1},8,[`locale`,`model-value`])]),_:1},8,[`class`])]),_:1})]),_:1})]),_:1},8,[`open`]))}}),Ew={class:`flex items-center gap-none`},Dw=(0,d.defineComponent)({__name:`DatePickerCalendarHeader`,setup(e){let t=(0,m.useI18n)(),{placeholder:n,setPlaceholder:r}=yw();return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DatePickerHeader),{class:`flex items-center justify-between`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerPrev),{"as-child":!0},{default:(0,d.withCtx)(({disabled:e})=>[(0,d.createVNode)(Q,{"is-disabled":e,icon:(0,d.unref)(Gt),label:(0,d.unref)(t).t(`component.date_picker.previous_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1}),(0,d.createElementVNode)(`div`,Ew,[(0,d.createVNode)(Cw,{placeholder:(0,d.unref)(n),"onUpdate:placeholder":(0,d.unref)(r)},null,8,[`placeholder`,`onUpdate:placeholder`]),(0,d.createVNode)(Tw,{placeholder:(0,d.unref)(n),"onUpdate:placeholder":(0,d.unref)(r)},null,8,[`placeholder`,`onUpdate:placeholder`])]),(0,d.createVNode)((0,d.unref)(p.DatePickerNext),{"as-child":!0},{default:(0,d.withCtx)(({disabled:e})=>[(0,d.createVNode)(Q,{"is-disabled":e,icon:(0,d.unref)(Yt),label:(0,d.unref)(t).t(`component.date_picker.next_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),_:1}))}}),Ow=H({slots:{cell:`relative flex-1 p-0 text-center text-xs`,cellTrigger:`
|
|
697
697
|
inline-flex h-9 w-full items-center justify-center rounded-full text-xs
|
|
698
698
|
font-regular text-secondary outline-none
|
|
699
699
|
not-data-disabled:hover:bg-secondary-hover
|
|
@@ -733,7 +733,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
733
733
|
outline-none
|
|
734
734
|
disabled:cursor-not-allowed disabled:text-disabled
|
|
735
735
|
data-placeholder:text-placeholder
|
|
736
|
-
`},variants:{size:{md:{trigger:`gap-sm px-md`},sm:{trigger:`gap-xxs px-sm`}}}}),kw=1;function Aw(e){try{if(typeof Intl>`u`||Intl.Locale===void 0)return kw;let t=new Intl.Locale(e);if(typeof t.getWeekInfo!=`function`)return kw;let{firstDay:n}=t.getWeekInfo();return n<1||n>7?kw:n===7?0:n}catch{return kw}}var jw=(0,d.defineComponent)({inheritAttrs:!1,__name:`DateField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({maxDate:{},minDate:{},isPickerHidden:{type:Boolean},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...mv,...hv,...gv,maxDate:null,minDate:null,isPickerHidden:!1,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`),r=(0,m.useI18n)(),i=t.id??(0,d.useId)(),a=(0,d.useAttrs)(),{isError:o,ariaDescribedBy:s,ariaInvalid:c}=fv(i,t),l=(0,d.ref)(!1),{calendarPlaceholder:u,calendarValue:f,locale:h,maxDateValue:g,minDateValue:_,setPlaceholder:v}=gw({maxDate:(0,d.toRef)(t,`maxDate`),minDate:(0,d.toRef)(t,`minDate`),modelValue:n}),y=(0,d.computed)(()=>_w({isPickerHidden:t.isPickerHidden,size:t.size}));return vw({datePickerStyle:(0,d.computed)(()=>Ow({size:t.size})),placeholder:u,setPlaceholder:v,onClose:()=>{l.value=!1}}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,d.normalizeClass)(t.class),style:(0,d.normalizeStyle)(t.style),for:(0,d.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerRoot),{id:(0,d.unref)(i),modelValue:(0,d.unref)(f),"onUpdate:modelValue":n[0]||=e=>(0,d.isRef)(f)?f.value=e:null,open:l.value,"onUpdate:open":n[1]||=e=>l.value=e,placeholder:(0,d.unref)(u),"onUpdate:placeholder":n[2]||=e=>(0,d.isRef)(u)?u.value=e:null,"week-starts-on":(0,d.unref)(Aw)((0,d.unref)(h)),disabled:t.isDisabled,"max-value":(0,d.unref)(g),"min-value":(0,d.unref)(_),readonly:t.isReadonly,required:t.isRequired,locale:(0,d.unref)(h)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"is-disabled":t.isDisabled,"is-error":(0,d.unref)(o),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},(0,d.createSlots)({default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerField),(0,d.mergeProps)({id:(0,d.unref)(i)},(0,d.unref)(a),{"aria-describedby":(0,d.unref)(s),"aria-invalid":(0,d.unref)(c),"aria-required":t.isRequired||void 0,class:y.value.field()}),{default:(0,d.withCtx)(({segments:e})=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:e},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DatePickerInput),{key:1,part:e,class:(0,d.normalizeClass)(y.value.literal())},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DatePickerInput),{key:0,part:e,class:(0,d.normalizeClass)(y.value.segment()),"data-field-wrapper":``},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128))]),_:1},16,[`id`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`])]),_:2},[t.isPickerHidden?void 0:{name:`right`,fn:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{"is-disabled":t.isDisabled||t.isReadonly,"is-tooltip-disabled":!0,icon:(0,d.unref)(
|
|
736
|
+
`},variants:{size:{md:{trigger:`gap-sm px-md`},sm:{trigger:`gap-xxs px-sm`}}}}),kw=1;function Aw(e){try{if(typeof Intl>`u`||Intl.Locale===void 0)return kw;let t=new Intl.Locale(e);if(typeof t.getWeekInfo!=`function`)return kw;let{firstDay:n}=t.getWeekInfo();return n<1||n>7?kw:n===7?0:n}catch{return kw}}var jw=(0,d.defineComponent)({inheritAttrs:!1,__name:`DateField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({maxDate:{},minDate:{},isPickerHidden:{type:Boolean},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...mv,...hv,...gv,maxDate:null,minDate:null,isPickerHidden:!1,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`),r=(0,m.useI18n)(),i=t.id??(0,d.useId)(),a=(0,d.useAttrs)(),{isError:o,ariaDescribedBy:s,ariaInvalid:c}=fv(i,t),l=(0,d.ref)(!1),{calendarPlaceholder:u,calendarValue:f,locale:h,maxDateValue:g,minDateValue:_,setPlaceholder:v}=gw({maxDate:(0,d.toRef)(t,`maxDate`),minDate:(0,d.toRef)(t,`minDate`),modelValue:n}),y=(0,d.computed)(()=>_w({isPickerHidden:t.isPickerHidden,size:t.size}));return vw({datePickerStyle:(0,d.computed)(()=>Ow({size:t.size})),placeholder:u,setPlaceholder:v,onClose:()=>{l.value=!1}}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,d.normalizeClass)(t.class),style:(0,d.normalizeStyle)(t.style),for:(0,d.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerRoot),{id:(0,d.unref)(i),modelValue:(0,d.unref)(f),"onUpdate:modelValue":n[0]||=e=>(0,d.isRef)(f)?f.value=e:null,open:l.value,"onUpdate:open":n[1]||=e=>l.value=e,placeholder:(0,d.unref)(u),"onUpdate:placeholder":n[2]||=e=>(0,d.isRef)(u)?u.value=e:null,"week-starts-on":(0,d.unref)(Aw)((0,d.unref)(h)),disabled:t.isDisabled,"max-value":(0,d.unref)(g),"min-value":(0,d.unref)(_),readonly:t.isReadonly,required:t.isRequired,locale:(0,d.unref)(h)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"is-disabled":t.isDisabled,"is-error":(0,d.unref)(o),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},(0,d.createSlots)({default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerField),(0,d.mergeProps)({id:(0,d.unref)(i)},(0,d.unref)(a),{"aria-describedby":(0,d.unref)(s),"aria-invalid":(0,d.unref)(c),"aria-required":t.isRequired||void 0,class:y.value.field()}),{default:(0,d.withCtx)(({segments:e})=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:e},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DatePickerInput),{key:1,part:e,class:(0,d.normalizeClass)(y.value.literal())},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DatePickerInput),{key:0,part:e,class:(0,d.normalizeClass)(y.value.segment()),"data-field-wrapper":``},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128))]),_:1},16,[`id`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`])]),_:2},[t.isPickerHidden?void 0:{name:`right`,fn:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{"is-disabled":t.isDisabled||t.isReadonly,"is-tooltip-disabled":!0,icon:(0,d.unref)(Nt),label:(0,d.unref)(r).t(`component.date_picker.open`),class:(0,d.normalizeClass)({"mr-xs":t.size===`md`,"mr-xxs":t.size===`sm`}),size:`xs`,type:`button`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`,`class`])]),_:1})]),key:`0`}]),1032,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`]),(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerContent),{"side-offset":8,"collision-padding":10,"data-animation":`popover-default`,class:`z-50 origin-(--reka-popover-content-transform-origin) will-change-[transform,opacity]`,align:`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerCalendar),{class:`flex flex-col gap-lg overflow-hidden rounded-2xl border border-secondary bg-primary px-xl py-lg shadow-lg`,"weekday-format":`short`},{default:(0,d.withCtx)(({weekDays:e,grid:t})=>[(0,d.createVNode)(Dw),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t,t=>((0,d.openBlock)(),(0,d.createBlock)(xw,{key:t.value.toString(),month:t,"week-days":e},null,8,[`month`,`week-days`]))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,[`id`,`modelValue`,`open`,`placeholder`,`week-starts-on`,`disabled`,`max-value`,`min-value`,`readonly`,`required`,`locale`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`]))}}),Mw=(0,d.defineComponent)({inheritAttrs:!1,__name:`DatePicker`,props:(0,d.mergeModels)({maxDate:{default:null},minDate:{default:null},fixedWeeks:{type:Boolean,default:!1},size:{default:`md`}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useAttrs)(),r=(0,d.useModel)(e,`modelValue`),{calendarPlaceholder:i,calendarValue:a,locale:o,maxDateValue:s,minDateValue:c,setPlaceholder:l}=gw({maxDate:(0,d.toRef)(t,`maxDate`),minDate:(0,d.toRef)(t,`minDate`),modelValue:r});return vw({datePickerStyle:(0,d.computed)(()=>Ow({size:t.size})),placeholder:i,setPlaceholder:l}),(e,r)=>((0,d.openBlock)(),(0,d.createBlock)(dr,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerRoot),(0,d.mergeProps)((0,d.unref)(n),{modelValue:(0,d.unref)(a),"onUpdate:modelValue":r[0]||=e=>(0,d.isRef)(a)?a.value=e:null,placeholder:(0,d.unref)(i),"onUpdate:placeholder":r[1]||=e=>(0,d.isRef)(i)?i.value=e:null,"week-starts-on":(0,d.unref)(Aw)((0,d.unref)(o)),"max-value":(0,d.unref)(s),"min-value":(0,d.unref)(c),locale:(0,d.unref)(o),"fixed-weeks":t.fixedWeeks}),{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DatePickerCalendar),{"fixed-weeks":!1,class:`flex flex-col gap-lg overflow-hidden bg-primary p-2xl px-3xl`,"weekday-format":`short`},{default:(0,d.withCtx)(({weekDays:e,grid:t})=>[(0,d.createVNode)(Dw),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t,t=>((0,d.openBlock)(),(0,d.createBlock)(xw,{key:t.value.toString(),month:t,"week-days":e},null,8,[`month`,`week-days`]))),128))]),_:1})]),_:1},16,[`modelValue`,`placeholder`,`week-starts-on`,`max-value`,`min-value`,`locale`,`fixed-weeks`])]),_:1}))}});function Nw({maxDate:e,minDate:t,modelValue:n}){let r=X(),i=(0,d.computed)(()=>r.dateLocale.value??navigator.language),a=(0,d.ref)(!1),o=(0,h.useBreakpoints)({md:768}).smaller(`md`),s=S.Temporal.Now.plainDateISO(),c=n.value.from??s,l=(0,d.shallowRef)(new x.CalendarDate(c.year,c.month,1)),u=(0,d.shallowRef)({end:n.value?.until==null?void 0:m(n.value.until),start:n.value?.from==null?void 0:m(n.value.from)});function f(e){if(e.start!=null&&e.end!=null&&e.start.compare(e.end)>0){a.value=!0;return}a.value=!1,u.value=e}function p(e){l.value=e}function m(e){return new x.CalendarDate(e.year,e.month,e.day)}function g(e){return S.Temporal.PlainDate.from({day:e.day,month:e.month,year:e.year})}(0,d.watch)(u,e=>{e.start!=null&&e.end!=null?n.value={from:g(e.start),until:g(e.end)}:e.start==null&&e.end==null&&(n.value={from:null,until:null})},{deep:!0});function _(e){e===null?u.value={end:void 0,start:void 0}:u.value={end:m(e.until),start:m(e.from)}}function v(){let e=n.value?.from==null?void 0:m(n.value.from),t=n.value?.until==null?void 0:m(n.value.until),r=e==null?u.value.start!=null:u.value.start==null||e.compare(u.value.start)!==0,i=t==null?u.value.end!=null:u.value.end==null||t.compare(u.value.end)!==0;!r&&!i||(u.value={end:t,start:e})}(0,d.watch)(n,v);let y=(0,d.computed)(()=>{if(t.value!=null)return m(t.value)});return{isInvalidRange:a,isSingleMonth:o,calendarPlaceholder:l,draftValue:u,locale:i,maxDateValue:(0,d.computed)(()=>{if(e.value!=null)return m(e.value)}),minDateValue:y,setPlaceholder:p,setPreset:_,syncDraftFromModel:v,onDraftValueUpdate:f}}var[Pw,Fw]=I(`dateRangeFieldContext`),Iw=H({slots:{field:`ml-sm flex h-full min-w-0 flex-1 items-center`,literal:`text-placeholder select-none`,segment:`
|
|
737
737
|
rounded-sm text-primary tabular-nums caret-transparent outline-none
|
|
738
738
|
group-data-disabled/field-wrapper:pointer-events-none
|
|
739
739
|
hover:bg-secondary-hover hover:text-primary
|
|
@@ -748,11 +748,11 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
748
748
|
bg-transparent p-sm
|
|
749
749
|
focus-visible:outline-fg-brand-primary
|
|
750
750
|
disabled:cursor-not-allowed
|
|
751
|
-
`},variants:{isPickerHidden:{false:{field:`pl-xxs`},true:{field:`pl-md`}},size:{md:{field:`gap-xxs text-xs`,separator:`mx-xs`,trigger:`pr-md pl-xs`},sm:{field:`gap-xxs text-xs`,separator:`mx-xxs`,trigger:`pr-sm pl-xxs`}}}}),Lw={class:`relative flex size-9 shrink-0 items-center justify-center rounded-full text-xs font-regular text-secondary group-focus-visible/celtrig:ring-2 group-focus-visible/celtrig:ring-fg-brand-primary group-data-disabled/celtrig:text-disabled group-data-disabled/celtrig:opacity-50 group-data-highlighted-end/celtrig:bg-brand-solid group-data-highlighted-end/celtrig:text-primary-on-brand group-data-highlighted-end/celtrig:group-focus-visible/celtrig:ring-0 group-data-highlighted-start/celtrig:bg-brand-solid group-data-highlighted-start/celtrig:text-primary-on-brand group-data-highlighted-start/celtrig:group-focus-visible/celtrig:ring-0 group-data-outside-view/celtrig:text-disabled group-data-selection-end/celtrig:bg-brand-solid group-data-selection-end/celtrig:text-primary-on-brand group-data-selection-end/celtrig:group-focus-visible/celtrig:ring-0 group-data-selection-start/celtrig:bg-brand-solid group-data-selection-start/celtrig:text-primary-on-brand group-data-selection-start/celtrig:group-focus-visible/celtrig:ring-0 group-data-unavailable/celtrig:text-disabled group-data-unavailable/celtrig:line-through group-not-data-disabled/celtrig:group-not-data-highlighted/celtrig:group-not-data-selected/celtrig:hover:bg-secondary-hover`},Rw={key:0,class:`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 rounded-full bg-brand-solid group-data-highlighted-end/celtrig:bg-white group-data-highlighted-start/celtrig:bg-white group-data-selection-end/celtrig:bg-white group-data-selection-start/celtrig:bg-white`},zw=(0,d.defineComponent)({__name:`DateRangeFieldCalendarGrid`,props:{month:{},weekDays:{}},setup(e){let t=e;function n(e){return e.day===1}function r(e){return e.day===(0,x.endOfMonth)(e).day}return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerGrid),{class:`w-full border-collapse select-none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerGridHead),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerGridRow),{class:`flex py-xxs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.weekDays,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerHeadCell),{key:e,class:`flex-1 py-xs text-center text-xs font-medium text-tertiary`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(e),1)]),_:2},1024))),128))]),_:1})]),_:1}),(0,d.createVNode)((0,d.unref)(p.DateRangePickerGridBody),null,{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.month.rows,(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerGridRow),{key:i,class:`flex py-xxs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerCell),{key:e.toString(),date:e,class:`group/cell relative flex-1 p-0 text-center text-xs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerCellTrigger),{class:(0,d.normalizeClass)([{"rounded-r-full":r(e),"rounded-l-full":n(e)},`group/celtrig inline-flex h-9 w-full items-center justify-center text-xs outline-none group-first/cell:rounded-l-full group-last/cell:rounded-r-full data-disabled:pointer-events-none data-highlighted:bg-brand-secondary data-highlighted-end:rounded-r-full data-highlighted-end:bg-brand-secondary data-highlighted-start:rounded-l-full data-highlighted-start:bg-brand-secondary data-outside-view:pointer-events-none data-outside-view:invisible data-selected:bg-brand-secondary data-selection-end:rounded-r-full data-selection-end:bg-brand-secondary data-selection-start:rounded-l-full data-selection-start:bg-brand-secondary data-unavailable:pointer-events-none [&[data-selection-end][data-highlighted-start]:not([data-highlighted-end])]:rounded-r-none [&[data-selection-start][data-highlighted-end]:not([data-highlighted-start])]:rounded-l-none`]),day:e,month:t.month.value},{default:(0,d.withCtx)(({today:t})=>[(0,d.createElementVNode)(`div`,Lw,[(0,d.createTextVNode)((0,d.toDisplayString)(e.day)+` `,1),t?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,Rw)):(0,d.createCommentVNode)(``,!0)])]),_:2},1032,[`class`,`day`,`month`])]),_:2},1032,[`date`]))),128))]),_:2},1024))),128))]),_:1})]),_:1}))}}),Bw={class:`flex items-center p-xl pb-0`},Vw={key:1,class:`size-9 shrink-0`},Hw={class:`flex flex-1 items-center justify-center gap-xs`},Uw={key:3,class:`size-9 shrink-0`},Ww=(0,d.defineComponent)({__name:`DateRangeFieldCalendarHeader`,props:{showNext:{type:Boolean},side:{}},setup(e){let t=e,n=(0,m.useI18n)(),{placeholder:r,setPlaceholder:i}=Fw(),a=(0,d.computed)(()=>t.side===`left`?r.value:r.value.add({months:1}));function o(e){i(t.side===`left`?e:e.subtract({months:1}))}return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Bw,[t.side===`left`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerPrev),{key:0,"as-child":!0},{default:(0,d.withCtx)(({disabled:e})=>[(0,d.createVNode)(Q,{"is-disabled":e,icon:(0,d.unref)(Wt),label:(0,d.unref)(n).t(`component.date_range_picker.previous_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Vw)),(0,d.createElementVNode)(`div`,Hw,[(0,d.createVNode)(Cw,{placeholder:a.value,"onUpdate:placeholder":o},null,8,[`placeholder`]),(0,d.createVNode)(Tw,{placeholder:a.value,"onUpdate:placeholder":o},null,8,[`placeholder`])]),t.side===`right`||t.showNext?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerNext),{key:2,"as-child":!0},{default:(0,d.withCtx)(({disabled:e})=>[(0,d.createVNode)(Q,{"is-disabled":e,icon:(0,d.unref)(Jt),label:(0,d.unref)(n).t(`component.date_range_picker.next_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Uw))]))}}),Gw={class:`flex items-center`},Kw=(0,d.defineComponent)({__name:`DateRangeFieldInvalidIndicator`,props:{isVisible:{type:Boolean}},setup(e){let t=e,n=(0,m.useI18n)();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[t.isVisible?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,initial:{opacity:0,filter:`blur(4px)`},animate:{opacity:1,filter:`blur(0)`},exit:{opacity:0,filter:`blur(4px)`},transition:{duration:.3,type:`spring`,bounce:0}},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(K,{label:(0,d.unref)(n).t(`component.date_range_picker.invalid_range`)},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`span`,Gw,[(0,d.createVNode)((0,d.unref)(bt),{class:`size-4 text-error-primary`})])]),_:1},8,[`label`])]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:1}))}}),qw={class:`flex flex-col gap-md border-t border-secondary p-xl md:flex-row md:items-center md:justify-between`},Jw=(0,d.defineComponent)({__name:`DateRangeFieldInputRow`,setup(e){let t=(0,m.useI18n)(),{isInvalidRange:n,onCancel:r}=Fw();return(e,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,qw,[(0,d.createVNode)((0,d.unref)(R),{class:`min-w-0 items-center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerField),{class:`flex h-7 min-w-0 flex-1 items-center gap-xxs rounded-sm border border-secondary bg-primary px-sm text-xs text-primary md:max-w-30 md:min-w-30 md:flex-none [&:has(:focus)]:border-fg-brand-primary [&:has(:focus)]:outline [&:has(:focus)]:outline-fg-brand-primary`},{default:(0,d.withCtx)(({segments:e})=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.start,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`start-${e}`},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:1,part:e,class:`text-placeholder select-none`,type:`start`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:0,part:e,class:`rounded-sm px-xxs text-xs text-primary tabular-nums caret-transparent outline-none hover:bg-secondary-hover focus:bg-secondary-hover focus:text-primary data-placeholder:text-placeholder data-placeholder:focus:text-primary`,type:`start`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`]))],64))),128))]),_:1}),(0,d.createVNode)((0,d.unref)(Jt),{class:`size-4 text-placeholder`}),(0,d.createVNode)((0,d.unref)(p.DateRangePickerField),{class:`flex h-7 min-w-0 flex-1 items-center gap-xxs rounded-sm border border-secondary bg-primary px-sm text-xs text-primary md:max-w-30 md:min-w-30 md:flex-none [&:has(:focus)]:border-fg-brand-primary [&:has(:focus)]:outline [&:has(:focus)]:outline-fg-brand-primary`},{default:(0,d.withCtx)(({segments:e})=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.end,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`end-${e}`},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:1,part:e,class:`text-placeholder select-none`,type:`end`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:0,part:e,class:`rounded-sm px-xxs text-xs text-primary tabular-nums caret-transparent outline-none hover:bg-secondary-hover focus:bg-secondary-hover focus:text-primary data-placeholder:text-placeholder data-placeholder:focus:text-primary`,type:`end`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`]))],64))),128))]),_:1}),(0,d.createVNode)(Kw,{"is-visible":(0,d.unref)(n)},null,8,[`is-visible`])]),_:1}),(0,d.createVNode)((0,d.unref)(R),{class:`self-end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(o_),{label:(0,d.unref)(t).t(`component.date_range_picker.close`),size:`md`,variant:`secondary`,onClick:(0,d.unref)(r)},null,8,[`label`,`onClick`])]),_:1})]))}}),Yw={class:`flex w-32 shrink-0 flex-col gap-xs border-r border-secondary p-lg`},Xw=[`data-active`,`onClick`],Zw=(0,d.defineComponent)({__name:`DateRangeFieldPresets`,setup(e){let t=(0,m.useI18n)(),{draftValue:n,setPreset:r}=Fw(),i=(0,d.computed)(()=>{let e=S.Temporal.Now.plainDateISO(),n=e.dayOfWeek,r=e.subtract({days:n-1}),i=r.add({days:6}),a=r.subtract({days:7}),o=r.subtract({days:1}),s=e.with({day:1}),c=e.with({day:e.daysInMonth}),l=s.subtract({months:1}),u=s.subtract({days:1}),d=e.with({day:1,month:1}),f=e.with({day:31,month:12}),p=d.subtract({years:1}),m=d.subtract({days:1}),h=e.subtract({days:1});return[{key:`today`,label:t.t(`component.date_range_picker.preset.today`),range:{from:e,until:e}},{key:`yesterday`,label:t.t(`component.date_range_picker.preset.yesterday`),range:{from:h,until:h}},{key:`this_week`,label:t.t(`component.date_range_picker.preset.this_week`),range:{from:r,until:i}},{key:`last_week`,label:t.t(`component.date_range_picker.preset.last_week`),range:{from:a,until:o}},{key:`this_month`,label:t.t(`component.date_range_picker.preset.this_month`),range:{from:s,until:c}},{key:`last_month`,label:t.t(`component.date_range_picker.preset.last_month`),range:{from:l,until:u}},{key:`this_year`,label:t.t(`component.date_range_picker.preset.this_year`),range:{from:d,until:f}},{key:`last_year`,label:t.t(`component.date_range_picker.preset.last_year`),range:{from:p,until:m}},{key:`all_time`,label:t.t(`component.date_range_picker.preset.all_time`),range:null}]});function a(e){if(e.range===null)return n.value.start==null&&n.value.end==null;if(n.value.start==null||n.value.end==null)return!1;let t=n.value.start,r=n.value.end;return t.year===e.range.from.year&&t.month===e.range.from.month&&t.day===e.range.from.day&&r.year===e.range.until.year&&r.month===e.range.until.month&&r.day===e.range.until.day}return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Yw,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(i.value,e=>((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:e.key,"data-active":a(e),class:`flex w-full items-center rounded-sm px-lg py-xs text-left text-xs font-medium text-secondary transition-colors duration-100 outline-none hover:bg-secondary-hover focus-visible:ring-2 focus-visible:ring-fg-brand-primary data-[active=true]:bg-brand-secondary data-[active=true]:text-brand-secondary`,type:`button`,onClick:t=>(0,d.unref)(r)(e.range)},(0,d.toDisplayString)(e.label),9,Xw))),128))]))}}),Qw={class:`flex h-full`},$w={class:`flex min-w-0 flex-1 flex-col`},eT={class:`flex`},tT={class:`flex flex-1 flex-col`},nT={class:`p-xl pt-0`},rT={class:`flex flex-1 flex-col`},iT={class:`p-xl pt-0`},aT=(0,d.defineComponent)({inheritAttrs:!1,__name:`DateRangeField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({maxDate:{},minDate:{},isPickerHidden:{type:Boolean},placeholder:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{}},{...mv,...hv,...gv,maxDate:null,minDate:null,isPickerHidden:!1,placeholder:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`),r=(0,m.useI18n)(),i=t.id??(0,d.useId)(),a=(0,d.useAttrs)(),{isError:o,ariaDescribedBy:s,ariaInvalid:c}=fv(i,t),l=(0,d.ref)(!1),u=(0,d.computed)(()=>Iw({isPickerHidden:t.isPickerHidden,size:t.size})),{isInvalidRange:f,isSingleMonth:h,calendarPlaceholder:g,draftValue:_,locale:v,maxDateValue:y,minDateValue:b,setPlaceholder:x,setPreset:S,syncDraftFromModel:C,onDraftValueUpdate:w}=Nw({maxDate:(0,d.toRef)(t,`maxDate`),minDate:(0,d.toRef)(t,`minDate`),modelValue:n});(0,d.watch)(l,e=>{e&&C()});function T(){l.value=!1}return Pw({isInvalidRange:f,draftValue:_,placeholder:g,setPlaceholder:x,setPreset:S,onCancel:T}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,d.normalizeClass)(t.class),style:(0,d.normalizeStyle)(t.style),for:(0,d.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerRoot),{id:(0,d.unref)(i),open:l.value,"onUpdate:open":n[0]||=e=>l.value=e,placeholder:(0,d.unref)(g),"onUpdate:placeholder":n[1]||=e=>(0,d.isRef)(g)?g.value=e:null,"model-value":(0,d.unref)(_),"week-starts-on":(0,d.unref)(Aw)((0,d.unref)(v)),disabled:t.isDisabled,"max-value":(0,d.unref)(y),"min-value":(0,d.unref)(b),readonly:t.isReadonly,required:t.isRequired,locale:(0,d.unref)(v),"number-of-months":(0,d.unref)(h)?1:2,"close-on-select":!1,"onUpdate:modelValue":(0,d.unref)(w)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"is-disabled":t.isDisabled,"is-error":(0,d.unref)(o),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},(0,d.createSlots)({default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerField),(0,d.mergeProps)({id:(0,d.unref)(i)},(0,d.unref)(a),{"aria-describedby":(0,d.unref)(s),"aria-invalid":(0,d.unref)(c),"aria-required":t.isRequired||void 0,class:u.value.field()}),{default:(0,d.withCtx)(({segments:e})=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.start,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`start-${e}`},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:1,part:e,class:(0,d.normalizeClass)(u.value.literal()),type:`start`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:0,part:e,class:(0,d.normalizeClass)(u.value.segment()),type:`start`,"data-field-wrapper":``},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128)),(0,d.createVNode)((0,d.unref)(Ot),{class:(0,d.normalizeClass)(u.value.separator())},null,8,[`class`]),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.end,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`end-${e}`},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:1,part:e,class:(0,d.normalizeClass)(u.value.literal()),type:`end`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:0,part:e,class:(0,d.normalizeClass)(u.value.segment()),type:`end`,"data-field-wrapper":``},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128))]),_:1},16,[`id`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`])]),_:2},[t.isPickerHidden?void 0:{name:`right`,fn:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{"is-disabled":t.isDisabled||t.isReadonly,"is-tooltip-disabled":!0,icon:(0,d.unref)(Mt),label:(0,d.unref)(r).t(`component.date_range_picker.open`),size:`xs`,type:`button`,variant:`tertiary`,class:`mr-xs`,"data-field-wrapper":``},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),key:`0`}]),1032,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`]),(0,d.createVNode)(ur,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerContent),{"side-offset":8,"collision-padding":10,"data-animation":`popover-default`,class:`z-50 origin-(--reka-popover-content-transform-origin) will-change-[transform,opacity]`,align:`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerCalendar),{"fixed-weeks":!0,class:`flex flex-col gap-lg overflow-hidden rounded-2xl border border-secondary bg-primary shadow-lg`,"weekday-format":`short`},{default:(0,d.withCtx)(({weekDays:e,grid:t})=>[(0,d.createElementVNode)(`div`,Qw,[(0,d.createVNode)(Zw),(0,d.createElementVNode)(`div`,$w,[(0,d.createElementVNode)(`div`,eT,[(0,d.createElementVNode)(`div`,tT,[(0,d.createVNode)(Ww,{"show-next":(0,d.unref)(h),side:`left`},null,8,[`show-next`]),(0,d.createElementVNode)(`div`,nT,[(0,d.createVNode)(zw,{month:t[0],"week-days":e},null,8,[`month`,`week-days`])])]),(0,d.unref)(h)?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[n[2]||=(0,d.createElementVNode)(`div`,{class:`border-l border-secondary`},null,-1),(0,d.createElementVNode)(`div`,rT,[(0,d.createVNode)(Ww,{side:`right`}),(0,d.createElementVNode)(`div`,iT,[(0,d.createVNode)(zw,{month:t[1],"week-days":e},null,8,[`month`,`week-days`])])])],64))]),(0,d.createVNode)(Jw)])])]),_:1})]),_:1})]),_:1})]),_:1},8,[`id`,`open`,`placeholder`,`model-value`,`week-starts-on`,`disabled`,`max-value`,`min-value`,`readonly`,`required`,`locale`,`number-of-months`,`onUpdate:modelValue`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`]))}}),oT={class:`flex h-full`},sT={class:`flex min-w-0 flex-1 flex-col`},cT={class:`flex`},lT={class:`flex flex-1 flex-col`},uT={class:`p-xl pt-0`},dT={class:`flex flex-1 flex-col`},fT={class:`p-xl pt-0`},pT=(0,d.defineComponent)({inheritAttrs:!1,__name:`DateRangePicker`,props:(0,d.mergeModels)({maxDate:{default:null},minDate:{default:null},showPresets:{type:Boolean,default:!0}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`),{isInvalidRange:r,isSingleMonth:i,calendarPlaceholder:a,draftValue:o,locale:s,maxDateValue:c,minDateValue:l,setPlaceholder:u,setPreset:f,onDraftValueUpdate:m}=Nw({maxDate:(0,d.toRef)(t,`maxDate`),minDate:(0,d.toRef)(t,`minDate`),modelValue:n});return Pw({isInvalidRange:r,draftValue:o,placeholder:a,setPlaceholder:u,setPreset:f,onCancel:()=>{}}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(ur,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerRoot),{modelValue:(0,d.unref)(o),"onUpdate:modelValue":[n[0]||=e=>(0,d.isRef)(o)?o.value=e:null,(0,d.unref)(m)],placeholder:(0,d.unref)(a),"onUpdate:placeholder":n[1]||=e=>(0,d.isRef)(a)?a.value=e:null,"week-starts-on":(0,d.unref)(Aw)((0,d.unref)(s)),"max-value":(0,d.unref)(c),"min-value":(0,d.unref)(l),locale:(0,d.unref)(s),"number-of-months":(0,d.unref)(i)?1:2,"close-on-select":!1},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerCalendar),{"fixed-weeks":!0,class:`flex flex-col gap-lg overflow-hidden bg-primary`,"weekday-format":`short`},{default:(0,d.withCtx)(({weekDays:e,grid:r})=>[(0,d.createElementVNode)(`div`,oT,[t.showPresets?((0,d.openBlock)(),(0,d.createBlock)(Zw,{key:0})):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,sT,[(0,d.createElementVNode)(`div`,cT,[(0,d.createElementVNode)(`div`,lT,[(0,d.createVNode)(Ww,{"show-next":(0,d.unref)(i),side:`left`},null,8,[`show-next`]),(0,d.createElementVNode)(`div`,uT,[(0,d.createVNode)(zw,{month:r[0],"week-days":e},null,8,[`month`,`week-days`])])]),(0,d.unref)(i)?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[n[2]||=(0,d.createElementVNode)(`div`,{class:`border-l border-secondary`},null,-1),(0,d.createElementVNode)(`div`,dT,[(0,d.createVNode)(Ww,{side:`right`}),(0,d.createElementVNode)(`div`,fT,[(0,d.createVNode)(zw,{month:r[1],"week-days":e},null,8,[`month`,`week-days`])])])],64))])])])]),_:1})]),_:1},8,[`modelValue`,`placeholder`,`week-starts-on`,`max-value`,`min-value`,`locale`,`number-of-months`,`onUpdate:modelValue`])]),_:1}))}}),mT=[`datetime`],hT=(0,d.defineComponent)({__name:`DateTime`,props:{value:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`time`,{datetime:t.value},[(0,d.renderSlot)(e.$slots,`default`)],8,mT))}}),gT=(0,d.defineComponent)({__name:`DetailList`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(q),{gap:`2xl`,class:`w-full`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),_T={},vT={"aria-hidden":`true`,width:`100%`,height:`100%`,viewBox:`0 0 16 16`,fill:`currentColor`,role:`img`,focusable:`false`,xmlns:`http://www.w3.org/2000/svg`};function yT(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,vT,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M7.00194 10.6239C6.66861 10.8183 6.25 10.5779 6.25 10.192V5.80802C6.25 5.42212 6.66861 5.18169 7.00194 5.37613L10.7596 7.56811C11.0904 7.76105 11.0904 8.23895 10.7596 8.43189L7.00194 10.6239Z`},null,-1)]])}var bT=W(_T,[[`render`,yT]]),xT=(0,d.defineComponent)({__name:`DetailListGroupHeaderCollapseInfo`,props:{isVisible:{type:Boolean},badge:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[t.isVisible&&t.badge!==null?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,initial:{opacity:0,width:0,marginLeft:`0rem`},animate:{opacity:1,width:`auto`,marginLeft:`0.4rem`},exit:{opacity:0,width:0,marginLeft:`0rem`},transition:{duration:.15},class:`flex`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Ev),(0,d.mergeProps)(t.badge,{size:`sm`}),null,16)]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:1}))}}),ST={class:`opacity-0 duration-100 group-hover/detail-list-group:opacity-100 focus-visible:opacity-100 has-focus-visible:opacity-100 pointer-coarse:opacity-100`},CT=(0,d.defineComponent)({__name:`DetailListGroupHeader`,props:{isOpen:{type:Boolean},collapseOptions:{},label:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{justify:`between`,class:`w-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.CollapsibleTrigger),{disabled:!t.collapseOptions.isCollapsible,class:`group/trigger -ml-sm flex h-6.5 max-w-full items-center overflow-hidden px-sm py-xs duration-100 not-disabled:hover:bg-tertiary disabled:cursor-default!`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(R),{gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(R),{gap:`none`,class:`w-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:`text-xs font-medium text-primary`},null,8,[`text`]),t.collapseOptions.isCollapsible&&t.collapseOptions.badge!=null?((0,d.openBlock)(),(0,d.createBlock)(xT,{key:0,badge:t.collapseOptions.badge,"is-visible":!t.isOpen},null,8,[`badge`,`is-visible`])):(0,d.createCommentVNode)(``,!0)]),_:1}),t.collapseOptions.isCollapsible?((0,d.openBlock)(),(0,d.createBlock)(bT,{key:0,class:`size-4 shrink-0 text-disabled opacity-0 duration-200 group-hover/detail-list-group:text-secondary group-hover/detail-list-group:opacity-100 group-has-focus-visible/detail-list-group:opacity-100 group-data-[state=closed]/trigger:opacity-100 group-data-[state=open]/trigger:rotate-90 pointer-coarse:opacity-100`})):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`disabled`])]),_:1}),(0,d.createElementVNode)(`div`,ST,[(0,d.renderSlot)(e.$slots,`actions`)])]),_:3}))}}),wT=(0,d.defineComponent)({__name:`DetailListGroup`,props:(0,d.mergeModels)({collapseOptions:{},label:{default:null}},{modelValue:{type:Boolean,default:void 0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n={isCollapsible:!1,isOpenByDefault:!1},r=(0,d.useModel)(e,`modelValue`),i=(0,d.computed)(()=>({...n,...t.collapseOptions}));r.value===void 0&&(r.value=i.value.isOpenByDefault);let a=(0,d.computed)({get:()=>i.value.isCollapsible?r.value:!0,set:e=>{i.value.isCollapsible&&(r.value=e)}});return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.CollapsibleRoot),{open:a.value,"onUpdate:open":n[0]||=e=>a.value=e,"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(q),{gap:`none`,class:`group/detail-list-group @container/detail-list w-full`},{default:(0,d.withCtx)(()=>[t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(CT,{key:0,label:t.label,"is-open":a.value,"collapse-options":i.value},{actions:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`actions`)]),_:3},8,[`label`,`is-open`,`collapse-options`])),(0,d.createVNode)((0,d.unref)(p.CollapsibleContent),{class:`w-full origin-top-left overflow-hidden data-[state=closed]:animate-[collapsible-up_150ms] data-[state=open]:animate-[collapsible-down_150ms]`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(q),{class:(0,d.normalizeClass)({"pt-xl":t.label!==null}),gap:`lg`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`])]),_:3})]),_:3})]),_:3},8,[`open`]))}}),TT=(0,d.defineComponent)({__name:`DetailListGroupItem`,props:{orientation:{default:`horizontal`}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)([{"flex-col items-start @[15rem]:flex-row":t.orientation===`horizontal`,"flex-col":t.orientation===`vertical`},`flex gap-xs`])},[(0,d.renderSlot)(e.$slots,`default`)],2))}}),ET={key:0,class:`flex aspect-square h-text-xs items-center`},DT=(0,d.defineComponent)({__name:`DetailListGroupItemLabel`,props:{avatar:{default:null},icon:{default:null},label:{},variant:{default:`default`}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{gap:`xxs`,class:`w-28 shrink-0`},{default:(0,d.withCtx)(()=>[t.icon!==null||t.avatar!==null?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,ET,[t.avatar===null?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:1,class:(0,d.normalizeClass)([{"text-disabled":t.variant===`default`,"text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`size-3.5`])},null,8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Da),{key:0,name:t.avatar.name,src:t.avatar.src,"is-static-color":t.avatar.isStaticColor,size:`xxs`},null,8,[`name`,`src`,`is-static-color`]))])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:(0,d.normalizeClass)([{"text-tertiary":t.variant===`default`,"text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`text-xs`])},null,8,[`text`,`class`])]),_:1}))}}),OT=(0,d.defineComponent)({__name:`DetailListGroupItemValueBadge`,props:{ariaLabel:{},avatar:{},color:{},dot:{},icon:{},label:{},rounded:{},variant:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Ev),(0,d.mergeProps)(t,{size:`sm`}),null,16))}}),kT={key:0,class:`flex aspect-square h-text-xs items-center`},AT=(0,d.defineComponent)({__name:`DetailListGroupItemValueText`,props:{avatar:{default:null},icon:{default:null},text:{},variant:{default:`default`}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{gap:`xxs`,align:`start`},{default:(0,d.withCtx)(()=>[t.icon!==null||t.avatar!==null?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,kT,[t.avatar===null?t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:1,class:(0,d.normalizeClass)([{"text-disabled":t.variant===`default`,"text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`size-3.5`])},null,8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Da),(0,d.mergeProps)({key:0},t.avatar,{size:`xxs`}),null,16))])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(G),{truncate:!1,text:t.text,class:(0,d.normalizeClass)([{"text-primary":t.variant===`default`,"text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`text-xs`])},null,8,[`text`,`class`])]),_:1}))}}),jT=(0,d.defineComponent)({__name:`DetailListGroupSeparator`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(lo)))}}),MT={key:2},NT=(0,d.defineComponent)({__name:`EmptyStateAction`,props:{action:{},variant:{default:`primary`}},setup(e){let t=e;return(e,n)=>t.action.type===`button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(o_),(0,d.mergeProps)({key:0},t.action,{variant:t.variant,onClick:t.action.onClick}),null,16,[`variant`,`onClick`])):t.action.type===`link`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(d_),(0,d.mergeProps)({key:1},t.action,{variant:t.variant}),null,16,[`variant`])):t.action.type===`Action`?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,MT)):(0,d.createCommentVNode)(``,!0)}}),PT={width:`152`,height:`133`,viewBox:`0 0 152 133`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},FT=[`filter`],IT=[`fill`],LT={x:`48`,y:`68.0915`,width:`56`,height:`56`},RT=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationBox`,setup(e){let t=(0,d.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-c`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,PT,[t[8]||=(0,d.createStaticVNode)(`<circle cx="76" cy="59.0915" r="52" fill="#EEF2F6"></circle><circle cx="21" cy="26.0915" r="5" fill="#EEF2F6"></circle><circle cx="18" cy="110.091" r="7" fill="#EEF2F6"></circle><circle cx="145" cy="42.0915" r="7" fill="#EEF2F6"></circle><circle cx="134" cy="15.0915" r="4" fill="#EEF2F6"></circle>`,5),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[t[0]||=(0,d.createElementVNode)(`path`,{d:`M76.0006 91.2813L118 72.6227V19.4665L76.3298 1.09149L34 19.4665V72.6227L76.0006 91.2813Z`,fill:`#F8FAFC`},null,-1),t[1]||=(0,d.createElementVNode)(`path`,{d:`M118.5 72.9479L118.203 73.0798L76.2031 91.738L76.001 91.8288L75.7979 91.738L33.7969 73.0798L33.5 72.9479V19.1384L33.8008 19.0075L76.1309 0.632507L76.3311 0.545593L76.5312 0.63446L118.202 19.0095L118.5 19.1403V72.9479Z`,stroke:`black`,"stroke-opacity":`0.08`},null,-1),t[2]||=(0,d.createElementVNode)(`path`,{d:`M76 37.1544V91.3259L34 72.6227V19.4665L76 37.1544Z`,fill:`#E3E8EF`},null,-1),(0,d.createElementVNode)(`path`,{fill:`url(#${r})`,d:`M76.0008 37.1852V91.3259L118 72.6227V19.4665L76.0008 37.1852Z`},null,8,IT),t[3]||=(0,d.createElementVNode)(`path`,{d:`M76 37.1852L118 19.4665L76.3298 1.09149L34 19.4665L76 37.1852Z`,fill:`#F8FAFC`},null,-1),t[4]||=(0,d.createElementVNode)(`path`,{d:`M50.0781 12.4858L91.6722 30.5901L92.0523 43.8613L103.759 39.031L103.405 25.6761L60.4847 7.97345L50.0781 12.4858Z`,fill:`#E3E8EF`},null,-1)],8,FT),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,LT,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${i});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),t[9]||=(0,d.createElementVNode)(`g`,null,[(0,d.createElementVNode)(`path`,{d:`M56 96.0915C56 85.0458 64.9543 76.0915 76 76.0915C87.0457 76.0915 96 85.0458 96 96.0915C96 107.137 87.0457 116.091 76 116.091C64.9543 116.091 56 107.137 56 96.0915Z`,fill:`black`,"fill-opacity":`0.2`}),(0,d.createElementVNode)(`path`,{d:`M72.6667 99.4248L76 96.0915M76 96.0915L79.3333 99.4248M76 96.0915V103.591M82.6667 100.044C83.6846 99.2032 84.3333 97.9314 84.3333 96.5082C84.3333 93.9769 82.2813 91.9248 79.75 91.9248C79.5679 91.9248 79.3976 91.8298 79.3051 91.6729C78.2184 89.8289 76.212 88.5915 73.9167 88.5915C70.4649 88.5915 67.6667 91.3897 67.6667 94.8415C67.6667 96.5632 68.3629 98.1224 69.4891 99.2528`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`13`,y:`0`,width:`126`,height:`132.376`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[5]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:i,transform:`translate(-48 -68.0915)`},[...t[6]||=[(0,d.createElementVNode)(`path`,{d:`M56 96.0915C56 85.0458 64.9543 76.0915 76 76.0915C87.0457 76.0915 96 85.0458 96 96.0915C96 107.137 87.0457 116.091 76 116.091C64.9543 116.091 56 107.137 56 96.0915Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:r,x1:`97`,y1:`19.4665`,x2:`128.011`,y2:`74.0281`,gradientUnits:`userSpaceOnUse`},[...t[7]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#E3E8EF`},null,-1)]])])]))}}),zT={width:`154`,height:`121`,viewBox:`0 0 154 121`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},BT=[`filter`],VT=[`fill`],HT=[`fill`],UT=[`fill`],WT={x:`49`,y:`58`,width:`56`,height:`56`},GT=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationCloudSearch`,setup(e){let t=(0,d.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-p1`,a=`${t}-p2`,o=`${t}-c`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,zT,[t[7]||=(0,d.createElementVNode)(`circle`,{cx:`77`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[t[0]||=(0,d.createElementVNode)(`path`,{d:`M78.6 16C67.8273 16 58.2978 21.3233 52.4987 29.4829C50.605 29.0363 48.6301 28.8 46.6 28.8C32.4615 28.8 21 40.2615 21 54.4C21 68.5385 32.4615 80 46.6 80L110.6 80C122.971 80 133 69.9712 133 57.6C133 45.2288 122.971 35.2 110.6 35.2C109.721 35.2 108.854 35.2506 108.002 35.349C103.098 23.9677 91.7797 16 78.6 16Z`,fill:`#F8FAFC`},null,-1),t[1]||=(0,d.createElementVNode)(`path`,{d:`M78.5996 15.5C91.8552 15.5 103.255 23.4366 108.312 34.8145C109.064 34.7397 109.827 34.7002 110.6 34.7002C123.247 34.7002 133.5 44.9525 133.5 57.5996C133.5 70.0492 123.565 80.1785 111.191 80.4922L110.6 80.5H46.5996C32.1853 80.4998 20.5002 68.8147 20.5 54.4004C20.5 39.9859 32.1852 28.3 46.5996 28.2998C48.5525 28.2998 50.4558 28.5168 52.2871 28.9238C58.1932 20.7911 67.7778 15.5001 78.5996 15.5Z`,stroke:`black`,"stroke-opacity":`0.08`},null,-1),(0,d.createElementVNode)(`ellipse`,{fill:`url(#${r})`,cx:`46.6`,cy:`54.4`,rx:`25.6`,ry:`25.6`},null,8,VT),(0,d.createElementVNode)(`circle`,{fill:`url(#${i})`,cx:`78.6`,cy:`48`,r:`32`},null,8,HT),(0,d.createElementVNode)(`ellipse`,{fill:`url(#${a})`,cx:`110.6`,cy:`57.6`,rx:`22.4`,ry:`22.4`},null,8,UT)],8,BT),t[8]||=(0,d.createElementVNode)(`circle`,{cx:`22`,cy:`19`,r:`5`,fill:`#EEF2F6`},null,-1),t[9]||=(0,d.createElementVNode)(`circle`,{cx:`19`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[10]||=(0,d.createElementVNode)(`circle`,{cx:`146`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[11]||=(0,d.createElementVNode)(`circle`,{cx:`135`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,WT,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${o});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),t[12]||=(0,d.createElementVNode)(`g`,null,[(0,d.createElementVNode)(`path`,{d:`M57 86C57 74.9543 65.9543 66 77 66C88.0457 66 97 74.9543 97 86C97 97.0457 88.0457 106 77 106C65.9543 106 57 97.0457 57 86Z`,fill:`black`,"fill-opacity":`0.2`}),(0,d.createElementVNode)(`path`,{d:`M84.5 93.5L81.5834 90.5833M83.6667 85.5833C83.6667 89.4954 80.4954 92.6667 76.5833 92.6667C72.6713 92.6667 69.5 89.4954 69.5 85.5833C69.5 81.6713 72.6713 78.5 76.5833 78.5C80.4954 78.5 83.6667 81.6713 83.6667 85.5833Z`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`0`,y:`15`,width:`154`,height:`106`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[2]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow_1182_1994"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1182_1994"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_1182_1994"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow_1182_1994" result="effect2_dropShadow_1182_1994"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow_1182_1994"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow_1182_1994" result="effect3_dropShadow_1182_1994"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_1182_1994" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:o,transform:`translate(-49 -58)`},[...t[3]||=[(0,d.createElementVNode)(`path`,{d:`M57 86C57 74.9543 65.9543 66 77 66C88.0457 66 97 74.9543 97 86C97 97.0457 88.0457 106 77 106C65.9543 106 57 97.0457 57 86Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:r,x1:`26.9429`,y1:`37.4857`,x2:`72.2`,y2:`79.9999`,gradientUnits:`userSpaceOnUse`},[...t[4]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#E3E8EF`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`0.350715`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:i,x1:`54.0286`,y1:`26.8571`,x2:`110.6`,y2:`80`,gradientUnits:`userSpaceOnUse`},[...t[5]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#E3E8EF`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`0.350715`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:a,x1:`93.4`,y1:`42.8`,x2:`133`,y2:`80`,gradientUnits:`userSpaceOnUse`},[...t[6]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#E3E8EF`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`0.350715`,"stop-color":`#F8FAFC`},null,-1)]])])]))}}),KT={width:`156`,height:`125`,viewBox:`0 0 156 125`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},qT=[`filter`],JT=[`fill`],YT={x:`50.5`,y:`62`,width:`56`,height:`56`},XT=[`clip-path`],ZT=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationCreditCard`,setup(e){let t=(0,d.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-c`,a=`${t}-c1`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,KT,[t[7]||=(0,d.createElementVNode)(`circle`,{cx:`78.5`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${r})`,d:`M20.5 18C20.5 14.6863 23.1863 12 26.5 12H129.5C132.814 12 135.5 14.6863 135.5 18V78C135.5 81.3137 132.814 84 129.5 84H26.5C23.1863 84 20.5 81.3137 20.5 78V18Z`},null,8,JT),t[0]||=(0,d.createStaticVNode)(`<path d="M129.5 11.75C132.952 11.75 135.75 14.5482 135.75 18V78C135.75 81.4518 132.952 84.25 129.5 84.25H26.5C23.0482 84.25 20.25 81.4518 20.25 78V18C20.25 14.5482 23.0482 11.75 26.5 11.75H129.5Z" stroke="black" stroke-opacity="0.08" stroke-width="0.5"></path><path d="M30.5 28C30.5 26.8954 31.3954 26 32.5 26H48.5C49.6046 26 50.5 26.8954 50.5 28V39C50.5 40.1046 49.6046 41 48.5 41H32.5C31.3954 41 30.5 40.1046 30.5 39V28Z" fill="#E3E8EF"></path><circle cx="117.167" cy="32.3335" r="8.33333" fill="#CDD5DF"></circle><circle cx="107.167" cy="32.3333" r="8.33333" fill="#E3E8EF"></circle><path d="M30.5 73.6667C30.5 72.7462 31.2462 72 32.1667 72H48.8333C49.7538 72 50.5 72.7462 50.5 73.6667C50.5 74.5871 49.7538 75.3333 48.8333 75.3333H32.1667C31.2462 75.3333 30.5 74.5871 30.5 73.6667Z" fill="#CDD5DF"></path><path d="M55.5 73.6667C55.5 72.7462 56.2462 72 57.1667 72H73.8333C74.7538 72 75.5 72.7462 75.5 73.6667C75.5 74.5871 74.7538 75.3333 73.8333 75.3333H57.1667C56.2462 75.3333 55.5 74.5871 55.5 73.6667Z" fill="#CDD5DF"></path><path d="M80.5 73.6667C80.5 72.7462 81.2462 72 82.1667 72H98.8333C99.7538 72 100.5 72.7462 100.5 73.6667C100.5 74.5871 99.7538 75.3333 98.8333 75.3333H82.1667C81.2462 75.3333 80.5 74.5871 80.5 73.6667Z" fill="#CDD5DF"></path><path d="M105.5 73.6667C105.5 72.7462 106.246 72 107.167 72H123.833C124.754 72 125.5 72.7462 125.5 73.6667C125.5 74.5871 124.754 75.3333 123.833 75.3333H107.167C106.246 75.3333 105.5 74.5871 105.5 73.6667Z" fill="#CDD5DF"></path>`,8)],8,qT),t[8]||=(0,d.createElementVNode)(`circle`,{cx:`23.5`,cy:`5`,r:`5`,fill:`#EEF2F6`},null,-1),t[9]||=(0,d.createElementVNode)(`circle`,{cx:`20.5`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[10]||=(0,d.createElementVNode)(`circle`,{cx:`147.5`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[11]||=(0,d.createElementVNode)(`circle`,{cx:`136.5`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,YT,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${i});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),(0,d.createElementVNode)(`g`,null,[t[2]||=(0,d.createElementVNode)(`path`,{d:`M58.5 90C58.5 78.9543 67.4543 70 78.5 70C89.5457 70 98.5 78.9543 98.5 90C98.5 101.046 89.5457 110 78.5 110C67.4543 110 58.5 101.046 58.5 90Z`,fill:`black`,"fill-opacity":`0.2`},null,-1),(0,d.createElementVNode)(`g`,{"clip-path":`url(#${a})`},[...t[1]||=[(0,d.createElementVNode)(`path`,{d:`M78.5 86.6666V90M78.5 93.3333H78.5083M86.8333 90C86.8333 94.6023 83.1024 98.3333 78.5 98.3333C73.8976 98.3333 70.1667 94.6023 70.1667 90C70.1667 85.3976 73.8976 81.6666 78.5 81.6666C83.1024 81.6666 86.8333 85.3976 86.8333 90Z`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]],8,XT)]),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`0`,y:`11.5`,width:`156`,height:`113`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[3]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:i,transform:`translate(-50.5 -62)`},[...t[4]||=[(0,d.createElementVNode)(`path`,{d:`M58.5 90C58.5 78.9543 67.4543 70 78.5 70C89.5457 70 98.5 78.9543 98.5 90C98.5 101.046 89.5457 110 78.5 110C67.4543 110 58.5 101.046 58.5 90Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:r,x1:`24.5049`,y1:`83.1477`,x2:`22.4135`,y2:`17.2505`,gradientUnits:`userSpaceOnUse`},[...t[5]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`clipPath`,{id:a},[...t[6]||=[(0,d.createElementVNode)(`rect`,{width:`20`,height:`20`,fill:`white`,transform:`translate(68.5 80)`},null,-1)]])])]))}}),QT={width:`161`,height:`120`,viewBox:`0 0 161 120`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},$T=[`filter`],eE=[`fill`],tE=[`filter`],nE=[`fill`],rE=[`filter`],iE=[`fill`],aE={x:`53.9647`,y:`62`,width:`56`,height:`56`},oE=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationDocuments`,setup(e){let t=(0,d.useId)(),n=`${t}-f0`,r=`${t}-f1`,i=`${t}-f2`,a=`${t}-p0`,o=`${t}-p1`,s=`${t}-p2`,c=`${t}-c`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,QT,[t[13]||=(0,d.createElementVNode)(`circle`,{cx:`81.9647`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${a})`,d:`M47.6914 79.1102L80.9299 63.6108C82.5987 62.8326 83.3207 60.8489 82.5425 59.1801L62.9132 17.0849L49.6211 12.2469L22.4259 24.9282C20.7571 25.7064 20.0351 27.6901 20.8133 29.359L43.2607 77.4975C44.0389 79.1663 46.0225 79.8883 47.6914 79.1102Z`},null,8,eE),t[0]||=(0,d.createElementVNode)(`path`,{d:`M82.7692 59.0745C83.6056 60.8685 82.8295 63.0009 81.0357 63.8374L47.797 79.3368C46.0031 80.1733 43.8707 79.3971 43.0342 77.6033L20.5867 29.4646L20.5131 29.2952C19.7999 27.5384 20.5824 25.5121 22.3202 24.7017L49.6095 11.9765L63.096 16.8852L82.7692 59.0745Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.5`},null,-1),t[1]||=(0,d.createElementVNode)(`path`,{d:`M49.6216 12.2471L62.9137 17.085L53.8487 21.3121L49.6216 12.2471Z`,fill:`#E3E8EF`},null,-1)],8,$T),(0,d.createElementVNode)(`g`,{filter:`url(#${r})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${o})`,d:`M63.5809 67.7831H100.256C102.097 67.7831 103.59 66.2904 103.59 64.4491V18.0022L93.5874 8H63.5809C61.7395 8 60.2468 9.49271 60.2468 11.3341V64.4491C60.2468 66.2904 61.7395 67.7831 63.5809 67.7831Z`},null,8,nE),t[2]||=(0,d.createElementVNode)(`path`,{d:`M103.84 64.4492C103.839 66.4285 102.235 68.0332 100.256 68.0332H63.5808C61.6015 68.0332 59.9969 66.4285 59.9968 64.4492V11.334L60.0017 11.1494C60.0978 9.25583 61.6633 7.75004 63.5808 7.75H93.6911L103.84 17.8984V64.4492Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.5`},null,-1),t[3]||=(0,d.createElementVNode)(`path`,{d:`M93.5873 8L103.589 18.0022H93.5873V8Z`,fill:`#E3E8EF`},null,-1)],8,tE),(0,d.createElementVNode)(`g`,{filter:`url(#${i})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${s})`,d:`M82.4392 63.5909L115.678 79.0903C117.347 79.8685 119.33 79.1465 120.108 77.4777L139.738 35.3825L134.9 22.0903L107.705 9.40903C106.036 8.63085 104.052 9.35286 103.274 11.0217L80.8266 59.1602C80.0484 60.8291 80.7704 62.8128 82.4392 63.5909Z`},null,8,iE),t[4]||=(0,d.createElementVNode)(`path`,{d:`M120.335 77.5835C119.498 79.3773 117.366 80.1535 115.572 79.317L82.3335 63.8176C80.5396 62.981 79.7635 60.8486 80.6 59.0547L103.047 10.916L103.13 10.7507C104.017 9.0752 106.072 8.37211 107.81 9.18243L135.1 21.9076L140.008 35.3941L120.335 77.5835Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.5`},null,-1),t[5]||=(0,d.createElementVNode)(`path`,{d:`M134.9 22.0903L139.738 35.3825L130.673 31.1554L134.9 22.0903Z`,fill:`#E3E8EF`},null,-1)],8,rE),t[14]||=(0,d.createElementVNode)(`circle`,{cx:`26.9647`,cy:`11`,r:`5`,fill:`#EEF2F6`},null,-1),t[15]||=(0,d.createElementVNode)(`circle`,{cx:`23.9647`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[16]||=(0,d.createElementVNode)(`circle`,{cx:`150.965`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[17]||=(0,d.createElementVNode)(`circle`,{cx:`139.965`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,aE,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${c});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),t[18]||=(0,d.createElementVNode)(`g`,null,[(0,d.createElementVNode)(`path`,{d:`M61.9647 90C61.9647 78.9543 70.919 70 81.9647 70C93.0104 70 101.965 78.9543 101.965 90C101.965 101.046 93.0104 110 81.9647 110C70.919 110 61.9647 101.046 61.9647 90Z`,fill:`black`,"fill-opacity":`0.2`}),(0,d.createElementVNode)(`path`,{d:`M78.6314 93.3333L81.9647 90M81.9647 90L85.298 93.3333M81.9647 90V97.5M88.6314 93.9524C89.6493 93.1117 90.298 91.8399 90.298 90.4167C90.298 87.8854 88.246 85.8333 85.7147 85.8333C85.5326 85.8333 85.3623 85.7383 85.2698 85.5814C84.1831 83.7374 82.1767 82.5 79.8814 82.5C76.4296 82.5 73.6314 85.2982 73.6314 88.75C73.6314 90.4718 74.3276 92.0309 75.4538 93.1613`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`-0.595741`,y:`8.0199`,width:`104.547`,height:`112.499`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[6]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`filter`,{id:r,x:`39.7468`,y:`7.5`,width:`84.3428`,height:`100.783`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[7]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`filter`,{id:i,x:`59.4176`,y:`8`,width:`104.547`,height:`112.499`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[8]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:c,transform:`translate(-53.9647 -62)`},[...t[9]||=[(0,d.createElementVNode)(`path`,{d:`M61.9647 90C61.9647 78.9543 70.919 70 81.9647 70C93.0104 70 101.965 78.9543 101.965 90C101.965 101.046 93.0104 110 81.9647 110C70.919 110 61.9647 101.046 61.9647 90Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:a,x1:`45.7386`,y1:`79.2399`,x2:`19.2501`,y2:`31.4527`,gradientUnits:`userSpaceOnUse`},[...t[10]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:o,x1:`61.7562`,y1:`67.0755`,x2:`57.9453`,y2:`12.571`,gradientUnits:`userSpaceOnUse`},[...t[11]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:s,x1:`81.0846`,y1:`62.1785`,x2:`100.665`,y2:`11.17`,gradientUnits:`userSpaceOnUse`},[...t[12]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]])])]))}}),sE={width:`156`,height:`125`,viewBox:`0 0 156 125`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},cE=[`filter`],lE=[`fill`],uE=[`fill`],dE={x:`50.3462`,y:`62`,width:`56`,height:`56`},fE=[`clip-path`],pE=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationRouteCard`,setup(e){let t=(0,d.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-p1`,a=`${t}-c`,o=`${t}-c1`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,sE,[t[9]||=(0,d.createElementVNode)(`circle`,{cx:`78.3462`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${r})`,d:`M20.3462 16.1538C20.3462 13.8597 22.2059 12 24.5 12H131.115C133.409 12 135.269 13.8597 135.269 16.1538V79.8462C135.269 82.1403 133.409 84 131.115 84H24.5C22.2059 84 20.3462 82.1403 20.3462 79.8462V16.1538Z`},null,8,lE),t[0]||=(0,d.createElementVNode)(`path`,{d:`M131.116 11.8271C133.505 11.8273 135.442 13.7647 135.442 16.1543V79.8457C135.442 82.2353 133.505 84.1727 131.116 84.1729H24.5005C22.1108 84.1729 20.1733 82.2354 20.1733 79.8457V16.1543C20.1733 13.7646 22.1108 11.8271 24.5005 11.8271H131.116Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.346154`},null,-1),(0,d.createElementVNode)(`path`,{fill:`url(#${i})`,d:`M20.3462 16.1538C20.3462 13.8597 22.2059 12 24.5 12H131.115C133.409 12 135.269 13.8597 135.269 16.1538V28.6154H20.3462V16.1538Z`},null,8,uE),t[1]||=(0,d.createStaticVNode)(`<path d="M30.0385 34.8462C30.0385 34.0815 30.6584 33.4615 31.4231 33.4615H36.9615C37.7262 33.4615 38.3461 34.0815 38.3461 34.8462V40.3846C38.3461 41.1493 37.7262 41.7692 36.9615 41.7692H31.4231C30.6584 41.7692 30.0385 41.1493 30.0385 40.3846V34.8462Z" fill="#E3E8EF"></path><path d="M54.2692 47.3077C54.2692 46.543 54.8891 45.9231 55.6538 45.9231H61.1923C61.957 45.9231 62.5769 46.543 62.5769 47.3077V52.8462C62.5769 53.6109 61.957 54.2308 61.1923 54.2308H55.6538C54.8891 54.2308 54.2692 53.6109 54.2692 52.8462V47.3077Z" fill="#E3E8EF"></path><path d="M58.4231 57V62.1923" stroke="#E3E8EF" stroke-width="1.38462" stroke-linecap="round"></path><path d="M54.2692 66.6924C54.2692 65.9277 54.8891 65.3077 55.6538 65.3077H61.1923C61.957 65.3077 62.5769 65.9277 62.5769 66.6924V72.2308C62.5769 72.9955 61.957 73.6154 61.1923 73.6154H55.6538C54.8891 73.6154 54.2692 72.9955 54.2692 72.2308V66.6924Z" fill="#E3E8EF"></path><path d="M42.5 37.9051C42.5 36.9804 43.2497 36.2307 44.1744 36.2307L76.8346 36.2307C77.7593 36.2307 78.509 36.9804 78.509 37.9051C78.509 38.8299 77.7593 39.5796 76.8346 39.5796H44.1744C43.2497 39.5796 42.5 38.8299 42.5 37.9051Z" fill="#E3E8EF"></path><path d="M69.5 50.3667C69.5 49.4419 70.2497 48.6923 71.1744 48.6923L120.45 48.6923C121.375 48.6923 122.124 49.4419 122.124 50.3667C122.124 51.2914 121.375 52.0411 120.45 52.0411H71.1744C70.2497 52.0411 69.5 51.2914 69.5 50.3667Z" fill="#E3E8EF"></path><path d="M30.0948 50.3666C30.0948 49.4418 30.8445 48.6921 31.7692 48.6921L46.0179 48.6922C46.9426 48.6922 47.6923 49.4419 47.6923 50.3666C47.6923 51.2914 46.9426 52.0411 46.0179 52.0411L31.7692 52.041C30.8445 52.041 30.0948 51.2913 30.0948 50.3666Z" fill="#E3E8EF"></path><path d="M69.5 69.7513C69.5 68.8266 70.2497 68.0769 71.1744 68.0769L120.45 68.0769C121.375 68.0769 122.124 68.8266 122.124 69.7513C122.124 70.6761 121.375 71.4257 120.45 71.4257H71.1744C70.2497 71.4257 69.5 70.6761 69.5 69.7513Z" fill="#E3E8EF"></path><path d="M30.0868 21.2898C30.0868 20.365 30.8365 19.6154 31.7612 19.6154L64.4214 19.6154C65.3461 19.6154 66.0958 20.365 66.0958 21.2898C66.0958 22.2145 65.3461 22.9642 64.4214 22.9642H31.7612C30.8365 22.9642 30.0868 22.2145 30.0868 21.2898Z" fill="#CDD5DF"></path><path d="M104.518 21.2898C104.518 20.365 105.268 19.6154 106.192 19.6154L123.912 19.6154C124.836 19.6154 125.586 20.365 125.586 21.2898C125.586 22.2145 124.836 22.9642 123.912 22.9642H106.192C105.268 22.9642 104.518 22.2145 104.518 21.2898Z" fill="#CDD5DF"></path>`,10)],8,cE),t[10]||=(0,d.createElementVNode)(`circle`,{cx:`23.3462`,cy:`5`,r:`5`,fill:`#EEF2F6`},null,-1),t[11]||=(0,d.createElementVNode)(`circle`,{cx:`20.3462`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[12]||=(0,d.createElementVNode)(`circle`,{cx:`147.346`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[13]||=(0,d.createElementVNode)(`circle`,{cx:`136.346`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,dE,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${a});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),(0,d.createElementVNode)(`g`,null,[t[3]||=(0,d.createElementVNode)(`path`,{d:`M58.3462 90C58.3462 78.9543 67.3005 70 78.3462 70C89.3918 70 98.3462 78.9543 98.3462 90C98.3462 101.046 89.3918 110 78.3462 110C67.3005 110 58.3462 101.046 58.3462 90Z`,fill:`black`,"fill-opacity":`0.2`},null,-1),(0,d.createElementVNode)(`g`,{"clip-path":`url(#${o})`},[...t[2]||=[(0,d.createElementVNode)(`path`,{d:`M78.3462 86.6666V90M78.3462 93.3333H78.3545M86.6795 90C86.6795 94.6023 82.9485 98.3333 78.3462 98.3333C73.7438 98.3333 70.0128 94.6023 70.0128 90C70.0128 85.3976 73.7438 81.6666 78.3462 81.6666C82.9485 81.6666 86.6795 85.3976 86.6795 90Z`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]],8,fE)]),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`0`,y:`11.6538`,width:`155.615`,height:`112.692`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[4]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:a,transform:`translate(-50.3462 -62)`},[...t[5]||=[(0,d.createElementVNode)(`path`,{d:`M58.3462 90C58.3462 78.9543 67.3005 70 78.3462 70C89.3918 70 98.3462 78.9543 98.3462 90C98.3462 101.046 89.3918 110 78.3462 110C67.3005 110 58.3462 101.046 58.3462 90Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:r,x1:`24.3483`,y1:`83.1477`,x2:`22.2555`,y2:`17.2506`,gradientUnits:`userSpaceOnUse`},[...t[6]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:i,x1:`24.3483`,y1:`28.4187`,x2:`24.2368`,y2:`13.1972`,gradientUnits:`userSpaceOnUse`},[...t[7]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`clipPath`,{id:o},[...t[8]||=[(0,d.createElementVNode)(`rect`,{width:`20`,height:`20`,fill:`white`,transform:`translate(68.3462 80)`},null,-1)]])])]))}}),mE={key:1,class:`flex size-10 shrink-0 items-center justify-center rounded-lg border border-secondary`},hE=(0,d.defineComponent)({__name:`EmptyState`,props:{title:{},description:{default:null},icon:{default:null},illustration:{default:null},primaryAction:{default:null},secondaryAction:{default:null}},setup(e){let t=e,n={box:RT,"cloud-search":GT,"credit-card":ZT,documents:oE,"route-card":pE};return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(q),{align:`center`,justify:`center`,gap:`2xl`},{default:(0,d.withCtx)(()=>[t.illustration===null?t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,mE,[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{class:`size-5 text-primary`}))])):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(n[t.illustration]),{key:0})),(0,d.createVNode)((0,d.unref)(q),{gap:`xs`,align:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(G),{text:t.title,class:`text-sm font-semibold text-secondary`},null,8,[`text`]),t.description===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:0,truncate:!1,text:t.description,class:`text-center text-xs text-tertiary`},null,8,[`text`]))]),_:1}),(0,d.createVNode)((0,d.unref)(R),null,{default:(0,d.withCtx)(()=>[t.secondaryAction===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(NT,{key:0,action:t.secondaryAction,variant:`secondary`},null,8,[`action`])),t.primaryAction===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(NT,{key:1,action:t.primaryAction},null,8,[`action`]))]),_:1})]),_:1}))}}),gE=(0,d.defineComponent)({__name:`Interactable`,props:{class:{default:null}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,class:(0,d.normalizeClass)((0,d.unref)(Fv)(`
|
|
751
|
+
`},variants:{isPickerHidden:{false:{field:`pl-xxs`},true:{field:`pl-md`}},size:{md:{field:`gap-xxs text-xs`,separator:`mx-xs`,trigger:`pr-md pl-xs`},sm:{field:`gap-xxs text-xs`,separator:`mx-xxs`,trigger:`pr-sm pl-xxs`}}}}),Lw={class:`relative flex size-9 shrink-0 items-center justify-center rounded-full text-xs font-regular text-secondary group-focus-visible/celtrig:ring-2 group-focus-visible/celtrig:ring-fg-brand-primary group-data-disabled/celtrig:text-disabled group-data-disabled/celtrig:opacity-50 group-data-highlighted-end/celtrig:bg-brand-solid group-data-highlighted-end/celtrig:text-primary-on-brand group-data-highlighted-end/celtrig:group-focus-visible/celtrig:ring-0 group-data-highlighted-start/celtrig:bg-brand-solid group-data-highlighted-start/celtrig:text-primary-on-brand group-data-highlighted-start/celtrig:group-focus-visible/celtrig:ring-0 group-data-outside-view/celtrig:text-disabled group-data-selection-end/celtrig:bg-brand-solid group-data-selection-end/celtrig:text-primary-on-brand group-data-selection-end/celtrig:group-focus-visible/celtrig:ring-0 group-data-selection-start/celtrig:bg-brand-solid group-data-selection-start/celtrig:text-primary-on-brand group-data-selection-start/celtrig:group-focus-visible/celtrig:ring-0 group-data-unavailable/celtrig:text-disabled group-data-unavailable/celtrig:line-through group-not-data-disabled/celtrig:group-not-data-highlighted/celtrig:group-not-data-selected/celtrig:hover:bg-secondary-hover`},Rw={key:0,class:`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 rounded-full bg-brand-solid group-data-highlighted-end/celtrig:bg-white group-data-highlighted-start/celtrig:bg-white group-data-selection-end/celtrig:bg-white group-data-selection-start/celtrig:bg-white`},zw=(0,d.defineComponent)({__name:`DateRangeFieldCalendarGrid`,props:{month:{},weekDays:{}},setup(e){let t=e;function n(e){return e.day===1}function r(e){return e.day===(0,x.endOfMonth)(e).day}return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerGrid),{class:`w-full border-collapse select-none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerGridHead),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerGridRow),{class:`flex py-xxs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.weekDays,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerHeadCell),{key:e,class:`flex-1 py-xs text-center text-xs font-medium text-tertiary`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(e),1)]),_:2},1024))),128))]),_:1})]),_:1}),(0,d.createVNode)((0,d.unref)(p.DateRangePickerGridBody),null,{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.month.rows,(e,i)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerGridRow),{key:i,class:`flex py-xxs`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerCell),{key:e.toString(),date:e,class:`group/cell relative flex-1 p-0 text-center text-xs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerCellTrigger),{class:(0,d.normalizeClass)([{"rounded-r-full":r(e),"rounded-l-full":n(e)},`group/celtrig inline-flex h-9 w-full items-center justify-center text-xs outline-none group-first/cell:rounded-l-full group-last/cell:rounded-r-full data-disabled:pointer-events-none data-highlighted:bg-brand-secondary data-highlighted-end:rounded-r-full data-highlighted-end:bg-brand-secondary data-highlighted-start:rounded-l-full data-highlighted-start:bg-brand-secondary data-outside-view:pointer-events-none data-outside-view:invisible data-selected:bg-brand-secondary data-selection-end:rounded-r-full data-selection-end:bg-brand-secondary data-selection-start:rounded-l-full data-selection-start:bg-brand-secondary data-unavailable:pointer-events-none [&[data-selection-end][data-highlighted-start]:not([data-highlighted-end])]:rounded-r-none [&[data-selection-start][data-highlighted-end]:not([data-highlighted-start])]:rounded-l-none`]),day:e,month:t.month.value},{default:(0,d.withCtx)(({today:t})=>[(0,d.createElementVNode)(`div`,Lw,[(0,d.createTextVNode)((0,d.toDisplayString)(e.day)+` `,1),t?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,Rw)):(0,d.createCommentVNode)(``,!0)])]),_:2},1032,[`class`,`day`,`month`])]),_:2},1032,[`date`]))),128))]),_:2},1024))),128))]),_:1})]),_:1}))}}),Bw={class:`flex items-center p-xl pb-0`},Vw={key:1,class:`size-9 shrink-0`},Hw={class:`flex flex-1 items-center justify-center gap-xs`},Uw={key:3,class:`size-9 shrink-0`},Ww=(0,d.defineComponent)({__name:`DateRangeFieldCalendarHeader`,props:{showNext:{type:Boolean},side:{}},setup(e){let t=e,n=(0,m.useI18n)(),{placeholder:r,setPlaceholder:i}=Fw(),a=(0,d.computed)(()=>t.side===`left`?r.value:r.value.add({months:1}));function o(e){i(t.side===`left`?e:e.subtract({months:1}))}return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Bw,[t.side===`left`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerPrev),{key:0,"as-child":!0},{default:(0,d.withCtx)(({disabled:e})=>[(0,d.createVNode)(Q,{"is-disabled":e,icon:(0,d.unref)(Gt),label:(0,d.unref)(n).t(`component.date_range_picker.previous_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Vw)),(0,d.createElementVNode)(`div`,Hw,[(0,d.createVNode)(Cw,{placeholder:a.value,"onUpdate:placeholder":o},null,8,[`placeholder`]),(0,d.createVNode)(Tw,{placeholder:a.value,"onUpdate:placeholder":o},null,8,[`placeholder`])]),t.side===`right`||t.showNext?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerNext),{key:2,"as-child":!0},{default:(0,d.withCtx)(({disabled:e})=>[(0,d.createVNode)(Q,{"is-disabled":e,icon:(0,d.unref)(Yt),label:(0,d.unref)(n).t(`component.date_range_picker.next_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Uw))]))}}),Gw={class:`flex items-center`},Kw=(0,d.defineComponent)({__name:`DateRangeFieldInvalidIndicator`,props:{isVisible:{type:Boolean}},setup(e){let t=e,n=(0,m.useI18n)();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[t.isVisible?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,initial:{opacity:0,filter:`blur(4px)`},animate:{opacity:1,filter:`blur(0)`},exit:{opacity:0,filter:`blur(4px)`},transition:{duration:.3,type:`spring`,bounce:0}},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(G,{label:(0,d.unref)(n).t(`component.date_range_picker.invalid_range`)},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`span`,Gw,[(0,d.createVNode)((0,d.unref)(xt),{class:`size-4 text-error-primary`})])]),_:1},8,[`label`])]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:1}))}}),qw={class:`flex flex-col gap-md border-t border-secondary p-xl md:flex-row md:items-center md:justify-between`},Jw=(0,d.defineComponent)({__name:`DateRangeFieldInputRow`,setup(e){let t=(0,m.useI18n)(),{isInvalidRange:n,onCancel:r}=Fw();return(e,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,qw,[(0,d.createVNode)((0,d.unref)(L),{class:`min-w-0 items-center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerField),{class:`flex h-7 min-w-0 flex-1 items-center gap-xxs rounded-sm border border-secondary bg-primary px-sm text-xs text-primary md:max-w-30 md:min-w-30 md:flex-none [&:has(:focus)]:border-fg-brand-primary [&:has(:focus)]:outline [&:has(:focus)]:outline-fg-brand-primary`},{default:(0,d.withCtx)(({segments:e})=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.start,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`start-${e}`},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:1,part:e,class:`text-placeholder select-none`,type:`start`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:0,part:e,class:`rounded-sm px-xxs text-xs text-primary tabular-nums caret-transparent outline-none hover:bg-secondary-hover focus:bg-secondary-hover focus:text-primary data-placeholder:text-placeholder data-placeholder:focus:text-primary`,type:`start`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`]))],64))),128))]),_:1}),(0,d.createVNode)((0,d.unref)(Yt),{class:`size-4 text-placeholder`}),(0,d.createVNode)((0,d.unref)(p.DateRangePickerField),{class:`flex h-7 min-w-0 flex-1 items-center gap-xxs rounded-sm border border-secondary bg-primary px-sm text-xs text-primary md:max-w-30 md:min-w-30 md:flex-none [&:has(:focus)]:border-fg-brand-primary [&:has(:focus)]:outline [&:has(:focus)]:outline-fg-brand-primary`},{default:(0,d.withCtx)(({segments:e})=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.end,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`end-${e}`},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:1,part:e,class:`text-placeholder select-none`,type:`end`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:0,part:e,class:`rounded-sm px-xxs text-xs text-primary tabular-nums caret-transparent outline-none hover:bg-secondary-hover focus:bg-secondary-hover focus:text-primary data-placeholder:text-placeholder data-placeholder:focus:text-primary`,type:`end`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`]))],64))),128))]),_:1}),(0,d.createVNode)(Kw,{"is-visible":(0,d.unref)(n)},null,8,[`is-visible`])]),_:1}),(0,d.createVNode)((0,d.unref)(L),{class:`self-end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Z),{label:(0,d.unref)(t).t(`component.date_range_picker.close`),size:`md`,variant:`secondary`,onClick:(0,d.unref)(r)},null,8,[`label`,`onClick`])]),_:1})]))}}),Yw={class:`flex w-32 shrink-0 flex-col gap-xs border-r border-secondary p-lg`},Xw=[`data-active`,`onClick`],Zw=(0,d.defineComponent)({__name:`DateRangeFieldPresets`,setup(e){let t=(0,m.useI18n)(),{draftValue:n,setPreset:r}=Fw(),i=(0,d.computed)(()=>{let e=S.Temporal.Now.plainDateISO(),n=e.dayOfWeek,r=e.subtract({days:n-1}),i=r.add({days:6}),a=r.subtract({days:7}),o=r.subtract({days:1}),s=e.with({day:1}),c=e.with({day:e.daysInMonth}),l=s.subtract({months:1}),u=s.subtract({days:1}),d=e.with({day:1,month:1}),f=e.with({day:31,month:12}),p=d.subtract({years:1}),m=d.subtract({days:1}),h=e.subtract({days:1});return[{key:`today`,label:t.t(`component.date_range_picker.preset.today`),range:{from:e,until:e}},{key:`yesterday`,label:t.t(`component.date_range_picker.preset.yesterday`),range:{from:h,until:h}},{key:`this_week`,label:t.t(`component.date_range_picker.preset.this_week`),range:{from:r,until:i}},{key:`last_week`,label:t.t(`component.date_range_picker.preset.last_week`),range:{from:a,until:o}},{key:`this_month`,label:t.t(`component.date_range_picker.preset.this_month`),range:{from:s,until:c}},{key:`last_month`,label:t.t(`component.date_range_picker.preset.last_month`),range:{from:l,until:u}},{key:`this_year`,label:t.t(`component.date_range_picker.preset.this_year`),range:{from:d,until:f}},{key:`last_year`,label:t.t(`component.date_range_picker.preset.last_year`),range:{from:p,until:m}},{key:`all_time`,label:t.t(`component.date_range_picker.preset.all_time`),range:null}]});function a(e){if(e.range===null)return n.value.start==null&&n.value.end==null;if(n.value.start==null||n.value.end==null)return!1;let t=n.value.start,r=n.value.end;return t.year===e.range.from.year&&t.month===e.range.from.month&&t.day===e.range.from.day&&r.year===e.range.until.year&&r.month===e.range.until.month&&r.day===e.range.until.day}return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,Yw,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(i.value,e=>((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:e.key,"data-active":a(e),class:`flex w-full items-center rounded-sm px-lg py-xs text-left text-xs font-medium text-secondary transition-colors duration-100 outline-none hover:bg-secondary-hover focus-visible:ring-2 focus-visible:ring-fg-brand-primary data-[active=true]:bg-brand-secondary data-[active=true]:text-brand-secondary`,type:`button`,onClick:t=>(0,d.unref)(r)(e.range)},(0,d.toDisplayString)(e.label),9,Xw))),128))]))}}),Qw={class:`flex h-full`},$w={class:`flex min-w-0 flex-1 flex-col`},eT={class:`flex`},tT={class:`flex flex-1 flex-col`},nT={class:`p-xl pt-0`},rT={class:`flex flex-1 flex-col`},iT={class:`p-xl pt-0`},aT=(0,d.defineComponent)({inheritAttrs:!1,__name:`DateRangeField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({maxDate:{},minDate:{},isPickerHidden:{type:Boolean},placeholder:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{}},{...mv,...hv,...gv,maxDate:null,minDate:null,isPickerHidden:!1,placeholder:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`),r=(0,m.useI18n)(),i=t.id??(0,d.useId)(),a=(0,d.useAttrs)(),{isError:o,ariaDescribedBy:s,ariaInvalid:c}=fv(i,t),l=(0,d.ref)(!1),u=(0,d.computed)(()=>Iw({isPickerHidden:t.isPickerHidden,size:t.size})),{isInvalidRange:f,isSingleMonth:h,calendarPlaceholder:g,draftValue:_,locale:v,maxDateValue:y,minDateValue:b,setPlaceholder:x,setPreset:S,syncDraftFromModel:C,onDraftValueUpdate:w}=Nw({maxDate:(0,d.toRef)(t,`maxDate`),minDate:(0,d.toRef)(t,`minDate`),modelValue:n});(0,d.watch)(l,e=>{e&&C()});function T(){l.value=!1}return Pw({isInvalidRange:f,draftValue:_,placeholder:g,setPlaceholder:x,setPreset:S,onCancel:T}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,d.normalizeClass)(t.class),style:(0,d.normalizeStyle)(t.style),for:(0,d.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerRoot),{id:(0,d.unref)(i),open:l.value,"onUpdate:open":n[0]||=e=>l.value=e,placeholder:(0,d.unref)(g),"onUpdate:placeholder":n[1]||=e=>(0,d.isRef)(g)?g.value=e:null,"model-value":(0,d.unref)(_),"week-starts-on":(0,d.unref)(Aw)((0,d.unref)(v)),disabled:t.isDisabled,"max-value":(0,d.unref)(y),"min-value":(0,d.unref)(b),readonly:t.isReadonly,required:t.isRequired,locale:(0,d.unref)(v),"number-of-months":(0,d.unref)(h)?1:2,"close-on-select":!1,"onUpdate:modelValue":(0,d.unref)(w)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"is-disabled":t.isDisabled,"is-error":(0,d.unref)(o),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},(0,d.createSlots)({default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerField),(0,d.mergeProps)({id:(0,d.unref)(i)},(0,d.unref)(a),{"aria-describedby":(0,d.unref)(s),"aria-invalid":(0,d.unref)(c),"aria-required":t.isRequired||void 0,class:u.value.field()}),{default:(0,d.withCtx)(({segments:e})=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.start,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`start-${e}`},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:1,part:e,class:(0,d.normalizeClass)(u.value.literal()),type:`start`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:0,part:e,class:(0,d.normalizeClass)(u.value.segment()),type:`start`,"data-field-wrapper":``},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128)),(0,d.createVNode)((0,d.unref)(kt),{class:(0,d.normalizeClass)(u.value.separator())},null,8,[`class`]),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.end,({part:e,value:t})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`end-${e}`},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:1,part:e,class:(0,d.normalizeClass)(u.value.literal()),type:`end`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DateRangePickerInput),{key:0,part:e,class:(0,d.normalizeClass)(u.value.segment()),type:`end`,"data-field-wrapper":``},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128))]),_:1},16,[`id`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`])]),_:2},[t.isPickerHidden?void 0:{name:`right`,fn:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{"is-disabled":t.isDisabled||t.isReadonly,"is-tooltip-disabled":!0,icon:(0,d.unref)(Nt),label:(0,d.unref)(r).t(`component.date_range_picker.open`),size:`xs`,type:`button`,variant:`tertiary`,class:`mr-xs`,"data-field-wrapper":``},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),key:`0`}]),1032,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`]),(0,d.createVNode)(dr,{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerContent),{"side-offset":8,"collision-padding":10,"data-animation":`popover-default`,class:`z-50 origin-(--reka-popover-content-transform-origin) will-change-[transform,opacity]`,align:`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerCalendar),{"fixed-weeks":!0,class:`flex flex-col gap-lg overflow-hidden rounded-2xl border border-secondary bg-primary shadow-lg`,"weekday-format":`short`},{default:(0,d.withCtx)(({weekDays:e,grid:t})=>[(0,d.createElementVNode)(`div`,Qw,[(0,d.createVNode)(Zw),(0,d.createElementVNode)(`div`,$w,[(0,d.createElementVNode)(`div`,eT,[(0,d.createElementVNode)(`div`,tT,[(0,d.createVNode)(Ww,{"show-next":(0,d.unref)(h),side:`left`},null,8,[`show-next`]),(0,d.createElementVNode)(`div`,nT,[(0,d.createVNode)(zw,{month:t[0],"week-days":e},null,8,[`month`,`week-days`])])]),(0,d.unref)(h)?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[n[2]||=(0,d.createElementVNode)(`div`,{class:`border-l border-secondary`},null,-1),(0,d.createElementVNode)(`div`,rT,[(0,d.createVNode)(Ww,{side:`right`}),(0,d.createElementVNode)(`div`,iT,[(0,d.createVNode)(zw,{month:t[1],"week-days":e},null,8,[`month`,`week-days`])])])],64))]),(0,d.createVNode)(Jw)])])]),_:1})]),_:1})]),_:1})]),_:1},8,[`id`,`open`,`placeholder`,`model-value`,`week-starts-on`,`disabled`,`max-value`,`min-value`,`readonly`,`required`,`locale`,`number-of-months`,`onUpdate:modelValue`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`]))}}),oT={class:`flex h-full`},sT={class:`flex min-w-0 flex-1 flex-col`},cT={class:`flex`},lT={class:`flex flex-1 flex-col`},uT={class:`p-xl pt-0`},dT={class:`flex flex-1 flex-col`},fT={class:`p-xl pt-0`},pT=(0,d.defineComponent)({inheritAttrs:!1,__name:`DateRangePicker`,props:(0,d.mergeModels)({maxDate:{default:null},minDate:{default:null},showPresets:{type:Boolean,default:!0}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`),{isInvalidRange:r,isSingleMonth:i,calendarPlaceholder:a,draftValue:o,locale:s,maxDateValue:c,minDateValue:l,setPlaceholder:u,setPreset:f,onDraftValueUpdate:m}=Nw({maxDate:(0,d.toRef)(t,`maxDate`),minDate:(0,d.toRef)(t,`minDate`),modelValue:n});return Pw({isInvalidRange:r,draftValue:o,placeholder:a,setPlaceholder:u,setPreset:f,onCancel:()=>{}}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(dr,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerRoot),{modelValue:(0,d.unref)(o),"onUpdate:modelValue":[n[0]||=e=>(0,d.isRef)(o)?o.value=e:null,(0,d.unref)(m)],placeholder:(0,d.unref)(a),"onUpdate:placeholder":n[1]||=e=>(0,d.isRef)(a)?a.value=e:null,"week-starts-on":(0,d.unref)(Aw)((0,d.unref)(s)),"max-value":(0,d.unref)(c),"min-value":(0,d.unref)(l),locale:(0,d.unref)(s),"number-of-months":(0,d.unref)(i)?1:2,"close-on-select":!1},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.DateRangePickerCalendar),{"fixed-weeks":!0,class:`flex flex-col gap-lg overflow-hidden bg-primary`,"weekday-format":`short`},{default:(0,d.withCtx)(({weekDays:e,grid:r})=>[(0,d.createElementVNode)(`div`,oT,[t.showPresets?((0,d.openBlock)(),(0,d.createBlock)(Zw,{key:0})):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,sT,[(0,d.createElementVNode)(`div`,cT,[(0,d.createElementVNode)(`div`,lT,[(0,d.createVNode)(Ww,{"show-next":(0,d.unref)(i),side:`left`},null,8,[`show-next`]),(0,d.createElementVNode)(`div`,uT,[(0,d.createVNode)(zw,{month:r[0],"week-days":e},null,8,[`month`,`week-days`])])]),(0,d.unref)(i)?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[n[2]||=(0,d.createElementVNode)(`div`,{class:`border-l border-secondary`},null,-1),(0,d.createElementVNode)(`div`,dT,[(0,d.createVNode)(Ww,{side:`right`}),(0,d.createElementVNode)(`div`,fT,[(0,d.createVNode)(zw,{month:r[1],"week-days":e},null,8,[`month`,`week-days`])])])],64))])])])]),_:1})]),_:1},8,[`modelValue`,`placeholder`,`week-starts-on`,`max-value`,`min-value`,`locale`,`number-of-months`,`onUpdate:modelValue`])]),_:1}))}}),mT=[`datetime`],hT=(0,d.defineComponent)({__name:`DateTime`,props:{value:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`time`,{datetime:t.value},[(0,d.renderSlot)(e.$slots,`default`)],8,mT))}}),gT=(0,d.defineComponent)({__name:`DetailList`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{gap:`2xl`,class:`w-full`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),_T={},vT={"aria-hidden":`true`,width:`100%`,height:`100%`,viewBox:`0 0 16 16`,fill:`currentColor`,role:`img`,focusable:`false`,xmlns:`http://www.w3.org/2000/svg`};function yT(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,vT,[...t[0]||=[(0,d.createElementVNode)(`path`,{d:`M7.00194 10.6239C6.66861 10.8183 6.25 10.5779 6.25 10.192V5.80802C6.25 5.42212 6.66861 5.18169 7.00194 5.37613L10.7596 7.56811C11.0904 7.76105 11.0904 8.23895 10.7596 8.43189L7.00194 10.6239Z`},null,-1)]])}var bT=U(_T,[[`render`,yT]]),xT=(0,d.defineComponent)({__name:`DetailListGroupHeaderCollapseInfo`,props:{isVisible:{type:Boolean},badge:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[t.isVisible&&t.badge!==null?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,initial:{opacity:0,width:0,marginLeft:`0rem`},animate:{opacity:1,width:`auto`,marginLeft:`0.4rem`},exit:{opacity:0,width:0,marginLeft:`0rem`},transition:{duration:.15},class:`flex`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Ev),(0,d.mergeProps)(t.badge,{size:`sm`}),null,16)]),_:1})):(0,d.createCommentVNode)(``,!0)]),_:1}))}}),ST={class:`opacity-0 duration-100 group-hover/detail-list-group:opacity-100 focus-visible:opacity-100 has-focus-visible:opacity-100 pointer-coarse:opacity-100`},CT=(0,d.defineComponent)({__name:`DetailListGroupHeader`,props:{isOpen:{type:Boolean},collapseOptions:{},label:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{justify:`between`,class:`w-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.CollapsibleTrigger),{disabled:!t.collapseOptions.isCollapsible,class:`group/trigger -ml-sm flex h-6.5 max-w-full items-center overflow-hidden px-sm py-xs duration-100 not-disabled:hover:bg-tertiary disabled:cursor-default!`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(L),{gap:`xs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(L),{gap:`none`,class:`w-full`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:`text-xs font-medium text-primary`},null,8,[`text`]),t.collapseOptions.isCollapsible&&t.collapseOptions.badge!=null?((0,d.openBlock)(),(0,d.createBlock)(xT,{key:0,badge:t.collapseOptions.badge,"is-visible":!t.isOpen},null,8,[`badge`,`is-visible`])):(0,d.createCommentVNode)(``,!0)]),_:1}),t.collapseOptions.isCollapsible?((0,d.openBlock)(),(0,d.createBlock)(bT,{key:0,class:`size-4 shrink-0 text-disabled opacity-0 duration-200 group-hover/detail-list-group:text-secondary group-hover/detail-list-group:opacity-100 group-has-focus-visible/detail-list-group:opacity-100 group-data-[state=closed]/trigger:opacity-100 group-data-[state=open]/trigger:rotate-90 pointer-coarse:opacity-100`})):(0,d.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`disabled`])]),_:1}),(0,d.createElementVNode)(`div`,ST,[(0,d.renderSlot)(e.$slots,`actions`)])]),_:3}))}}),wT=(0,d.defineComponent)({__name:`DetailListGroup`,props:(0,d.mergeModels)({collapseOptions:{},label:{default:null}},{modelValue:{type:Boolean,default:void 0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n={isCollapsible:!1,isOpenByDefault:!1},r=(0,d.useModel)(e,`modelValue`),i=(0,d.computed)(()=>({...n,...t.collapseOptions}));r.value===void 0&&(r.value=i.value.isOpenByDefault);let a=(0,d.computed)({get:()=>i.value.isCollapsible?r.value:!0,set:e=>{i.value.isCollapsible&&(r.value=e)}});return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.CollapsibleRoot),{open:a.value,"onUpdate:open":n[0]||=e=>a.value=e,"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(K),{gap:`none`,class:`group/detail-list-group @container/detail-list w-full`},{default:(0,d.withCtx)(()=>[t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(CT,{key:0,label:t.label,"is-open":a.value,"collapse-options":i.value},{actions:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`actions`)]),_:3},8,[`label`,`is-open`,`collapse-options`])),(0,d.createVNode)((0,d.unref)(p.CollapsibleContent),{class:`w-full origin-top-left overflow-hidden data-[state=closed]:animate-[collapsible-up_150ms] data-[state=open]:animate-[collapsible-down_150ms]`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(K),{class:(0,d.normalizeClass)({"pt-xl":t.label!==null}),gap:`lg`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`])]),_:3})]),_:3})]),_:3},8,[`open`]))}}),TT=(0,d.defineComponent)({__name:`DetailListGroupItem`,props:{orientation:{default:`horizontal`}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)([{"flex-col items-start @[15rem]:flex-row":t.orientation===`horizontal`,"flex-col":t.orientation===`vertical`},`flex gap-xs`])},[(0,d.renderSlot)(e.$slots,`default`)],2))}}),ET={key:0,class:`flex aspect-square h-text-xs items-center`},DT=(0,d.defineComponent)({__name:`DetailListGroupItemLabel`,props:{avatar:{default:null},icon:{default:null},label:{},variant:{default:`default`}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{gap:`xxs`,class:`w-28 shrink-0`},{default:(0,d.withCtx)(()=>[t.icon!==null||t.avatar!==null?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,ET,[t.avatar===null?((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:1,class:(0,d.normalizeClass)([{"text-disabled":t.variant===`default`,"text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`size-3.5`])},null,8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Oa),{key:0,name:t.avatar.name,src:t.avatar.src,"is-static-color":t.avatar.isStaticColor,size:`xxs`},null,8,[`name`,`src`,`is-static-color`]))])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:(0,d.normalizeClass)([{"text-tertiary":t.variant===`default`,"text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`text-xs`])},null,8,[`text`,`class`])]),_:1}))}}),OT=(0,d.defineComponent)({__name:`DetailListGroupItemValueBadge`,props:{ariaLabel:{},avatar:{},color:{},dot:{},icon:{},label:{},rounded:{},variant:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Ev),(0,d.mergeProps)(t,{size:`sm`}),null,16))}}),kT={key:0,class:`flex aspect-square h-text-xs items-center`},AT=(0,d.defineComponent)({__name:`DetailListGroupItemValueText`,props:{avatar:{default:null},icon:{default:null},text:{},variant:{default:`default`}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{gap:`xxs`,align:`start`},{default:(0,d.withCtx)(()=>[t.icon!==null||t.avatar!==null?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,kT,[t.avatar===null?t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:1,class:(0,d.normalizeClass)([{"text-disabled":t.variant===`default`,"text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`size-3.5`])},null,8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Oa),(0,d.mergeProps)({key:0},t.avatar,{size:`xxs`}),null,16))])):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)((0,d.unref)(W),{truncate:!1,text:t.text,class:(0,d.normalizeClass)([{"text-primary":t.variant===`default`,"text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`text-xs`])},null,8,[`text`,`class`])]),_:1}))}}),jT=(0,d.defineComponent)({__name:`DetailListGroupSeparator`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uo)))}}),MT={key:2},NT=(0,d.defineComponent)({__name:`EmptyStateAction`,props:{action:{},variant:{default:`primary`}},setup(e){let t=e;return(e,n)=>t.action.type===`button`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Z),(0,d.mergeProps)({key:0},t.action,{variant:t.variant,onClick:t.action.onClick}),null,16,[`variant`,`onClick`])):t.action.type===`link`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(d_),(0,d.mergeProps)({key:1},t.action,{variant:t.variant}),null,16,[`variant`])):t.action.type===`Action`?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,MT)):(0,d.createCommentVNode)(``,!0)}}),PT={width:`152`,height:`133`,viewBox:`0 0 152 133`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},FT=[`filter`],IT=[`fill`],LT={x:`48`,y:`68.0915`,width:`56`,height:`56`},RT=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationBox`,setup(e){let t=(0,d.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-c`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,PT,[t[8]||=(0,d.createStaticVNode)(`<circle cx="76" cy="59.0915" r="52" fill="#EEF2F6"></circle><circle cx="21" cy="26.0915" r="5" fill="#EEF2F6"></circle><circle cx="18" cy="110.091" r="7" fill="#EEF2F6"></circle><circle cx="145" cy="42.0915" r="7" fill="#EEF2F6"></circle><circle cx="134" cy="15.0915" r="4" fill="#EEF2F6"></circle>`,5),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[t[0]||=(0,d.createElementVNode)(`path`,{d:`M76.0006 91.2813L118 72.6227V19.4665L76.3298 1.09149L34 19.4665V72.6227L76.0006 91.2813Z`,fill:`#F8FAFC`},null,-1),t[1]||=(0,d.createElementVNode)(`path`,{d:`M118.5 72.9479L118.203 73.0798L76.2031 91.738L76.001 91.8288L75.7979 91.738L33.7969 73.0798L33.5 72.9479V19.1384L33.8008 19.0075L76.1309 0.632507L76.3311 0.545593L76.5312 0.63446L118.202 19.0095L118.5 19.1403V72.9479Z`,stroke:`black`,"stroke-opacity":`0.08`},null,-1),t[2]||=(0,d.createElementVNode)(`path`,{d:`M76 37.1544V91.3259L34 72.6227V19.4665L76 37.1544Z`,fill:`#E3E8EF`},null,-1),(0,d.createElementVNode)(`path`,{fill:`url(#${r})`,d:`M76.0008 37.1852V91.3259L118 72.6227V19.4665L76.0008 37.1852Z`},null,8,IT),t[3]||=(0,d.createElementVNode)(`path`,{d:`M76 37.1852L118 19.4665L76.3298 1.09149L34 19.4665L76 37.1852Z`,fill:`#F8FAFC`},null,-1),t[4]||=(0,d.createElementVNode)(`path`,{d:`M50.0781 12.4858L91.6722 30.5901L92.0523 43.8613L103.759 39.031L103.405 25.6761L60.4847 7.97345L50.0781 12.4858Z`,fill:`#E3E8EF`},null,-1)],8,FT),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,LT,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${i});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),t[9]||=(0,d.createElementVNode)(`g`,null,[(0,d.createElementVNode)(`path`,{d:`M56 96.0915C56 85.0458 64.9543 76.0915 76 76.0915C87.0457 76.0915 96 85.0458 96 96.0915C96 107.137 87.0457 116.091 76 116.091C64.9543 116.091 56 107.137 56 96.0915Z`,fill:`black`,"fill-opacity":`0.2`}),(0,d.createElementVNode)(`path`,{d:`M72.6667 99.4248L76 96.0915M76 96.0915L79.3333 99.4248M76 96.0915V103.591M82.6667 100.044C83.6846 99.2032 84.3333 97.9314 84.3333 96.5082C84.3333 93.9769 82.2813 91.9248 79.75 91.9248C79.5679 91.9248 79.3976 91.8298 79.3051 91.6729C78.2184 89.8289 76.212 88.5915 73.9167 88.5915C70.4649 88.5915 67.6667 91.3897 67.6667 94.8415C67.6667 96.5632 68.3629 98.1224 69.4891 99.2528`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`13`,y:`0`,width:`126`,height:`132.376`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[5]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:i,transform:`translate(-48 -68.0915)`},[...t[6]||=[(0,d.createElementVNode)(`path`,{d:`M56 96.0915C56 85.0458 64.9543 76.0915 76 76.0915C87.0457 76.0915 96 85.0458 96 96.0915C96 107.137 87.0457 116.091 76 116.091C64.9543 116.091 56 107.137 56 96.0915Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:r,x1:`97`,y1:`19.4665`,x2:`128.011`,y2:`74.0281`,gradientUnits:`userSpaceOnUse`},[...t[7]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#E3E8EF`},null,-1)]])])]))}}),zT={width:`154`,height:`121`,viewBox:`0 0 154 121`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},BT=[`filter`],VT=[`fill`],HT=[`fill`],UT=[`fill`],WT={x:`49`,y:`58`,width:`56`,height:`56`},GT=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationCloudSearch`,setup(e){let t=(0,d.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-p1`,a=`${t}-p2`,o=`${t}-c`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,zT,[t[7]||=(0,d.createElementVNode)(`circle`,{cx:`77`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[t[0]||=(0,d.createElementVNode)(`path`,{d:`M78.6 16C67.8273 16 58.2978 21.3233 52.4987 29.4829C50.605 29.0363 48.6301 28.8 46.6 28.8C32.4615 28.8 21 40.2615 21 54.4C21 68.5385 32.4615 80 46.6 80L110.6 80C122.971 80 133 69.9712 133 57.6C133 45.2288 122.971 35.2 110.6 35.2C109.721 35.2 108.854 35.2506 108.002 35.349C103.098 23.9677 91.7797 16 78.6 16Z`,fill:`#F8FAFC`},null,-1),t[1]||=(0,d.createElementVNode)(`path`,{d:`M78.5996 15.5C91.8552 15.5 103.255 23.4366 108.312 34.8145C109.064 34.7397 109.827 34.7002 110.6 34.7002C123.247 34.7002 133.5 44.9525 133.5 57.5996C133.5 70.0492 123.565 80.1785 111.191 80.4922L110.6 80.5H46.5996C32.1853 80.4998 20.5002 68.8147 20.5 54.4004C20.5 39.9859 32.1852 28.3 46.5996 28.2998C48.5525 28.2998 50.4558 28.5168 52.2871 28.9238C58.1932 20.7911 67.7778 15.5001 78.5996 15.5Z`,stroke:`black`,"stroke-opacity":`0.08`},null,-1),(0,d.createElementVNode)(`ellipse`,{fill:`url(#${r})`,cx:`46.6`,cy:`54.4`,rx:`25.6`,ry:`25.6`},null,8,VT),(0,d.createElementVNode)(`circle`,{fill:`url(#${i})`,cx:`78.6`,cy:`48`,r:`32`},null,8,HT),(0,d.createElementVNode)(`ellipse`,{fill:`url(#${a})`,cx:`110.6`,cy:`57.6`,rx:`22.4`,ry:`22.4`},null,8,UT)],8,BT),t[8]||=(0,d.createElementVNode)(`circle`,{cx:`22`,cy:`19`,r:`5`,fill:`#EEF2F6`},null,-1),t[9]||=(0,d.createElementVNode)(`circle`,{cx:`19`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[10]||=(0,d.createElementVNode)(`circle`,{cx:`146`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[11]||=(0,d.createElementVNode)(`circle`,{cx:`135`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,WT,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${o});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),t[12]||=(0,d.createElementVNode)(`g`,null,[(0,d.createElementVNode)(`path`,{d:`M57 86C57 74.9543 65.9543 66 77 66C88.0457 66 97 74.9543 97 86C97 97.0457 88.0457 106 77 106C65.9543 106 57 97.0457 57 86Z`,fill:`black`,"fill-opacity":`0.2`}),(0,d.createElementVNode)(`path`,{d:`M84.5 93.5L81.5834 90.5833M83.6667 85.5833C83.6667 89.4954 80.4954 92.6667 76.5833 92.6667C72.6713 92.6667 69.5 89.4954 69.5 85.5833C69.5 81.6713 72.6713 78.5 76.5833 78.5C80.4954 78.5 83.6667 81.6713 83.6667 85.5833Z`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`0`,y:`15`,width:`154`,height:`106`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[2]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow_1182_1994"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1182_1994"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_1182_1994"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow_1182_1994" result="effect2_dropShadow_1182_1994"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow_1182_1994"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow_1182_1994" result="effect3_dropShadow_1182_1994"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_1182_1994" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:o,transform:`translate(-49 -58)`},[...t[3]||=[(0,d.createElementVNode)(`path`,{d:`M57 86C57 74.9543 65.9543 66 77 66C88.0457 66 97 74.9543 97 86C97 97.0457 88.0457 106 77 106C65.9543 106 57 97.0457 57 86Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:r,x1:`26.9429`,y1:`37.4857`,x2:`72.2`,y2:`79.9999`,gradientUnits:`userSpaceOnUse`},[...t[4]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#E3E8EF`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`0.350715`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:i,x1:`54.0286`,y1:`26.8571`,x2:`110.6`,y2:`80`,gradientUnits:`userSpaceOnUse`},[...t[5]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#E3E8EF`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`0.350715`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:a,x1:`93.4`,y1:`42.8`,x2:`133`,y2:`80`,gradientUnits:`userSpaceOnUse`},[...t[6]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#E3E8EF`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`0.350715`,"stop-color":`#F8FAFC`},null,-1)]])])]))}}),KT={width:`156`,height:`125`,viewBox:`0 0 156 125`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},qT=[`filter`],JT=[`fill`],YT={x:`50.5`,y:`62`,width:`56`,height:`56`},XT=[`clip-path`],ZT=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationCreditCard`,setup(e){let t=(0,d.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-c`,a=`${t}-c1`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,KT,[t[7]||=(0,d.createElementVNode)(`circle`,{cx:`78.5`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${r})`,d:`M20.5 18C20.5 14.6863 23.1863 12 26.5 12H129.5C132.814 12 135.5 14.6863 135.5 18V78C135.5 81.3137 132.814 84 129.5 84H26.5C23.1863 84 20.5 81.3137 20.5 78V18Z`},null,8,JT),t[0]||=(0,d.createStaticVNode)(`<path d="M129.5 11.75C132.952 11.75 135.75 14.5482 135.75 18V78C135.75 81.4518 132.952 84.25 129.5 84.25H26.5C23.0482 84.25 20.25 81.4518 20.25 78V18C20.25 14.5482 23.0482 11.75 26.5 11.75H129.5Z" stroke="black" stroke-opacity="0.08" stroke-width="0.5"></path><path d="M30.5 28C30.5 26.8954 31.3954 26 32.5 26H48.5C49.6046 26 50.5 26.8954 50.5 28V39C50.5 40.1046 49.6046 41 48.5 41H32.5C31.3954 41 30.5 40.1046 30.5 39V28Z" fill="#E3E8EF"></path><circle cx="117.167" cy="32.3335" r="8.33333" fill="#CDD5DF"></circle><circle cx="107.167" cy="32.3333" r="8.33333" fill="#E3E8EF"></circle><path d="M30.5 73.6667C30.5 72.7462 31.2462 72 32.1667 72H48.8333C49.7538 72 50.5 72.7462 50.5 73.6667C50.5 74.5871 49.7538 75.3333 48.8333 75.3333H32.1667C31.2462 75.3333 30.5 74.5871 30.5 73.6667Z" fill="#CDD5DF"></path><path d="M55.5 73.6667C55.5 72.7462 56.2462 72 57.1667 72H73.8333C74.7538 72 75.5 72.7462 75.5 73.6667C75.5 74.5871 74.7538 75.3333 73.8333 75.3333H57.1667C56.2462 75.3333 55.5 74.5871 55.5 73.6667Z" fill="#CDD5DF"></path><path d="M80.5 73.6667C80.5 72.7462 81.2462 72 82.1667 72H98.8333C99.7538 72 100.5 72.7462 100.5 73.6667C100.5 74.5871 99.7538 75.3333 98.8333 75.3333H82.1667C81.2462 75.3333 80.5 74.5871 80.5 73.6667Z" fill="#CDD5DF"></path><path d="M105.5 73.6667C105.5 72.7462 106.246 72 107.167 72H123.833C124.754 72 125.5 72.7462 125.5 73.6667C125.5 74.5871 124.754 75.3333 123.833 75.3333H107.167C106.246 75.3333 105.5 74.5871 105.5 73.6667Z" fill="#CDD5DF"></path>`,8)],8,qT),t[8]||=(0,d.createElementVNode)(`circle`,{cx:`23.5`,cy:`5`,r:`5`,fill:`#EEF2F6`},null,-1),t[9]||=(0,d.createElementVNode)(`circle`,{cx:`20.5`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[10]||=(0,d.createElementVNode)(`circle`,{cx:`147.5`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[11]||=(0,d.createElementVNode)(`circle`,{cx:`136.5`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,YT,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${i});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),(0,d.createElementVNode)(`g`,null,[t[2]||=(0,d.createElementVNode)(`path`,{d:`M58.5 90C58.5 78.9543 67.4543 70 78.5 70C89.5457 70 98.5 78.9543 98.5 90C98.5 101.046 89.5457 110 78.5 110C67.4543 110 58.5 101.046 58.5 90Z`,fill:`black`,"fill-opacity":`0.2`},null,-1),(0,d.createElementVNode)(`g`,{"clip-path":`url(#${a})`},[...t[1]||=[(0,d.createElementVNode)(`path`,{d:`M78.5 86.6666V90M78.5 93.3333H78.5083M86.8333 90C86.8333 94.6023 83.1024 98.3333 78.5 98.3333C73.8976 98.3333 70.1667 94.6023 70.1667 90C70.1667 85.3976 73.8976 81.6666 78.5 81.6666C83.1024 81.6666 86.8333 85.3976 86.8333 90Z`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]],8,XT)]),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`0`,y:`11.5`,width:`156`,height:`113`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[3]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:i,transform:`translate(-50.5 -62)`},[...t[4]||=[(0,d.createElementVNode)(`path`,{d:`M58.5 90C58.5 78.9543 67.4543 70 78.5 70C89.5457 70 98.5 78.9543 98.5 90C98.5 101.046 89.5457 110 78.5 110C67.4543 110 58.5 101.046 58.5 90Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:r,x1:`24.5049`,y1:`83.1477`,x2:`22.4135`,y2:`17.2505`,gradientUnits:`userSpaceOnUse`},[...t[5]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`clipPath`,{id:a},[...t[6]||=[(0,d.createElementVNode)(`rect`,{width:`20`,height:`20`,fill:`white`,transform:`translate(68.5 80)`},null,-1)]])])]))}}),QT={width:`161`,height:`120`,viewBox:`0 0 161 120`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},$T=[`filter`],eE=[`fill`],tE=[`filter`],nE=[`fill`],rE=[`filter`],iE=[`fill`],aE={x:`53.9647`,y:`62`,width:`56`,height:`56`},oE=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationDocuments`,setup(e){let t=(0,d.useId)(),n=`${t}-f0`,r=`${t}-f1`,i=`${t}-f2`,a=`${t}-p0`,o=`${t}-p1`,s=`${t}-p2`,c=`${t}-c`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,QT,[t[13]||=(0,d.createElementVNode)(`circle`,{cx:`81.9647`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${a})`,d:`M47.6914 79.1102L80.9299 63.6108C82.5987 62.8326 83.3207 60.8489 82.5425 59.1801L62.9132 17.0849L49.6211 12.2469L22.4259 24.9282C20.7571 25.7064 20.0351 27.6901 20.8133 29.359L43.2607 77.4975C44.0389 79.1663 46.0225 79.8883 47.6914 79.1102Z`},null,8,eE),t[0]||=(0,d.createElementVNode)(`path`,{d:`M82.7692 59.0745C83.6056 60.8685 82.8295 63.0009 81.0357 63.8374L47.797 79.3368C46.0031 80.1733 43.8707 79.3971 43.0342 77.6033L20.5867 29.4646L20.5131 29.2952C19.7999 27.5384 20.5824 25.5121 22.3202 24.7017L49.6095 11.9765L63.096 16.8852L82.7692 59.0745Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.5`},null,-1),t[1]||=(0,d.createElementVNode)(`path`,{d:`M49.6216 12.2471L62.9137 17.085L53.8487 21.3121L49.6216 12.2471Z`,fill:`#E3E8EF`},null,-1)],8,$T),(0,d.createElementVNode)(`g`,{filter:`url(#${r})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${o})`,d:`M63.5809 67.7831H100.256C102.097 67.7831 103.59 66.2904 103.59 64.4491V18.0022L93.5874 8H63.5809C61.7395 8 60.2468 9.49271 60.2468 11.3341V64.4491C60.2468 66.2904 61.7395 67.7831 63.5809 67.7831Z`},null,8,nE),t[2]||=(0,d.createElementVNode)(`path`,{d:`M103.84 64.4492C103.839 66.4285 102.235 68.0332 100.256 68.0332H63.5808C61.6015 68.0332 59.9969 66.4285 59.9968 64.4492V11.334L60.0017 11.1494C60.0978 9.25583 61.6633 7.75004 63.5808 7.75H93.6911L103.84 17.8984V64.4492Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.5`},null,-1),t[3]||=(0,d.createElementVNode)(`path`,{d:`M93.5873 8L103.589 18.0022H93.5873V8Z`,fill:`#E3E8EF`},null,-1)],8,tE),(0,d.createElementVNode)(`g`,{filter:`url(#${i})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${s})`,d:`M82.4392 63.5909L115.678 79.0903C117.347 79.8685 119.33 79.1465 120.108 77.4777L139.738 35.3825L134.9 22.0903L107.705 9.40903C106.036 8.63085 104.052 9.35286 103.274 11.0217L80.8266 59.1602C80.0484 60.8291 80.7704 62.8128 82.4392 63.5909Z`},null,8,iE),t[4]||=(0,d.createElementVNode)(`path`,{d:`M120.335 77.5835C119.498 79.3773 117.366 80.1535 115.572 79.317L82.3335 63.8176C80.5396 62.981 79.7635 60.8486 80.6 59.0547L103.047 10.916L103.13 10.7507C104.017 9.0752 106.072 8.37211 107.81 9.18243L135.1 21.9076L140.008 35.3941L120.335 77.5835Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.5`},null,-1),t[5]||=(0,d.createElementVNode)(`path`,{d:`M134.9 22.0903L139.738 35.3825L130.673 31.1554L134.9 22.0903Z`,fill:`#E3E8EF`},null,-1)],8,rE),t[14]||=(0,d.createElementVNode)(`circle`,{cx:`26.9647`,cy:`11`,r:`5`,fill:`#EEF2F6`},null,-1),t[15]||=(0,d.createElementVNode)(`circle`,{cx:`23.9647`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[16]||=(0,d.createElementVNode)(`circle`,{cx:`150.965`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[17]||=(0,d.createElementVNode)(`circle`,{cx:`139.965`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,aE,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${c});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),t[18]||=(0,d.createElementVNode)(`g`,null,[(0,d.createElementVNode)(`path`,{d:`M61.9647 90C61.9647 78.9543 70.919 70 81.9647 70C93.0104 70 101.965 78.9543 101.965 90C101.965 101.046 93.0104 110 81.9647 110C70.919 110 61.9647 101.046 61.9647 90Z`,fill:`black`,"fill-opacity":`0.2`}),(0,d.createElementVNode)(`path`,{d:`M78.6314 93.3333L81.9647 90M81.9647 90L85.298 93.3333M81.9647 90V97.5M88.6314 93.9524C89.6493 93.1117 90.298 91.8399 90.298 90.4167C90.298 87.8854 88.246 85.8333 85.7147 85.8333C85.5326 85.8333 85.3623 85.7383 85.2698 85.5814C84.1831 83.7374 82.1767 82.5 79.8814 82.5C76.4296 82.5 73.6314 85.2982 73.6314 88.75C73.6314 90.4718 74.3276 92.0309 75.4538 93.1613`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`-0.595741`,y:`8.0199`,width:`104.547`,height:`112.499`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[6]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`filter`,{id:r,x:`39.7468`,y:`7.5`,width:`84.3428`,height:`100.783`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[7]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`filter`,{id:i,x:`59.4176`,y:`8`,width:`104.547`,height:`112.499`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[8]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:c,transform:`translate(-53.9647 -62)`},[...t[9]||=[(0,d.createElementVNode)(`path`,{d:`M61.9647 90C61.9647 78.9543 70.919 70 81.9647 70C93.0104 70 101.965 78.9543 101.965 90C101.965 101.046 93.0104 110 81.9647 110C70.919 110 61.9647 101.046 61.9647 90Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:a,x1:`45.7386`,y1:`79.2399`,x2:`19.2501`,y2:`31.4527`,gradientUnits:`userSpaceOnUse`},[...t[10]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:o,x1:`61.7562`,y1:`67.0755`,x2:`57.9453`,y2:`12.571`,gradientUnits:`userSpaceOnUse`},[...t[11]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:s,x1:`81.0846`,y1:`62.1785`,x2:`100.665`,y2:`11.17`,gradientUnits:`userSpaceOnUse`},[...t[12]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]])])]))}}),sE={width:`156`,height:`125`,viewBox:`0 0 156 125`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},cE=[`filter`],lE=[`fill`],uE=[`fill`],dE={x:`50.3462`,y:`62`,width:`56`,height:`56`},fE=[`clip-path`],pE=(0,d.defineComponent)({__name:`UIEmptyStateIllustrationRouteCard`,setup(e){let t=(0,d.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-p1`,a=`${t}-c`,o=`${t}-c1`;return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`svg`,sE,[t[9]||=(0,d.createElementVNode)(`circle`,{cx:`78.3462`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,d.createElementVNode)(`g`,{filter:`url(#${n})`},[(0,d.createElementVNode)(`path`,{fill:`url(#${r})`,d:`M20.3462 16.1538C20.3462 13.8597 22.2059 12 24.5 12H131.115C133.409 12 135.269 13.8597 135.269 16.1538V79.8462C135.269 82.1403 133.409 84 131.115 84H24.5C22.2059 84 20.3462 82.1403 20.3462 79.8462V16.1538Z`},null,8,lE),t[0]||=(0,d.createElementVNode)(`path`,{d:`M131.116 11.8271C133.505 11.8273 135.442 13.7647 135.442 16.1543V79.8457C135.442 82.2353 133.505 84.1727 131.116 84.1729H24.5005C22.1108 84.1729 20.1733 82.2354 20.1733 79.8457V16.1543C20.1733 13.7646 22.1108 11.8271 24.5005 11.8271H131.116Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.346154`},null,-1),(0,d.createElementVNode)(`path`,{fill:`url(#${i})`,d:`M20.3462 16.1538C20.3462 13.8597 22.2059 12 24.5 12H131.115C133.409 12 135.269 13.8597 135.269 16.1538V28.6154H20.3462V16.1538Z`},null,8,uE),t[1]||=(0,d.createStaticVNode)(`<path d="M30.0385 34.8462C30.0385 34.0815 30.6584 33.4615 31.4231 33.4615H36.9615C37.7262 33.4615 38.3461 34.0815 38.3461 34.8462V40.3846C38.3461 41.1493 37.7262 41.7692 36.9615 41.7692H31.4231C30.6584 41.7692 30.0385 41.1493 30.0385 40.3846V34.8462Z" fill="#E3E8EF"></path><path d="M54.2692 47.3077C54.2692 46.543 54.8891 45.9231 55.6538 45.9231H61.1923C61.957 45.9231 62.5769 46.543 62.5769 47.3077V52.8462C62.5769 53.6109 61.957 54.2308 61.1923 54.2308H55.6538C54.8891 54.2308 54.2692 53.6109 54.2692 52.8462V47.3077Z" fill="#E3E8EF"></path><path d="M58.4231 57V62.1923" stroke="#E3E8EF" stroke-width="1.38462" stroke-linecap="round"></path><path d="M54.2692 66.6924C54.2692 65.9277 54.8891 65.3077 55.6538 65.3077H61.1923C61.957 65.3077 62.5769 65.9277 62.5769 66.6924V72.2308C62.5769 72.9955 61.957 73.6154 61.1923 73.6154H55.6538C54.8891 73.6154 54.2692 72.9955 54.2692 72.2308V66.6924Z" fill="#E3E8EF"></path><path d="M42.5 37.9051C42.5 36.9804 43.2497 36.2307 44.1744 36.2307L76.8346 36.2307C77.7593 36.2307 78.509 36.9804 78.509 37.9051C78.509 38.8299 77.7593 39.5796 76.8346 39.5796H44.1744C43.2497 39.5796 42.5 38.8299 42.5 37.9051Z" fill="#E3E8EF"></path><path d="M69.5 50.3667C69.5 49.4419 70.2497 48.6923 71.1744 48.6923L120.45 48.6923C121.375 48.6923 122.124 49.4419 122.124 50.3667C122.124 51.2914 121.375 52.0411 120.45 52.0411H71.1744C70.2497 52.0411 69.5 51.2914 69.5 50.3667Z" fill="#E3E8EF"></path><path d="M30.0948 50.3666C30.0948 49.4418 30.8445 48.6921 31.7692 48.6921L46.0179 48.6922C46.9426 48.6922 47.6923 49.4419 47.6923 50.3666C47.6923 51.2914 46.9426 52.0411 46.0179 52.0411L31.7692 52.041C30.8445 52.041 30.0948 51.2913 30.0948 50.3666Z" fill="#E3E8EF"></path><path d="M69.5 69.7513C69.5 68.8266 70.2497 68.0769 71.1744 68.0769L120.45 68.0769C121.375 68.0769 122.124 68.8266 122.124 69.7513C122.124 70.6761 121.375 71.4257 120.45 71.4257H71.1744C70.2497 71.4257 69.5 70.6761 69.5 69.7513Z" fill="#E3E8EF"></path><path d="M30.0868 21.2898C30.0868 20.365 30.8365 19.6154 31.7612 19.6154L64.4214 19.6154C65.3461 19.6154 66.0958 20.365 66.0958 21.2898C66.0958 22.2145 65.3461 22.9642 64.4214 22.9642H31.7612C30.8365 22.9642 30.0868 22.2145 30.0868 21.2898Z" fill="#CDD5DF"></path><path d="M104.518 21.2898C104.518 20.365 105.268 19.6154 106.192 19.6154L123.912 19.6154C124.836 19.6154 125.586 20.365 125.586 21.2898C125.586 22.2145 124.836 22.9642 123.912 22.9642H106.192C105.268 22.9642 104.518 22.2145 104.518 21.2898Z" fill="#CDD5DF"></path>`,10)],8,cE),t[10]||=(0,d.createElementVNode)(`circle`,{cx:`23.3462`,cy:`5`,r:`5`,fill:`#EEF2F6`},null,-1),t[11]||=(0,d.createElementVNode)(`circle`,{cx:`20.3462`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[12]||=(0,d.createElementVNode)(`circle`,{cx:`147.346`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[13]||=(0,d.createElementVNode)(`circle`,{cx:`136.346`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,d.openBlock)(),(0,d.createElementBlock)(`foreignObject`,dE,[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${a});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),(0,d.createElementVNode)(`g`,null,[t[3]||=(0,d.createElementVNode)(`path`,{d:`M58.3462 90C58.3462 78.9543 67.3005 70 78.3462 70C89.3918 70 98.3462 78.9543 98.3462 90C98.3462 101.046 89.3918 110 78.3462 110C67.3005 110 58.3462 101.046 58.3462 90Z`,fill:`black`,"fill-opacity":`0.2`},null,-1),(0,d.createElementVNode)(`g`,{"clip-path":`url(#${o})`},[...t[2]||=[(0,d.createElementVNode)(`path`,{d:`M78.3462 86.6666V90M78.3462 93.3333H78.3545M86.6795 90C86.6795 94.6023 82.9485 98.3333 78.3462 98.3333C73.7438 98.3333 70.0128 94.6023 70.0128 90C70.0128 85.3976 73.7438 81.6666 78.3462 81.6666C82.9485 81.6666 86.6795 85.3976 86.6795 90Z`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]],8,fE)]),(0,d.createElementVNode)(`defs`,null,[(0,d.createElementVNode)(`filter`,{id:n,x:`0`,y:`11.6538`,width:`155.615`,height:`112.692`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[4]||=[(0,d.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,d.createElementVNode)(`clipPath`,{id:a,transform:`translate(-50.3462 -62)`},[...t[5]||=[(0,d.createElementVNode)(`path`,{d:`M58.3462 90C58.3462 78.9543 67.3005 70 78.3462 70C89.3918 70 98.3462 78.9543 98.3462 90C98.3462 101.046 89.3918 110 78.3462 110C67.3005 110 58.3462 101.046 58.3462 90Z`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:r,x1:`24.3483`,y1:`83.1477`,x2:`22.2555`,y2:`17.2506`,gradientUnits:`userSpaceOnUse`},[...t[6]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`linearGradient`,{id:i,x1:`24.3483`,y1:`28.4187`,x2:`24.2368`,y2:`13.1972`,gradientUnits:`userSpaceOnUse`},[...t[7]||=[(0,d.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,d.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,d.createElementVNode)(`clipPath`,{id:o},[...t[8]||=[(0,d.createElementVNode)(`rect`,{width:`20`,height:`20`,fill:`white`,transform:`translate(68.3462 80)`},null,-1)]])])]))}}),mE={key:1,class:`flex size-10 shrink-0 items-center justify-center rounded-lg border border-secondary`},hE=(0,d.defineComponent)({__name:`EmptyState`,props:{title:{},description:{default:null},icon:{default:null},illustration:{default:null},primaryAction:{default:null},secondaryAction:{default:null}},setup(e){let t=e,n={box:RT,"cloud-search":GT,"credit-card":ZT,documents:oE,"route-card":pE};return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{align:`center`,justify:`center`,gap:`2xl`},{default:(0,d.withCtx)(()=>[t.illustration===null?t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,mE,[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{class:`size-5 text-primary`}))])):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(n[t.illustration]),{key:0})),(0,d.createVNode)((0,d.unref)(K),{gap:`xs`,align:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(W),{text:t.title,class:`text-sm font-semibold text-secondary`},null,8,[`text`]),t.description===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:0,truncate:!1,text:t.description,class:`text-center text-xs text-tertiary`},null,8,[`text`]))]),_:1}),(0,d.createVNode)((0,d.unref)(L),null,{default:(0,d.withCtx)(()=>[t.secondaryAction===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(NT,{key:0,action:t.secondaryAction,variant:`secondary`},null,8,[`action`])),t.primaryAction===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(NT,{key:1,action:t.primaryAction},null,8,[`action`]))]),_:1})]),_:1}))}}),gE=(0,d.defineComponent)({__name:`Interactable`,props:{class:{default:null}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,class:(0,d.normalizeClass)((0,d.unref)(Fv)(`
|
|
752
752
|
rounded-sm outline-fg-brand-primary
|
|
753
753
|
focus-visible:outline-2
|
|
754
754
|
disabled:cursor-not-allowed
|
|
755
|
-
`,t.class))},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}});function _E(){let e=(0,d.ref)(!1),t=(0,d.shallowRef)(null),n=(0,d.computed)(()=>t.value?.isOpen.value??!1);function r(){t.value?.toggle()}function i(n,r,i){t.value={isOpen:n,isToggleHidden:i,toggle:r},e.value=!0}function a(){t.value=null,e.value=!1}$C({hasDetailPane:e,isOpen:n,isToggleHidden:(0,d.computed)(()=>t.value?.isToggleHidden??!1),registerDetailPane:i,toggle:r,unregisterDetailPane:a})}var vE=(0,d.defineComponent)({__name:`DashboardPageHeaderBreadcrumbs`,props:{breadcrumbs:{}},setup(e){let t=e;return(e,n)=>t.breadcrumbs.length>0?((0,d.openBlock)(),(0,d.createBlock)(aC,{key:0},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.breadcrumbs,(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`${e.label}-${n}`},[(0,d.createVNode)(rC,{icon:e.icon,to:e.to,label:e.label},null,8,[`icon`,`to`,`label`]),n<t.breadcrumbs.length-1?((0,d.openBlock)(),(0,d.createBlock)(oC,{key:0})):(0,d.createCommentVNode)(``,!0)],64))),128))]),_:1})):(0,d.createCommentVNode)(``,!0)}}),yE=(0,d.defineComponent)({__name:`DashboardPageHeaderSidebarToggle`,setup(e){let{isSidebarOpen:t}=qy(),n=(0,m.useI18n)(),r=(0,f.createAction)({id:`toggle-main-sidebar`,name:()=>n.t(`action.global.toggle_main_sidebar.name`),execute:()=>{a()},group:(0,f.useActionGroup)().navigation,icon:()=>t.value?
|
|
755
|
+
`,t.class))},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}});function _E(){let e=(0,d.ref)(!1),t=(0,d.shallowRef)(null),n=(0,d.computed)(()=>t.value?.isOpen.value??!1);function r(){t.value?.toggle()}function i(n,r,i){t.value={isOpen:n,isToggleHidden:i,toggle:r},e.value=!0}function a(){t.value=null,e.value=!1}$C({hasDetailPane:e,isOpen:n,isToggleHidden:(0,d.computed)(()=>t.value?.isToggleHidden??!1),registerDetailPane:i,toggle:r,unregisterDetailPane:a})}var vE=(0,d.defineComponent)({__name:`DashboardPageHeaderBreadcrumbs`,props:{breadcrumbs:{}},setup(e){let t=e;return(e,n)=>t.breadcrumbs.length>0?((0,d.openBlock)(),(0,d.createBlock)(aC,{key:0},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.breadcrumbs,(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:`${e.label}-${n}`},[(0,d.createVNode)(rC,{icon:e.icon,to:e.to,label:e.label},null,8,[`icon`,`to`,`label`]),n<t.breadcrumbs.length-1?((0,d.openBlock)(),(0,d.createBlock)(oC,{key:0})):(0,d.createCommentVNode)(``,!0)],64))),128))]),_:1})):(0,d.createCommentVNode)(``,!0)}}),yE=(0,d.defineComponent)({__name:`DashboardPageHeaderSidebarToggle`,setup(e){let{isSidebarOpen:t}=qy(),n=(0,m.useI18n)(),r=(0,f.createAction)({id:`toggle-main-sidebar`,name:()=>n.t(`action.global.toggle_main_sidebar.name`),execute:()=>{a()},group:(0,f.useActionGroup)().navigation,icon:()=>t.value?Mn:bn,keyboardShortcut:{key:`B`,meta:!0},keywords:n.t(`action.global.toggle_main_sidebar.keywords`).split(` `)}),i=(0,d.computed)(()=>t.value?n.t(`component.dashboard_page_header_sidebar_toggle.collapse`):n.t(`component.dashboard_page_header_sidebar_toggle.expand`));function a(){t.value=!t.value}return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(G,{label:i.value,"keyboard-shortcut":{key:`B`,meta:!0}},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Lo,{action:(0,d.unref)(r),"current-context-only":!1},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)($),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.Toggle),{"model-value":(0,d.unref)(t),"data-state":(0,d.unref)(t)?`open`:`closed`,class:`group/toggle -ml-xxs flex size-6 items-center justify-center rounded-sm duration-150 hover:bg-secondary-hover`},{default:(0,d.withCtx)(()=>[...n[0]||=[(0,d.createElementVNode)(`div`,{class:`flex h-3 w-3.5 justify-start rounded-[0.1875rem] border border-fg-tertiary p-[0.09375rem] duration-150 group-data-[state=open]/toggle:border-fg-tertiary dark:group-data-[state=open]/toggle:border-fg-secondary`},[(0,d.createElementVNode)(`div`,{class:`h-full w-0.5 rounded-[1px] bg-fg-tertiary duration-150 group-data-[state=open]/toggle:w-1 group-data-[state=open]/toggle:bg-fg-tertiary dark:group-data-[state=open]/toggle:bg-fg-secondary`})],-1)]]),_:1},8,[`model-value`,`data-state`])]),_:1})]),_:1},8,[`action`])]),_:1},8,[`label`]))}}),bE={type:`button`,class:`flex h-7 w-full max-w-60 items-center gap-sm rounded-md! bg-fg-primary/4 pr-sm pl-md duration-100 hover:bg-fg-primary/7 hover:brightness-98 dark:bg-primary/90 dark:hover:bg-primary/90 dark:hover:brightness-110`},xE={class:`flex-1 truncate text-left text-xxs text-placeholder`},SE=(0,d.defineComponent)({__name:`TopBarCommandMenuSearch`,setup(e){let t=(0,m.useI18n)(),n=$b();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)(Lo,{action:(0,d.unref)(n),"current-context-only":!0},{default:(0,d.withCtx)(({keyboardShortcut:e})=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,bE,[(0,d.createVNode)((0,d.unref)(Jn),{class:`size-3.5 shrink-0 text-quaternary`}),(0,d.createElementVNode)(`span`,xE,(0,d.toDisplayString)((0,d.unref)(t).t(`component.top_bar.search`)),1),e===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Cr,{key:0,"keyboard-shortcut":e,"enable-key-hold-visualization":!0},null,8,[`keyboard-shortcut`]))])]),_:2},1024)]),_:1},8,[`action`]))}});function CE(){let e=(0,y.useRouter)(),t=(0,d.ref)(e.options.history.state),n=(0,d.computed)(()=>t.value.back!==null),r=(0,d.computed)(()=>t.value.forward!==null);e.afterEach(()=>{t.value=e.options.history.state});function i(){n.value&&e.back()}function a(){r.value&&e.forward()}return{canGoBack:n,canGoForward:r,goBack:i,goForward:a}}var wE=(0,d.defineComponent)({__name:`TopBarNavigationArrows`,setup(e){let t=(0,m.useI18n)(),{canGoBack:n,canGoForward:r,goBack:i,goForward:a}=CE();return(e,o)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{gap:`xxs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(Tt),"is-disabled":!(0,d.unref)(n),label:(0,d.unref)(t).t(`component.top_bar.navigation.back`),"keyboard-shortcut":{key:`ArrowLeft`,meta:!0},variant:`tertiary`,size:`sm`,onClick:(0,d.unref)(i)},null,8,[`icon`,`is-disabled`,`label`,`onClick`]),(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(kt),"is-disabled":!(0,d.unref)(r),label:(0,d.unref)(t).t(`component.top_bar.navigation.forward`),"keyboard-shortcut":{key:`ArrowRight`,meta:!0},variant:`tertiary`,size:`sm`,onClick:(0,d.unref)(a)},null,8,[`icon`,`is-disabled`,`label`,`onClick`])]),_:1}))}}),TE={class:`flex shrink-0 items-center px-xl pb-md`},EE={class:`flex flex-1 items-center`},DE={class:`sr-only`},OE={key:3,class:`ml-lg text-xs text-primary`},kE={class:`flex flex-1 items-center justify-center`},AE={class:`flex h-full flex-1 items-center justify-end`},jE=(0,d.defineComponent)({__name:`TopBar`,setup(e){let{showNavigationArrowsInTopBar:t}=X(),{title:n,breadcrumbs:r}=rw(),{hasDetailPane:i,isToggleHidden:a}=ew();return(e,o)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,TE,[(0,d.createElementVNode)(`div`,EE,[(0,d.createVNode)(yE),(0,d.unref)(r).length>0||(0,d.unref)(n)!==null?((0,d.openBlock)(),(0,d.createBlock)(uo,{key:0,class:`ml-sm h-4`,orientation:`vertical`})):(0,d.createCommentVNode)(``,!0),(0,d.unref)(t)?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[(0,d.createVNode)(wE,{class:`ml-sm`}),(0,d.unref)(r).length>0||(0,d.unref)(n)!==null?((0,d.openBlock)(),(0,d.createBlock)(uo,{key:0,class:`ml-sm h-4`,orientation:`vertical`})):(0,d.createCommentVNode)(``,!0)],64)):(0,d.createCommentVNode)(``,!0),(0,d.unref)(r).length>0?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:2},[(0,d.createElementVNode)(`h1`,DE,(0,d.toDisplayString)((0,d.unref)(n)),1),(0,d.createVNode)(vE,{breadcrumbs:(0,d.unref)(r),class:`ml-lg`},null,8,[`breadcrumbs`])],64)):(0,d.unref)(n)===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`h1`,OE,(0,d.toDisplayString)((0,d.unref)(n)),1))]),(0,d.createElementVNode)(`div`,kE,[(0,d.createVNode)(SE)]),(0,d.createElementVNode)(`div`,AE,[(0,d.renderSlot)(e.$slots,`actions`),(0,d.unref)(i)&&!(0,d.unref)(a)?((0,d.openBlock)(),(0,d.createBlock)(lw,{key:0})):(0,d.createCommentVNode)(``,!0)])]))}}),ME=(0,d.defineComponent)({__name:`MainContent`,setup(e){let{isFloatingSidebar:t,isSidebarOpen:n,collapsedVariant:r,sidebarWidth:i}=qy(),a=ff();_E();let o=(0,d.computed)(()=>t.value?`0.5rem`:r.value===`minified`||n.value?i.value:`0.5rem`);return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{initial:{paddingLeft:o.value},animate:{paddingLeft:o.value},transition:{duration:(0,d.unref)(a)?0:.3,type:`spring`,bounce:0},class:`flex size-full flex-col overflow-hidden bg-secondary p-md`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(jE,null,{actions:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`top-bar-actions`)]),_:3}),(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`initial`,`animate`,`transition`]))}}),NE={},PE={width:`360`,height:`585`,viewBox:`0 0 360 585`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`pointer-events-none absolute bottom-0 left-0`};function FE(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,PE,[...t[0]||=[(0,d.createStaticVNode)(`<g opacity="0.4" filter="url(#filter0_f_5410_8853)"><path d="M-39 642L13.5 84L74.5 525L276 577.5L-39 642Z" class="fill-corner-highlight"></path></g><defs><filter id="filter0_f_5410_8853" x="-123" y="0" width="483" height="726" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="42" result="effect1_foregroundBlur_5410_8853"></feGaussianBlur></filter></defs>`,2)]])}var IE=U(NE,[[`render`,FE]]),LE={class:`relative flex h-dvh w-full overflow-hidden`},RE=(0,d.defineComponent)({__name:`MainLayout`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,LE,[(0,d.renderSlot)(e.$slots,`default`),(0,d.createVNode)(IE)]))}}),zE=fa({compoundVariants:[{class:{base:`
|
|
756
756
|
border-brand-400
|
|
757
757
|
dark:border-brand-600
|
|
758
758
|
`,label:`
|
|
@@ -850,13 +850,13 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
850
850
|
dark:text-warning-200
|
|
851
851
|
`},color:`warning`,variant:`translucent`}],slots:{base:`
|
|
852
852
|
inline-flex min-w-fit items-center justify-center rounded-full border
|
|
853
|
-
`,label:`font-medium`},variants:{size:{lg:{base:`h-5 min-w-5 px-xxs`,label:`text-xs`},md:{base:`h-4 min-w-4 px-xxs`,label:`text-[0.625rem]`}},color:{blue:{},brand:{},error:{},gray:{},pink:{},purple:{},success:{},warning:{}},variant:{outline:{base:`bg-transparent`},solid:{},translucent:{}}}}),BE=[`aria-label`],VE=(0,d.defineComponent)({__name:`NumberBadge`,props:{ariaLabel:{default:null},color:{default:`gray`},size:{default:`md`},value:{},variant:{default:`translucent`}},setup(e){let t=e,n=(0,d.computed)(()=>zE({color:t.color,size:t.size,variant:t.variant}));return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`span`,{class:(0,d.normalizeClass)(n.value.base()),"aria-label":t.ariaLabel??void 0,role:`status`},[(0,d.createVNode)((0,d.unref)(
|
|
853
|
+
`,label:`font-medium`},variants:{size:{lg:{base:`h-5 min-w-5 px-xxs`,label:`text-xs`},md:{base:`h-4 min-w-4 px-xxs`,label:`text-[0.625rem]`}},color:{blue:{},brand:{},error:{},gray:{},pink:{},purple:{},success:{},warning:{}},variant:{outline:{base:`bg-transparent`},solid:{},translucent:{}}}}),BE=[`aria-label`],VE=(0,d.defineComponent)({__name:`NumberBadge`,props:{ariaLabel:{default:null},color:{default:`gray`},size:{default:`md`},value:{},variant:{default:`translucent`}},setup(e){let t=e,n=(0,d.computed)(()=>zE({color:t.color,size:t.size,variant:t.variant}));return(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`span`,{class:(0,d.normalizeClass)(n.value.base()),"aria-label":t.ariaLabel??void 0,role:`status`},[(0,d.createVNode)((0,d.unref)(W),{text:t.value,class:(0,d.normalizeClass)(n.value.label())},null,8,[`text`,`class`])],10,BE))}}),HE=H({slots:{input:`
|
|
854
854
|
size-full truncate bg-transparent px-md text-xs text-primary outline-none
|
|
855
855
|
placeholder:text-placeholder
|
|
856
856
|
read-only:cursor-default
|
|
857
857
|
disabled:cursor-not-allowed disabled:text-disabled
|
|
858
858
|
disabled:placeholder:text-fg-disabled-subtle
|
|
859
|
-
`,leftControl:`pl-xs`,rightControl:`pr-xs`},variants:{showControls:{true:{input:`text-center`}}}}),UE=(0,d.defineComponent)({inheritAttrs:!1,__name:`NumberField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({formatOptions:{},max:{},min:{},showControls:{type:Boolean},step:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...mv,...hv,...gv,..._v,formatOptions:null,max:null,min:null,showControls:!1,step:1}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=/[\s.,`]/g,a=/[\s.,`](?=\d+$)/,o=/[.,]/g,s=/\D/g,c=(0,d.useModel)(e,`modelValue`),l=(0,d.computed)(()=>HE({showControls:n.showControls})),u=(0,d.ref)(c.value),f=(0,d.ref)(!1);(0,d.watch)(()=>c.value,e=>{f.value||(u.value=e)});let h=(0,d.useAttrs)(),g=(0,m.useI18n)(),_=n.id??(0,d.useId)(),{isError:v,ariaBusy:y,ariaDescribedBy:b,ariaInvalid:x}=fv(_,n),S=
|
|
859
|
+
`,leftControl:`pl-xs`,rightControl:`pr-xs`},variants:{showControls:{true:{input:`text-center`}}}}),UE=(0,d.defineComponent)({inheritAttrs:!1,__name:`NumberField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({formatOptions:{},max:{},min:{},showControls:{type:Boolean},step:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...mv,...hv,...gv,..._v,formatOptions:null,max:null,min:null,showControls:!1,step:1}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=/[\s.,`]/g,a=/[\s.,`](?=\d+$)/,o=/[.,]/g,s=/\D/g,c=(0,d.useModel)(e,`modelValue`),l=(0,d.computed)(()=>HE({showControls:n.showControls})),u=(0,d.ref)(c.value),f=(0,d.ref)(!1);(0,d.watch)(()=>c.value,e=>{f.value||(u.value=e)});let h=(0,d.useAttrs)(),g=(0,m.useI18n)(),_=n.id??(0,d.useId)(),{isError:v,ariaBusy:y,ariaDescribedBy:b,ariaInvalid:x}=fv(_,n),S=X(),C=(0,d.computed)(()=>te(S.numberFormat.value));function w(e,t){let n=new Intl.NumberFormat(t).format(12345.6),r=n.match(i)?.[0],o=n.match(a)?.[0],s=e;return r&&(s=s.replaceAll(r,``)),o&&(s=s.replace(o,`.`)),Number(s)}function T(e){f.value=!0;let t=e.target.value;if(t===``){c.value=null;return}let n=E(t);Number.isNaN(n)||(c.value=n)}function ee(){u.value=c.value,f.value=!1}function E(e){o.lastIndex=0;let t=[...e.matchAll(o)];if(t.length===0)return Number(e);let n=t.map(e=>e[0]),r=[...new Set(n)];if(r.length===2){let t=n.at(-1),i=r.find(e=>e!==t);return Number(e.replaceAll(i,``).replace(t,`.`))}let i=r[0];if(t.length>1)return Number(e.replaceAll(i,``));let a=e.slice(e.lastIndexOf(i)+1).replace(s,``);return a.length<=2?Number(e.replace(i,`.`)):a.length>=4?Number(e.replaceAll(i,``)):w(e,C.value)}function ne(e){u.value=c.value,f.value=!1,r(`blur`,e)}return(0,d.watch)(u,()=>{c.value=u.value??null}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(_),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.NumberFieldRoot),(0,d.mergeProps)((0,d.unref)(h),{id:(0,d.unref)(_),modelValue:u.value,"onUpdate:modelValue":t[1]||=e=>u.value=e,readonly:n.isReadonly,required:n.isRequired,"disable-wheel-change":!0,disabled:n.isDisabled||n.isReadonly,"format-options":n.formatOptions??void 0,step:n.step,"step-snapping":!0,"as-child":!1,locale:C.value,name:n.name??void 0,max:n.max??void 0,min:n.min??void 0}),{default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"icon-left":n.iconLeft,"icon-right":n.iconRight,"is-loading":n.isLoading,"is-error":(0,d.unref)(v),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly},{left:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`,{},()=>[n.showControls?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0,class:(0,d.normalizeClass)(l.value.leftControl()),align:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.NumberFieldDecrement),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Q,{"is-tooltip-disabled":!0,"is-disabled":n.isDisabled||n.isReadonly||n.min===u.value,icon:(0,d.unref)(Bn),label:(0,d.unref)(g).t(`component.number_field.decrement`),variant:`tertiary`,size:`xs`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),_:1},8,[`class`])):(0,d.createCommentVNode)(``,!0)])]),right:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`right`,{},()=>[n.showControls?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0,class:(0,d.normalizeClass)(l.value.rightControl()),align:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.NumberFieldIncrement),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(Q,{"is-tooltip-disabled":!0,"is-disabled":n.isDisabled||n.isReadonly||n.max===u.value,icon:(0,d.unref)(Wn),label:(0,d.unref)(g).t(`component.number_field.increment`),variant:`tertiary`,size:`xs`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),_:1},8,[`class`])):(0,d.createCommentVNode)(``,!0)])]),default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.NumberFieldInput),{"aria-describedby":(0,d.unref)(b),"aria-required":n.isRequired,autocomplete:n.autocomplete??void 0,"aria-busy":(0,d.unref)(y),"aria-invalid":(0,d.unref)(x),placeholder:n.placeholder??void 0,class:(0,d.normalizeClass)(l.value.input()),"data-field-wrapper":``,onInput:T,onKeydown:(0,d.withKeys)(ee,[`enter`]),onFocus:t[0]||=(0,d.withModifiers)(()=>{},[`prevent`]),onBlur:ne},null,8,[`aria-describedby`,`aria-required`,`autocomplete`,`aria-busy`,`aria-invalid`,`placeholder`,`class`])]),_:3},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`])]),_:3},16,[`id`,`modelValue`,`readonly`,`required`,`disabled`,`format-options`,`step`,`locale`,`name`,`max`,`min`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`]))}}),WE={AC:`40123`,AD:`312345`,AE:`501234567`,AF:`701234567`,AG:`2684641234`,AI:`2642351234`,AL:`672123456`,AM:`77123456`,AO:`923123456`,AR:`91123456789`,AS:`6847331234`,AT:`664123456`,AU:`412345678`,AW:`5601234`,AX:`412345678`,AZ:`401234567`,BA:`61123456`,BB:`2462501234`,BD:`1812345678`,BE:`470123456`,BF:`70123456`,BG:`43012345`,BH:`36001234`,BI:`79561234`,BJ:`0195123456`,BL:`690001234`,BM:`4413701234`,BN:`7123456`,BO:`71234567`,BQ:`3181234`,BR:`11961234567`,BS:`2423591234`,BT:`17123456`,BW:`71123456`,BY:`294911911`,BZ:`6221234`,CA:`5062345678`,CC:`412345678`,CD:`991234567`,CF:`70012345`,CG:`061234567`,CH:`781234567`,CI:`0123456789`,CK:`71234`,CL:`221234567`,CM:`671234567`,CN:`13123456789`,CO:`3211234567`,CR:`83123456`,CU:`51234567`,CV:`9911234`,CW:`95181234`,CX:`412345678`,CY:`96123456`,CZ:`601123456`,DE:`15123456789`,DJ:`77831001`,DK:`34412345`,DM:`7672251234`,DO:`8092345678`,DZ:`551234567`,EC:`991234567`,EE:`51234567`,EG:`1001234567`,EH:`650123456`,ER:`7123456`,ES:`612345678`,ET:`911234567`,FI:`412345678`,FJ:`7012345`,FK:`51234`,FM:`3501234`,FO:`211234`,FR:`612345678`,GA:`06031234`,GB:`7400123456`,GD:`4734031234`,GE:`555123456`,GF:`694201234`,GG:`7781123456`,GH:`231234567`,GI:`57123456`,GL:`221234`,GM:`3012345`,GN:`601123456`,GP:`690001234`,GQ:`222123456`,GR:`6912345678`,GT:`51234567`,GU:`6713001234`,GW:`955012345`,GY:`6091234`,HK:`51234567`,HN:`91234567`,HR:`921234567`,HT:`34101234`,HU:`201234567`,ID:`812345678`,IE:`850123456`,IL:`502345678`,IM:`7924123456`,IN:`8123456789`,IO:`3801234`,IQ:`7912345678`,IR:`9123456789`,IS:`6111234`,IT:`3123456789`,JE:`7797712345`,JM:`8762101234`,JO:`790123456`,JP:`9012345678`,KE:`712123456`,KG:`700123456`,KH:`91234567`,KI:`72001234`,KM:`3212345`,KN:`8697652917`,KP:`1921234567`,KR:`1020000000`,KW:`50012345`,KY:`3453231234`,KZ:`7710009998`,LA:`2023123456`,LB:`71123456`,LC:`7582845678`,LI:`660234567`,LK:`712345678`,LR:`770123456`,LS:`50123456`,LT:`61234567`,LU:`628123456`,LV:`21234567`,LY:`912345678`,MA:`650123456`,MC:`612345678`,MD:`62112345`,ME:`60123456`,MF:`690001234`,MG:`321234567`,MH:`2351234`,MK:`72345678`,ML:`65012345`,MM:`92123456`,MN:`88123456`,MO:`66123456`,MP:`6702345678`,MQ:`696201234`,MR:`22123456`,MS:`6644923456`,MT:`96961234`,MU:`52512345`,MV:`7712345`,MW:`991234567`,MX:`2221234567`,MY:`123456789`,MZ:`821234567`,NA:`811234567`,NC:`751234`,NE:`93123456`,NF:`381234`,NG:`8021234567`,NI:`81234567`,NL:`612345678`,NO:`40612345`,NP:`9841234567`,NR:`5551234`,NU:`8884012`,NZ:`211234567`,OM:`92123456`,PA:`61234567`,PE:`912345678`,PF:`87123456`,PG:`70123456`,PH:`9051234567`,PK:`3012345678`,PL:`512345678`,PM:`551234`,PR:`7872345678`,PS:`599123456`,PT:`912345678`,PW:`6201234`,PY:`961456789`,QA:`33123456`,RE:`692123456`,RO:`712034567`,RS:`601234567`,RU:`9123456789`,RW:`720123456`,SA:`512345678`,SB:`7421234`,SC:`2510123`,SD:`911231234`,SE:`701234567`,SG:`81234567`,SH:`51234`,SI:`31234567`,SJ:`41234567`,SK:`912123456`,SL:`25123456`,SM:`66661212`,SN:`701234567`,SO:`71123456`,SR:`7412345`,SS:`977123456`,ST:`9812345`,SV:`70123456`,SX:`7215205678`,SY:`944567890`,SZ:`76123456`,TA:`8999`,TC:`6492311234`,TD:`63012345`,TG:`90112345`,TH:`812345678`,TJ:`917123456`,TK:`7290`,TL:`77212345`,TM:`66123456`,TN:`20123456`,TO:`7715123`,TR:`5012345678`,TT:`8682911234`,TV:`901234`,TW:`912345678`,TZ:`621234567`,UA:`501234567`,UG:`712345678`,US:`2015550123`,UY:`94231234`,UZ:`912345678`,VA:`3123456789`,VC:`7844301234`,VE:`4121234567`,VG:`2843001234`,VI:`3406421234`,VN:`912345678`,VU:`5912345`,WF:`821234`,WS:`7212345`,XK:`43201234`,YE:`712345678`,YT:`639012345`,ZA:`711234567`,ZM:`955123456`,ZW:`712345678`},GE=H({slots:{countryFlag:`
|
|
860
860
|
block h-3.5 w-5 shrink-0 overflow-hidden rounded-xxs
|
|
861
861
|
[&>svg]:size-full [&>svg]:object-cover
|
|
862
862
|
`,countryTrigger:`
|
|
@@ -871,7 +871,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
871
871
|
read-only:cursor-default
|
|
872
872
|
disabled:cursor-not-allowed disabled:text-disabled
|
|
873
873
|
disabled:placeholder:text-fg-disabled-subtle
|
|
874
|
-
`},variants:{size:{md:{countryTrigger:`ml-xxs h-6.5`,input:`px-md`},sm:{countryTrigger:`ml-xxs h-5.5`,input:`px-sm`}}}}),KE=[`disabled`,`aria-expanded`,`aria-label`],qE=[`src`],JE=[`id`,`value`,`disabled`,`readonly`,`aria-describedby`,`aria-busy`,`aria-invalid`,`aria-required`,`placeholder`,`name`],YE=(0,d.defineComponent)({inheritAttrs:!1,__name:`PhoneNumberField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({defaultCountryCode:{},preferredCountryCodes:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...mv,...hv,...vv(gv,`placeholder`),..._v,defaultCountryCode:`BE`,preferredCountryCodes:()=>[],size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e,{expose:t}){let n=e,r=/\d/g,i=(0,d.useModel)(e,`modelValue`),a=
|
|
874
|
+
`},variants:{size:{md:{countryTrigger:`ml-xxs h-6.5`,input:`px-md`},sm:{countryTrigger:`ml-xxs h-5.5`,input:`px-sm`}}}}),KE=[`disabled`,`aria-expanded`,`aria-label`],qE=[`src`],JE=[`id`,`value`,`disabled`,`readonly`,`aria-describedby`,`aria-busy`,`aria-invalid`,`aria-required`,`placeholder`,`name`],YE=(0,d.defineComponent)({inheritAttrs:!1,__name:`PhoneNumberField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({defaultCountryCode:{},preferredCountryCodes:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...mv,...hv,...vv(gv,`placeholder`),..._v,defaultCountryCode:`BE`,preferredCountryCodes:()=>[],size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e,{expose:t}){let n=e,r=/\d/g,i=(0,d.useModel)(e,`modelValue`),a=X(),o=(0,d.useAttrs)(),s=n.id??(0,d.useId)(),c=(0,d.useTemplateRef)(`input`),l=(0,d.useTemplateRef)(`fieldWrapper`),u=(0,d.computed)(()=>l.value?.$el??null),{isError:f,ariaBusy:m,ariaDescribedBy:h,ariaInvalid:g,ariaRequired:_}=fv(s,n),{contains:v}=(0,p.useFilter)(),y=(0,d.computed)(()=>GE({size:n.size})),b=(0,d.computed)(()=>a?.locale.value??navigator.language),x=(0,d.ref)(k()),S=(0,d.ref)(``),C=(0,d.computed)(()=>$g(x.value)),w=(0,d.computed)(()=>`+${cf(x.value)}`),T=(0,d.computed)(()=>e_(x.value,b.value)??x.value),ee=(0,d.computed)(()=>new of(x.value));function te(e){let t=cf(x.value).toString();return uf(e,x.value).replace(`+${t}`,``).trim()}let E=(0,d.computed)(()=>{let e=lf(x.value,WE);return e===void 0?`000 00 00 00`:te(e.number).replace(r,`0`)}),ne=(0,d.computed)({get:()=>i.value===null?null:te(i.value),set:e=>{if(e===null||e===``){i.value=null;return}if(af(e,x.value)===`TOO_LONG`){let e=structuredClone(i.value);i.value=``,(0,d.nextTick)(()=>{i.value=e});return}let t=`+${cf(x.value)} ${e}`;if(ee.value.reset(),ee.value.input(t),ee.value.isValid()){i.value=ee.value.getNumber()?.formatInternational()??t;return}i.value=t}});function D(e){return{type:`option`,value:e}}let O=(0,d.computed)(()=>{let e=n.preferredCountryCodes??[],t=S.value.trim(),r=sf(),i=t?r.filter(e=>A(e,t)):r,a={type:`separator`};if(e.length===0||t)return i.map(D);let o=e.filter(e=>i.includes(e)),s=i.filter(t=>!e.includes(t)),c=o.length>0&&s.length>0;return[...o.map(D),...c?[a]:[],...s.map(D)]});function k(){if(i.value===null)return n.defaultCountryCode??`BE`;let e=rf(i.value)??null;return e===null||e.country===void 0?n.defaultCountryCode??`BE`:e.country}function A(e,t){let n=e_(e,b.value)??``,r=t.toLowerCase();return v(cf(e).toLowerCase(),r.toLowerCase())||v(e.toLowerCase(),r.toLowerCase())||v(n.toLowerCase(),r.toLowerCase())}function j(e){let t=$g(e);return{description:{layout:`inline`,value:`+${cf(e)}`},left:t===null?null:{aspect:`rectangle`,src:t,type:`image`}}}function re(e){if(i.value===null){x.value=e;return}i.value=uf(i.value.replace(`+${cf(x.value)}`,`+${cf(e)}`),e),x.value=e}function ie(e){S.value=e}function ae(e){ne.value=e.target.value||null}return t({input:c}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,d.normalizeClass)(n.class),style:(0,d.normalizeStyle)(n.style),for:(0,d.unref)(s),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{ref:`fieldWrapper`,"icon-left":n.iconLeft,"icon-right":n.iconRight,"is-loading":n.isLoading,"is-error":(0,d.unref)(f),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly,size:n.size},{left:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(iy),{"model-value":x.value,items:O.value,"display-fn":e=>(0,d.unref)(e_)(e,b.value)??e,"get-item-config":j,"is-disabled":n.isDisabled,"popover-anchor-reference-element":u.value,"has-virtual-scroll":!0,search:`remote`,"popover-align":`start`,"popover-width":`anchor-width`,"onUpdate:modelValue":re,"onUpdate:search":ie},{trigger:(0,d.withCtx)(({isOpen:e})=>[(0,d.createElementVNode)(`button`,{class:(0,d.normalizeClass)(y.value.countryTrigger({size:n.size})),disabled:n.isDisabled,"aria-expanded":e,"aria-label":T.value,type:`button`},[C.value===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createElementBlock)(`img`,{key:0,src:C.value,class:(0,d.normalizeClass)(y.value.countryFlag()),alt:``},null,10,qE)),(0,d.createVNode)((0,d.unref)(Vt),{class:`size-3 shrink-0 text-tertiary`})],10,KE)]),_:1},8,[`model-value`,`items`,`display-fn`,`is-disabled`,`popover-anchor-reference-element`]),(0,d.createElementVNode)(`span`,{class:(0,d.normalizeClass)(y.value.dialCode())},(0,d.toDisplayString)(w.value),3)]),default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`input`,(0,d.mergeProps)((0,d.unref)(o),{id:(0,d.unref)(s),ref:`input`,value:ne.value,disabled:n.isDisabled,readonly:n.isReadonly,"aria-describedby":(0,d.unref)(h),"aria-busy":(0,d.unref)(m),"aria-invalid":(0,d.unref)(g),"aria-required":(0,d.unref)(_),placeholder:E.value,name:n.name??void 0,class:y.value.input({size:n.size}),type:`tel`,autocomplete:`tel`,"data-field-wrapper":``,onInput:ae}),null,16,JE)]),_:1},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`]))}}),XE={id:null,isLabelHidden:!1,description:null},[ZE,QE]=I(`radioGroupItemContext`),$E=H({slots:{cardRoot:`
|
|
875
875
|
group/radio-group-item flex items-center justify-start rounded-md border
|
|
876
876
|
border-secondary p-lg outline-none
|
|
877
877
|
disabled:cursor-not-allowed
|
|
@@ -898,7 +898,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
898
898
|
group/radio-group-item flex items-center justify-start gap-x-sm
|
|
899
899
|
outline-none
|
|
900
900
|
disabled:cursor-not-allowed
|
|
901
|
-
`}}),eD=(0,d.defineComponent)({__name:`RadioGroupIndicator`,setup(e){let{radioGroupStyle:t}=QE();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.RadioGroupIndicator),{class:(0,d.normalizeClass)((0,d.unref)(t).indicator()),"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.Motion),{initial:{opacity:0,scale:1.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.5},transition:{duration:.3,type:`spring`,bounce:0}})]),_:1},8,[`class`])]),_:1}))}}),tD=(0,d.defineComponent)({__name:`BaseRadioGroup`,props:{id:{},isLabelHidden:{type:Boolean,default:!1},description:{default:null},label:{},value:{},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null}},emits:[`blur`,`focus`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.computed)(()=>$E());return ZE({radioGroupStyle:i}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(
|
|
901
|
+
`}}),eD=(0,d.defineComponent)({__name:`RadioGroupIndicator`,setup(e){let{radioGroupStyle:t}=QE();return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.RadioGroupIndicator),{class:(0,d.normalizeClass)((0,d.unref)(t).indicator()),"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.Motion),{initial:{opacity:0,scale:1.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.5},transition:{duration:.3,type:`spring`,bounce:0}})]),_:1},8,[`class`])]),_:1}))}}),tD=(0,d.defineComponent)({__name:`BaseRadioGroup`,props:{id:{},isLabelHidden:{type:Boolean,default:!1},description:{default:null},label:{},value:{},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null}},emits:[`blur`,`focus`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.computed)(()=>$E());return ZE({radioGroupStyle:i}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"is-disabled":!n.isDisabled||n.disabledReason==null,label:n.disabledReason},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.RadioGroupItem),{id:n.id??void 0,disabled:n.isDisabled,value:n.value,class:(0,d.normalizeClass)(i.value.root()),onBlur:t[0]||=e=>r(`blur`),onFocus:t[1]||=e=>r(`focus`)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{align:`start`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(i.value.control())},[(0,d.createVNode)(eD)],2),(0,d.createVNode)(K,{class:(0,d.normalizeClass)(n.isLabelHidden&&`sr-only`),gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(W),{text:n.label,class:(0,d.normalizeClass)(i.value.label())},null,8,[`text`,`class`]),n.description?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:0,text:n.description,class:(0,d.normalizeClass)(i.value.description())},null,8,[`text`,`class`])):(0,d.createCommentVNode)(``,!0)]),_:1},8,[`class`])]),_:1})]),_:1},8,[`id`,`disabled`,`value`,`class`])]),_:1},8,[`is-disabled`,`label`]))}}),nD=(0,d.defineComponent)({__name:`RadioGroupItem`,props:(0,d.mergeDefaults)({id:{},isLabelHidden:{type:Boolean},description:{},label:{},value:{},isDisabled:{type:Boolean},disabledReason:{}},{...XE}),setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(tD,(0,d.normalizeProps)((0,d.guardReactiveProps)(t)),null,16))}}),[rD,iD]=I(`radioGroupContext`),aD=(0,d.defineComponent)({__name:`RadioGroupRoot`,props:(0,d.mergeModels)({orientation:{default:`vertical`},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean,default:!1},hint:{},label:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`);return rD({isDisabled:(0,d.computed)(()=>t.isDisabled),modelValue:n,orientation:(0,d.computed)(()=>t.orientation)}),(e,r)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.RadioGroupRoot),{modelValue:n.value,"onUpdate:modelValue":r[0]||=e=>n.value=e,orientation:t.orientation,disabled:t.isDisabled},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`modelValue`,`orientation`,`disabled`])]),_:3},8,[`is-disabled`,`label`]))}}),oD=/Mobi|Android/i;function sD(){return oD.test(navigator.userAgent)}var cD=(0,d.defineComponent)({__name:`RelativeDateTime`,props:{dateTime:{},leadingText:{default:null}},setup(e){let t=e,n=(0,d.useAttrs)(),r=S.Temporal.Now.instant(),i=(0,C.useDateTimeFormat)(),a=(0,d.ref)(!0);function o(){sD()&&(a.value=!a.value)}return(e,s)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{label:(0,d.unref)(i).toDateTime(t.dateTime,!0)},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`span`,(0,d.normalizeProps)((0,d.guardReactiveProps)((0,d.unref)(n))),[(0,d.createTextVNode)((0,d.toDisplayString)(t.leadingText)+` `,1),(0,d.createVNode)(hT,{value:(0,d.unref)(i).toDateTime(t.dateTime,!0),class:`whitespace-nowrap`,onClick:o},{default:(0,d.withCtx)(()=>[a.value?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(i).toRelativeTime(t.dateTime,(0,d.unref)(r))),1)],64)):((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[(0,d.createTextVNode)((0,d.toDisplayString)((0,d.unref)(i).toDateTime(t.dateTime,!0)),1)],64))]),_:1},8,[`value`])],16)]),_:1},8,[`label`]))}});function lD(){return process.env.ENVIRONMENT!==`production`}new class{prefix;constructor(e={}){this.prefix=e.prefix??``}buildArgs(e,t){return typeof e==`string`?[`${this.prefix.length>0?`${this.prefix} `:``}${e}`,...t]:this.prefix.length>0?[this.prefix,e,...t]:[e,...t]}log(e,t,...n){let r=this.buildArgs(t,n);switch(e){case`debug`:console.debug(...r);break;case`info`:console.info(...r);break;case`warn`:console.warn(...r);break;case`error`:console.error(...r);break}}debug(e,...t){lD()&&this.log(`debug`,e,...t)}error(e,...t){this.log(`error`,e,...t)}info(e,...t){lD()&&this.log(`info`,e,...t)}warn(e,...t){this.log(`warn`,e,...t)}};var uD=/([a-z])([A-Z])/g,dD=/([A-Z]+)([A-Z][a-z])/g,fD=/[\u0300-\u036F]/g,pD=/[^\w\s-]/g,mD=/[\s_]+/g,hD=/^-+|-+$/g,gD=/<[^>]*>/g,_D=class{static camelToKebab(e){return e.replace(uD,`$1-$2`).replace(dD,`$1-$2`).toLowerCase()}static capitalize(e){return e.length===0?e:e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}static isEmpty(e){return e==null||e.trim().length===0}static slugify(e){return e.toLowerCase().trim().normalize(`NFD`).replace(fD,``).replace(pD,``).replace(mD,`-`).replace(hD,``)}static stripHtml(e){return e.replace(gD,``)}static trimOrNull(e){return e?.trim()||null}static trimOrUndefined(e){return e?.trim()||void 0}static truncate(e,t){return e.length<=t?e:`${e.slice(0,t)}...`}},vD=(0,d.defineComponent)({__name:`SearchField`,props:{search:{}},setup(e){let t=e,n=(0,d.useTemplateRef)(`textField`),r=(0,d.useId)(),i=(0,m.useI18n)();return at(`Meta+F`,()=>{n.value?.input?.focus()},{preventDefault:!0}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(uy),{id:(0,d.unref)(r),ref:`textField`,"model-value":t.search.search.value,placeholder:(0,d.unref)(i).t(`component.search_input.placeholder`),"icon-left":(0,d.unref)(Jn),"aria-label":(0,d.unref)(i).t(`component.search_input.placeholder`),size:`sm`,class:`w-44`,"onUpdate:modelValue":n[1]||=e=>t.search.updateSearch(e??``)},{right:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(g.AnimatePresence),{initial:!1},{default:(0,d.withCtx)(()=>[(0,d.unref)(_D).isEmpty(t.search.search.value)?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:0,transition:{duration:.2,type:`spring`,bounce:0},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},class:`mr-xxs flex items-center justify-center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{label:(0,d.unref)(i).t(`component.search_input.clear`),icon:(0,d.unref)(or),variant:`tertiary`,size:`xs`,onClick:n[0]||=e=>t.search.clear()},null,8,[`label`,`icon`])]),_:1}))]),_:1})]),_:1},8,[`id`,`model-value`,`placeholder`,`icon-left`,`aria-label`]))}}),yD=50,bD=`search`;function xD(e){let t=e?.persistInUrl===!1?!1:e?.persistInUrl??bD,n=t===!0||typeof t==`string`?(0,b.useRouteQuery)(`search`,``,{mode:`replace`}):(0,d.ref)(``),r=(0,d.ref)(n.value),i=(0,d.ref)(!1),a=(0,d.computed)(()=>!_D.isEmpty(r.value)),o=null;function s(){n.value=``,r.value=``,i.value=!1,o&&clearTimeout(o)}(0,d.watch)(n,t=>{o&&clearTimeout(o),i.value=!0,o=setTimeout(()=>{r.value=t,i.value=!1},e?.debounceMs??yD)},{immediate:!0});function c(e,t=!1){n.value=e,t&&(o&&clearTimeout(o),r.value=e,i.value=!1)}return{isActive:a,isDebouncing:i,clear:s,debouncedSearch:r,search:n,updateSearch:c}}var[SD,CD]=I(`switchContext`),wD=H({slots:{root:`
|
|
902
902
|
group/switch relative isolate h-5 w-8 overflow-hidden rounded-full border
|
|
903
903
|
border-solid border-gray-200 bg-quaternary px-xxs outline-offset-3
|
|
904
904
|
outline-brand-600 duration-200
|
|
@@ -919,7 +919,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
919
919
|
`,thumbIcon:`
|
|
920
920
|
size-2.5 text-gray-800
|
|
921
921
|
group-data-[state=checked]/switch:text-brand-600
|
|
922
|
-
`}}),TD=(0,d.defineComponent)({__name:`SwitchThumbIcon`,setup(e){let{isChecked:t,iconChecked:n,iconUnchecked:r,switchStyle:i}=CD(),a=(0,d.computed)(()=>t.value?n.value:r.value);return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1,mode:`popLayout`},{default:(0,d.withCtx)(()=>[a.value===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:a.value?.name??String((0,d.unref)(t)),initial:{opacity:0,x:(0,d.unref)(t)?-8:8,filter:`blur(2px)`},animate:{opacity:1,scale:1,x:0,filter:`blur(0px)`},exit:{opacity:0,x:(0,d.unref)(t)?-8:8,filter:`blur(2px)`},transition:{duration:.25,type:`spring`,bounce:0}},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(a.value),{class:(0,d.normalizeClass)((0,d.unref)(i).thumbIcon())},null,8,[`class`]))]),_:1},8,[`initial`,`exit`]))]),_:1}))}}),ED=(0,d.defineComponent)({__name:`Switch`,props:(0,d.mergeModels)((0,d.mergeDefaults)({iconChecked:{},iconUnchecked:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{}},{...mv,...hv,iconChecked:null,iconUnchecked:null}),{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),a=n.id??(0,d.useId)(),o=(0,d.computed)(()=>wD());return SD({isChecked:(0,d.computed)(()=>i.value),iconChecked:(0,d.computed)(()=>n.iconChecked??null),iconUnchecked:(0,d.computed)(()=>n.iconUnchecked??null),switchStyle:o}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(K,{"is-disabled":!n.isDisabled||n.disabledReason==null,label:n.disabledReason},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(R,{align:`start`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.SwitchRoot),{id:(0,d.unref)(a),modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,disabled:n.isDisabled,"data-invalid":n.errorMessage!==null&&n.errorMessage!==void 0||void 0,class:(0,d.normalizeClass)(o.value.root()),onBlur:t[1]||=e=>r(`blur`)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.SwitchThumb),{class:(0,d.normalizeClass)(o.value.thumb())},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(TD)]),_:1},8,[`class`])]),_:1},8,[`id`,`modelValue`,`disabled`,`data-invalid`,`class`]),(0,d.createElementVNode)(`div`,null,[n.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:0,class:(0,d.normalizeClass)([n.isLabelHidden&&`sr-only`]),gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`),(0,d.createVNode)((0,d.unref)(G),{for:n.for??(0,d.unref)(a),text:n.label,class:(0,d.normalizeClass)((0,d.unref)(sa)(`text-xs/5 font-medium text-secondary`,n.isRequired?`after:pl-xxs after:text-error-primary`:``)),"data-label-required":n.isRequired?``:null,as:`label`},null,8,[`for`,`text`,`class`,`data-label-required`]),(0,d.renderSlot)(e.$slots,`right`)]),_:3},8,[`class`])),(0,d.createVNode)(Pv,{hint:n.hint,for:n.for},null,8,[`hint`,`for`]),n.hideErrorMessage?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Nv,{key:1,"error-message":n.errorMessage,for:n.for},null,8,[`error-message`,`for`]))])]),_:3})]),_:3},8,[`is-disabled`,`label`]))}}),DD=(0,d.defineComponent)({__name:`TableSubgrid`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{class:`col-span-full grid grid-cols-subgrid`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),OD=(0,d.defineComponent)({__name:`TableBody`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(DD,{class:`group/body`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),kD={GROUP:3,HEADER:4,SUBGROUP:2},[AD,jD]=L(`tableContext`),[MD,ND]=L(`tableGroupContext`),PD={class:`w-5`},FD=(0,d.defineComponent)({__name:`TableBodyGroup`,props:{defaultOpen:{type:Boolean,default:!0},headerCells:{},label:{}},setup(e){let t=e,{isScrolledFromLeft:n,registerGroup:r,unregisterGroup:i}=jD();return MD({isGroup:!0}),r(),(0,d.onBeforeUnmount)(()=>{i()}),(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.CollapsibleRoot),{as:DD,"default-open":t.defaultOpen,class:`group/collapsible`},{default:(0,d.withCtx)(({open:r})=>[(0,d.createVNode)(DD,{style:(0,d.normalizeStyle)({zIndex:(0,d.unref)(kD).GROUP}),class:`group/group sticky top-10 flex h-8 items-center group-data-[state=open]/collapsible:bg-secondary hover:bg-secondary has-focus-visible:bg-tertiary`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.CollapsibleTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,{class:(0,d.normalizeClass)([{"border-r border-secondary":(0,d.unref)(n)},`sticky left-0 z-1 size-full bg-primary px-2xl outline-none group-hover/group:bg-secondary group-has-focus-visible/group:bg-tertiary group-data-[state=open]/collapsible:bg-secondary`])},[(0,d.createVNode)((0,d.unref)(R),{gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,PD,[(0,d.createVNode)((0,d.unref)(Bt),{class:(0,d.normalizeClass)([{"-rotate-90":!r},`size-3.5 text-disabled duration-150 group-hover/group:text-secondary`])},null,8,[`class`])]),(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:`text-xs text-tertiary duration-150 group-hover/group:text-secondary`},null,8,[`text`])]),_:2},1024)],2)]),_:2},1024),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.headerCells,(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e),{key:t}))),128))]),_:2},1032,[`style`]),(0,d.createVNode)((0,d.unref)(p.CollapsibleContent),{as:DD,class:`origin-top-left overflow-clip data-[state=closed]:animate-[table-collapsible-up_150ms] data-[state=open]:animate-[table-collapsible-down_150ms]`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`default-open`]))}}),[ID,LD]=L(`tableBodyRowContext`),[RD,zD]=L(`tableSubGroupContext`),BD={class:`pointer-events-none relative z-1 flex size-full items-center`},VD=(0,d.defineComponent)({__name:`TableBodyRowCell`,setup(e){let{isScrolledFromLeft:t,variant:n}=jD(),{link:r}=LD({link:(0,d.computed)(()=>null)}),{isGroup:i}=ND({isGroup:!1}),{isSubGroup:a}=zD({isSubGroup:!1}),o=(0,d.computed)(()=>a?`first-of-type:pl-15`:i?`first-of-type:pl-10`:`first-of-type:pl-2xl`);return(e,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)([[{"first-of-type:border-r first-of-type:border-secondary":(0,d.unref)(t),"h-10":(0,d.unref)(n)===`full-page`,"h-9":(0,d.unref)(n)===`contained`},o.value],`relative flex items-center overflow-hidden bg-primary px-xl not-group-has-[[data-row-actions]_[data-state=open]]/row:group-hover/row:bg-secondary group-has-focus-visible/row:bg-tertiary first-of-type:sticky first-of-type:left-0 first-of-type:z-2 last-of-type:pr-2xl`])},[(0,d.unref)(r)===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(y.RouterLink),{key:0,to:(0,d.unref)(r),tabindex:`-1`,class:`absolute inset-0 z-0`},null,8,[`to`])),(0,d.createElementVNode)(`div`,BD,[(0,d.renderSlot)(e.$slots,`default`)])],2))}}),HD=(0,d.defineComponent)({__name:`TableBodyRowActionsCell`,props:{actionModel:{}},setup(e){let t=e,n=(0,m.useI18n)(),{actions:r}=jD();return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)(VD,{class:`sticky right-0 z-1 flex items-center justify-end`,"data-row-actions":``},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Po),{actions:(0,d.unref)(r),models:t.actionModel===null?[]:[t.actionModel],"current-context-only":!0,"popover-side":`bottom`,"popover-align":`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{"is-tooltip-disabled":!0,icon:(0,d.unref)(dn),label:(0,d.unref)(n).t(`component.table.actions_cell.label`),size:`sm`,variant:`tertiary`,class:`pointer-events-auto opacity-0 group-hover/row:opacity-100 group-has-focus-visible/row:opacity-100 group-has-[[data-row-actions]_[data-state=open]]/row:opacity-100 pointer-coarse:opacity-100`},null,8,[`icon`,`label`])]),_:1},8,[`actions`,`models`])]),_:1}))}}),UD=(0,d.defineComponent)({__name:`TableBodyRow`,props:{actionModel:{default:null},ariaLabel:{default:null},link:{default:null}},setup(e){let t=e,n=(0,m.useI18n)(),{isGroupingEnabled:r,actions:i}=jD();return ID({link:(0,d.computed)(()=>t.link)}),(a,o)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(To),{actions:(0,d.unref)(i),"current-context-only":!0,models:t.actionModel===null?[]:[t.actionModel]},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Fo),{actions:(0,d.unref)(i),models:t.actionModel===null?[]:[t.actionModel]},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(DD,{class:(0,d.normalizeClass)([{"border-b border-secondary has-[[data-row-actions]_[data-state=open]]:border-secondary/25 data-[state=open]:border-secondary/25":!(0,d.unref)(r)},`group/row relative isolate transition-[filter,opacity] duration-150 group-has-[[data-context-menu-trigger][data-state=open]]/body:opacity-25 group-has-[[data-row-actions]_[data-state=open]]/body:opacity-25 not-has-[[data-row-actions]_[data-state=open]]:hover:bg-secondary has-focus-visible:bg-tertiary has-[[data-row-actions]_[data-state=open]]:opacity-100 data-[state=open]:opacity-100!`])},{default:(0,d.withCtx)(()=>[e.link===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(y.RouterLink),{key:0,to:e.link,"aria-label":e.ariaLabel??(0,d.unref)(n).t(`component.table.row.view_details_label`),class:`pointer-events-none absolute inset-0 z-0 outline-none`},null,8,[`to`,`aria-label`])),(0,d.renderSlot)(a.$slots,`default`),(0,d.unref)(i).length>0?((0,d.openBlock)(),(0,d.createBlock)(HD,{key:1,"action-model":t.actionModel},null,8,[`action-model`])):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`class`])]),_:3},8,[`actions`,`models`])]),_:3},8,[`actions`,`models`]))}}),WD={class:`size-full px-5xl outline-none focus-visible:bg-tertiary`},GD={class:`w-5`},KD=(0,d.defineComponent)({__name:`TableBodySubGroup`,props:{defaultOpen:{type:Boolean,default:!0},label:{}},setup(e){let t=e;return RD({isSubGroup:!0}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.CollapsibleRoot),{as:DD,"default-open":t.defaultOpen},{default:(0,d.withCtx)(({open:n})=>[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)({zIndex:(0,d.unref)(kD).SUBGROUP}),class:`group/sub-group sticky top-18 col-span-full flex h-8 items-center bg-primary`},[(0,d.createVNode)((0,d.unref)(p.CollapsibleTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,WD,[(0,d.createVNode)((0,d.unref)(R),{gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,GD,[(0,d.createVNode)((0,d.unref)(Bt),{class:(0,d.normalizeClass)([{"-rotate-90":!n},`size-3.5 text-disabled duration-150 group-hover/sub-group:text-secondary`])},null,8,[`class`])]),(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:`text-xs text-tertiary duration-150 group-hover/sub-group:text-secondary`},null,8,[`text`])]),_:2},1024)])]),_:2},1024)],4),(0,d.createVNode)((0,d.unref)(p.CollapsibleContent),{as:DD,class:`origin-top-left overflow-clip data-[state=closed]:animate-[table-collapsible-up_150ms] data-[state=open]:animate-[table-collapsible-down_150ms]`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`default-open`]))}}),qD=(0,d.defineComponent)({__name:`TableHeaderCell`,props:{isResizable:{type:Boolean,default:!0},actionConfig:{default:null},centerContent:{type:Boolean,default:!1},columnIndex:{},label:{}},setup(e){let t=e,n=(0,m.useI18n)(),{isColumnResizeDisabled:r,isGroupingEnabled:i,isResizingColumn:a,isScrolledFromLeft:o,onColumnResizeFitToContent:s,onColumnResizeStart:c}=jD(),l=(0,d.useTemplateRef)(`cellEl`);return(e,u)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{ref_key:`cellEl`,ref:l,class:(0,d.normalizeClass)([{"first-of-type:border-r first-of-type:border-secondary":(0,d.unref)(o),"justify-center":t.centerContent,"bg-secondary":!(0,d.unref)(i)},`group relative flex h-10 items-center overflow-hidden bg-primary px-xl first-of-type:sticky first-of-type:left-0 first-of-type:z-2 first-of-type:pl-2xl last-of-type:pr-2xl`])},[(0,d.createVNode)((0,d.unref)(R),{gap:`xs`},{default:(0,d.withCtx)(()=>[t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:0,text:t.label,class:`text-xs font-medium text-primary`},null,8,[`text`])),(0,d.createVNode)((0,d.unref)(Po),{actions:t.actionConfig?.actions??[],metadata:t.actionConfig?.metadata,"current-context-only":t.actionConfig?.currentContextOnly??!0,"popover-side":`bottom`,"popover-align":`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(dn),"is-tooltip-disabled":t.actionConfig?.label===void 0,label:t.actionConfig?.label??(0,d.unref)(n).t(`component.table.header_cell.options_label`),size:`sm`,variant:`tertiary`},null,8,[`icon`,`is-tooltip-disabled`,`label`])]),_:1},8,[`actions`,`metadata`,`current-context-only`])]),_:1}),t.isResizable&&!(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:`group/handle absolute top-0 right-0 z-10 flex h-full w-4 cursor-col-resize items-center justify-center select-none`,onMousedown:u[0]||=(0,d.withModifiers)(e=>(0,d.unref)(c)(t.columnIndex,e.clientX,l.value),[`prevent`]),onDblclick:u[1]||=(0,d.withModifiers)(e=>(0,d.unref)(s)(t.columnIndex,l.value),[`prevent`])},[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)([{"scale-92":(0,d.unref)(a)},`h-5 w-1 rounded-full bg-fg-disabled opacity-0 duration-150 group-hover/handle:opacity-100`])},null,2)],32)):(0,d.createCommentVNode)(``,!0)],2))}}),JD=(0,d.defineComponent)({__name:`TableHeader`,setup(e){let t=(0,m.useI18n)(),{isGroupingEnabled:n,actions:r,headerActions:i}=jD();return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)(DD,{style:(0,d.normalizeStyle)({zIndex:(0,d.unref)(kD).HEADER}),class:(0,d.normalizeClass)([{"border-b border-secondary":!(0,d.unref)(n)},`sticky top-0`])},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`),(0,d.unref)(r).length>0||(0,d.unref)(i).length>0?((0,d.openBlock)(),(0,d.createBlock)(qD,{key:0,"column-index":0,"is-resizable":!1,label:null,"action-config":{actions:(0,d.unref)(i)??[],label:(0,d.unref)(t).t(`component.table.settings_label`),currentContextOnly:!1},class:`sticky right-0 z-1 h-full`},null,8,[`action-config`])):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`style`,`class`]))}}),YD=(0,d.defineComponent)({__name:`TableHiddenResultsWarning`,setup(e){let t=(0,m.useI18n)(),{activeFilterCountIncludingSearch:n,onClearFiltersAndSearch:r}=jD();return(e,i)=>(0,d.unref)(n)>0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(R),{key:0,class:`p-xl`,justify:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(G),{text:(0,d.unref)(t).t(`component.table.hidden_results_warning.message`,{count:(0,d.unref)(n)}),class:`text-xs text-tertiary`},null,8,[`text`]),(0,d.createVNode)((0,d.unref)(o_),{label:(0,d.unref)(t).t(`component.table.empty_state.no_results.clear_filters_label`),size:`sm`,variant:`secondary`,onClick:(0,d.unref)(r)},null,8,[`label`,`onClick`])]),_:1})):(0,d.createCommentVNode)(``,!0)}}),XD=W((0,d.defineComponent)({__name:`TableLoading`,setup(e){let{gridTemplateColumns:t}=jD(),n=[`60%`,`70%`,`65%`,`75%`,`60%`,`70%`];function r(e,t){return n[(e*3+t)%n.length]}return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(DD,{style:(0,d.normalizeStyle)({gridTemplateColumns:(0,d.unref)(t)}),class:`z-10 grid w-full mask-b-to-transparent px-2xl`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(10,e=>(0,d.createVNode)(DD,{key:e,style:(0,d.normalizeStyle)({"--row-index":e-1}),class:`custom-skeleton-row py-lg`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(3,t=>(0,d.createVNode)((0,d.unref)(J),{key:t,style:(0,d.normalizeStyle)({maxWidth:r(e-1,t-1)}),class:`h-4`},null,8,[`style`])),64))]),_:2},1032,[`style`])),64))]),_:1},8,[`style`]))}}),[[`__scopeId`,`data-v-0577cb9a`]]),ZD={max:`auto`,min:`min-content`},QD=class{static columnSizesToGridTemplateColumns(e,t){return t?`${[...e.slice(0,-1),ZD].map(({max:e,min:t})=>`minmax(${t}, ${e})`).join(` `)} min-content`:[...e.slice(0,-1),ZD].map(({max:e,min:t})=>`minmax(${t}, ${e})`).join(` `)}};function $D(e,t){return`${e.map((e,n)=>n===t?`max-content`:`${e}px`).join(` `)} minmax(min-content, auto) min-content`}function eO(e,t,n,r,i){let a=(0,d.ref)(null),o=(0,d.ref)(null),s=(0,d.ref)(null),c=(0,d.ref)(null),l=(0,d.ref)(0),u=(0,d.ref)(0),p=(0,d.computed)(()=>c.value!==null),g=(0,d.computed)(()=>o.value===null?a.value??_():$D(o.value,s.value));function _(){return QD.columnSizesToGridTemplateColumns(e.value,!0)}(0,d.watch)([t,n,e],([e,t])=>{e===null||!t||y(e)});let v=0;(0,h.useResizeObserver)(t,e=>{let n=e[0]?.borderBoxSize[0]?.inlineSize;n===void 0||n===v||(v=n,o.value===null&&t.value!==null&&y(t.value))},{box:`border-box`});async function y(e){a.value=null,await(0,d.nextTick)(),a.value=getComputedStyle(e).gridTemplateColumns}(0,d.watch)(()=>e.value.length,()=>{o.value=null,s.value=null,c.value=null});function b(t){return Array.from(t.parentElement?.children??[]).slice(0,e.value.length-1).map(e=>e.getBoundingClientRect().width)}function x(e,t,n){let r=b(n);o.value=r,c.value=e,l.value=t,u.value=r[e]}function S(e){if(c.value===null||o.value===null)return;let t=e.clientX-l.value,n=Math.max(50,u.value+t),r=[...o.value];r[c.value]=n,o.value=r}function C(){c.value=null}async function w(e,t){o.value===null&&(o.value=b(t)),s.value=e,await(0,d.nextTick)();let n=t.getBoundingClientRect().width,r=[...o.value];r[e]=n,o.value=r,s.value=null}function T(e){let n=t.value;if(e.length===0||n===null)return;let r=e.length+2;n.style.gridTemplateColumns=Array.from({length:r}).fill(`max-content`).join(` `);let i=e.map(e=>e.getBoundingClientRect().width);n.style.gridTemplateColumns=$D(i,null),o.value=i}document.addEventListener(`mousemove`,S),document.addEventListener(`mouseup`,C),(0,d.onBeforeUnmount)(()=>{document.removeEventListener(`mousemove`,S),document.removeEventListener(`mouseup`,C)});let ee=(0,m.useI18n)();function te(){let n=t.value?.children[0];return n===void 0?[]:Array.from(n.children).slice(0,e.value.length-1)}let E=(0,f.createAction)({id:`table-auto-fit-columns`,isApplicable:()=>!i.value,name:()=>ee.t(`component.table.auto_fit_columns_action.name`),execute:()=>T(te()),group:r.value??void 0,icon:()=>Zn});return(0,f.useTemporaryActions)(E),{isResizing:p,autoFitColumnsAction:E,fitColumnToContent:w,gridTemplateColumns:g,startColumnResize:x}}function tO(){let e=(0,d.ref)(!1),t=(0,d.ref)(!0);function n(n){e.value=n.scrollLeft>0,t.value=n.scrollLeft+n.clientWidth>=n.scrollWidth-1}function r(e){n(e),e.addEventListener(`scroll`,()=>n(e),{passive:!0})}return{isScrolledFromLeft:e,isScrolledToEnd:t,setScrollContainer:r}}var nO=(0,d.defineComponent)({__name:`TableRoot`,props:{hasActiveSearch:{type:Boolean,default:!1},isInitialized:{type:Boolean},actionGroup:{default:null},actions:{default:()=>[]},activeFilterCount:{default:0},columnSizes:{},disableColumnResize:{type:Boolean},headerActions:{default:()=>[]},variant:{default:`full-page`},onNextPage:{}},emits:[`clearFiltersAndSearch`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.ref)(null),{isScrolledFromLeft:a,isScrolledToEnd:o,setScrollContainer:s}=tO(),c=(0,d.ref)(0),l=(0,d.computed)(()=>c.value>0),u=(0,d.computed)(()=>i.value?.children[0]??null),{isResizing:f,autoFitColumnsAction:p,fitColumnToContent:m,gridTemplateColumns:g,startColumnResize:_}=eO((0,d.computed)(()=>n.columnSizes),u,(0,d.computed)(()=>n.isInitialized),(0,d.computed)(()=>n.actionGroup),(0,d.computed)(()=>n.disableColumnResize)),v=(0,d.computed)(()=>(n.activeFilterCount??0)+ +!!n.hasActiveSearch);function y(){c.value+=1}function b(){--c.value}function x(){r(`clearFiltersAndSearch`)}return(0,h.useInfiniteScroll)(i,()=>{n.onNextPage?.()},{offset:{bottom:400}}),AD({isColumnResizeDisabled:(0,d.computed)(()=>n.disableColumnResize),isGroupingEnabled:(0,d.computed)(()=>l.value),isResizingColumn:f,isScrolledFromLeft:(0,d.computed)(()=>a.value),isScrolledToEnd:(0,d.computed)(()=>o.value),actions:(0,d.computed)(()=>n.actions),activeFilterCountIncludingSearch:v,gridTemplateColumns:g,headerActions:(0,d.computed)(()=>[...n.headerActions,p]),registerGroup:y,setScrollContainer:e=>{i.value=e,s(e)},unregisterGroup:b,variant:(0,d.computed)(()=>n.variant),onClearFiltersAndSearch:x,onColumnResizeFitToContent:m,onColumnResizeStart:_}),(e,t)=>(0,d.renderSlot)(e.$slots,`default`)}}),[rO,iO]=L(`tableScrollContainerContext`),aO=(0,d.defineComponent)({__name:`TableScrollContainer`,props:{disableScroll:{type:Boolean,default:!1}},setup(e){let t=e,{gridTemplateColumns:n,setScrollContainer:r,variant:i}=jD(),a=iO(null),o=(0,d.useTemplateRef)(`containerEl`);return(0,d.onMounted)(()=>{o.value!==null&&(r(o.value),a!==null&&(a.value=o.value))}),(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{ref_key:`containerEl`,ref:o,class:(0,d.normalizeClass)([{"rounded-xl border border-secondary":(0,d.unref)(i)===`contained`,"overflow-auto":!t.disableScroll},`max-h-full w-full contain-layout contain-paint outline-none`])},[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)({gridTemplateColumns:(0,d.unref)(n)}),class:`grid`},[(0,d.renderSlot)(e.$slots,`default`)],4),(0,d.renderSlot)(e.$slots,`outside-grid`)],2))}});function oO(e,t){let n=(0,w.useVirtualizer)((0,d.computed)(()=>({count:e.value,estimateSize:()=>40,getScrollElement:()=>t.value,overscan:5}))),r=(0,d.computed)(()=>n.value.getVirtualItems()),i=(0,d.computed)(()=>n.value.getTotalSize()),a=(0,d.computed)(()=>r.value.at(0)?.start??0);return{paddingAfterPx:(0,d.computed)(()=>{let e=r.value.at(-1);return e==null?0:i.value-e.end}),paddingBeforePx:a,virtualItems:r}}var sO=(0,d.defineComponent)({__name:`Table`,props:{isFetchingNextPage:{type:Boolean},isLoading:{type:Boolean},columns:{},data:{},error:{},getActionModel:{},getKey:{},getLink:{type:[Function,null],default:null},groupHeaderCells:{},hasActiveSearch:{type:Boolean},actionGroup:{},actions:{},activeFilterCount:{default:0},disableColumnResize:{type:Boolean},headerActions:{},variant:{},onNextPage:{}},emits:[`clearFilters`,`clearSearch`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),a=(0,d.shallowRef)(null);rO(a);let o=(0,d.computed)(()=>{if(n.data.length===0)return`flat`;let e=n.data[0];return`subGroups`in e?`with-sub-groups`:`items`in e?`grouped`:`flat`}),s=(0,d.computed)(()=>n.data),c=(0,d.computed)(()=>n.data),l=(0,d.computed)(()=>n.data),u=(0,d.computed)(()=>n.columns.map(e=>e.size??{max:`20rem`,min:`min-content`})),{paddingAfterPx:f,paddingBeforePx:p,virtualItems:h}=oO((0,d.computed)(()=>o.value===`flat`?s.value.length:0),a);(0,d.watch)(()=>n.data.length,(e,t)=>{e<t&&a.value?.scrollTo({top:0})});function g(){r(`clearFilters`),r(`clearSearch`)}return(t,r)=>((0,d.openBlock)(),(0,d.createBlock)(nO,{"column-sizes":u.value,actions:n.actions,"active-filter-count":n.activeFilterCount,"has-active-search":n.hasActiveSearch,"on-next-page":n.onNextPage,"is-initialized":n.data.length>0,"header-actions":n.headerActions,"action-group":n.actionGroup,"disable-column-resize":n.disableColumnResize,variant:n.variant,onClearFiltersAndSearch:g},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(aO,{"disable-scroll":n.data.length===0},{"outside-grid":(0,d.withCtx)(()=>[n.isLoading||n.isFetchingNextPage?((0,d.openBlock)(),(0,d.createBlock)(XD,{key:0})):(0,d.createCommentVNode)(``,!0),e.data.length>0?((0,d.openBlock)(),(0,d.createBlock)(YD,{key:1})):(0,d.createCommentVNode)(``,!0)]),default:(0,d.withCtx)(()=>[e.data.length>0||n.isLoading?((0,d.openBlock)(),(0,d.createBlock)(JD,{key:0},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.columns,(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(qD,{key:e.key,"column-index":t,"is-resizable":t<n.columns.length-1,label:e.headerLabel,"center-content":e.centerHeaderContent??!1,"action-config":e.actionConfig},null,8,[`column-index`,`is-resizable`,`label`,`center-content`,`action-config`]))),128))]),_:1})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)(OD,null,{default:(0,d.withCtx)(()=>[o.value===`flat`?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[(0,d.unref)(p)>0?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,style:(0,d.normalizeStyle)({height:`${(0,d.unref)(p)}px`}),class:`col-span-full`},null,4)):(0,d.createCommentVNode)(``,!0),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(h),e=>((0,d.openBlock)(),(0,d.createBlock)(UD,{key:n.getKey(s.value[e.index]),"action-model":n.getActionModel?.(s.value[e.index]),link:n.getLink?.(s.value[e.index])??null},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.columns,t=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.component(s.value[e.index])),{key:t.key}))),128))]),_:2},1032,[`action-model`,`link`]))),128)),(0,d.unref)(f)>0?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:1,style:(0,d.normalizeStyle)({height:`${(0,d.unref)(f)}px`}),class:`col-span-full`},null,4)):(0,d.createCommentVNode)(``,!0)],64)):o.value===`with-sub-groups`?((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:1},(0,d.renderList)(l.value,e=>((0,d.openBlock)(),(0,d.createBlock)(FD,{key:e.key,"default-open":e.defaultOpen,label:e.label},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.subGroups,e=>((0,d.openBlock)(),(0,d.createBlock)(KD,{key:e.key,"default-open":e.defaultOpen,label:e.label},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.items,e=>((0,d.openBlock)(),(0,d.createBlock)(UD,{key:n.getKey(e),"action-model":n.getActionModel?.(e),link:n.getLink?.(e)??null},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.columns,t=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.component(e)),{key:t.key}))),128))]),_:2},1032,[`action-model`,`link`]))),128))]),_:2},1032,[`default-open`,`label`]))),128))]),_:2},1032,[`default-open`,`label`]))),128)):((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:2},(0,d.renderList)(c.value,e=>((0,d.openBlock)(),(0,d.createBlock)(FD,{key:e.key,"default-open":e.defaultOpen,label:e.label,"header-cells":n.groupHeaderCells?.(e)},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.items,e=>((0,d.openBlock)(),(0,d.createBlock)(UD,{key:n.getKey(e),"action-model":n.getActionModel?.(e),link:n.getLink?.(e)??null},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.columns,t=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.component(e)),{key:t.key}))),128))]),_:2},1032,[`action-model`,`link`]))),128))]),_:2},1032,[`default-open`,`label`,`header-cells`]))),128))]),_:1})]),_:1},8,[`disable-scroll`]),n.error===null?n.data.length===0&&!n.isLoading?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[n.activeFilterCount>0||n.hasActiveSearch?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(hE),{key:0,"secondary-action":{type:`button`,label:(0,d.unref)(i).t(`component.table.empty_state.no_results.clear_filters_label`),onClick:g},title:(0,d.unref)(i).t(`component.table.empty_state.no_results.title`),description:(0,d.unref)(i).t(`component.table.empty_state.no_results.description`),illustration:`cloud-search`,class:`mx-auto h-full max-w-96 py-xl`},null,8,[`secondary-action`,`title`,`description`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(hE),{key:1,title:(0,d.unref)(i).t(`component.table.empty_state.no_data.title`),description:(0,d.unref)(i).t(`component.table.empty_state.no_data.description`),illustration:`cloud-search`,class:`mx-auto h-full max-w-96 py-xl`},null,8,[`title`,`description`]))],64)):(0,d.createCommentVNode)(``,!0):(0,d.renderSlot)(t.$slots,`error`,{key:0,error:n.error})]),_:3},8,[`column-sizes`,`actions`,`active-filter-count`,`has-active-search`,`on-next-page`,`is-initialized`,`header-actions`,`action-group`,`disable-column-resize`,`variant`]))}}),cO=(0,d.defineComponent)({__name:`TableBodyRowCellInteractiveElement`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,class:`pointer-events-auto`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),lO=(0,d.defineComponent)({__name:`TableBodyRowCellText`,props:{isPrimaryCell:{type:Boolean,default:!1},text:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`span`,{class:(0,d.normalizeClass)([{"font-medium":t.isPrimaryCell},`truncate text-xs text-secondary`])},(0,d.toDisplayString)(t.text),3))}}),uO={},dO={class:`last-of-type:pr-2xl last-of-type:pl-xl`};function fO(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,dO,[(0,d.renderSlot)(e.$slots,`default`)])}var pO=W(uO,[[`render`,fO]]);function mO(){let e=(0,d.ref)(null),t=(0,d.ref)(null),n=(0,d.ref)(null),r=(0,d.ref)(0),i=(0,d.ref)(0),a=(0,d.computed)(()=>n.value!==null);function o(t,a,o){e.value=o,n.value=t,r.value=a,i.value=o[t]}async function s(n,r,i){if(e.value===null){if(i===void 0)return;e.value=i}t.value=n,await(0,d.nextTick)();let a=r.getBoundingClientRect().width,o=[...e.value];o[n]=a,e.value=o,t.value=null}function c(t){if(t.length===0)return;let n=t[0].parentElement,r=n?.parentElement;if(r==null||n==null)return;let i=n.children.length;r.style.gridTemplateColumns=Array.from({length:i}).fill(`max-content`).join(` `);let a=t.map(e=>e.getBoundingClientRect().width),o=i>t.length+1,s=a.map(e=>`${e}px`).join(` `);r.style.gridTemplateColumns=o?`${s} minmax(min-content, auto) min-content`:`${s} minmax(min-content, auto)`,e.value=a}function l(){e.value=null,n.value=null,t.value=null}function u(t){if(n.value===null||e.value===null)return;let a=t.clientX-r.value,o=Math.max(50,i.value+a),s=[...e.value];s[n.value]=o,e.value=s}function f(){n.value!==null&&(n.value=null)}return document.addEventListener(`mousemove`,u),document.addEventListener(`mouseup`,f),(0,d.onBeforeUnmount)(()=>{document.removeEventListener(`mousemove`,u),document.removeEventListener(`mouseup`,f)}),{isResizingColumn:a,contentFitColumnIndex:t,fitAllColumnsToContent:c,fitColumnToContent:s,fixedWidths:e,resetWidths:l,startResize:o}}function hO(e,t,n){let r=(0,d.ref)(null);(0,d.watch)([n,t,e],([e,t])=>{e===null||!t||i(e)});async function i(e){r.value=null,await(0,d.nextTick)(),r.value=getComputedStyle(e).gridTemplateColumns}let a=0;return(0,h.useResizeObserver)(n,e=>{let t=e[0]?.borderBoxSize[0]?.inlineSize;t!==void 0&&t!==a&&(a=t,i(n.value))},{box:`border-box`}),{frozenColumns:r}}function gO(){return e=>e}var _O=(0,d.defineComponent)({__name:`TableCustomizationDialog`,props:{columnStates:{}},emits:[`close`,`columnStatesChange`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),a=(0,d.ref)(n.columnStates),o=(0,d.computed)(()=>a.value.filter(e=>e.isVisible).length);function s(e){e.isVisible=!e.isVisible,r(`columnStatesChange`,a.value)}function c(){r(`columnStatesChange`,a.value)}function l(){r(`close`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(F_),{size:`xs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(V_),{title:(0,d.unref)(i).t(`component.table_customization.dialog.title`),description:(0,d.unref)(i).t(`component.table_customization.dialog.description`)},null,8,[`title`,`description`]),(0,d.createVNode)((0,d.unref)(ex),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(T.VueDraggable),{modelValue:a.value,"onUpdate:modelValue":t[0]||=e=>a.value=e,animation:150,handle:`[data-drag-handle]`,class:`flex flex-col gap-y-md`,onEnd:c},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(a.value,e=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:e.column.key,class:`flex cursor-default items-center gap-x-md py-xs`},[(0,d.createVNode)((0,d.unref)(sn),{class:`size-4 shrink-0 cursor-grab text-fg-disabled duration-150 active:scale-90`,"data-drag-handle":``}),(0,d.createVNode)((0,d.unref)(G),{text:e.column.headerLabel,class:(0,d.normalizeClass)([{"text-secondary":e.isVisible,"text-fg-disabled":!e.isVisible},`text-xs font-medium duration-150`])},null,8,[`text`,`class`]),(0,d.createVNode)((0,d.unref)(mC),{"model-value":e.isVisible,"is-disabled":e.isVisible&&o.value===1,label:e.column.headerLabel,"is-label-hidden":!0,class:`ml-auto`,"onUpdate:modelValue":t=>s(e)},null,8,[`model-value`,`is-disabled`,`label`,`onUpdate:modelValue`])]))),128))]),_:1},8,[`modelValue`])]),_:1}),(0,d.createVNode)((0,d.unref)(I_),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(z_),{label:(0,d.unref)(i).t(`component.table_customization.dialog.done`),onClick:l},null,8,[`label`])]),_:1})]),_:1}))}});function vO(e){let t=(0,m.useI18n)(),n=N_().create(_O),r=(0,d.ref)(e.availableColumns.value.map(t=>({isVisible:e.initialState===void 0||e.initialState.length===0||e.initialState.includes(t.key),column:t})).sort((t,n)=>{if(e.initialState===void 0||e.initialState.length===0)return 0;let r=e.initialState.indexOf(t.column.key),i=e.initialState.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})),i=(0,d.computed)(()=>r.value.filter(e=>e.isVisible).map(e=>e.column)),a=(0,f.createAction)({id:`table-customization-dialog`,name:()=>t.t(`component.table_customization.action.name`),execute:()=>{n.open({columnStates:r.value,onColumnStatesChange:e=>{r.value=e}})},group:e.actionGroup,hint:()=>e.availableColumns.value.length-i.value.length===0?null:`${e.availableColumns.value.length-i.value.length} hidden`,icon:()=>Qt,keyboardShortcut:{key:`C`,shift:!0}});function o(t){r.value=e.availableColumns.value.map(e=>({isVisible:t.length===0||t.includes(e.key),column:e})).sort((e,n)=>{if(t.length===0)return 0;let r=t.indexOf(e.column.key),i=t.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})}return{customizedColumns:i,customizeTableAction:a,setState:o}}function yO(e){let t=(0,d.ref)(null),n=(0,d.ref)(!1),r=(0,d.ref)(!1),i=(0,d.ref)(!1);function a(e){t.value=e}function o(){let e=t.value;e!==null&&(n.value=e.scrollLeft>0,r.value=e.scrollLeft+e.clientWidth>=e.scrollWidth-1,i.value=e.scrollWidth>e.clientWidth)}function s(){t.value!==null&&t.value.scrollTo({behavior:`smooth`,left:t.value.scrollLeft-200})}function c(){t.value!==null&&t.value.scrollTo({behavior:`smooth`,left:t.value.scrollLeft+200})}function l(){if(t.value===null)return;let e=t.value.querySelector(`[role="tab"][data-state="active"]`)??null;if(e===null)return;let n=e.getBoundingClientRect(),r=t.value.getBoundingClientRect();if(!(n.left<r.left||n.right>r.right))return;let i=n.left-r.left+t.value.scrollLeft-r.width/2+n.width/2;t.value.scrollTo({behavior:`smooth`,left:i})}let u=null;return(0,d.watch)(e.activeValue,()=>{(0,d.nextTick)(()=>{l()})}),(0,d.onMounted)(()=>{t.value!==null&&(o(),t.value.addEventListener(`scroll`,o),u=new ResizeObserver(o),u.observe(t.value))}),(0,d.onBeforeUnmount)(()=>{t.value!==null&&t.value.removeEventListener(`scroll`,o),u?.disconnect()}),{hasHorizontalOverflow:(0,d.computed)(()=>i.value),hasReachedHorizontalEnd:(0,d.computed)(()=>r.value),isScrolledHorizontally:(0,d.computed)(()=>n.value),scrollToActiveTab:l,scrollToLeft:s,scrollToRight:c,setScrollContainerRef:a}}var[bO,xO]=L(`tabsContext`),SO=da({compoundVariants:[{isFullWidth:!0,class:{list:`w-auto`},variant:`button-border`}],slots:{base:`relative isolate overflow-hidden`,content:`outline-none`,dropdownIndicator:`absolute transition-opacity duration-200`,dropdownTrigger:`relative flex items-center justify-center`,indicator:`
|
|
922
|
+
`}}),TD=(0,d.defineComponent)({__name:`SwitchThumbIcon`,setup(e){let{isChecked:t,iconChecked:n,iconUnchecked:r,switchStyle:i}=CD(),a=(0,d.computed)(()=>t.value?n.value:r.value);return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.AnimatePresence),{initial:!1,mode:`popLayout`},{default:(0,d.withCtx)(()=>[a.value===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(g.Motion),{key:a.value?.name??String((0,d.unref)(t)),initial:{opacity:0,x:(0,d.unref)(t)?-8:8,filter:`blur(2px)`},animate:{opacity:1,scale:1,x:0,filter:`blur(0px)`},exit:{opacity:0,x:(0,d.unref)(t)?-8:8,filter:`blur(2px)`},transition:{duration:.25,type:`spring`,bounce:0}},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(a.value),{class:(0,d.normalizeClass)((0,d.unref)(i).thumbIcon())},null,8,[`class`]))]),_:1},8,[`initial`,`exit`]))]),_:1}))}}),ED=(0,d.defineComponent)({__name:`Switch`,props:(0,d.mergeModels)((0,d.mergeDefaults)({iconChecked:{},iconUnchecked:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{}},{...mv,...hv,iconChecked:null,iconUnchecked:null}),{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:(0,d.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,d.useModel)(e,`modelValue`),a=n.id??(0,d.useId)(),o=(0,d.computed)(()=>wD());return SD({isChecked:(0,d.computed)(()=>i.value),iconChecked:(0,d.computed)(()=>n.iconChecked??null),iconUnchecked:(0,d.computed)(()=>n.iconUnchecked??null),switchStyle:o}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(G,{"is-disabled":!n.isDisabled||n.disabledReason==null,label:n.disabledReason},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(L,{align:`start`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.SwitchRoot),{id:(0,d.unref)(a),modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,disabled:n.isDisabled,"data-invalid":n.errorMessage!==null&&n.errorMessage!==void 0||void 0,class:(0,d.normalizeClass)(o.value.root()),onBlur:t[1]||=e=>r(`blur`)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.SwitchThumb),{class:(0,d.normalizeClass)(o.value.thumb())},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(TD)]),_:1},8,[`class`])]),_:1},8,[`id`,`modelValue`,`disabled`,`data-invalid`,`class`]),(0,d.createElementVNode)(`div`,null,[n.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0,class:(0,d.normalizeClass)([n.isLabelHidden&&`sr-only`]),gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`left`),(0,d.createVNode)((0,d.unref)(W),{for:n.for??(0,d.unref)(a),text:n.label,class:(0,d.normalizeClass)((0,d.unref)(ca)(`text-xs/5 font-medium text-secondary`,n.isRequired?`after:pl-xxs after:text-error-primary`:``)),"data-label-required":n.isRequired?``:null,as:`label`},null,8,[`for`,`text`,`class`,`data-label-required`]),(0,d.renderSlot)(e.$slots,`right`)]),_:3},8,[`class`])),(0,d.createVNode)(Pv,{hint:n.hint,for:n.for},null,8,[`hint`,`for`]),n.hideErrorMessage?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)(Nv,{key:1,"error-message":n.errorMessage,for:n.for},null,8,[`error-message`,`for`]))])]),_:3})]),_:3},8,[`is-disabled`,`label`]))}}),DD=(0,d.defineComponent)({__name:`TableSubgrid`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{class:`col-span-full grid grid-cols-subgrid`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),OD=(0,d.defineComponent)({__name:`TableBody`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(DD,{class:`group/body`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),kD={GROUP:3,HEADER:4,SUBGROUP:2},[AD,jD]=I(`tableContext`),[MD,ND]=I(`tableGroupContext`),PD={class:`w-5`},FD=(0,d.defineComponent)({__name:`TableBodyGroup`,props:{defaultOpen:{type:Boolean,default:!0},headerCells:{},label:{}},setup(e){let t=e,{isScrolledFromLeft:n,registerGroup:r,unregisterGroup:i}=jD();return MD({isGroup:!0}),r(),(0,d.onBeforeUnmount)(()=>{i()}),(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.CollapsibleRoot),{as:DD,"default-open":t.defaultOpen,class:`group/collapsible`},{default:(0,d.withCtx)(({open:r})=>[(0,d.createVNode)(DD,{style:(0,d.normalizeStyle)({zIndex:(0,d.unref)(kD).GROUP}),class:`group/group sticky top-10 flex h-8 items-center group-data-[state=open]/collapsible:bg-secondary hover:bg-secondary has-focus-visible:bg-tertiary`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.CollapsibleTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,{class:(0,d.normalizeClass)([{"border-r border-secondary":(0,d.unref)(n)},`sticky left-0 z-1 size-full bg-primary px-2xl outline-none group-hover/group:bg-secondary group-has-focus-visible/group:bg-tertiary group-data-[state=open]/collapsible:bg-secondary`])},[(0,d.createVNode)((0,d.unref)(L),{gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,PD,[(0,d.createVNode)((0,d.unref)(Vt),{class:(0,d.normalizeClass)([{"-rotate-90":!r},`size-3.5 text-disabled duration-150 group-hover/group:text-secondary`])},null,8,[`class`])]),(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:`text-xs text-tertiary duration-150 group-hover/group:text-secondary`},null,8,[`text`])]),_:2},1024)],2)]),_:2},1024),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(t.headerCells,(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e),{key:t}))),128))]),_:2},1032,[`style`]),(0,d.createVNode)((0,d.unref)(p.CollapsibleContent),{as:DD,class:`origin-top-left overflow-clip data-[state=closed]:animate-[table-collapsible-up_150ms] data-[state=open]:animate-[table-collapsible-down_150ms]`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`default-open`]))}}),[ID,LD]=I(`tableBodyRowContext`),[RD,zD]=I(`tableSubGroupContext`),BD={class:`pointer-events-none relative z-1 flex size-full items-center`},VD=(0,d.defineComponent)({__name:`TableBodyRowCell`,setup(e){let{isScrolledFromLeft:t,variant:n}=jD(),{link:r}=LD({link:(0,d.computed)(()=>null)}),{isGroup:i}=ND({isGroup:!1}),{isSubGroup:a}=zD({isSubGroup:!1}),o=(0,d.computed)(()=>a?`first-of-type:pl-15`:i?`first-of-type:pl-10`:`first-of-type:pl-2xl`);return(e,i)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)([[{"first-of-type:border-r first-of-type:border-secondary":(0,d.unref)(t),"h-10":(0,d.unref)(n)===`full-page`,"h-9":(0,d.unref)(n)===`contained`},o.value],`relative flex items-center overflow-hidden bg-primary px-xl not-group-has-[[data-row-actions]_[data-state=open]]/row:group-hover/row:bg-secondary group-has-focus-visible/row:bg-tertiary first-of-type:sticky first-of-type:left-0 first-of-type:z-2 last-of-type:pr-2xl`])},[(0,d.unref)(r)===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(y.RouterLink),{key:0,to:(0,d.unref)(r),tabindex:`-1`,class:`absolute inset-0 z-0`},null,8,[`to`])),(0,d.createElementVNode)(`div`,BD,[(0,d.renderSlot)(e.$slots,`default`)])],2))}}),HD=(0,d.defineComponent)({__name:`TableBodyRowActionsCell`,props:{actionModel:{}},setup(e){let t=e,n=(0,m.useI18n)(),{actions:r}=jD();return(e,i)=>((0,d.openBlock)(),(0,d.createBlock)(VD,{class:`sticky right-0 z-1 flex items-center justify-end`,"data-row-actions":``},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Fo),{actions:(0,d.unref)(r),models:t.actionModel===null?[]:[t.actionModel],"current-context-only":!0,"popover-side":`bottom`,"popover-align":`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{"is-tooltip-disabled":!0,icon:(0,d.unref)(fn),label:(0,d.unref)(n).t(`component.table.actions_cell.label`),size:`sm`,variant:`tertiary`,class:`pointer-events-auto opacity-0 group-hover/row:opacity-100 group-has-focus-visible/row:opacity-100 group-has-[[data-row-actions]_[data-state=open]]/row:opacity-100 pointer-coarse:opacity-100`},null,8,[`icon`,`label`])]),_:1},8,[`actions`,`models`])]),_:1}))}}),UD=(0,d.defineComponent)({__name:`TableBodyRow`,props:{actionModel:{default:null},ariaLabel:{default:null},link:{default:null}},setup(e){let t=e,n=(0,m.useI18n)(),{isGroupingEnabled:r,actions:i}=jD();return ID({link:(0,d.computed)(()=>t.link)}),(a,o)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Eo),{actions:(0,d.unref)(i),"current-context-only":!0,models:t.actionModel===null?[]:[t.actionModel]},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Io),{actions:(0,d.unref)(i),models:t.actionModel===null?[]:[t.actionModel]},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(DD,{class:(0,d.normalizeClass)([{"border-b border-secondary has-[[data-row-actions]_[data-state=open]]:border-secondary/25 data-[state=open]:border-secondary/25":!(0,d.unref)(r)},`group/row relative isolate transition-[filter,opacity] duration-150 group-has-[[data-context-menu-trigger][data-state=open]]/body:opacity-25 group-has-[[data-row-actions]_[data-state=open]]/body:opacity-25 not-has-[[data-row-actions]_[data-state=open]]:hover:bg-secondary has-focus-visible:bg-tertiary has-[[data-row-actions]_[data-state=open]]:opacity-100 data-[state=open]:opacity-100!`])},{default:(0,d.withCtx)(()=>[e.link===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(y.RouterLink),{key:0,to:e.link,"aria-label":e.ariaLabel??(0,d.unref)(n).t(`component.table.row.view_details_label`),class:`pointer-events-none absolute inset-0 z-0 outline-none`},null,8,[`to`,`aria-label`])),(0,d.renderSlot)(a.$slots,`default`),(0,d.unref)(i).length>0?((0,d.openBlock)(),(0,d.createBlock)(HD,{key:1,"action-model":t.actionModel},null,8,[`action-model`])):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`class`])]),_:3},8,[`actions`,`models`])]),_:3},8,[`actions`,`models`]))}}),WD={class:`size-full px-5xl outline-none focus-visible:bg-tertiary`},GD={class:`w-5`},KD=(0,d.defineComponent)({__name:`TableBodySubGroup`,props:{defaultOpen:{type:Boolean,default:!0},label:{}},setup(e){let t=e;return RD({isSubGroup:!0}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.CollapsibleRoot),{as:DD,"default-open":t.defaultOpen},{default:(0,d.withCtx)(({open:n})=>[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)({zIndex:(0,d.unref)(kD).SUBGROUP}),class:`group/sub-group sticky top-18 col-span-full flex h-8 items-center bg-primary`},[(0,d.createVNode)((0,d.unref)(p.CollapsibleTrigger),{"as-child":!0},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,WD,[(0,d.createVNode)((0,d.unref)(L),{gap:`none`},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,GD,[(0,d.createVNode)((0,d.unref)(Vt),{class:(0,d.normalizeClass)([{"-rotate-90":!n},`size-3.5 text-disabled duration-150 group-hover/sub-group:text-secondary`])},null,8,[`class`])]),(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:`text-xs text-tertiary duration-150 group-hover/sub-group:text-secondary`},null,8,[`text`])]),_:2},1024)])]),_:2},1024)],4),(0,d.createVNode)((0,d.unref)(p.CollapsibleContent),{as:DD,class:`origin-top-left overflow-clip data-[state=closed]:animate-[table-collapsible-up_150ms] data-[state=open]:animate-[table-collapsible-down_150ms]`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`default-open`]))}}),qD=(0,d.defineComponent)({__name:`TableHeaderCell`,props:{isResizable:{type:Boolean,default:!0},actionConfig:{default:null},centerContent:{type:Boolean,default:!1},columnIndex:{},label:{}},setup(e){let t=e,n=(0,m.useI18n)(),{isColumnResizeDisabled:r,isGroupingEnabled:i,isResizingColumn:a,isScrolledFromLeft:o,onColumnResizeFitToContent:s,onColumnResizeStart:c}=jD(),l=(0,d.useTemplateRef)(`cellEl`);return(e,u)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{ref_key:`cellEl`,ref:l,class:(0,d.normalizeClass)([{"first-of-type:border-r first-of-type:border-secondary":(0,d.unref)(o),"justify-center":t.centerContent,"bg-secondary":!(0,d.unref)(i)},`group relative flex h-10 items-center overflow-hidden bg-primary px-xl first-of-type:sticky first-of-type:left-0 first-of-type:z-2 first-of-type:pl-2xl last-of-type:pr-2xl`])},[(0,d.createVNode)((0,d.unref)(L),{gap:`xs`},{default:(0,d.withCtx)(()=>[t.label===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:0,text:t.label,class:`text-xs font-medium text-primary`},null,8,[`text`])),(0,d.createVNode)((0,d.unref)(Fo),{actions:t.actionConfig?.actions??[],metadata:t.actionConfig?.metadata,"current-context-only":t.actionConfig?.currentContextOnly??!0,"popover-side":`bottom`,"popover-align":`end`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Q),{icon:(0,d.unref)(fn),"is-tooltip-disabled":t.actionConfig?.label===void 0,label:t.actionConfig?.label??(0,d.unref)(n).t(`component.table.header_cell.options_label`),size:`sm`,variant:`tertiary`},null,8,[`icon`,`is-tooltip-disabled`,`label`])]),_:1},8,[`actions`,`metadata`,`current-context-only`])]),_:1}),t.isResizable&&!(0,d.unref)(r)?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:`group/handle absolute top-0 right-0 z-10 flex h-full w-4 cursor-col-resize items-center justify-center select-none`,onMousedown:u[0]||=(0,d.withModifiers)(e=>(0,d.unref)(c)(t.columnIndex,e.clientX,l.value),[`prevent`]),onDblclick:u[1]||=(0,d.withModifiers)(e=>(0,d.unref)(s)(t.columnIndex,l.value),[`prevent`])},[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)([{"scale-92":(0,d.unref)(a)},`h-5 w-1 rounded-full bg-fg-disabled opacity-0 duration-150 group-hover/handle:opacity-100`])},null,2)],32)):(0,d.createCommentVNode)(``,!0)],2))}}),JD=(0,d.defineComponent)({__name:`TableHeader`,setup(e){let t=(0,m.useI18n)(),{isGroupingEnabled:n,actions:r,headerActions:i}=jD();return(e,a)=>((0,d.openBlock)(),(0,d.createBlock)(DD,{style:(0,d.normalizeStyle)({zIndex:(0,d.unref)(kD).HEADER}),class:(0,d.normalizeClass)([{"border-b border-secondary":!(0,d.unref)(n)},`sticky top-0`])},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`),(0,d.unref)(r).length>0||(0,d.unref)(i).length>0?((0,d.openBlock)(),(0,d.createBlock)(qD,{key:0,"column-index":0,"is-resizable":!1,label:null,"action-config":{actions:(0,d.unref)(i)??[],label:(0,d.unref)(t).t(`component.table.settings_label`),currentContextOnly:!1},class:`sticky right-0 z-1 h-full`},null,8,[`action-config`])):(0,d.createCommentVNode)(``,!0)]),_:3},8,[`style`,`class`]))}}),YD=(0,d.defineComponent)({__name:`TableHiddenResultsWarning`,setup(e){let t=(0,m.useI18n)(),{activeFilterCountIncludingSearch:n,onClearFiltersAndSearch:r}=jD();return(e,i)=>(0,d.unref)(n)>0?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(L),{key:0,class:`p-xl`,justify:`center`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(W),{text:(0,d.unref)(t).t(`component.table.hidden_results_warning.message`,{count:(0,d.unref)(n)}),class:`text-xs text-tertiary`},null,8,[`text`]),(0,d.createVNode)((0,d.unref)(Z),{label:(0,d.unref)(t).t(`component.table.empty_state.no_results.clear_filters_label`),size:`sm`,variant:`secondary`,onClick:(0,d.unref)(r)},null,8,[`label`,`onClick`])]),_:1})):(0,d.createCommentVNode)(``,!0)}}),XD=U((0,d.defineComponent)({__name:`TableLoading`,setup(e){let{gridTemplateColumns:t}=jD(),n=[`60%`,`70%`,`65%`,`75%`,`60%`,`70%`];function r(e,t){return n[(e*3+t)%n.length]}return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(DD,{style:(0,d.normalizeStyle)({gridTemplateColumns:(0,d.unref)(t)}),class:`z-10 grid w-full mask-b-to-transparent px-2xl`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(10,e=>(0,d.createVNode)(DD,{key:e,style:(0,d.normalizeStyle)({"--row-index":e-1}),class:`custom-skeleton-row py-lg`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(3,t=>(0,d.createVNode)((0,d.unref)(q),{key:t,style:(0,d.normalizeStyle)({maxWidth:r(e-1,t-1)}),class:`h-4`},null,8,[`style`])),64))]),_:2},1032,[`style`])),64))]),_:1},8,[`style`]))}}),[[`__scopeId`,`data-v-0577cb9a`]]),ZD={max:`auto`,min:`min-content`};function QD({max:e,min:t}){return e===`auto`?`minmax(${t}, auto)`:t===e?t:t===`min-content`?`fit-content(${e})`:`minmax(${t}, ${e})`}var $D=class{static columnSizesToGridTemplateColumns(e,t){let n=[...e.slice(0,-1),ZD].map(QD).join(` `);return t?`${n} min-content`:n}};function eO(e,t){return`${e.map((e,n)=>n===t?`max-content`:`${e}px`).join(` `)} minmax(min-content, auto) min-content`}function tO(e,t,n,r,i){let a=(0,d.ref)(null),o=(0,d.ref)(null),s=(0,d.ref)(null),c=(0,d.ref)(null),l=(0,d.ref)(0),u=(0,d.ref)(0),p=(0,d.computed)(()=>c.value!==null),g=(0,d.computed)(()=>o.value===null?a.value??_():eO(o.value,s.value));function _(){return $D.columnSizesToGridTemplateColumns(e.value,!0)}(0,d.watch)([t,n,e],([e,t])=>{e===null||!t||y(e)});let v=0;(0,h.useResizeObserver)(t,e=>{let n=e[0]?.borderBoxSize[0]?.inlineSize;n===void 0||n===v||(v=n,o.value===null&&t.value!==null&&y(t.value))},{box:`border-box`});async function y(e){a.value=null,await(0,d.nextTick)(),a.value=getComputedStyle(e).gridTemplateColumns}(0,d.watch)(()=>e.value.length,()=>{o.value=null,s.value=null,c.value=null});function b(t){return Array.from(t.parentElement?.children??[]).slice(0,e.value.length-1).map(e=>e.getBoundingClientRect().width)}function x(e,t,n){let r=b(n);o.value=r,c.value=e,l.value=t,u.value=r[e]}function S(e){if(c.value===null||o.value===null)return;let t=e.clientX-l.value,n=Math.max(50,u.value+t),r=[...o.value];r[c.value]=n,o.value=r}function C(){c.value=null}async function w(e,t){o.value===null&&(o.value=b(t)),s.value=e,await(0,d.nextTick)();let n=t.getBoundingClientRect().width,r=[...o.value];r[e]=n,o.value=r,s.value=null}function T(e){let n=t.value;if(e.length===0||n===null)return;let r=e.length+2;n.style.gridTemplateColumns=Array.from({length:r}).fill(`max-content`).join(` `);let i=e.map(e=>e.getBoundingClientRect().width);n.style.gridTemplateColumns=eO(i,null),o.value=i}document.addEventListener(`mousemove`,S),document.addEventListener(`mouseup`,C),(0,d.onBeforeUnmount)(()=>{document.removeEventListener(`mousemove`,S),document.removeEventListener(`mouseup`,C)});let ee=(0,m.useI18n)();function te(){let n=t.value?.children[0];return n===void 0?[]:Array.from(n.children).slice(0,e.value.length-1)}let E=(0,f.createAction)({id:`table-auto-fit-columns`,isApplicable:()=>!i.value,name:()=>ee.t(`component.table.auto_fit_columns_action.name`),execute:()=>T(te()),group:r.value??void 0,icon:()=>Qn});return(0,f.useTemporaryActions)(E),{isResizing:p,autoFitColumnsAction:E,fitColumnToContent:w,gridTemplateColumns:g,startColumnResize:x}}function nO(){let e=(0,d.ref)(!1),t=(0,d.ref)(!0);function n(n){e.value=n.scrollLeft>0,t.value=n.scrollLeft+n.clientWidth>=n.scrollWidth-1}function r(e){n(e),e.addEventListener(`scroll`,()=>n(e),{passive:!0})}return{isScrolledFromLeft:e,isScrolledToEnd:t,setScrollContainer:r}}var rO=(0,d.defineComponent)({__name:`TableRoot`,props:{hasActiveSearch:{type:Boolean,default:!1},isInitialized:{type:Boolean},actionGroup:{default:null},actions:{default:()=>[]},activeFilterCount:{default:0},columnSizes:{},disableColumnResize:{type:Boolean},headerActions:{default:()=>[]},variant:{default:`full-page`},onNextPage:{}},emits:[`clearFiltersAndSearch`],setup(e,{emit:t}){let n=e,r=t,i=(0,d.ref)(null),{isScrolledFromLeft:a,isScrolledToEnd:o,setScrollContainer:s}=nO(),c=(0,d.ref)(0),l=(0,d.computed)(()=>c.value>0),u=(0,d.computed)(()=>i.value?.children[0]??null),{isResizing:f,autoFitColumnsAction:p,fitColumnToContent:m,gridTemplateColumns:g,startColumnResize:_}=tO((0,d.computed)(()=>n.columnSizes),u,(0,d.computed)(()=>n.isInitialized),(0,d.computed)(()=>n.actionGroup),(0,d.computed)(()=>n.disableColumnResize)),v=(0,d.computed)(()=>(n.activeFilterCount??0)+ +!!n.hasActiveSearch);function y(){c.value+=1}function b(){--c.value}function x(){r(`clearFiltersAndSearch`)}return(0,h.useInfiniteScroll)(i,()=>{n.onNextPage?.()},{offset:{bottom:400}}),AD({isColumnResizeDisabled:(0,d.computed)(()=>n.disableColumnResize),isGroupingEnabled:(0,d.computed)(()=>l.value),isResizingColumn:f,isScrolledFromLeft:(0,d.computed)(()=>a.value),isScrolledToEnd:(0,d.computed)(()=>o.value),actions:(0,d.computed)(()=>n.actions),activeFilterCountIncludingSearch:v,gridTemplateColumns:g,headerActions:(0,d.computed)(()=>[...n.headerActions,p]),registerGroup:y,setScrollContainer:e=>{i.value=e,s(e)},unregisterGroup:b,variant:(0,d.computed)(()=>n.variant),onClearFiltersAndSearch:x,onColumnResizeFitToContent:m,onColumnResizeStart:_}),(e,t)=>(0,d.renderSlot)(e.$slots,`default`)}}),[iO,aO]=I(`tableScrollContainerContext`),oO=(0,d.defineComponent)({__name:`TableScrollContainer`,props:{disableScroll:{type:Boolean,default:!1}},setup(e){let t=e,{gridTemplateColumns:n,setScrollContainer:r,variant:i}=jD(),a=aO(null),o=(0,d.useTemplateRef)(`containerEl`);return(0,d.onMounted)(()=>{o.value!==null&&(r(o.value),a!==null&&(a.value=o.value))}),(e,r)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{ref_key:`containerEl`,ref:o,class:(0,d.normalizeClass)([{"rounded-xl border border-secondary":(0,d.unref)(i)===`contained`,"overflow-auto":!t.disableScroll},`max-h-full w-full contain-layout contain-paint outline-none`])},[(0,d.createElementVNode)(`div`,{style:(0,d.normalizeStyle)({gridTemplateColumns:(0,d.unref)(n)}),class:`grid`},[(0,d.renderSlot)(e.$slots,`default`)],4),(0,d.renderSlot)(e.$slots,`outside-grid`)],2))}});function sO(e,t){let n=(0,w.useVirtualizer)((0,d.computed)(()=>({count:e.value,estimateSize:()=>40,getScrollElement:()=>t.value,overscan:5}))),r=(0,d.computed)(()=>n.value.getVirtualItems()),i=(0,d.computed)(()=>n.value.getTotalSize()),a=(0,d.computed)(()=>r.value.at(0)?.start??0);return{paddingAfterPx:(0,d.computed)(()=>{let e=r.value.at(-1);return e==null?0:i.value-e.end}),paddingBeforePx:a,virtualItems:r}}var cO=(0,d.defineComponent)({__name:`Table`,props:{isFetchingNextPage:{type:Boolean},isLoading:{type:Boolean},columns:{},data:{},error:{},getActionModel:{},getKey:{},getLink:{type:[Function,null],default:null},groupHeaderCells:{},hasActiveSearch:{type:Boolean},actionGroup:{},actions:{},activeFilterCount:{default:0},disableColumnResize:{type:Boolean},headerActions:{},variant:{},onNextPage:{}},emits:[`clearFilters`,`clearSearch`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),a=(0,d.shallowRef)(null);iO(a);let o=(0,d.computed)(()=>{if(n.data.length===0)return`flat`;let e=n.data[0];return`subGroups`in e?`with-sub-groups`:`items`in e?`grouped`:`flat`}),s=(0,d.computed)(()=>n.data),c=(0,d.computed)(()=>n.data),l=(0,d.computed)(()=>n.data),u=(0,d.computed)(()=>n.columns.map(e=>e.size??{max:`20rem`,min:`min-content`})),{paddingAfterPx:f,paddingBeforePx:p,virtualItems:h}=sO((0,d.computed)(()=>o.value===`flat`?s.value.length:0),a);(0,d.watch)(()=>n.data.length,(e,t)=>{e<t&&a.value?.scrollTo({top:0})});function g(){r(`clearFilters`),r(`clearSearch`)}return(t,r)=>((0,d.openBlock)(),(0,d.createBlock)(rO,{"column-sizes":u.value,actions:n.actions,"active-filter-count":n.activeFilterCount,"has-active-search":n.hasActiveSearch,"on-next-page":n.onNextPage,"is-initialized":n.data.length>0,"header-actions":n.headerActions,"action-group":n.actionGroup,"disable-column-resize":n.disableColumnResize,variant:n.variant,onClearFiltersAndSearch:g},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(oO,{"disable-scroll":n.data.length===0},{"outside-grid":(0,d.withCtx)(()=>[n.isLoading||n.isFetchingNextPage?((0,d.openBlock)(),(0,d.createBlock)(XD,{key:0})):(0,d.createCommentVNode)(``,!0),e.data.length>0?((0,d.openBlock)(),(0,d.createBlock)(YD,{key:1})):(0,d.createCommentVNode)(``,!0)]),default:(0,d.withCtx)(()=>[e.data.length>0||n.isLoading?((0,d.openBlock)(),(0,d.createBlock)(JD,{key:0},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.columns,(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(qD,{key:e.key,"column-index":t,"is-resizable":t<n.columns.length-1,label:e.headerLabel,"center-content":e.centerHeaderContent??!1,"action-config":e.actionConfig},null,8,[`column-index`,`is-resizable`,`label`,`center-content`,`action-config`]))),128))]),_:1})):(0,d.createCommentVNode)(``,!0),(0,d.createVNode)(OD,null,{default:(0,d.withCtx)(()=>[o.value===`flat`?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[(0,d.unref)(p)>0?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,style:(0,d.normalizeStyle)({height:`${(0,d.unref)(p)}px`}),class:`col-span-full`},null,4)):(0,d.createCommentVNode)(``,!0),((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)((0,d.unref)(h),e=>((0,d.openBlock)(),(0,d.createBlock)(UD,{key:n.getKey(s.value[e.index]),"action-model":n.getActionModel?.(s.value[e.index]),link:n.getLink?.(s.value[e.index])??null},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.columns,t=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.component(s.value[e.index])),{key:t.key}))),128))]),_:2},1032,[`action-model`,`link`]))),128)),(0,d.unref)(f)>0?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:1,style:(0,d.normalizeStyle)({height:`${(0,d.unref)(f)}px`}),class:`col-span-full`},null,4)):(0,d.createCommentVNode)(``,!0)],64)):o.value===`with-sub-groups`?((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:1},(0,d.renderList)(l.value,e=>((0,d.openBlock)(),(0,d.createBlock)(FD,{key:e.key,"default-open":e.defaultOpen,label:e.label},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.subGroups,e=>((0,d.openBlock)(),(0,d.createBlock)(KD,{key:e.key,"default-open":e.defaultOpen,label:e.label},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.items,e=>((0,d.openBlock)(),(0,d.createBlock)(UD,{key:n.getKey(e),"action-model":n.getActionModel?.(e),link:n.getLink?.(e)??null},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.columns,t=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.component(e)),{key:t.key}))),128))]),_:2},1032,[`action-model`,`link`]))),128))]),_:2},1032,[`default-open`,`label`]))),128))]),_:2},1032,[`default-open`,`label`]))),128)):((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:2},(0,d.renderList)(c.value,e=>((0,d.openBlock)(),(0,d.createBlock)(FD,{key:e.key,"default-open":e.defaultOpen,label:e.label,"header-cells":n.groupHeaderCells?.(e)},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.items,e=>((0,d.openBlock)(),(0,d.createBlock)(UD,{key:n.getKey(e),"action-model":n.getActionModel?.(e),link:n.getLink?.(e)??null},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(n.columns,t=>((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.component(e)),{key:t.key}))),128))]),_:2},1032,[`action-model`,`link`]))),128))]),_:2},1032,[`default-open`,`label`,`header-cells`]))),128))]),_:1})]),_:1},8,[`disable-scroll`]),n.error===null?n.data.length===0&&!n.isLoading?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[n.activeFilterCount>0||n.hasActiveSearch?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(hE),{key:0,"secondary-action":{type:`button`,label:(0,d.unref)(i).t(`component.table.empty_state.no_results.clear_filters_label`),onClick:g},title:(0,d.unref)(i).t(`component.table.empty_state.no_results.title`),description:(0,d.unref)(i).t(`component.table.empty_state.no_results.description`),illustration:`cloud-search`,class:`mx-auto h-full max-w-96 py-xl`},null,8,[`secondary-action`,`title`,`description`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(hE),{key:1,title:(0,d.unref)(i).t(`component.table.empty_state.no_data.title`),description:(0,d.unref)(i).t(`component.table.empty_state.no_data.description`),illustration:`cloud-search`,class:`mx-auto h-full max-w-96 py-xl`},null,8,[`title`,`description`]))],64)):(0,d.createCommentVNode)(``,!0):(0,d.renderSlot)(t.$slots,`error`,{key:0,error:n.error})]),_:3},8,[`column-sizes`,`actions`,`active-filter-count`,`has-active-search`,`on-next-page`,`is-initialized`,`header-actions`,`action-group`,`disable-column-resize`,`variant`]))}}),lO=(0,d.defineComponent)({__name:`TableBodyRowCellInteractiveElement`,setup(e){return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.Primitive),{"as-child":!0,class:`pointer-events-auto`},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3}))}}),uO=(0,d.defineComponent)({__name:`TableBodyRowCellText`,props:{isPrimaryCell:{type:Boolean,default:!1},text:{}},setup(e){let t=e;return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`span`,{class:(0,d.normalizeClass)([{"font-medium":t.isPrimaryCell},`truncate text-xs text-secondary`])},(0,d.toDisplayString)(t.text),3))}}),dO={},fO={class:`last-of-type:pr-2xl last-of-type:pl-xl`};function pO(e,t){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,fO,[(0,d.renderSlot)(e.$slots,`default`)])}var mO=U(dO,[[`render`,pO]]);function hO(){let e=(0,d.ref)(null),t=(0,d.ref)(null),n=(0,d.ref)(null),r=(0,d.ref)(0),i=(0,d.ref)(0),a=(0,d.computed)(()=>n.value!==null);function o(t,a,o){e.value=o,n.value=t,r.value=a,i.value=o[t]}async function s(n,r,i){if(e.value===null){if(i===void 0)return;e.value=i}t.value=n,await(0,d.nextTick)();let a=r.getBoundingClientRect().width,o=[...e.value];o[n]=a,e.value=o,t.value=null}function c(t){if(t.length===0)return;let n=t[0].parentElement,r=n?.parentElement;if(r==null||n==null)return;let i=n.children.length;r.style.gridTemplateColumns=Array.from({length:i}).fill(`max-content`).join(` `);let a=t.map(e=>e.getBoundingClientRect().width),o=i>t.length+1,s=a.map(e=>`${e}px`).join(` `);r.style.gridTemplateColumns=o?`${s} minmax(min-content, auto) min-content`:`${s} minmax(min-content, auto)`,e.value=a}function l(){e.value=null,n.value=null,t.value=null}function u(t){if(n.value===null||e.value===null)return;let a=t.clientX-r.value,o=Math.max(50,i.value+a),s=[...e.value];s[n.value]=o,e.value=s}function f(){n.value!==null&&(n.value=null)}return document.addEventListener(`mousemove`,u),document.addEventListener(`mouseup`,f),(0,d.onBeforeUnmount)(()=>{document.removeEventListener(`mousemove`,u),document.removeEventListener(`mouseup`,f)}),{isResizingColumn:a,contentFitColumnIndex:t,fitAllColumnsToContent:c,fitColumnToContent:s,fixedWidths:e,resetWidths:l,startResize:o}}function gO(e,t,n){let r=(0,d.ref)(null);(0,d.watch)([n,t,e],([e,t])=>{e===null||!t||i(e)});async function i(e){r.value=null,await(0,d.nextTick)(),r.value=getComputedStyle(e).gridTemplateColumns}let a=0;return(0,h.useResizeObserver)(n,e=>{let t=e[0]?.borderBoxSize[0]?.inlineSize;t!==void 0&&t!==a&&(a=t,i(n.value))},{box:`border-box`}),{frozenColumns:r}}function _O(){return e=>e}var vO=(0,d.defineComponent)({__name:`TableCustomizationDialog`,props:{columnStates:{}},emits:[`close`,`columnStatesChange`],setup(e,{emit:t}){let n=e,r=t,i=(0,m.useI18n)(),a=(0,d.ref)(n.columnStates),o=(0,d.computed)(()=>a.value.filter(e=>e.isVisible).length);function s(e){e.isVisible=!e.isVisible,r(`columnStatesChange`,a.value)}function c(){r(`columnStatesChange`,a.value)}function l(){r(`close`)}return(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(F_),{size:`xs`},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(V_),{title:(0,d.unref)(i).t(`component.table_customization.dialog.title`),description:(0,d.unref)(i).t(`component.table_customization.dialog.description`)},null,8,[`title`,`description`]),(0,d.createVNode)((0,d.unref)(ex),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(T.VueDraggable),{modelValue:a.value,"onUpdate:modelValue":t[0]||=e=>a.value=e,animation:150,handle:`[data-drag-handle]`,class:`flex flex-col gap-y-md`,onEnd:c},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(a.value,e=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:e.column.key,class:`flex cursor-default items-center gap-x-md py-xs`},[(0,d.createVNode)((0,d.unref)(cn),{class:`size-4 shrink-0 cursor-grab text-fg-disabled duration-150 active:scale-90`,"data-drag-handle":``}),(0,d.createVNode)((0,d.unref)(W),{text:e.column.headerLabel,class:(0,d.normalizeClass)([{"text-secondary":e.isVisible,"text-fg-disabled":!e.isVisible},`text-xs font-medium duration-150`])},null,8,[`text`,`class`]),(0,d.createVNode)((0,d.unref)(mC),{"model-value":e.isVisible,"is-disabled":e.isVisible&&o.value===1,label:e.column.headerLabel,"is-label-hidden":!0,class:`ml-auto`,"onUpdate:modelValue":t=>s(e)},null,8,[`model-value`,`is-disabled`,`label`,`onUpdate:modelValue`])]))),128))]),_:1},8,[`modelValue`])]),_:1}),(0,d.createVNode)((0,d.unref)(I_),null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(z_),{label:(0,d.unref)(i).t(`component.table_customization.dialog.done`),onClick:l},null,8,[`label`])]),_:1})]),_:1}))}});function yO(e){let t=(0,m.useI18n)(),n=N_().create(vO),r=(0,d.ref)(e.availableColumns.value.map(t=>({isVisible:e.initialState===void 0||e.initialState.length===0||e.initialState.includes(t.key),column:t})).sort((t,n)=>{if(e.initialState===void 0||e.initialState.length===0)return 0;let r=e.initialState.indexOf(t.column.key),i=e.initialState.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})),i=(0,d.computed)(()=>r.value.filter(e=>e.isVisible).map(e=>e.column)),a=(0,f.createAction)({id:`table-customization-dialog`,name:()=>t.t(`component.table_customization.action.name`),execute:()=>{n.open({columnStates:r.value,onColumnStatesChange:e=>{r.value=e}})},group:e.actionGroup,hint:()=>e.availableColumns.value.length-i.value.length===0?null:`${e.availableColumns.value.length-i.value.length} hidden`,icon:()=>$t,keyboardShortcut:{key:`C`,shift:!0}});function o(t){r.value=e.availableColumns.value.map(e=>({isVisible:t.length===0||t.includes(e.key),column:e})).sort((e,n)=>{if(t.length===0)return 0;let r=t.indexOf(e.column.key),i=t.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})}return{customizedColumns:i,customizeTableAction:a,setState:o}}function bO(e){let t=(0,d.ref)(null),n=(0,d.ref)(!1),r=(0,d.ref)(!1),i=(0,d.ref)(!1);function a(e){t.value=e}function o(){let e=t.value;e!==null&&(n.value=e.scrollLeft>0,r.value=e.scrollLeft+e.clientWidth>=e.scrollWidth-1,i.value=e.scrollWidth>e.clientWidth)}function s(){t.value!==null&&t.value.scrollTo({behavior:`smooth`,left:t.value.scrollLeft-200})}function c(){t.value!==null&&t.value.scrollTo({behavior:`smooth`,left:t.value.scrollLeft+200})}function l(){if(t.value===null)return;let e=t.value.querySelector(`[role="tab"][data-state="active"]`)??null;if(e===null)return;let n=e.getBoundingClientRect(),r=t.value.getBoundingClientRect();if(!(n.left<r.left||n.right>r.right))return;let i=n.left-r.left+t.value.scrollLeft-r.width/2+n.width/2;t.value.scrollTo({behavior:`smooth`,left:i})}let u=null;return(0,d.watch)(e.activeValue,()=>{(0,d.nextTick)(()=>{l()})}),(0,d.onMounted)(()=>{t.value!==null&&(o(),t.value.addEventListener(`scroll`,o),u=new ResizeObserver(o),u.observe(t.value))}),(0,d.onBeforeUnmount)(()=>{t.value!==null&&t.value.removeEventListener(`scroll`,o),u?.disconnect()}),{hasHorizontalOverflow:(0,d.computed)(()=>i.value),hasReachedHorizontalEnd:(0,d.computed)(()=>r.value),isScrolledHorizontally:(0,d.computed)(()=>n.value),scrollToActiveTab:l,scrollToLeft:s,scrollToRight:c,setScrollContainerRef:a}}var[xO,SO]=I(`tabsContext`),CO=fa({compoundVariants:[{isFullWidth:!0,class:{list:`w-auto`},variant:`button-border`}],slots:{base:`relative isolate overflow-hidden`,content:`outline-none`,dropdownIndicator:`absolute transition-opacity duration-200`,dropdownTrigger:`relative flex items-center justify-center`,indicator:`
|
|
923
923
|
absolute duration-200
|
|
924
924
|
group-data-[orientation=horizontal]:bottom-0
|
|
925
925
|
group-data-[orientation=horizontal]:w-(--reka-tabs-indicator-size)
|
|
@@ -982,7 +982,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
982
982
|
border-secondary
|
|
983
983
|
data-[orientation=horizontal]:border-b
|
|
984
984
|
data-[orientation=vertical]:border-l
|
|
985
|
-
`}}}});function CO(e){let t=0;function n(){return t++}let r=(0,d.shallowRef)([]),i=(0,d.computed)(()=>r.value.find(t=>t.value===e.value)??null);function a(e){let t=n();return r.value=[...r.value,{...e,priority:t}],t}function o(e){r.value=r.value.filter(t=>t.value!==e)}return{activeTab:i,registerTab:a,tabs:r,unregisterTab:o}}function wO(){return`ontouchstart`in window||navigator.maxTouchPoints>0}var TO=(0,d.defineComponent)({__name:`Tabs`,props:(0,d.mergeModels)({isFullWidth:{type:Boolean,default:!1},orientation:{default:`horizontal`},underlineTabsHorizontalListPadding:{default:`none`},variant:{default:`underline`}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e;t.underlineTabsHorizontalListPadding!==`none`&&t.variant!==`underline`&&console.warn("[Tabs] `underlineTabsHorizontalListPadding` only applies to the `underline` variant.");let n=wO(),r=(0,d.useModel)(e,`modelValue`),{hasHorizontalOverflow:i,hasReachedHorizontalEnd:a,isScrolledHorizontally:o,scrollToActiveTab:s,scrollToLeft:c,scrollToRight:l,setScrollContainerRef:u}=yO({activeValue:(0,d.computed)(()=>r.value)}),f=(0,d.ref)(null);function m(e){f.value=e}function h(){return f.value}let g=(0,d.computed)(()=>SO({isFullWidth:t.isFullWidth,underlineTabsHorizontalListPadding:t.underlineTabsHorizontalListPadding,variant:t.variant}));(0,d.onMounted)(()=>{s()});let{activeTab:_,registerTab:v,tabs:y,unregisterTab:b}=CO((0,d.computed)(()=>r.value));return bO({...or(t),hasHorizontalOverflow:i,hasReachedHorizontalEnd:a,isScrolledHorizontally:o,isTouchDevice:n,activeTab:_,getAdaptiveDropdownRef:h,registerTab:v,scrollToLeft:c,scrollToRight:l,setAdaptiveDropdownRef:m,setScrollContainerRef:u,tabs:y,unregisterTab:b,variants:g}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsRoot),{modelValue:r.value,"onUpdate:modelValue":n[0]||=e=>r.value=e,orientation:t.orientation},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`modelValue`,`orientation`]))}}),EO=(0,d.defineComponent)({__name:`TabsContent`,props:{value:{}},setup(e){let t=e,{variants:n}=xO();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsContent),{value:t.value,class:(0,d.normalizeClass)((0,d.unref)(n).content())},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`value`,`class`]))}}),DO=(0,d.defineComponent)({__name:`TabsItem`,props:{isLabelHidden:{type:Boolean},count:{default:null},disabledReason:{default:null},icon:{default:void 0},label:{},value:{},isDisabled:{type:Boolean,default:!1}},setup(e){let t=e,{isTouchDevice:n,registerTab:r,unregisterTab:i,variants:a}=xO(),o=r({...t});return(0,d.onMounted)(()=>{}),(0,d.onBeforeUnmount)(()=>{i(t.value)}),(e,r)=>(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{key:1,"is-disabled":t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TabsTrigger),{value:t.value,disabled:t.isDisabled,class:(0,d.normalizeClass)((0,d.unref)(a).item())},{default:(0,d.withCtx)(()=>[t.icon==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-4 shrink-0`})),(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:(0,d.normalizeClass)([{"sr-only":t.isLabelHidden},`text-xs`])},null,8,[`text`,`class`]),t.count==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(VE),{key:1,value:t.count.toString(),size:`md`},null,8,[`value`]))]),_:1},8,[`value`,`disabled`,`class`])]),_:1})]),_:1},8,[`is-disabled`,`label`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{key:0,"is-disabled":t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Bo),{priority:(0,d.unref)(o)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TabsTrigger),{value:t.value,disabled:t.isDisabled,class:(0,d.normalizeClass)((0,d.unref)(a).item())},{default:(0,d.withCtx)(()=>[t.icon==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-4 shrink-0`})),(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:(0,d.normalizeClass)([{"sr-only":t.isLabelHidden},`text-xs`])},null,8,[`text`,`class`]),t.count==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(VE),{key:1,value:t.count.toString(),size:`md`},null,8,[`value`]))]),_:1},8,[`value`,`disabled`,`class`])]),_:1})]),_:1},8,[`priority`])]),_:1},8,[`is-disabled`,`label`]))}}),OO=(0,d.defineComponent)({__name:`TabsAdaptiveContentDropdownTriggerButton`,props:{activeButtonClasses:{},icon:{},label:{}},setup(e){let t=e;return(n,r)=>((0,d.openBlock)(),(0,d.createBlock)($,null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,{class:(0,d.normalizeClass)([[e.activeButtonClasses],`relative z-10 flex items-center gap-sm rounded-md px-md py-xs text-xs font-semibold duration-200`])},[t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-4 shrink-0`})),(0,d.createTextVNode)(` `+(0,d.toDisplayString)(t.label)+` `,1),(0,d.createVNode)((0,d.unref)(Bt),{class:`size-4`})],2)]),_:1}))}}),kO=(0,d.defineComponent)({__name:`TabsAdaptiveContentDropdown`,props:{hiddenTabsCount:{},tabs:{}},setup(e){let t=e,n=(0,m.useI18n)(),r=(0,d.ref)(null),i=(0,d.computed)(()=>[...t.tabs].slice(-t.hiddenTabsCount)),{activeTab:a,setAdaptiveDropdownRef:o,variant:s,variants:c}=xO(),{scheduleLayoutEvaluation:l}=Ro(),u=(0,d.computed)(()=>i.value.some(e=>e.value===a.value?.value)),f=(0,d.computed)(()=>u.value?a.value?.label??n.t(`component.tabs.adaptive_dropdown.trigger.label`):n.t(`component.tabs.adaptive_dropdown.trigger.label`)),h=(0,d.computed)(()=>u.value?a.value?.icon??null:null),g=(0,d.computed)(()=>({"bg-brand-primary text-brand-secondary":u.value&&s.value!==`button-border`,"text-quaternary":!u.value,"text-secondary":u.value&&s.value===`button-border`})),_=(0,p.injectTabsRootContext)();function v(e){_.changeModelValue(e)}return(0,d.watch)(a,()=>{l()}),(0,d.watch)(()=>t.hiddenTabsCount,()=>{if(t.hiddenTabsCount===0){o(null);return}o(r.value)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(vr,{"popover-align":`end`},{trigger:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{ref_key:`adaptiveDropdownRef`,ref:r,class:(0,d.normalizeClass)((0,d.unref)(c).dropdownTrigger())},[(0,d.createVNode)(OO,{"active-button-classes":g.value,label:f.value,icon:h.value},null,8,[`active-button-classes`,`label`,`icon`])],2)]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(q,{align:`center`,class:`w-full p-md`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(i.value,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuItem),{key:e.value,disabled:e.isDisabled,class:(0,d.normalizeClass)([(0,d.unref)(c).item({variant:`underline`}),`w-full`]),onSelect:()=>v(e.value)},{default:(0,d.withCtx)(()=>[e.icon==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.icon),{key:0,class:`size-4 shrink-0`})),e.label==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:1,text:e.label,class:`text-xs`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(e.label),1)]),_:2},1032,[`text`])),e.count==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(VE),{key:2,value:e.count.toString(),size:`md`},null,8,[`value`]))]),_:2},1032,[`disabled`,`class`,`onSelect`]))),128))]),_:1})]),_:1}))}}),AO=(0,d.defineComponent)({__name:`TabsIndicator`,props:{hiddenTabsCount:{},tabs:{}},setup(e){let t=e,{activeTab:n,getAdaptiveDropdownRef:r,variants:i}=xO(),a=(0,d.ref)(null),o=(0,d.computed)(()=>[...t.tabs].slice(-t.hiddenTabsCount)),s=(0,d.computed)(()=>o.value.some(e=>e.value===n.value?.value)),c=null,l=!1;function u(e){let t=r();t&&(l=!0,e.style.setProperty(`--reka-tabs-indicator-position`,`${t.offsetLeft}px`),e.style.setProperty(`--reka-tabs-indicator-size`,`${t.offsetWidth}px`),l=!1)}function f(){c?.disconnect(),c=null}return(0,d.watch)(s,e=>{e||f()}),(0,d.watch)(n,()=>{if(f(),t.hiddenTabsCount>0&&s.value){let e=a.value?.$el;if(!e)return;c=new MutationObserver(()=>{l||u(e)}),c.observe(e,{attributeFilter:[`style`],attributes:!0}),u(e)}}),(0,d.onBeforeUnmount)(()=>{f()}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsIndicator),{ref_key:`indicatorRef`,ref:a,class:(0,d.normalizeClass)((0,d.unref)(i).indicator())},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(i).indicatorInner())},null,2)]),_:1},8,[`class`]))}}),jO={key:0,class:`absolute top-0 left-0 z-20 flex h-full items-center bg-linear-to-r from-primary to-transparent`},MO=[`aria-label`],NO=[`data-orientation`],PO={class:`h-full`},FO={key:1,class:`absolute top-0 right-0 z-20 flex h-full items-center bg-linear-to-l from-primary to-transparent`},IO=[`aria-label`],LO=(0,d.defineComponent)({__name:`TabsList`,setup(e){let t=(0,m.useI18n)(),n=(0,d.ref)(null),{hasHorizontalOverflow:r,hasReachedHorizontalEnd:i,isScrolledHorizontally:a,isTouchDevice:o,orientation:s,scrollToLeft:c,scrollToRight:l,setScrollContainerRef:u,tabs:f,variants:h}=xO();return(0,d.onMounted)(()=>{if(n.value===null)throw Error(`scrollContainerRef is null`);u(n.value)}),(e,u)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(h).base())},[(0,d.unref)(o)&&(0,d.unref)(a)&&(0,d.unref)(r)&&(0,d.unref)(s)===`horizontal`?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,jO,[(0,d.createElementVNode)(`button`,{"aria-label":(0,d.unref)(t).t(`component.tabs.scroll_left`),class:`flex size-7 items-center justify-center rounded-md bg-primary text-secondary hover:bg-primary-hover`,tabindex:`-1`,type:`button`,onClick:u[0]||=(...e)=>(0,d.unref)(c)&&(0,d.unref)(c)(...e)},[...u[2]||=[(0,d.createElementVNode)(`svg`,{"aria-hidden":`true`,class:`size-4`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[(0,d.createElementVNode)(`path`,{d:`m15 18-6-6 6-6`})],-1)]],8,MO)])):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,{ref_key:`scrollContainerRef`,ref:n,class:(0,d.normalizeClass)((0,d.unref)(h).scrollContainer()),"data-orientation":(0,d.unref)(s)},[(0,d.unref)(o)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsList),{key:1,class:(0,d.normalizeClass)((0,d.unref)(h).list())},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`),(0,d.createVNode)((0,d.unref)(p.TabsIndicator),{class:(0,d.normalizeClass)((0,d.unref)(h).indicator())},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(h).indicatorInner())},null,2)]),_:1},8,[`class`])]),_:3},8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(zo),{key:0},{default:(0,d.withCtx)(({hiddenBlockCount:t})=>[(0,d.createElementVNode)(`div`,PO,[(0,d.createVNode)((0,d.unref)(p.TabsList),{class:(0,d.normalizeClass)((0,d.unref)(h).list())},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`),(0,d.createVNode)(AO,{"hidden-tabs-count":t,tabs:(0,d.unref)(f)},null,8,[`hidden-tabs-count`,`tabs`]),t>0?((0,d.openBlock)(),(0,d.createBlock)(kO,{key:0,"hidden-tabs-count":t,tabs:(0,d.unref)(f)},null,8,[`hidden-tabs-count`,`tabs`])):(0,d.createCommentVNode)(``,!0)]),_:2},1032,[`class`])])]),_:3}))],10,NO),(0,d.unref)(o)&&!(0,d.unref)(i)&&(0,d.unref)(r)&&(0,d.unref)(s)===`horizontal`?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,FO,[(0,d.createElementVNode)(`button`,{"aria-label":(0,d.unref)(t).t(`component.tabs.scroll_right`),class:`flex size-7 items-center justify-center rounded-md bg-primary text-secondary hover:bg-primary-hover`,tabindex:`-1`,type:`button`,onClick:u[1]||=(...e)=>(0,d.unref)(l)&&(0,d.unref)(l)(...e)},[...u[3]||=[(0,d.createElementVNode)(`svg`,{"aria-hidden":`true`,class:`size-4`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[(0,d.createElementVNode)(`path`,{d:`m9 18 6-6-6-6`})],-1)]],8,IO)])):(0,d.createCommentVNode)(``,!0)],2))}}),RO=(0,d.defineComponent)({__name:`TabsRouterLink`,props:{isFullWidth:{type:Boolean,default:!1},orientation:{default:`horizontal`},underlineTabsHorizontalListPadding:{default:`none`},variant:{default:`underline`}},setup(e){let t=e;t.underlineTabsHorizontalListPadding!==`none`&&t.variant!==`underline`&&console.warn("[TabsRouterLink] `underlineTabsHorizontalListPadding` only applies to the `underline` variant.");let n=(0,y.useRoute)(),r=(0,y.useRouter)(),i=(0,d.computed)(()=>n.name),a=wO();function o(e){e!==i.value&&r.replace({name:e})}let{hasHorizontalOverflow:s,hasReachedHorizontalEnd:c,isScrolledHorizontally:l,scrollToActiveTab:u,scrollToLeft:f,scrollToRight:m,setScrollContainerRef:h}=yO({activeValue:i}),g=(0,d.computed)(()=>SO({isFullWidth:t.isFullWidth,underlineTabsHorizontalListPadding:t.underlineTabsHorizontalListPadding,variant:t.variant}));(0,d.onMounted)(()=>{u()});let{activeTab:_,registerTab:v,tabs:b,unregisterTab:x}=CO(i),S=(0,d.ref)(null);function C(e){S.value=e}function w(){return S.value}return bO({isTouchDevice:a,...or(t),hasHorizontalOverflow:s,hasReachedHorizontalEnd:c,isScrolledHorizontally:l,activeTab:_,getAdaptiveDropdownRef:w,registerTab:v,scrollToLeft:f,scrollToRight:m,setAdaptiveDropdownRef:C,setScrollContainerRef:h,tabs:b,unregisterTab:x,variants:g}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsRoot),{"model-value":i.value,orientation:t.orientation,"onUpdate:modelValue":o},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(LO,null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`model-value`,`orientation`]))}}),zO=(0,d.defineComponent)({__name:`TabsRouterLinkItem`,props:{isLabelHidden:{type:Boolean},count:{default:null},disabledReason:{default:null},icon:{default:void 0},label:{},to:{},isDisabled:{type:Boolean,default:!1}},setup(e){let t=e,{isTouchDevice:n,registerTab:r,unregisterTab:i,variants:a}=xO(),o=(0,y.useRouter)(),s=(0,d.computed)(()=>o.resolve(t.to).name),c=r({...t,isDisabled:t.isDisabled,icon:t.icon,value:s.value});return(0,d.onBeforeUnmount)(()=>{i(s.value)}),(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(K),{"is-disabled":t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)((0,d.unref)(n)?`div`:(0,d.unref)(Bo)),{priority:(0,d.unref)(c)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TabsTrigger),{value:s.value,disabled:t.isDisabled,"as-child":!0,class:(0,d.normalizeClass)((0,d.unref)(a).item())},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(y.RouterLink),{to:t.to,replace:!0},{default:(0,d.withCtx)(()=>[t.icon==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-4 shrink-0`})),(0,d.createVNode)((0,d.unref)(G),{text:t.label,class:(0,d.normalizeClass)([{"sr-only":t.isLabelHidden},`text-xs`])},null,8,[`text`,`class`]),t.count==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(VE),{key:1,value:t.count.toString(),size:`md`},null,8,[`value`]))]),_:1},8,[`to`])]),_:1},8,[`value`,`disabled`,`class`])]),_:1})]),_:1},8,[`priority`]))]),_:1},8,[`is-disabled`,`label`]))}}),BO=U({slots:{root:`
|
|
985
|
+
`}}}});function wO(e){let t=0;function n(){return t++}let r=(0,d.shallowRef)([]),i=(0,d.computed)(()=>r.value.find(t=>t.value===e.value)??null);function a(e){let t=n();return r.value=[...r.value,{...e,priority:t}],t}function o(e){r.value=r.value.filter(t=>t.value!==e)}return{activeTab:i,registerTab:a,tabs:r,unregisterTab:o}}function TO(){return`ontouchstart`in window||navigator.maxTouchPoints>0}var EO=(0,d.defineComponent)({__name:`Tabs`,props:(0,d.mergeModels)({isFullWidth:{type:Boolean,default:!1},orientation:{default:`horizontal`},underlineTabsHorizontalListPadding:{default:`none`},variant:{default:`underline`}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e;t.underlineTabsHorizontalListPadding!==`none`&&t.variant!==`underline`&&console.warn("[Tabs] `underlineTabsHorizontalListPadding` only applies to the `underline` variant.");let n=TO(),r=(0,d.useModel)(e,`modelValue`),{hasHorizontalOverflow:i,hasReachedHorizontalEnd:a,isScrolledHorizontally:o,scrollToActiveTab:s,scrollToLeft:c,scrollToRight:l,setScrollContainerRef:u}=bO({activeValue:(0,d.computed)(()=>r.value)}),f=(0,d.ref)(null);function m(e){f.value=e}function h(){return f.value}let g=(0,d.computed)(()=>CO({isFullWidth:t.isFullWidth,underlineTabsHorizontalListPadding:t.underlineTabsHorizontalListPadding,variant:t.variant}));(0,d.onMounted)(()=>{s()});let{activeTab:_,registerTab:v,tabs:y,unregisterTab:b}=wO((0,d.computed)(()=>r.value));return xO({...sr(t),hasHorizontalOverflow:i,hasReachedHorizontalEnd:a,isScrolledHorizontally:o,isTouchDevice:n,activeTab:_,getAdaptiveDropdownRef:h,registerTab:v,scrollToLeft:c,scrollToRight:l,setAdaptiveDropdownRef:m,setScrollContainerRef:u,tabs:y,unregisterTab:b,variants:g}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsRoot),{modelValue:r.value,"onUpdate:modelValue":n[0]||=e=>r.value=e,orientation:t.orientation},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`modelValue`,`orientation`]))}}),DO=(0,d.defineComponent)({__name:`TabsContent`,props:{value:{}},setup(e){let t=e,{variants:n}=SO();return(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsContent),{value:t.value,class:(0,d.normalizeClass)((0,d.unref)(n).content())},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3},8,[`value`,`class`]))}}),OO=(0,d.defineComponent)({__name:`TabsItem`,props:{isLabelHidden:{type:Boolean},count:{default:null},disabledReason:{default:null},icon:{default:void 0},label:{},value:{},isDisabled:{type:Boolean,default:!1}},setup(e){let t=e,{isTouchDevice:n,registerTab:r,unregisterTab:i,variants:a}=SO(),o=r({...t});return(0,d.onMounted)(()=>{}),(0,d.onBeforeUnmount)(()=>{i(t.value)}),(e,r)=>(0,d.unref)(n)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:1,"is-disabled":t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TabsTrigger),{value:t.value,disabled:t.isDisabled,class:(0,d.normalizeClass)((0,d.unref)(a).item())},{default:(0,d.withCtx)(()=>[t.icon==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-4 shrink-0`})),(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:(0,d.normalizeClass)([{"sr-only":t.isLabelHidden},`text-xs`])},null,8,[`text`,`class`]),t.count==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(VE),{key:1,value:t.count.toString(),size:`md`},null,8,[`value`]))]),_:1},8,[`value`,`disabled`,`class`])]),_:1})]),_:1},8,[`is-disabled`,`label`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{key:0,"is-disabled":t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(Vo),{priority:(0,d.unref)(o)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TabsTrigger),{value:t.value,disabled:t.isDisabled,class:(0,d.normalizeClass)((0,d.unref)(a).item())},{default:(0,d.withCtx)(()=>[t.icon==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-4 shrink-0`})),(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:(0,d.normalizeClass)([{"sr-only":t.isLabelHidden},`text-xs`])},null,8,[`text`,`class`]),t.count==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(VE),{key:1,value:t.count.toString(),size:`md`},null,8,[`value`]))]),_:1},8,[`value`,`disabled`,`class`])]),_:1})]),_:1},8,[`priority`])]),_:1},8,[`is-disabled`,`label`]))}}),kO=(0,d.defineComponent)({__name:`TabsAdaptiveContentDropdownTriggerButton`,props:{activeButtonClasses:{},icon:{},label:{}},setup(e){let t=e;return(n,r)=>((0,d.openBlock)(),(0,d.createBlock)($,null,{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`button`,{class:(0,d.normalizeClass)([[e.activeButtonClasses],`relative z-10 flex items-center gap-sm rounded-md px-md py-xs text-xs font-semibold duration-200`])},[t.icon===null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-4 shrink-0`})),(0,d.createTextVNode)(` `+(0,d.toDisplayString)(t.label)+` `,1),(0,d.createVNode)((0,d.unref)(Vt),{class:`size-4`})],2)]),_:1}))}}),AO=(0,d.defineComponent)({__name:`TabsAdaptiveContentDropdown`,props:{hiddenTabsCount:{},tabs:{}},setup(e){let t=e,n=(0,m.useI18n)(),r=(0,d.ref)(null),i=(0,d.computed)(()=>[...t.tabs].slice(-t.hiddenTabsCount)),{activeTab:a,setAdaptiveDropdownRef:o,variant:s,variants:c}=SO(),{scheduleLayoutEvaluation:l}=zo(),u=(0,d.computed)(()=>i.value.some(e=>e.value===a.value?.value)),f=(0,d.computed)(()=>u.value?a.value?.label??n.t(`component.tabs.adaptive_dropdown.trigger.label`):n.t(`component.tabs.adaptive_dropdown.trigger.label`)),h=(0,d.computed)(()=>u.value?a.value?.icon??null:null),g=(0,d.computed)(()=>({"bg-brand-primary text-brand-secondary":u.value&&s.value!==`button-border`,"text-quaternary":!u.value,"text-secondary":u.value&&s.value===`button-border`})),_=(0,p.injectTabsRootContext)();function v(e){_.changeModelValue(e)}return(0,d.watch)(a,()=>{l()}),(0,d.watch)(()=>t.hiddenTabsCount,()=>{if(t.hiddenTabsCount===0){o(null);return}o(r.value)}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)(yr,{"popover-align":`end`},{trigger:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{ref_key:`adaptiveDropdownRef`,ref:r,class:(0,d.normalizeClass)((0,d.unref)(c).dropdownTrigger())},[(0,d.createVNode)(kO,{"active-button-classes":g.value,label:f.value,icon:h.value},null,8,[`active-button-classes`,`label`,`icon`])],2)]),content:(0,d.withCtx)(()=>[(0,d.createVNode)(K,{align:`center`,class:`w-full p-md`},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(i.value,e=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.DropdownMenuItem),{key:e.value,disabled:e.isDisabled,class:(0,d.normalizeClass)([(0,d.unref)(c).item({variant:`underline`}),`w-full`]),onSelect:()=>v(e.value)},{default:(0,d.withCtx)(()=>[e.icon==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.icon),{key:0,class:`size-4 shrink-0`})),e.label==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(W),{key:1,text:e.label,class:`text-xs`},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(e.label),1)]),_:2},1032,[`text`])),e.count==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(VE),{key:2,value:e.count.toString(),size:`md`},null,8,[`value`]))]),_:2},1032,[`disabled`,`class`,`onSelect`]))),128))]),_:1})]),_:1}))}}),jO=(0,d.defineComponent)({__name:`TabsIndicator`,props:{hiddenTabsCount:{},tabs:{}},setup(e){let t=e,{activeTab:n,getAdaptiveDropdownRef:r,variants:i}=SO(),a=(0,d.ref)(null),o=(0,d.computed)(()=>[...t.tabs].slice(-t.hiddenTabsCount)),s=(0,d.computed)(()=>o.value.some(e=>e.value===n.value?.value)),c=null,l=!1;function u(e){let t=r();t&&(l=!0,e.style.setProperty(`--reka-tabs-indicator-position`,`${t.offsetLeft}px`),e.style.setProperty(`--reka-tabs-indicator-size`,`${t.offsetWidth}px`),l=!1)}function f(){c?.disconnect(),c=null}return(0,d.watch)(s,e=>{e||f()}),(0,d.watch)(n,()=>{if(f(),t.hiddenTabsCount>0&&s.value){let e=a.value?.$el;if(!e)return;c=new MutationObserver(()=>{l||u(e)}),c.observe(e,{attributeFilter:[`style`],attributes:!0}),u(e)}}),(0,d.onBeforeUnmount)(()=>{f()}),(e,t)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsIndicator),{ref_key:`indicatorRef`,ref:a,class:(0,d.normalizeClass)((0,d.unref)(i).indicator())},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(i).indicatorInner())},null,2)]),_:1},8,[`class`]))}}),MO={key:0,class:`absolute top-0 left-0 z-20 flex h-full items-center bg-linear-to-r from-primary to-transparent`},NO=[`aria-label`],PO=[`data-orientation`],FO={class:`h-full`},IO={key:1,class:`absolute top-0 right-0 z-20 flex h-full items-center bg-linear-to-l from-primary to-transparent`},LO=[`aria-label`],RO=(0,d.defineComponent)({__name:`TabsList`,setup(e){let t=(0,m.useI18n)(),n=(0,d.ref)(null),{hasHorizontalOverflow:r,hasReachedHorizontalEnd:i,isScrolledHorizontally:a,isTouchDevice:o,orientation:s,scrollToLeft:c,scrollToRight:l,setScrollContainerRef:u,tabs:f,variants:h}=SO();return(0,d.onMounted)(()=>{if(n.value===null)throw Error(`scrollContainerRef is null`);u(n.value)}),(e,u)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(h).base())},[(0,d.unref)(o)&&(0,d.unref)(a)&&(0,d.unref)(r)&&(0,d.unref)(s)===`horizontal`?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,MO,[(0,d.createElementVNode)(`button`,{"aria-label":(0,d.unref)(t).t(`component.tabs.scroll_left`),class:`flex size-7 items-center justify-center rounded-md bg-primary text-secondary hover:bg-primary-hover`,tabindex:`-1`,type:`button`,onClick:u[0]||=(...e)=>(0,d.unref)(c)&&(0,d.unref)(c)(...e)},[...u[2]||=[(0,d.createElementVNode)(`svg`,{"aria-hidden":`true`,class:`size-4`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[(0,d.createElementVNode)(`path`,{d:`m15 18-6-6 6-6`})],-1)]],8,NO)])):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,{ref_key:`scrollContainerRef`,ref:n,class:(0,d.normalizeClass)((0,d.unref)(h).scrollContainer()),"data-orientation":(0,d.unref)(s)},[(0,d.unref)(o)?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsList),{key:1,class:(0,d.normalizeClass)((0,d.unref)(h).list())},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`),(0,d.createVNode)((0,d.unref)(p.TabsIndicator),{class:(0,d.normalizeClass)((0,d.unref)(h).indicator())},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)((0,d.unref)(h).indicatorInner())},null,2)]),_:1},8,[`class`])]),_:3},8,[`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(Bo),{key:0},{default:(0,d.withCtx)(({hiddenBlockCount:t})=>[(0,d.createElementVNode)(`div`,FO,[(0,d.createVNode)((0,d.unref)(p.TabsList),{class:(0,d.normalizeClass)((0,d.unref)(h).list())},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`),(0,d.createVNode)(jO,{"hidden-tabs-count":t,tabs:(0,d.unref)(f)},null,8,[`hidden-tabs-count`,`tabs`]),t>0?((0,d.openBlock)(),(0,d.createBlock)(AO,{key:0,"hidden-tabs-count":t,tabs:(0,d.unref)(f)},null,8,[`hidden-tabs-count`,`tabs`])):(0,d.createCommentVNode)(``,!0)]),_:2},1032,[`class`])])]),_:3}))],10,PO),(0,d.unref)(o)&&!(0,d.unref)(i)&&(0,d.unref)(r)&&(0,d.unref)(s)===`horizontal`?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,IO,[(0,d.createElementVNode)(`button`,{"aria-label":(0,d.unref)(t).t(`component.tabs.scroll_right`),class:`flex size-7 items-center justify-center rounded-md bg-primary text-secondary hover:bg-primary-hover`,tabindex:`-1`,type:`button`,onClick:u[1]||=(...e)=>(0,d.unref)(l)&&(0,d.unref)(l)(...e)},[...u[3]||=[(0,d.createElementVNode)(`svg`,{"aria-hidden":`true`,class:`size-4`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[(0,d.createElementVNode)(`path`,{d:`m9 18 6-6-6-6`})],-1)]],8,LO)])):(0,d.createCommentVNode)(``,!0)],2))}}),zO=(0,d.defineComponent)({__name:`TabsRouterLink`,props:{isFullWidth:{type:Boolean,default:!1},orientation:{default:`horizontal`},underlineTabsHorizontalListPadding:{default:`none`},variant:{default:`underline`}},setup(e){let t=e;t.underlineTabsHorizontalListPadding!==`none`&&t.variant!==`underline`&&console.warn("[TabsRouterLink] `underlineTabsHorizontalListPadding` only applies to the `underline` variant.");let n=(0,y.useRoute)(),r=(0,y.useRouter)(),i=(0,d.computed)(()=>n.name),a=TO();function o(e){e!==i.value&&r.replace({name:e})}let{hasHorizontalOverflow:s,hasReachedHorizontalEnd:c,isScrolledHorizontally:l,scrollToActiveTab:u,scrollToLeft:f,scrollToRight:m,setScrollContainerRef:h}=bO({activeValue:i}),g=(0,d.computed)(()=>CO({isFullWidth:t.isFullWidth,underlineTabsHorizontalListPadding:t.underlineTabsHorizontalListPadding,variant:t.variant}));(0,d.onMounted)(()=>{u()});let{activeTab:_,registerTab:v,tabs:b,unregisterTab:x}=wO(i),S=(0,d.ref)(null);function C(e){S.value=e}function w(){return S.value}return xO({isTouchDevice:a,...sr(t),hasHorizontalOverflow:s,hasReachedHorizontalEnd:c,isScrolledHorizontally:l,activeTab:_,getAdaptiveDropdownRef:w,registerTab:v,scrollToLeft:f,scrollToRight:m,setAdaptiveDropdownRef:C,setScrollContainerRef:h,tabs:b,unregisterTab:x,variants:g}),(e,n)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TabsRoot),{"model-value":i.value,orientation:t.orientation,"onUpdate:modelValue":o},{default:(0,d.withCtx)(()=>[(0,d.createVNode)(RO,null,{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`model-value`,`orientation`]))}}),BO=(0,d.defineComponent)({__name:`TabsRouterLinkItem`,props:{isLabelHidden:{type:Boolean},count:{default:null},disabledReason:{default:null},icon:{default:void 0},label:{},to:{},isDisabled:{type:Boolean,default:!1}},setup(e){let t=e,{isTouchDevice:n,registerTab:r,unregisterTab:i,variants:a}=SO(),o=(0,y.useRouter)(),s=(0,d.computed)(()=>o.resolve(t.to).name),c=r({...t,isDisabled:t.isDisabled,icon:t.icon,value:s.value});return(0,d.onBeforeUnmount)(()=>{i(s.value)}),(e,r)=>((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(G),{"is-disabled":t.disabledReason==null,label:t.disabledReason},{default:(0,d.withCtx)(()=>[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)((0,d.unref)(n)?`div`:(0,d.unref)(Vo)),{priority:(0,d.unref)(c)},{default:(0,d.withCtx)(()=>[(0,d.createVNode)($,null,{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TabsTrigger),{value:s.value,disabled:t.isDisabled,"as-child":!0,class:(0,d.normalizeClass)((0,d.unref)(a).item())},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(y.RouterLink),{to:t.to,replace:!0},{default:(0,d.withCtx)(()=>[t.icon==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-4 shrink-0`})),(0,d.createVNode)((0,d.unref)(W),{text:t.label,class:(0,d.normalizeClass)([{"sr-only":t.isLabelHidden},`text-xs`])},null,8,[`text`,`class`]),t.count==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(VE),{key:1,value:t.count.toString(),size:`md`},null,8,[`value`]))]),_:1},8,[`to`])]),_:1},8,[`value`,`disabled`,`class`])]),_:1})]),_:1},8,[`priority`]))]),_:1},8,[`is-disabled`,`label`]))}}),VO=H({slots:{root:`
|
|
986
986
|
group/textarea-field inline-flex w-full flex-col overflow-hidden
|
|
987
987
|
rounded-md border border-secondary bg-primary shadow-xs outline
|
|
988
988
|
outline-transparent duration-100
|
|
@@ -999,7 +999,7 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
999
999
|
read-only:cursor-default
|
|
1000
1000
|
disabled:cursor-not-allowed disabled:text-disabled
|
|
1001
1001
|
disabled:placeholder:text-fg-disabled-subtle
|
|
1002
|
-
`},variants:{resize:{"auto-vertical":{textarea:`resize-none`},none:{textarea:`resize-none`},vertical:{textarea:`resize-y`}}}}),
|
|
1002
|
+
`},variants:{resize:{"auto-vertical":{textarea:`resize-none`},none:{textarea:`resize-none`},vertical:{textarea:`resize-y`}}}}),HO=[`data-error`,`data-disabled`,`data-interactive`],UO=[`id`,`value`,`aria-describedby`,`autocomplete`,`name`,`aria-required`,`readonly`,`aria-invalid`,`disabled`,`maxlength`,`placeholder`,`spellcheck`],WO=(0,d.defineComponent)({inheritAttrs:!1,__name:`TextareaField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({isSpellCheckEnabled:{type:Boolean},maxHeight:{},maxLength:{},minHeight:{},placeholder:{},resize:{},isDisabled:{type:Boolean},disabledReason:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},autocomplete:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{}},{...mv,...hv,..._v,isSpellCheckEnabled:!1,maxHeight:null,maxLength:null,minHeight:null,placeholder:null,resize:`none`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`),r=(0,d.computed)(()=>VO({resize:t.resize})),i=(0,d.useTemplateRef)(`textarea`),a=(0,d.useAttrs)(),o=t.id??(0,d.useId)(),s=(0,d.computed)(()=>t.maxLength==null?null:`${n.value?.length??0}/${t.maxLength}`),c=(0,d.computed)(()=>s.value??t.hint),{isError:l,ariaDescribedBy:u,ariaInvalid:f,ariaRequired:p}=fv(o,t),m=(0,d.computed)(()=>({maxHeight:t.maxHeight??void 0,minHeight:t.minHeight??void 0}));function h(){let e=i.value;e==null||t.resize!==`auto-vertical`||(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)}return(0,d.watch)(()=>n.value,async()=>{await(0,d.nextTick)(),h()},{immediate:!0}),(0,d.onMounted)(()=>{h()}),(0,d.onMounted)(()=>{h()}),(e,i)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:c.value,label:t.label,class:(0,d.normalizeClass)(t.class),style:(0,d.normalizeStyle)(t.style),for:(0,d.unref)(o),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createElementVNode)(`div`,{"data-error":(0,d.unref)(l)||void 0,"data-disabled":t.isDisabled||void 0,"data-interactive":!t.isDisabled&&!t.isReadonly||void 0,class:(0,d.normalizeClass)(r.value.root())},[(0,d.renderSlot)(e.$slots,`top`),(0,d.createElementVNode)(`textarea`,(0,d.mergeProps)((0,d.unref)(a),{id:(0,d.unref)(o),ref:`textarea`,value:n.value,"aria-describedby":(0,d.unref)(u),autocomplete:t.autocomplete??void 0,name:t.name??void 0,"aria-required":(0,d.unref)(p),readonly:t.isReadonly,"aria-invalid":(0,d.unref)(f),disabled:t.isDisabled,maxlength:t.maxLength??void 0,placeholder:t.placeholder??void 0,spellcheck:t.isSpellCheckEnabled,style:m.value,class:[r.value.textarea(),`min-h-20 px-md py-sm`],onInput:i[0]||=e=>n.value=e.target.value}),null,16,UO),(0,d.renderSlot)(e.$slots,`bottom`)],10,HO)]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`]))}}),GO=H({slots:{field:`flex h-full flex-1 items-center`,literal:`text-placeholder select-none`,segment:`
|
|
1003
1003
|
rounded-xs px-xxs text-primary tabular-nums caret-transparent duration-100
|
|
1004
1004
|
outline-none
|
|
1005
1005
|
group-data-disabled/field-wrapper:pointer-events-none
|
|
@@ -1011,6 +1011,6 @@ Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutoc
|
|
|
1011
1011
|
focus:data-placeholder:text-primary
|
|
1012
1012
|
disabled:data-placeholder:text-fg-disabled-subtle
|
|
1013
1013
|
data-readonly:cursor-default
|
|
1014
|
-
`},variants:{size:{md:{field:`pl-md text-xs`},sm:{field:`pl-sm text-xs`}}}}),
|
|
1014
|
+
`},variants:{size:{md:{field:`pl-md text-xs`},sm:{field:`pl-sm text-xs`}}}}),KO=(0,d.defineComponent)({inheritAttrs:!1,__name:`TimeField`,props:(0,d.mergeModels)((0,d.mergeDefaults)({granularity:{},size:{},step:{},stepSnapping:{type:Boolean},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...mv,...hv,...vv(gv,`placeholder`),granularity:`minute`,size:`md`,step:null,stepSnapping:!1}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,d.useModel)(e,`modelValue`),{hourCycle:r,locale:i}=X(),a=t.id??(0,d.useId)(),o=(0,d.useAttrs)(),{isError:s,ariaDescribedBy:c,ariaInvalid:l}=fv(a,t),u=(0,d.computed)(()=>GO({size:t.size})),f=(0,d.computed)(()=>{if(r.value!=null)return r.value===`12-hour`?12:24}),m=(0,d.computed)({get:()=>{if(n.value!==null)return new x.Time(n.value.hour,n.value.minute,n.value.second)},set:e=>{if(e===void 0){n.value=null;return}n.value=S.Temporal.PlainTime.from({hour:e.hour,minute:e.minute,second:e.second})}});return(e,n)=>((0,d.openBlock)(),(0,d.createBlock)(zv,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,d.normalizeClass)(t.class),style:(0,d.normalizeStyle)(t.style),for:(0,d.unref)(a),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage},{"label-left":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,`label-right`)]),default:(0,d.withCtx)(()=>[(0,d.createVNode)(jv,{"is-disabled":t.isDisabled,"is-error":(0,d.unref)(s),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},{default:(0,d.withCtx)(()=>[(0,d.createVNode)((0,d.unref)(p.TimeFieldRoot),(0,d.mergeProps)({id:(0,d.unref)(a),modelValue:m.value,"onUpdate:modelValue":n[0]||=e=>m.value=e},(0,d.unref)(o),{"aria-describedby":(0,d.unref)(c),"aria-invalid":(0,d.unref)(l),"aria-required":t.isRequired||void 0,class:u.value.field(),disabled:t.isDisabled,"hour-cycle":f.value,"is-invalid":(0,d.unref)(s),locale:(0,d.unref)(i),readonly:t.isReadonly,required:t.isRequired,"step-snapping":t.stepSnapping,step:t.step??void 0,granularity:t.granularity}),{default:(0,d.withCtx)(({segments:e})=>[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e,({part:e,value:n})=>((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:e},[e===`literal`?((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TimeFieldInput),{key:1,part:e,class:(0,d.normalizeClass)(u.value.literal())},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(n),1)]),_:2},1032,[`part`,`class`])):((0,d.openBlock)(),(0,d.createBlock)((0,d.unref)(p.TimeFieldInput),{key:0,part:e,class:(0,d.normalizeClass)(u.value.segment()),"data-readonly":t.isReadonly||void 0,"data-field-wrapper":``},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(n),1)]),_:2},1032,[`part`,`class`,`data-readonly`]))],64))),128))]),_:1},16,[`id`,`modelValue`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`,`disabled`,`hour-cycle`,`is-invalid`,`locale`,`readonly`,`required`,`step-snapping`,`step`,`granularity`])]),_:1},8,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`]))}}),[qO,JO]=I(`timelineContext`),YO=fa({slots:{connector:`flex-1 bg-quaternary`,content:`flex min-w-0 flex-1 flex-col`,indicator:`
|
|
1015
1015
|
relative z-10 flex shrink-0 items-center justify-center rounded-full
|
|
1016
|
-
`,item:`relative flex`,itemTrack:`flex shrink-0 flex-col items-center`,root:`flex flex-col`},variants:{size:{md:{connector:`w-px`,content:`pb-lg`,indicator:`size-8`,item:`gap-md`},sm:{connector:`w-px`,content:`pb-md`,indicator:`size-6`,item:`gap-sm`}},variant:{outline:{indicator:`border border-secondary bg-primary`},solid:{indicator:`bg-brand-primary-alt text-fg-brand-primary-alt`},subtle:{indicator:`bg-tertiary text-secondary`}},isLast:{true:{connector:`invisible`,content:`pb-0`}}}}),
|
|
1016
|
+
`,item:`relative flex`,itemTrack:`flex shrink-0 flex-col items-center`,root:`flex flex-col`},variants:{size:{md:{connector:`w-px`,content:`pb-lg`,indicator:`size-8`,item:`gap-md`},sm:{connector:`w-px`,content:`pb-md`,indicator:`size-6`,item:`gap-sm`}},variant:{outline:{indicator:`border border-secondary bg-primary`},solid:{indicator:`bg-brand-primary-alt text-fg-brand-primary-alt`},subtle:{indicator:`bg-tertiary text-secondary`}},isLast:{true:{connector:`invisible`,content:`pb-0`}}}}),XO=(0,d.defineComponent)({__name:`Timeline`,props:{size:{default:`md`},variant:{default:`solid`}},setup(e){let t=e,n=(0,d.computed)(()=>YO({size:t.size,variant:t.variant}));return qO({...sr(t),variants:n}),(e,t)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(n.value.root())},[(0,d.renderSlot)(e.$slots,`default`)],2))}}),ZO=(0,d.defineComponent)({__name:`TimelineItem`,props:{isLast:{type:Boolean,default:!1},icon:{default:void 0}},setup(e){let t=e,{size:n,variant:r}=JO(),i=(0,d.computed)(()=>YO({isLast:t.isLast,size:n.value,variant:r.value}));return(e,n)=>((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{class:(0,d.normalizeClass)(i.value.item())},[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(i.value.itemTrack())},[(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(i.value.indicator())},[(0,d.renderSlot)(e.$slots,`indicator`,{},()=>[t.icon==null?(0,d.createCommentVNode)(``,!0):((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(t.icon),{key:0,class:`size-4`}))])],2),(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(i.value.connector())},null,2)],2),(0,d.createElementVNode)(`div`,{class:(0,d.normalizeClass)(i.value.content())},[(0,d.renderSlot)(e.$slots,`default`)],2)],2))}});function QO(e,t){return(0,d.h)(e,t)}function $O(e,t,n=0){return new Intl.NumberFormat(t,{maximumFractionDigits:n}).format(e)}function ek(){let e=X(),t=(0,d.computed)(()=>{let t=e.numberFormat?.value;return te(t)});return{format(e,n){return $O(e,t.value,n)},locale:t}}exports.TableUtil=$D,exports.UIActionContextMenu=Eo,exports.UIActionDropdownMenu=Fo,exports.UIActionFocus=Io,exports.UIActionTooltip=G,exports.UIActionTrigger=Lo,exports.UIAdaptiveContent=Bo,exports.UIAdaptiveContentBlock=Vo,exports.UIAddressAutocomplete=Dy,exports.UIAnimateHeight=hy,exports.UIApplicationLoadingView=Nb,exports.UIApplicationOfflineWarning=Lb,exports.UIApplicationProvider=nC,exports.UIApplicationSkipToMainContent=zb,exports.UIAutoFocus=R_,exports.UIAutocomplete=Ey,exports.UIAutocompleteContent=Ty,exports.UIAutocompleteOption=xy,exports.UIAvatar=Oa,exports.UIAvatarGroup=ja,exports.UIAvatarGroupAddButton=Ra,exports.UIAvatarLabel=Va,exports.UIBadge=Ev,exports.UIBadgeDot=Cv,exports.UIBadgeGroup=Dv,exports.UIBadgeGroupTruncate=Ov,exports.UIBadgeIcon=wv,exports.UIBadgeLabel=Tv,exports.UIBadgeSeparator=vb,exports.UIBaseCheckbox=pC,exports.UIBreadcrumbItem=rC,exports.UIBreadcrumbItems=aC,exports.UIBreadcrumbSeparator=oC,exports.UIButton=Z,exports.UICheckbox=mC,exports.UICheckboxGroup=yC,exports.UICheckboxGroupCheckbox=_C,exports.UICheckboxGroupIndeterminateCheckbox=vC,exports.UIClickableElement=$,exports.UIColumnLayout=K,exports.UICommandMenu=Qb,exports.UIConfigProvider=pf,exports.UIConfirmDialog=H_,exports.UIContextMenu=pr,exports.UIContextMenuCheckboxItem=to,exports.UIDropdownMenuCheckboxItem=to,exports.UIContextMenuGroup=no,exports.UIDropdownMenuGroup=no,exports.UIContextMenuHeader=ao,exports.UIDropdownMenuHeader=ao,exports.UIContextMenuItem=oo,exports.UIDropdownMenuItem=oo,exports.UIContextMenuRadioGroup=so,exports.UIDropdownMenuRadioGroup=so,exports.UIContextMenuRadioItem=co,exports.UIDropdownMenuRadioItem=co,exports.UIContextMenuSeparator=fo,exports.UIDropdownMenuSeparator=fo,exports.UIContextMenuSub=po,exports.UIDropdownMenuSub=po,exports.UIContextMenuSubContent=hr,exports.UIContextMenuSubTrigger=go,exports.UIDropdownMenuSubTrigger=go,exports.UIDashboardPage=aw,exports.UIDashboardPageActions=FC,exports.UIDashboardPageCenteredContent=xC,exports.UIDashboardPageCenteredContentHeader=jC,exports.UIDashboardPageCenteredContentScrollable=NC,exports.UIDashboardPageContainer=PC,exports.UIDashboardPageContent=IC,exports.UIDashboardPageDetailPaneCloseButton=cw,exports.UIDashboardPageDetailPaneToggle=lw,exports.UIDashboardPageHeader=mw,exports.UIDashboardPageHeaderMasterActionButton=hw,exports.UIDashboardPageLoadingState=sw,exports.UIDateField=jw,exports.UIDatePicker=Mw,exports.UIDateRangeField=aT,exports.UIDateRangePicker=pT,exports.UIDateTime=hT,exports.UIDetailList=gT,exports.UIDetailListGroup=wT,exports.UIDetailListGroupHeader=CT,exports.UIDetailListGroupHeaderCollapseArrowIcon=bT,exports.UIDetailListGroupHeaderCollapseInfo=xT,exports.UIDetailListGroupItem=TT,exports.UIDetailListGroupItemLabel=DT,exports.UIDetailListGroupItemValueBadge=OT,exports.UIDetailListGroupItemValueText=AT,exports.UIDetailListGroupSeparator=jT,exports.UIDialog=F_,exports.UIDialogBody=ex,exports.UIDialogContainer=tx,exports.UIDialogFooter=I_,exports.UIDialogFooterCancel=L_,exports.UIDialogFooterPrimary=z_,exports.UIDialogFooterSecondary=nx,exports.UIDialogFooterSubmit=rx,exports.UIDialogHeader=V_,exports.UIDot=Ga,exports.UIDropdownMenu=yr,exports.UIDropdownMenuSubContent=ho,exports.UIEmptyState=hE,exports.UIFeaturedIcon=CC,exports.UIForm=G_,exports.UIFormDialog=sx,exports.UIFormDialogForm=cx,exports.UIFormFieldGrid=__,exports.UIFormFieldGroup=v_,exports.UIFormFieldSeperator=y_,exports.UIFormFieldSet=S_,exports.UIFormLayout=C_,exports.UIFormSubmitButton=sv,exports.UIIconButton=Q,exports.UIInputWrapper=zv,exports.UIInteractable=gE,exports.UIKeyboardShortcut=Cr,exports.UILink=d_,exports.UILoader=Ia,exports.UILogo=rb,exports.UILogoWithText=wC,exports.UIMainContent=ME,exports.UIMainLayout=RE,exports.UIMainSidebar=Ob,exports.UIMainSidebarFooterAccountCard=Xy,exports.UIMainSidebarFooterFeaturedCard=$y,exports.UIMainSidebarGlobalSearch=eb,exports.UIMainSidebarHeaderContainer=tb,exports.UIMainSidebarHeaderLogoWithText=ob,exports.UIMainSidebarHeaderReturnToApp=cb,exports.UIMainSidebarNavigationGroup=ub,exports.UIMainSidebarNavigationGroups=db,exports.UIMainSidebarNavigationLink=_b,exports.UIMainSidebarNavigationLinkBadge=yb,exports.UIMainSidebarNavigationLinkStatusDot=Cb,exports.UIMenuItem=eo,exports.UINumberBadge=VE,exports.UINumberField=UE,exports.UIPage=QC,exports.UIPhoneNumberField=YE,exports.UIPopover=uv,exports.UIRadioGroup=aD,exports.UIRadioGroupItem=nD,exports.UIRelativeDateTime=cD,exports.UIRowLayout=L,exports.UISearchField=vD,exports.UISelect=sy,exports.UISelectContent=ry,exports.UISelectDropdown=iy,exports.UISelectOption=ey,exports.UISeparator=uo,exports.UISkeletonItem=q,exports.UISwitch=ED,exports.UITable=cO,exports.UITableBody=OD,exports.UITableBodyGroup=FD,exports.UITableBodyRow=UD,exports.UITableBodyRowActionsCell=HD,exports.UITableBodyRowCell=VD,exports.UITableCell=VD,exports.UITableBodyRowCellInteractiveElement=lO,exports.UITableCellInteractiveElement=lO,exports.UITableBodyRowCellText=uO,exports.UITableCellText=uO,exports.UITableBodyRowGroupCell=mO,exports.UITableBodySubGroup=KD,exports.UITableHeader=JD,exports.UITableHeaderCell=qD,exports.UITableHiddenResultsWarning=YD,exports.UITableLoading=XD,exports.UITableRoot=rO,exports.UITableScrollContainer=oO,exports.UITableSubgrid=DD,exports.UITabs=EO,exports.UITabsContent=DO,exports.UITabsItem=OO,exports.UITabsList=RO,exports.UITabsRouterLink=zO,exports.UITabsRouterLinkItem=BO,exports.UIText=W,exports.UITextField=uy,exports.UITextareaField=WO,exports.UIThemeProvider=dr,exports.UITimeField=KO,exports.UITimeline=XO,exports.UITimelineItem=ZO,exports.UIToastContainer=eC,exports.UITooltip=ha,exports.UITooltipContent=ya,exports.UITooltipProvider=tC,exports.UITooltipText=Sa,exports.UITopBar=jE,exports.addressToFormattedAddress=Ho,exports.createAutocompleteOptions=gy,exports.createComponent=QO,exports.createSelectOptions=dv,exports.defineTableColumns=_O,exports.formattedAddressToString=Uo,exports.getLocaleFromNumberFormat=te,exports.toFormField=dy,exports.uiLocales=u.t,exports.useDialogTriggerProps=ix,exports.useInjectConfigContext=X,exports.useInjectDetailPaneContext=RC,exports.useInjectFormContext=T_,exports.useInjectTableBodyRowContext=LD,exports.useInjectTableContext=jD,exports.useInjectTableGroupContext=ND,exports.useInjectTableScrollContainerContext=aO,exports.useInjectTableSubGroupContext=zD,exports.useIsReducedMotion=ff,exports.useIsTruncated=xa,exports.useMainSidebar=qy,exports.useNumberFormat=ek,exports.useOverlay=N_,exports.useProvideDetailPaneContext=LC,exports.useProvideTableBodyRowContext=ID,exports.useProvideTableContext=AD,exports.useProvideTableGroupContext=MD,exports.useProvideTableScrollContainerContext=iO,exports.useProvideTableSubGroupContext=RD,exports.useSearch=xD,exports.useTableColumnResize=hO,exports.useTableColumnWidths=tO,exports.useTableCustomizeColumns=yO,exports.useTableFrozenColumns=gO,exports.useTableScrollState=nO,exports.useTableVirtualScroller=sO,exports.useToast=$S,exports.useTopBarNavigation=rw;
|