1import{T as e,v as n,D as o,x as a,s as r,l as t,m as i,u as s}from"./2c1ab0fe.GMbxnz74.js";import{cY as l,cZ as c,c_ as d,c$ as u,d0 as f,Q as m,d1 as p,d2 as b,d3 as g,d4 as v,d5 as y,d6 as x,d7 as h,cG as k,d8 as C}from"./4c290a1e.C6TDJ9Fn.js";import{di as w,dj as _,aC as S,aD as I,dk as P,dl as j,a as z,dm as R,a4 as A,dn as F,dp as q,N as B,aL as N,aQ as L,dq as T,dr as $,ds as O,dt as H,du as W,dv as D,dw as G,dx as M}from"./164ad2e3.BbIvMjRY.js";import"./app.CepNJbvh.js";const E=Object.keys(c).sort((e,n)=>c[e]-c[n]),V="transparent";function Q(e){return Boolean(e.viewportInlineSize||e.hover||e.focus)}function U(e){const{hover:n,focus:o}=e;return n&&o?"hoverFocus":n?"hover":o?"focus":void 0===n&&void 0===o?"plain":void 0}function Y(e,n){if(void 0===e.viewportInlineSize)return!0;const{min:o}=e.viewportInlineSize;return void 0!==o&&o in c&&c[o]<=c[n]}function Z(e){if(E.every(n=>void 0===e[n]))return;const n=e.base??V,o=[];let a=n;for(const r of E){if("base"===r)continue;const n=e[r]??V;n!==a&&(o.push(`(inline-size >= ${r}) ${d(n)}`),a=n)}return 0===o.length?n:`@media ${o.join(", ")}, ${d(n)}`}function J(e){if(void 0===e)return{};if(!l(e))return{background:e};const{default:n,conditionals:o}=e,a={plain:{},hover:{},focus:{},hoverFocus:{}};for(const s of E)for(const e of o??[]){const n=e?.conditions;if(!n||!Q(n)||!Y(n,s))continue;const o=U(n);void 0!==o&&(a[o][s]=e.value)}const r={},t={};for(const s of E)r[s]=a.plain[s]??n,t[s]=a.hover[s]??a.focus[s]??a.hoverFocus[s]??r[s];return{background:Z(r),backgroundHoverAndFocus:(i=t,E.some(e=>i[e]!==r[e])?Z(t):void 0)};var i}function K(e){return"number"==typeof e?k(e)??"":"fitContent"===e||"fill"===e?e:C(e)?k(e)??"":e}function X(e,n=!1,o=!1){return void 0===e||"fill"===e?o?"1fr":"minmax(0, 1fr)":"auto"===e?"minmax(auto, max-content)":n?`minmax(0, ${k(e)??"1fr"})`:o?k(e)??"1fr":`minmax(0, ${k(e)??"1fr"})`}function ee(e,n=!1,o=!1){return Array.isArray(e)?e.map(e=>X(e,n,o)).join(" "):X(e,n,o)}function ne(e,n=!1,o=!1){return Array.isArray(e)?"1fr":X(e,n,o)}function oe(e){return`span ${e}`}const ae={backgroundImage:_,blockSize:K,gridAutoColumns:ne,gridAutoRows:e=>ne(e,!0),gridColumn:oe,gridRow:oe,gridTemplateColumns:ee,gridTemplateRows:e=>ee(e,!0),inlineSize:K,maxBlockSize:K,maxInlineSize:K,minBlockSize:K,minInlineSize:K},{useConditionalStyle:re}=function({staticPropertiesValues:o,dynamicPropertiesTransform:a}){function r(e,n={}){const o=new Map,a=(e,a)=>{const r=function(e,n,o){if(l(n)){const{conditionals:a,default:r}=n;return a.length>0&&(b(e)||g(e))?a.map(({conditions:n,value:a})=>({conditions:n,value:i({property:e,value:a},o)})).map(s).reduce((e,n)=>({...e,...n}),{...r&&{base:i({property:e,value:r},o)}}):i({property:e,value:r},o)}return i({property:e,value:n},o)}(e,a,n),c=function(e,n){return function(e){return null!==e&&"object"==typeof e&&u.conditions.conditionNames.some(n=>n in e)}(n)&&Object.values(n).some(v)?Object.entries(n).reduce((n,[o,a])=>{const r=t(e,a),i=(y(e)??[]).reduce((e,n)=>({...e,[n]:{[o]:r[n]}}),{});return s=n,l=i,Object.keys(l).reduce((e,n)=>{const o=s[n],a=l[n];return{...e,[n]:{..."object"==typeof o&&o,..."object"==typeof a&&a}}},{});var s,l},{}):t(e,n)}(e,r);for(const[n,t]of Object.entries(c))o.set(n,t)};for(const t of f)t in e&&a(t,e[t]);for(const[t,i]of Object.entries(e))f.includes(t)||a(t,i);const r={};return o.forEach((e,n)=>{n in w&&e===w[n]||(r[n]=e)}),r}function t(e,n){const o=x(n),a=y(e)??[];return a.length>0?a.reduce((e,a,r)=>({...e,[a]:o?n[r]:n}),{}):{[e]:n}}function i(e,n){return function(e){return e.property in a}(e)?function(e,n,{transforms:o}){if(void 0!==n){const r=o?.[e]??a[e];if(void 0===r)return;return r(n)}}(e.property,e.value,n):function(e){return e.property in o}(e)?function(e,n,{transforms:a}){const r=o[e],t=n=>{const o=a?.[e]?.(n);return r[o??n]};if(h(n)){if(2===n.length){const[e,o]=n;return[t(e),t(o),t(e),t(o)]}return n.map(t)}return t(n)}(e.property,e.value,n):void 0}function s({conditions:e,value:n}){return e.viewportInlineSize?{[e.viewportInlineSize.min]:n}:{}}function c(e,n){return Object.keys(e).filter(e=>!(e in n)).reduce((n,o)=>Object.assign(n,{[o]:e[o]}),{})}return{useConditionalStyle:function(t,i){return e(()=>{const e=r(t,{...i}),s=c(e,a),l=c(e,o),d=m(s),{className:u,style:f}=p(l);return{className:n(d,u),style:f}},[t,i])},resolveConditionalProps:r}}({staticPropertiesValues:{alignContent:{start:"start",center:"center",end:"end"},alignItems:{start:"start",center:"center",end:"end",baseline:"baseline"}
1,backgroundColor:{base:"base",baseSpecified:"baseSpecified",transparent:"transparent",subdued:"subdued"},backgroundColorHoverAndFocus:{base:"base",transparent:"transparent",subdued:"subdued"},backgroundFit:{contain:"contain",cover:"cover"},backgroundPosition:{bottom:"bottom",center:"center",left:"left",right:"right",top:"top"},backgroundRepeat:{repeat:"repeat",noRepeat:"noRepeat"},border:{none:"none",base:"base",dotted:"dotted",dashed:"dashed"},borderRadius:{none:"none",base:"base",small:"small",large:"large",fullyRounded:"fullyRounded",max:"max",tight:"small",loose:"large"},borderWidth:{base:"base",medium:"large100",thick:"large200"},boxShadow:{none:"none",extraSmall:"extraSmall",small:"small",base:"base",large:"large",extraLarge:"extraLarge"},display:{block:"block",inline:"inline",flex:"flex",inlineFlex:"inlineFlex",grid:"grid",inlineGrid:"inlineGrid",none:"none"},gap:{none:"none",small500:"small500",small400:"small400",small300:"small300",small200:"small200",small100:"small100",base:"base",large100:"large100",large200:"large200",large300:"large300",large400:"large400",large500:"large500",extraTight:"small400",tight:"small200",loose:"large200",extraLoose:"large500"},gridAutoFlow:{row:"row",column:"column"},justifyContent:{start:"start",center:"center",end:"end"},justifyItems:{start:"start",center:"center",end:"end"},objectFit:{contain:"contain",cover:"cover",fill:"fill"},padding:{small500:"small500",small400:"small400",small300:"small300",small200:"small200",small100:"small100",none:"none",large100:"large100",large200:"large200",large300:"large300",large400:"large400",large500:"large500",base:"base",extraTight:"small400",tight:"small200",loose:"large200",extraLoose:"large500"},position:{absolute:"absolute",relative:"relative",sticky:"sticky"},zIndex:{portal:"portal"}},dynamicPropertiesTransform:ae});var te={Pressable:"_1xqelvi1 _1xqelvi0 _1fragemyd _1fragemws _1fragem126 _1fragemyk _1fragem12b",withAlignment:"_1xqelvi5 _1fragem73",appearanceVariant:{accent:"_1xqelvi8 _1xqelvi6 _1fragemxq",base:"_1xqelvi9 _1xqelvi7 _1fragemxw"},PressableContentWrapper:"_1xqelvi2",resetDefaultBlockAlignment:"_1xqelvi4 _1xqelvi3 _1fragem64 _1fragem1y",overflowHidden:"_1xqelvib _1xqelvia _1fragemup _1fragemv4",inert:"_1xqelvic _1fragemz0"};const ie=F((se=function(e){const n=o(function({disableGlobalBranding:n,...o},a){const{global:{cornerRadius:r}}=A(),t=n?o:{...o,cornerRadius:r??o.cornerRadius};return s(e,{...t,ref:a})});return n.displayName=`GlobalBrandedComponent(${e.displayName||e.name||"Component"})`,n}(q(o(function({accessibilityLabel:e,accessibilityRole:o="button",appearance:a,background:r,backgroundFit:t,backgroundImage:l,backgroundPosition:c,backgroundRepeat:d,border:u,className:f,borderRadius:m,borderWidth:p,blockAlignment:b,children:g,controlId:v,cornerRadius:y,disabled:x=!1,display:h,expanded:k,id:C,inlineAlignment:w,loading:_,maxInlineSize:S,minInlineSize:I,minBlockSize:P,overflow:j,onBlur:z,onPointerDown:R,onFocus:A,onPointerEnter:F,onPointerLeave:q,onPress:E,onPointerUp:V,padding:Q,pressed:U,to:Y,...Z},K){i(()=>{"expandableControl"!==o||void 0!==k&&void 0!==v||console.warn('When <Pressable /> has accessibilityRole="expandableControl" it should also have "controlId" and "expanded" defined'),"toggle"===o&&void 0===U&&console.warn('When <Pressable /> has accessibilityRole="toggle" it should also have "pressed" defined')},[o,U,v,k]);const X=B(),ee=N(),ne=b||w,{background:oe,backgroundHoverAndFocus:ae}=J(r),{className:ie}=L({backgroundColor:oe,backgroundColorHoverAndFocus:ae}),{className:se,style:le}=re({alignItems:w,justifyContent:b,backgroundFit:t,backgroundImage:l,backgroundPosition:c,backgroundRepeat:d,border:u,borderRadius:y??m,borderWidth:p,display:h??"block",maxInlineSize:S,minInlineSize:I,minBlockSize:P,padding:Q},{transforms:{display:e=>ne?T(e):$(e)}}),ce=!h&&!ne,de=n(te.Pressable,ne&&te.withAlignment,se,ie,ce&&te.resetDefaultBlockAlignment,"hidden"===j&&te.overflowHidden,te.appearanceVariant[a??"base"],X&&te.inert,f),ue="expandableControl"===o||"toggle"===o?"button":o,fe=O(),me=H(K),pe=W(ee,{onClick:()=>{"function"==typeof E&&E()},onBlur:()=>{"function"==typeof z&&z()},onFocus:()=>{"function"==typeof A&&A()},onMouseEnter:()=>{"function"==typeof F&&F()},onMouseLeave:()=>{"function"==typeof q&&q()},onMouseDown:e=>{"function"==typeof R&&0===e.button&&R()},onMouseUp:()=>{"function"==typeof V&&V()}}
1),be=D(ee,{"aria-controls":"expandableControl"===o?v:void 0,"aria-expanded":"expandableControl"===o?k:void 0}),{active:ge}=ee??{},ve=_?"assertive":void 0,ye=!!X||void 0,xe={id:C,className:de,style:le,tabIndex:X?-1:void 0,...be,...pe,...Z},he=ce?s("span",{className:te.PressableContentWrapper,children:g}):g,ke=ge??U;return s(M.Provider,{value:!0,children:Y?s(G,{...xe,href:Y,ref:me,ariaBusy:_,ariaLive:ve,ariaLabel:e,ariaHidden:ye,children:he}):s("button",{ref:me,type:ue,disabled:x||_,form:"submit"===o&&fe?.nested?fe.id:void 0,"aria-pressed":"toggle"===o||"expandableControl"===o?ke:void 0,"aria-busy":_,"aria-live":ve,"aria-label":e,"aria-hidden":ye,...xe,children:he})})}))),o((e,n)=>{const{activateTarget:o,activateAction:l,onPress:c,overlay:d}=e,{getInteraction:u}=S(),[f,m]=a(!1),[p,b]=a(""),g=I(),v=!o||"auto"!==l&&"copy"!==l&&null!=l?void 0:u(o),y=P(v)&&null!=v?.clipboard.text?v:void 0,x=r(async()=>{c?.();const{text:e,onCopy:n,onCopyError:o}=y.clipboard;let a=!1;try{await j(e),a=!0}catch(r){console.warn("ClipboardItem: failed to copy text to clipboard",r)}finally{if(a){const e=g("clipboardCopied");b(e),m(!0),z({content:e}),n?.()}else{const e=g("clipboardFailedToCopy");b(e),m(!0),z({content:e}),o?.()}k(),h.current=setTimeout(()=>{m(!1)},2500)}},[c,y,g]),h=t(),k=()=>{h.current&&clearTimeout(h.current)};i(()=>()=>k(),[]);const C=y?x:c,w=y?s(R,{open:f,children:p}):d;return s(se,{...e,onPress:C,overlay:w,ref:n})})));var se;export{ie as P,ne as a,oe as b,J as m,ee as t,re 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.