:: %clay browser :: :::: /hook/hymn/dirs/fab/pub :: /= gas /$ fuel /= rut /$ |= [a=beam path] ^- [p=path q=path] [(tope a(s ~)) (flop (slag 1 s.a))] !: :::: ~pittyp-pittyp :: =+ pax=`path`(flop but.gas) =+ cot=(trip ;;(,@ (fall (file (welp p.rut pax)) ''))) =+ js=""" window.location = "/gen/main{}/" + pax.value """ ;html ;head:title:"{}" ;body ;input#pax(onchange js, value (slag 1 )); ;+ =+ ups="%" |- ?: =(~ pax) ;div:a/"/gen/main{}":"/===" =: ups "%{ups}" pax (scag (dec (lent pax)) pax) == =+ sul=;;(arch .^(%cy (welp p.rut pax))) ?: (gte 2 ~(wyt by r.sul)) $ ;div:a/"/gen/main{}{}":"{ups}" :: ;* =+ sub=;;(arch .^(%cy (welp p.rut pax))) =| don=tape %+ turn (~(tap by r.sub)) |= [a=span ~] =: don "{don}/{(trip a)}" pax (welp pax /[a]) == =+ sus=;;(arch .^(%cy (welp p.rut pax))) ?: =(2 ~(wyt by r.sus)) $(a p.n.-.r.sus) ;div:a/"/gen/main{}{}":"{(slag 1 don)}" ;pre:"{cot}" == ==