define(function(){var t={},e=[];return{dynamic:!0,normalize:function(t,e){var n=t.split("!"),i=n[0];return n.shift(),(/^\./.test(i)?e(i):i)+(n.length?"!"+n.join("!"):"")},load:function(n,i,o){var l,a,r,s,u=n.split("!"),h=u.length;if((s=h>1&&"sandbox"===u[0])&&(u.shift(),n=u.join("!")),r=i.toUrl(/^\//.test(n)?n:"./"+n,e.length?{name:e[e.length-1]}:null),l=t[r]||i.cache(r),!l)if(window.hasWP8Extensions)i.getFileFromNative(r,0,function(t,e){if(!t)throw new Error('Failed to load include "'+r+'"');l=e});else{if(a=new XMLHttpRequest,a.open("GET",r,!1),a.send(null),200!==a.status)throw new Error('Failed to load include "'+r+'": '+a.status);l=a.responseText}e.push(r);try{i.evaluate(t[r]=l,0,!s)}catch(d){throw d}finally{e.pop()}o(l)}}});