!(!isJavaObject(h)&&typeof h=="undefined"),isUnDef:()=>
-!(isJavaObject(h)||typeof h!="undefined"),isJavaObject:()=>isJavaObjecta(h),isArray:()=>Array.isArray(h),isMap:()=>Object.prototype.toString.call(h)=="[object Object]",isObject:()=>{var l=typeof h;return l==="function"||l==="object"&&!!h},isFunction:()=>typeof h=="function"||!1,isString:()=>typeof h=="string"||!1,isNumber:()=>!isNaN(parseFloat(h))&&isFinite(h),isTNumber:()=>typeof h=="number"||!1,isBoolean:()=>typeof h=="boolean"||!1,isNull:()=>null==h||!1,isDate:()=>null!=h&&!isNaN(h)&&"undefined"!==
-typeof h.getDate,isRegExp:()=>h instanceof RegExp,isUUID:()=>!!h.match(/^\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b$/),isSchema:(l,f)=>{if(typeof Ajv=="undefined")if(typeof loadAjv!="undefined")loadAjv();else throw"Ajv library not loaded.";ow.loadObj();return ow.obj.schemaValidate(l,h,f)}}},_$=function(h,l){l=$$(l).isDef()?l+" ":"";var f=!!$$(h).isDef();var m={default:e=>f?h:e,$_:e=>{$$(e).isUnDef()&&(e=l+"not defined or assigned");if(!f)throw e;return h},isNumber:e=>{$$(e).isUnDef()&&
-(e=l+"is not a number");if(f&&!$$(h).isNumber())throw e;return m},toNumber:e=>{$$(e).isUnDef()&&(e=l+"can't be converted to number");if(f)try{h=Number(h)}catch(g){throw e;}return m},isTNumber:e=>{$$(e).isUnDef()&&(e=l+"is not a number type");if(f&&!$$(h).isTNumber())throw e;return m},isString:e=>{$$(e).isUnDef()&&(e=l+"is not a string");if(f&&!$$(h).isString())throw e;return m},toString:e=>{$$(e).isUnDef()&&(e=l+"can't be converted to string");if(f)try{h=String(h)}catch(g){throw e;}return m},isBoolean:e=>
-{$$(e).isUnDef()&&(e=l+"is not boolean");if(f&&typeof h!=="boolean")throw e;return m},toBoolean:e=>{$$(e).isUnDef()&&(e=l+"can't be converted to a boolean");if(f)try{$$(h).isNumber()&&(h=!!h),$$(h).isString()&&(h=h.trim().toLowerCase()=="true")}catch(g){throw e;}return m},isArray:e=>{$$(e).isUnDef()&&(e=l+"is not an array");if(f&&!$$(h).isArray())throw e;return m},toArray:e=>{$$(e).isUnDef()&&(e=l+"can't be converted to an array");if(f)try{h=String(h).split(",").map(g=>g.trim())}catch(g){throw e;
-}return m},isMap:e=>{$$(e).isUnDef()&&(e=l+"is not a map");if(f&&!$$(h).isMap())throw e;return m},toMap:e=>{$$(e).isUnDef()&&(e=l+"can't be converted to a map");if(f)try{var g=h;h=$$(global.jsonParse).isFunction()?global.jsonParse(g,!0):JSON.parse(g)}catch(p){throw e;}return m},isObject:e=>{$$(e).isUnDef()&&(e=l+"is not an object");if(f&&!$$(h).isObject())throw e;return m},isDate:e=>{$$(e).isUnDef()&&(e=l+"is not a date");if(f&&!$$(h).isDate())throw e;return m},toDate:e=>{$$(e).isUnDef()&&(e=l+"can't be converted to date");
-if(f)try{h=new Date(h)}catch(g){throw e;}return m},isRegExp:e=>{$$(e).isUnDef()&&(e=l+"is not a RegExp");if(f&&!$$(h).isRegExp())throw e;return m},isFunction:e=>{$$(e).isUnDef()&&(e=l+"is not a function");if(f&&!$$(h).isFunction())throw e;return m},isJavaObject:e=>{$$(e).isUnDef()&&(e=l+"is not a java object");if(f&&!isJavaObject(h))throw e;return m},isInstanceOf:(e,g)=>{$$(g).isUnDef()&&(g=l+"is not an instance of "+e);if(f&&!(h instanceof e))throw g;return m},isNotNull:e=>{$$(e).isUnDef()&&(e=l+
-"is null");if(f&&h==null)throw e;return m},isUUID:e=>{$$(e).isUnDef()&&(e=l+"is not an UUID");if(f&&(!$$(h).isString()||h.match(/^\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b$/)))throw e;return m},isSchema:(e,g,p)=>{if(typeof Ajv=="undefined")if(typeof loadAjv!="undefined")loadAjv();else throw"Ajv library not loaded.";ow.loadObj();try{ow.obj.schemaValidate(e,h,p)}catch(t){throw $$(g).isUnDef()&&(g=l+" "+String(t)),g;}return m},check:(e,g)=>{if(!$$(e).isFunction()&&!$$(e).isString())throw"please provide a function to check";
-e=$$(e).isFunction()?e(h):newFn("v","return "+e)(h);$$(g).isUnDef()&&(g=l+"is not ok");if(f&&!e)throw g;return m},expr:(e,g)=>{if(!$$(e).isString())throw"please provide an expression";e=af.eval(templify(e,{v:h}));$$(g).isUnDef()&&(g=l+"is not ok");if(f&&!e)throw g;return m},equals:(e,g)=>{$$(g).isUnDef()&&(g=l+"is equals to "+e);if(f&&h==e)throw g;return m},notEquals:(e,g)=>{$$(g).isUnDef()&&(g=l+"is not equals to "+e);if(f&&h!=e)throw g;return m},anyOf:(e,g)=>{if(!$$(e).isArray())throw"please provide an array of values";
-$$(g).isUnDef()&&(g=l+"has a value not in "+JSON.stringify(e));f&&$$(h).isArray()&&h.forEach(p=>{if(e.indexOf(p)<0)throw g;});return m},oneOf:(e,g)=>{if(!$$(e).isArray())throw"please provide an array of values";$$(g).isUnDef()&&(g=l+"is not one of "+JSON.stringify(e));if(f&&!$$(h).isArray()&&e.indexOf(h)<0)throw g;return m},between:(e,g,p)=>{$$(p).isUnDef()&&(p=l+"is not between "+e+" and "+g);if(f&&(h>=g||h<=e))throw p;},betweenEquals:(e,g,p)=>{$$(p).isUnDef()&&(p=l+"is not between "+e+" and "+g);
-if(f&&(h>g||h Client " + htmlEscape(grant.client) + " requests " + htmlEscape(scopes.join(", ")) + " for " +
+ htmlEscape(grant.resource) + '.Authorize access
" +
+ "