PageSourceSearch

https://heureka.com/_nuxt/B-YcImNU.js

js heureka.com collected 2026-10-08 08:43:22 UTC 8,082 bytes, 6 lines download raw bytes

1import{n as e}from"./hePW80VL.js";import{o as t}from"./8DZrgYz-.js";import{O as n,T as r,f as i,it as a}from"./ZF-X9Wo2.js";import{t as o}from"./CEIL2QfC.js";import{t as s}from"./Cju4OXts.js";import"./Db_pCR6F.js";import{a as c,i as l,o as u,t as d}from"./BeM5MYxh.js";var f=Object.freeze({left:0,top:0,width:16,height:16}),p=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),m=Object.freeze({...f,...p});Object.freeze({...m,body:``,hidden:!1});function h(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 g=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function v(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(g);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=_.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}}var y=Object.freeze({width:null,height:null}),b=Object.freeze({...y,...p});function x(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 S(e,t){return e?`<defs>`+e+`</defs>`+t:t}function C(e,t,n){let r=x(e);return S(r.defs,t+r.content+n)}var w=e=>e===`unset`||e===`undefined`||e===`none`;function T(e,t){let n={...m,...e},r={...b,...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=C(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=v(d,c/l)):(u=o===`auto`?c:o,d=s===null?v(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{w(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let h=[i.left,i.top,c,l];return f.viewBox=h.join(` `),{attributes:f,viewBox:h,body:a}}function E(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function D(e){return`data:image/svg+xml,`+E(e)}function O(e){return`url("`+D(e)+`")`}function k(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 A(e){let t=Object.create(null);Object.assign(t,{display:`inline-block`,width:`1em`,height:`1em`});let 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 j(e,t){let n=Object.create(null),r=t.varName,i=T(e),a=i.viewBox;a[2]!==a[3]&&(t.forceSquare?a=h(a):n.width=v(`1em`,a[2]/a[3]));let o=O(k(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 M={selectorStart:{compressed:`{`,compact:` {`,expanded:` {`},selectorEnd:{compressed:`}`,compact:`; }
2`,expanded:`;
3}
4`},rule:{compressed:`{key}:`,compact:` {key}: `,expanded:`
5  {key}: `}};function N(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)+M.selectorStart[t],s=!0;for(let e in a)s||(o+=`;`),o+=M.rule[t].replace(`{key}`,e)+a[e],s=!1;o+=M.selectorEnd[t],n.push(o)}return n.join(t===`compressed`?``:`
6`)}function P(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=Object.create(null);return Object.assign(o,t.rules,A(a),j({...m,...e,body:n},a)),N([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}async function F(e,t){if(!e)return null;let n=c(e);if(n)return n;let r,i=u(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,c(e)}function I(e){let t=s().icon,n=(t.collections||[]).sort((e,t)=>
6t.length-e.length);return i(()=>{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 L(e,t){if(e!==!1)return e===!0||e===null?t:e}var R;function z(e){return e.replace(/([^\w-])/g,`\\$1`)}function B(){if(R)return R;R=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&&R.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return R}var V=r({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let r=t(),u=s().icon,d=i(()=>{if(!e.name)return``;let t=u.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+o(e.customize.toString()):t});function f(e){if(!e)return;let t=c(e);if(t)return t;let n=r.payload?.data?.[e];if(n)return l(e,n),n}let p=i(()=>`.`+z(d.value));function m(t,n=!0){let r=p.value;u.cssWherePseudo&&(r=`:where(${r})`);let i=P(t,{iconSelector:r,format:`compressed`,customise:L(e.customize,u.customize)});return u.cssLayer&&n?`@layer ${u.cssLayer} { ${i} }`:i}{let t=B();async function n(e){if(t.has(p.value)||typeof document>`u`)return;let n=document.createElement(`style`);n.textContent=m(e);let r=document.head.querySelector(`style, link[rel="stylesheet"]`);r?document.head.insertBefore(n,r):document.head.appendChild(n),t.add(p.value)}a(()=>e.name,()=>{if(t.has(p.value))return;let r=f(e.name);r?n(r):F(e.name,-1).then(e=>{e&&n(e)}).catch(()=>null)},{immediate:!0})}return()=>n(`span`,{class:[`iconify`,d.value]})}}),H=r({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=s().icon,o=I(()=>e.name),c=`i-`+o.value;if(o.value){let e=i.payload.data[c];e&&l(o.value,e)}return()=>n(d,{icon:o.value,ssr:!0,customise:L(e.customize,a.customize)},r)}}),U=e({default:()=>W}),W=r({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 a=t(),o=s().icon,c=I(()=>e.name),l=i(()=>a.vueApp?.component(c.value)||((e.mode||o.mode)===`svg`?H:V)),u=i(()=>{let t=e.size||o.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>n(l.value,{...o.attrs,name:c.value,class:o.class,style:u.value,customize:e.customize},r)}});export{U as n,W 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.