PageSourceSearch

https://tayori.com/_nuxt-landing/ContentSlot.Bq2NYasU.js

js tayori.com collected 2026-10-01 09:20:45 UTC 1,842 bytes, 1 lines download raw bytes

1import{d as h,R as S,D as v,ar as s,a9 as w}from"./entry.LkMLbmOy.js";const b=["p","h1","h2","h3","h4","h5","h6","li"];function p(e,r){return e.type===r||typeof e.type=="object"&&e.type.tag===r||e.tag===r}function c(e){return p(e,"text")||p(e,Symbol.for("v-txt"))}function g(e){var r;return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof((r=e.children)==null?void 0:r.default)=="function"?e.children.default():[]}function f(e){if(!e)return"";if(Array.isArray(e))return e.map(f).join("");if(c(e))return e.children||e.value||"";const r=g(e);return Array.isArray(r)?r.map(f).filter(Boolean).join(""):""}function m(e,r=[]){if(Array.isArray(e))return e.flatMap(a=>m(a,r));let n=e;return r.some(a=>a==="*"||p(e,a))&&(n=g(e)||e,!Array.isArray(n)&&b.some(a=>p(e,a))&&(n=[n])),n}function A(e,r=[]){return e=Array.isArray(e)?e:[e],r.length?e.flatMap(n=>A(m(n,[r[0]]),r.slice(1))).filter(n=>!(c(n)&&f(n).trim()==="")):e}const B=h({name:"MDCSlot",functional:!0,props:{name:{type:String,default:"default"},unwrap:{type:[Boolean,String],default:!1},use:{type:Function,default:void 0}},setup(e){const{parent:r}=w(),{default:n}=S();return{fallbackSlot:n,tags:v(()=>typeof e.unwrap=="string"?e.unwrap.split(" "):["*"]),parent:r}},render({use:e,unwrap:r,fallbackSlot:n,tags:a,parent:l}){var y;try{let o=e;return typeof e=="string"&&(o=(l==null?void 0:l.slots[e])||((y=l==null?void 0:l.parent)==null?void 0:y.slots[e])),o?r?function(d,u=[]){return typeof u=="string"&&(u=u.split(",").map(t=>t.trim()).filter(Boolean)),u.length?A(d,u).reduce((t,i)=>(c(i)?typeof t[t.length-1]=="string"?t[t.length-1]+=i.children:t.push(i.children):t.push(i),t),[]):d}(o(),a):[o()]:n?n():s("div")}catch{return s("div")}}}),x=h({props:{use:{type:Function,default:void 0},unwrap:{type:[Boolean,String],default:!1}},render:e=>s(B,e)});export{x as default};

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.