PageSourceSearch

https://aiattractivenesstest.ai/_nuxt/Cqn8n1Xb.js

js aiattractivenesstest.ai collected 2026-10-05 11:46:57 UTC 11,113 bytes, 4 lines download raw bytes

1import{a_ as _,P as j,L as R,N as F,H as B,z as g,J as K,a$ as W,h as G,F as V,Q as X}from"./BbdR-8bw.js";var A;let q=Symbol("headlessui.useid"),Y=0;const Fe=(A=_)!=null?A:function(){return j(q,()=>`${++Y}`)()};function h(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function $(e,t,...n){if(e in t){let l=t[e];return typeof l=="function"?l(...n):l}let u=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(l=>`"${l}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,$),u}var z=Object.defineProperty,J=(e,t,n)=>t in e?z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t,n)=>(J(e,typeof t!="symbol"?t+"":t,n),n);let Q=class{constructor(){N(this,"current",this.detect()),N(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},O=new Q;function L(e){if(O.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=h(e);if(t)return t.ownerDocument}return document}let E=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Z=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Z||{}),ee=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(ee||{}),te=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(te||{});function T(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(E)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var I=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(I||{});function M(e,t=0){var n;return e===((n=L(e))==null?void 0:n.body)?!1:$(t,{0(){return e.matches(E)},1(){let u=e;for(;u!==null;){if(u.matches(E))return!0;u=u.parentElement}return!1}})}function Oe(e){let t=L(e);R(()=>{t&&!M(t.activeElement,0)&&re(e)})}var ne=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(ne||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function re(e){e?.focus({preventScroll:!0})}let ue=["textarea","input"].join(",");function le(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,ue))!=null?n:!1}function oe(e,t=n=>n){return e.slice().sort((n,u)=>{let l=t(n),r=t(u);if(l===null||r===null)return 0;let i=l.compareDocumentPosition(r);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ae(e,t){return ie(T(),t,{relativeTo:e})}function ie(e,t,{sorted:n=!0,relativeTo:u=null,skipElements:l=[]}={}){var r;let i=(r=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?r:document,o=Array.isArray(e)?n?oe(e):e:T(e);l.length>0&&o.length>1&&(o=o.filter(c=>!l.includes(c))),u=u??i.activeElement;let p=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(u))-1;if(t&4)return Math.max(0,o.indexOf(u))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=t&32?{preventScroll:!0}:{},v=0,m=o.length,d;do{if(v>=m||v+m<=0)return 0;let c=a+v;if(t&16)c=(c+m)%m;else{if(c<0)return 3;if(c>=m)return 1}d=o[c],d?.focus(s),v+=p}while(d!==i.activeElement);return t&6&&le(d)&&d.select(),2}function ae(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function se(){return/Android/gi.test(window.navigator.userAgent)}function ce(){return ae()||se()}
1function w(e,t,n){O.isServer||F(u=>{document.addEventListener(e,t,n),u(()=>document.removeEventListener(e,t,n))})}function fe(e,t,n){O.isServer||F(u=>{window.addEventListener(e,t,n),u(()=>window.removeEventListener(e,t,n))})}function Ne(e,t,n=B(()=>!0)){function u(r,i){if(!n.value||r.defaultPrevented)return;let o=i(r);if(o===null||!o.getRootNode().contains(o))return;let p=(function a(s){return typeof s=="function"?a(s()):Array.isArray(s)||s instanceof Set?s:[s]})(e);for(let a of p){if(a===null)continue;let s=a instanceof HTMLElement?a:h(a);if(s!=null&&s.contains(o)||r.composed&&r.composedPath().includes(s))return}return!M(o,I.Loose)&&o.tabIndex!==-1&&r.preventDefault(),t(r,o)}let l=g(null);w("pointerdown",r=>{var i,o;n.value&&(l.value=((o=(i=r.composedPath)==null?void 0:i.call(r))==null?void 0:o[0])||r.target)},!0),w("mousedown",r=>{var i,o;n.value&&(l.value=((o=(i=r.composedPath)==null?void 0:i.call(r))==null?void 0:o[0])||r.target)},!0),w("click",r=>{ce()||l.value&&(u(r,()=>l.value),l.value=null)},!0),w("touchend",r=>u(r,()=>r.target instanceof HTMLElement?r.target:null),!0),fe("blur",r=>u(r,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function S(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Se(e,t){let n=g(S(e.value.type,e.value.as));return K(()=>{n.value=S(e.value.type,e.value.as)}),F(()=>{var u;n.value||h(t)&&h(t)instanceof HTMLButtonElement&&!((u=h(t))!=null&&u.hasAttribute("type"))&&(n.value="button")}),n}function x(e){return[e.screenX,e.screenY]}function xe(){let e=g([-1,-1]);return{wasMoved(t){let n=x(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=x(t)}}}var de=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(de||{}),ve=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(ve||{});function De({visible:e=!0,features:t=0,ourProps:n,theirProps:u,...l}){var r;let i=C(u,n),o=Object.assign(l,{props:i});if(e||t&2&&i.static)return y(o);if(t&1){let p=(r=i.unmount)==null||r?0:1;return $(p,{0(){return null},1(){return y({...l,props:{...i,hidden:!0,style:{display:"none"}}})}})}return y(o)}function y({props:e,attrs:t,slots:n,slot:u,name:l}){var r,i;let{as:o,...p}=pe(e,["unmount","static"]),a=(r=n.default)==null?void 0:r.call(n,u),s={};if(u){let v=!1,m=[];for(let[d,c]of Object.entries(u))typeof c=="boolean"&&(v=!0),c===!0&&m.push(d);v&&(s["data-headlessui-state"]=m.join(" "))}if(o==="template"){if(a=k(a??[]),Object.keys(p).length>0||Object.keys(t).length>0){let[v,...m]=a??[];if(!me(v)||m.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${l} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(p).concat(Object.keys(t)).map(f=>f.trim()).filter((f,b,U)=>U.indexOf(f)===b).sort((f,b)=>f.localeCompare(b)).map(f=>`  - ${f}`).join(`
2`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(f=>`  - ${f}`).join(`
3`)].join(`
4`));let d=C((i=v.props)!=null?i:{},p,s),c=W(v,d,!0);for(let f in d)f.startsWith("on")&&(c.props||(c.props={}),c.props[f]=d[f]);return c}return Array.isArray(a)&&a.length===1?a[0]:a}return G(o,Object.assign({},p,s),{default:()=>a})}function k(e){return e.flatMap(t=>t.type===V?k(t.children):[t])}function C(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let u of e)for(let l in u)l.startsWith("on")&&typeof u[l]=="function"?(n[l]!=null||(n[l]=[]),n[l].push(u[l])):t[l]=u[l];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(u=>[u,void 0])));for(let u in n)Object.assign(t,{[u](l,...r){let i=n[u];for(let o of i){if(l instanceof Event&&l.defaultPrevented)return;o(l,...r)}}});return t}function Pe(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function pe(e,t=[]){let n=Object.assign({},e);for(let u of t)u in n&&delete n[u];return n}function me(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let H=Symbol("Context");var he=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(he||{});function je(){return j(H,null)}function Le(e){X(H,e)}var ge=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ge||{});function we(e){throw new Error("Unexpected object: "+e)}var be=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(be||{});function Te(e,t){let n=t.resolveItems();if(n.length<=0)return null;let u=t.resolveActiveIndex(),l=u??-1;switch(e.focus){case 0:{for(let r=0;r<n.length;++r)if(!t.resolveDisabled(n[r],r,n))return r;return u}case 1:{l===-1&&(l=n.length);for(let r=l-1;r>=0;--r)if(!t.resolveDisabled(n[r],r,n))return r;return u}case 2:{for(let r=l+1;r<n.length;++r)if(!t.resolveDisabled(n[r],r,n))return r;return u}case 3:{for(let r=n.length-1;r>=0;--r)if(!t.resolveDisabled(n[r],r,n))return r;return u}case 4:{for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return u}case 5:return null;default:we(e)}}let D=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function P(e){var t,n;let u=(t=e.innerText)!=null?t:"",l=e.cloneNode(!0);if(!(l instanceof HTMLElement))return u;let r=!1;for(let o of l.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))o.remove(),r=!0;let i=r?(n=l.innerText)!=null?n:"":u;return D.test(i)&&(i=i.replace(D,"")),i}function ye(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let u=n.split(" ").map(l=>{let r=document.getElementById(l);if(r){let i=r.getAttribute("aria-label");return typeof i=="string"?i.trim():P(r).trim()}return null}
4).filter(Boolean);if(u.length>0)return u.join(", ")}return P(e).trim()}function Ie(e){let t=g(""),n=g("");return()=>{let u=h(e);if(!u)return"";let l=u.innerText;if(t.value===l)return n.value;let r=ye(u).trim().toLowerCase();return t.value=l,n.value=r,r}}export{De as A,Pe as E,de as N,oe as O,pe as T,Oe as _,ge as a,he as b,be as c,xe as d,M as e,Te as f,L as g,I as h,Fe as i,Z as j,je as l,h as o,Ie as p,Se as s,Le as t,$ as u,Ae as v,Ne as w};

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.