PageSourceSearch

https://www.qlocktwo.com/_nuxt/TD-b99zY.js

js qlocktwo.com collected 2026-09-25 09:56:01 UTC 5,286 bytes, 3 lines download raw bytes

1import{B as I,F as O,b6 as A,r as v,x as p,b7 as b,b8 as P,D as w,b9 as S,ab as E,A as x,aH as j,f as D,ar as U,ba as $,aT as F}from"./B-He9Tc_.js";import{h as V,i as _,d as k,g as L}from"./nr457eKV.js";import{c as B}from"./-Irqcouk.js";function R(t,e){const o=typeof t=="string"&&!e?`${t}Context`:e,n=Symbol(o);return[a=>{const i=I(n,a);if(i||i===null)return i;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},a=>(O(n,a),a)]}function q(t){return t==null}function W(t,e){return q(t)?!1:Array.isArray(t)?t.some(o=>A(o,e)):A(t,e)}const[H]=R("ConfigProvider");function oe(t){const e=H({dir:v("ltr")});return p(()=>t?.value||e.dir?.value||"ltr")}function K(t){const e=w(),o=e?.type.emits,n={};return o?.length||console.warn(`No emitted event found. Please check component: ${e?.type.__name}`),o?.forEach(u=>{n[b(P(u))]=(...s)=>t(u,...s)}),n}function z(t){const e=w(),o=Object.keys(e?.type.props??{}).reduce((u,s)=>{const a=(e?.type.props[s]).default;return a!==void 0&&(u[s]=a),u},{}),n=S(t);return p(()=>{const u={},s=e?.vnode.props??{};return Object.keys(s).forEach(a=>{u[P(a)]=s[a]}),Object.keys({...o,...u}).reduce((a,i)=>(n.value[i]!==void 0&&(a[i]=n.value[i]),a),{})})}function ie(t,e){const o=z(t),n=e?K(e):{};return p(()=>({...o.value,...n}))}function Y(t,e){const o=v(t);function n(s){return e[o.value][s]??o.value}return{state:o,dispatch:s=>{o.value=n(s)}}}function G(t,e){const o=v({}),n=v("none"),u=v(t),s=t.value?"mounted":"unmounted";let a;const i=e.value?.ownerDocument.defaultView??V,{state:f,dispatch:c}=Y(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),l=r=>{if(_){const d=new CustomEvent(r,{bubbles:!1,cancelable:!1});e.value?.dispatchEvent(d)}};E(t,async(r,d)=>{const g=d!==r;if(await j(),g){const N=n.value,m=h(e.value);r?(c("MOUNT"),l("enter"),m==="none"&&l("after-enter")):m==="none"||m==="undefined"||o.value?.display==="none"?(c("UNMOUNT"),l("leave"),l("after-leave")):d&&N!==m?(c("ANIMATION_OUT"),l("leave")):(c("UNMOUNT"),l("after-leave"))}},{immediate:!0});const y=r=>{const d=h(e.value),g=d.includes(CSS.escape(r.animationName)),N=f.value==="mounted"?"enter":"leave";if(r.target===e.value&&g&&(l(`after-${N}`),c("ANIMATION_END"),!u.value)){const m=e.value.style.animationFillMode;e.value.style.animationFillMode="forwards",a=i?.setTimeout(()=>{e.value?.style.animationFillMode==="forwards"&&(e.value.style.animationFillMode=m)})}r.target===e.value&&d==="none"&&c("ANIMATION_END")},M=r=>{r.target===e.value&&(n.value=h(e.value))},T=E(e,(r,d)=>{r?(o.value=getComputedStyle(r),r.addEventListener("animationstart",M),r.addEventListener("animationcancel",y),r.addEventListener("animationend",y)):(c("ANIMATION_END"),a!==void 0&&i?.clearTimeout(a),d?.removeEventListener("animationstart",M),d?.removeEventListener("animationcancel",y),d?.removeEventListener("animationend",y))},{immediate:!0}),C=E(f,()=>{const r=h(e.value);n.value=f.value==="mounted"?r:"none"});return x(()=>{T(),C()}),{isPresent:p(()=>["mounted","unmountSuspended"].includes(f.value))}}function h(t){return t&&getComputedStyle(t).animationName||"none"}var se=D({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:e,expose:o}){const{present:n,forceMount:u}=U(t),s=v(),{isPresent:a}=G(n,s);o({present:a});let i=e.default({present:a.value});i=$(i||[]);const f=w();if(i&&i?.length>1){const c=f?.parent?.type.name?`<${f.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for  \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(l=>`  - ${l}`).join(`
2`)].join(`
3`))}return()=>u.value||n.value||a.value?F(e.default({present:a.value})[0],{ref:c=>{const l=k(c);return typeof l?.hasAttribute>"u"||(l?.hasAttribute("data-reka-popper-content-wrapper")?s.value=l.firstElementChild:s.value=l),l}}):null}});function J({type:t,defaultValue:e,modelValue:o}){const n=o||e;return o!==void 0||e!==void 0?Array.isArray(n)?"multiple":"single":t??"single"}function Q({type:t,defaultValue:e,modelValue:o}){return t||J({type:t,defaultValue:e,modelValue:o})}function X({type:t,defaultValue:e}){return e!==void 0?e:t==="single"?void 0:[]}function re(t,e){const o=p(()=>Q(t)),n=L(t,"modelValue",e,{defaultValue:X(t),passive:t.modelValue===void 0,deep:!0});function u(a){if(o.value==="single")n.value=A(a,n.value)?void 0:a;else{const i=Array.isArray(n.value)?[...n.value||[]]:[n.value].filter(
3Boolean);if(W(i,a)){const f=i.findIndex(c=>A(c,a));i.splice(f,1)}else i.push(a);n.value=i}}const s=p(()=>o.value==="single");return{modelValue:n,changeModelValue:u,isSingle:s}}const ue=B("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);export{ue as C,se as P,z as a,H as b,q as c,R as d,oe as e,re as f,K as g,W as i,ie as u};

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.