!function(s,x){"object"==typeof module&&module.exports?module.exports=x():s.relationship=x()}("undefined"!=typeof window?window:this,function(){function s(s){s=s.replace(/[二|三|四|五|六|七|八|九|十]{1,2}/g,"x");for(var x=s.split("的"),f=[],b=!0;x.length;){var d=x.shift(),m=[],w=!1;for(var o in l){var h=l[o];h.indexOf(d)>-1&&(!o&&x.length||m.push(o),w=!0)}if(w||(b=!1),f.length){for(var e=[],o=0;o-1&&(s=","+x+s);var d=function(s){var x="";if(!b[s]){b[s]=!0;var m=!0;do{x=s;for(var l in w){var o=w[l];if(s=s.replace(o.exp,o.str),s.indexOf("#")>-1){for(var h=s.split("#"),l=0;l-1?b="&l":s.indexOf("&l")>-1&&(b="&o"),s){s=s.replace(/&[ol]/g,""),x=x?1:0;var d=(","+x+","+s).replace(/,[fhs]|,[olx]b/g,",1").replace(/,[mwd]|,[olx]s/g,",0");d=d.substring(0,d.lastIndexOf(","));for(var m=s.split(",").reverse(),w=d.split(",").reverse(),l=[],o=0;o