* def a =
"""
function(ths,tsa,hcia) {
karate.log(JSON.stringify(tsa[hcia[0]],null,2))
var fas = (Object.keys(tsa[hcia[0]]))[0]
karate.log("fas " + fas)
var art = null
for(prtsj in ths[hcia[0]]) {
karate.log(JSON.stringify(ths[hcia[0]][prtsj].sku,null,2))
if((Object.keys(ths[hcia[0]][prtsj].sku)).indexOf(fas) > -1) {
art = ths[hcia[0]][prtsj].type
}
}
return art
}
"""