/*! Woodman - v1.1.0 - 2014-01-28 Copyright 2014 Joshfire; MIT license https://github.com/joshfire/woodman Based on Apache Log4j 2 Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved. Apache License, Version 2.0 http://logging.apache.org/log4j/2.x/ Built with RequireJS optimizer r.js 2.1.2 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. new BSD or MIT licensed http://github.com/jrburke/requirejs */ (function(e,t,n){var r,i,s;(function(e){function d(e,t){return h.call(e,t)}function v(e,t){var n,r,i,s,o,u,a,f,c,h,p=t&&t.split("/"),d=l.map,v=d&&d["*"]||{};if(e&&e.charAt(0)===".")if(t){p=p.slice(0,p.length-1),e=p.concat(e.split("/"));for(f=0;f0&&(e.splice(f-1,2),f-=2)}}e=e.join("/")}else e.indexOf("./")===0&&(e=e.substring(2));if((p||v)&&d){n=e.split("/");for(f=n.length;f>0;f-=1){r=n.slice(0,f).join("/");if(p)for(c=p.length;c>0;c-=1){i=d[p.slice(0,c).join("/")];if(i){i=i[r];if(i){s=i,o=f;break}}}if(s)break;!u&&v&&v[r]&&(u=v[r],a=f)}!s&&u&&(s=u,o=a),s&&(n.splice(0,o,s),e=n.join("/"))}return e}function m(t,r){return function(){return n.apply(e,p.call(arguments,0).concat([t,r]))}}function g(e){return function(t){return v(t,e)}}function y(e){return function(t){a[e]=t}}function b(n){if(d(f,n)){var r=f[n];delete f[n],c[n]=!0,t.apply(e,r)}if(!d(a,n)&&!d(c,n))throw new Error("No "+n);return a[n]}function w(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function E(e){return function(){return l&&l.config&&l.config[e]||{}}}var t,n,o,u,a={},f={},l={},c={},h=Object.prototype.hasOwnProperty,p=[].slice;o=function(e,t){var n,r=w(e),i=r[0];return e=r[1],i&&(i=v(i,t),n=b(i)),i?n&&n.normalize?e=n.normalize(e,g(t)):e=v(e,t):(e=v(e,t),r=w(e),i=r[0],e=r[1],i&&(n=b(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n}},u={require:function(e){return m(e)},exports:function(e){var t=a[e];return typeof t!="undefined"?t:a[e]={}},module:function(e){return{id:e,uri:"",exports:a[e],config:E(e)}}},t=function(t,n,r,i){var s,l,h,p,v,g=[],w;i=i||t;if(typeof r=="function"){n=!n.length&&r.length?["require","exports","module"]:n;for(v=0;v0&&n(arguments[arguments.length-1])&&arguments[arguments.length-1]()};return{registerAppender:r,registerFilter:r,registerLayout:r,registerLevel:r,registerStandardLevels:r,load:i,unload:i,initialize:i,start:i,stop:i,getLogger:function(){return{log:r,info:r,warn:r,error:r}},Error:t}}),i(["./woodman-disabled"],function(t){e&&(e.woodman=t),n&&(n.exports=t)},null,!0)})(typeof window!="undefined"?window:this,typeof require=="function"?require:null,typeof module!="undefined"?module:null),typeof define=="function"&&define([],(typeof window!="undefined"?window:this).woodman);