Files
qhmes/web-dist/js/generated-CQzXDD2h.js

12 lines
681 KiB
Java
Raw Normal View History

2026-06-16 18:19:57 +08:00
var s4=Object.defineProperty,u4=Object.defineProperties;var f4=Object.getOwnPropertyDescriptors;var z1=Object.getOwnPropertySymbols;var p4=Object.prototype.hasOwnProperty,m4=Object.prototype.propertyIsEnumerable;var L1=(c,l,o)=>l in c?s4(c,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):c[l]=o,u=(c,l)=>{for(var o in l||(l={}))p4.call(l,o)&&L1(c,o,l[o]);if(z1)for(var o of z1(l))m4.call(l,o)&&L1(c,o,l[o]);return c},z=(c,l)=>u4(c,f4(l));/**
* (c) Iconify
*
* For the full copyright and license information, please view the license.txt or license.gpl.txt
* files at https://github.com/iconify/iconify
*
* Licensed under MIT.
*
* @license MIT
* @version 3.1.1
*/const I1=Object.freeze({left:0,top:0,width:16,height:16}),_=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),O=Object.freeze(u(u({},I1),_)),r1=Object.freeze(z(u({},O),{body:"",hidden:!1}));function M4(c,l){const o={};!c.hFlip!=!l.hFlip&&(o.hFlip=!0),!c.vFlip!=!l.vFlip&&(o.vFlip=!0);const r=((c.rotate||0)+(l.rotate||0))%4;return r&&(o.rotate=r),o}function b1(c,l){const o=M4(c,l);for(const r in r1)r in _?r in c&&!(r in o)&&(o[r]=_[r]):r in l?o[r]=l[r]:r in c&&(o[r]=c[r]);return o}function H4(c,l){const o=c.icons,r=c.aliases||Object.create(null),h=Object.create(null);function t(e){if(o[e])return h[e]=[];if(!(e in h)){h[e]=null;const a=r[e]&&r[e].parent,i=a&&t(a);i&&(h[e]=[a].concat(i))}return h[e]}return Object.keys(o).concat(Object.keys(r)).forEach(t),h}function C4(c,l,o){const r=c.icons,h=c.aliases||Object.create(null);let t={};function e(a){t=b1(r[a]||h[a],t)}return e(l),o.forEach(e),b1(c,t)}function V4(c,l){const o=[];if(typeof c!="object"||typeof c.icons!="object")return o;c.not_found instanceof Array&&c.not_found.forEach(h=>{l(h,null),o.push(h)});const r=H4(c);for(const h in r){const t=r[h];t&&(l(h,C4(c,h,t)),o.push(h))}return o}const j=/^[a-z0-9]+(-[a-z0-9]+)*$/,A=(c,l,o,r="")=>{const h=c.split(":");if(c.slice(0,1)==="@"){if(h.length<2||h.length>3)return null;r=h.shift().slice(1)}if(h.length>3||!h.length)return null;if(h.length>1){const a=h.pop(),i=h.pop(),n={provider:h.length>0?h[0]:r,prefix:i,name:a};return l&&!R(n)?null:n}const t=h[0],e=t.split("-");if(e.length>1){const a={provider:r,prefix:e.shift(),name:e.join("-")};return l&&!R(a)?null:a}if(o&&r===""){const a={provider:r,prefix:"",name:t};return l&&!R(a,o)?null:a}return null},R=(c,l)=>c?!!((c.provider===""||c.provider.match(j))&&(l&&c.prefix===""||c.prefix.match(j))&&c.name.match(j)):!1,y4=u({provider:"",aliases:{},not_found:{}},I1);function l1(c,l){for(const o in l)if(o in c&&typeof c[o]!=typeof l[o])return!1;return!0}function z4(c){if(typeof c!="object"||c===null)return null;const l=c;if(typeof l.prefix!="string"||!c.icons||typeof c.icons!="object"||!l1(c,y4))return null;const o=l.icons;for(const h in o){const t=o[h];if(!h.match(j)||typeof t.body!="string"||!l1(t,r1))return null}const r=l.aliases||Object.create(null);for(const h in r){const t=r[h],e=t.parent;if(!h.match(j)||typeof e!="string"||!o[e]&&!r[e]||!l1(t,r1))return null}return l}const $=Object.create(null);function L4(c,l){return{provider:c,prefix:l,icons:Object.create(null),missing:new Set}}function y(c,l){const o=$[c]||($[c]=Object.create(null));return o[l]||(o[l]=L4(c,l))}function m1(c,l){return z4(l)?V4(l,(o,r)=>{r?c.icons[o]=r:c.missing.add(o)}):[]}function b4(c,l,o){try{if(typeof o.body=="string")return c.icons[l]=u({},o),!0}catch(r){}return!1}function g4(c,l){let o=[];return(typeof c=="string"?[c]:Object.keys($)).forEach(h=>{(typeof h=="string"&&typeof l=="string"?[l]:Object.keys($[h]||{})).forEach(e=>{const a=y(h,e);o=o.concat(Object.keys(a.icons).map(i=>(h!==""?"@"+h+":":"")+e+":"+i))})}),o}let M1=!1;function w4(c){return M1}function Z(c){const l=typeof c=="string"?A(c,!0,M1):c;if(l){const o=y(l.provider,l.prefix),r=l.name;return o.icons[r]||(o.missing.has(r)?null:void 0)}}function k4(c,l){const o=A(c,!0,M1);if(!o)return!1;const r=y(o.provider,o.prefix);return b4(r,o.name,l)}function E1(c,l){if(typeof c!="object")return!1;typeof l!="string"&&(l=c.provider||"");const o=c.prefix;if(!R({provider:l,prefix:o,name:"a"}))return!1;const r=y(l,o);return!!m1(r,c)}function S4(c){return!!Z(c)}function A4(c){const l=Z(c);return l?u(u({},O),l):null}const O1=Object.freeze({width:null,height:null}),Z1=Object.freeze(u(u({},O1),_)),x4=/(-?[0-9.]*[0-9]+[0-9.]*)/g,q4=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function t1(c,l,o){if(l===1)return c;if(o=o||100,typeof c=="number")return Math.ceil(c*l*o)/o;if(typeof c!="string")return c;const r=c.split(x4);if(r===null||!r.length)return c;const h=[];let t=r.shift(),e=q4.test(t);for(;;){if(e){const a=parseFloat(t);isNaN(a)?h.push(t):h.push(Math.ceil(a*l*o)/o)}else h.push(t);if(t=r.shift(),t===void 0)return h.join("");e=!e}}const j4=c=>c==="unset"||c==="undefined"||c==="none";function