PageSourceSearch

https://tomba.io/_nuxt/CrD-50WX.js

js tomba.io collected 2026-09-24 08:43:22 UTC 9,536 bytes, 1 lines download raw bytes

1import{o as e}from"./Y70dvcYn.js";import{$n as t,L as n,On as r,ct as i,et as a,g as o,it as s,mt as c,qt as l,v as u,xt as d,z as f}from"./Car86Ubo.js";import{ot as p,t as m}from"./CbAVO9A8.js";import{r as h}from"./CTBo40jA.js";import{n as g}from"./BujKp7DX.js";import{t as _}from"./BMkmtvJm.js";import{t as v}from"./DqxSfeX9.js";import{n as y,t as b}from"./bW6NxFOP.js";import{c as x,p as S}from"./DdOduO1M.js";import{_ as C,v as w}from"./HaXQ1HeE.js";import{n as T,t as E}from"./3tJE-g4b.js";import{t as D}from"./C7azYY1Q.js";var O=`__proto__`;function k(e,t){let n=[];return A(e,t,``,n),n}function A(e,t,n,r){if(e===t)return;let i=typeof e!=`object`||!e,a=typeof t!=`object`||!t;if(!i&&!a){let i=j(e),a=j(t);for(let[e,t]of i){let i=n?`${n}.${e}`:e;a.has(e)?A(t,a.get(e),i,r):r.push(new I(i,`removed`,void 0,P(t,i)))}for(let[e,t]of a){if(i.has(e))continue;let a=n?`${n}.${e}`:e;r.push(new I(a,`added`,P(t,a)))}return}if(M(e,i)||M(t,a))return;let o=N(e,n,i),s=N(t,n,a);o.hash!==s.hash&&r.push(new I(n,`changed`,s,o))}function j(e){let t=new Map;for(let n in e)n!==O&&t.set(n,e[n]);return t}function M(e,t){if(t)return!1;for(let t in e)if(t!==O)return!0;return!1}function N(e,t,n){return n?new L(t,e,F(e)):new L(t,e,`{}`,Object.create(null))}function P(e,t=``){if(typeof e!=`object`||!e)return new L(t,e,F(e));let n=Object.create(null),r=[];for(let i in e){if(i===O)continue;let a=P(e[i],t?`${t}.${i}`:i);n[i]=a,r.push(a.hash)}return new L(t,e,`{${r.join(`:`)}}`,n)}function F(e){switch(typeof e){case`string`:return`'${e}'`;case`number`:case`boolean`:return``+e;case`bigint`:return`${e}n`;default:return y(e)}}var I=class{key;type;newValue;oldValue;constructor(e,t,n,r){this.key=e,this.type=t,this.newValue=n,this.oldValue=r}toString(){return this.toJSON()}toJSON(){switch(this.type){case`added`:return`Added   \`${this.key}\``;case`removed`:return`Removed \`${this.key}\``;case`changed`:return`Changed \`${this.key}\` from \`${this.oldValue?.toString()||`-`}\` to \`${this.newValue?.toString()}\``}}},L=class{key;value;hash;props;constructor(e,t,n,r){this.key=e,this.value=t,this.hash=n,this.props=r}toString(){return this.props?`{${Object.keys(this.props).join(`,`)}}`:JSON.stringify(this.value)}toJSON(){let e=this.key||`.`;return this.props?`${e}({${Object.keys(this.props).join(`,`)}})`:`${e}(${this.value})`}},R=`active.activeClass.ariaCurrentValue.as.disabled.download.exact.exactActiveClass.exactHash.exactQuery.external.form.formaction.formenctype.formmethod.formnovalidate.formtarget.href.hreflang.inactiveClass.locale.media.noPrefetch.noRel.onClick.ping.prefetch.prefetchOn.prefetchedClass.referrerpolicy.rel.replace.target.title.to.trailingSlash.type.viewTransition`.split(`.`);function z(e){let t=Object.keys(e),n=t.filter(e=>e.startsWith(`aria-`)),r=t.filter(e=>e.startsWith(`data-`)),i=[...R,...n,...r];return w(e,...i)}function B(e,t){let n=k(e,t).reduce((e,t)=>(t.type===`added`&&e.add(t.key),e),new Set),r=Object.fromEntries(Object.entries(e).filter(([e])=>!n.has(e))),i=Object.fromEntries(Object.entries(t).filter(([e])=>!n.has(e)));return b(r,i)}function V(e){if(!(typeof window>`u`))return typeof window.requestIdleCallback==`function`?window.requestIdleCallback(e):setTimeout(e,1)}function H(e){if(!(typeof window>`u`||e===void 0)){if(typeof window.cancelIdleCallback==`function`){window.cancelIdleCallback(e);return}clearTimeout(e)}}var U=null,W=new Map;function G(e,t){return typeof IntersectionObserver>`u`?()=>{}:(U||=new IntersectionObserver(e=>{for(let t of e){let e=W.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),W.set(e,t),U.observe(e),()=>{W.delete(e),U?.unobserve(e),W.size===0&&(U?.disconnect(),U=null)})}var K={__name:`ULinkBase`,props:{as:{type:String,required:!1,default:`button`},type:{type:String,required:!1,default:`button`},disabled:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},href:{type:[String,null],required:!1},navigate:{type:Function,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},active:{type:Boolean,required:!1},isExternal:{type:Boolean,required:!1}},setup(e){let t=e;function n(e){if(t.disabled){e.stopPropagation(),e.preventDefault();return}if(t.onClick)for(let n of Array.isArray(t.onClick)?t.onClick:[t.onClick])n(e);t.href&&t.navigate&&!t.isExternal&&t.navigate(e)}return(t,i)=>(c(),u(r(E),a(e.href?{as:`a`,href:e.disabled?void 0:e.href,"aria-disabled":e.disabled?`true`:void 0,role:e.disabled?`link`:void 0,tabindex:e.disabled?-1:void 0}:e.as===`button`?{as:e.as,type:e.type,disabled:e.disabled}:{as:e.as},{rel:e.rel,target:e.target,onClick:n}),{default:l(()=>[d(t.$slots,`default`)]),_:3},16,[`rel`,`target`]))}}
1,q={base:`outline-primary/25 focus-visible:outline-3 rounded-md`,variants:{active:{true:`text-primary`,false:`text-muted`},disabled:{true:`cursor-not-allowed opacity-75`}},compoundVariants:[{active:!1,disabled:!1,class:[`hover:text-default`,`transition-colors`]}]},J=Object.assign({inheritAttrs:!1},{__name:`ULink`,props:{as:{type:null,required:!1,default:`button`},type:{type:null,required:!1,default:`button`},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1,default:void 0},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},custom:{type:Boolean,required:!1},raw:{type:Boolean,required:!1},locale:{type:[Boolean,String],required:!1,default:void 0},class:{type:null,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1,default:`page`},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(y){let w=y,E=p(),O=v(),k=e(),A=D(C(w,`as`,`type`,`disabled`,`active`,`exact`,`exactQuery`,`exactHash`,`activeClass`,`inactiveClass`,`to`,`href`,`raw`,`custom`,`locale`,`class`)),j=o(()=>S({extend:q,...g({variants:{active:{true:x(O.ui?.link?.variants?.active?.true,w.activeClass),false:x(O.ui?.link?.variants?.active?.false,w.inactiveClass)}}},O.ui?.link||{})})),M=o(()=>{let e=w.to??w.href;if(!e||typeof e!=`string`||w.external||h(e,{acceptRelative:!0})||w.locale===!1)return e;let t=k.$localePath;if(!t)return e;let n=k.$i18n?.localeCodes?.value;return n?.length&&RegExp(`^/(${n.join(`|`)})($|[/?#])`).test(e)?e:t(e,typeof w.locale==`string`?w.locale:void 0)||e}),N=o(()=>!M.value||w.external?!1:typeof M.value!=`string`||!(h(M.value,{acceptRelative:!0})||w.target&&w.target!==`_self`)),P=o(()=>w.noRel?null:w.rel===void 0?!N.value||w.target&&w.target!==`_self`?`noopener noreferrer`:null:w.rel||null);function F({route:e,isActive:t,isExactActive:n}={}){if(w.active!==void 0)return w.active;if(!M.value)return!1;if(w.exactQuery===`partial`){if(!B(e.query,E.query))return!1}else if(w.exactQuery===!0&&!b(e.query,E.query))return!1;return w.exactHash&&e.hash!==E.hash?!1:!!(w.exact&&n||!w.exact&&t)}function I({route:e,isActive:t,isExactActive:n,prefetched:r}={}){let i=F({route:e,isActive:t,isExactActive:n}),a=r?w.prefetchedClass:void 0;return w.raw?[w.class,i?w.activeClass:w.inactiveClass,a]:j.value({class:a?[w.class,a]:w.class,active:i,disabled:w.disabled})}let L=n(),R;function z(){R?.prefetch?.(k)}function U({prefetch:e,shouldPrefetch:t},n){if(e&&t&&(R={prefetch:e,shouldPrefetch:t},t(`interaction`)))return a({onPointerenter:n.onPointerenter,onFocus:n.onFocus},{onPointerenter:z,onFocus:z})}let W,J=null,Y=!1;return i(()=>{if(!R?.shouldPrefetch?.(`visibility`))return;let e=L?.proxy?.$el,t=e instanceof Element?e:e?.nextElementSibling;t&&m(()=>{Y||(W=V(()=>{J=G(t,()=>{J?.(),J=null,z()})}))})}),s(()=>{Y=!0,H(W),J?.(),J=null}),(e,n)=>{let i=_;return N.value?(c(),u(i,a({key:0},r(A),{to:M.value,custom:``}),{default:l(({href:n,navigate:i,route:o,isActive:s,isExactActive:p,...m})=>[y.custom?(c(),u(r(T),{key:0},{default:l(()=>[d(e.$slots,`default`,t(f({...e.$attrs,...y.exact&&p?{"aria-current":w.ariaCurrentValue}:{},...m.prefetched&&y.prefetchedClass?{class:y.prefetchedClass}:{},...U(m,e.$attrs),as:y.as,type:y.type,disabled:y.disabled,href:n,navigate:i,rel:P.value,target:m.target,isExternal:m.isExternal,active:F({route:o,isActive:s,isExactActive:p})})))]),_:2},1024)):(c(),u(K,a({key:1},{...e.$attrs,...y.exact&&p?{"aria-current":w.ariaCurrentValue}:{},as:y.as,type:y.type,disabled:y.disabled,href:n,navigate:i,rel:P.value,target:m.target,isExternal:m.isExternal,...U(m,e.$attrs)},{class:I({route:o,isActive:s,isExactActive:p,prefetched:m.prefetched}
1)}),{default:l(()=>[d(e.$slots,`default`,{active:F({route:o,isActive:s,isExactActive:p})})]),_:2},1040,[`class`]))]),_:3},16,[`to`])):y.custom?(c(),u(r(T),{key:1},{default:l(()=>[d(e.$slots,`default`,t(f({...e.$attrs,as:y.as,type:y.type,disabled:y.disabled,...M.value?{href:String(M.value),target:w.target,rel:P.value,isExternal:!0}:{},active:y.active??!1})))]),_:3})):(c(),u(K,a({key:2},{...e.$attrs,as:y.as,type:y.type,disabled:y.disabled,...M.value?{href:String(M.value),target:w.target,rel:P.value,isExternal:!0}:{}},{class:I()}),{default:l(()=>[d(e.$slots,`default`,{active:y.active??!1})]),_:3},16,[`class`]))}}});export{K as n,z as r,J 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.