game/nginx/admin/assets/iconify-DFoKediz.js
2026-04-20 16:07:22 +08:00

2 lines
18 KiB
JavaScript

var e=Object.defineProperty,t=Object.defineProperties,n=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,c=(t,n,o)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,s=(e,t)=>{for(var n in t||(t={}))r.call(t,n)&&c(e,n,t[n]);if(o)for(var n of o(t))i.call(t,n)&&c(e,n,t[n]);return e},a=(e,o)=>t(e,n(o));import{d as l,r as u,aM as f,o as p,A as d,aP as h,ag as g,n as b}from"./index-BoIUJTA2.js";const m=/^[a-z0-9]+(-[a-z0-9]+)*$/,v=(e,t,n,o="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),n=r.pop(),i={provider:r.length>0?r[0]:o,prefix:n,name:e};return t&&!y(i)?null:i}const i=r[0],c=i.split("-");if(c.length>1){const e={provider:o,prefix:c.shift(),name:c.join("-")};return t&&!y(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:i};return t&&!y(e,n)?null:e}return null},y=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name),x=Object.freeze({left:0,top:0,width:16,height:16}),w=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),j=Object.freeze(s(s({},x),w)),k=Object.freeze(a(s({},j),{body:"",hidden:!1}));function O(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in k)o in w?o in e&&!(o in n)&&(n[o]=w[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function F(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function c(e){i=O(o[e]||r[e],i)}return c(t),n.forEach(c),O(e,i)}function E(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});const o=function(e){const t=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);return Object.keys(t).concat(Object.keys(n)).forEach(function e(r){if(t[r])return o[r]=[];if(!(r in o)){o[r]=null;const t=n[r]&&n[r].parent,i=t&&e(t);i&&(o[r]=[t].concat(i))}return o[r]}),o}(e);for(const r in o){const i=o[r];i&&(t(r,F(e,r,i)),n.push(r))}return n}const S=s({provider:"",aliases:{},not_found:{}},x);function T(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function I(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!T(e,S))return null;const n=t.icons;for(const r in n){const e=n[r];if(!r||"string"!=typeof e.body||!T(e,k))return null}const o=t.aliases||Object.create(null);for(const r in o){const e=o[r],t=e.parent;if(!r||"string"!=typeof t||!n[t]&&!o[t]||!T(e,k))return null}return t}const C=Object.create(null);function L(e,t){const n=C[e]||(C[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function M(e,t){return I(t)?E(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}let z=!1;function P(e){return"boolean"==typeof e&&(z=e),z}function A(e,t){const n=v(e,!0,z);if(!n)return!1;const o=L(n.provider,n.prefix);return t?function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]=s({},n),!0}catch(o){}return!1}(o,n.name,t):(o.missing.add(n.name),!0)}const R=Object.freeze({width:null,height:null}),$=Object.freeze(s(s({},R),w)),N=/(-?[0-9.]*[0-9]+[0-9.]*)/g,D=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function U(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(N);if(null===o||!o.length)return e;const r=[];let i=o.shift(),c=D.test(i);for(;;){if(c){const e=parseFloat(i);isNaN(e)?r.push(i):r.push(Math.ceil(e*t*n)/n)}else r.push(i);if(i=o.shift(),void 0===i)return r.join("");c=!c}}const q=/\sid="(\S+)"/g,_="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let H=0;const Q=Object.create(null);function B(e){return Q[e]||Q[""]}function V(e){let t;if("string"==typeof e.resources)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:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const G=Object.create(null),J=["https://api.simplesvg.com","https://api.unisvg.com"],K=[];for(;J.length>0;)1===J.length||Math.random()>.5?K.push(J.shift()):K.push(J.pop());function W(e,t){const n=V(t);return null!==n&&(G[e]=n,!0)}function X(e){return G[e]}G[""]=V({resources:["https://api.iconify.design"].concat(K)});let Y=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(t){}})();const Z={prepare:(e,t,n)=>{const o=[],r=function(e,t){const n=X(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach(t=>{const n=t;e=Math.max(e,n.length)});const r=t+".json?icons=";o=n.maxURL-e-n.path.length-r.length}else o=0;return o}(e,t),i="icons";let c={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,a)=>{s+=n.length+1,s>=r&&a>0&&(o.push(c),c={type:i,provider:e,prefix:t,icons:[]},s=n.length),c.icons.push(n)}),o.push(c),o},send:(e,t,n)=>{if(!Y)return void n("abort",424);let o=function(e){if("string"==typeof e){const t=X(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");o+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let r=503;Y(e+o).then(e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout(()=>{n(function(e){return 404===e}(t)?"abort":"next",t)})}).then(e=>{"object"==typeof e&&null!==e?setTimeout(()=>{n("success",e)}):setTimeout(()=>{404===e?n("abort",e):n("next",r)})}).catch(()=>{n("next",r)})}};function ee(e,t){e.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let te=0;var ne={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function oe(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let c;if(e.random){let t=e.resources.slice(0);for(c=[];t.length>1;){const e=Math.floor(Math.random()*t.length);c.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}c=c.concat(t)}else c=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let a,l="pending",u=0,f=null,p=[],d=[];function h(){f&&(clearTimeout(f),f=null)}function g(){"pending"===l&&(l="aborted"),h(),p.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),p=[]}function b(e,t){t&&(d=[]),"function"==typeof e&&d.push(e)}function m(){l="failed",d.forEach(e=>{e(void 0,a)})}function v(){p.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),p=[]}function y(){if("pending"!==l)return;h();const o=c.shift();if(void 0===o)return p.length?void(f=setTimeout(()=>{h(),"pending"===l&&(v(),m())},e.timeout)):void m();const r={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const r="success"!==n;switch(p=p.filter(e=>e!==t),l){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=o,void m();if(r)return a=o,void(p.length||(c.length?y():m()));if(h(),v(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}l="completed",d.forEach(e=>{e(o)})}(r,t,n)}};p.push(r),u++,f=setTimeout(y,e.rotate),n(o,t,r.callback)}return"function"==typeof o&&d.push(o),setTimeout(y),function(){return{startTime:s,payload:t,status:l,queriesSent:u,queriesPending:p.length,subscribe:b,abort:g}}}function re(e){const t=s(s({},ne),e);let n=[];function o(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,r,i){const c=oe(t,e,r,(e,t)=>{o(),i&&i(e,t)});return n.push(c),c},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o}}function ie(){}const ce=Object.create(null);function se(e,t,n){let o,r;if("string"==typeof e){const t=B(e);if(!t)return n(void 0,424),ie;r=t.send;const i=function(e){if(!ce[e]){const t=X(e);if(!t)return;const n={config:t,redundancy:re(t)};ce[e]=n}return ce[e]}(e);i&&(o=i.redundancy)}else{const t=V(e);if(t){o=re(t);const n=B(e.resources?e.resources[0]:"");n&&(r=n.send)}}return o&&r?o.query(t,r,n)().abort:(n(void 0,424),ie)}function ae(){}function le(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(t=>{const i=t.icons,c=i.pending.length;i.pending=i.pending.filter(t=>{if(t.prefix!==r)return!0;const c=t.name;if(e.icons[c])i.loaded.push({provider:o,prefix:r,name:c});else{if(!e.missing.has(c))return n=!0,!0;i.missing.push({provider:o,prefix:r,name:c})}return!1}),i.pending.length!==c&&(n||ee([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))})}))}(e)}))}function ue(e,t,n){function o(){const n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&"object"==typeof n)try{if(!M(e,n).length)return void o()}catch(r){}o(),le(e)}function fe(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function pe(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const r=e.loadIcon;if(e.loadIcons&&(o.length>1||!r))return void fe(e.loadIcons(o,n,t),t=>{ue(e,o,t)});if(r)return void o.forEach(o=>{fe(r(o,n,t),t=>{ue(e,[o],t?{prefix:n,icons:{[o]:t}}:null)})});const{valid:i,invalid:c}=function(e){const t=[],n=[];return e.forEach(e=>{(e.match(m)?t:n).push(e)}),{valid:t,invalid:n}}(o);if(c.length&&ue(e,c,null),!i.length)return;const s=n.match(m)?B(t):null;if(!s)return void ue(e,i,null);s.prepare(t,n,i).forEach(n=>{se(t,n,t=>{ue(e,n.icons,t)})})}))}const de=(e,t)=>{const n=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let o={provider:"",prefix:"",name:""};return e.forEach(e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const r=e.provider,i=e.prefix,c=e.name,s=n[r]||(n[r]=Object.create(null)),a=s[i]||(s[i]=L(r,i));let l;l=c in a.icons?t.loaded:""===i||a.missing.has(c)?t.missing:t.pending;const u={provider:r,prefix:i,name:c};l.push(u)}),t}(function(e,t=!0,n=!1){const o=[];return e.forEach(e=>{const r="string"==typeof e?v(e,t,n):e;r&&o.push(r)}),o}(e,!0,P()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,ae)}),()=>{e=!1}}const o=Object.create(null),r=[];let i,c;return n.pending.forEach(e=>{const{provider:t,prefix:n}=e;if(n===c&&t===i)return;i=t,c=n,r.push(L(t,n));const s=o[t]||(o[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{const{provider:t,prefix:n,name:r}=e,i=L(t,n),c=i.pendingIcons||(i.pendingIcons=new Set);c.has(r)||(c.add(r),o[t][n].push(r))}),r.forEach(e=>{const t=o[e.provider][e.prefix];t.length&&pe(e,t)}),t?function(e,t,n){const o=te++,r=ee.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)}),r}(t,n,r):ae};const he=/[\s,]+/;function ge(e,t){t.split(he).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function be(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r/=t,r%1==0?o(r):0)}}return t}const me=a(s({},$),{inline:!1}),ve={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ye={display:"inline-block"},xe={backgroundColor:"currentColor"},we={backgroundColor:"transparent"},je={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ke={webkitMask:xe,mask:xe,background:we};for(const Le in ke){const e=ke[Le];for(const t in je)e[Le+t]=je[t]}const Oe={};function Fe(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Oe[e+"-flip"]=t,Oe[e.slice(0,1)+"-flip"]=t,Oe[e+"Flip"]=t});const Ee=(e,t)=>{const n=function(e,t){const n=s({},e);for(const o in t){const e=t[o],r=typeof e;o in R?(null===e||e&&("string"===r||"number"===r))&&(n[o]=e):r===typeof n[o]&&(n[o]="rotate"===o?e%4:e)}return n}(me,t),o=s({},ve),r=t.mode||"svg",i={},c=t.style,l="object"!=typeof c||c instanceof Array?{}:c;for(let s in t){const e=t[s];if(void 0!==e)switch(s){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[s]=!0===e||"true"===e||1===e;break;case"flip":"string"==typeof e&&ge(n,e);break;case"color":i.color=e;break;case"rotate":"string"==typeof e?n[s]=be(e):"number"==typeof e&&(n[s]=e);break;case"ariaHidden":case"aria-hidden":!0!==e&&"true"!==e&&delete o["aria-hidden"];break;default:{const t=Oe[s];t?!0!==e&&"true"!==e&&1!==e||(n[t]=!0):void 0===me[s]&&(o[s]=e)}}}const u=function(e,t){const n=s(s({},j),e),o=s(s({},$),t),r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(e=>{const t=[],n=e.hFlip,o=e.vFlip;let c,s=e.rotate;switch(n?o?s+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):o&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:c=r.height/2+r.top,t.unshift("rotate(90 "+c.toString()+" "+c.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:c=r.width/2+r.left,t.unshift("rotate(-90 "+c.toString()+" "+c.toString()+")")}s%2==1&&(r.left!==r.top&&(c=r.left,r.left=r.top,r.top=c),r.width!==r.height&&(c=r.width,r.width=r.height,r.height=c)),t.length&&(i=function(e,t,n){const o=function(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),i=e.indexOf("</"+t);if(-1===r||-1===i)break;const c=e.indexOf(">",i);if(-1===c)break;n+=e.slice(r+1,i).trim(),e=e.slice(0,o).trim()+e.slice(c+1)}return{defs:n,content:e}}(e);return r=o.defs,i=t+o.content+n,r?"<defs>"+r+"</defs>"+i:i;var r,i}(i,'<g transform="'+t.join(" ")+'">',"</g>"))});const c=o.width,a=o.height,l=r.width,u=r.height;let f,p;null===c?(p=null===a?"1em":"auto"===a?u:a,f=U(p,l/u)):(f="auto"===c?l:c,p=null===a?U(f,u/l):"auto"===a?u:a);const d={},h=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(d[e]=t.toString())};h("width",f),h("height",p);const g=[r.left,r.top,l,u];return d.viewBox=g.join(" "),{attributes:d,viewBox:g,body:i}}(e,n),f=u.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),"svg"===r){o.style=s(s({},i),l),Object.assign(o,f);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),o.innerHTML=function(e,t=_){const n=[];let o;for(;o=q.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach(n=>{const o="function"==typeof t?t(n):t+(H++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")}),e=e.replace(new RegExp(r,"g"),"")}(u.body,n?()=>n+"ID"+e++:"iconifyVue"),g("svg",o)}const{body:p,width:d,height:h}=e,b="mask"===r||"bg"!==r&&-1!==p.indexOf("currentColor"),m=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(p,a(s({},f),{width:d+"",height:h+""}));var v;return o.style=s(s(s(a(s({},i),{"--svg":(v=m,'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(v)+'")'),width:Fe(f.width),height:Fe(f.height)}),ye),b?xe:we),l),g("span",o)};var Se;if(P(!0),Se=Z,Q[""]=Se,"undefined"!=typeof document&&"undefined"!=typeof window){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload;"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{"object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||function(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),z&&!t&&!e.prefix){let t=!1;return I(e)&&(e.prefix="",E(e,(e,n)=>{A(e,n)&&(t=!0)})),t}const n=e.prefix;!!y({prefix:n,name:"a"})&&M(L(t,n),e)}(e)}catch(t){}})}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){try{const n=t[e];if("object"!=typeof n||!n||void 0===n.resources)continue;W(e,n)}catch(Ce){}}}}const Te=a(s({},j),{body:""}),Ie=l((e,{emit:t})=>{const n=u(null);function o(){var e,t;n.value&&(null==(t=(e=n.value).abort)||t.call(e),n.value=null)}const r=u(!!e.ssr),i=u(""),c=f(null);function l(){const r=e.icon;if("object"==typeof r&&null!==r&&"string"==typeof r.body)return i.value="",{data:r};let c;if("string"!=typeof r||null===(c=v(r,!1,!0)))return null;let s=function(e){const t="string"==typeof e?v(e,!0,z):e;if(t){const e=L(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}(c);if(!s){const e=n.value;return e&&e.name===r||(n.value=null===s?{name:r}:{name:r,abort:de([c],g)}),null}o(),i.value!==r&&(i.value=r,b(()=>{t("load",r)}));const a=e.customise;if(a){s=Object.assign({},s);const e=a(s.body,c.name,c.prefix,c.provider);"string"==typeof e&&(s.body=e)}const l=["iconify"];return""!==c.prefix&&l.push("iconify--"+c.prefix),""!==c.provider&&l.push("iconify--"+c.provider),{data:s,classes:l}}function g(){var e;const t=l();t?t.data!==(null==(e=c.value)?void 0:e.data)&&(c.value=t):c.value=null}return r.value?g():p(()=>{r.value=!0,g()}),d(()=>e.icon,g),h(o),()=>{const t=c.value;if(!t)return Ee(Te,e);let n=e;return t.classes&&(n=a(s({},e),{class:t.classes.join(" ")})),Ee(s(s({},j),t.data),n)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});export{Ie as I};