vendor: 4,235 bytes, line 1
1import{n as e}from"./hePW80VL.js";import{o as t}from"./DayYVQNo.js";import{B as n,Ht as r,ct as i,ft as a,g as o,k as s,tt as c,vn as l,xn as u}from"./Car86Ubo.js";import{s as d}from"./B_wg-dic.js";var f=/^[a-z0-9]+(-[a-z0-9]+)*$/,p=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!m(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!m(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!m(e,n)?null:e}return null},m=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function h(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}var g=Object.freeze({left:0,top:0,width:16,height:16}),_=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),v=Object.freeze({...g,..._}),y=Object.freeze({...v,body:``,hidden:!1});function ee(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function b(e,t){let n=ee(e,t);for(let r in y)r in _?r in e&&!(r in n)&&(n[r]=_[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function te(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=b(r[e]||i[e],a)}return o(t),n.forEach(o),b(e,a)}function x(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=h(e);for(let i in r){let a=r[i];a&&(t(i,te(e,i,a)),n.push(i))}return n}var ne={provider:``,aliases:{},not_found:{},...g};function S(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function C(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!S(e,ne))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!S(t,y))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!S(t,y))return null}return t}var re=Object.create(null);function ie(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function w(e,t){let n=re[e]||(re[e]=Object.create(null));return n[t]||(n[t]=ie(e,t))}function ae(e,t){return C(t)?x(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function oe(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var T=!1;function se(e){return typeof e==`boolean`&&(T=e),T}function E(e){let t=typeof e==`string`?p(e,!0,T):e;if(t){let e=w(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function D(e,t){let n=p(e,!0,T);if(!n)return!1;let r=w(n.provider,n.prefix);return t?oe(r,n.name,t):(r.missing.add(n.name),!0)}function ce(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),T&&!t&&!e.prefix){let t=!1;return C(e)&&(e.prefix=``,x(e,(e,n)=>{D(e,n)&&(t=!0)})),t}let n=e.prefix;return m({prefix:n,name:`a`})?!!ae(w(t,n),e):!1}function O(e){let t=E(e);return t&&{...v,...t}}var le=Object.freeze({width:null,height:null}),ue=Object.freeze({...le,..._}),de=/(-?[0-9.]*[0-9]+[0-9.]*)/g,fe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function k(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(de);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=fe.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function pe(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function me(e,t){return e?`<defs>`+e+`</defs>`+t:t}function he(e,t,n){let r=pe(e);return me(r.defs,t+r.content+n)}var ge=e=>
1e===`unset`||e===`undefined`||e===`none`;function _e(e,t){let n={...v,...e},r={...ue,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=he(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=k(d,c/l)):(u=o===`auto`?c:o,d=s===null?k(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{ge(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var ve=/\sid="(\S+)"/g,A=new Map;function ye(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=A.get(e)||0;return A.set(e,t+1),t?`${e}${t}`:e}function be(e){let t=[],n;for(;n=ve.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=ye(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}var j=Object.create(null);function xe(e,t){j[e]=t}function M(e){return j[e]||j[``]}function N(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}for(var P=Object.create(null),F=[`https://api.simplesvg.com`,`https://api.unisvg.com`],I=[];F.length>0;)F.length===1||Math.random()>.5?I.push(F.shift()):I.push(F.pop());P[``]=N({resources:[`https://api.iconify.design`].concat(I)});function L(e,t){let n=N(t);return n!==null&&(P[e]=n,!0)}function R(e){return P[e]}function Se(){return Object.keys(P)}var z=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function Ce(e){z=e}function we(){return z}function Te(e,t){let n=R(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function Ee(e){return e===404}var De=(e,t,n)=>{let r=[],i=Te(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function Oe(e){if(typeof e==`string`){let t=R(e);if(t)return t.path}return`/`}var ke={prepare:De,send:(e,t,n)=>{if(!z){n(`abort`,424);return}let r=Oe(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;z(e+r).then(e=>{let t=e.status;if(t!==200){setTimeout(()=>{n(Ee(t)?`abort`:`next`,t)});return}return i=501,e.json()}).then(e=>{if(typeof e!=`object`||!e){setTimeout(()=>{e===404?n(`abort`,e):n(`next`,i)});return}setTimeout(()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function B(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function Ae(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||B([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var je=0;function Me(e,t,n){let r=je++,i=B.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};
vendor: 4,090 bytes, line 1
1return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function Ne(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=w(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function Pe(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?p(e,t,n):e;i&&r.push(i)}),r}var Fe={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Ie(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function ee(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`){u=r,v();return}if(i){u=r,f.length||(o.length?b():v());return}if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}function b(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{ee(i,e,t)}};f.push(i),l++,d=setTimeout(b,e.rotate),n(r,t,i.callback)}return setTimeout(b),_}function V(e){let t={...Fe,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=Ie(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function H(){}var U=Object.create(null);function Le(e){if(!U[e]){let t=R(e);if(!t)return;U[e]={config:t,redundancy:V(t)}}return U[e]}function W(e,t,n){let r,i;if(typeof e==`string`){let t=M(e);if(!t)return n(void 0,424),H;i=t.send;let a=Le(e);a&&(r=a.redundancy)}else{let t=N(e);if(t){r=V(t);let n=M(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),H):r.query(t,i,n)().abort}function G(){}function Re(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Ae(e)}))}function ze(e){let t=[],n=[];return e.forEach(e=>{(e.match(f)?t:n).push(e)}),{valid:t,invalid:n}}function K(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!ae(e,n).length){r();return}}catch(e){console.error(e)}r(),Re(e)}function Be(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function Ve(e,t){e.iconsToLoad=e.iconsToLoad?e.iconsToLoad.concat(t).sort():t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){Be(e.loadIcons(r,n,t),t=>{K(e,r,t)});return}if(i){r.forEach(r=>{Be(i(r,n,t),t=>{K(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=ze(r);if(o.length&&K(e,o,null),!a.length)return;let s=n.match(f)?M(t):null;if(!s){K(e,a,null);return}
1s.prepare(t,n,a).forEach(n=>{W(t,n,t=>{K(e,n.icons,t)})})}))}var He=(e,t)=>{let n=Ne(Pe(e,!0,se()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,G)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(w(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=w(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&Ve(e,t)}),t?Me(t,n,i):G},Ue=e=>new Promise((t,n)=>{let r=typeof e==`string`?p(e,!0):e;if(!r){n(e);return}He([r||e],i=>{if(i.length&&r){let e=E(r);if(e){t({...v,...e});return}}n(e)})});function We(e,t,n){w(n||``,t).loadIcons=e}function Ge(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in le?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var Ke=/[\s,]+/;function qe(e,t){t.split(Ke).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0}})}function Je(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function Ye(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function Xe(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function Ze(e){return`data:image/svg+xml,`+Xe(e)}function Qe(e){return`url("`+Ze(e)+`")`}var $e={...ue,inline:!1},et={xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":!0,role:`img`},tt={display:`inline-block`},q={backgroundColor:`currentColor`},nt={backgroundColor:`transparent`},rt={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},it={webkitMask:q,mask:q,background:nt};for(let e in it){let t=it[e];for(let n in rt)t[e+n]=rt[n]}var J={};[`horizontal`,`vertical`].forEach(e=>{let t=e.slice(0,1)+`Flip`;J[e+`-flip`]=t,J[e.slice(0,1)+`-flip`]=t,J[e+`Flip`]=t});function at(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var ot=(e,t)=>{let r=Ge($e,t),i={...et},a=t.mode||`svg`,o={},s=t.style,c=typeof s==`object`&&!(s instanceof Array)?s:{};for(let e in t){let n=t[e];if(n!==void 0)switch(e){case`icon`:case`style`:case`onLoad`:case`mode`:case`ssr`:case`customise`:break;case`inline`:case`hFlip`:case`vFlip`:r[e]=n===!0||n===`true`||n===1;break;case`flip`:typeof n==`string`&&qe(r,n);break;case`color`:o.color=n;break;case`rotate`:typeof n==`string`?r[e]=Je(n):typeof n==`number`&&(r[e]=n);break;case`ariaHidden`:case`aria-hidden`:n!==!0&&n!==`true`&&delete i[`aria-hidden`];break;default:{let t=J[e];t?(n===!0||n===`true`||n===1)&&(r[t]=!0):$e[e]===void 0&&(i[e]=n)}}}let l=_e(e,r),u=l.attributes;if(r.inline&&(o.verticalAlign=`-0.125em`),a===`svg`)return i.style={...o,...c},Object.assign(i,u),i.innerHTML=be(l.body),n(`svg`,i);let{body:d,width:f,height:p}=e,m=a===`mask`||a!==`bg`&&d.indexOf(`currentColor`)!==-1,h=Ye(d,{...u,width:f+``,height:p+``});return i.style={...o,"--svg":Qe(h),width:at(u.width),height:at(u.height),...tt,...m?q:nt,...c},n(`span`,i)};if(se(!0),xe(``,ke),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!ce(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;L(e,r)||console.error(n)}catch{console.error(n)}}}}var st={...v,body:``},ct=s((e,{emit:t})=>{let n=l(null);function o(){n.value&&=(n.value.abort?.(),null)}let s=l(!!e.ssr),d=l(``),f=u(null);function m(){let r=e.icon;if(typeof r==`object`&&r&&typeof r.body==`string`)return d.value=``,{data:r};let i;if(typeof r!=`string`||(i=p(r,!1,!0))===null)return null;let a=E(i);if(!a){let e=n.value;return(!e||e.name!==r)&&(a===null?n.value={name:r}:n.value={name:r,abort:He([i],h)}),null}o(),d.value!==r&&(d.value=r,c(()=>{t(`load`,r)}));let s=e.customise;if(s){a=Object.assign({},a);let e=s(a.body,i.name,i.prefix,i.provider);typeof e==`string`&&(a.body=e)}let l=[`iconify`];return i.prefix!==``&&l.push(`iconify--`+i.prefix),i.provider!==``&&l.push(`iconify--`+i.provider),{data:a,classes:l}}function h(){let e=m();e?e.data!==f.value?.data&&(f.value=e):f.value=null}return s.value?h():i(()=>{s.value=!0,h()}),r(()=>e.icon,h),a(o),()=>{let t=f.value;if(!t)return ot(st,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(` `)}),ot({...v,...t.data},n)}},{props:[`icon`,`mode`,`ssr`,`width`,`height`,`style`,`color`,`inline`,`rotate`,`hFlip`,`horizontalFlip`,`vFlip`,`verticalFlip`,`flip`,`id`,`ariaHidden`,`customise`,`title`],emits:[`load`]}),lt={getAPIConfig:R,setAPIModule:xe,sendAPIQuery:W,setFetch:Ce,getFetch:we,listAPIProviders:Se},ut=Object.freeze({left:0,top:0,width:16,height:16}),dt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Y=Object.freeze({...ut,...dt});Object.freeze({...Y,body:``,hidden:!1});function ft(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}var pt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,mt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;
1function X(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(pt);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=mt.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function ht(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function gt(e){return`data:image/svg+xml,`+ht(e)}function _t(e){return`url("`+gt(e)+`")`}function vt(e){let[t,n,r,i]=e;if(r!==i){let e=Math.max(r,i);return[t-(e-r)/2,n-(e-i)/2,e,e]}return e}var yt=Object.freeze({width:null,height:null}),bt=Object.freeze({...yt,...dt});function xt(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function St(e,t){return e?`<defs>`+e+`</defs>`+t:t}function Ct(e,t,n){let r=xt(e);return St(r.defs,t+r.content+n)}var wt=e=>e===`unset`||e===`undefined`||e===`none`;function Tt(e,t){let n={...Y,...e},r={...bt,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=Ct(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=X(d,c/l)):(u=o===`auto`?c:o,d=s===null?X(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{wt(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}function Et(e){let t={display:`inline-block`,width:`1em`,height:`1em`},n=e.varName;switch(e.pseudoSelector&&(t.content=`''`),e.mode){case`background`:n&&(t[`background-image`]=`var(--`+n+`)`),t[`background-repeat`]=`no-repeat`,t[`background-size`]=`100% 100%`;break;case`mask`:t[`background-color`]=`currentColor`,n&&(t[`mask-image`]=t[`-webkit-mask-image`]=`var(--`+n+`)`),t[`mask-repeat`]=t[`-webkit-mask-repeat`]=`no-repeat`,t[`mask-size`]=t[`-webkit-mask-size`]=`100% 100%`}return t}function Dt(e,t){let n={},r=t.varName,i=Tt(e),a=i.viewBox;a[2]!==a[3]&&(t.forceSquare?a=vt(a):n.width=X(`1em`,a[2]/a[3]));let o=_t(ft(i.body.replace(/currentColor/g,t.color||`black`),{viewBox:`${a[0]} ${a[1]} ${a[2]} ${a[3]}`,width:`${a[2]}`,height:`${a[3]}`}));if(r)n[`--`+r]=o;else switch(t.mode){case`background`:n[`background-image`]=o;break;case`mask`:n[`mask-image`]=n[`-webkit-mask-image`]=o}return n}var Z={selectorStart:{compressed:`{`,compact:` {`,expanded:` {`},selectorEnd:{compressed:`}`,compact:`; } 2`,expanded:`; 3} 4`},rule:{compressed:`{key}:`,compact:` {key}: `,expanded:` 5 {key}: `}};function Ot(e,t=`expanded`){let n=[];for(let r=0;r<e.length;r++){let{selector:i,rules:a}=e[r],o=(i instanceof Array?i.join(t===`compressed`?`,`:`, `):i)+Z.selectorStart[t],s=!0;for(let e in a)s||(o+=`;`),o+=Z.rule[t].replace(`{key}`,e)+a[e],s=!1;o+=Z.selectorEnd[t],n.push(o)}return n.join(t===`compressed`?``:` 6`)}function kt(e,t={}){let n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes(`currentColor`)?`background`:`mask`),i=t.varName;i===void 0&&r===`mask`&&(i=`svg`);let a={...t,mode:r,varName:i};r===`background`&&delete a.varName;let o={...t.rules,...Et(a),...Dt({...Y,...e,body:n},a)};return Ot([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}async function At(e,t){if(!e)return null;let n=O(e);
6if(n)return n;let r,i=Ue(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null));return t>0?await Promise.race([i,new Promise(n=>{r=setTimeout(()=>{console.warn(`[Icon] loading icon \`${e}\` timed out after ${t}ms`),n()},t)})]).finally(()=>clearTimeout(r)):await i,O(e)}function jt(e){let t=d().icon,n=(t.collections||[]).sort((e,t)=>t.length-e.length);return o(()=>{let r=e(),i=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,a=t.aliases?.[i]||i;if(!a.includes(`:`)){let e=n.find(e=>a.startsWith(e+`-`));return e?e+`:`+a.slice(e.length+1):a}return a})}function Mt(e,t){if(e!==!1)return e===!0||e===null?t:e}var Q;function Nt(e){return e.replace(/([^\w-])/g,`\\$1`)}function Pt(){if(Q)return Q;Q=new Set;let e=e=>{if(e=e.replace(/^:where\((.*)\)$/,`$1`).trim(),e.startsWith(`.`))return e},t=n=>{if(n?.length)for(let r of n){r?.cssRules&&t(r.cssRules);let n=r?.selectorText;if(typeof n==`string`){let t=e(n);t&&Q.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return Q}var Ft=s({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let i=t(),a=d().icon,s=o(()=>e.name?a.cssSelectorPrefix+e.name:``);function c(e){if(!e)return;let t=O(e);if(t)return t;let n=i.payload?.data?.[e];if(n)return D(e,n),n}let l=o(()=>`.`+Nt(s.value));function u(t,n=!0){let r=l.value;a.cssWherePseudo&&(r=`:where(${r})`);let i=kt(t,{iconSelector:r,format:`compressed`,customise:Mt(e.customize,a.customize)});return a.cssLayer&&n?`@layer ${a.cssLayer} { ${i} }`:i}{let t=Pt();async function n(e){if(t.has(l.value)||typeof document>`u`)return;let n=document.createElement(`style`);n.textContent=u(e);let r=document.head.querySelector(`style, link[rel="stylesheet"]`);r?document.head.insertBefore(n,r):document.head.appendChild(n),t.add(l.value)}r(()=>e.name,()=>{if(t.has(l.value))return;let r=c(e.name);r?n(r):At(e.name,-1).then(e=>{e&&n(e)}).catch(()=>null)},{immediate:!0})}return()=>n(`span`,{class:[`iconify`,s.value]})}}),It=s({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:r}){let i=t(),a=d().icon,o=jt(()=>e.name),s=`i-`+o.value;if(o.value){let e=i.payload.data[s];e&&D(o.value,e)}return()=>n(ct,{icon:o.value,ssr:!0,customise:Mt(e.customize,a.customize)},r)}}),Lt=e({default:()=>$}),$=s({name:`NuxtIcon`,props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:r}){let i=t(),a=d().icon,s=jt(()=>e.name),c=o(()=>i.vueApp?.component(s.value)||((e.mode||a.mode)===`svg`?It:Ft)),l=o(()=>{let t=e.size||a.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>n(c.value,{...a.attrs,name:s.value,class:a.class,style:l.value,customize:e.customize},r)}});export{We as a,L as i,Lt as n,lt as r,$ as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.