PageSourceSearch

https://www.iu.org/build/assets/Primitive-OUQ7g2gS.js

js iu.org collected 2026-09-24 09:19:07 UTC 831 bytes, 1 lines download raw bytes

1import{B as e,et as t,h as n,k as r,o as i,r as a}from"./runtime-core.esm-bundler-DPmoNEl9.js";function o(e){return e?e.flatMap(e=>e.type===i?o(e.children):[e]):[]}var s=r({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:r,slots:i}){return()=>{if(!i.default)return null;let e=o(i.default()),s=e.findIndex(e=>e.type!==a);if(s===-1)return e;let c=e[s];delete c.props?.ref;let l=c.props?t(r,c.props):r,u=n({...c,props:{}},l);return e.length===1?u:(e[s]=u,e)}}}),c=[`area`,`img`,`input`],l=r({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(t,{attrs:n,slots:r}){let i=t.asChild?`template`:t.as;return typeof i==`string`&&c.includes(i)?()=>e(i,n):i===`template`?()=>e(s,n,{default:r.default}):()=>e(t.as,n,{default:r.default})}});export{s as n,o as r,l 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.