/**
 * @version   : 16.8.2 - Bridge.NET
 * @author    : Object.NET, Inc. http://bridge.net/
 * @copyright : Copyright 2008-2018 Object.NET, Inc. http://object.net/
 * @license   : See license.txt and https://github.com/bridgedotnet/Bridge/blob/master/LICENSE.md
 */
(function(n){"use strict";var nt,at,e,h,vt,k,yt,t;typeof module!="undefined"&&module.exports&&(n=global);nt={global:n,isNode:Object.prototype.toString.call(typeof process!="undefined"?process:0)==="[object process]",emptyFn:function(){},identity:function(n){return n},toString:function(n){var t,i;if(n==null)throw new System.ArgumentNullException;return(t=Bridge.$toStringGuard[Bridge.$toStringGuard.length-1],n.toString===Object.prototype.toString||t&&t===n)?Bridge.Reflection.getTypeFullName(n):(Bridge.$toStringGuard.push(n),i=n.toString(),Bridge.$toStringGuard.pop(),i)},geti:function(n,t,i){if(Bridge.hasValue(n[t]))return t;if(i&&Bridge.hasValue(n[i]))return i;var r=i||t,u=r.lastIndexOf("$");return/\$\d+$/g.test(r)&&(u=r.lastIndexOf("$",u-1)),r.substr(u+1)},box:function(n,t,i,r){return n&&n.$boxed?n:n==null?n:(n.$clone&&(n=n.$clone()),{$boxed:!0,fn:{toString:i,getHashCode:r},v:n,type:t,constructor:t,getHashCode:function(){return this.fn.getHashCode?this.fn.getHashCode(this.v):Bridge.getHashCode(this.v)},equals:function(n){var t,i;return this===n?!0:(t=this.equals,this.equals=null,i=Bridge.equals(this.v,n),this.equals=t,i)},valueOf:function(){return this.v},toString:function(){return this.fn.toString?this.fn.toString(this.v):this.v.toString()}})},unbox:function(n,t){var r,u,i;if(n&&n.$boxed)return r=n.v,!t&&r&&r.$clone&&(r=r.$clone()),r;if(Bridge.isArray(n))for(u=0;u<n.length;u++)i=n[u],i&&i.$boxed?(i=i.v,i.$clone&&(i=i.$clone())):!t&&i&&i.$clone&&(i=i.$clone()),n[u]=i;return n&&!t&&n.$clone&&(n=n.$clone()),n},virtualc:function(n){return Bridge.virtual(n,!0)},virtual:function(n,t){var i=Bridge.unroll(n),r;return i&&Bridge.isFunction(i)||(r=Bridge.Class.staticInitAllow,i=t?Bridge.define(n):Bridge.definei(n),Bridge.Class.staticInitAllow=!0,i.$staticInit&&i.$staticInit(),Bridge.Class.staticInitAllow=r),i},safe:function(n){try{return n()}catch(t){}return!1},literal:function(n,t){return t.$getType=function(){return n},t},isJSObject:function(n){return Object.prototype.toString.call(n)==="[object Object]"},isPlainObject:function(n){if(typeof n=="object"&&n!==null){if(typeof Object.getPrototypeOf=="function"){var t=Object.getPrototypeOf(n);return t===Object.prototype||t===null}return Object.prototype.toString.call(n)==="[object Object]"}return!1},toPlain:function(n){var i,t,r,u,f;if(!n||Bridge.isPlainObject(n)||typeof n!="object")return n;if(typeof n.toJSON=="function")return n.toJSON();if(Bridge.isArray(n)){for(i=[],t=0;t<n.length;t++)i.push(Bridge.toPlain(n[t]));return i}r={};for(f in n)u=n[f],Bridge.isFunction(u)||(r[f]=u);return r},ref:function(n,t){Bridge.isArray(t)&&(t=System.Array.toIndex(n,t));var i={};return Object.defineProperty(i,"v",{get:function(){return t==null?n:n[t]},set:function(i){t==null&&(i&&i.$clone?i.$clone(n):n=i);n[t]=i}}),i},ensureBaseProperty:function(n,t){var f=Bridge.getType(n),e=f.$descriptors||[],r,i,u,o;if(n.$propMap=n.$propMap||{},n.$propMap[t])return n;for(r=0;r<e.length;r++)i=e[r],i.name===t&&(u={},o="$"+Bridge.getTypeAlias(i.cls)+"$"+t,i.get&&(u.get=i.get),i.set&&(u.set=i.set),Bridge.property(n,o,u,!1,f,!0));return n.$propMap[t]=!0,n},property:function(n,t,i,r,u,f){var e={enumerable:f?!1:!0,configurable:!0},o;return i&&i.get&&(e.get=i.get),i&&i.set&&(e.set=i.set),i&&(i.get||i.set)||(o=Bridge.getTypeAlias(u)+"$"+t,u.$init=u.$init||{},r&&(u.$init[o]=i),function(n,t,i,r){n.get=function(){var n=this.$init[i];return n===undefined?r:n};n.set=function(n){this.$init[i]=n}}(e,n,o,i)),Object.defineProperty(n,t,e),e},event:function(n,t,i,r){n[t]=i;var s=t.charAt(0)==="$",f=s?t.slice(1):t,e="add"+f,o="remove"+f,u=t.lastIndexOf("$"),h=u>0&&t.length-u-1>0&&!isNaN(parseInt(t.substr(u+1)));h&&(u=t.substring(0,u-1).lastIndexOf("$"));u>0&&u!==t.length-1&&(e=t.substring(0,u)+"add"+t.substr(u+1),o=t.substring(0,u)+"remove"+t.substr(u+1));n[e]=function(n,t,i){return i?function(i){t[n]=Bridge.fn.combine(t[n],i)}:function(t){this[n]=Bridge.fn.combine(this[n],t)}}(t,n,r);n[o]=function(n,t,i){return i?function(i){t[n]=Bridge.fn.remove(t[n],i)}:function(t){this[n]=Bridge.fn.remove(this[n],t)}}(t,n,r)},createInstance:function(n,t){return n===System.Decimal?System.Decimal.Zero:n===System.Int64?System.Int64.Zero:n===System.UInt64?System.UInt64.Zero:n===System.Double||n===System.Single||n===System.Byte||n===System.SByte||n===System.Int16||n===System.UInt16||n===System.Int32||n===System.UInt32||n===Bridge.Int?0:typeof n.createInstance=="function"?n.createInstance():typeof n.getDefaultValue=="function"?n.getDefaultValue():n===Boolean||n===System.Boolean?!1:n===System.DateTime?System.DateTime.getDefaultValue():n===Date?new Date:n===Number?0:n===String||n===System.String?"":n&&n.$literal?n.ctor():t&&t.length>0?Bridge.Reflection.applyConstructor(n,t):new n},clone:function(n){if(n==null)return n;if(Bridge.isArray(n))return System.Array.clone(n);if(Bridge.isString(n))return n;var t;return Bridge.isFunction(Bridge.getProperty(n,t="System$ICloneable$clone"))?n[t]():Bridge.is(n,System.ICloneable)?n.clone():Bridge.isFunction(n.$clone)?n.$clone():null},copy:function(n,t,i,r){typeof i=="string"&&(i=i.split(/[,;\s]+/));for(var u,f=0,e=i?i.length:0;f<e;f++)u=i[f],(r!==!0||n[u]==undefined)&&(n[u]=Bridge.is(t[u],System.ICloneable)?Bridge.clone(t[u]):t[u]);return n},get:function(n){return n&&n.$staticInit!==null&&n.$staticInit(),n},ns:function(n,t){var r=n.split("."),i=0;for(t||(t=Bridge.global),i=0;i<r.length;i++)typeof t[r[i]]=="undefined"&&(t[r[i]]={}),t=t[r[i]];return t},ready:function(n,t){var i=function(){t?n.apply(t):n()};if(typeof Bridge.global.jQuery!="undefined")Bridge.global.jQuery(i);else if(typeof Bridge.global.document=="undefined"||Bridge.global.document.readyState==="complete"||Bridge.global.document.readyState==="loaded"||Bridge.global.document.readyState==="interactive")i();else Bridge.on("DOMContentLoaded",Bridge.global.document,i)},on:function(n,t,i,r){var u=function(n){var t=i.apply(r||this,arguments);return t===!1&&(n.stopPropagation(),n.preventDefault()),t},f=function(){var n=i.call(r||t,Bridge.global.event);return n===!1&&(Bridge.global.event.returnValue=!1,Bridge.global.event.cancelBubble=!0),n};t.addEventListener?t.addEventListener(n,u,!1):t.attachEvent("on"+n,f)},addHash:function(n,t,i){if(isNaN(t)&&(t=17),isNaN(i)&&(i=23),Bridge.isArray(n)){for(var r=0;r<n.length;r++)t=t+((t*i|0)+(n[r]==null?0:Bridge.getHashCode(n[r])))|0;return t}return t+((t*i|0)+(n==null?0:Bridge.getHashCode(n)))|0},getHashCode:function(n,t,i){var o,u,f,r,s,e;if(n&&n.$boxed&&n.type.getHashCode)return n.type.getHashCode(Bridge.unbox(n,!0));if(n=Bridge.unbox(n,!0),Bridge.isEmpty(n,!0)){if(t)return 0;throw new System.InvalidOperationException("HashCode cannot be calculated for empty value");}if(i!==!1&&n.hasOwnProperty("item1")&&Bridge.isPlainObject(n)&&(i=!0),n.getHashCode&&Bridge.isFunction(n.getHashCode)&&!n.__insideHashCode&&n.getHashCode.length===0)return n.__insideHashCode=!0,o=n.getHashCode(),delete n.__insideHashCode,o;if(Bridge.isBoolean(n))return n?1:0;if(Bridge.isDate(n))return n.valueOf()&4294967295;if(n===Number.POSITIVE_INFINITY)return 2146435072;if(n===Number.NEGATIVE_INFINITY)return 4293918720;if(Bridge.isNumber(n)){if(Math.floor(n)===n)return n;n=n.toExponential()}if(Bridge.isString(n)){for(u=0,f=0;f<n.length;f++)u=(u<<5)-u+n.charCodeAt(f)&4294967295;return u}if(n.$$hashCode)return n.$$hashCode;if(i&&typeof n=="object"){r=0;for(e in n)n.hasOwnProperty(e)&&(s=Bridge.isEmpty(n[e],!0)?0:Bridge.getHashCode(n[e]),r=29*r+s);if(r!==0)return n.$$hashCode=r,r}return n.$$hashCode=Math.random()*4294967296|0,n.$$hashCode},getDefaultValue:function(n){if(n==null)throw new System.ArgumentNullException("type");else{if(n.getDefaultValue&&n.getDefaultValue.length===0)return n.getDefaultValue();if(Bridge.Reflection.isEnum(n))return System.Enum.parse(n,0);if(n===Boolean||n===System.Boolean)return!1;if(n===System.DateTime)return System.DateTime.getDefaultValue();if(n===Date)return new Date;if(n===Number)return 0}return null},$$aliasCache:[],getTypeAlias:function(n){var t,i,r,u;return n.$$alias?n.$$alias:(t=n.$$name||typeof n=="function"?n:Bridge.getType(n),t.$$alias)?t.$$alias:(i=Bridge.$$aliasCache[t],i)?i:t.$isArray?(r=Bridge.getTypeAlias(t.$elementType),i=r+"$Array"+(t.$rank>1?"$"+t.$rank:""),t.$$name?t.$$alias=i:Bridge.$$aliasCache[t]=i,i):(u=n.$$name||Bridge.getTypeName(n),i=u.replace(/[\.\(\)\,\+]/g,"$"),t.$$name?t.$$alias=i:Bridge.$$aliasCache[t]=i,i)},getTypeName:function(n){return Bridge.Reflection.getTypeFullName(n)},hasValue:function(n){return Bridge.unbox(n,!0)!=null},hasValue$1:function(){if(arguments.length===0)return!1;var n=0;for(n;n<arguments.length;n++)if(Bridge.unbox(arguments[n],!0)==null)return!1;return!0},isObject:function(n){return n===Object||n===System.Object},is:function(n,t,i,r){var f,u,e,o,s;if(n==null)return!!r;if(t===System.Object&&(t=Object),f=typeof t,f==="boolean")return t;if(n.$boxed){if(n.type.$kind==="enum"&&(n.type.prototype.$utype===t||t===System.Enum||t===System.IFormattable||t===System.IComparable))return!0;if(t.$kind!=="interface"&&!t.$nullable)return n.type===t||Bridge.isObject(t);if(i!==!0&&t.$is)return t.$is(Bridge.unbox(n,!0));if(Bridge.Reflection.isAssignableFrom(t,n.type))return!0;n=Bridge.unbox(n,!0)}if(u=n.constructor===Object&&n.$getType?n.$getType():Bridge.Reflection.convertType(n.constructor),t.constructor===Function&&n instanceof t||u===t||Bridge.isObject(t))return!0;if(e=u.$kind||u.$$inherits,o=t.$kind,e||o){if(s=t.$isInterface,s){if(e)return u.$isArrayEnumerator?System.Array.is(n,t):t.isAssignableFrom?t.isAssignableFrom(u):Bridge.Reflection.getInterfaces(u).indexOf(t)>=0;if(Bridge.isArray(n,u))return System.Array.is(n,t)}return i!==!0&&t.$is?t.$is(n):t.$literal&&Bridge.isPlainObject(n)?n.$getType?Bridge.Reflection.isAssignableFrom(t,n.$getType()):!0:!1}if(f==="string"&&(t=Bridge.unroll(t)),f==="function"&&Bridge.getType(n).prototype instanceof t)return!0;if(i!==!0){if(typeof t.$is=="function")return t.$is(n);if(typeof t.isAssignableFrom=="function")return t.isAssignableFrom(Bridge.getType(n))}return Bridge.isArray(n)?System.Array.is(n,t):f==="object"&&(u===t||n instanceof t)},as:function(n,t,i){return Bridge.is(n,t,!1,i)?n!=null&&n.$boxed&&t!==Object&&t!==System.Object?n.v:n:null},cast:function(n,t,i){if(n==null)return n;var r=Bridge.is(n,t,!1,i)?n:null;if(r===null)throw new System.InvalidCastException("Unable to cast type "+(n?Bridge.getTypeName(n):"'null'")+" to type "+Bridge.getTypeName(t));return n.$boxed&&t!==Object&&t!==System.Object?n.v:r},apply:function(n,t,i){for(var f=Bridge.getPropertyNames(t,!0),r,u=0;u<f.length;u++)r=f[u],typeof n[r]=="function"&&typeof t[r]!="function"?n[r](t[r]):n[r]=t[r];return i&&i.call(n,n),n},copyProperties:function(n,t){for(var u=Bridge.getPropertyNames(t,!1),r=0;r<u.length;r++){var i=u[r],e=t.hasOwnProperty(i),f=i.split("$").length;e&&(f===1||f===2&&i.match("$d+$"))&&(n[i]=t[i])}return n},merge:function(n,t,i,r){var u,f,p,w,o,y,h,a,e,c,l,s,v;if(n==null)return t;if(n instanceof System.Decimal&&typeof t=="number")return new System.Decimal(t);if(n instanceof System.Int64&&Bridge.isNumber(t))return new System.Int64(t);if(n instanceof System.UInt64&&Bridge.isNumber(t))return new System.UInt64(t);if(n instanceof Boolean||Bridge.isBoolean(n)||typeof n=="number"||n instanceof String||Bridge.isString(n)||n instanceof Function||Bridge.isFunction(n)||n instanceof Date||Bridge.isDate(n)||Bridge.getType(n).$number)return t;if(Bridge.isArray(t)&&Bridge.isFunction(n.add||n.push))for(w=Bridge.isArray(n)?n.push:n.add,e=0;e<t.length;e++)o=t[e],Bridge.isArray(o)||(o=[typeof r=="undefined"?o:Bridge.merge(r(),o)]),w.apply(n,o);else if(y=Bridge.getType(n),h=y&&y.$descriptors,t)for(u in t){if(f=t[u],a=null,h)for(e=h.length-1;e>=0;e--)if(h[e].name===u){a=h[e];break}if(a!=null)a.set?n[u]=Bridge.merge(n[u],f):Bridge.merge(n[u],f);else if(typeof n[u]=="function")u.match(/^\s*get[A-Z]/)?Bridge.merge(n[u](),f):n[u](f);else if(c="set"+u.charAt(0).toUpperCase()+u.slice(1),l="set"+u,typeof n[c]=="function"&&typeof f!="function")s="g"+c.slice(1),typeof n[s]=="function"?n[c](Bridge.merge(n[s](),f)):n[c](f);else if(typeof n[l]=="function"&&typeof f!="function")s="g"+l.slice(1),typeof n[s]=="function"?n[l](Bridge.merge(n[s](),f)):n[l](f);else if(f&&f.constructor===Object&&n[u])p=n[u],Bridge.merge(p,f);else{if(v=Bridge.isNumber(t),n[u]instanceof System.Decimal&&v)return new System.Decimal(t);if(n[u]instanceof System.Int64&&v)return new System.Int64(t);if(n[u]instanceof System.UInt64&&v)return new System.UInt64(t);n[u]=f}}else return i&&i.call(n,n),t;return i&&i.call(n,n),n},getEnumerator:function(n,t,i){if(typeof n=="string"&&(n=System.String.toCharArray(n)),arguments.length===2&&Bridge.isFunction(t)&&(i=t,t=null),t&&n&&n[t])return n[t].call(n);if(!i&&n&&n.getEnumerator)return n.getEnumerator();var r;if(i&&Bridge.isFunction(Bridge.getProperty(n,r="System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(i)+"$getEnumerator"))||i&&Bridge.isFunction(Bridge.getProperty(n,r="System$Collections$Generic$IEnumerable$1$getEnumerator"))||Bridge.isFunction(Bridge.getProperty(n,r="System$Collections$IEnumerable$getEnumerator")))return n[r]();if(i&&n&&n.getEnumerator)return n.getEnumerator();if(Object.prototype.toString.call(n)==="[object Array]"||n&&Bridge.isDefined(n.length))return new Bridge.ArrayEnumerator(n,i);throw new System.InvalidOperationException("Cannot create enumerator");},getPropertyNames:function(n,t){var i=[];for(var r in n)(t||typeof n[r]!="function")&&i.push(r);return i},getProperty:function(n,t){return Bridge.isHtmlAttributeCollection(n)&&!this.isValidHtmlAttributeName(t)?undefined:n[t]},isValidHtmlAttributeName:function(n){if(!n||!n.length)return!1;return/^[a-zA-Z_][\w\-]*$/.test(n)},isHtmlAttributeCollection:function(n){return typeof n!="undefined"&&Object.prototype.toString.call(n)==="[object NamedNodeMap]"},isDefined:function(n,t){return typeof n!="undefined"&&(t?n!==null:!0)},isEmpty:function(n,t){return typeof n=="undefined"||n===null||(t?!1:n==="")||(!t&&Bridge.isArray(n)?n.length===0:!1)},toArray:function(n){var t,r,u,i=[];if(Bridge.isArray(n))for(t=0,u=n.length;t<u;++t)i.push(n[t]);else for(t=Bridge.getEnumerator(n);t.moveNext();)r=t.Current,i.push(r);return i},toList:function(n,t){return new(System.Collections.Generic.List$1(t||System.Object).$ctor1)(n)},arrayTypes:[n.Array,n.Uint8Array,n.Int8Array,n.Int16Array,n.Uint16Array,n.Int32Array,n.Uint32Array,n.Float32Array,n.Float64Array,n.Uint8ClampedArray],isArray:function(n,t){var i=t||(n!=null?n.constructor:null);return i?Bridge.arrayTypes.indexOf(i)>=0||i.$isArray||Array.isArray(n):!1},isFunction:function(n){return typeof n=="function"},isDate:function(n){return n instanceof Date},isNull:function(n){return n===null||n===undefined},isBoolean:function(n){return typeof n=="boolean"},isNumber:function(n){return typeof n=="number"&&isFinite(n)},isString:function(n){return typeof n=="string"},unroll:function(n,t){var u=n.split("."),i=(t||Bridge.global)[u[0]],r=1;for(r;r<u.length;r++){if(!i)return null;i=i[u[r]]}return i},referenceEquals:function(n,t){return Bridge.hasValue(n)?n===t:!Bridge.hasValue(t)},staticEquals:function(n,t){return Bridge.hasValue(n)?Bridge.hasValue(t)?Bridge.equals(n,t):!1:!Bridge.hasValue(t)},equals:function(n,t){var i,r,u;return n==null&&t==null?!0:(i=Bridge.$equalsGuard[Bridge.$equalsGuard.length-1],i&&i.a===n&&i.b===t)?n===t:(Bridge.$equalsGuard.push({a:n,b:t}),r=function(n,t){if(n&&n.$boxed&&n.type.equals&&n.type.equals.length===2)return n.type.equals(n,t);if(t&&t.$boxed&&t.type.equals&&t.type.equals.length===2)return t.type.equals(t,n);if(n&&Bridge.isFunction(n.equals)&&n.equals.length===1)return n.equals(t);if(t&&Bridge.isFunction(t.equals)&&t.equals.length===1)return t.equals(n);if(Bridge.isFunction(n)&&Bridge.isFunction(t))return Bridge.fn.equals.call(n,t);if(Bridge.isDate(n)&&Bridge.isDate(t))return n.kind!==undefined&&n.ticks!==undefined&&t.kind!==undefined&&t.ticks!==undefined?n.ticks.equals(t.ticks):n.valueOf()===t.valueOf();if(Bridge.isNull(n)&&Bridge.isNull(t))return!0;if(Bridge.isNull(n)!==Bridge.isNull(t))return!1;var i=n===t;return!i&&typeof n=="object"&&typeof t=="object"&&n!==null&&t!==null&&n.$kind==="struct"&&t.$kind==="struct"&&n.$$name===t.$$name?Bridge.getHashCode(n)===Bridge.getHashCode(t)&&Bridge.objectEquals(n,t):!i&&n&&t&&n.hasOwnProperty("item1")&&Bridge.isPlainObject(n)&&t.hasOwnProperty("item1")&&Bridge.isPlainObject(t)?Bridge.objectEquals(n,t):i},u=r(n,t),Bridge.$equalsGuard.pop(),u)},objectEquals:function(n,t){Bridge.$$leftChain=[];Bridge.$$rightChain=[];var i=Bridge.deepEquals(n,t);return delete Bridge.$$leftChain,delete Bridge.$$rightChain,i},deepEquals:function(n,t){if(typeof n=="object"&&typeof t=="object"){if(n===t)return!0;if(Bridge.$$leftChain.indexOf(n)>-1||Bridge.$$rightChain.indexOf(t)>-1)return!1;for(var i in t)if(t.hasOwnProperty(i)!==n.hasOwnProperty(i)||typeof t[i]!=typeof n[i])return!1;for(i in n){if(t.hasOwnProperty(i)!==n.hasOwnProperty(i)||typeof n[i]!=typeof t[i])return!1;if(n[i]===t[i])continue;else if(typeof n[i]=="object"){if(Bridge.$$leftChain.push(n),Bridge.$$rightChain.push(t),!Bridge.deepEquals(n[i],t[i]))return!1;Bridge.$$leftChain.pop();Bridge.$$rightChain.pop()}else if(!Bridge.equals(n[i],t[i]))return!1}return!0}return Bridge.equals(n,t)},numberCompare:function(n,t){return n<t?-1:n>t?1:n==t?0:isNaN(n)?isNaN(t)?0:-1:1},compare:function(n,t,i,r){if(n&&n.$boxed&&(n=Bridge.unbox(n,!0)),t&&t.$boxed&&(t=Bridge.unbox(t,!0)),typeof n=="number"&&typeof t=="number")return Bridge.numberCompare(n,t);if(Bridge.isDefined(n,!0)){if(Bridge.isNumber(n)||Bridge.isString(n)||Bridge.isBoolean(n))return Bridge.isString(n)&&!Bridge.hasValue(t)?1:n<t?-1:n>t?1:0;if(Bridge.isDate(n))return n.kind!==undefined&&n.ticks!==undefined?Bridge.compare(n.ticks,t.ticks):Bridge.compare(n.valueOf(),t.valueOf())}else{if(i)return 0;throw new System.NullReferenceException;}var u;if(r&&Bridge.isFunction(Bridge.getProperty(n,u="System$IComparable$1$"+Bridge.getTypeAlias(r)+"$compareTo"))||r&&Bridge.isFunction(Bridge.getProperty(n,u="System$IComparable$1$compareTo"))||Bridge.isFunction(Bridge.getProperty(n,u="System$IComparable$compareTo")))return n[u](t);if(Bridge.isFunction(n.compareTo))return n.compareTo(t);if(r&&Bridge.isFunction(Bridge.getProperty(t,u="System$IComparable$1$"+Bridge.getTypeAlias(r)+"$compareTo"))||r&&Bridge.isFunction(Bridge.getProperty(t,u="System$IComparable$1$compareTo"))||Bridge.isFunction(Bridge.getProperty(t,u="System$IComparable$compareTo")))return-t[u](n);if(Bridge.isFunction(t.compareTo))return-t.compareTo(n);if(i)return 0;throw new System.Exception("Cannot compare items");},equalsT:function(n,t,i){if(n&&n.$boxed&&n.type.equalsT&&n.type.equalsT.length===2)return n.type.equalsT(n,t);if(t&&t.$boxed&&t.type.equalsT&&t.type.equalsT.length===2)return t.type.equalsT(t,n);if(Bridge.isDefined(n,!0)){if(Bridge.isNumber(n)||Bridge.isString(n)||Bridge.isBoolean(n))return n===t;if(Bridge.isDate(n))return n.kind!==undefined&&n.ticks!==undefined?n.ticks.equals(t.ticks):n.valueOf()===t.valueOf()}else throw new System.NullReferenceException;var r;return i&&n!=null&&Bridge.isFunction(Bridge.getProperty(n,r="System$IEquatable$1$"+Bridge.getTypeAlias(i)+"$equalsT"))?n[r](t):i&&t!=null&&Bridge.isFunction(Bridge.getProperty(t,r="System$IEquatable$1$"+Bridge.getTypeAlias(i)+"$equalsT"))?t[r](n):Bridge.isFunction(n)&&Bridge.isFunction(t)?Bridge.fn.equals.call(n,t):n.equalsT?n.equalsT(t):t.equalsT(n)},format:function(n,t,i){if(n&&n.$boxed){if(n.type.$kind==="enum")return System.Enum.format(n.type,n.v,t);if(n.type===System.Char)return System.Char.format(Bridge.unbox(n,!0),t,i);if(n.type.format)return n.type.format(Bridge.unbox(n,!0),t,i)}if(Bridge.isNumber(n))return Bridge.Int.format(n,t,i);if(Bridge.isDate(n))return System.DateTime.format(n,t,i);var r;return Bridge.isFunction(Bridge.getProperty(n,r="System$IFormattable$format"))?n[r](t,i):n.format(t,i)},getType:function(n,t){var r,i;if(n&&n.$boxed)return n.type;if(n==null)throw new System.NullReferenceException("instance is null");if(t)return r=Bridge.getType(n),Bridge.Reflection.isAssignableFrom(t,r)?r:t;if(typeof n=="number")return!isNaN(n)&&isFinite(n)&&Math.floor(n,0)===n?System.Int32:System.Double;if(n.$type)return n.$type;if(n.$getType)return n.$getType();i=null;try{i=n.constructor}catch(u){i=Object}return Bridge.Reflection.convertType(i)},isLower:function(n){var t=String.fromCharCode(n);return t===t.toLowerCase()&&t!==t.toUpperCase()},isUpper:function(n){var t=String.fromCharCode(n);return t!==t.toLowerCase()&&t===t.toUpperCase()},coalesce:function(n,t){return Bridge.hasValue(n)?n:t},fn:{equals:function(n){return this===n?!0:n==null||this.constructor!==n.constructor?!1:this.equals&&this.equals===n.equals&&this.$method&&this.$method===n.$method&&this.$scope&&this.$scope===n.$scope},call:function(n,t){var i=Array.prototype.slice.call(arguments,2);return n=n||Bridge.global,n[t].apply(n,i)},makeFn:function(n,t){switch(t){case 0:return function(){return n.apply(this,arguments)};case 1:return function(){return n.apply(this,arguments)};case 2:return function(){return n.apply(this,arguments)};case 3:return function(){return n.apply(this,arguments)};case 4:return function(){return n.apply(this,arguments)};case 5:return function(){return n.apply(this,arguments)};case 6:return function(){return n.apply(this,arguments)};case 7:return function(){return n.apply(this,arguments)};case 8:return function(){return n.apply(this,arguments)};case 9:return function(){return n.apply(this,arguments)};case 10:return function(){return n.apply(this,arguments)};case 11:return function(){return n.apply(this,arguments)};case 12:return function(){return n.apply(this,arguments)};case 13:return function(){return n.apply(this,arguments)};case 14:return function(){return n.apply(this,arguments)};case 15:return function(){return n.apply(this,arguments)};case 16:return function(){return n.apply(this,arguments)};case 17:return function(){return n.apply(this,arguments)};case 18:return function(){return n.apply(this,arguments)};case 19:return function(){return n.apply(this,arguments)};default:return function(){return n.apply(this,arguments)}}},cacheBind:function(n,t,i,r){return Bridge.fn.bind(n,t,i,r,!0)},bind:function(n,t,i,r,u){var e,f;if(t&&t.$method===t&&t.$scope===n)return t;if(n&&u&&n.$$bind)for(e=0;e<n.$$bind.length;e++)if(n.$$bind[e].$method===t)return n.$$bind[e];return f=arguments.length===2?Bridge.fn.makeFn(function(){Bridge.caller.unshift(this);var i=null;try{i=t.apply(n,arguments)}finally{Bridge.caller.shift(this)}return i},t.length):Bridge.fn.makeFn(function(){var u=i||arguments,f;r===!0?(u=Array.prototype.slice.call(arguments,0),u=u.concat(i)):typeof r=="number"&&(u=Array.prototype.slice.call(arguments,0),r===0?u.unshift.apply(u,i):r<u.length?u.splice.apply(u,[r,0].concat(i)):u.push.apply(u,i));Bridge.caller.unshift(this);f=null;try{f=t.apply(n,u)}finally{Bridge.caller.shift(this)}return f},t.length),n&&u&&(n.$$bind=n.$$bind||[],n.$$bind.push(f)),f.$method=t,f.$scope=n,f.equals=Bridge.fn.equals,f},bindScope:function(n,t){var i=Bridge.fn.makeFn(function(){var i=Array.prototype.slice.call(arguments,0),r;i.unshift.apply(i,[n]);Bridge.caller.unshift(this);r=null;try{r=t.apply(n,i)}finally{Bridge.caller.shift(this)}return r},t.length);return i.$method=t,i.$scope=n,i.equals=Bridge.fn.equals,i},$build:function(n){if(!n||n.length===0)return null;var t=function(){for(var i=null,r,t=0;t<n.length;t++)r=n[t],i=r.apply(null,arguments);return i};return t.$invocationList=n?Array.prototype.slice.call(n,0):[],n=t.$invocationList.slice(),t},combine:function(n,t){var i,r,u;return!n||!t?(i=n||t,i?Bridge.fn.$build([i]):i):(r=n.$invocationList?n.$invocationList:[n],u=t.$invocationList?t.$invocationList:[t],Bridge.fn.$build(r.concat(u)))},getInvocationList:function(n){if(n==null)throw new System.ArgumentNullException;return n.$invocationList||(n.$invocationList=[n]),n.$invocationList},remove:function(n,t){if(!n||!t)return n||null;for(var r=n.$invocationList?n.$invocationList:[n],f=t.$invocationList?t.$invocationList:[t],e,i,u=0;u<f.length;u++){for(e=-1,i=r.length-1;i>=0;i--)if(r[i]===f[u]||r[i].$method&&r[i].$method===f[u].$method&&r[i].$scope&&r[i].$scope===f[u].$scope){e=i;break}e>-1&&r.splice(e,1)}return Bridge.fn.$build(r)}},sleep:function(n,t){if(Bridge.hasValue(t)&&(n=t.getTotalMilliseconds()),isNaN(n)||n<-1||n>2147483647)throw new System.ArgumentOutOfRangeException("timeout","Number must be either non-negative and less than or equal to Int32.MaxValue or -1");n==-1&&(n=2147483647);for(var i=(new Date).getTime();(new Date).getTime()-i<n;)if((new Date).getTime()-i>2147483647)break},getMetadata:function(n){return n.$getMetadata?n.$getMetadata():n.$metadata},loadModule:function(n,t){var f=n.amd,i=n.cjs,h=n.fn,s=new System.Threading.Tasks.TaskCompletionSource,e=Bridge.global[h||"require"],o,u,r;if(f&&f.length>0)e(f,function(){var r=Array.prototype.slice.call(arguments,0),n;if(i&&i.length>0)for(n=0;n<i.length;n++)r.push(e(i[n]));t.apply(Bridge.global,r);s.setResult()});else{if(i&&i.length>0){for(r=new System.Threading.Tasks.Task,r.status=System.Threading.Tasks.TaskStatus.ranToCompletion,o=[],u=0;u<i.length;u++)o.push(e(i[u]));return t.apply(Bridge.global,o),r}return r=new System.Threading.Tasks.Task,r.status=System.Threading.Tasks.TaskStatus.ranToCompletion,r}return s.task}};n.Bridge=nt;n.Bridge.caller=[];n.Bridge.$equalsGuard=[];n.Bridge.$toStringGuard=[];n.console&&(n.Bridge.Console=n.console);n.System={};n.System.Diagnostics={};n.System.Diagnostics.Contracts={};n.System.Threading={};var i=function(n){return Bridge.global.navigator&&n.test(Bridge.global.navigator.userAgent.toLowerCase())},tt=Bridge.global.document&&Bridge.global.document.compatMode==="CSS1Compat",v=function(n,t){var i;return Bridge.global.navigator&&n&&(i=t.exec(navigator.userAgent.toLowerCase()))?parseFloat(i[1]):0},r=Bridge.global.document?Bridge.global.document.documentMode:null,p=i(/opera/),pt=p&&i(/version\/10\.5/),it=i(/\bchrome\b/),d=i(/webkit/),c=!it&&i(/safari/),wt=c&&i(/applewebkit\/4/),bt=c&&i(/version\/3/),kt=c&&i(/version\/4/),dt=c&&i(/version\/5\.0/),gt=c&&i(/version\/5/),u=!p&&(i(/msie/)||i(/trident/)),o=u&&(i(/msie 7/)&&r!==8&&r!==9&&r!==10||r===7),s=u&&(i(/msie 8/)&&r!==7&&r!==9&&r!==10||r===8),l=u&&(i(/msie 9/)&&r!==7&&r!==8&&r!==10||r===9),w=u&&(i(/msie 10/)&&r!==7&&r!==8&&r!==9||r===10),rt=u&&(i(/trident\/7\.0/)&&r!==7&&r!==8&&r!==9&&r!==10||r===11),f=u&&i(/msie 6/),y=!d&&!u&&i(/gecko/),b=y&&i(/rv:1\.9/),ni=y&&i(/rv:2\.0/),ti=y&&i(/rv:5\./),ii=y&&i(/rv:10\./),ri=b&&i(/rv:1\.9\.0/),ui=b&&i(/rv:1\.9\.1/),fi=b&&i(/rv:1\.9\.2/),ut=i(/windows|win32/),ft=i(/macintosh|mac os x/),et=i(/linux/),ei=v(!0,/\bchrome\/(\d+\.\d+)/),a=v(!0,/\bfirefox\/(\d+\.\d+)/),oi=v(u,/msie (\d+\.\d+)/),si=v(p,/version\/(\d+\.\d+)/),hi=v(c,/version\/(\d+\.\d+)/),ci=v(d,/webkit\/(\d+\.\d+)/),li=Bridge.global.location?/^https/i.test(Bridge.global.location.protocol):!1,ot=Bridge.global.navigator&&/iPhone/i.test(Bridge.global.navigator.platform),st=Bridge.global.navigator&&/iPod/i.test(Bridge.global.navigator.platform),g=Bridge.global.navigator&&/iPad/i.test(Bridge.global.navigator.userAgent),ai=Bridge.global.navigator&&/Blackberry/i.test(Bridge.global.navigator.userAgent),ht=Bridge.global.navigator&&/Android/i.test(Bridge.global.navigator.userAgent),ct=ft||ut||et&&!ht,lt=g,vi=!ct&&!lt,yi={isStrict:tt,isIEQuirks:u&&!tt&&(f||o||s||l),isOpera:p,isOpera10_5:pt,isWebKit:d,isChrome:it,isSafari:c,isSafari3:bt,isSafari4:kt,isSafari5:gt,isSafari5_0:dt,isSafari2:wt,isIE:u,isIE6:f,isIE7:o,isIE7m:f||o,isIE7p:u&&!f,isIE8:s,isIE8m:f||o||s,isIE8p:u&&!(f||o),isIE9:l,isIE9m:f||o||s||l,isIE9p:u&&!(f||o||s),isIE10:w,isIE10m:f||o||s||l||w,isIE10p:u&&!(f||o||s||l),isIE11:rt,isIE11m:f||o||s||l||w||rt,isIE11p:u&&!(f||o||s||l||w),isGecko:y,isGecko3:b,isGecko4:ni,isGecko5:ti,isGecko10:ii,isFF3_0:ri,isFF3_5:ui,isFF3_6:fi,isFF4:4<=a&&a<5,isFF5:5<=a&&a<6,isFF10:10<=a&&a<11,isLinux:et,isWindows:ut,isMac:ft,chromeVersion:ei,firefoxVersion:a,ieVersion:oi,operaVersion:si,safariVersion:hi,webKitVersion:ci,isSecure:li,isiPhone:ot,isiPod:st,isiPad:g,isBlackberry:ai,isAndroid:ht,isDesktop:ct,isTablet:lt,isPhone:vi,iOS:ot||g||st,standalone:Bridge.global.navigator?!!Bridge.global.navigator.standalone:!1};Bridge.Browser=yi;at={_initialize:function(){this.$init||(this.$init={},this.$staticInit&&this.$staticInit(),this.$initMembers&&this.$initMembers())},initConfig:function(n,t,i,r,u,f){var v,e,l=r?u:u.ctor,s=l.$descriptors,w=l.$aliases,y,o,h,p,a,c;if(i.fields)for(e in i.fields)u[e]=i.fields[e];if(y=i.properties,y)for(e in y){if(o=y[e],o!=null&&Bridge.isPlainObject(o)&&(!o.get||!o.set)){for(a=0;a<s.length;a++)s[a].name===e&&(h=s[a]);h&&h.get&&!o.get&&(o.get=h.get);h&&h.set&&!o.set&&(o.set=h.set)}p=Bridge.property(r?u:f,e,o,r,l);p.name=e;p.cls=l;s.push(p)}if(i.events)for(e in i.events)Bridge.event(u,e,i.events[e],r);if(i.alias)for(c=0;c<i.alias.length;c++)(function(n,t,i){for(var c,h,e,r=null,o=s.length-1;o>=0;o--)if(s[o].name===t){r=s[o];break}for(c=Array.isArray(i)?i:[i],h=0;h<c.length;h++)i=c[h],r!=null?(Object.defineProperty(n,i,r),w.push({alias:i,descriptor:r})):(e=u[t],e===undefined&&f&&(e=f[t]),Bridge.isFunction(e)?(u[i]=e,w.push({fn:t,alias:i})):(r={get:function(){return this[t]},set:function(n){this[t]=n}},Object.defineProperty(n,i,r),w.push({alias:i,descriptor:r})))})(r?u:f,i.alias[c],i.alias[c+1],l),c++;i.init&&(v=i.init);(v||n&&!r&&t.$initMembers)&&(u.$initMembers=function(){n&&!r&&t.$initMembers&&t.$initMembers.call(this);v&&v.call(this)})},convertScheme:function(n){var t={},i=function(n,t){for(var u,i,r,o=["fields","methods","events","props","properties","alias","ctors"],e=Object.keys(n),f=0;f<e.length;f++)u=e[f],o.indexOf(u)===-1&&(t[u]=n[u]);n.fields&&Bridge.apply(t,n.fields);n.methods&&Bridge.apply(t,n.methods);i={};r=!1;n.props?(i.properties=n.props,r=!0):n.properties&&(i.properties=n.properties,r=!0);n.events&&(i.events=n.events,r=!0);n.alias&&(i.alias=n.alias,r=!0);n.ctors&&(n.ctors.init&&(i.init=n.ctors.init,r=!0,delete n.ctors.init),Bridge.apply(t,n.ctors));r&&(t.$config=i)};return n.main&&(t.$main=n.main,delete n.main),i(n,t),(n.statics||n.$statics)&&(t.$statics={},i(n.statics||n.$statics,t.$statics)),t},definei:function(n,t,i){(i===!0||!i)&&t?t.$kind="interface":i?i.$kind="interface":t={$kind:"interface"};var r=Bridge.define(n,t,i);return r.$kind="interface",r.$isInterface=!0,r},define:function(n,t,i,r){var a=!1,l,tt,u,ut,ft,k,at,d,g,nt,c,et;if(i===!0?(a=!0,i=t,t=Bridge.global):i||(i=t,t=Bridge.global),Bridge.isFunction(i))return l=function(){var t,r,f,u;return(r=Bridge.Class.getCachedType(l,arguments),r)?r.type:(t=Array.prototype.slice.call(arguments),f=i.apply(null,t),u=Bridge.define(Bridge.Class.genericName(n,t),f,!0,{fn:l,args:t}),Bridge.Class.staticInitAllow||Bridge.Class.queueIsBlocked||Bridge.Class.$queue.push(u),Bridge.get(u))},l.$cache=[],Bridge.Class.generic(n,t,l,i);a||(Bridge.Class.staticInitAllow=!1);i=i||{};i.$kind=i.$kind||"class";tt=!1;i.$kind.match("^nested ")!==null&&(tt=!0,i.$kind=i.$kind.substr(7));i.$kind!=="enum"||i.inherits||(i.inherits=[System.IComparable,System.IFormattable]);var it=["fields","events","props","ctors","methods"],ot=Bridge.isFunction(i.main)?0:1,st=function(n){if(n.config&&Bridge.isPlainObject(n.config)||n.$main&&Bridge.isFunction(n.$main)||n.hasOwnProperty("ctor")&&Bridge.isFunction(n.ctor))return ot=1,!1;if(n.alias&&Bridge.isArray(n.alias)&&n.alias.length>0&&n.alias.length%2==0)return!0;for(var t=0;t<it.length;t++)if(n[it[t]]&&Bridge.isPlainObject(n[it[t]]))return!0;return!1},p=st(i);!p&&i.statics&&(p=st(i.statics));p||(p=ot==0);p&&(i=Bridge.Class.convertScheme(i));var f=i.$inherits||i.inherits,o=i.$statics||i.statics,ht=i.$entryPoint,v,s,ct=i.$scope||t||Bridge.global,w=Bridge.global.System&&Bridge.global.System.Object||Object,h,lt,b,y,e,rt=!0;if(i.$kind==="enum"&&(f=[System.Enum]),i.$noRegister===!0&&(rt=!1,delete i.$noRegister),i.$inherits?delete i.$inherits:delete i.inherits,ht&&delete i.$entryPoint,Bridge.isFunction(o)?o=null:i.$statics?delete i.$statics:delete i.statics,ut=i.hasOwnProperty("ctor")&&i.ctor,ut?u=ut:(u=i.$literal?function(n){return n=n||{},n.$getType=function(){return u},n}:function(){this.$initialize();u.$base&&(u.$$inherits&&u.$$inherits.length>0&&u.$$inherits[0].$staticInit&&u.$$inherits[0].$staticInit(),u.$base.ctor&&u.$base.ctor.call(this))},i.ctor=u),i.$literal&&(o&&o.createInstance||(u.createInstance=function(){var n={};return n.$getType=function(){return u},n}),u.$literal=!0,delete i.$literal),!a&&rt&&(ct=Bridge.Class.set(ct,n,u)),r&&r.fn.$cache.push({type:u,args:r.args}),u.$$name=n,tt&&(ft=u.$$name.lastIndexOf("."),u.$$name=u.$$name.substr(0,ft)+"+"+u.$$name.substr(ft+1)),u.$kind=i.$kind,i.$metadata&&(u.$metadata=i.$metadata),r&&a){for(u.$genericTypeDefinition=r.fn,u.$typeArguments=r.args,u.$assembly=r.fn.$assembly||Bridge.$currentAssembly,k=Bridge.Reflection.getTypeFullName(r.fn),h=0;h<r.args.length;h++)k+=(h===0?"[":",")+"["+Bridge.Reflection.getTypeQName(r.args[h])+"]";k+="]";u.$$fullname=k}else u.$$fullname=u.$$name;f&&Bridge.isFunction(f)&&(f=f());Bridge.Class.createInheritors(u,f);at=f?f[0].$kind==="interface":!0;at&&(f=null);v=f?f[0].prototype:this.prototype;u.$base=v;s=f?f[0].$$initCtor?new f[0].$$initCtor:new f[0]:w.$$initCtor?new w.$$initCtor:new w;u.$$initCtor=function(){};u.$$initCtor.prototype=s;u.$$initCtor.prototype.constructor=u;u.$$initCtor.prototype.$$fullname=r&&a?u.$$fullname:u.$$name;o&&(d=o.$config||o.config,d&&!Bridge.isFunction(d)&&(Bridge.Class.initConfig(f,v,d,!0,u),o.$config?delete o.$config:delete o.config));g=i.$config||i.config;g&&!Bridge.isFunction(g)?(Bridge.Class.initConfig(f,v,g,!1,i,s),i.$config?delete i.$config:delete i.config):f&&v.$initMembers&&(i.$initMembers=function(){v.$initMembers.call(this)});i.$initialize=Bridge.Class._initialize;nt=[];for(e in i)nt.push(e);for(h=0;h<nt.length;h++)e=nt[h],lt=i[e],b=e==="ctor",y=e,Bridge.isFunction(lt)&&(b||e.match("^\\$ctor")!==null)&&(b=!0),c=i[e],b?(u[y]=c,u[y].prototype=s,u[y].prototype.constructor=u,s[y]=c):s[y]=c;if(s.$$name=n,s.toJSON||(s.toJSON=Bridge.Class.toJSON),o){for(e in o)c=o[e],e==="ctor"?u.$ctor=c:(i.$kind!=="enum"||Bridge.isFunction(c)||e.charAt(0)==="$"||(u.$names=u.$names||[],u.$names.push({name:e,value:c})),u[e]=c);i.$kind==="enum"&&u.$names&&(u.$names=u.$names.sort(function(n,t){return Bridge.isFunction(n.value.eq)?n.value.sub(t.value).sign():n.value-t.value}).map(function(n){return n.name}))}return f||(f=[w].concat(u.$interfaces)),Bridge.Class.setInheritors(u,f),l=function(){Bridge.Class.staticInitAllow&&!u.$isGenericTypeDefinition&&(u.$staticInit=null,u.$initMembers&&u.$initMembers(),u.$ctor&&u.$ctor())},(ht||Bridge.isFunction(s.$main))&&(s.$main&&(et=s.$main.name||"Main",u[et]||(u[et]=s.$main)),Bridge.Class.$queueEntry.push(u)),u.$staticInit=l,!a&&rt&&Bridge.Class.registerType(n,u),Bridge.Reflection&&(u.$getMetadata=Bridge.Reflection.getMetadata),u.$kind==="enum"&&(u.prototype.$utype||(u.prototype.$utype=System.Int32),u.$is=function(n){var t=u.prototype.$utype;return t===String?typeof n=="string":t&&t.$is?t.$is(n):typeof n=="number"},u.getDefaultValue=function(){var n=u.prototype.$utype;return n===String||n===System.String?null:0}),u.$kind==="interface"&&(u.prototype.$variance&&(u.isAssignableFrom=Bridge.Class.varianceAssignable),u.$isInterface=!0),u},toCtorString:function(){return Bridge.Reflection.getTypeName(this)},createInheritors:function(n,t){var c=[],f=[],l=[],a=[],e,i,u;if(t)for(e=0;e<t.length;e++){var r=t[e],o=(r.$interfaces||[]).concat(r.$baseInterfaces||[]),s=r.$descriptors,h=r.$aliases;if(s&&s.length>0)for(i=0;i<s.length;i++)l.push(s[i]);if(h&&h.length>0)for(i=0;i<h.length;i++)a.push(h[i]);if(o.length>0)for(u=0;u<o.length;u++)f.indexOf(o[u])<0&&f.push(o[u]);r.$kind==="interface"&&c.push(r)}n.$descriptors=l;n.$aliases=a;n.$baseInterfaces=f;n.$interfaces=c;n.$allInterfaces=c.concat(f)},toJSON:function(){var e={},o=Bridge.getType(this),i=o.$descriptors||[],n,r,u,t,f;for(n in this){if(r=this.hasOwnProperty(n),u=null,!r)for(t=i.length-1;t>=0;t--)if(i[t].name===n){u=i[t];break}f=n.split("$").length;(r||u!=null)&&(f===1||f===2&&n.match("$d+$"))&&(e[n]=this[n])}return e},setInheritors:function(n,t){var i,r;for(n.$$inherits=t,i=0;i<t.length;i++)r=t[i],r.$$inheritors||(r.$$inheritors=[]),r.$$inheritors.push(n)},varianceAssignable:function(n){var r=function(n,t){var i;if(t.$genericTypeDefinition===n.$genericTypeDefinition&&t.$typeArguments.length===n.$typeArguments.length){for(i=0;i<n.$typeArguments.length;i++){var f=n.prototype.$variance[i],r=n.$typeArguments[i],u=t.$typeArguments[i];switch(f){case 1:if(!Bridge.Reflection.isAssignableFrom(r,u))return!1;break;case 2:if(!Bridge.Reflection.isAssignableFrom(u,r))return!1;break;default:if(u!==r)return!1}}return!0}return!1},i,t;if(n.$kind==="interface"&&r(this,n))return!0;for(i=Bridge.Reflection.getInterfaces(n),t=0;t<i.length;t++)if(i[t]===this||r(this,i[t]))return!0;return!1},registerType:function(n,t){Bridge.$currentAssembly&&(Bridge.$currentAssembly.$types[n]=t,t.$assembly=Bridge.$currentAssembly)},addExtend:function(n,t){var f,i,r,u;for(Array.prototype.push.apply(n.$$inherits,t),n.$interfaces=n.$interfaces||[],n.$baseInterfaces=n.$baseInterfaces||[],f=0;f<t.length;f++){if(i=t[f],i.$$inheritors||(i.$$inheritors=[]),i.$$inheritors.push(n),r=(i.$interfaces||[]).concat(i.$baseInterfaces||[]),r.length>0)for(u=0;u<r.length;u++)n.$baseInterfaces.indexOf(r[u])<0&&n.$baseInterfaces.push(r[u]);i.$kind==="interface"&&n.$interfaces.push(i)}n.$allInterfaces=n.$interfaces.concat(n.$baseInterfaces)},set:function(n,t,i,r){for(var u=t.split("."),o,h,e,s,f=0;f<u.length-1;f++)typeof n[u[f]]=="undefined"&&(n[u[f]]={}),n=n[u[f]];if(o=u[u.length-1],e=n[o],e){if(e.$$name===t)throw"Class '"+t+"' is already defined";for(h in e)s=e[h],typeof s=="function"&&s.$$name&&function(n,t,i){Object.defineProperty(n,t,{get:function(){return Bridge.Class.staticInitAllow&&(i.$staticInit&&i.$staticInit(),Bridge.Class.defineProperty(n,t,i)),i},set:function(n){i=n},enumerable:!0,configurable:!0})}(i,h,s)}return r!==!0?function(n,t,i){Object.defineProperty(n,t,{get:function(){return Bridge.Class.staticInitAllow&&(i.$staticInit&&i.$staticInit(),Bridge.Class.defineProperty(n,t,i)),i},set:function(n){i=n},enumerable:!0,configurable:!0})}(n,o,i):n[o]=i,n},defineProperty:function(n,t,i){Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0})},genericName:function(n,t){for(var r,u=n,i=0;i<t.length;i++)r=t[i],u+="$"+(r.$$name||Bridge.getTypeName(r));return u},getCachedType:function(n,t){for(var e=n.$cache,o=e.length,i,f,r,u=0;u<o;u++)if(i=e[u],i.args.length===t.length){for(f=!0,r=0;r<i.args.length;r++)if(i.args[r]!==t[r]){f=!1;break}if(f)return i}return null},generic:function(n,t,i,r){return i.$$name=n,i.$kind="class",Bridge.Class.set(t,n,i,!0),Bridge.Class.registerType(n,i),i.$typeArgumentCount=r.length,i.$isGenericTypeDefinition=!0,i.$getMetadata=Bridge.Reflection.getMetadata,i.$staticInit=function(){var f,e,t,n,u,o;i.$typeArguments=Bridge.Reflection.createTypeParams(r);f=Bridge.Class.staticInitAllow;e=Bridge.Class.queueIsBlocked;Bridge.Class.staticInitAllow=!1;Bridge.Class.queueIsBlocked=!0;t=r.apply(null,i.$typeArguments);n=t.$inherits||t.inherits;Bridge.Class.staticInitAllow=f;Bridge.Class.queueIsBlocked=e;n&&Bridge.isFunction(n)&&(n=n());Bridge.Class.createInheritors(i,n);u=Bridge.global.System&&Bridge.global.System.Object||Object;n||(n=[u].concat(i.$interfaces));Bridge.Class.setInheritors(i,n);o=n?n[0].$$initCtor?new n[0].$$initCtor:new n[0]:new u;i.prototype=o;i.prototype.constructor=i},Bridge.Class.$queue.push(i),i},init:function(n){var r,u,f,o,e,t,i;if(Bridge.Reflection&&(r=Bridge.Reflection.deferredMeta,u=r.length,u>0))for(Bridge.Reflection.deferredMeta=[],t=0;t<u;t++)f=r[t],Bridge.setMetadata(f.typeName,f.metadata);if(n){o=Bridge.Class.staticInitAllow;Bridge.Class.staticInitAllow=!0;n();Bridge.Class.staticInitAllow=o;return}for(Bridge.Class.staticInitAllow=!0,e=Bridge.Class.$queue.concat(Bridge.Class.$queueEntry),Bridge.Class.$queue.length=0,Bridge.Class.$queueEntry.length=0,t=0;t<e.length;t++)i=e[t],i.$staticInit&&i.$staticInit(),i.prototype.$main&&(function(n,t){Bridge.ready(function(){n[t]()})}(i,i.prototype.$main.name||"Main"),i.prototype.$main=null)}};Bridge.Class=at;Bridge.Class.$queue=[];Bridge.Class.$queueEntry=[];Bridge.define=Bridge.Class.define;Bridge.definei=Bridge.Class.definei;Bridge.init=Bridge.Class.init;Bridge.assembly=function(n,t,i,r){var u,f,e;i||(i=t,t={});n=n||"Bridge.$Unknown";u=System.Reflection.Assembly.assemblies[n];u?Bridge.apply(u.res,t||{}):u=new System.Reflection.Assembly(n,t);f=Bridge.$currentAssembly;Bridge.$currentAssembly=u;i&&(e=Bridge.Class.staticInitAllow,Bridge.Class.staticInitAllow=!1,i.call(Bridge.global,u,Bridge.global),Bridge.Class.staticInitAllow=e);Bridge.init();r&&(Bridge.$currentAssembly=f)};Bridge.define("System.Reflection.Assembly",{statics:{assemblies:{}},ctor:function(n,t){this.$initialize();this.name=n;this.res=t||{};this.$types={};this.$={};System.Reflection.Assembly.assemblies[n]=this},toString:function(){return this.name},getManifestResourceNames:function(){return Object.keys(this.res)},getManifestResourceDataAsBase64:function(n,t){return arguments.length===1&&(t=n,n=null),n&&(t=Bridge.Reflection.getTypeNamespace(n)+"."+t),this.res[t]||null},getManifestResourceData:function(n,t){arguments.length===1&&(t=n,n=null);n&&(t=Bridge.Reflection.getTypeNamespace(n)+"."+t);var i=this.res[t];return i?System.Convert.fromBase64String(i):null},getCustomAttributes:function(n){return this.attr&&n&&!Bridge.isBoolean(n)?this.attr.filter(function(t){return Bridge.is(t,n)}):this.attr||[]}});Bridge.$currentAssembly=new System.Reflection.Assembly("mscorlib");Bridge.SystemAssembly=Bridge.$currentAssembly;Bridge.SystemAssembly.$types["System.Reflection.Assembly"]=System.Reflection.Assembly;System.Reflection.Assembly.$assembly=Bridge.SystemAssembly;e=Bridge.$currentAssembly;Bridge.define("System.Object",{});Bridge.define("System.Void",{$kind:"struct"});Bridge.init(function(){Bridge.SystemAssembly.version="16.8.2";Bridge.SystemAssembly.compiler="16.8.2"});Bridge.define("Bridge.Utils.SystemAssemblyVersion");Bridge.Reflection={deferredMeta:[],setMetadata:function(n,t){if(Bridge.isString(n)){var i=n;if(n=Bridge.unroll(i),n==null){Bridge.Reflection.deferredMeta.push({typeName:i,metadata:t});return}}n.$getMetadata=Bridge.Reflection.getMetadata;n.$metadata=t},initMetaData:function(n,t){var u,i,r;if(t.m)for(u=0;u<t.m.length;u++)if(i=t.m[u],i.td=n,i.ad&&(i.ad.td=n),i.r&&(i.r.td=n),i.g&&(i.g.td=n),i.s&&(i.s.td=n),i.tprm&&Bridge.isArray(i.tprm))for(r=0;r<i.tprm.length;r++)i.tprm[r]=Bridge.Reflection.createTypeParam(i.tprm[r],n);n.$metadata=t;n.$initMetaData=!0},getMetadata:function(){var n,t;return!this.$metadata&&this.$genericTypeDefinition&&(this.$metadata=this.$genericTypeDefinition.$factoryMetadata||this.$genericTypeDefinition.$metadata),n=this.$metadata,typeof n=="function"&&(this.$isGenericTypeDefinition&&!this.$factoryMetadata&&(this.$factoryMetadata=this.$metadata),this.$typeArguments?n=this.$metadata.apply(null,this.$typeArguments):this.$isGenericTypeDefinition?(t=Bridge.Reflection.createTypeParams(this.$metadata),this.$typeArguments=t,n=this.$metadata.apply(null,t)):n=this.$metadata()),!this.$initMetaData&&n&&Bridge.Reflection.initMetaData(this,n),n},createTypeParams:function(n,t){for(var f=[],u=n.toString(),r=u.slice(u.indexOf("(")+1,u.indexOf(")")).match(/([^\s,]+)/g)||[],i=0;i<r.length;i++)f.push(Bridge.Reflection.createTypeParam(r[i],t));return f},createTypeParam:function(n,t){var i=function(){};return i.$$name=n,i.$isTypeParameter=!0,t&&(i.td=t),i},load:function(n){return System.Reflection.Assembly.assemblies[n]||require(n)},getGenericTypeDefinition:function(n){if(n.$isGenericTypeDefinition)return n;if(!n.$genericTypeDefinition)throw new System.InvalidOperationException("This operation is only valid on generic types.");return n.$genericTypeDefinition},getGenericParameterCount:function(n){return n.$typeArgumentCount||0},getGenericArguments:function(n){return n.$typeArguments||[]},getMethodGenericArguments:function(n){return n.tprm||[]},isGenericTypeDefinition:function(n){return n.$isGenericTypeDefinition||!1},isGenericType:function(n){return n.$genericTypeDefinition!=null||Bridge.Reflection.isGenericTypeDefinition(n)},convertType:function(n){return n===Boolean?System.Boolean:n===String?System.String:n===Object?System.Object:n===Date?System.DateTime:n},getBaseType:function(n){var t,i;if(Bridge.isObject(n)||n.$kind==="interface"||n.prototype==null)return null;if(Object.getPrototypeOf)return Bridge.Reflection.convertType(Object.getPrototypeOf(n.prototype).constructor);if(t=n.prototype,Object.prototype.hasOwnProperty.call(t,"constructor"))try{return i=t.constructor,delete t.constructor,Bridge.Reflection.convertType(t.constructor)}finally{t.constructor=i}return Bridge.Reflection.convertType(t.constructor)},getTypeFullName:function(n){var t,u,r,f,i,e;return(n.$$fullname?t=n.$$fullname:n.$$name&&(t=n.$$name),t)?(u=Bridge.Reflection.getTypeNamespace(n,t),u&&(r=t.indexOf("["),i=t.substring(u.length+1,r===-1?t.length:r),new RegExp(/[\.\$]/).test(i)&&(t=u+"."+i.replace(/\.|\$/g,function(n){return n==="."?"+":"`"})+(r===-1?"":t.substring(r)))),t):n.constructor===Object?(t=n.toString(),f=/\[object (.{1,})\]/.exec(t),i=f&&f.length>1?f[1]:"Object",i=="Object"?"System.Object":i):(t=n.constructor===Function?n.toString():n.constructor.toString(),e=/function (.{1,})\(/.exec(t),e&&e.length>1?e[1]:"System.Object")},_makeQName:function(n,t){return n+(t?", "+t.name:"")},getTypeQName:function(n){return Bridge.Reflection._makeQName(Bridge.Reflection.getTypeFullName(n),n.$assembly)},getTypeName:function(n){var t=Bridge.Reflection.getTypeFullName(n),i=t.indexOf("["),u=t.lastIndexOf("+",i>=0?i:t.length),r=u>-1?u:t.lastIndexOf(".",i>=0?i:t.length),f=r>0?i>=0?t.substring(r+1,i):t.substr(r+1):t;return n.$isArray?f+"[]":f},getTypeNamespace:function(n,t){var i=t||Bridge.Reflection.getTypeFullName(n),f=i.indexOf("["),e=i.lastIndexOf(".",f>=0?f:i.length),r=e>0?i.substr(0,e):"",u;return n.$assembly&&(u=Bridge.Reflection._getAssemblyType(n.$assembly,r),u&&(r=Bridge.Reflection.getTypeNamespace(u))),r},getTypeAssembly:function(n){return System.Array.contains([Date,Number,Boolean,String,Function,Array],n)||n.$isArray?Bridge.SystemAssembly:n.$assembly||Bridge.SystemAssembly},_extractArrayRank:function(n){var i=-1,t=/<(\d+)>$/g.exec(n);return t&&(n=n.substring(0,t.index),i=parseInt(t[1])),t=/\[(,*)\]$/g.exec(n),t&&(n=n.substring(0,t.index),i=t[1].length+1),{rank:i,name:n}},_getAssemblyType:function(n,t){var s=!1,r=-1,e,u,o,i,f;if(new RegExp(/[\+\`]/).test(t)&&(t=t.replace(/\+|\`/g,function(n){return n==="+"?".":"$"})),n||(n=Bridge.SystemAssembly,s=!0),e=Bridge.Reflection._extractArrayRank(t),r=e.rank,t=e.name,n.$types){if(u=n.$types[t]||null,u)return r>-1?System.Array.type(u,r):u;if(n.name==="mscorlib")n=Bridge.global;else return null}for(o=t.split("."),i=n,f=0;f<o.length;f++)if(i=i[o[f]],!i)return null;return typeof i!="function"||!s&&i.$assembly&&n.name!==i.$assembly.name?null:r>-1?System.Array.type(i,r):i},getAssemblyTypes:function(n){var t=[],i,r;if(n.$types)for(i in n.$types)n.$types.hasOwnProperty(i)&&t.push(n.$types[i]);else r=function(n,i){for(var u in n)n.hasOwnProperty(u)&&r(n[u],u);typeof n=="function"&&Bridge.isUpper(i.charCodeAt(0))&&t.push(n)},r(n,"");return t},createAssemblyInstance:function(n,t){var i=Bridge.Reflection.getType(t,n);return i?Bridge.createInstance(i):null},getInterfaces:function(n){var t;return n.$allInterfaces?n.$allInterfaces:n===Date?[System.IComparable$1(Date),System.IEquatable$1(Date),System.IComparable,System.IFormattable]:n===Number?[System.IComparable$1(Bridge.Int),System.IEquatable$1(Bridge.Int),System.IComparable,System.IFormattable]:n===Boolean?[System.IComparable$1(Boolean),System.IEquatable$1(Boolean),System.IComparable]:n===String?[System.IComparable$1(String),System.IEquatable$1(String),System.IComparable,System.ICloneable,System.Collections.IEnumerable,System.Collections.Generic.IEnumerable$1(System.Char)]:n===Array||n.$isArray||(t=System.Array._typedArrays[Bridge.getTypeName(n)])?(t=t||n.$elementType||System.Object,[System.Collections.IEnumerable,System.Collections.ICollection,System.ICloneable,System.Collections.IList,System.Collections.Generic.IEnumerable$1(t),System.Collections.Generic.ICollection$1(t),System.Collections.Generic.IList$1(t)]):[]},isInstanceOfType:function(n,t){return Bridge.is(n,t)},isAssignableFrom:function(n,t){if(n==null)throw new System.NullReferenceException;if(t==null)return!1;if(n===t||Bridge.isObject(n))return!0;if(Bridge.isFunction(n.isAssignableFrom))return n.isAssignableFrom(t);if(t===Array)return System.Array.is([],n);if(Bridge.Reflection.isInterface(n)&&System.Array.contains(Bridge.Reflection.getInterfaces(t),n))return!0;var r=t.$$inherits,i,u;if(r)for(i=0;i<r.length;i++)if(u=Bridge.Reflection.isAssignableFrom(n,r[i]),u)return!0;return!1},isClass:function(n){return n.$kind==="class"||n===Array||n===Function||n===RegExp||n===String||n===Error||n===Object},isEnum:function(n){return n.$kind==="enum"},isFlags:function(n){return!!(n.prototype&&n.prototype.$flags)},isInterface:function(n){return n.$kind==="interface"},_getType:function(n,t,i,r){var v=!i,o,c,l,a,s;v&&(n=n.replace(/\[(,*)\]/g,function(n,t){return"<"+(t.length+1)+">"}));o=function(){for(;;){var t=i.exec(n);if((!t||t[0]!="["||n[t.index+1]!=="]"&&n[t.index+1]!==",")&&(!t||t[0]!="]"||n[t.index-1]!=="["&&n[t.index-1]!==",")&&(!t||t[0]!=","||n[t.index+1]!=="]"&&n[t.index+1]!==","))return t}};i=i||/[[,\]]/g;var y=i.lastIndex,f=o(),e,h=[],u,p=!t;if(f){e=n.substring(y,f.index);switch(f[0]){case"[":if(n[f.index+1]!=="[")return null;for(;;){if(o(),u=Bridge.Reflection._getType(n,null,i),!u)return null;if(h.push(u),f=o(),f[0]==="]")break;else if(f[0]!==",")return null}if(c=/^\s*<(\d+)>/g.exec(n.substring(f.index+1)),c&&(e=e+"<"+parseInt(c[1])+">"),f=o(),f&&f[0]===","&&(o(),!(t=System.Reflection.Assembly.assemblies[(i.lastIndex>0?n.substring(f.index+1,i.lastIndex-1):n.substring(f.index+1)).trim()])))return null;break;case",":if(o(),!(t=System.Reflection.Assembly.assemblies[(i.lastIndex>0?n.substring(f.index+1,i.lastIndex-1):n.substring(f.index+1)).trim()]))return null}}else e=n.substring(y);if(v&&i.lastIndex)return null;if(e=e.trim(),l=Bridge.Reflection._extractArrayRank(e),a=l.rank,e=l.name,u=Bridge.Reflection._getAssemblyType(t,e),r)return u;if(!u&&p)for(s in System.Reflection.Assembly.assemblies)if(System.Reflection.Assembly.assemblies.hasOwnProperty(s)&&System.Reflection.Assembly.assemblies[s]!==t&&(u=Bridge.Reflection._getType(n,System.Reflection.Assembly.assemblies[s],null,!0),u))break;return u=h.length?u.apply(null,h):u,u&&u.$staticInit&&u.$staticInit(),a>-1&&(u=System.Array.type(u,a)),u},getType:function(n,t){if(n==null)throw new System.ArgumentNullException("typeName");return n?Bridge.Reflection._getType(n,t):null},canAcceptNull:function(n){return n.$kind==="struct"||n.$kind==="enum"||n===System.Decimal||n===System.Int64||n===System.UInt64||n===System.Double||n===System.Single||n===System.Byte||n===System.SByte||n===System.Int16||n===System.UInt16||n===System.Int32||n===System.UInt32||n===Bridge.Int||n===System.Boolean||n===System.DateTime||n===Boolean||n===Date||n===Number?!1:!0},applyConstructor:function(n,t){var a,f,s,h,e,i,r,c,o,u,l;if(!t||t.length===0)return new n;if(n.$$initCtor&&n.$kind!=="anonymous"){if(a=Bridge.getMetadata(n),f=0,a){for(s=Bridge.Reflection.getMembers(n,1,28),e=0;e<s.length;e++)if(i=s[e],i.p&&i.p.length===t.length){for(h=!0,r=0;r<i.p.length;r++)if(c=i.p[r],!Bridge.is(t[r],c)||t[r]==null&&!Bridge.Reflection.canAcceptNull(c)){h=!1;break}h&&(n=n[i.sn],f++)}}else if(Bridge.isFunction(n.ctor)&&n.ctor.length===t.length)n=n.ctor;else for(o="$ctor",u=1;Bridge.isFunction(n[o+u]);)n[o+u].length===t.length&&(n=n[o+u],f++),u++;if(f>1)throw new System.Exception("The ambiguous constructor call");}return l=function(){n.apply(this,t)},l.prototype=n.prototype,new l},getAttributes:function(n,t,i){var f=[],r,o,u,e,s,c,h;if(i&&(c=Bridge.Reflection.getBaseType(n),c))for(u=Bridge.Reflection.getAttributes(c,t,!0),r=0;r<u.length;r++)o=Bridge.getType(u[r]),e=Bridge.getMetadata(o),e&&e.ni||f.push(u[r]);if(s=Bridge.getMetadata(n),s&&s.at)for(r=0;r<s.at.length;r++)if(u=s.at[r],t==null||Bridge.Reflection.isInstanceOfType(u,t)){if(o=Bridge.getType(u),e=Bridge.getMetadata(o),!e||!e.am)for(h=f.length-1;h>=0;h--)Bridge.Reflection.isInstanceOfType(f[h],o)&&f.splice(h,1);f.push(u)}return f},getMembers:function(n,t,i,r,u){var e=[],l,a,o,y,h,c,v,s,f;if(((i&72)==72||(i&6)==4)&&(l=Bridge.Reflection.getBaseType(n),l&&(e=Bridge.Reflection.getMembers(l,t&-2,i&(i&64?255:247)&(i&2?251:255),r,u))),a=function(n){if(t&n.t&&(i&4&&!n.is||i&8&&n.is)&&(!r||((i&1)==1?n.n.toUpperCase()===r.toUpperCase():n.n===r))&&((i&16)==16&&n.a===2||(i&32)==32&&n.a!==2)){if(u){if((n.p||[]).length!==u.length)return;for(var f=0;f<u.length;f++)if(u[f]!==n.p[f])return}e.push(n)}},o=Bridge.getMetadata(n),o&&o.m)for(y=["g","s","ad","r"],f=0;f<o.m.length;f++)for(h=o.m[f],a(h),c=0;c<4;c++)v=y[c],h[v]&&a(h[v]);if(i&256){while(n){for(s=[],f=0;f<e.length;f++)e[f].td===n&&s.push(e[f]);if(s.length>1)throw new System.Reflection.AmbiguousMatchException("Ambiguous match");else if(s.length===1)return s[0];n=Bridge.Reflection.getBaseType(n)}return null}return e},createDelegate:function(n,t){var r=n.is||n.sm,u=t!=null&&!r,i=Bridge.Reflection.midel(n,t,null,u);return u?i:r?function(){var r=t!=null?[t]:[];return i.apply(n.td,r.concat(Array.prototype.slice.call(arguments,0)))}:function(n){return i.apply(n,Array.prototype.slice.call(arguments,1))}},midel:function(n,t,i,r){var u,f,e,o,s;if(r!==!1)if(n.is&&!!t)throw new System.ArgumentException("Cannot specify target for static method");else if(!n.is&&!t)throw new System.ArgumentException("Must specify target for instance method");if(n.fg)u=function(){return(n.is?n.td:this)[n.fg]};else if(n.fs)u=function(t){(n.is?n.td:this)[n.fs]=t};else{if(u=n.def||(n.is||n.sm?n.td[n.sn]:t?t[n.sn]:n.td.prototype[n.sn]),n.tpc){if(!i||i.length!==n.tpc)throw new System.ArgumentException("Wrong number of type arguments");f=u;u=function(){return f.apply(this,i.concat(Array.prototype.slice.call(arguments)))}}else if(i&&i.length)throw new System.ArgumentException("Cannot specify type arguments for non-generic method");n.exp&&(e=u,u=function(){return e.apply(this,Array.prototype.slice.call(arguments,0,arguments.length-1).concat(arguments[arguments.length-1]))});n.sm&&(o=u,u=function(){return o.apply(null,[this].concat(Array.prototype.slice.call(arguments)))})}return s=u,u=function(){for(var i,f=[],r=n.pi||[],u,t=0;t<arguments.length;t++)u=r[t]||r[r.length-1],f[t]=u&&u.pt===System.Object?arguments[t]:Bridge.unbox(arguments[t]);return i=s.apply(this,f),i!=null&&n.box?n.box(i):i},r!==!1?Bridge.fn.bind(t,u):u},invokeCI:function(n,t){return n.exp&&(t=t.slice(0,t.length-1).concat(t[t.length-1])),n.def?n.def.apply(null,t):n.sm?n.td[n.sn].apply(null,t):n.td.$literal?(n.sn?n.td[n.sn]:n.td).apply(n.td,t):Bridge.Reflection.applyConstructor(n.sn?n.td[n.sn]:n.td,t)},fieldAccess:function(n,t){if(n.is&&!!t)throw new System.ArgumentException("Cannot specify target for static field");else if(!n.is&&!t)throw new System.ArgumentException("Must specify target for instance field");if(t=n.is?n.td:t,arguments.length===3)t[n.sn]=arguments[2];else return n.box?n.box(t[n.sn]):t[n.sn]},getMetaValue:function(n,t,i){var r=n.$isTypeParameter?n:Bridge.getMetadata(n);return r?r[t]||i:i},isArray:function(n){return Bridge.arrayTypes.indexOf(n)>=0},hasGenericParameters:function(n){if(n.$typeArguments)for(var t=0;t<n.$typeArguments.length;t++)if(n.$typeArguments[t].$isTypeParameter)return!0;return!1},isValueType:function(n){return!Bridge.Reflection.canAcceptNull(n)}};Bridge.setMetadata=Bridge.Reflection.setMetadata;System.Reflection.ConstructorInfo={$is:function(n){return n!=null&&n.t===1}};System.Reflection.EventInfo={$is:function(n){return n!=null&&n.t===2}};System.Reflection.FieldInfo={$is:function(n){return n!=null&&n.t===4}};System.Reflection.MethodBase={$is:function(n){return n!=null&&(n.t===1||n.t===8)}};System.Reflection.MethodInfo={$is:function(n){return n!=null&&n.t===8}};System.Reflection.PropertyInfo={$is:function(n){return n!=null&&n.t===16}};System.AppDomain={getAssemblies:function(){return Object.keys(System.Reflection.Assembly.assemblies).map(function(n){return System.Reflection.Assembly.assemblies[n]})}};Bridge.define("System.IFormattable",{$kind:"interface",statics:{$is:function(n){return Bridge.isNumber(n)||Bridge.isDate(n)?!0:Bridge.is(n,System.IFormattable,!0)}}});Bridge.define("System.IComparable",{$kind:"interface",statics:{$is:function(n){return Bridge.isNumber(n)||Bridge.isDate(n)||Bridge.isBoolean(n)||Bridge.isString(n)?!0:Bridge.is(n,System.IComparable,!0)}}});Bridge.define("System.IFormatProvider",{$kind:"interface"});Bridge.define("System.ICloneable",{$kind:"interface"});Bridge.define("System.IComparable$1",function(n){return{$kind:"interface",statics:{$is:function(t){return Bridge.isNumber(t)&&n.$number&&n.$is(t)||Bridge.isDate(t)&&(n===Date||n===System.DateTime)||Bridge.isBoolean(t)&&(n===Boolean||n===System.Boolean)||Bridge.isString(t)&&(n===String||n===System.String)?!0:Bridge.is(t,System.IComparable$1(n),!0)},isAssignableFrom:function(t){return t===System.DateTime&&n===Date?!0:Bridge.Reflection.getInterfaces(t).indexOf(System.IComparable$1(n))>=0}}}});Bridge.define("System.IEquatable$1",function(n){return{$kind:"interface",statics:{$is:function(t){return Bridge.isNumber(t)&&n.$number&&n.$is(t)||Bridge.isDate(t)&&(n===Date||n===System.DateTime)||Bridge.isBoolean(t)&&(n===Boolean||n===System.Boolean)||Bridge.isString(t)&&(n===String||n===System.String)?!0:Bridge.is(t,System.IEquatable$1(n),!0)},isAssignableFrom:function(t){return t===System.DateTime&&n===Date?!0:Bridge.Reflection.getInterfaces(t).indexOf(System.IEquatable$1(n))>=0}}}});Bridge.define("Bridge.IPromise",{$kind:"interface"});Bridge.define("System.IDisposable",{$kind:"interface"});Bridge.define("System.IAsyncResult",{$kind:"interface"});h={nameEquals:function(n,t,i){return i?n.toLowerCase()===t.toLowerCase():n.charAt(0).toLowerCase()+n.slice(1)===t.charAt(0).toLowerCase()+t.slice(1)},checkEnumType:function(n){if(!n)throw new System.ArgumentNullException("enumType");if(n.prototype&&n.$kind!=="enum")throw new System.ArgumentException("","enumType");},getUnderlyingType:function(n){return System.Enum.checkEnumType(n),n.prototype.$utype||System.Int32},toName:function(n){return n},parse:function(n,t,i,r){var s,e,c,u,p,l,o,f;if(System.Enum.checkEnumType(n),t!=null){if(n===Number||n===System.String||n.$number)return t;if(s={},System.Int32.tryParse(t,s))return Bridge.box(s.v,n,function(t){return System.Enum.toString(n,t)});if(e=System.Enum.getNames(n),c=n,n.prototype&&n.prototype.$flags){var a=t.split(","),v=0,y=!0;for(u=a.length-1;u>=0;u--){for(p=a[u].trim(),l=!1,o=0;o<e.length;o++)if(f=e[o],h.nameEquals(f,p,i)){v|=c[f];l=!0;break}if(!l){y=!1;break}}if(y)return Bridge.box(v,n,function(t){return System.Enum.toString(n,t)})}else for(u=0;u<e.length;u++)if(f=e[u],h.nameEquals(f,t,i))return Bridge.box(c[f],n,function(t){return System.Enum.toString(n,t)})}if(r!==!0)throw new System.ArgumentException("Invalid Enumeration Value");return null},toStringFn:function(n){return function(t){return System.Enum.toString(n,t)}},toString:function(n,t,i){var e,u,s,r;if(arguments.length===0)return"System.Enum";if(t&&t.$boxed&&n===System.Enum&&(n=t.type),t=Bridge.unbox(t,!0),n===Number||n===System.String||n.$number)return t.toString();System.Enum.checkEnumType(n);var c=n,v=System.Enum.getNames(n),f=System.Int64.is64Bit(t);if((n.prototype&&n.prototype.$flags||i===!0)&&t!==0){for(var y=[],l=System.Enum.getValuesAndNames(n),o=l.length-1,a=t;o>=0;){if(r=l[o],s=f&&System.Int64.is64Bit(r.value),o==0&&(s?r.value.isZero():r.value==0))break;(s?t.and(r.value).eq(r.value):(t&r.value)==r.value)&&(s?t=t.sub(r.value):t-=r.value,y.unshift(r.name));o--}return(f?!t.isZero():t!==0)?a.toString():(f?a.isZero():a===0)?(r=l[0],r&&(System.Int64.is64Bit(r.value)?r.value.isZero():r.value==0))?r.name:"0":y.join(", ")}for(e=0;e<v.length;e++)if(u=v[e],f&&System.Int64.is64Bit(c[u])?c[u].eq(t):c[u]===t)return h.toName(u);return t.toString()},getValuesAndNames:function(n){var t;System.Enum.checkEnumType(n);var r=[],i=System.Enum.getNames(n),u=n;for(t=0;t<i.length;t++)r.push({name:i[t],value:u[i[t]]});return r.sort(function(n,t){return System.Int64.is64Bit(n.value)?n.value.sub(t.value).sign():n.value-t.value})},getValues:function(n){var t;System.Enum.checkEnumType(n);var i=[],r=System.Enum.getNames(n),u=n;for(t=0;t<r.length;t++)i.push(u[r[t]]);return i.sort(function(n,t){return System.Int64.is64Bit(n)?n.sub(t).sign():n-t})},format:function(n,t,i){System.Enum.checkEnumType(n);var r;if(!Bridge.hasValue(t)&&(r="value")||!Bridge.hasValue(i)&&(r="format"))throw new System.ArgumentNullException(r);t=Bridge.unbox(t,!0);switch(i){case"G":case"g":return System.Enum.toString(n,t);case"x":case"X":return t.toString(16);case"d":case"D":return t.toString();case"f":case"F":return System.Enum.toString(n,t,!0);default:throw new System.FormatException;}},getNames:function(n){var r,i,t;if(System.Enum.checkEnumType(n),r=[],i=n,n.$names)return n.$names.slice(0);for(t in i)i.hasOwnProperty(t)&&t.indexOf("$")<0&&typeof i[t]!="function"&&r.push([h.toName(t),i[t]]);return r.sort(function(n,t){return System.Int64.is64Bit(n[1])?n[1].sub(t[1]).sign():n[1]-t[1]}).map(function(n){return n[0]})},getName:function(n,t){var u,f,e,i,r;if(t=Bridge.unbox(t,!0),t==null)throw new System.ArgumentNullException("value");if(u=System.Int64.is64Bit(t),!u&&!(typeof t=="number"&&Math.floor(t,0)===t))throw new System.ArgumentException("Argument must be integer","value");for(System.Enum.checkEnumType(n),f=System.Enum.getNames(n),e=n,i=0;i<f.length;i++)if(r=f[i],u?t.eq(e[r]):e[r]===t)return r;return null},hasFlag:function(n,t){t=Bridge.unbox(t,!0);var i=System.Int64.is64Bit(n);return t===0||(i?!n.and(t).isZero():!!(n&t))},isDefined:function(n,t){var i,r;t=Bridge.unbox(t,!0);System.Enum.checkEnumType(n);var u=n,f=System.Enum.getNames(n),e=Bridge.isString(t),o=System.Int64.is64Bit(t);for(i=0;i<f.length;i++)if(r=f[i],e?h.nameEquals(r,t,!1):o?t.eq(u[r]):u[r]===t)return!0;return!1},tryParse:function(n,t,i,r){return(i.v=Bridge.unbox(h.parse(n,t,r,!0),!0),i.v==null)?(i.v=0,!1):!0},equals:function(n,t,i){return t&&t.$boxed&&(n&&n.$boxed||i)&&t.type!==(n.type||i)?!1:System.Enum.equalsT(n,t)},equalsT:function(n,t){return Bridge.equals(Bridge.unbox(n,!0),Bridge.unbox(t,!0))}};Bridge.define("System.Enum",{inherits:[System.IComparable,System.IFormattable],statics:{methods:h}});vt={hasValue:Bridge.hasValue,getValue:function(n){if(n=Bridge.unbox(n,!0),!Bridge.hasValue(n))throw new System.InvalidOperationException("Nullable instance doesn't have a value.");return n},getValueOrDefault:function(n,t){return Bridge.hasValue(n)?n:t},add:function(n,t){return Bridge.hasValue$1(n,t)?n+t:null},band:function(n,t){return Bridge.hasValue$1(n,t)?n&t:null},bor:function(n,t){return Bridge.hasValue$1(n,t)?n|t:null},and:function(n,t){return n===!0&&t===!0?!0:n===!1||t===!1?!1:null},or:function(n,t){return n===!0||t===!0?!0:n===!1&&t===!1?!1:null},div:function(n,t){return Bridge.hasValue$1(n,t)?n/t:null},eq:function(n,t){return Bridge.hasValue(n)?n===t:!Bridge.hasValue(t)},equals:function(n,t,i){return Bridge.hasValue(n)?i?i(n,t):Bridge.equals(n,t):!Bridge.hasValue(t)},toString:function(n,t){return Bridge.hasValue(n)?t?t(n):n.toString():""},toStringFn:function(n){return function(t){return System.Nullable.toString(t,n)}},getHashCode:function(n,t){return Bridge.hasValue(n)?t?t(n):Bridge.getHashCode(n):0},getHashCodeFn:function(n){return function(t){return System.Nullable.getHashCode(t,n)}},xor:function(n,t){return Bridge.hasValue$1(n,t)?n^t:null},gt:function(n,t){return Bridge.hasValue$1(n,t)&&n>t},gte:function(n,t){return Bridge.hasValue$1(n,t)&&n>=t},neq:function(n,t){return Bridge.hasValue(n)?n!==t:Bridge.hasValue(t)},lt:function(n,t){return Bridge.hasValue$1(n,t)&&n<t},lte:function(n,t){return Bridge.hasValue$1(n,t)&&n<=t},mod:function(n,t){return Bridge.hasValue$1(n,t)?n%t:null},mul:function(n,t){return Bridge.hasValue$1(n,t)?n*t:null},imul:function(n,t){return Bridge.hasValue$1(n,t)?Bridge.Int.mul(n,t):null},sl:function(n,t){return Bridge.hasValue$1(n,t)?n<<t:null},sr:function(n,t){return Bridge.hasValue$1(n,t)?n>>t:null},srr:function(n,t){return Bridge.hasValue$1(n,t)?n>>>t:null},sub:function(n,t){return Bridge.hasValue$1(n,t)?n-t:null},bnot:function(n){return Bridge.hasValue(n)?~n:null},neg:function(n){return Bridge.hasValue(n)?-n:null},not:function(n){return Bridge.hasValue(n)?!n:null},pos:function(n){return Bridge.hasValue(n)?+n:null},lift:function(){for(var n=1;n<arguments.length;n++)if(!Bridge.hasValue(arguments[n]))return null;return arguments[0]==null?null:arguments[0].apply==undefined?arguments[0]:arguments[0].apply(null,Array.prototype.slice.call(arguments,1))},lift1:function(n,t){return Bridge.hasValue(t)?typeof n=="function"?n.apply(null,Array.prototype.slice.call(arguments,1)):t[n].apply(t,Array.prototype.slice.call(arguments,2)):null},lift2:function(n,t,i){return Bridge.hasValue$1(t,i)?typeof n=="function"?n.apply(null,Array.prototype.slice.call(arguments,1)):t[n].apply(t,Array.prototype.slice.call(arguments,2)):null},liftcmp:function(n,t,i){return Bridge.hasValue$1(t,i)?typeof n=="function"?n.apply(null,Array.prototype.slice.call(arguments,1)):t[n].apply(t,Array.prototype.slice.call(arguments,2)):!1},lifteq:function(n,t,i){var r=Bridge.hasValue(t),u=Bridge.hasValue(i);return!r&&!u||r&&u&&(typeof n=="function"?n.apply(null,Array.prototype.slice.call(arguments,1)):t[n].apply(t,Array.prototype.slice.call(arguments,2)))},liftne:function(n,t,i){var r=Bridge.hasValue(t),u=Bridge.hasValue(i);return r!==u||r&&(typeof n=="function"?n.apply(null,Array.prototype.slice.call(arguments,1)):t[n].apply(t,Array.prototype.slice.call(arguments,2)))},getUnderlyingType:function(n){if(!n)throw new System.ArgumentNullException("nullableType");if(Bridge.Reflection.isGenericType(n)&&!Bridge.Reflection.isGenericTypeDefinition(n)){var t=Bridge.Reflection.getGenericTypeDefinition(n);if(t===System.Nullable$1)return Bridge.Reflection.getGenericArguments(n)[0]}return null},compare:function(n,t){return System.Collections.Generic.Comparer$1.$default.compare(n,t)}};System.Nullable=vt;Bridge.define("System.Nullable$1",function(n){return{$kind:"struct",statics:{$nullable:!0,$nullableType:n,getDefaultValue:function(){return null},$is:function(t){return Bridge.is(t,n)}}}});Bridge.define("System.Char",{inherits:[System.IComparable,System.IFormattable],$kind:"struct",statics:{min:0,max:65535,$is:function(n){return typeof n=="number"&&Math.round(n,0)==n&&n>=System.Char.min&&n<=System.Char.max},getDefaultValue:function(){return 0},parse:function(n){if(!Bridge.hasValue(n))throw new System.ArgumentNullException("s");if(n.length!==1)throw new System.FormatException;return n.charCodeAt(0)},tryParse:function(n,t){var i=n&&n.length===1;return t.v=i?n.charCodeAt(0):0,i},format:function(n,t,i){return Bridge.Int.format(n,t,i)},charCodeAt:function(n,t){if(n==null)throw new System.ArgumentNullException;if(n.length!=1)throw new System.FormatException("String must be exactly one character long");return n.charCodeAt(t)},isWhiteSpace:function(n){return!/[^\s\x09-\x0D\x85\xA0]/.test(n)},isDigit:function(n){return n<256?n>=48&&n<=57:new RegExp(/[0-9\u0030-\u0039\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]/).test(String.fromCharCode(n))},isLetter:function(n){return n<256?n>=65&&n<=90||n>=97&&n<=122:new RegExp(/[A-Za-z\u0061-\u007A\u00B5\u00DF-\u00F6\u00F8-\u00FF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0561-\u0587\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7FA\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A\u0041-\u005A\u00C0-\u00D6\u00D8-\u00DE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA\uFF21-\uFF3A\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5\u06E6\u07F4\u07F5\u07FA\u081A\u0824\u0828\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA717-\uA71F\uA770\uA788\uA7F8\uA7F9\uA9CF\uAA70\uAADD\uAAF3\uAAF4\uFF70\uFF9E\uFF9F\u00AA\u00BA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05F0-\u05F2\u0620-\u063F\u0641-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10D0-\u10FA\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A\uA62B\uA66E\uA6A0-\uA6E5\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/).test(String.fromCharCode(n))},isHighSurrogate:function(n){return new RegExp(/[\uD800-\uDBFF]/).test(String.fromCharCode(n))},isLowSurrogate:function(n){return new RegExp(/[\uDC00-\uDFFF]/).test(String.fromCharCode(n))},isSurrogate:function(n){return new RegExp(/[\uD800-\uDFFF]/).test(String.fromCharCode(n))},isNull:function(n){return new RegExp("\x00").test(String.fromCharCode(n))},isSymbol:function(n){return n<256?[36,43,60,61,62,94,96,124,126,162,163,164,165,166,167,168,169,172,174,175,176,177,180,182,184,215,247].indexOf(n)!=-1:new RegExp(/[\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\u27C0-\u27EF\u27F0-\u27FF\u2800-\u28FF\u2900-\u297F\u2980-\u29FF\u2A00-\u2AFF\u2B00-\u2BFF]/).test(String.fromCharCode(n))},isSeparator:function(n){return n<256?n==32||n==160:new RegExp(/[\u2028\u2029\u0020\u00A0\u1680\u180E\u2000-\u200A\u202F\u205F\u3000]/).test(String.fromCharCode(n))},isPunctuation:function(n){return n<256?[33,34,35,37,38,39,40,41,42,44,45,46,47,58,59,63,64,91,92,93,95,123,125,161,171,173,183,187,191].indexOf(n)!=-1:new RegExp(/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65\u002D\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D\u0028\u005B\u007B\u0F3A\u0F3C\u169B\u201A\u201E\u2045\u207D\u208D\u2329\u2768\u276A\u276C\u276E\u2770\u2772\u2774\u27C5\u27E6\u27E8\u27EA\u27EC\u27EE\u2983\u2985\u2987\u2989\u298B\u298D\u298F\u2991\u2993\u2995\u2997\u29D8\u29DA\u29FC\u2E22\u2E24\u2E26\u2E28\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u3018\u301A\u301D\uFD3E\uFE17\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE47\uFE59\uFE5B\uFE5D\uFF08\uFF3B\uFF5B\uFF5F\uFF62\u0029\u005D\u007D\u0F3B\u0F3D\u169C\u2046\u207E\u208E\u232A\u2769\u276B\u276D\u276F\u2771\u2773\u2775\u27C6\u27E7\u27E9\u27EB\u27ED\u27EF\u2984\u2986\u2988\u298A\u298C\u298E\u2990\u2992\u2994\u2996\u2998\u29D9\u29DB\u29FD\u2E23\u2E25\u2E27\u2E29\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u3019\u301B\u301E\u301F\uFD3F\uFE18\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE44\uFE48\uFE5A\uFE5C\uFE5E\uFF09\uFF3D\uFF5D\uFF60\uFF63\u00AB\u2018\u201B\u201C\u201F\u2039\u2E02\u2E04\u2E09\u2E0C\u2E1C\u2E20\u00BB\u2019\u201D\u203A\u2E03\u2E05\u2E0A\u2E0D\u2E1D\u2E21\u005F\u203F\u2040\u2054\uFE33\uFE34\uFE4D-\uFE4F\uFF3F\u0021-\u0023\u0025-\u0027\u002A\u002C\u002E\u002F\u003A\u003B\u003F\u0040\u005C\u00A1\u00A7\u00B6\u00B7\u00BF\u037E\u0387\u055A-\u055F\u0589\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u166D\u166E\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u1805\u1807-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2016\u2017\u2020-\u2027\u2030-\u2038\u203B-\u203E\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205E\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00\u2E01\u2E06-\u2E08\u2E0B\u2E0E-\u2E16\u2E18\u2E19\u2E1B\u2E1E\u2E1F\u2E2A-\u2E2E\u2E30-\u2E39\u3001-\u3003\u303D\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFE10-\uFE16\uFE19\uFE30\uFE45\uFE46\uFE49-\uFE4C\uFE50-\uFE52\uFE54-\uFE57\uFE5F-\uFE61\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF07\uFF0A\uFF0C\uFF0E\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3C\uFF61\uFF64\uFF65]/).test(String.fromCharCode(n))},isNumber:function(n){return n<256?[48,49,50,51,52,53,54,55,56,57,178,179,185,188,189,190].indexOf(n)!=-1:new RegExp(/[\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19\u0030-\u0039\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF\u00B2\u00B3\u00B9\u00BC-\u00BE\u09F4-\u09F9\u0B72-\u0B77\u0BF0-\u0BF2\u0C78-\u0C7E\u0D70-\u0D75\u0F2A-\u0F33\u1369-\u137C\u17F0-\u17F9\u19DA\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215F\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA830-\uA835]/).test(String.fromCharCode(n))},isControl:function(n){return n<256?n>=0&&n<=31||n>=127&&n<=159:new RegExp(/[\u0000-\u001F\u007F\u0080-\u009F]/).test(String.fromCharCode(n))},isLatin1:function(n){return n<=255},isAscii:function(n){return n<=127},isUpper:function(n,t){if(n==null)throw new System.ArgumentNullException("s");if(t>>>0>=n.length>>>0)throw new System.ArgumentOutOfRangeException("index");var i=n.charCodeAt(t);return System.Char.isLatin1(i)&&System.Char.isAscii(i)?i>=65&&i<=90:Bridge.isUpper(i)},equals:function(n,t){return Bridge.is(n,System.Char)&&Bridge.is(t,System.Char)?Bridge.unbox(n,!0)===Bridge.unbox(t,!0):!1},equalsT:function(n,t){return Bridge.unbox(n,!0)===Bridge.unbox(t,!0)},getHashCode:function(n){return n|n<<16}}});Bridge.Class.addExtend(System.Char,[System.IComparable$1(System.Char),System.IEquatable$1(System.Char)]);Bridge.define("System.FormattableString",{inherits:[System.IFormattable],statics:{methods:{invariant:function(n){return n.toString$1(System.Globalization.CultureInfo.invariantCulture)}}},methods:{toString:function(){return this.toString$1(System.Globalization.CultureInfo.getCurrentCulture())},System$IFormattable$format:function(n,t){return this.toString$1(t)}}});Bridge.define("System.FormattableStringImpl",{inherits:[System.FormattableString],fields:{args:null,format:null},props:{ArgumentCount:{get:function(){return this.args.length}},Format:{get:function(){return this.format}}},ctors:{ctor:function(n,t){t===void 0&&(t=[]);this.$initialize();System.FormattableString.ctor.call(this);this.format=n;this.args=t}},methods:{getArgument:function(n){return this.args[System.Array.index(n,this.args)]},getArguments:function(){return this.args},toString$1:function(n){return System.String.formatProvider.apply(System.String,[n,this.format].concat(this.args))}}});Bridge.define("System.Runtime.CompilerServices.FormattableStringFactory",{statics:{methods:{create:function(n,t){return t===void 0&&(t=[]),new System.FormattableStringImpl(n,t)}}}});Bridge.define("System.Exception",{config:{properties:{Message:{get:function(){return this.message}},InnerException:{get:function(){return this.innerException}},StackTrace:{get:function(){return this.errorStack.stack}},Data:{get:function(){return this.data}}}},ctor:function(n,t){this.$initialize();this.message=n?n:"Exception of type '"+Bridge.getTypeName(this)+"' was thrown.";this.innerException=t?t:null;this.errorStack=new Error(this.message);this.data=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))},getBaseException:function(){for(var n=this.innerException,t=this;n!=null;)t=n,n=n.innerException;return t},toString:function(){var n=Bridge.getTypeName(this);return n+=this.Message!=null?": "+this.Message+"\n":"\n",this.StackTrace!=null&&(n+=this.StackTrace+"\n"),n},statics:{create:function(n){if(Bridge.is(n,System.Exception))return n;var t;if(n instanceof TypeError)t=new System.NullReferenceException(n.message,new Bridge.ErrorException(n));else if(n instanceof RangeError)t=new System.ArgumentOutOfRangeException(null,n.message,new Bridge.ErrorException(n));else{if(n instanceof Error)return new Bridge.ErrorException(n);t=n&&n.error&&n.error.stack?new System.Exception(n.error.stack):new System.Exception(n?n.message?n.message:n.toString():null)}return t.errorStack=n,t}}});Bridge.define("System.SystemException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"System error.",t)}});Bridge.define("System.OutOfMemoryException",{inherits:[System.SystemException],ctor:function(n,t){this.$initialize();n||(n="Insufficient memory to continue the execution of the program.");System.SystemException.ctor.call(this,n,t)}});Bridge.define("System.IndexOutOfRangeException",{inherits:[System.SystemException],ctor:function(n,t){this.$initialize();n||(n="Index was outside the bounds of the array.");System.SystemException.ctor.call(this,n,t)}});Bridge.define("System.TimeoutException",{inherits:[System.SystemException],ctor:function(n,t){this.$initialize();n||(n="The operation has timed out.");System.SystemException.ctor.call(this,n,t)}});Bridge.define("System.RegexMatchTimeoutException",{inherits:[System.TimeoutException],_regexInput:"",_regexPattern:"",_matchTimeout:null,config:{init:function(){this._matchTimeout=System.TimeSpan.fromTicks(-1)}},ctor:function(n,t,i){this.$initialize();arguments.length==3&&(this._regexInput=n,this._regexPattern=t,this._matchTimeout=i,n="The RegEx engine has timed out while trying to match a pattern to an input string. This can occur for many reasons, including very large inputs or excessive backtracking caused by nested quantifiers, back-references and other factors.",t=null);System.TimeoutException.ctor.call(this,n,t)},getPattern:function(){return this._regexPattern},getInput:function(){return this._regexInput},getMatchTimeout:function(){return this._matchTimeout}});Bridge.define("Bridge.ErrorException",{inherits:[System.Exception],ctor:function(n){this.$initialize();System.Exception.ctor.call(this,n.message);this.errorStack=n;this.error=n},getError:function(){return this.error}});Bridge.define("System.ArgumentException",{inherits:[System.Exception],config:{properties:{ParamName:{get:function(){return this.paramName}}}},ctor:function(n,t,i){this.$initialize();System.Exception.ctor.call(this,n||"Value does not fall within the expected range.",i);this.paramName=t?t:null}});Bridge.define("System.ArgumentNullException",{inherits:[System.ArgumentException],ctor:function(n,t,i){this.$initialize();t||(t="Value cannot be null.",n&&(t+="\nParameter name: "+n));System.ArgumentException.ctor.call(this,t,n,i)}});Bridge.define("System.ArgumentOutOfRangeException",{inherits:[System.ArgumentException],config:{properties:{ActualValue:{get:function(){return this.actualValue}}}},ctor:function(n,t,i,r){this.$initialize();t||(t="Value is out of range.",n&&(t+="\nParameter name: "+n));System.ArgumentException.ctor.call(this,t,n,i);this.actualValue=r?r:null}});Bridge.define("System.Globalization.CultureNotFoundException",{inherits:[System.ArgumentException],ctor:function(n,t,i,r,u){this.$initialize();i||(i="Culture is not supported.",n&&(i+="\nParameter name: "+n),t&&(i+="\n"+t+" is an invalid culture identifier."));System.ArgumentException.ctor.call(this,i,n,r);this.invalidCultureName=t?t:null;this.invalidCultureId=u?u:null},getInvalidCultureName:function(){return this.invalidCultureName},getInvalidCultureId:function(){return this.invalidCultureId}});Bridge.define("System.Collections.Generic.KeyNotFoundException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"Key not found.",t)}});Bridge.define("System.ArithmeticException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"Overflow or underflow in the arithmetic operation.",t)}});Bridge.define("System.DivideByZeroException",{inherits:[System.ArithmeticException],ctor:function(n,t){this.$initialize();System.ArithmeticException.ctor.call(this,n||"Attempted to divide by zero.",t)}});Bridge.define("System.OverflowException",{inherits:[System.ArithmeticException],ctor:function(n,t){this.$initialize();System.ArithmeticException.ctor.call(this,n||"Arithmetic operation resulted in an overflow.",t)}});Bridge.define("System.FormatException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"Invalid format.",t)}});Bridge.define("System.InvalidCastException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"The cast is not valid.",t)}});Bridge.define("System.InvalidOperationException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"Operation is not valid due to the current state of the object.",t)}});Bridge.define("System.NotImplementedException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"The method or operation is not implemented.",t)}});Bridge.define("System.NotSupportedException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"Specified method is not supported.",t)}});Bridge.define("System.NullReferenceException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"Object is null.",t)}});Bridge.define("System.RankException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"Attempted to operate on an array with the incorrect number of dimensions.",t)}});Bridge.define("Bridge.PromiseException",{inherits:[System.Exception],ctor:function(n,t,i){this.$initialize();this.arguments=System.Array.clone(n);t==null&&(t="Promise exception: [",t+=this.arguments.map(function(n){return n==null?"null":n.toString()}).join(", "),t+="]");System.Exception.ctor.call(this,t,i)},getArguments:function(){return this.arguments}});Bridge.define("System.OperationCanceledException",{inherits:[System.Exception],ctor:function(n,t,i){this.$initialize();System.Exception.ctor.call(this,n||"Operation was canceled.",i);this.cancellationToken=t||System.Threading.CancellationToken.none}});Bridge.define("System.Threading.Tasks.TaskCanceledException",{inherits:[System.OperationCanceledException],ctor:function(n,t,i){this.$initialize();System.OperationCanceledException.ctor.call(this,n||"A task was canceled.",null,i);this.task=t||null}});Bridge.define("System.AggregateException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();this.innerExceptions=new(System.Collections.ObjectModel.ReadOnlyCollection$1(System.Exception))(Bridge.hasValue(t)?Bridge.toArray(t):[]);System.Exception.ctor.call(this,n||"One or more errors occurred.",this.innerExceptions.Count>0?this.innerExceptions.getItem(0):null)},handle:function(n){var r,i,t;if(!Bridge.hasValue(n))throw new System.ArgumentNullException("predicate");for(r=this.innerExceptions.Count,i=[],t=0;t<r;t++)n(this.innerExceptions.get(t))||i.push(this.innerExceptions.getItem(t));if(i.length>0)throw new System.AggregateException(this.Message,i);},getBaseException:function(){for(var n=this,t=this;t!=null&&t.innerExceptions.Count===1;)n=n.InnerException,t=Bridge.as(n,System.AggregateException);return n},flatten:function(){var e=new(System.Collections.Generic.List$1(System.Exception)),n=new(System.Collections.Generic.List$1(System.AggregateException)),r,u,o,t,i,f;for(n.add(this),r=0;n.Count>r;)for(u=n.getItem(r++).innerExceptions,o=u.Count,t=0;t<o;t++)(i=u.getItem(t),Bridge.hasValue(i))&&(f=Bridge.as(i,System.AggregateException),Bridge.hasValue(f)?n.add(f):e.add(i));return new System.AggregateException(this.Message,e)}});Bridge.define("System.Reflection.AmbiguousMatchException",{inherits:[System.Exception],ctor:function(n,t){this.$initialize();System.Exception.ctor.call(this,n||"Ambiguous match.",t)}});Bridge.define("System.Globalization.TextInfo",{inherits:[System.ICloneable,System.Object],fields:{listSeparator:null},props:{ANSICodePage:0,CultureName:null,EBCDICCodePage:0,IsReadOnly:!1,IsRightToLeft:!1,LCID:0,ListSeparator:{get:function(){return this.listSeparator},set:function(n){this.verifyWritable();this.listSeparator=n}},MacCodePage:0,OEMCodePage:0},alias:["clone","System$ICloneable$clone"],methods:{clone:function(){return Bridge.copy(new System.Globalization.TextInfo,this,System.Array.init(["ANSICodePage","CultureName","EBCDICCodePage","IsRightToLeft","LCID","listSeparator","MacCodePage","OEMCodePage","IsReadOnly"],System.String))},verifyWritable:function(){if(this.IsReadOnly)throw new System.InvalidOperationException("Instance is read-only.");}}});Bridge.define("System.Globalization.DateTimeFormatInfo",{inherits:[System.IFormatProvider,System.ICloneable],config:{alias:["getFormat","System$IFormatProvider$getFormat"]},statics:{$allStandardFormats:{d:"shortDatePattern",D:"longDatePattern",f:"longDatePattern shortTimePattern",F:"longDatePattern longTimePattern",g:"shortDatePattern shortTimePattern",G:"shortDatePattern longTimePattern",m:"monthDayPattern",M:"monthDayPattern",o:"roundtripFormat",O:"roundtripFormat",r:"rfc1123",R:"rfc1123",s:"sortableDateTimePattern",S:"sortableDateTimePattern1",t:"shortTimePattern",T:"longTimePattern",u:"universalSortableDateTimePattern",U:"longDatePattern longTimePattern",y:"yearMonthPattern",Y:"yearMonthPattern"},ctor:function(){this.invariantInfo=Bridge.merge(new System.Globalization.DateTimeFormatInfo,{abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],pmDesignator:"PM",rfc1123:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",sortableDateTimePattern1:"yyyy'-'MM'-'dd",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",roundtripFormat:"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffzzz"})}},getFormat:function(n){switch(n){case System.Globalization.DateTimeFormatInfo:return this;default:return null}},getAbbreviatedDayName:function(n){if(n<0||n>6)throw new System.ArgumentOutOfRangeException("dayofweek");return this.abbreviatedDayNames[n]},getAbbreviatedMonthName:function(n){if(n<1||n>13)throw new System.ArgumentOutOfRangeException("month");return this.abbreviatedMonthNames[n-1]},getAllDateTimePatterns:function(n,t){var i=System.Globalization.DateTimeFormatInfo.$allStandardFormats,r,e,f,u,o=[];if(n){if(!i[n]){if(t)return null;throw new System.ArgumentException(null,"format");}r={};r[n]=i[n]}else r=i;for(i in r){for(e=r[i].split(" "),f="",u=0;u<e.length;u++)f=(u===0?"":f+" ")+this[e[u]];o.push(f)}return o},getDayName:function(n){if(n<0||n>6)throw new System.ArgumentOutOfRangeException("dayofweek");return this.dayNames[n]},getMonthName:function(n){if(n<1||n>13)throw new System.ArgumentOutOfRangeException("month");return this.monthNames[n-1]},getShortestDayName:function(n){if(n<0||n>6)throw new System.ArgumentOutOfRangeException("dayOfWeek");return this.shortestDayNames[n]},clone:function(){return Bridge.copy(new System.Globalization.DateTimeFormatInfo,this,["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","dateSeparator","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","pmDesignator","rfc1123","shortDatePattern","shortestDayNames","shortTimePattern","sortableDateTimePattern","timeSeparator","universalSortableDateTimePattern","yearMonthPattern","roundtripFormat"])}});Bridge.define("System.Globalization.NumberFormatInfo",{inherits:[System.IFormatProvider,System.ICloneable],config:{alias:["getFormat","System$IFormatProvider$getFormat"]},statics:{ctor:function(){this.numberNegativePatterns=["(n)","-n","- n","n-","n -"];this.currencyNegativePatterns=["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"];this.currencyPositivePatterns=["$n","n$","$ n","n $"];this.percentNegativePatterns=["-n %","-n%","-%n","%-n","%n-","n-%","n%-","-% n","n %-","% n-","% -n","n- %"];this.percentPositivePatterns=["n %","n%","%n","% n"];this.invariantInfo=Bridge.merge(new System.Globalization.NumberFormatInfo,{nanSymbol:"NaN",negativeSign:"-",positiveSign:"+",negativeInfinitySymbol:"-Infinity",positiveInfinitySymbol:"Infinity",percentSymbol:"%",percentGroupSizes:[3],percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentPositivePattern:0,percentNegativePattern:0,currencySymbol:"¤",currencyGroupSizes:[3],currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyNegativePattern:0,currencyPositivePattern:0,numberGroupSizes:[3],numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",numberNegativePattern:1})}},getFormat:function(n){switch(n){case System.Globalization.NumberFormatInfo:return this;default:return null}},clone:function(){return Bridge.copy(new System.Globalization.NumberFormatInfo,this,["nanSymbol","negativeSign","positiveSign","negativeInfinitySymbol","positiveInfinitySymbol","percentSymbol","percentGroupSizes","percentDecimalDigits","percentDecimalSeparator","percentGroupSeparator","percentPositivePattern","percentNegativePattern","currencySymbol","currencyGroupSizes","currencyDecimalDigits","currencyDecimalSeparator","currencyGroupSeparator","currencyNegativePattern","currencyPositivePattern","numberGroupSizes","numberDecimalDigits","numberDecimalSeparator","numberGroupSeparator","numberNegativePattern"])}});Bridge.define("System.Globalization.CultureInfo",{inherits:[System.IFormatProvider,System.ICloneable],config:{alias:["getFormat","System$IFormatProvider$getFormat"]},$entryPoint:!0,statics:{ctor:function(){this.cultures=this.cultures||{};this.invariantCulture=Bridge.merge(new System.Globalization.CultureInfo("iv",!0),{englishName:"Invariant Language (Invariant Country)",nativeName:"Invariant Language (Invariant Country)",numberFormat:System.Globalization.NumberFormatInfo.invariantInfo,dateTimeFormat:System.Globalization.DateTimeFormatInfo.invariantInfo,TextInfo:Bridge.merge(new System.Globalization.TextInfo,{ANSICodePage:1252,CultureName:"",EBCDICCodePage:37,listSeparator:",",IsRightToLeft:!1,LCID:127,MacCodePage:1e4,OEMCodePage:437,IsReadOnly:!0})});this.setCurrentCulture(System.Globalization.CultureInfo.invariantCulture)},getCurrentCulture:function(){return this.currentCulture},setCurrentCulture:function(n){this.currentCulture=n;System.Globalization.DateTimeFormatInfo.currentInfo=n.dateTimeFormat;System.Globalization.NumberFormatInfo.currentInfo=n.numberFormat},getCultureInfo:function(n){if(n==null)throw new System.ArgumentNullException("name");else if(n==="")return System.Globalization.CultureInfo.invariantCulture;var t=this.cultures[n];if(t==null)throw new System.Globalization.CultureNotFoundException("name",n);return t},getCultures:function(){for(var t=Bridge.getPropertyNames(this.cultures),i=[],n=0;n<t.length;n++)i.push(this.cultures[t[n]]);return i}},ctor:function(n,t){if(this.$initialize(),this.name=n,System.Globalization.CultureInfo.cultures||(System.Globalization.CultureInfo.cultures={}),n==null)throw new System.ArgumentNullException("name");var i;if(i=n===""?System.Globalization.CultureInfo.invariantCulture:System.Globalization.CultureInfo.cultures[n],i==null){if(!t)throw new System.Globalization.CultureNotFoundException("name",n);System.Globalization.CultureInfo.cultures[n]=this}else Bridge.copy(this,i,["englishName","nativeName","numberFormat","dateTimeFormat","TextInfo"]),this.TextInfo.IsReadOnly=!1},getFormat:function(n){switch(n){case System.Globalization.NumberFormatInfo:return this.numberFormat;case System.Globalization.DateTimeFormatInfo:return this.dateTimeFormat;default:return null}},clone:function(){return new System.Globalization.CultureInfo(this.name)}});Bridge.Math={divRem:function(n,t,i){var r=n%t;return i.v=r,(n-r)/t},round:function(n,t,i){var u=Math.pow(10,t||0),r,f;return(n*=u,r=n>0|-(n<0),n%1==.5*r)?(f=Math.floor(n),(f+(i===4?r>0:f%2*r))/u):Math.round(n)/u},log10:Math.log10||function(n){return Math.log(n)/Math.LN10},logWithBase:function(n,t){return isNaN(n)?n:isNaN(t)?t:t===1?NaN:n!==1&&(t===0||t===Number.POSITIVE_INFINITY)?NaN:Bridge.Math.log10(n)/Bridge.Math.log10(t)},log:function(n){return n===0?Number.NEGATIVE_INFINITY:n<0||isNaN(n)?NaN:n===Number.POSITIVE_INFINITY?Number.POSITIVE_INFINITY:n===Number.NEGATIVE_INFINITY?NaN:Math.log(n)},sinh:Math.sinh||function(n){return(Math.exp(n)-Math.exp(-n))/2},cosh:Math.cosh||function(n){return(Math.exp(n)+Math.exp(-n))/2},tanh:Math.tanh||function(n){if(n===Infinity)return 1;if(n===-Infinity)return-1;var t=Math.exp(2*n);return(t-1)/(t+1)}};Bridge.define("System.Boolean",{inherits:[System.IComparable],statics:{trueString:"True",falseString:"False",$is:function(n){return typeof n=="boolean"},getDefaultValue:function(){return!1},createInstance:function(){return!1},toString:function(n){return n?System.Boolean.trueString:System.Boolean.falseString},parse:function(n){if(!Bridge.hasValue(n))throw new System.ArgumentNullException("value");var t={v:!1};if(!System.Boolean.tryParse(n,t))throw new System.FormatException("Bad format for Boolean value");return t.v},tryParse:function(n,t){if(t.v=!1,!Bridge.hasValue(n))return!1;if(System.String.equals(System.Boolean.trueString,n,5))return t.v=!0,!0;if(System.String.equals(System.Boolean.falseString,n,5))return t.v=!1,!0;for(var i=0,r=n.length-1;i<n.length;){if(!System.Char.isWhiteSpace(n[i])&&!System.Char.isNull(n.charCodeAt(i)))break;i++}while(r>=i){if(!System.Char.isWhiteSpace(n[r])&&!System.Char.isNull(n.charCodeAt(r)))break;r--}return(n=n.substr(i,r-i+1),System.String.equals(System.Boolean.trueString,n,5))?(t.v=!0,!0):System.String.equals(System.Boolean.falseString,n,5)?(t.v=!1,!0):!1}}});System.Boolean.$kind="";Bridge.Class.addExtend(System.Boolean,[System.IComparable$1(System.Boolean),System.IEquatable$1(System.Boolean)]),function(){var n=function(n,t,i,r){var u=Bridge.define(n,{inherits:[System.IComparable,System.IFormattable],statics:{$number:!0,min:t,max:i,precision:r,$is:function(n){return typeof n=="number"&&Math.floor(n,0)===n&&n>=t&&n<=i},getDefaultValue:function(){return 0},parse:function(n,r){return Bridge.Int.parseInt(n,t,i,r)},tryParse:function(n,r,u){return Bridge.Int.tryParseInt(n,r,t,i,u)},format:function(n,t,i){return Bridge.Int.format(n,t,i,u)},equals:function(n,t){return Bridge.is(n,u)&&Bridge.is(t,u)?Bridge.unbox(n,!0)===Bridge.unbox(t,!0):!1},equalsT:function(n,t){return Bridge.unbox(n,!0)===Bridge.unbox(t,!0)}}});u.$kind="";Bridge.Class.addExtend(u,[System.IComparable$1(u),System.IEquatable$1(u)])};n("System.Byte",0,255,3);n("System.SByte",-128,127,3);n("System.Int16",-32768,32767,5);n("System.UInt16",0,65535,5);n("System.Int32",-2147483648,2147483647,10);n("System.UInt32",0,4294967295,10)}();Bridge.define("Bridge.Int",{inherits:[System.IComparable,System.IFormattable],statics:{$number:!0,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,MIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER||-(Math.pow(2,53)-1),$is:function(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n,0)===n},getDefaultValue:function(){return 0},format:function(n,t,i,r){var e=(i||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.NumberFormatInfo),nt=e.numberDecimalSeparator,rt=e.numberGroupSeparator,f=n instanceof System.Decimal,o=n instanceof System.Int64||n instanceof System.UInt64,tt=f||o?n.isZero()?!1:n.isNegative():n<0,l,u,v,b,g,c,k,d,a;if(!o&&(f?!n.isFinite():!isFinite(n)))return Number.NEGATIVE_INFINITY===n||f&&tt?e.negativeInfinitySymbol:isNaN(n)?e.nanSymbol:e.positiveInfinitySymbol;if(t||(t="G"),l=t.match(/^([a-zA-Z])(\d*)$/),l){b=l[1].toUpperCase();u=parseInt(l[2],10);switch(b){case"D":return this.defaultFormat(n,isNaN(u)?1:u,0,0,e,!0);case"F":case"N":return isNaN(u)&&(u=e.numberDecimalDigits),this.defaultFormat(n,1,u,u,e,b==="F");case"G":case"E":for(var h=0,s=f||o?o&&n.eq(System.Int64.MinValue)?System.Int64(n.value.toUnsigned()):n.abs():Math.abs(n),y=l[1],it=3,p,w;f||o?s.gte(10):s>=10;)f||o?s=s.div(10):s/=10,h++;while(f||o?s.ne(0)&&s.lt(1):s!==0&&s<1)f||o?s=s.mul(10):s*=10,h--;if(b==="G"){if(g=isNaN(u),g&&(u=f?29:o?n instanceof System.Int64?19:20:r&&r.precision?r.precision:15),h>-5&&h<u||f&&g)return p=0,w=u-(h>0?h+1:1),this.defaultFormat(n,1,p,w,e,!0);y=y==="G"?"E":"e";it=2;p=0;w=(u||15)-1}else p=w=isNaN(u)?6:u;return h>=0?y+=e.positiveSign:(y+=e.negativeSign,h=-h),tt&&(f||o?s=s.mul(-1):s*=-1),this.defaultFormat(s,1,p,w,e)+y+this.defaultFormat(h,it,0,0,e,!0);case"P":return isNaN(u)&&(u=e.percentDecimalDigits),this.defaultFormat(n*100,1,u,u,e,!1,"percent");case"X":for(c=f?n.round().value.toHex().substr(2):o?n.toString(16):Math.round(n).toString(16),l[1]==="X"&&(c=c.toUpperCase()),u-=c.length;u-->0;)c="0"+c;return c;case"C":return isNaN(u)&&(u=e.currencyDecimalDigits),this.defaultFormat(n,1,u,u,e,!1,"currency");case"R":return k=f||o?n.toString():""+n,nt!=="."&&(k=k.replace(".",nt)),k.replace("e","E")}}if(t.indexOf(",.")!==-1||System.String.endsWith(t,",")){for(d=0,a=t.indexOf(",."),a===-1&&(a=t.length-1);a>-1&&t.charAt(a)===",";)d++,a--;f||o?n=n.div(Math.pow(1e3,d)):n/=Math.pow(1e3,d)}return t.indexOf("%")!==-1&&(f||o?n=n.mul(100):n*=100),t.indexOf("‰")!==-1&&(f||o?n=n.mul(1e3):n*=1e3),v=t.split(";"),(f||o?n.lt(0):n<0)&&v.length>1?(f||o?n=n.mul(-1):n*=-1,t=v[1]):t=v[(f||o?n.ne(0):!n)&&v.length>2?2:0],this.customFormat(n,t,e,!t.match(/^[^\.]*[0#],[0#]/))},defaultFormat:function(n,t,i,r,u,f,e){e=e||"number";var h=(u||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.NumberFormatInfo),o,p,w,ut,v,y,b=h[e+"GroupSizes"],s,k,d,l,a,g,nt,c="",tt=n instanceof System.Decimal,it=n instanceof System.Int64||n instanceof System.UInt64,ft=tt||it?n.isZero()?!1:n.isNegative():n<0,rt=!1;if(ut=Math.pow(10,r),o=tt?n.abs().toDecimalPlaces(r).toFixed():it?n.eq(System.Int64.MinValue)?n.value.toUnsigned().toString():n.abs().toString():""+ +Math.abs(n).toFixed(r),rt=o.split("").every(function(n){return n==="0"||n==="."}),p=o.indexOf("."),p>0&&(s=h[e+"DecimalSeparator"]+o.substr(p+1),o=o.substr(0,p)),o.length<t&&(o=Array(t-o.length+1).join("0")+o),s?(s.length-1<i&&(s+=Array(i-s.length+2).join("0")),r===0?s=null:s.length-1>r&&(s=s.substr(0,r+1))):i>0&&(s=h[e+"DecimalSeparator"]+Array(i+1).join("0")),v=0,y=b[v],o.length<y)c=o,s&&(c+=s);else{for(k=o.length,d=!1,nt=f?"":h[e+"GroupSeparator"];!d;){if(a=y,l=k-a,l<0&&(y+=l,a+=l,l=0,d=!0),!a)break;g=o.substr(l,a);c=c.length?g+nt+c:g;k-=a;v<b.length-1&&(v++,y=b[v])}s&&(c+=s)}return ft&&!rt?(w=System.Globalization.NumberFormatInfo[e+"NegativePatterns"][h[e+"NegativePattern"]],w.replace("-",h.negativeSign).replace("%",h.percentSymbol).replace("$",h.currencySymbol).replace("n",c)):System.Globalization.NumberFormatInfo[e+"PositivePatterns"]?(w=System.Globalization.NumberFormatInfo[e+"PositivePatterns"][h[e+"PositivePattern"]],w.replace("%",h.percentSymbol).replace("$",h.currencySymbol).replace("n",c)):c},customFormat:function(n,t,i,r){var p=0,s=-1,h=-1,w=0,b=-1,a=0,nt=1,u,f,o,v,c,k,tt=!1,it=!1,y,l,e="",d=!1,rt=!1,g=!1,ut=n instanceof System.Decimal,ft=n instanceof System.Int64||n instanceof System.UInt64,et=ut||ft?n.isZero()?!1:n.isNegative():n<0;for(y="number",t.indexOf("%")!==-1?y="percent":t.indexOf("$")!==-1&&(y="currency"),f=0;f<t.length;f++)if(u=t.charAt(f),u==="'"||u==='"'){if(f=t.indexOf(u,f+1),f<0)break}else u==="\\"?f++:((u==="0"||u==="#")&&(w+=a,u==="0"&&(a?b=w:s<0&&(s=p)),p+=!a),a=a||u===".");for(s=s<0?1:p-s,et&&(tt=!0),c=Math.pow(10,w),n=ut?System.Decimal.round(n.abs().mul(c),4).div(c).toString():ft?(n.eq(System.Int64.MinValue)?System.Int64(n.value.toUnsigned()):n.abs()).mul(c).div(c).toString():""+Math.round(Math.abs(n)*c)/c,it=n.split("").every(function(n){return n==="0"||n==="."}),k=n.indexOf("."),h=k<0?n.length:k,f=h-p,l={groupIndex:Math.max(h,s),sep:r?"":i[y+"GroupSeparator"]},h===1&&n.charAt(0)==="0"&&(d=!0),o=0;o<t.length;o++)if(u=t.charAt(o),u==="'"||u==='"'){if(v=t.indexOf(u,o+1),e+=t.substring(o+1,v<0?t.length:v),v<0)break;o=v}else u==="\\"?(e+=t.charAt(o+1),o++):u==="#"||u==="0"?(g=!0,!rt&&d&&u==="#"?f++:(l.buffer=e,f<h?(f>=0?(nt&&this.addGroup(n.substr(0,f),l),this.addGroup(n.charAt(f),l)):f>=h-s&&this.addGroup("0",l),nt=0):(b-->0||f<n.length)&&this.addGroup(f>=n.length?"0":n.charAt(f),l),e=l.buffer,f++)):u==="."?(g||d||(e+=n.substr(0,h),g=!0),(n.length>++f||b>0)&&(rt=!0,e+=i[y+"DecimalSeparator"])):u!==","&&(e+=u);return tt&&!it&&(e="-"+e),e},addGroup:function(n,t){for(var i=t.buffer,f=t.sep,r=t.groupIndex,u=0,e=n.length;u<e;u++)i+=n.charAt(u),f&&r>1&&r--%3==1&&(i+=f);t.buffer=i;t.groupIndex=r},parseFloat:function(n,t){var i={};return Bridge.Int.tryParseFloat(n,t,i,!1),i.v},tryParseFloat:function(n,t,i,r){var l,a,u,v;if(i.v=0,r==null&&(r=!0),n==null){if(r)return!1;throw new System.ArgumentNullException("s");}n=n.trim();var f=(t||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.NumberFormatInfo),o=f.numberDecimalSeparator,e=f.numberGroupSeparator,s="Input string was not in a correct format.",h=n.indexOf(o),c=e?n.indexOf(e):-1;if(h>-1&&(h<c||c>-1&&h<n.indexOf(e,h)||n.indexOf(o,h+1)>-1)){if(r)return!1;throw new System.FormatException(s);}if(o!=="."&&e!=="."&&n.indexOf(".")>-1){if(r)return!1;throw new System.FormatException(s);}if(c>-1){for(l="",u=0;u<n.length;u++)n[u]!==e&&(l+=n[u]);n=l}if(n===f.negativeInfinitySymbol)return i.v=Number.NEGATIVE_INFINITY,!0;if(n===f.positiveInfinitySymbol)return i.v=Number.POSITIVE_INFINITY,!0;if(n===f.nanSymbol)return i.v=Number.NaN,!0;for(a=0,u=0;u<n.length;u++)if(!System.Char.isNumber(n[u].charCodeAt(0))&&n[u]!=="."&&n[u]!==","&&n[u]!==f.positiveSign&&n[u]!==f.negativeSign&&n[u]!==o&&n[u]!==e)if(n[u].toLowerCase()==="e"){if(a++,a>1){if(r)return!1;throw new System.FormatException(s);}}else{if(r)return!1;throw new System.FormatException(s);}if(v=parseFloat(n.replace(o,".")),isNaN(v)){if(r)return!1;throw new System.FormatException(s);}return i.v=v,!0},parseInt:function(n,t,i,r){if(r=r||10,n==null)throw new System.ArgumentNullException("str");if(r<=10&&!/^[+-]?[0-9]+$/.test(n)||r==16&&!/^[+-]?[0-9A-F]+$/gi.test(n))throw new System.FormatException("Input string was not in a correct format.");var u=parseInt(n,r);if(isNaN(u))throw new System.FormatException("Input string was not in a correct format.");if(u<t||u>i)throw new System.OverflowException;return u},tryParseInt:function(n,t,i,r,u){return(t.v=0,u=u||10,u<=10&&!/^[+-]?[0-9]+$/.test(n)||u==16&&!/^[+-]?[0-9A-F]+$/gi.test(n))?!1:(t.v=parseInt(n,u),t.v<i||t.v>r)?(t.v=0,!1):!0},isInfinite:function(n){return n===Number.POSITIVE_INFINITY||n===Number.NEGATIVE_INFINITY},trunc:function(n){return Bridge.isNumber(n)?n>0?Math.floor(n):Math.ceil(n):Bridge.Int.isInfinite(n)?n:null},div:function(n,t){if(n==null||t==null)return null;if(t===0)throw new System.DivideByZeroException;return this.trunc(n/t)},mod:function(n,t){if(n==null||t==null)return null;if(t===0)throw new System.DivideByZeroException;return n%t},check:function(n,t){if(System.Int64.is64Bit(n))return System.Int64.check(n,t);if(n instanceof System.Decimal)return System.Decimal.toInt(n,t);if(Bridge.isNumber(n)){if(System.Int64.is64BitType(t)){if(t===System.UInt64&&n<0)throw new System.OverflowException;return t===System.Int64?System.Int64(n):System.UInt64(n)}if(!t.$is(n))throw new System.OverflowException;}return Bridge.Int.isInfinite(n)?System.Int64.is64BitType(t)?t.MinValue:t.min:n},sxb:function(n){return Bridge.isNumber(n)?n|(n&128?4294967040:0):Bridge.Int.isInfinite(n)?System.SByte.min:null},sxs:function(n){return Bridge.isNumber(n)?n|(n&32768?4294901760:0):Bridge.Int.isInfinite(n)?System.Int16.min:null},clip8:function(n){return Bridge.isNumber(n)?Bridge.Int.sxb(n&255):Bridge.Int.isInfinite(n)?System.SByte.min:null},clipu8:function(n){return Bridge.isNumber(n)?n&255:Bridge.Int.isInfinite(n)?System.Byte.min:null},clip16:function(n){return Bridge.isNumber(n)?Bridge.Int.sxs(n&65535):Bridge.Int.isInfinite(n)?System.Int16.min:null},clipu16:function(n){return Bridge.isNumber(n)?n&65535:Bridge.Int.isInfinite(n)?System.UInt16.min:null},clip32:function(n){return Bridge.isNumber(n)?n|0:Bridge.Int.isInfinite(n)?System.Int32.min:null},clipu32:function(n){return Bridge.isNumber(n)?n>>>0:Bridge.Int.isInfinite(n)?System.UInt32.min:null},clip64:function(n){return Bridge.isNumber(n)?System.Int64(Bridge.Int.trunc(n)):Bridge.Int.isInfinite(n)?System.Int64.MinValue:null},clipu64:function(n){return Bridge.isNumber(n)?System.UInt64(Bridge.Int.trunc(n)):Bridge.Int.isInfinite(n)?System.UInt64.MinValue:null},sign:function(n){return Bridge.isNumber(n)?n===0?0:n<0?-1:1:null},$mul:Math.imul||function(n,t){var u=n>>>16&65535,i=n&65535,f=t>>>16&65535,r=t&65535;return i*r+(u*r+i*f<<16>>>0)|0},mul:function(n,t,i){return n==null||t==null?null:(i&&Bridge.Int.check(n*t,System.Int32),Bridge.Int.$mul(n,t))},umul:function(n,t,i){return n==null||t==null?null:(i&&Bridge.Int.check(n*t,System.UInt32),Bridge.Int.$mul(n,t)>>>0)}}});Bridge.Int.$kind="";Bridge.Class.addExtend(Bridge.Int,[System.IComparable$1(Bridge.Int),System.IEquatable$1(Bridge.Int)]);Bridge.define("System.Double",{inherits:[System.IComparable,System.IFormattable],statics:{min:-Number.MAX_VALUE,max:Number.MAX_VALUE,precision:15,$number:!0,$is:function(n){return typeof n=="number"},getDefaultValue:function(){return 0},parse:function(n,t){return Bridge.Int.parseFloat(n,t)},tryParse:function(n,t,i){return Bridge.Int.tryParseFloat(n,t,i)},format:function(n,t,i){return Bridge.Int.format(n,t||"G",i,System.Double)},equals:function(n,t){return Bridge.is(n,System.Double)&&Bridge.is(t,System.Double)?Bridge.unbox(n,!0)===Bridge.unbox(t,!0):!1},equalsT:function(n,t){return Bridge.unbox(n,!0)===Bridge.unbox(t,!0)},getHashCode:function(n){var t=Bridge.unbox(n,!0);return t===0?0:t===Number.POSITIVE_INFINITY?2146435072:t===Number.NEGATIVE_INFINITY?4293918720:Bridge.getHashCode(t.toExponential())}}});System.Double.$kind="";Bridge.Class.addExtend(System.Double,[System.IComparable$1(System.Double),System.IEquatable$1(System.Double)]);Bridge.define("System.Single",{inherits:[System.IComparable,System.IFormattable],statics:{min:-34028234663852886e22,max:34028234663852886e22,precision:7,$number:!0,$is:System.Double.$is,getDefaultValue:System.Double.getDefaultValue,parse:System.Double.parse,tryParse:System.Double.tryParse,format:function(n,t,i){return Bridge.Int.format(n,t||"G",i,System.Single)},equals:function(n,t){return Bridge.is(n,System.Single)&&Bridge.is(t,System.Single)?Bridge.unbox(n,!0)===Bridge.unbox(t,!0):!1},equalsT:function(n,t){return Bridge.unbox(n,!0)===Bridge.unbox(t,!0)},getHashCode:System.Double.getHashCode}});System.Single.$kind="";Bridge.Class.addExtend(System.Single,[System.IComparable$1(System.Single),System.IEquatable$1(System.Single)]),function(n){function i(n,t,i){this.low=n|0;this.high=t|0;this.unsigned=!!i}function u(n){return!0===(n&&n.__isLong__)}function h(n,i){var r,u;if(i){if(n>>>=0,(u=0<=n&&256>n)&&(r=p[n]))return r;r=t(n,0>(n|0)?-1:0,!0);u&&(p[n]=r)}else{if(n|=0,(u=-128<=n&&128>n)&&(r=y[n]))return r;r=t(n,0>n?-1:0,!1);u&&(y[n]=r)}return r}function f(n,i){if(isNaN(n)||!isFinite(n))return i?s:e;if(i){if(0>n)return s;if(n>=d)return k}else{if(n<=-g)return r;if(n+1>=g)return b}return 0>n?f(-n,i).neg():t(n%4294967296|0,n/4294967296|0,i)}function t(n,t,r){return new i(n,t,r)}function v(n,t,i){var s,r,u,o,h;if(0===n.length)throw Error("empty string");if("NaN"===n||"Infinity"===n||"+Infinity"===n||"-Infinity"===n)return e;if("number"==typeof t?(i=t,t=!1):t=!!t,i=i||10,2>i||36<i)throw RangeError("radix");if(0<(s=n.indexOf("-")))throw Error("interior hyphen");if(0===s)return v(n.substring(1),t,i).neg();for(s=f(l(i,8)),r=e,u=0;u<n.length;u+=8)o=Math.min(8,n.length-u),h=parseInt(n.substring(u,u+o),i),8>o?(o=f(l(i,o)),r=r.mul(o).add(f(h))):(r=r.mul(s),r=r.add(f(h)));return r.unsigned=t,r}function o(n){return n instanceof i?n:"number"==typeof n?f(n):"string"==typeof n?v(n):t(n.low,n.high,n.unsigned)}var y,p,l,s,c,w,a,b,k,r;n.Bridge.$Long=i;i.__isLong__;Object.defineProperty(i.prototype,"__isLong__",{value:!0,enumerable:!1,configurable:!1});i.isLong=u;y={};p={};i.fromInt=h;i.fromNumber=f;i.fromBits=t;l=Math.pow;i.fromString=v;i.fromValue=o;var d=4294967296*4294967296,g=d/2,nt=h(16777216),e=h(0);i.ZERO=e;s=h(0,!0);i.UZERO=s;c=h(1);i.ONE=c;w=h(1,!0);i.UONE=w;a=h(-1);i.NEG_ONE=a;b=t(-1,2147483647,!1);i.MAX_VALUE=b;k=t(-1,-1,!0);i.MAX_UNSIGNED_VALUE=k;r=t(0,-2147483648,!1);i.MIN_VALUE=r;n=i.prototype;n.toInt=function(){return this.unsigned?this.low>>>0:this.low};n.toNumber=function(){return this.unsigned?4294967296*(this.high>>>0)+(this.low>>>0):4294967296*this.high+(this.low>>>0)};n.toString=function(n){if(n=n||10,2>n||36<n)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(r)){var t=f(n),u=this.div(t),t=u.mul(t).sub(this);return u.toString(n)+t.toInt().toString(n)}return("undefined"==typeof n||10===n?"-":"")+this.neg().toString(n)}for(var u=f(l(n,6),this.unsigned),t=this,e="";;){var o=t.div(u),i=(t.sub(o.mul(u)).toInt()>>>0).toString(n),t=o;if(t.isZero())return i+e;for(;6>i.length;)i="0"+i;e=""+i+e}};n.getHighBits=function(){return this.high};n.getHighBitsUnsigned=function(){return this.high>>>0};n.getLowBits=function(){return this.low};n.getLowBitsUnsigned=function(){return this.low>>>0};n.getNumBitsAbs=function(){if(this.isNegative())return this.eq(r)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;0<n&&0==(t&1<<n);n--);return 0!=this.high?n+33:n+1};n.isZero=function(){return 0===this.high&&0===this.low};n.isNegative=function(){return!this.unsigned&&0>this.high};n.isPositive=function(){return this.unsigned||0<=this.high};n.isOdd=function(){return 1==(this.low&1)};n.isEven=function(){return 0==(this.low&1)};n.equals=function(n){return u(n)||(n=o(n)),this.unsigned!==n.unsigned&&1==this.high>>>31&&1==n.high>>>31?!1:this.high===n.high&&this.low===n.low};n.eq=n.equals;n.notEquals=function(n){return!this.eq(n)};n.neq=n.notEquals;n.lessThan=function(n){return 0>this.comp(n)};n.lt=n.lessThan;n.lessThanOrEqual=function(n){return 0>=this.comp(n)};n.lte=n.lessThanOrEqual;n.greaterThan=function(n){return 0<this.comp(n)};n.gt=n.greaterThan;n.greaterThanOrEqual=function(n){return 0<=this.comp(n)};n.gte=n.greaterThanOrEqual;n.compare=function(n){if(u(n)||(n=o(n)),this.eq(n))return 0;var t=this.isNegative(),i=n.isNegative();return t&&!i?-1:!t&&i?1:this.unsigned?n.high>>>0>this.high>>>0||n.high===this.high&&n.low>>>0>this.low>>>0?-1:1:this.sub(n).isNegative()?-1:1};n.comp=n.compare;n.negate=function(){return!this.unsigned&&this.eq(r)?r:this.not().add(c)};n.neg=n.negate;n.add=function(n){u(n)||(n=o(n));var e=this.high>>>16,i=this.high&65535,r=this.low>>>16,s=n.high>>>16,h=n.high&65535,c=n.low>>>16,f;return f=0+((this.low&65535)+(n.low&65535)),n=0+(f>>>16),n+=r+c,r=0+(n>>>16),r+=i+h,i=0+(r>>>16),i=i+(e+s)&65535,t((n&65535)<<16|f&65535,i<<16|r&65535,this.unsigned)};n.subtract=function(n){return u(n)||(n=o(n)),this.add(n.neg())};n.sub=n.subtract;n.multiply=function(n){var h,i,s,v;if(this.isZero()||(u(n)||(n=o(n)),n.isZero()))return e;if(this.eq(r))return n.isOdd()?r:e;if(n.eq(r))return this.isOdd()?r:e;if(this.isNegative())return n.isNegative()?this.neg().mul(n.neg()):this.neg().mul(n).neg();if(n.isNegative())return this.mul(n.neg()).neg();if(this.lt(nt)&&n.lt(nt))return f(this.toNumber()*n.toNumber(),this.unsigned);var w=this.high>>>16,y=this.high&65535,l=this.low>>>16,c=this.low&65535,b=n.high>>>16,p=n.high&65535,a=n.low>>>16;return n=n.low&65535,v=0+c*n,s=0+(v>>>16),s+=l*n,i=0+(s>>>16),s=(s&65535)+c*a,i+=s>>>16,s&=65535,i+=y*n,h=0+(i>>>16),i=(i&65535)+l*a,h+=i>>>16,i&=65535,i+=c*p,h+=i>>>16,i&=65535,h=h+(w*n+y*a+l*p+c*b)&65535,t(s<<16|v&65535,h<<16|i,this.unsigned)};n.mul=n.multiply;n.divide=function(n){var t,i,v;if(u(n)||(n=o(n)),n.isZero())throw Error("division by zero");if(this.isZero())return this.unsigned?s:e;if(this.unsigned)n.unsigned||(n=n.toUnsigned());else{if(this.eq(r))return n.eq(c)||n.eq(a)?r:n.eq(r)?c:(t=this.shr(1).div(n).shl(1),t.eq(e))?n.isNegative()?c:a:(i=this.sub(n.mul(t)),t.add(i.div(n)));if(n.eq(r))return this.unsigned?s:e;if(this.isNegative())return n.isNegative()?this.neg().div(n.neg()):this.neg().div(n).neg();if(n.isNegative())return this.div(n.neg()).neg()}if(this.unsigned){if(n.gt(this))return s;if(n.gt(this.shru(1)))return w;v=s}else v=e;for(i=this;i.gte(n);){t=Math.max(1,Math.floor(i.toNumber()/n.toNumber()));for(var p=Math.ceil(Math.log(t)/Math.LN2),p=48>=p?1:l(2,p-48),h=f(t),y=h.mul(n);y.isNegative()||y.gt(i);)t-=p,h=f(t,this.unsigned),y=h.mul(n);h.isZero()&&(h=c);v=v.add(h);i=i.sub(y)}return v};n.div=n.divide;n.modulo=function(n){return u(n)||(n=o(n)),this.sub(this.div(n).mul(n))};n.mod=n.modulo;n.not=function(){return t(~this.low,~this.high,this.unsigned)};n.and=function(n){return u(n)||(n=o(n)),t(this.low&n.low,this.high&n.high,this.unsigned)};n.or=function(n){return u(n)||(n=o(n)),t(this.low|n.low,this.high|n.high,this.unsigned)};n.xor=function(n){return u(n)||(n=o(n)),t(this.low^n.low,this.high^n.high,this.unsigned)};n.shiftLeft=function(n){return u(n)&&(n=n.toInt()),0==(n&=63)?this:32>n?t(this.low<<n,this.high<<n|this.low>>>32-n,this.unsigned):t(0,this.low<<n-32,this.unsigned)};n.shl=n.shiftLeft;n.shiftRight=function(n){return u(n)&&(n=n.toInt()),0==(n&=63)?this:32>n?t(this.low>>>n|this.high<<32-n,this.high>>n,this.unsigned):t(this.high>>n-32,0<=this.high?0:-1,this.unsigned)};n.shr=n.shiftRight;n.shiftRightUnsigned=function(n){if(u(n)&&(n=n.toInt()),n&=63,0===n)return this;var i=this.high;return 32>n?t(this.low>>>n|i<<32-n,i>>>n,this.unsigned):32===n?t(i,0,this.unsigned):t(i>>>n-32,0,this.unsigned)};n.shru=n.shiftRightUnsigned;n.toSigned=function(){return this.unsigned?t(this.low,this.high,!1):this};n.toUnsigned=function(){return this.unsigned?this:t(this.low,this.high,!0)}}(Bridge.global);System.Int64=function(n){if(this.constructor!==System.Int64)return new System.Int64(n);Bridge.hasValue(n)||(n=0);this.T=System.Int64;this.unsigned=!1;this.value=System.Int64.getValue(n)};System.Int64.$number=!0;System.Int64.TWO_PWR_16_DBL=65536;System.Int64.TWO_PWR_32_DBL=System.Int64.TWO_PWR_16_DBL*System.Int64.TWO_PWR_16_DBL;System.Int64.TWO_PWR_64_DBL=System.Int64.TWO_PWR_32_DBL*System.Int64.TWO_PWR_32_DBL;System.Int64.TWO_PWR_63_DBL=System.Int64.TWO_PWR_64_DBL/2;System.Int64.$$name="System.Int64";System.Int64.prototype.$$name="System.Int64";System.Int64.$kind="struct";System.Int64.prototype.$kind="struct";System.Int64.$$inherits=[];Bridge.Class.addExtend(System.Int64,[System.IComparable,System.IFormattable,System.IComparable$1(System.Int64),System.IEquatable$1(System.Int64)]);System.Int64.$is=function(n){return n instanceof System.Int64};System.Int64.is64Bit=function(n){return n instanceof System.Int64||n instanceof System.UInt64};System.Int64.is64BitType=function(n){return n===System.Int64||n===System.UInt64};System.Int64.getDefaultValue=function(){return System.Int64.Zero};System.Int64.getValue=function(n){return Bridge.hasValue(n)?n instanceof Bridge.$Long?n:n instanceof System.Int64?n.value:n instanceof System.UInt64?n.value.toSigned():Bridge.isArray(n)?new Bridge.$Long(n[0],n[1]):Bridge.isString(n)?Bridge.$Long.fromString(n):Bridge.isNumber(n)?n+1>=System.Int64.TWO_PWR_63_DBL?new System.UInt64(n).value.toSigned():Bridge.$Long.fromNumber(n):n instanceof System.Decimal?Bridge.$Long.fromString(n.toString()):Bridge.$Long.fromValue(n):null};System.Int64.create=function(n){return Bridge.hasValue(n)?n instanceof System.Int64?n:new System.Int64(n):null};System.Int64.lift=function(n){return Bridge.hasValue(n)?System.Int64.create(n):null};System.Int64.toNumber=function(n){return n?n.toNumber():null};System.Int64.prototype.toNumberDivided=function(n){var t=this.div(n),i=this.mod(n),r=i.toNumber()/n;return t.toNumber()+r};System.Int64.prototype.toJSON=function(){return this.gt(Bridge.Int.MAX_SAFE_INTEGER)||this.lt(Bridge.Int.MIN_SAFE_INTEGER)?this.toString():this.toNumber()};System.Int64.prototype.toString=function(n,t){return!n&&!t?this.value.toString():Bridge.isNumber(n)&&!t?this.value.toString(n):Bridge.Int.format(this,n,t)};System.Int64.prototype.format=function(n,t){return Bridge.Int.format(this,n,t)};System.Int64.prototype.isNegative=function(){return this.value.isNegative()};System.Int64.prototype.abs=function(){if(this.T===System.Int64&&this.eq(System.Int64.MinValue))throw new System.OverflowException;return new this.T(this.value.isNegative()?this.value.neg():this.value)};System.Int64.prototype.compareTo=function(n){return this.value.compare(this.T.getValue(n))};System.Int64.prototype.add=function(n,t){var i=this.T.getValue(n),r=new this.T(this.value.add(i));if(t){var u=this.value.isNegative(),f=i.isNegative(),e=r.value.isNegative();if(u&&f&&!e||!u&&!f&&e||this.T===System.UInt64&&r.lt(System.UInt64.max(this,i)))throw new System.OverflowException;}return r};System.Int64.prototype.sub=function(n,t){var i=this.T.getValue(n),r=new this.T(this.value.sub(i));if(t){var u=this.value.isNegative(),f=i.isNegative(),e=r.value.isNegative();if(u&&!f&&!e||!u&&f&&e||this.T===System.UInt64&&this.value.lt(i))throw new System.OverflowException;}return r};System.Int64.prototype.isZero=function(){return this.value.isZero()};System.Int64.prototype.mul=function(n,t){var i=this.T.getValue(n),r=new this.T(this.value.mul(i)),u;if(t){var f=this.sign(),e=i.isZero()?0:i.isNegative()?-1:1,o=r.sign();if(this.T===System.Int64){if(this.eq(System.Int64.MinValue)||this.eq(System.Int64.MaxValue)){if(i.neq(1)&&i.neq(0))throw new System.OverflowException;return r}if(i.eq(Bridge.$Long.MIN_VALUE)||i.eq(Bridge.$Long.MAX_VALUE)){if(this.neq(1)&&this.neq(0))throw new System.OverflowException;return r}if(f===-1&&e===-1&&o!==1||f===1&&e===1&&o!==1||f===-1&&e===1&&o!==-1||f===1&&e===-1&&o!==-1)throw new System.OverflowException;if(u=r.abs(),u.lt(this.abs())||u.lt(System.Int64(i).abs()))throw new System.OverflowException;}else{if(this.eq(System.UInt64.MaxValue)){if(i.neq(1)&&i.neq(0))throw new System.OverflowException;return r}if(i.eq(Bridge.$Long.MAX_UNSIGNED_VALUE)){if(this.neq(1)&&this.neq(0))throw new System.OverflowException;return r}if(u=r.abs(),u.lt(this.abs())||u.lt(System.Int64(i).abs()))throw new System.OverflowException;}}return r};System.Int64.prototype.div=function(n){return new this.T(this.value.div(this.T.getValue(n)))};System.Int64.prototype.mod=function(n){return new this.T(this.value.mod(this.T.getValue(n)))};System.Int64.prototype.neg=function(n){if(n&&this.T===System.Int64&&this.eq(System.Int64.MinValue))throw new System.OverflowException;return new this.T(this.value.neg())};System.Int64.prototype.inc=function(n){return this.add(1,n)};System.Int64.prototype.dec=function(n){return this.sub(1,n)};System.Int64.prototype.sign=function(){return this.value.isZero()?0:this.value.isNegative()?-1:1};System.Int64.prototype.clone=function(){return new this.T(this)};System.Int64.prototype.ne=function(n){return this.value.neq(this.T.getValue(n))};System.Int64.prototype.neq=function(n){return this.value.neq(this.T.getValue(n))};System.Int64.prototype.eq=function(n){return this.value.eq(this.T.getValue(n))};System.Int64.prototype.lt=function(n){return this.value.lt(this.T.getValue(n))};System.Int64.prototype.lte=function(n){return this.value.lte(this.T.getValue(n))};System.Int64.prototype.gt=function(n){return this.value.gt(this.T.getValue(n))};System.Int64.prototype.gte=function(n){return this.value.gte(this.T.getValue(n))};System.Int64.prototype.equals=function(n){return this.value.eq(this.T.getValue(n))};System.Int64.prototype.equalsT=function(n){return this.equals(n)};System.Int64.prototype.getHashCode=function(){var n=this.sign()*397+this.value.high|0;return n*397+this.value.low|0};System.Int64.prototype.toNumber=function(){return this.value.toNumber()};System.Int64.parse=function(n){if(n==null)throw new System.ArgumentNullException("str");if(!/^[+-]?[0-9]+$/.test(n))throw new System.FormatException("Input string was not in a correct format.");var t=new System.Int64(n);if(System.String.trimStartZeros(n)!==t.toString())throw new System.OverflowException;return t};System.Int64.tryParse=function(n,t){try{return n==null||!/^[+-]?[0-9]+$/.test(n)?(t.v=System.Int64(Bridge.$Long.ZERO),!1):(t.v=new System.Int64(n),System.String.trimStartZeros(n)!==t.v.toString())?(t.v=System.Int64(Bridge.$Long.ZERO),!1):!0}catch(i){return t.v=System.Int64(Bridge.$Long.ZERO),!1}};System.Int64.divRem=function(n,t,i){n=System.Int64(n);t=System.Int64(t);var r=n.mod(t);return i.v=r,n.sub(r).div(t)};System.Int64.min=function(){for(var t=[],i,n=0,r=arguments.length;n<r;n++)t.push(System.Int64.getValue(arguments[n]));for(n=0,i=t[0];++n<t.length;)t[n].lt(i)&&(i=t[n]);return new System.Int64(i)};System.Int64.max=function(){for(var t=[],i,n=0,r=arguments.length;n<r;n++)t.push(System.Int64.getValue(arguments[n]));for(n=0,i=t[0];++n<t.length;)t[n].gt(i)&&(i=t[n]);return new System.Int64(i)};System.Int64.prototype.and=function(n){return new this.T(this.value.and(this.T.getValue(n)))};System.Int64.prototype.not=function(){return new this.T(this.value.not())};System.Int64.prototype.or=function(n){return new this.T(this.value.or(this.T.getValue(n)))};System.Int64.prototype.shl=function(n){return new this.T(this.value.shl(n))};System.Int64.prototype.shr=function(n){return new this.T(this.value.shr(n))};System.Int64.prototype.shru=function(n){return new this.T(this.value.shru(n))};System.Int64.prototype.xor=function(n){return new this.T(this.value.xor(this.T.getValue(n)))};System.Int64.check=function(n,t){if(Bridge.Int.isInfinite(n))return t===System.Int64||t===System.UInt64?t.MinValue:t.min;if(!n)return null;var i,r;if(t===System.Int64){if(n instanceof System.Int64)return n;if(i=n.value.toString(),r=new System.Int64(i),i!==r.value.toString())throw new System.OverflowException;return r}if(t===System.UInt64){if(n instanceof System.UInt64)return n;if(n.value.isNegative())throw new System.OverflowException;if(i=n.value.toString(),r=new System.UInt64(i),i!==r.value.toString())throw new System.OverflowException;return r}return Bridge.Int.check(n.toNumber(),t)};System.Int64.clip8=function(n){return n?Bridge.Int.sxb(n.value.low&255):Bridge.Int.isInfinite(n)?System.SByte.min:null};System.Int64.clipu8=function(n){return n?n.value.low&255:Bridge.Int.isInfinite(n)?System.Byte.min:null};System.Int64.clip16=function(n){return n?Bridge.Int.sxs(n.value.low&65535):Bridge.Int.isInfinite(n)?System.Int16.min:null};System.Int64.clipu16=function(n){return n?n.value.low&65535:Bridge.Int.isInfinite(n)?System.UInt16.min:null};System.Int64.clip32=function(n){return n?n.value.low|0:Bridge.Int.isInfinite(n)?System.Int32.min:null};System.Int64.clipu32=function(n){return n?n.value.low>>>0:Bridge.Int.isInfinite(n)?System.UInt32.min:null};System.Int64.clip64=function(n){return n?new System.Int64(n.value.toSigned()):Bridge.Int.isInfinite(n)?System.Int64.MinValue:null};System.Int64.clipu64=function(n){return n?new System.UInt64(n.value.toUnsigned()):Bridge.Int.isInfinite(n)?System.UInt64.MinValue:null};System.Int64.Zero=System.Int64(Bridge.$Long.ZERO);System.Int64.MinValue=System.Int64(Bridge.$Long.MIN_VALUE);System.Int64.MaxValue=System.Int64(Bridge.$Long.MAX_VALUE);System.Int64.precision=19;System.UInt64=function(n){if(this.constructor!==System.UInt64)return new System.UInt64(n);Bridge.hasValue(n)||(n=0);this.T=System.UInt64;this.unsigned=!0;this.value=System.UInt64.getValue(n,!0)};System.UInt64.$number=!0;System.UInt64.$$name="System.UInt64";System.UInt64.prototype.$$name="System.UInt64";System.UInt64.$kind="struct";System.UInt64.prototype.$kind="struct";System.UInt64.$$inherits=[];Bridge.Class.addExtend(System.UInt64,[System.IComparable,System.IFormattable,System.IComparable$1(System.UInt64),System.IEquatable$1(System.UInt64)]);System.UInt64.$is=function(n){return n instanceof System.UInt64};System.UInt64.getDefaultValue=function(){return System.UInt64.Zero};System.UInt64.getValue=function(n){return Bridge.hasValue(n)?n instanceof Bridge.$Long?n:n instanceof System.UInt64?n.value:n instanceof System.Int64?n.value.toUnsigned():Bridge.isArray(n)?new Bridge.$Long(n[0],n[1],!0):Bridge.isString(n)?Bridge.$Long.fromString(n,!0):Bridge.isNumber(n)?n<0?new System.Int64(n).value.toUnsigned():Bridge.$Long.fromNumber(n,!0):n instanceof System.Decimal?Bridge.$Long.fromString(n.toString(),!0):Bridge.$Long.fromValue(n):null};System.UInt64.create=function(n){return Bridge.hasValue(n)?n instanceof System.UInt64?n:new System.UInt64(n):null};System.UInt64.lift=function(n){return Bridge.hasValue(n)?System.UInt64.create(n):null};System.UInt64.prototype.toString=System.Int64.prototype.toString;System.UInt64.prototype.format=System.Int64.prototype.format;System.UInt64.prototype.isNegative=System.Int64.prototype.isNegative;System.UInt64.prototype.abs=System.Int64.prototype.abs;System.UInt64.prototype.compareTo=System.Int64.prototype.compareTo;System.UInt64.prototype.add=System.Int64.prototype.add;System.UInt64.prototype.sub=System.Int64.prototype.sub;System.UInt64.prototype.isZero=System.Int64.prototype.isZero;System.UInt64.prototype.mul=System.Int64.prototype.mul;System.UInt64.prototype.div=System.Int64.prototype.div;System.UInt64.prototype.toNumberDivided=System.Int64.prototype.toNumberDivided;System.UInt64.prototype.mod=System.Int64.prototype.mod;System.UInt64.prototype.neg=System.Int64.prototype.neg;System.UInt64.prototype.inc=System.Int64.prototype.inc;System.UInt64.prototype.dec=System.Int64.prototype.dec;System.UInt64.prototype.sign=System.Int64.prototype.sign;System.UInt64.prototype.clone=System.Int64.prototype.clone;System.UInt64.prototype.ne=System.Int64.prototype.ne;System.UInt64.prototype.neq=System.Int64.prototype.neq;System.UInt64.prototype.eq=System.Int64.prototype.eq;System.UInt64.prototype.lt=System.Int64.prototype.lt;System.UInt64.prototype.lte=System.Int64.prototype.lte;System.UInt64.prototype.gt=System.Int64.prototype.gt;System.UInt64.prototype.gte=System.Int64.prototype.gte;System.UInt64.prototype.equals=System.Int64.prototype.equals;System.UInt64.prototype.equalsT=System.Int64.prototype.equalsT;System.UInt64.prototype.getHashCode=System.Int64.prototype.getHashCode;System.UInt64.prototype.toNumber=System.Int64.prototype.toNumber;System.UInt64.parse=function(n){if(n==null)throw new System.ArgumentNullException("str");if(!/^[+-]?[0-9]+$/.test(n))throw new System.FormatException("Input string was not in a correct format.");var t=new System.UInt64(n);if(t.value.isNegative())throw new System.OverflowException;if(System.String.trimStartZeros(n)!==t.toString())throw new System.OverflowException;return t};System.UInt64.tryParse=function(n,t){try{return n==null||!/^[+-]?[0-9]+$/.test(n)?(t.v=System.UInt64(Bridge.$Long.UZERO),!1):(t.v=new System.UInt64(n),t.v.isNegative())?(t.v=System.UInt64(Bridge.$Long.UZERO),!1):System.String.trimStartZeros(n)!==t.v.toString()?(t.v=System.UInt64(Bridge.$Long.UZERO),!1):!0}catch(i){return t.v=System.UInt64(Bridge.$Long.UZERO),!1}};System.UInt64.min=function(){for(var t=[],i,n=0,r=arguments.length;n<r;n++)t.push(System.UInt64.getValue(arguments[n]));for(n=0,i=t[0];++n<t.length;)t[n].lt(i)&&(i=t[n]);return new System.UInt64(i)};System.UInt64.max=function(){for(var t=[],i,n=0,r=arguments.length;n<r;n++)t.push(System.UInt64.getValue(arguments[n]));for(n=0,i=t[0];++n<t.length;)t[n].gt(i)&&(i=t[n]);return new System.UInt64(i)};System.UInt64.divRem=function(n,t,i){n=System.UInt64(n);t=System.UInt64(t);var r=n.mod(t);return i.v=r,n.sub(r).div(t)};System.UInt64.prototype.toJSON=function(){return this.gt(Bridge.Int.MAX_SAFE_INTEGER)?this.toString():this.toNumber()};System.UInt64.prototype.and=System.Int64.prototype.and;System.UInt64.prototype.not=System.Int64.prototype.not;System.UInt64.prototype.or=System.Int64.prototype.or;System.UInt64.prototype.shl=System.Int64.prototype.shl;System.UInt64.prototype.shr=System.Int64.prototype.shr;System.UInt64.prototype.shru=System.Int64.prototype.shru;System.UInt64.prototype.xor=System.Int64.prototype.xor;System.UInt64.Zero=System.UInt64(Bridge.$Long.UZERO);System.UInt64.MinValue=System.UInt64.Zero;System.UInt64.MaxValue=System.UInt64(Bridge.$Long.MAX_UNSIGNED_VALUE);System.UInt64.precision=20;!function(n){function e(n){var u,i,f,o=n.length-1,e="",t=n[0];if(o>0){for(e+=t,u=1;o>u;u++)f=n[u]+"",i=r-f.length,i&&(e+=p(i)),e+=f;t=n[u];f=t+"";i=r-f.length;i&&(e+=p(i))}else if(0===t)return"0";for(;t%10==0;)t/=10;return e+t}function h(n,t,i){if(n!==~~n||t>n||n>i)throw Error(k+n);}function nt(n,t,i,u){for(var o,h,f,e=n[0];e>=10;e/=10)--t;return--t<0?(t+=r,o=0):(o=Math.ceil((t+1)/r),t%=r),e=s(10,r-t),f=n[o]%e|0,null==u?3>t?(0==t?f=f/100|0:1==t&&(f=f/10|0),h=4>i&&99999==f||i>3&&49999==f||5e4==f||0==f):h=(4>i&&f+1==e||i>3&&f+1==e/2)&&(n[o+1]/e/100|0)==s(10,t-2)-1||(f==e/2||0==f)&&0==(n[o+1]/e/100|0):4>t?(0==t?f=f/1e3|0:1==t?f=f/100|0:2==t&&(f=f/10|0),h=(u||4>i)&&9999==f||!u&&i>3&&4999==f):h=((u||4>i)&&f+1==e||!u&&i>3&&f+1==e/2)&&(n[o+1]/e/1e3|0)==s(10,t-3)-1,h}function tt(n,t,i){for(var u,f,r=[0],e=0,o=n.length;o>e;){for(f=r.length;f--;)r[f]*=t;for(r[0]+=ht.indexOf(n.charAt(e++)),u=0;u<r.length;u++)r[u]>i-1&&(void 0===r[u+1]&&(r[u+1]=0),r[u+1]+=r[u]/i|0,r[u]%=i)}return r.reverse()}function ri(n,t){var i,u,f=t.d.length,e,r;for(32>f?(i=Math.ceil(f/3),u=Math.pow(4,-i).toString()):(i=16,u="2.3283064365386962890625e-10"),n.precision+=i,t=d(n,1,t.times(u),new n(1)),e=i;e--;)r=t.times(t),t=r.times(r).minus(r).times(8).plus(1);return n.precision-=i,t}function i(n,t,i,f){var v,c,o,h,p,w,y,e,l,b=n.constructor;n:if(null!=t){if(e=n.d,!e)return n;for(v=1,h=e[0];h>=10;h/=10)v++;if(c=t-v,0>c)c+=r,o=t,y=e[l=0],p=y/s(10,v-o-1)%10|0;else if(l=Math.ceil((c+1)/r),h=e.length,l>=h){if(!f)break n;for(;h++<=l;)e.push(0);y=p=0;v=1;c%=r;o=c-r+1}else{for(y=h=e[l],v=1;h>=10;h/=10)v++;c%=r;o=c-r+v;p=0>o?0:y/s(10,v-o-1)%10|0}if(f=f||0>t||void 0!==e[l+1]||(0>o?y:y%s(10,v-o-1)),w=4>i?(p||f)&&(0==i||i==(n.s<0?3:2)):p>5||5==p&&(4==i||f||6==i&&(c>0?o>0?y/s(10,v-o):0:e[l-1])%10&1||i==(n.s<0?8:7)),1>t||!e[0])return e.length=0,w?(t-=n.e+1,e[0]=s(10,(r-t%r)%r),n.e=-t||0):e[0]=n.e=0,n;if(0==c?(e.length=l,h=1,l--):(e.length=l+1,h=s(10,r-c),e[l]=o>0?(y/s(10,v-o)%s(10,o)|0)*h:0),w)for(;;){if(0==l){for(c=1,o=e[0];o>=10;o/=10)c++;for(o=e[0]+=h,h=1;o>=10;o/=10)h++;c!=h&&(n.e++,e[0]==a&&(e[0]=1));break}if(e[l]+=h,e[l]!=a)break;e[l--]=0;h=1}for(c=e.length;0===e[--c];)e.pop()}return u&&(n.e>b.maxE?(n.d=null,n.e=NaN):n.e<b.minE&&(n.e=0,n.d=[0])),n}function v(n,t,i){if(!n.isFinite())return pt(n);var u,o=n.e,r=e(n.d),f=r.length;return t?(i&&(u=i-f)>0?r=r.charAt(0)+"."+r.slice(1)+p(u):f>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(n.e<0?"e":"e+")+n.e):0>o?(r="0."+p(-o-1)+r,i&&(u=i-f)>0&&(r+=p(u))):o>=f?(r+=p(o+1-f),i&&(u=i-o-1)>0&&(r=r+"."+p(u))):((u=o+1)<f&&(r=r.slice(0,u)+"."+r.slice(u)),i&&(u=i-f)>0&&(o+1===f&&(r+="."),r+=p(u))),r}function it(n,t){for(var i=1,u=n[0];u>=10;u/=10)i++;return i+t*r-1}function rt(n,t,r){if(t>eu)throw u=!0,r&&(n.precision=r),Error(ti);return i(new n(ut),t,1,!0)}function l(n,t,r){if(t>ct)throw Error(ti);return i(new n(ft),t,r,!0)}function lt(n){var t=n.length-1,i=t*r+1;if(t=n[t]){for(;t%10==0;t/=10)i--;for(t=n[0];t>=10;t/=10)i++}return i}function p(n){for(var t="";n--;)t+="0";return t}function at(n,t,i,f){var s,e=new n(1),h=Math.ceil(f/r+4);for(u=!1;;){if(i%2&&(e=e.times(t),kt(e.d,h)&&(s=!0)),i=o(i/2),0===i){i=e.d.length-1;s&&0===e.d[i]&&++e.d[i];break}t=t.times(t);kt(t.d,h)}return u=!0,e}function vt(n){return 1&n.d[n.d.length-1]}function yt(n,t,i){for(var r,u=new n(t[0]),f=0;++f<t.length;){if(r=new n(t[f]),!r.s){u=r;break}u[i](r)&&(u=r)}return u}function ot(n,t){var l,v,b,a,o,c,r,y=0,k=0,p=0,h=n.constructor,d=h.rounding,w=h.precision;if(!n.d||!n.d[0]||n.e>17)return new h(n.d?n.d[0]?n.s<0?0:1/0:1:n.s?n.s<0?0:n:NaN);for(null==t?(u=!1,r=w):r=t,c=new h(.03125);n.e>-2;)n=n.times(c),p+=5;for(v=Math.log(s(2,p))/Math.LN10*2+5|0,r+=v,l=a=o=new h(1),h.precision=r;;){if(a=i(a.times(n),r,1),l=l.times(++k),c=o.plus(f(a,l,r,1)),e(c.d).slice(0,r)===e(o.d).slice(0,r)){for(b=p;b--;)o=i(o.times(o),r,1);if(null!=t)return h.precision=w,o;if(!(3>y&&nt(o.d,r-v,d,y)))return i(o,h.precision=w,d,u=!0);h.precision=r+=10;l=a=c=new h(1);k=0;y++}o=c}}function w(n,t){var c,l,k,y,b,ut,h,p,o,g,tt,ft=1,d=10,r=n,a=r.d,s=r.constructor,it=s.rounding,v=s.precision;if(r.s<0||!a||!a[0]||!r.e&&1==a[0]&&1==a.length)return new s(a&&!a[0]?-1/0:1!=r.s?NaN:a?0:r);if(null==t?(u=!1,o=v):o=t,s.precision=o+=d,c=e(a),l=c.charAt(0),!(Math.abs(y=r.e)<15e14))return p=rt(s,o+2,v).times(y+""),r=w(new s(l+"."+c.slice(1)),o-d).plus(p),s.precision=v,null==t?i(r,v,it,u=!0):r;for(;7>l&&1!=l||1==l&&c.charAt(1)>3;)r=r.times(n),c=e(r.d),l=c.charAt(0),ft++;for(y=r.e,l>1?(r=new s("0."+c),y++):r=new s(l+"."+c.slice(1)),g=r,h=b=r=f(r.minus(1),r.plus(1),o,1),tt=i(r.times(r),o,1),k=3;;){if(b=i(b.times(tt),o,1),p=h.plus(f(b,new s(k),o,1)),e(p.d).slice(0,o)===e(h.d).slice(0,o)){if(h=h.times(2),0!==y&&(h=h.plus(rt(s,o+2,v).times(y+""))),h=f(h,new s(ft),o,1),null!=t)return s.precision=v,h;if(!nt(h.d,o-d,it,ut))return i(h,s.precision=v,it,u=!0);s.precision=o+=d;p=b=r=f(g.minus(1),g.plus(1),o,1);tt=i(r.times(r),o,1);k=ut=1}h=p;k+=2}}function pt(n){return String(n.s*n.s/0)}function wt(n,t){var f,i,e;for((f=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(0>f&&(f=i),f+=+t.slice(i+1),t=t.substring(0,i)):0>f&&(f=t.length),i=0;48===t.charCodeAt(i);i++);for(e=t.length;48===t.charCodeAt(e-1);--e);if(t=t.slice(i,e)){if(e-=i,n.e=f=f-i-1,n.d=[],i=(f+1)%r,0>f&&(i+=r),e>i){for(i&&n.d.push(+t.slice(0,i)),e-=r;e>i;)n.d.push(+t.slice(i,i+=r));t=t.slice(i);i=r-t.length}else i-=e;for(;i--;)t+="0";n.d.push(+t);u&&(n.e>n.constructor.maxE?(n.d=null,n.e=NaN):n.e<n.constructor.minE&&(n.e=0,n.d=[0]))}else n.e=0,n.d=[0];return n}function ui(n,t){var e,s,y,i,h,l,o,r,v;if("Infinity"===t||"NaN"===t)return+t||(n.s=NaN),n.e=NaN,n.d=null,n;if(iu.test(t))e=16,t=t.toLowerCase();else if(tu.test(t))e=2;else{if(!ru.test(t))throw Error(k+t);e=8}for(i=t.search(/p/i),i>0?(o=+t.slice(i+1),t=t.substring(2,i)):t=t.slice(2),i=t.indexOf("."),h=i>=0,s=n.constructor,h&&(t=t.replace(".",""),l=t.length,i=l-i,y=at(s,new s(e),i,2*i)),r=tt(t,e,a),v=r.length-1,i=v;0===r[i];--i)r.pop();return 0>i?new s(0*n.s):(n.e=it(r,v),n.d=r,u=!1,h&&(n=f(n,y,4*l)),o&&(n=n.times(Math.abs(o)<54?Math.pow(2,o):c.pow(2,o))),u=!0,n)}function fi(n,t){var i,u=t.d.length;if(3>u)return d(n,2,t,t);i=1.4*Math.sqrt(u);i=i>16?16:0|i;t=t.times(Math.pow(5,-i));t=d(n,2,t,t);for(var r,f=new n(5),e=new n(16),o=new n(20);i--;)r=t.times(t),t=t.times(f.plus(r.times(e.times(r).minus(o))));return t}function d(n,t,i,e,o){var h,s,c,l,y=1,a=n.precision,v=Math.ceil(a/r);for(u=!1,l=i.times(i),c=new n(e);;){if(s=f(c.times(l),new n(t++*t++),a,1),c=o?e.plus(s):e.minus(s),e=f(s.times(l),new n(t++*t++),a,1),s=c.plus(e),void 0!==s.d[v]){for(h=v;s.d[h]===c.d[h]&&h--;);if(-1==h)break}h=c;c=e;e=s;s=h;y++}return u=!0,s.d.length=v+1,s}function bt(n,t){var r,i=t.s<0,u=l(n,n.precision,1),f=u.times(.5);if(t=t.abs(),t.lte(f))return y=i?4:1,t;if(r=t.divToInt(u),r.isZero())y=i?3:2;else{if(t=t.minus(r.times(u)),t.lte(f))return y=vt(r)?i?2:3:i?4:1,t;y=vt(r)?i?1:4:i?3:2}return t.minus(u).abs()}function st(n,t,i,r){var l,c,o,k,s,a,u,e,y,p=n.constructor,w=void 0!==i;if(w?(h(i,1,b),void 0===r?r=p.rounding:h(r,0,8)):(i=p.precision,r=p.rounding),n.isFinite()){for(u=v(n),o=u.indexOf("."),w?(l=2,16==t?i=4*i-3:8==t&&(i=3*i-2)):l=t,o>=0&&(u=u.replace(".",""),y=new p(1),y.e=u.length-o,y.d=tt(v(y),10,l),y.e=y.d.length),e=tt(u,10,l),c=s=e.length;0==e[--s];)e.pop();if(e[0]){if(0>o?c--:(n=new p(n),n.d=e,n.e=c,n=f(n,y,i,r,0,l),e=n.d,c=n.e,a=gt),o=e[i],k=l/2,a=a||void 0!==e[i+1],a=4>r?(void 0!==o||a)&&(0===r||r===(n.s<0?3:2)):o>k||o===k&&(4===r||a||6===r&&1&e[i-1]||r===(n.s<0?8:7)),e.length=i,a)for(;++e[--i]>l-1;)e[i]=0,i||(++c,e.unshift(1));for(s=e.length;!e[s-1];--s);for(o=0,u="";s>o;o++)u+=ht.charAt(e[o]);if(w){if(s>1)if(16==t||8==t){for(o=16==t?4:3,--s;s%o;s++)u+="0";for(e=tt(u,l,t),s=e.length;!e[s-1];--s);for(o=1,u="1.";s>o;o++)u+=ht.charAt(e[o])}else u=u.charAt(0)+"."+u.slice(1);u=u+(0>c?"p":"p+")+c}else if(0>c){for(;++c;)u="0"+u;u="0."+u}else if(++c>s)for(c-=s;c--;)u+="0";else s>c&&(u=u.slice(0,c)+"."+u.slice(c))}else u=w?"0p+0":"0";u=(16==t?"0x":2==t?"0b":8==t?"0o":"")+u}else u=pt(n);return n.s<0?"-"+u:u}function kt(n,t){if(n.length>t)return(n.length=t,!0)}function ei(n){return new this(n).abs()}function oi(n){return new this(n).acos()}function si(n){return new this(n).acosh()}function hi(n,t){return new this(n).plus(t)}function ci(n){return new this(n).asin()}function li(n){return new this(n).asinh()}function ai(n){return new this(n).atan()}function vi(n){return new this(n).atanh()}function yi(n,t){n=new this(n);t=new this(t);var i,u=this.precision,e=this.rounding,r=u+4;return n.s&&t.s?n.d||t.d?!t.d||n.isZero()?(i=t.s<0?l(this,u,e):new this(0),i.s=n.s):!n.d||t.isZero()?(i=l(this,r,1).times(.5),i.s=n.s):t.s<0?(this.precision=r,this.rounding=1,i=this.atan(f(n,t,r,1)),t=l(this,r,1),this.precision=u,this.rounding=e,i=n.s<0?i.minus(t):i.plus(t)):i=this.atan(f(n,t,r,1)):(i=l(this,r,1).times(t.s>0?.25:.75),i.s=n.s):i=new this(NaN),i}function pi(n){return new this(n).cbrt()}function wi(n){return i(n=new this(n),n.e+1,2)}function bi(n){if(!n||"object"!=typeof n)throw Error(et+"Object expected");for(var i,t,u=["precision",1,b,"rounding",0,8,"toExpNeg",-g,0,"toExpPos",0,g,"maxE",0,g,"minE",-g,0,"modulo",0,9],r=0;r<u.length;r+=3)if(void 0!==(t=n[i=u[r]])){if(!(o(t)===t&&t>=u[r+1]&&t<=u[r+2]))throw Error(k+i+": "+t);this[i]=t}if(void 0!==(t=n[i="crypto"])){if(t!==!0&&t!==!1&&0!==t&&1!==t)throw Error(k+i+": "+t);if(t){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(ii);this[i]=!0}else this[i]=!1}return this}function ki(n){return new this(n).cos()}function di(n){return new this(n).cosh()}function dt(n){function i(n){var r,u,f,t=this;if(!(t instanceof i))return new i(n);if(t.constructor=i,n instanceof i)return t.s=n.s,t.e=n.e,void(t.d=(n=n.d)?n.slice():n);if(f=typeof n,"number"===f){if(0===n)return t.s=0>1/n?-1:1,t.e=0,void(t.d=[0]);if(0>n?(n=-n,t.s=-1):t.s=1,n===~~n&&1e7>n){for(r=0,u=n;u>=10;u/=10)r++;return t.e=r,void(t.d=[n])}return 0*n!=0?(n||(t.s=NaN),t.e=NaN,void(t.d=null)):wt(t,n.toString())}if("string"!==f)throw Error(k+n);return 45===n.charCodeAt(0)?(n=n.slice(1),t.s=-1):t.s=1,uu.test(n)?wt(t,n):ui(t,n)}var r,u,f;if(i.prototype=t,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=bi,i.clone=dt,i.abs=ei,i.acos=oi,i.acosh=si,i.add=hi,i.asin=ci,i.asinh=li,i.atan=ai,i.atanh=vi,i.atan2=yi,i.cbrt=pi,i.ceil=wi,i.cos=ki,i.cosh=di,i.div=gi,i.exp=nr,i.floor=tr,i.hypot=ir,i.ln=rr,i.log=ur,i.log10=er,i.log2=fr,i.max=or,i.min=sr,i.mod=hr,i.mul=cr,i.pow=lr,i.random=ar,i.round=vr,i.sign=yr,i.sin=pr,i.sinh=wr,i.sqrt=br,i.sub=kr,i.tan=dr,i.tanh=gr,i.trunc=nu,void 0===n&&(n={}),n)for(f=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],r=0;r<f.length;)n.hasOwnProperty(u=f[r++])||(n[u]=this[u]);return i.config(n),i}function gi(n,t){return new this(n).div(t)}function nr(n){return new this(n).exp()}function tr(n){return i(n=new this(n),n.e+1,3)}function ir(){var i,n,t=new this(0);for(u=!1,i=0;i<arguments.length;)if(n=new this(arguments[i++]),n.d)t.d&&(t=t.plus(n.times(n)));else{if(n.s)return u=!0,new this(1/0);t=n}return u=!0,t.sqrt()}function rr(n){return new this(n).ln()}function ur(n,t){return new this(n).log(t)}function fr(n){return new this(n).log(2)}function er(n){return new this(n).log(10)}function or(){return yt(this,arguments,"lt")}function sr(){return yt(this,arguments,"gt")}function hr(n,t){return new this(n).mod(t)}function cr(n,t){return new this(n).mul(t)}function lr(n,t){return new this(n).pow(t)}function ar(n){var e,o,i,u,t=0,c=new this(1),f=[];if(void 0===n?n=this.precision:h(n,1,b),i=Math.ceil(n/r),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(i));i>t;)u=e[t],u>=429e7?e[t]=crypto.getRandomValues(new Uint32Array(1))[0]:f[t++]=u%1e7;else{if(!crypto.randomBytes)throw Error(ii);for(e=crypto.randomBytes(i*=4);i>t;)u=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+((127&e[t+3])<<24),u>=214e7?crypto.randomBytes(4).copy(e,t):(f.push(u%1e7),t+=4);t=i/4}else for(;i>t;)f[t++]=1e7*Math.random()|0;for(i=f[--t],n%=r,i&&n&&(u=s(10,r-n),f[t]=(i/u|0)*u);0===f[t];t--)f.pop();if(0>t)o=0,f=[0];else{for(o=-1;0===f[0];o-=r)f.shift();for(i=1,u=f[0];u>=10;u/=10)i++;r>i&&(o-=r-i)}return c.e=o,c.d=f,c}function vr(n){return i(n=new this(n),n.e+1,this.rounding)}function yr(n){return n=new this(n),n.d?n.d[0]?n.s:0*n.s:n.s||NaN}function pr(n){return new this(n).sin()}function wr(n){return new this(n).sinh()}function br(n){return new this(n).sqrt()}function kr(n,t){return new this(n).sub(t)}function dr(n){return new this(n).tan()}function gr(n){return new this(n).tanh()}function nu(n){return i(n=new this(n),n.e+1,1)}var gt,ni,y,g=9e15,b=1e9,ht="0123456789abcdef",ut="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",ft="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",c={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-g,maxE:g,crypto:!1},u=!0,et="[DecimalError] ",k=et+"Invalid argument: ",ti=et+"Precision limit exceeded",ii=et+"crypto unavailable",o=Math.floor,s=Math.pow,tu=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,iu=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,ru=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,uu=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,a=1e7,r=7,fu=9007199254740991,eu=ut.length-1,ct=ft.length-1,t={},f;t.absoluteValue=t.abs=function(){var n=new this.constructor(this);return n.s<0&&(n.s=1),i(n)};t.ceil=function(){return i(new this.constructor(this),this.e+1,2)};t.comparedTo=t.cmp=function(n){var r,h,f,e,o=this,i=o.d,u=(n=new o.constructor(n)).d,t=o.s,s=n.s;if(!i||!u)return t&&s?t!==s?t:i===u?0:!i^0>t?1:-1:NaN;if(!i[0]||!u[0])return i[0]?t:u[0]?-s:0;if(t!==s)return t;if(o.e!==n.e)return o.e>n.e^0>t?1:-1;for(f=i.length,e=u.length,r=0,h=e>f?f:e;h>r;++r)if(i[r]!==u[r])return i[r]>u[r]^0>t?1:-1;return f===e?0:f>e^0>t?1:-1};t.cosine=t.cos=function(){var u,f,t=this,n=t.constructor;return t.d?t.d[0]?(u=n.precision,f=n.rounding,n.precision=u+Math.max(t.e,t.sd())+r,n.rounding=1,t=ri(n,bt(n,t)),n.precision=u,n.rounding=f,i(2==y||3==y?t.neg():t,u,f,!0)):new n(1):new n(NaN)};t.cubeRoot=t.cbrt=function(){var r,w,n,s,v,c,l,h,y,p,t=this,a=t.constructor;if(!t.isFinite()||t.isZero())return new a(t);for(u=!1,c=t.s*Math.pow(t.s*t,1/3),c&&Math.abs(c)!=1/0?s=new a(c.toString()):(n=e(t.d),r=t.e,(c=(r-n.length+1)%3)&&(n+=1==c||-2==c?"0":"00"),c=Math.pow(n,1/3),r=o((r+1)/3)-(r%3==(0>r?-1:2)),c==1/0?n="5e"+r:(n=c.toExponential(),n=n.slice(0,n.indexOf("e")+1)+r),s=new a(n),s.s=t.s),l=(r=a.precision)+3;;)if(h=s,y=h.times(h).times(h),p=y.plus(t),s=f(p.plus(t).times(h),p.plus(y),l+2,1),e(h.d).slice(0,l)===(n=e(s.d)).slice(0,l)){if(n=n.slice(l-3,l+1),"9999"!=n&&(v||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(i(s,r+1,1),w=!s.times(s).times(s).eq(t));break}if(!v&&(i(h,r+1,0),h.times(h).times(h).eq(t))){s=h;break}l+=4;v=1}return u=!0,i(s,r,a.rounding,w)};t.decimalPlaces=t.dp=function(){var n,i=this.d,t=NaN;if(i){if(n=i.length-1,t=(n-o(this.e/r))*r,n=i[n])for(;n%10==0;n/=10)t--;0>t&&(t=0)}return t};t.dividedBy=t.div=function(n){return f(this,new this.constructor(n))};t.dividedToIntegerBy=t.divToInt=function(n){var r=this,t=r.constructor;return i(f(r,new t(n),0,1,1),t.precision,t.rounding)};t.equals=t.eq=function(n){return 0===this.cmp(n)};t.floor=function(){return i(new this.constructor(this),this.e+1,3)};t.greaterThan=t.gt=function(n){return this.cmp(n)>0};t.greaterThanOrEqualTo=t.gte=function(n){var t=this.cmp(n);return 1==t||0===t};t.hyperbolicCosine=t.cosh=function(){var r,u,f,h,e,n=this,t=n.constructor,c=new t(1),o,l,s;if(!n.isFinite())return new t(n.s?1/0:NaN);if(n.isZero())return c;for(f=t.precision,h=t.rounding,t.precision=f+Math.max(n.e,n.sd())+4,t.rounding=1,e=n.d.length,32>e?(r=Math.ceil(e/3),u=Math.pow(4,-r).toString()):(r=16,u="2.3283064365386962890625e-10"),n=d(t,1,n.times(u),new t(1),!0),l=r,s=new t(8);l--;)o=n.times(n),n=c.minus(o.times(s.minus(o.times(s))));return i(n,t.precision=f,t.rounding=h,!0)};t.hyperbolicSine=t.sinh=function(){var r,u,f,e,n=this,t=n.constructor;if(!n.isFinite()||n.isZero())return new t(n);if(u=t.precision,f=t.rounding,t.precision=u+Math.max(n.e,n.sd())+4,t.rounding=1,e=n.d.length,3>e)n=d(t,2,n,n,!0);else{r=1.4*Math.sqrt(e);r=r>16?16:0|r;n=n.times(Math.pow(5,-r));n=d(t,2,n,n,!0);for(var o,s=new t(5),h=new t(16),c=new t(20);r--;)o=n.times(n),n=n.times(s.plus(o.times(h.times(o).plus(c))))}return t.precision=u,t.rounding=f,i(n,u,f,!0)};t.hyperbolicTangent=t.tanh=function(){var i,r,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(i=n.precision,r=n.rounding,n.precision=i+7,n.rounding=1,f(t.sinh(),t.cosh(),n.precision=i,n.rounding=r)):new n(t.s)};t.inverseCosine=t.acos=function(){var u,t=this,n=t.constructor,f=t.abs().cmp(1),i=n.precision,r=n.rounding;return-1!==f?0===f?t.isNeg()?l(n,i,r):new n(0):new n(NaN):t.isZero()?l(n,i+4,r).times(.5):(n.precision=i+6,n.rounding=1,t=t.asin(),u=l(n,i+4,r).times(.5),n.precision=i,n.rounding=r,u.minus(t))};t.inverseHyperbolicCosine=t.acosh=function(){var i,r,n=this,t=n.constructor;return n.lte(1)?new t(n.eq(1)?0:NaN):n.isFinite()?(i=t.precision,r=t.rounding,t.precision=i+Math.max(Math.abs(n.e),n.sd())+4,t.rounding=1,u=!1,n=n.times(n).minus(1).sqrt().plus(n),u=!0,t.precision=i,t.rounding=r,n.ln()):new t(n)};t.inverseHyperbolicSine=t.asinh=function(){var i,r,n=this,t=n.constructor;return!n.isFinite()||n.isZero()?new t(n):(i=t.precision,r=t.rounding,t.precision=i+2*Math.max(Math.abs(n.e),n.sd())+6,t.rounding=1,u=!1,n=n.times(n).plus(1).sqrt().plus(n),u=!0,t.precision=i,t.rounding=r,n.ln())};t.inverseHyperbolicTangent=t.atanh=function(){var r,u,o,e,n=this,t=n.constructor;return n.isFinite()?n.e>=0?new t(n.abs().eq(1)?n.s/0:n.isZero()?n:NaN):(r=t.precision,u=t.rounding,e=n.sd(),Math.max(e,r)<2*-n.e-1?i(new t(n),r,u,!0):(t.precision=o=e-n.e,n=f(n.plus(1),new t(1).minus(n),o+r,1),t.precision=r+4,t.rounding=1,n=n.ln(),t.precision=r,t.rounding=u,n.times(.5))):new t(NaN)};t.inverseSine=t.asin=function(){var r,u,i,f,n=this,t=n.constructor;return n.isZero()?new t(n):(u=n.abs().cmp(1),i=t.precision,f=t.rounding,-1!==u?0===u?(r=l(t,i+4,f).times(.5),r.s=n.s,r):new t(NaN):(t.precision=i+6,t.rounding=1,n=n.div(new t(1).minus(n.times(n)).sqrt().plus(1)).atan(),t.precision=i,t.rounding=f,n.times(2)))};t.inverseTangent=t.atan=function(){var e,c,h,a,o,v,t,y,p,n=this,f=n.constructor,s=f.precision,w=f.rounding;if(n.isFinite()){if(n.isZero())return new f(n);if(n.abs().eq(1)&&ct>=s+4)return t=l(f,s+4,w).times(.25),t.s=n.s,t}else{if(!n.s)return new f(NaN);if(ct>=s+4)return t=l(f,s+4,w).times(.5),t.s=n.s,t}for(f.precision=y=s+10,f.rounding=1,h=Math.min(28,y/r+2|0),e=h;e;--e)n=n.div(n.times(n).plus(1).sqrt().plus(1));for(u=!1,c=Math.ceil(y/r),a=1,p=n.times(n),t=new f(n),o=n;-1!==e;)if(o=o.times(p),v=t.minus(o.div(a+=2)),o=o.times(p),t=v.plus(o.div(a+=2)),void 0!==t.d[c])for(e=c;t.d[e]===v.d[e]&&e--;);return h&&(t=t.times(2<<h-1)),u=!0,i(t,f.precision=s,f.rounding=w,!0)};t.isFinite=function(){return!!this.d};t.isInteger=t.isInt=function(){return!!this.d&&o(this.e/r)>this.d.length-2};t.isNaN=function(){return!this.s};t.isNegative=t.isNeg=function(){return this.s<0};t.isPositive=t.isPos=function(){return this.s>0};t.isZero=function(){return!!this.d&&0===this.d[0]};t.lessThan=t.lt=function(n){return this.cmp(n)<0};t.lessThanOrEqualTo=t.lte=function(n){return this.cmp(n)<1};t.logarithm=t.log=function(n){var l,t,a,o,p,v,r,s,c=this,h=c.constructor,y=h.precision,b=h.rounding;if(null==n)n=new h(10),l=!0;else{if(n=new h(n),t=n.d,n.s<0||!t||!t[0]||n.eq(1))return new h(NaN);l=n.eq(10)}if(t=c.d,c.s<0||!t||!t[0]||c.eq(1))return new h(t&&!t[0]?-1/0:1!=c.s?NaN:t?0:1/0);if(l)if(t.length>1)p=!0;else{for(o=t[0];o%10==0;)o/=10;p=1!==o}if(u=!1,r=y+5,v=w(c,r),a=l?rt(h,r+10):w(n,r),s=f(v,a,r,1),nt(s.d,o=y,b))do if(r+=10,v=w(c,r),a=l?rt(h,r+10):w(n,r),s=f(v,a,r,1),!p){+e(s.d).slice(o+1,o+15)+1==1e14&&(s=i(s,y+1,0));break}while(nt(s.d,o+=10,b));return u=!0,i(s,y,b)};t.minus=t.sub=function(n){var l,p,f,w,c,s,k,b,t,d,y,e,h=this,v=h.constructor;if(n=new v(n),!h.d||!n.d)return h.s&&n.s?h.d?n.s=-n.s:n=new v(n.d||h.s!==n.s?h:NaN):n=new v(NaN),n;if(h.s!=n.s)return n.s=-n.s,h.plus(n);if(t=h.d,e=n.d,k=v.precision,b=v.rounding,!t[0]||!e[0]){if(e[0])n.s=-n.s;else{if(!t[0])return new v(3===b?-0:0);n=new v(h)}return u?i(n,k,b):n}if(p=o(n.e/r),d=o(h.e/r),t=t.slice(),c=d-p){for(y=0>c,y?(l=t,c=-c,s=e.length):(l=e,p=d,s=t.length),f=Math.max(Math.ceil(k/r),s)+2,c>f&&(c=f,l.length=1),l.reverse(),f=c;f--;)l.push(0);l.reverse()}else{for(f=t.length,s=e.length,y=s>f,y&&(s=f),f=0;s>f;f++)if(t[f]!=e[f]){y=t[f]<e[f];break}c=0}for(y&&(l=t,t=e,e=l,n.s=-n.s),s=t.length,f=e.length-s;f>0;--f)t[s++]=0;for(f=e.length;f>c;){if(t[--f]<e[f]){for(w=f;w&&0===t[--w];)t[w]=a-1;--t[w];t[f]+=a}t[f]-=e[f]}for(;0===t[--s];)t.pop();for(;0===t[0];t.shift())--p;return t[0]?(n.d=t,n.e=it(t,p),u?i(n,k,b):n):new v(3===b?-0:0)};t.modulo=t.mod=function(n){var e,t=this,r=t.constructor;return n=new r(n),!t.d||!n.s||n.d&&!n.d[0]?new r(NaN):!n.d||t.d&&!t.d[0]?i(new r(t),r.precision,r.rounding):(u=!1,9==r.modulo?(e=f(t,n.abs(),0,3,1),e.s*=n.s):e=f(t,n,0,r.modulo,1),e=e.times(n),u=!0,t.minus(e))};t.naturalExponential=t.exp=function(){return ot(this)};t.naturalLogarithm=t.ln=function(){return w(this)};t.negated=t.neg=function(){var n=new this.constructor(this);return n.s=-n.s,i(n)};t.plus=t.add=function(n){var y,c,p,f,l,e,w,b,t,h,s=this,v=s.constructor;if(n=new v(n),!s.d||!n.d)return s.s&&n.s?s.d||(n=new v(n.d||s.s===n.s?s:NaN)):n=new v(NaN),n;if(s.s!=n.s)return n.s=-n.s,s.minus(n);if(t=s.d,h=n.d,w=v.precision,b=v.rounding,!t[0]||!h[0])return h[0]||(n=new v(s)),u?i(n,w,b):n;if(l=o(s.e/r),p=o(n.e/r),t=t.slice(),f=l-p){for(0>f?(c=t,f=-f,e=h.length):(c=h,p=l,e=t.length),l=Math.ceil(w/r),e=l>e?l+1:e+1,f>e&&(f=e,c.length=1),c.reverse();f--;)c.push(0);c.reverse()}for(e=t.length,f=h.length,0>e-f&&(f=e,c=h,h=t,t=c),y=0;f;)y=(t[--f]=t[f]+h[f]+y)/a|0,t[f]%=a;for(y&&(t.unshift(y),++p),e=t.length;0==t[--e];)t.pop();return n.d=t,n.e=it(t,p),u?i(n,w,b):n};t.precision=t.sd=function(n){var t,i=this;if(void 0!==n&&n!==!!n&&1!==n&&0!==n)throw Error(k+n);return i.d?(t=lt(i.d),n&&i.e+1>t&&(t=i.e+1)):t=NaN,t};t.round=function(){var n=this,t=n.constructor;return i(new t(n),n.e+1,t.rounding)};t.sine=t.sin=function(){var u,f,n=this,t=n.constructor;return n.isFinite()?n.isZero()?new t(n):(u=t.precision,f=t.rounding,t.precision=u+Math.max(n.e,n.sd())+r,t.rounding=1,n=fi(t,bt(t,n)),t.precision=u,t.rounding=f,i(y>2?n.neg():n,u,f,!0)):new t(NaN)};t.squareRoot=t.sqrt=function(){var p,n,l,r,y,c,h=this,a=h.d,t=h.e,s=h.s,v=h.constructor;if(1!==s||!a||!a[0])return new v(!s||0>s&&(!a||a[0])?NaN:a?h:1/0);for(u=!1,s=Math.sqrt(+h),0==s||s==1/0?(n=e(a),(n.length+t)%2==0&&(n+="0"),s=Math.sqrt(n),t=o((t+1)/2)-(0>t||t%2),s==1/0?n="1e"+t:(n=s.toExponential(),n=n.slice(0,n.indexOf("e")+1)+t),r=new v(n)):r=new v(s.toString()),l=(t=v.precision)+3;;)if(c=r,r=c.plus(f(h,c,l+2,1)).times(.5),e(c.d).slice(0,l)===(n=e(r.d)).slice(0,l)){if(n=n.slice(l-3,l+1),"9999"!=n&&(y||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(i(r,t+1,1),p=!r.times(r).eq(h));break}if(!y&&(i(c,t+1,0),c.times(c).eq(h))){r=c;break}l+=4;y=1}return u=!0,i(r,t,v.rounding,p)};t.tangent=t.tan=function(){var r,u,n=this,t=n.constructor;return n.isFinite()?n.isZero()?new t(n):(r=t.precision,u=t.rounding,t.precision=r+10,t.rounding=1,n=n.sin(),n.s=1,n=f(n,new t(1).minus(n.times(n)).sqrt(),r+10,0),t.precision=r,t.rounding=u,i(2==y||4==y?n.neg():n,r,u,!0)):new t(NaN)};t.times=t.mul=function(n){var v,b,f,h,t,y,k,c,l,p=this,w=p.constructor,e=p.d,s=(n=new w(n)).d;if(n.s*=p.s,!(e&&e[0]&&s&&s[0]))return new w(!n.s||e&&!e[0]&&!s||s&&!s[0]&&!e?NaN:e&&s?0*n.s:n.s/0);for(b=o(p.e/r)+o(n.e/r),c=e.length,l=s.length,l>c&&(t=e,e=s,s=t,y=c,c=l,l=y),t=[],y=c+l,f=y;f--;)t.push(0);for(f=l;--f>=0;){for(v=0,h=c+f;h>f;)k=t[h]+s[f]*e[h-f-1]+v,t[h--]=k%a|0,v=k/a|0;t[h]=(t[h]+v)%a|0}for(;!t[--y];)t.pop();for(v?++b:t.shift(),f=t.length;!t[--f];)t.pop();return n.d=t,n.e=it(t,b),u?i(n,w.precision,w.rounding):n};t.toBinary=function(n,t){return st(this,2,n,t)};t.toDecimalPlaces=t.toDP=function(n,t){var r=this,u=r.constructor;return r=new u(r),void 0===n?r:(h(n,0,b),void 0===t?t=u.rounding:h(t,0,8),i(r,n+r.e+1,t))};t.toExponential=function(n,t){var u,r=this,f=r.constructor;return void 0===n?u=v(r,!0):(h(n,0,b),void 0===t?t=f.rounding:h(t,0,8),r=i(new f(r),n+1,t),u=v(r,!0,n+1)),r.isNeg()&&!r.isZero()?"-"+u:u};t.toFixed=function(n,t){var u,f,r=this,e=r.constructor;return void 0===n?u=v(r):(h(n,0,b),void 0===t?t=e.rounding:h(t,0,8),f=i(new e(r),n+r.e+1,t),u=v(f,!1,n+f.e+1)),r.isNeg()&&!r.isZero()?"-"+u:u};t.toFraction=function(n){var h,a,c,t,y,w,i,v,o,g,b,nt,p=this,d=p.d,l=p.constructor;if(!d)return new l(p);if(o=a=new l(1),c=v=new l(0),h=new l(c),y=h.e=lt(d)-p.e-1,w=y%r,h.d[0]=s(10,0>w?r+w:w),null==n)n=y>0?h:o;else{if(i=new l(n),!i.isInt()||i.lt(o))throw Error(k+i);n=i.gt(h)?y>0?h:o:i}for(u=!1,i=new l(e(d)),g=l.precision,l.precision=y=d.length*r*2;b=f(i,h,0,1,1),t=a.plus(b.times(c)),1!=t.cmp(n);)a=c,c=t,t=o,o=v.plus(b.times(t)),v=t,t=h,h=i.minus(b.times(t)),i=t;return t=f(n.minus(a),c,0,1,1),v=v.plus(t.times(o)),a=a.plus(t.times(c)),v.s=o.s=p.s,nt=f(o,c,y,1).minus(p).abs().cmp(f(v,a,y,1).minus(p).abs())<1?[o,c]:[v,a],l.precision=g,u=!0,nt};t.toHexadecimal=t.toHex=function(n,t){return st(this,16,n,t)};t.toNearest=function(n,t){var r=this,e=r.constructor;if(r=new e(r),null==n){if(!r.d)return r;n=new e(1);t=e.rounding}else{if(n=new e(n),void 0!==t&&h(t,0,8),!r.d)return n.s?r:n;if(!n.d)return n.s&&(n.s=r.s),n}return n.d[0]?(u=!1,4>t&&(t=[4,5,7,8][t]),r=f(r,n,0,t,1).times(n),u=!0,i(r)):(n.s=r.s,r=n),r};t.toNumber=function(){return+this};t.toOctal=function(n,t){return st(this,8,n,t)};t.toPower=t.pow=function(n){var l,a,h,c,v,y,b,t=this,f=t.constructor,p=+(n=new f(n));if(!(t.d&&n.d&&t.d[0]&&n.d[0]))return new f(s(+t,p));if(t=new f(t),t.eq(1))return t;if(h=f.precision,v=f.rounding,n.eq(1))return i(t,h,v);if(l=o(n.e/r),a=n.d.length-1,b=l>=a,y=t.s,b){if((a=0>p?-p:p)<=fu)return c=at(f,t,a,h),n.s<0?new f(1).div(c):i(c,h,v)}else if(0>y)return new f(NaN);return y=0>y&&1&n.d[Math.max(l,a)]?-1:1,a=s(+t,p),l=0!=a&&isFinite(a)?new f(a+"").e:o(p*(Math.log("0."+e(t.d))/Math.LN10+t.e+1)),l>f.maxE+1||l<f.minE-1?new f(l>0?y/0:0):(u=!1,f.rounding=t.s=1,a=Math.min(12,(l+"").length),c=ot(n.times(w(t,h+a)),h),c=i(c,h+5,1),nt(c.d,h,v)&&(l=h+10,c=i(ot(n.times(w(t,l+a)),l),l+5,1),+e(c.d).slice(h+1,h+15)+1==1e14&&(c=i(c,h+1,0))),c.s=y,u=!0,f.rounding=v,i(c,h,v))};t.toPrecision=function(n,t){var f,r=this,u=r.constructor;return void 0===n?f=v(r,r.e<=u.toExpNeg||r.e>=u.toExpPos):(h(n,1,b),void 0===t?t=u.rounding:h(t,0,8),r=i(new u(r),n,t),f=v(r,n<=r.e||r.e<=u.toExpNeg,n)),r.isNeg()&&!r.isZero()?"-"+f:f};t.toSignificantDigits=t.toSD=function(n,t){var u=this,r=u.constructor;return void 0===n?(n=r.precision,t=r.rounding):(h(n,1,b),void 0===t?t=r.rounding:h(t,0,8)),i(new r(u),n,t)};t.toString=function(){var n=this,t=n.constructor,i=v(n,n.e<=t.toExpNeg||n.e>=t.toExpPos);return n.isNeg()&&!n.isZero()?"-"+i:i};t.truncated=t.trunc=function(){return i(new this.constructor(this),this.e+1,1)};t.valueOf=t.toJSON=function(){var n=this,t=n.constructor,i=v(n,n.e<=t.toExpNeg||n.e>=t.toExpPos);return n.isNeg()?"-"+i:i};f=function(){function n(n,t,i){var u,r=0,f=n.length;for(n=n.slice();f--;)u=n[f]*t+r,n[f]=u%i|0,r=u/i|0;return r&&n.unshift(r),n}function t(n,t,i,r){var u,f;if(i!=r)f=i>r?1:-1;else for(u=f=0;i>u;u++)if(n[u]!=t[u]){f=n[u]>t[u]?1:-1;break}return f}function u(n,t,i,r){for(var u=0;i--;)n[i]-=u,u=n[i]<t[i]?1:0,n[i]=u*r+n[i]-t[i];for(;!n[0]&&n.length>1;)n.shift()}return function(f,e,s,h,c,l){var g,et,w,y,it,ot,nt,ft,rt,ut,p,b,ht,tt,vt,ct,st,yt,d,lt,at=f.constructor,pt=f.s==e.s?1:-1,k=f.d,v=e.d;if(!(k&&k[0]&&v&&v[0]))return new at(f.s&&e.s&&(k?!v||k[0]!=v[0]:v)?k&&0==k[0]||!v?0*pt:pt/0:NaN);for(l?(it=1,et=f.e-e.e):(l=a,it=r,et=o(f.e/it)-o(e.e/it)),d=v.length,st=k.length,rt=new at(pt),ut=rt.d=[],w=0;v[w]==(k[w]||0);w++);if(v[w]>(k[w]||0)&&et--,null==s?(tt=s=at.precision,h=at.rounding):tt=c?s+(f.e-e.e)+1:s,0>tt)ut.push(1),ot=!0;else{if(tt=tt/it+2|0,w=0,1==d){for(y=0,v=v[0],tt++;(st>w||y)&&tt--;w++)vt=y*l+(k[w]||0),ut[w]=vt/v|0,y=vt%v|0;ot=y||st>w}else{for(y=l/(v[0]+1)|0,y>1&&(v=n(v,y,l),k=n(k,y,l),d=v.length,st=k.length),ct=d,p=k.slice(0,d),b=p.length;d>b;)p[b++]=0;lt=v.slice();lt.unshift(0);yt=v[0];v[1]>=l/2&&++yt;do y=0,g=t(v,p,d,b),0>g?(ht=p[0],d!=b&&(ht=ht*l+(p[1]||0)),y=ht/yt|0,y>1?(y>=l&&(y=l-1),nt=n(v,y,l),ft=nt.length,b=p.length,g=t(nt,p,ft,b),1==g&&(y--,u(nt,ft>d?lt:v,ft,l))):(0==y&&(g=y=1),nt=v.slice()),ft=nt.length,b>ft&&nt.unshift(0),u(p,nt,b,l),-1==g&&(b=p.length,g=t(v,p,d,b),1>g&&(y++,u(p,b>d?lt:v,b,l))),b=p.length):0===g&&(y++,p=[0]),ut[w++]=y,g&&p[0]?p[b++]=k[ct]||0:(p=[k[ct]],b=1);while((ct++<st||void 0!==p[0])&&tt--);ot=void 0!==p[0]}ut[0]||ut.shift()}if(1==it)rt.e=et,gt=ot;else{for(w=1,y=ut[0];y>=10;y/=10)w++;rt.e=w+et*it-1;i(rt,c?s+rt.e+1:s,h,ot)}return rt}}();c=dt(c);ut=new c(ut);ft=new c(ft);Bridge.$Decimal=c;"function"==typeof define&&define.amd?define(function(){return c}):"undefined"!=typeof module&&module.exports?module.exports=c["default"]=c.Decimal=c:(n||(n="undefined"!=typeof self&&self&&self.self==self?self:Function("return this")()),ni=n.Decimal,c.noConflict=function(){return n.Decimal=ni,c})}(Bridge.global);System.Decimal=function(n,t,i){var r;if(this.constructor!==System.Decimal)return new System.Decimal(n,t,i);if(n==null&&(n=0),typeof n=="string"){if(t=t||System.Globalization.CultureInfo.getCurrentCulture(),r=t&&t.getFormat(System.Globalization.NumberFormatInfo),r&&r.numberDecimalSeparator!=="."&&(n=n.replace(r.numberDecimalSeparator,".")),!/^\s*[+-]?(\d+|\d+.|\d*\.\d+)((e|E)[+-]?\d+)?\s*$/.test(n))throw new System.FormatException;n=n.replace(/\s/g,"")}if(i&&i.precision&&typeof n=="number"){var f=Bridge.Int.trunc(n),e=(f+"").length,u=i.precision-e;u<0&&(u=0);n=n.toFixed(u)}this.value=System.Decimal.getValue(n)};System.Decimal.$number=!0;System.Decimal.$$name="System.Decimal";System.Decimal.prototype.$$name="System.Decimal";System.Decimal.$kind="struct";System.Decimal.prototype.$kind="struct";System.Decimal.$$inherits=[];Bridge.Class.addExtend(System.Decimal,[System.IComparable,System.IFormattable,System.IComparable$1(System.Decimal),System.IEquatable$1(System.Decimal)]);System.Decimal.$is=function(n){return n instanceof System.Decimal};System.Decimal.getDefaultValue=function(){return new System.Decimal(0)};System.Decimal.getValue=function(n){return Bridge.hasValue(n)?n instanceof System.Decimal?n.value:n instanceof System.Int64||n instanceof System.UInt64?new Bridge.$Decimal(n.toString()):new Bridge.$Decimal(n):this.getDefaultValue()};System.Decimal.create=function(n){return Bridge.hasValue(n)?n instanceof System.Decimal?n:new System.Decimal(n):null};System.Decimal.lift=function(n){return n==null?null:System.Decimal.create(n)};System.Decimal.prototype.toString=function(n,t){return Bridge.Int.format(this,n||"G",t)};System.Decimal.prototype.toFloat=function(){return this.value.toNumber()};System.Decimal.prototype.toJSON=function(){return this.value.toNumber()};System.Decimal.prototype.format=function(n,t){return Bridge.Int.format(this,n,t)};System.Decimal.prototype.decimalPlaces=function(){return this.value.decimalPlaces()};System.Decimal.prototype.dividedToIntegerBy=function(n){return new System.Decimal(this.value.dividedToIntegerBy(System.Decimal.getValue(n)))};System.Decimal.prototype.exponential=function(){return new System.Decimal(this.value.exponential())};System.Decimal.prototype.abs=function(){return new System.Decimal(this.value.abs())};System.Decimal.prototype.floor=function(){return new System.Decimal(this.value.floor())};System.Decimal.prototype.ceil=function(){return new System.Decimal(this.value.ceil())};System.Decimal.prototype.trunc=function(){return new System.Decimal(this.value.trunc())};System.Decimal.round=function(n,t){var i,r;return n=System.Decimal.create(n),i=Bridge.$Decimal.rounding,Bridge.$Decimal.rounding=t,r=new System.Decimal(n.value.round()),Bridge.$Decimal.rounding=i,r};System.Decimal.toDecimalPlaces=function(n,t,i){n=System.Decimal.create(n);return new System.Decimal(n.value.toDecimalPlaces(t,i))};System.Decimal.prototype.compareTo=function(n){return this.value.comparedTo(System.Decimal.getValue(n))};System.Decimal.prototype.add=function(n){return new System.Decimal(this.value.plus(System.Decimal.getValue(n)))};System.Decimal.prototype.sub=function(n){return new System.Decimal(this.value.minus(System.Decimal.getValue(n)))};System.Decimal.prototype.isZero=function(){return this.value.isZero};System.Decimal.prototype.mul=function(n){return new System.Decimal(this.value.times(System.Decimal.getValue(n)))};System.Decimal.prototype.div=function(n){return new System.Decimal(this.value.dividedBy(System.Decimal.getValue(n)))};System.Decimal.prototype.mod=function(n){return new System.Decimal(this.value.modulo(System.Decimal.getValue(n)))};System.Decimal.prototype.neg=function(){return new System.Decimal(this.value.negated())};System.Decimal.prototype.inc=function(){return new System.Decimal(this.value.plus(System.Decimal.getValue(1)))};System.Decimal.prototype.dec=function(){return new System.Decimal(this.value.minus(System.Decimal.getValue(1)))};System.Decimal.prototype.sign=function(){return this.value.isZero()?0:this.value.isNegative()?-1:1};System.Decimal.prototype.clone=function(){return new System.Decimal(this)};System.Decimal.prototype.ne=function(n){return!!this.compareTo(n)};System.Decimal.prototype.lt=function(n){return this.compareTo(n)<0};System.Decimal.prototype.lte=function(n){return this.compareTo(n)<=0};System.Decimal.prototype.gt=function(n){return this.compareTo(n)>0};System.Decimal.prototype.gte=function(n){return this.compareTo(n)>=0};System.Decimal.prototype.equals=function(n){return n instanceof System.Decimal||typeof n=="number"?!this.compareTo(n):!1};System.Decimal.prototype.equalsT=function(n){return!this.compareTo(n)};System.Decimal.prototype.getHashCode=function(){for(var n=this.sign()*397+this.value.e|0,t=0;t<this.value.d.length;t++)n=n*397+this.value.d[t]|0;return n};System.Decimal.toInt=function(n,t){var i,r,u;if(!n)return null;if(t){if(t===System.Int64){if(i=n.value.trunc().toString(),r=new System.Int64(i),i!==r.value.toString())throw new System.OverflowException;return r}if(t===System.UInt64){if(n.value.isNegative())throw new System.OverflowException;if(i=n.value.trunc().toString(),r=new System.UInt64(i),i!==r.value.toString())throw new System.OverflowException;return r}return Bridge.Int.check(Bridge.Int.trunc(n.value.toNumber()),t)}if(u=Bridge.Int.trunc(System.Decimal.getValue(n).toNumber()),!Bridge.Int.$is(u))throw new System.OverflowException;return u};System.Decimal.tryParse=function(n,t,i){try{return i.v=new System.Decimal(n,t),!0}catch(r){return i.v=new System.Decimal(0),!1}};System.Decimal.toFloat=function(n){return n?System.Decimal.getValue(n).toNumber():null};System.Decimal.setConfig=function(n){Bridge.$Decimal.config(n)};System.Decimal.min=function(){for(var t=[],n=0,i=arguments.length;n<i;n++)t.push(System.Decimal.getValue(arguments[n]));return new System.Decimal(Bridge.$Decimal.min.apply(Bridge.$Decimal,t))};System.Decimal.max=function(){for(var t=[],n=0,i=arguments.length;n<i;n++)t.push(System.Decimal.getValue(arguments[n]));return new System.Decimal(Bridge.$Decimal.max.apply(Bridge.$Decimal,t))};System.Decimal.random=function(n){return new System.Decimal(Bridge.$Decimal.random(n))};System.Decimal.exp=function(n){return new System.Decimal(System.Decimal.getValue(n).exp())};System.Decimal.exp=function(n){return new System.Decimal(System.Decimal.getValue(n).exp())};System.Decimal.ln=function(n){return new System.Decimal(System.Decimal.getValue(n).ln())};System.Decimal.log=function(n,t){return new System.Decimal(System.Decimal.getValue(n).log(t))};System.Decimal.pow=function(n,t){return new System.Decimal(System.Decimal.getValue(n).pow(t))};System.Decimal.sqrt=function(n){return new System.Decimal(System.Decimal.getValue(n).sqrt())};System.Decimal.prototype.isFinite=function(){return this.value.isFinite()};System.Decimal.prototype.isInteger=function(){return this.value.isInteger()};System.Decimal.prototype.isNaN=function(){return this.value.isNaN()};System.Decimal.prototype.isNegative=function(){return this.value.isNegative()};System.Decimal.prototype.isZero=function(){return this.value.isZero()};System.Decimal.prototype.log=function(n){return new System.Decimal(this.value.log(n))};System.Decimal.prototype.ln=function(){return new System.Decimal(this.value.ln())};System.Decimal.prototype.precision=function(){return this.value.precision()};System.Decimal.prototype.round=function(){var t=Bridge.$Decimal.rounding,n;return Bridge.$Decimal.rounding=6,n=new System.Decimal(this.value.round()),Bridge.$Decimal.rounding=t,n};System.Decimal.prototype.sqrt=function(){return new System.Decimal(this.value.sqrt())};System.Decimal.prototype.toDecimalPlaces=function(n,t){return new System.Decimal(this.value.toDecimalPlaces(n,t))};System.Decimal.prototype.toExponential=function(n,t){return this.value.toExponential(n,t)};System.Decimal.prototype.toFixed=function(n,t){return this.value.toFixed(n,t)};System.Decimal.prototype.pow=function(n){return new System.Decimal(this.value.pow(n))};System.Decimal.prototype.toPrecision=function(n,t){return this.value.toPrecision(n,t)};System.Decimal.prototype.toSignificantDigits=function(n,t){return new System.Decimal(this.value.toSignificantDigits(n,t))};System.Decimal.prototype.valueOf=function(){return this.value.valueOf()};System.Decimal.prototype._toFormat=function(n,t,i){var o=this.value;if(!o.isFinite())return o.toString();var u,l=o.isNeg(),a=i.groupSeparator,f=+i.groupSize,e=+i.secondaryGroupSize,v=o.toFixed(n,t).split("."),r=v[0],c=v[1],s=l?r.slice(1):r,h=s.length;if(e&&(h-=(u=f,f=e,e=u)),f>0&&h>0){for(u=h%f||f,r=s.substr(0,u);u<h;u+=f)r+=a+s.substr(u,f);e>0&&(r+=a+s.slice(u));l&&(r="-"+r)}return c?r+i.decimalSeparator+((e=+i.fractionGroupSize)?c.replace(new RegExp("\\d{"+e+"}\\B","g"),"$&"+i.fractionGroupSeparator):c):r};System.Decimal.prototype.toFormat=function(n,t,i){var r={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:" ",fractionGroupSize:0},f,u;return i&&!i.getFormat?(r=Bridge.merge(r,i),f=this._toFormat(n,t,r)):(i=i||System.Globalization.CultureInfo.getCurrentCulture(),u=i&&i.getFormat(System.Globalization.NumberFormatInfo),u&&(r.decimalSeparator=u.numberDecimalSeparator,r.groupSeparator=u.numberGroupSeparator,r.groupSize=u.numberGroupSizes[0]),f=this._toFormat(n,t,r)),f};System.Decimal.prototype.getBytes=function(){var r=this.value.s,u=this.value.e,i=this.value.d,t=System.Array.init(23,0,System.Byte),n;if(t[0]=r&255,t[1]=u,i&&i.length>0)for(t[2]=i.length*4,n=0;n<i.length;n++)t[n*4+3]=i[n]&255,t[n*4+4]=i[n]>>8&255,t[n*4+5]=i[n]>>16&255,t[n*4+6]=i[n]>>24&255;else t[2]=0;return t};System.Decimal.fromBytes=function(n){var i=new System.Decimal(0),f=Bridge.Int.sxb(n[0]&255),e=n[1],r=n[2],u=[],t;if(i.value.s=f,i.value.e=e,r>0)for(t=3;t<r+3;)u.push(n[t]|n[t+1]<<8|n[t+2]<<16|n[t+3]<<24),t=t+4;return i.value.d=u,i};Bridge.$Decimal.config({precision:29});System.Decimal.Zero=System.Decimal(0);System.Decimal.One=System.Decimal(1);System.Decimal.MinusOne=System.Decimal(-1);System.Decimal.MinValue=System.Decimal("-79228162514264337593543950335");System.Decimal.MaxValue=System.Decimal("79228162514264337593543950335");System.Decimal.precision=29;Bridge.define("System.DayOfWeek",{$kind:"enum",statics:{fields:{Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6}}});Bridge.define("System.DateTimeKind",{$kind:"enum",statics:{fields:{Unspecified:0,Utc:1,Local:2}}});Bridge.define("System.DateTime",{inherits:function(){return[System.IComparable,System.IComparable$1(System.DateTime),System.IEquatable$1(System.DateTime),System.IFormattable]},$kind:"struct",fields:{kind:0},methods:{$clone:function(){return this}},statics:{minOffset:System.Int64("621355968000000000"),maxTicks:System.Int64("3155378975999999999"),$is:function(n){return Bridge.isDate(n)},$default:null,getDefaultValue:function(){return System.DateTime.$default===null&&(System.DateTime.$default=System.DateTime.create(1,1,1,0,0,0,0,0)),System.DateTime.$default},$min:null,getMinValue:function(){return System.DateTime.$min===null&&(System.DateTime.$min=System.DateTime.create$2(0,0)),System.DateTime.$min},$max:null,getMaxValue:function(){return System.DateTime.$max===null&&(System.DateTime.$max=System.DateTime.create$2(System.DateTime.maxTicks,0),System.DateTime.$max.ticks=System.DateTime.maxTicks),System.DateTime.$max},$getTzOffset:function(n){return n.getTimezoneOffset()*6e4},getTicks:function(n){return n.kind=n.kind!==undefined?n.kind:0,n.ticks===undefined&&(n.ticks=n.kind===1?System.Int64(n.getTime()).mul(1e4).add(System.DateTime.minOffset):System.Int64(n.getTime()-System.DateTime.$getTzOffset(n)).mul(1e4).add(System.DateTime.minOffset)),n.ticks},toLocalTime:function(n){var i,t=System.DateTime.getTicks(n);return n.kind!==2&&(t=n.ticks.sub(System.Int64(System.DateTime.$getTzOffset(n)).mul(1e4))),i=System.DateTime.create$2(t,2),(t.gt(System.DateTime.maxTicks)||t.lt(0))&&(t=t.add(System.Int64(System.DateTime.$getTzOffset(i)).mul(1e4)),i=System.DateTime.create$2(t,2)),i},toUniversalTime:function(n){var t=System.DateTime.getTicks(n),i;return n.kind!==1&&(t=t.add(System.Int64(System.DateTime.$getTzOffset(n)).mul(1e4))),i=System.DateTime.create$2(t,1),(t.gt(System.DateTime.maxTicks)||t.lt(0))&&(t=t.sub(System.Int64(System.DateTime.$getTzOffset(i)).mul(1e4)),i=System.DateTime.create$2(t,1)),i},create:function(n,t,i,r,u,f,e,o){n=n!==undefined?n:(new Date).getFullYear();t=t!==undefined?t:(new Date).getMonth()+1;i=i!==undefined?i:1;r=r!==undefined?r:0;u=u!==undefined?u:0;f=f!==undefined?f:0;e=e!==undefined?e:0;o=o!==undefined?o:0;var s,h;return s=new Date(n,t-1,i,r,u,f,e),s.setFullYear(n),h=System.DateTime.getTicks(s),o===1&&(s=new Date(s.getTime()-System.DateTime.$getTzOffset(s))),s.kind=o,s.ticks=h,s},create$1:function(n,t){t=t!==undefined?t:0;var i;return i=t===1?System.DateTime.create(n.getUTCFullYear(),n.getUTCMonth()+1,n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds(),t):System.DateTime.create(n.getFullYear(),n.getMonth()+1,n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds(),t),i.ticks=System.DateTime.getTicks(i),i},create$2:function(n,t){n=System.Int64.is64Bit(n)?n:System.Int64(n);t=t!==undefined?t:0;var i=new Date(n.sub(System.DateTime.minOffset).div(1e4).toNumber());return t!==1&&(i=System.DateTime.addMilliseconds(i,System.DateTime.$getTzOffset(i))),i.ticks=n,i.kind=t,i},getToday:function(){var n=new Date;return System.DateTime.create(n.getFullYear(),n.getMonth()+1,n.getDate(),0,0,0,0,2)},getNow:function(){return System.DateTime.create$1(new Date,2)},getUtcNow:function(){var n=new Date;return System.DateTime.create$1(new Date(n.getTime()+System.DateTime.$getTzOffset(n)),1)},getTimeOfDay:function(n){var t=System.DateTime.getDate(n);return new System.TimeSpan((n-t)*1e4)},getKind:function(n){return n.kind=n.kind!==undefined?n.kind:0,n.kind},specifyKind:function(n,t){return System.DateTime.create$2(System.DateTime.getTicks(n),t)},isUseGenitiveForm:function(n,t,i,r){for(var f=0,u=t-1;u>=0&&n[u]!==r;u--);if(u>=0){while(--u>=0&&n[u]===r)f++;if(f<=1)return!0}for(u=t+i;u<n.length&&n[u]!==r;u++);if(u<n.length){for(f=0;++u<n.length&&n[u]===r;)f++;if(f<=1)return!0}return!1},format:function(n,t,i){var v=this,e=n.kind||0,u=e===1,r=(i||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.DateTimeFormatInfo),o=u?n.getUTCFullYear():n.getFullYear(),f=u?n.getUTCMonth():n.getMonth(),s=u?n.getUTCDate():n.getDate(),y=u?n.getUTCDay():n.getDay(),h=u?n.getUTCHours():n.getHours(),p=u?n.getUTCMinutes():n.getMinutes(),w=u?n.getUTCSeconds():n.getSeconds(),b=u?n.getUTCMilliseconds():n.getMilliseconds(),c=n.getTimezoneOffset(),l,a;return t=t||"G",t.length===1?(l=r.getAllDateTimePatterns(t,!0),t=l?l[0]:t):t.length===2&&t.charAt(0)==="%"&&(t=t.charAt(1)),a=!1,t=t.replace(/(\\.|'[^']*'|"[^"]*"|d{1,4}|M{1,4}|yyyy|yy|y|HH?|hh?|mm?|ss?|tt?|u|f{1,7}|F{1,7}|K|z{1,3}|\:|\/)/g,function(n,i,u){var l=n,g,k,d;switch(n){case"dddd":l=r.dayNames[y];break;case"ddd":l=r.abbreviatedDayNames[y];break;case"dd":l=s<10?"0"+s:s;break;case"d":l=s;break;case"MMMM":l=v.isUseGenitiveForm(t,u,4,"d")?r.monthGenitiveNames[f]:r.monthNames[f];break;case"MMM":l=v.isUseGenitiveForm(t,u,3,"d")?r.abbreviatedMonthGenitiveNames[f]:r.abbreviatedMonthNames[f];break;case"MM":l=f+1<10?"0"+(f+1):f+1;break;case"M":l=f+1;break;case"yyyy":l=("0000"+o).substring(o.toString().length);break;case"yy":l=(o%100).toString();l.length===1&&(l="0"+l);break;case"y":l=o%100;break;case"h":case"hh":l=h%12;l?n==="hh"&&l.length===1&&(l="0"+l):l="12";break;case"HH":l=h.toString();l.length===1&&(l="0"+l);break;case"H":l=h;break;case"mm":l=p.toString();l.length===1&&(l="0"+l);break;case"m":l=p;break;case"ss":l=w.toString();l.length===1&&(l="0"+l);break;case"s":l=w;break;case"t":case"tt":l=h<12?r.amDesignator:r.pmDesignator;n==="t"&&(l=l.charAt(0));break;case"F":case"FF":case"FFF":case"FFFF":case"FFFFF":case"FFFFFF":case"FFFFFFF":for(l=b.toString(),l.length<3&&(l=Array(4-l.length).join("0")+l),l=l.substr(0,n.length),g="0",k=l.length-1;k>=0&&l.charAt(k)===g;k--);l=l.substring(0,k+1);a=l.length==0;break;case"f":case"ff":case"fff":case"ffff":case"fffff":case"ffffff":case"fffffff":l=b.toString();l.length<3&&(l=Array(4-l.length).join("0")+l);d=n==="u"?7:n.length;l.length<d&&(l=l+Array(8-l.length).join("0"));l=l.substr(0,d);break;case"z":l=c/60;l=(l>=0?"-":"+")+Math.floor(Math.abs(l));break;case"K":case"zz":case"zzz":e===0?l="":e===1?l="Z":(l=c/60,l=(l>0?"-":"+")+System.String.alignString(Math.floor(Math.abs(l)).toString(),2,"0",2),(n==="zzz"||n==="K")&&(l+=r.timeSeparator+System.String.alignString(Math.floor(Math.abs(c%60)).toString(),2,"0",2)));break;case":":l=r.timeSeparator;break;case"/":l=r.dateSeparator;break;default:l=n.substr(1,n.length-1-(n.charAt(0)!=="\\"))}return l}),a&&(System.String.endsWith(t,".")?t=t.substring(0,t.length-1):System.String.endsWith(t,".Z")?t=t.substring(0,t.length-2)+"Z":e===2&&t.match(/\.([+-])/g)!==null&&(t=t.replace(/\.([+-])/g,"$1"))),t},parse:function(n,t,i,r){var u=this.parseExact(n,null,t,i,!0);if(u!==null)return u;if(u=Date.parse(n),isNaN(u)){if(!r)throw new System.FormatException("String does not contain a valid string representation of a date and time.");}else return new Date(u)},parseExact:function(n,t,i,r,u){var ht,at,bt,l;if(t||(t=["G","g","F","f","D","d","R","r","s","S","U","u","O","o","Y","y","M","m","T","t"]),Bridge.isArray(t)){for(ht=0,ht;ht<t.length;ht++)if(l=System.DateTime.parseExact(n,t[ht],i,r,!0),l!=null)return l;if(u)return null;throw new System.FormatException("String does not contain a valid string representation of a date and time.");}else t=t.replace("'Z'","Z");var vt=new Date,y=(i||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.DateTimeFormatInfo),ct=y.amDesignator,lt=y.pmDesignator,e=0,b=0,k=0,tt,f,a=vt.getFullYear(),v=vt.getMonth()+1,d=vt.getDate(),c=0,rt=0,ut=0,h=0,it="",w=0,yt=0,ft,et,ot,st,s,o=!1,p=!1,pt,wt,g=0,kt=!1,nt=0;if(n==null)throw new System.ArgumentNullException("str");for(t=t||"G",t.length===1?(wt=y.getAllDateTimePatterns(t,!0),t=wt?wt[0]:t):t.length===2&&t.charAt(0)==="%"&&(t=t.charAt(1));b<t.length;){if(tt=t.charAt(b),f="",p==="\\")f+=tt,b++;else for(at=t.charAt(b+1),tt==="."&&n.charAt(e)!==tt&&(at==="F"||at==="f")&&(b++,tt=at);t.charAt(b)===tt&&b<t.length;)f+=tt,b++;if(pt=!0,!p)if(f==="yyyy"||f==="yy"||f==="y"){if(f==="yyyy"?a=this.subparseInt(n,e,4,4):f==="yy"?a=this.subparseInt(n,e,2,2):f==="y"&&(a=this.subparseInt(n,e,2,4)),a==null){o=!0;break}e+=a.length;a.length===2&&(a=~~a,a=(a>30?1900:2e3)+a)}else if(f==="MMM"||f==="MMMM"){for(v=0,st=f==="MMM"?this.isUseGenitiveForm(t,b,3,"d")?y.abbreviatedMonthGenitiveNames:y.abbreviatedMonthNames:this.isUseGenitiveForm(t,b,4,"d")?y.monthGenitiveNames:y.monthNames,k=0;k<st.length;k++)if(s=st[k],n.substring(e,e+s.length).toLowerCase()===s.toLowerCase()){v=k%12+1;e+=s.length;break}if(v<1||v>12){o=!0;break}}else if(f==="MM"||f==="M"){if(v=this.subparseInt(n,e,f.length,2),v==null||v<1||v>12){o=!0;break}e+=v.length}else if(f==="dddd"||f==="ddd"){for(st=f==="ddd"?y.abbreviatedDayNames:y.dayNames,k=0;k<st.length;k++)if(s=st[k],n.substring(e,e+s.length).toLowerCase()===s.toLowerCase()){e+=s.length;break}}else if(f==="dd"||f==="d"){if(d=this.subparseInt(n,e,f.length,2),d==null||d<1||d>31){o=!0;break}e+=d.length}else if(f==="hh"||f==="h"){if(c=this.subparseInt(n,e,f.length,2),c==null||c<1||c>12){o=!0;break}e+=c.length}else if(f==="HH"||f==="H"){if(c=this.subparseInt(n,e,f.length,2),c==null||c<0||c>23){o=!0;break}e+=c.length}else if(f==="mm"||f==="m"){if(rt=this.subparseInt(n,e,f.length,2),rt==null||rt<0||rt>59)return null;e+=rt.length}else if(f==="ss"||f==="s"){if(ut=this.subparseInt(n,e,f.length,2),ut==null||ut<0||ut>59){o=!0;break}e+=ut.length}else if(f==="u"){if(h=this.subparseInt(n,e,1,7),h==null){o=!0;break}e+=h.length;h.length>3&&(h=h.substring(0,3))}else if(f.match(/f{1,7}/)!==null){if(h=this.subparseInt(n,e,f.length,7),h==null){o=!0;break}e+=h.length;h.length>3&&(h=h.substring(0,3))}else if(f.match(/F{1,7}/)!==null)h=this.subparseInt(n,e,0,7),h!==null&&(e+=h.length,h.length>3&&(h=h.substring(0,3)));else if(f==="t"){if(n.substring(e,e+1).toLowerCase()===ct.charAt(0).toLowerCase())it=ct;else if(n.substring(e,e+1).toLowerCase()===lt.charAt(0).toLowerCase())it=lt;else{o=!0;break}e+=1}else if(f==="tt"){if(n.substring(e,e+2).toLowerCase()===ct.toLowerCase())it=ct;else if(n.substring(e,e+2).toLowerCase()===lt.toLowerCase())it=lt;else{o=!0;break}e+=2}else if(f==="z"||f==="zz"){if(et=n.charAt(e),et==="-")ot=!0;else if(et==="+")ot=!1;else{o=!0;break}if(e++,w=this.subparseInt(n,e,1,2),w==null||w>14){o=!0;break}e+=w.length;nt=w*36e5;ot&&(nt=-nt)}else if(f==="Z"){bt=n.substring(e,e+1);bt==="Z"||bt==="z"?(g=1,e+=1):o=!0;break}else if(f==="zzz"||f==="K"){if(n.substring(e,e+1)==="Z"){g=2;kt=!0;e+=1;break}if(s=n.substring(e,e+6),s===""){g=0;break}if(e+=s.length,s.length!==6&&s.length!==5){o=!0;break}if(et=s.charAt(0),et==="-")ot=!0;else if(et==="+")ot=!1;else{o=!0;break}if(ft=1,w=this.subparseInt(s,ft,1,s.length===6?2:1),w==null||w>14){o=!0;break}if(ft+=w.length,s.charAt(ft)!==y.timeSeparator){o=!0;break}if(ft++,yt=this.subparseInt(s,ft,1,2),yt==null||w>59){o=!0;break}nt=w*36e5+yt*6e4;ot&&(nt=-nt);g=2}else pt=!1;if(p||!pt){if(s=n.substring(e,e+f.length),(p||s!==":"||f!==y.timeSeparator&&f!==":")&&(!p&&(f===":"&&s!==y.timeSeparator||f==="/"&&s!==y.dateSeparator)||s!==f&&f!=="'"&&f!=='"'&&f!=="\\")){o=!0;break}if(p==="\\"&&(p=!1),f!=="'"&&f!=='"'&&f!=="\\")e+=f.length;else if(p===!1)p=f;else{if(p!==f){o=!0;break}p=!1}}}if(p&&(o=!0),o||(e!==n.length?o=!0:v===2?a%4==0&&a%100!=0||a%400==0?d>29&&(o=!0):d>28&&(o=!0):(v===4||v===6||v===9||v===11)&&d>30&&(o=!0)),o){if(u)return null;throw new System.FormatException("String does not contain a valid string representation of a date and time.");}return it&&(c<12&&it===lt?c=+c+12:c>11&&it===ct&&(c-=12)),l=System.DateTime.create(a,v,d,c,rt,ut,h,g),g===2&&(kt===!0?(l=new Date(l.getTime()-System.DateTime.$getTzOffset(l)),l.kind=g):nt!==0&&(l=new Date(l.getTime()-System.DateTime.$getTzOffset(l)),l=System.DateTime.addMilliseconds(l,-nt),l.kind=g)),l},subparseInt:function(n,t,i,r){for(var f,u=r;u>=i;u--){if(f=n.substring(t,t+u),f.length<i)return null;if(/^\d+$/.test(f))return f}return null},tryParse:function(n,t,i,r){return(i.v=this.parse(n,t,r,!0),i.v==null)?(i.v=System.DateTime.getMinValue(),!1):!0},tryParseExact:function(n,t,i,r,u){return(r.v=this.parseExact(n,t,i,u,!0),r.v==null)?(r.v=System.DateTime.getMinValue(),!1):!0},isDaylightSavingTime:function(n){var t=System.DateTime.getToday();return t.setMonth(0),t.setDate(1),t.getTimezoneOffset()!==n.getTimezoneOffset()},dateAddSubTimespan:function(n,t,i){var r=new Date(n.getTime());return r.setDate(r.getDate()+i*t.getDays()),r.setHours(r.getHours()+i*t.getHours()),r.setMinutes(r.getMinutes()+i*t.getMinutes()),r.setSeconds(r.getSeconds()+i*t.getSeconds()),r.setMilliseconds(r.getMilliseconds()+i*t.getMilliseconds()),r},subdt:function(n,t){return Bridge.hasValue$1(n,t)?this.dateAddSubTimespan(n,t,-1):null},adddt:function(n,t){return Bridge.hasValue$1(n,t)?this.dateAddSubTimespan(n,t,1):null},subdd:function(n,t){return Bridge.hasValue$1(n,t)?new System.TimeSpan((n-t)*1e4):null},addYears:function(n,t){return System.DateTime.addMonths(n,t*12)},addMonths:function(n,t){n.kind=n.kind!==undefined?n.kind:0;var i=new Date(n.getTime()),r=i.getDate();return i.setMonth(i.getMonth()+t),i.getDate()!=r&&i.setDate(0),i.kind=n.kind,i},addDays:function(n,t){n.kind=n.kind!==undefined?n.kind:0;var i=new Date(n.getTime());return i.setDate(n.getDate()+Math.floor(t)),i.kind=n.kind,System.DateTime.addMilliseconds(i,Math.round(t%1*864e5))},addHours:function(n,t){return System.DateTime.addMilliseconds(n,Math.round(t*36e5))},addMinutes:function(n,t){return System.DateTime.addMilliseconds(n,Math.round(t*6e4))},addSeconds:function(n,t){return System.DateTime.addMilliseconds(n,Math.round(t*1e3))},addMilliseconds:function(n,t){n.kind=n.kind!==undefined?n.kind:0;var i=new Date(n.getTime()+Math.round(t));return i.kind=n.kind,i.ticks=System.DateTime.getTicks(i),i},addTicks:function(n,t){return System.DateTime.addMilliseconds(n,t/1e4)},add:function(n,t){n.kind=n.kind!==undefined?n.kind:0;var i=new Date(n.getTime()+t.ticks.div(1e4).toNumber());return i.kind=n.kind,i.ticks=System.DateTime.getTicks(i),i},subtract:function(n,t){n.kind=n.kind!==undefined?n.kind:0;var i=new Date(n.getTime()-t.ticks.div(1e4).toNumber());return i.kind=n.kind,i.ticks=System.DateTime.getTicks(i),i},getIsLeapYear:function(n){return new Date(n,2,-1).getDate()===28},getDaysInMonth:function(n,t){return new Date(n,t,-1).getDate()+1},getDayOfYear:function(n){var t=new Date(n.getTime());return n.kind!==1?(t.setMonth(0),t.setDate(1),t.setHours(0),t.setMinutes(0),t.setMilliseconds(0)):(t.setUTCMonth(0),t.setUTCDate(1),t.setUTCHours(0),t.setUTCMinutes(0),t.setUTCMilliseconds(0)),Math.ceil((n-t)/864e5)},getDate:function(n){n.kind=n.kind!==undefined?n.kind:0;var t=new Date(n.getTime());return n.kind!==1?(t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0)):(t.setUTCHours(0),t.setUTCMinutes(0),t.setUTCSeconds(0),t.setUTCMilliseconds(0)),t.kind=n.kind,t.ticks=System.DateTime.getTicks(t),t},getDayOfWeek:function(n){return System.DateTime.getKind(n)===1?n.getUTCDay():n.getDay()},getYear:function(n){return System.DateTime.getKind(n)===1?n.getUTCFullYear():n.getFullYear()},getMonth:function(n){return(System.DateTime.getKind(n)===1?n.getUTCMonth():n.getMonth())+1},getDay:function(n){return System.DateTime.getKind(n)===1?n.getUTCDate():n.getDate()},getHour:function(n){return System.DateTime.getKind(n)===1?n.getUTCHours():n.getHours()},getMinute:function(n){return System.DateTime.getKind(n)===1?n.getUTCMinutes():n.getMinutes()},getSecond:function(n){return System.DateTime.getKind(n)===1?n.getUTCSeconds():n.getSeconds()},getMillisecond:function(n){return System.DateTime.getKind(n)===1?n.getUTCMilliseconds():n.getMilliseconds()},gt:function(n,t){return n!=null&&t!=null?System.DateTime.getTicks(n).gt(System.DateTime.getTicks(t)):!1},gte:function(n,t){return n!=null&&t!=null?System.DateTime.getTicks(n).gte(System.DateTime.getTicks(t)):!1},lt:function(n,t){return n!=null&&t!=null?System.DateTime.getTicks(n).lt(System.DateTime.getTicks(t)):!1},lte:function(n,t){return n!=null&&t!=null?System.DateTime.getTicks(n).lte(System.DateTime.getTicks(t)):!1}}});Bridge.define("System.TimeSpan",{inherits:[System.IComparable],config:{alias:["compareTo",["System$IComparable$compareTo","System$IComparable$1$compareTo","System$IComparable$1System$TimeSpan$compareTo"]]},$kind:"struct",statics:{fromDays:function(n){return new System.TimeSpan(n*864e9)},fromHours:function(n){return new System.TimeSpan(n*36e9)},fromMilliseconds:function(n){return new System.TimeSpan(n*1e4)},fromMinutes:function(n){return new System.TimeSpan(n*6e8)},fromSeconds:function(n){return new System.TimeSpan(n*1e7)},fromTicks:function(n){return new System.TimeSpan(n)},ctor:function(){this.zero=new System.TimeSpan(System.Int64.Zero);this.maxValue=new System.TimeSpan(System.Int64.MaxValue);this.minValue=new System.TimeSpan(System.Int64.MinValue)},getDefaultValue:function(){return new System.TimeSpan(System.Int64.Zero)},neg:function(n){return Bridge.hasValue(n)?new System.TimeSpan(n.ticks.neg()):null},sub:function(n,t){return Bridge.hasValue$1(n,t)?new System.TimeSpan(n.ticks.sub(t.ticks)):null},eq:function(n,t){return n===null&&t===null?!0:Bridge.hasValue$1(n,t)?n.ticks.eq(t.ticks):!1},neq:function(n,t){return n===null&&t===null?!1:Bridge.hasValue$1(n,t)?n.ticks.ne(t.ticks):!0},plus:function(n){return Bridge.hasValue(n)?new System.TimeSpan(n.ticks):null},add:function(n,t){return Bridge.hasValue$1(n,t)?new System.TimeSpan(n.ticks.add(t.ticks)):null},gt:function(n,t){return Bridge.hasValue$1(n,t)?n.ticks.gt(t.ticks):!1},gte:function(n,t){return Bridge.hasValue$1(n,t)?n.ticks.gte(t.ticks):!1},lt:function(n,t){return Bridge.hasValue$1(n,t)?n.ticks.lt(t.ticks):!1},lte:function(n,t){return Bridge.hasValue$1(n,t)?n.ticks.lte(t.ticks):!1}},ctor:function(){this.$initialize();this.ticks=System.Int64.Zero;arguments.length===1?this.ticks=arguments[0]instanceof System.Int64?arguments[0]:new System.Int64(arguments[0]):arguments.length===3?this.ticks=new System.Int64(arguments[0]).mul(60).add(arguments[1]).mul(60).add(arguments[2]).mul(1e7):arguments.length===4?this.ticks=new System.Int64(arguments[0]).mul(24).add(arguments[1]).mul(60).add(arguments[2]).mul(60).add(arguments[3]).mul(1e7):arguments.length===5&&(this.ticks=new System.Int64(arguments[0]).mul(24).add(arguments[1]).mul(60).add(arguments[2]).mul(60).add(arguments[3]).mul(1e3).add(arguments[4]).mul(1e4))},getTicks:function(){return this.ticks},getDays:function(){return this.ticks.div(864e9).toNumber()},getHours:function(){return this.ticks.div(36e9).mod(24).toNumber()},getMilliseconds:function(){return this.ticks.div(1e4).mod(1e3).toNumber()},getMinutes:function(){return this.ticks.div(6e8).mod(60).toNumber()},getSeconds:function(){return this.ticks.div(1e7).mod(60).toNumber()},getTotalDays:function(){return this.ticks.toNumberDivided(864e9)},getTotalHours:function(){return this.ticks.toNumberDivided(36e9)},getTotalMilliseconds:function(){return this.ticks.toNumberDivided(1e4)},getTotalMinutes:function(){return this.ticks.toNumberDivided(6e8)},getTotalSeconds:function(){return this.ticks.toNumberDivided(1e7)},get12HourHour:function(){return this.getHours()>12?this.getHours()-12:this.getHours()===0?12:this.getHours()},add:function(n){return new System.TimeSpan(this.ticks.add(n.ticks))},subtract:function(n){return new System.TimeSpan(this.ticks.sub(n.ticks))},duration:function(){return new System.TimeSpan(this.ticks.abs())},negate:function(){return new System.TimeSpan(this.ticks.neg())},compareTo:function(n){return this.ticks.compareTo(n.ticks)},equals:function(n){return Bridge.is(n,System.TimeSpan)?n.ticks.eq(this.ticks):!1},equalsT:function(n){return n.ticks.eq(this.ticks)},format:function(n,t){return this.toString(n,t)},getHashCode:function(){return this.ticks.getHashCode()},toString:function(n,t){var i=this.ticks,f="",r=this,e=(t||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.DateTimeFormatInfo),u=function(n,t,i,r){return System.String.alignString(Math.abs(n|0).toString(),t||2,"0",i||2,r||!1)},o=i<0;return n?n.replace(/(\\.|'[^']*'|"[^"]*"|dd?|HH?|hh?|mm?|ss?|tt?|f{1,7}|\:|\/)/g,function(n){var t=n;switch(n){case"d":return r.getDays();case"dd":return u(r.getDays());case"H":return r.getHours();case"HH":return u(r.getHours());case"h":return r.get12HourHour();case"hh":return u(r.get12HourHour());case"m":return r.getMinutes();case"mm":return u(r.getMinutes());case"s":return r.getSeconds();case"ss":return u(r.getSeconds());case"t":return(r.getHours()<12?e.amDesignator:e.pmDesignator).substring(0,1);case"tt":return r.getHours()<12?e.amDesignator:e.pmDesignator;case"f":case"ff":case"fff":case"ffff":case"fffff":case"ffffff":case"fffffff":return u(r.getMilliseconds(),n.length,1,!0);default:return n.substr(1,n.length-1-(n.charAt(0)!=="\\"))}}):(i.abs().gte(864e9)&&(f+=u(i.toNumberDivided(864e9),1)+".",i=i.mod(864e9)),f+=u(i.toNumberDivided(36e9))+":",i=i.mod(36e9),f+=u(i.toNumberDivided(6e8)|0)+":",i=i.mod(6e8),f+=u(i.toNumberDivided(1e7)),i=i.mod(1e7),i.gt(0)&&(f+="."+u(i.toNumber(),7)),(o?"-":"")+f)}});Bridge.Class.addExtend(System.TimeSpan,[System.IComparable$1(System.TimeSpan),System.IEquatable$1(System.TimeSpan)]);Bridge.define("System.Text.StringBuilder",{ctor:function(){this.$initialize();this.buffer=[];this.capacity=16;arguments.length===1?this.append(arguments[0]):arguments.length===2?(this.append(arguments[0]),this.setCapacity(arguments[1])):arguments.length>=3&&(this.append(arguments[0],arguments[1],arguments[2]),arguments.length===4&&this.setCapacity(arguments[3]))},getLength:function(){if(this.buffer.length<2)return this.buffer[0]?this.buffer[0].length:0;var n=this.getString();return n.length},setLength:function(n){var i,t;if(n===0)this.clear();else if(n<0)throw new System.ArgumentOutOfRangeException("value","Length cannot be less than zero");else{if(i=this.getLength(),n===i)return;t=n-i;t>0?this.append('\0',t):this.remove(i+t,-t)}},getCapacity:function(){var n=this.getLength();return this.capacity>n?this.capacity:n},setCapacity:function(n){var t=this.getLength();n>t&&(this.capacity=n)},toString:function(){var n=this.getString(),t,i;return arguments.length===2?(t=arguments[0],i=arguments[1],this.checkLimits(n,t,i),n.substr(t,i)):n},append:function(n){var i,t;if(n==null)return this;if(arguments.length===2){if(t=arguments[1],t===0)return this;if(t<0)throw new System.ArgumentOutOfRangeException("count","cannot be less than zero");n=Array(t+1).join(n).toString()}else if(arguments.length===3){if(i=arguments[1],t=arguments[2],t===0)return this;this.checkLimits(n,i,t);n=n.substr(i,t)}return this.buffer[this.buffer.length]=n,this.clearString(),this},appendFormat:function(){return this.append(System.String.format.apply(System.String,arguments))},clear:function(){return this.buffer=[],this.clearString(),this},appendLine:function(){return arguments.length===1&&this.append(arguments[0]),this.append("\r\n")},equals:function(n){return n==null?!1:n===this?!0:this.toString()===n.toString()},remove:function(n,t){var i=this.getString();return(this.checkLimits(i,n,t),i.length===t&&n===0)?this.clear():(t>0&&(this.buffer=[],this.buffer[0]=i.substring(0,n),this.buffer[1]=i.substring(n+t,i.length),this.clearString()),this)},insert:function(n,t){var r,i;if(t==null)return this;if(arguments.length===3){if(r=arguments[2],r===0)return this;if(r<0)throw new System.ArgumentOutOfRangeException("count","cannot be less than zero");t=Array(r+1).join(t).toString()}return i=this.getString(),this.buffer=[],n<1?(this.buffer[0]=t,this.buffer[1]=i):n>=i.length?(this.buffer[0]=i,this.buffer[1]=t):(this.buffer[0]=i.substring(0,n),this.buffer[1]=t,this.buffer[2]=i.substring(n,i.length)),this.clearString(),this},replace:function(n,t){var f=new RegExp(n,"g"),i=this.buffer.join("");if(this.buffer=[],arguments.length===4){var r=arguments[2],u=arguments[3],e=i.substr(r,u);this.checkLimits(i,r,u);this.buffer[0]=i.substring(0,r);this.buffer[1]=e.replace(f,t);this.buffer[2]=i.substring(r+u,i.length)}else this.buffer[0]=i.replace(f,t);return this.clearString(),this},checkLimits:function(n,t,i){if(i<0)throw new System.ArgumentOutOfRangeException("length","must be non-negative");if(t<0)throw new System.ArgumentOutOfRangeException("startIndex","startIndex cannot be less than zero");if(i>n.length-t)throw new System.ArgumentOutOfRangeException("Index and length must refer to a location within the string");},clearString:function(){this.$str=null},getString:function(){return this.$str||(this.$str=this.buffer.join(""),this.buffer=[],this.buffer[0]=this.$str),this.$str},getChar:function(n){var t=this.getString();if(n<0||n>=t.length)throw new System.IndexOutOfRangeException;return t.charCodeAt(n)},setChar:function(n,t){var i=this.getString();if(n<0||n>=i.length)throw new System.ArgumentOutOfRangeException;t=String.fromCharCode(t);this.buffer=[];this.buffer[0]=i.substring(0,n);this.buffer[1]=t;this.buffer[2]=i.substring(n+1,i.length);this.clearString()}}),function(){var n=RegExp("[-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g"),t=function(t){return t.replace(n,"\\$&")};Bridge.regexpEscape=t}();System.Diagnostics.Debug={writeln:function(n){Bridge.global.console&&Bridge.global.console.debug&&Bridge.global.console.debug(n)},_fail:function(n){System.Diagnostics.Debug.writeln(n)},assert:function(n,t){n||(t="Assert failed: "+t,confirm(t+"\r\n\r\nBreak into debugger?")&&System.Diagnostics.Debug._fail(t))},fail:function(n){System.Diagnostics.Debug._fail(n)}};Bridge.define("System.Diagnostics.Stopwatch",{ctor:function(){this.$initialize();this.reset()},start:function(){this.isRunning||(this._startTime=System.Diagnostics.Stopwatch.getTimestamp(),this.isRunning=!0)},stop:function(){if(this.isRunning){var n=System.Diagnostics.Stopwatch.getTimestamp(),t=n.sub(this._startTime);this._elapsed=this._elapsed.add(t);this.isRunning=!1}},reset:function(){this._startTime=System.Int64.Zero;this._elapsed=System.Int64.Zero;this.isRunning=!1},restart:function(){this.isRunning=!1;this._elapsed=System.Int64.Zero;this._startTime=System.Diagnostics.Stopwatch.getTimestamp();this.start()},ticks:function(){var n=this._elapsed,t,i;return this.isRunning&&(t=System.Diagnostics.Stopwatch.getTimestamp(),i=t.sub(this._startTime),n=n.add(i)),n},milliseconds:function(){return this.ticks().mul(1e3).div(System.Diagnostics.Stopwatch.frequency)},timeSpan:function(){return new System.TimeSpan(this.milliseconds().mul(1e4))},statics:{startNew:function(){var n=new System.Diagnostics.Stopwatch;return n.start(),n}}});typeof window!="undefined"&&window.performance&&window.performance.now?(System.Diagnostics.Stopwatch.frequency=new System.Int64(1e6),System.Diagnostics.Stopwatch.isHighResolution=!0,System.Diagnostics.Stopwatch.getTimestamp=function(){return new System.Int64(Math.round(window.performance.now()*1e3))}):typeof process!="undefined"&&process.hrtime?(System.Diagnostics.Stopwatch.frequency=new System.Int64(1e9),System.Diagnostics.Stopwatch.isHighResolution=!0,System.Diagnostics.Stopwatch.getTimestamp=function(){var n=process.hrtime();return new System.Int64(n[0]).mul(1e9).add(n[1])}):(System.Diagnostics.Stopwatch.frequency=new System.Int64(1e3),System.Diagnostics.Stopwatch.isHighResolution=!1,System.Diagnostics.Stopwatch.getTimestamp=function(){return new System.Int64((new Date).valueOf())});System.Diagnostics.Contracts.Contract={reportFailure:function(n,t,i,r,u){var f=i.toString(),e,o;if(f=f.substring(f.indexOf("return")+7),f=f.substr(0,f.lastIndexOf(";")),e=f?"Contract '"+f+"' failed":"Contract failed",o=t?e+": "+t:e,u)throw new u(f,t);else throw new System.Diagnostics.Contracts.ContractException(n,o,t,f,r);},assert:function(n,t,i,r){i.call(t)||System.Diagnostics.Contracts.Contract.reportFailure(n,r,i,null)},requires:function(n,t,i,r){i.call(t)||System.Diagnostics.Contracts.Contract.reportFailure(0,r,i,null,n)},forAll:function(n,t,i){if(!i)throw new System.ArgumentNullException("predicate");for(;n<t;n++)if(!i(n))return!1;return!0},forAll$1:function(n,t){if(!n)throw new System.ArgumentNullException("collection");if(!t)throw new System.ArgumentNullException("predicate");var i=Bridge.getEnumerator(n);try{while(i.moveNext())if(!t(i.Current))return!1;return!0}finally{i.dispose()}},exists:function(n,t,i){if(!i)throw new System.ArgumentNullException("predicate");for(;n<t;n++)if(i(n))return!0;return!1},exists$1:function(n,t){if(!n)throw new System.ArgumentNullException("collection");if(!t)throw new System.ArgumentNullException("predicate");var i=Bridge.getEnumerator(n);try{while(i.moveNext())if(t(i.Current))return!0;return!1}finally{i.dispose()}}};Bridge.define("System.Diagnostics.Contracts.ContractFailureKind",{$kind:"enum",$statics:{precondition:0,postcondition:1,postconditionOnException:2,invarian:3,assert:4,assume:5}});Bridge.define("System.Diagnostics.Contracts.ContractException",{inherits:[System.Exception],config:{properties:{Kind:{get:function(){return this._kind}},Failure:{get:function(){return this._failureMessage}},UserMessage:{get:function(){return this._userMessage}},Condition:{get:function(){return this._condition}}}},ctor:function(n,t,i,r,u){this.$initialize();System.Exception.ctor.call(this,t,u);this._kind=n;this._failureMessage=t||null;this._userMessage=i||null;this._condition=r||null}});k={toIndex:function(n,t){if(t.length!==(n.$s?n.$s.length:1))throw new System.ArgumentException("Invalid number of indices");if(t[0]<0||t[0]>=(n.$s?n.$s[0]:n.length))throw new System.IndexOutOfRangeException("Index 0 out of range");var r=t[0],i;if(n.$s)for(i=1;i<n.$s.length;i++){if(t[i]<0||t[i]>=n.$s[i])throw new System.IndexOutOfRangeException("Index "+i+" out of range");r=r*n.$s[i]+t[i]}return r},index:function(n,t){if(n<0||n>=t.length)throw new System.IndexOutOfRangeException;return n},$get:function(n){var t=this[System.Array.toIndex(this,n)];return typeof t!="undefined"?t:this.$v},get:function(n){var t,i,r;if(arguments.length<2)throw new System.ArgumentNullException("indices");for(t=Array.prototype.slice.call(arguments,1),i=0;i<t.length;i++)if(!Bridge.hasValue(t[i]))throw new System.ArgumentNullException("indices");return r=n[System.Array.toIndex(n,t)],typeof r!="undefined"?r:n.$v},$set:function(n,t){this[System.Array.toIndex(this,n)]=t},set:function(n,t){var i=Array.prototype.slice.call(arguments,2);n[System.Array.toIndex(n,i)]=t},getLength:function(n,t){if(t<0||t>=(n.$s?n.$s.length:1))throw new System.IndexOutOfRangeException;return n.$s?n.$s[t]:n.length},getRank:function(n){return n.$type?n.$type.$rank:n.$s?n.$s.length:1},getLower:function(n,t){return System.Array.getLength(n,t),0},create:function(n,t,i,r){var u,s,f,h,c,e,o,l,a,y,v;if(r===null)throw new System.ArgumentNullException("length");if(u=[],s=arguments.length>3?1:0,u.$v=n,u.$s=[],u.get=System.Array.$get,u.set=System.Array.$set,r&&Bridge.isArray(r))for(f=0;f<r.length;f++){if(e=r[f],isNaN(e)||e<0)throw new System.ArgumentOutOfRangeException("length");s*=e;u.$s[f]=e}else for(f=3;f<arguments.length;f++){if(e=arguments[f],isNaN(e)||e<0)throw new System.ArgumentOutOfRangeException("length");s*=e;u.$s[f-3]=e}for(u.length=s,y=Bridge.isFunction(n),v=0;v<s;v++)u[v]=y?n():n;if(t)for(f=0;f<u.length;f++){for(l=[],a=f,h=u.$s.length-1;h>=0;h--)o=a%u.$s[h],l.unshift(o),a=Bridge.Int.div(a-o,u.$s[h]);for(c=t,o=0;o<l.length;o++)c=c[l[o]];u[f]=c}return System.Array.init(u,i,u.$s.length),u},init:function(n,t,i,r){var e,o,f,s,u;if(n==null)throw new System.ArgumentNullException("length");if(Bridge.isArray(n))return e=t,o=i||1,System.Array.type(e,o,n),n;if(isNaN(n)||n<0)throw new System.ArgumentOutOfRangeException("length");for(f=new Array(n),s=r!==!0&&Bridge.isFunction(t),u=0;u<n;u++)f[u]=s?t():t;return System.Array.init(f,i,1)},toEnumerable:function(n){return new Bridge.ArrayEnumerable(n)},toEnumerator:function(n,t){return new Bridge.ArrayEnumerator(n,t)},_typedArrays:{Float32Array:System.Single,Float64Array:System.Double,Int8Array:System.SByte,Int16Array:System.Int16,Int32Array:System.Int32,Uint8Array:System.Byte,Uint8ClampedArray:System.Byte,Uint16Array:System.UInt16,Uint32Array:System.UInt32},is:function(n,t){if(n instanceof Bridge.ArrayEnumerator)return n.constructor===t||n instanceof t||t===Bridge.ArrayEnumerator||t.$$name&&System.String.startsWith(t.$$name,"System.Collections.IEnumerator")||t.$$name&&System.String.startsWith(t.$$name,"System.Collections.Generic.IEnumerator")?!0:!1;if(!Bridge.isArray(n))return!1;if(t.$elementType&&t.$isArray){var i=Bridge.getType(n).$elementType;if(i)return System.Array.getRank(n)===t.$rank&&Bridge.Reflection.isAssignableFrom(t.$elementType,i);t=Array}return n.constructor===t||n instanceof t?!0:t===System.Collections.IEnumerable||t===System.Collections.ICollection||t===System.ICloneable||t===System.Collections.IList||t.$$name&&System.String.startsWith(t.$$name,"System.Collections.Generic.IEnumerable$1")||t.$$name&&System.String.startsWith(t.$$name,"System.Collections.Generic.ICollection$1")||t.$$name&&System.String.startsWith(t.$$name,"System.Collections.Generic.IList$1")||t.$$name&&System.String.startsWith(t.$$name,"System.Collections.Generic.IReadOnlyCollection$1")||t.$$name&&System.String.startsWith(t.$$name,"System.Collections.Generic.IReadOnlyList$1")?!0:!!System.Array._typedArrays[String.prototype.slice.call(Object.prototype.toString.call(n),8,-1)]},clone:function(n){var t;return t=n.length===1?[n[0]]:n.slice(0),t.$type=n.$type,t.$v=n.$v,t.$s=n.$s,t.get=System.Array.$get,t.set=System.Array.$set,t},getCount:function(n,t){var r,i;return Bridge.isArray(n)?n.length:t&&Bridge.isFunction(n[r="System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(t)+"$getCount"])||Bridge.isFunction(n[r="System$Collections$ICollection$getCount"])?n[r]():t&&(i=n["System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(t)+"$Count"])!==undefined||(i=n.System$Collections$ICollection$Count)!==undefined||(i=n.Count)!==undefined?i:Bridge.isFunction(n.getCount)?n.getCount():0},getIsReadOnly:function(n,t){var r,i;return Bridge.isArray(n)?t?!0:!1:t&&Bridge.isFunction(n[r="System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(t)+"$getIsReadOnly"])?n[r]():t&&(i=n["System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(t)+"$IsReadOnly"])!==undefined?i:Bridge.isFunction(n[r="System$Collections$IList$getIsReadOnly"])?n[r]():(i=n.System$Collections$IList$IsReadOnly)!==undefined||(i=n.IsReadOnly)!==undefined?i:Bridge.isFunction(n.getIsReadOnly)?n.getIsReadOnly():!1},checkReadOnly:function(n,t,i){if(System.Array.getIsReadOnly(n,t))throw new System.NotSupportedException(i||"Collection was of a fixed size.");},add:function(n,t,i){var r;return(System.Array.checkReadOnly(n,i),i&&(t=System.Array.checkNewElementType(t,i)),i&&Bridge.isFunction(n[r="System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(i)+"$add"]))?n[r](t):Bridge.isFunction(n[r="System$Collections$IList$add"])?n[r](t):Bridge.isFunction(n.add)?n.add(t):-1},checkNewElementType:function(n,t){var i=Bridge.unbox(n,!0),r;if(Bridge.isNumber(i)){if(t===System.Decimal)return new System.Decimal(i);if(t===System.Int64)return new System.Int64(i);if(t===System.UInt64)return new System.UInt64(i)}if(r=Bridge.is(n,t),!r){if(n==null&&Bridge.getDefaultValue(t)==null)return null;throw new System.ArgumentException("The value "+i+"is not of type "+Bridge.getTypeName(t)+" and cannot be used in this generic collection.");}return i},clear:function(n,t){var i;System.Array.checkReadOnly(n,t,"Collection is read-only.");Bridge.isArray(n)?System.Array.fill(n,t?t.getDefaultValue||Bridge.getDefaultValue(t):null,0,n.length):t&&Bridge.isFunction(n[i="System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(t)+"$clear"])?n[i]():Bridge.isFunction(n[i="System$Collections$IList$clear"])?n[i]():Bridge.isFunction(n.clear)&&n.clear()},fill:function(n,t,i,r){if(!Bridge.hasValue(n))throw new System.ArgumentNullException("dst");if(i<0||r<0||i+r>n.length)throw new System.IndexOutOfRangeException;for(var u=Bridge.isFunction(t);--r>=0;)n[i+r]=u?t():t},copy:function(n,t,i,r,u){if(!i)throw new System.ArgumentNullException("dest","Value cannot be null");if(!n)throw new System.ArgumentNullException("src","Value cannot be null");if(t<0||r<0||u<0)throw new System.ArgumentOutOfRangeException("Number was less than the array's lower bound in the first dimension");if(u>n.length-t||u>i.length-r)throw new System.ArgumentException("Destination array was not long enough. Check destIndex and length, and the array's lower bounds");if(t<r&&n===i)while(--u>=0)i[r+u]=n[t+u];else for(var f=0;f<u;f++)i[r+f]=n[t+f]},copyTo:function(n,t,i,r){var u;if(Bridge.isArray(n))System.Array.copy(n,0,t,i,n?n.length:0);else if(Bridge.isFunction(n.copyTo))n.copyTo(t,i);else if(r&&Bridge.isFunction(n[u="System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(r)+"$copyTo"]))n[u](t,i);else if(Bridge.isFunction(n[u="System$Collections$ICollection$copyTo"]))n[u](t,i);else throw new System.NotImplementedException("copyTo");},indexOf:function(n,t,i,r,u){var e,f,o,s;if(Bridge.isArray(n)){for(i=i||0,r=Bridge.isNumber(r)?r:n.length,s=i+r,f=i;f<s;f++)if(o=n[f],o===t||System.Collections.Generic.EqualityComparer$1.$default.equals2(o,t))return f}else{if(u&&Bridge.isFunction(n[e="System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(u)+"$indexOf"])||Bridge.isFunction(n[e="System$Collections$IList$indexOf"]))return n[e](t);if(Bridge.isFunction(n.indexOf))return n.indexOf(t)}return-1},contains:function(n,t,i){var r;return Bridge.isArray(n)?System.Array.indexOf(n,t)>-1:i&&Bridge.isFunction(n[r="System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(i)+"$contains"])||Bridge.isFunction(n[r="System$Collections$IList$contains"])?n[r](t):Bridge.isFunction(n.contains)?n.contains(t):!1},remove:function(n,t,i){var r,u;if(System.Array.checkReadOnly(n,i),Bridge.isArray(n)){if(u=System.Array.indexOf(n,t),u>-1)return n.splice(u,1),!0}else{if(i&&Bridge.isFunction(n[r="System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(i)+"$remove"])||Bridge.isFunction(n[r="System$Collections$IList$remove"]))return n[r](t);if(Bridge.isFunction(n.remove))return n.remove(t)}return!1},insert:function(n,t,i,r){var u;System.Array.checkReadOnly(n,r);r&&(i=System.Array.checkNewElementType(i,r));r&&Bridge.isFunction(n[u="System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(r)+"$insert"])?n[u](t,i):Bridge.isFunction(n[u="System$Collections$IList$insert"])?n[u](t,i):Bridge.isFunction(n.insert)&&n.insert(t,i)},removeAt:function(n,t,i){var r;System.Array.checkReadOnly(n,i);Bridge.isArray(n)?n.splice(t,1):i&&Bridge.isFunction(n[r="System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(i)+"$removeAt"])?n[r](t):Bridge.isFunction(n[r="System$Collections$IList$removeAt"])?n[r](t):Bridge.isFunction(n.removeAt)&&n.removeAt(t)},getItem:function(n,t,i){var u,r;return Bridge.isArray(n)?n.$type&&Bridge.getDefaultValue(n.$type.$elementType)!=null?Bridge.box(n[t],n.$type.$elementType):n[t]:i&&Bridge.isFunction(n[u="System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(i)+"$getItem"])?n[u](t):(Bridge.isFunction(n.get)?r=n.get(t):Bridge.isFunction(n.getItem)?r=n.getItem(t):Bridge.isFunction(n[u="System$Collections$IList$$getItem"])?r=n[u](t):Bridge.isFunction(n.get_Item)&&(r=n.get_Item(t)),i&&Bridge.getDefaultValue(i)!=null?Bridge.box(r,i):r)},setItem:function(n,t,i,r){var u;if(Bridge.isArray(n))n.$type&&(i=System.Array.checkElementType(i,n.$type.$elementType)),n[t]=i;else if(r&&(i=System.Array.checkElementType(i,r)),Bridge.isFunction(n.set))n.set(t,i);else if(Bridge.isFunction(n.setItem))n.setItem(t,i);else{if(r&&Bridge.isFunction(n[u="System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(r)+"$setItem"])||r&&Bridge.isFunction(n[u="System$Collections$IList$setItem"]))return n[u](t,i);Bridge.isFunction(n.set_Item)&&n.set_Item(t,i)}},checkElementType:function(n,t){var i=Bridge.unbox(n,!0),r;if(Bridge.isNumber(i)){if(t===System.Decimal)return new System.Decimal(i);if(t===System.Int64)return new System.Int64(i);if(t===System.UInt64)return new System.UInt64(i)}if(r=Bridge.is(n,t),!r){if(n==null)return Bridge.getDefaultValue(t);throw new System.ArgumentException("Cannot widen from source type to target type either because the source type is a not a primitive type or the conversion cannot be accomplished.");}return i},resize:function(n,t,i){var u;if(t<0)throw new System.ArgumentOutOfRangeException("newSize",null,null,t);var f=0,e=Bridge.isFunction(i),r=n.v;for(r?(f=r.length,r.length=t):r=new Array(t),u=f;u<t;u++)r[u]=e?i():i;n.v=r},reverse:function(n,t,i){var r,u,f;if(!k)throw new System.ArgumentNullException("arr");if(t||t===0||(t=0,i=n.length),t<0||i<0)throw new System.ArgumentOutOfRangeException(t<0?"index":"length","Non-negative number required.");if(k.length-t<i)throw new System.ArgumentException("Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.");if(System.Array.getRank(n)!==1)throw new System.Exception("Only single dimension arrays are supported here.");for(r=t,u=t+i-1;r<u;)f=n[r],n[r]=n[u],n[u]=f,r++,u--},binarySearch:function(n,t,i,r,u){var o,f,s,e,h;if(!n)throw new System.ArgumentNullException("array");if(o=0,t<o||i<0)throw new System.ArgumentOutOfRangeException(t<o?"index":"length","Non-negative number required.");if(n.length-(t-o)<i)throw new System.ArgumentException("Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.");if(System.Array.getRank(n)!==1)throw new System.RankException("Only single dimensional arrays are supported for the requested action.");for(u||(u=System.Collections.Generic.Comparer$1.$default),f=t,s=t+i-1;f<=s;){e=f+(s-f>>1);try{h=System.Collections.Generic.Comparer$1.get(u)(n[e],r)}catch(c){throw new System.InvalidOperationException("Failed to compare two elements in the array.",c);}if(h===0)return e;h<0?f=e+1:s=e-1}return~f},sort:function(n,t,i,r){var f,u;if(!n)throw new System.ArgumentNullException("array");if(arguments.length===2&&typeof t=="function"){n.sort(t);return}if(arguments.length===2&&typeof t=="object"&&(r=t,t=null),Bridge.isNumber(t)||(t=0),Bridge.isNumber(i)||(i=n.length),r||(r=System.Collections.Generic.Comparer$1.$default),t===0&&i===n.length)n.sort(Bridge.fn.bind(r,System.Collections.Generic.Comparer$1.get(r)));else for(f=n.slice(t,t+i),f.sort(Bridge.fn.bind(r,System.Collections.Generic.Comparer$1.get(r))),u=t;u<t+i;u++)n[u]=f[u-t]},min:function(n,t){for(var r=n[0],u=n.length,i=0;i<u;i++)!(n[i]<r||r<t)||n[i]<t||(r=n[i]);return r},max:function(n,t){for(var r=n[0],u=n.length,i=0;i<u;i++)!(n[i]>r||r>t)||n[i]>t||(r=n[i]);return r},addRange:function(n,t){if(Bridge.isArray(t))n.push.apply(n,t);else{var i=Bridge.getEnumerator(t);try{while(i.moveNext())n.push(i.Current)}finally{Bridge.is(i,System.IDisposable)&&i.dispose()}}},convertAll:function(n,t){if(!Bridge.hasValue(n))throw new System.ArgumentNullException("array");if(!Bridge.hasValue(t))throw new System.ArgumentNullException("converter");return n.map(t)},find:function(n,t,i){if(!Bridge.hasValue(t))throw new System.ArgumentNullException("array");if(!Bridge.hasValue(i))throw new System.ArgumentNullException("match");for(var r=0;r<t.length;r++)if(i(t[r]))return t[r];return Bridge.getDefaultValue(n)},findAll:function(n,t){var r,i;if(!Bridge.hasValue(n))throw new System.ArgumentNullException("array");if(!Bridge.hasValue(t))throw new System.ArgumentNullException("match");for(r=[],i=0;i<n.length;i++)t(n[i])&&r.push(n[i]);return r},findIndex:function(n,t,i,r){var f,u;if(!Bridge.hasValue(n))throw new System.ArgumentNullException("array");if(arguments.length===2?(r=t,t=0,i=n.length):arguments.length===3&&(r=i,i=n.length-t),t<0||t>n.length)throw new System.ArgumentOutOfRangeException("startIndex");if(i<0||t>n.length-i)throw new System.ArgumentOutOfRangeException("count");if(!Bridge.hasValue(r))throw new System.ArgumentNullException("match");for(f=t+i,u=t;u<f;u++)if(r(n[u]))return u;return-1},findLast:function(n,t,i){if(!Bridge.hasValue(t))throw new System.ArgumentNullException("array");if(!Bridge.hasValue(i))throw new System.ArgumentNullException("match");for(var r=t.length-1;r>=0;r--)if(i(t[r]))return t[r];return Bridge.getDefaultValue(n)},findLastIndex:function(n,t,i,r){var f,u;if(!Bridge.hasValue(n))throw new System.ArgumentNullException("array");if(arguments.length===2?(r=t,t=n.length-1,i=n.length):arguments.length===3&&(r=i,i=t+1),!Bridge.hasValue(r))throw new System.ArgumentNullException("match");if(n.length===0){if(t!==-1)throw new System.ArgumentOutOfRangeException("startIndex");}else if(t<0||t>=n.length)throw new System.ArgumentOutOfRangeException("startIndex");if(i<0||t-i+1<0)throw new System.ArgumentOutOfRangeException("count");for(f=t-i,u=t;u>f;u--)if(r(n[u]))return u;return-1},forEach:function(n,t){if(!Bridge.hasValue(n))throw new System.ArgumentNullException("array");if(!Bridge.hasValue(t))throw new System.ArgumentNullException("action");for(var i=0;i<n.length;i++)t(n[i],i,n)},indexOfT:function(n,t,i,r){if(!Bridge.hasValue(n))throw new System.ArgumentNullException("array");if(arguments.length===2?(i=0,r=n.length):arguments.length===3&&(r=n.length-i),i<0||i>=n.length&&n.length>0)throw new System.ArgumentOutOfRangeException("startIndex","out of range");if(r<0||r>n.length-i)throw new System.ArgumentOutOfRangeException("count","out of range");return System.Array.indexOf(n,t,i,r)},isFixedSize:function(){return!0},isSynchronized:function(){return!1},lastIndexOfT:function(n,t,i,r){var e,u,f;if(!Bridge.hasValue(n))throw new System.ArgumentNullException("array");if(arguments.length===2?(i=n.length-1,r=n.length):arguments.length===3&&(r=n.length===0?0:i+1),i<0||i>=n.length&&n.length>0)throw new System.ArgumentOutOfRangeException("startIndex","out of range");if(r<0||i-r+1<0)throw new System.ArgumentOutOfRangeException("count","out of range");for(e=i-r+1,u=i;u>=e;u--)if(f=n[u],f===t||System.Collections.Generic.EqualityComparer$1.$default.equals2(f,t))return u;return-1},syncRoot:function(n){return n},trueForAll:function(n,t){if(!Bridge.hasValue(n))throw new System.ArgumentNullException("array");if(!Bridge.hasValue(t))throw new System.ArgumentNullException("match");for(var i=0;i<n.length;i++)if(!t(n[i]))return!1;return!0},type:function(n,t,i){var r,u,e,f,o;for(t=t||1,r=System.Array.$cache[t],r||(r=[],System.Array.$cache[t]=r),f=0;f<r.length;f++)if(r[f].$elementType===n){u=r[f];break}return u||(e=Bridge.getTypeName(n)+"["+System.String.fromCharCount(",".charCodeAt(0),t-1)+"]",o=Bridge.Class.staticInitAllow,u=Bridge.define(e,{$inherits:[Array,System.Collections.ICollection,System.ICloneable,System.Collections.Generic.IList$1(n),System.Collections.Generic.IReadOnlyCollection$1(n)],$noRegister:!0,statics:{$elementType:n,$rank:t,$isArray:!0,$is:function(n){return System.Array.is(n,this)},getDefaultValue:function(){return null},createInstance:function(){var n,t,i;if(this.$rank===1)n=[];else{for(t=[Bridge.getDefaultValue(this.$elementType),null,this.$elementType],i=0;i<this.$rank;i++)t.push(0);n=System.Array.create.apply(System.Array,t)}return n.$type=this,n}}}),r.push(u),Bridge.Class.staticInitAllow=!0,u.$staticInit&&u.$staticInit(),Bridge.Class.staticInitAllow=o),i&&(i.$type=u),i||u}};System.Array=k;System.Array.$cache={};Bridge.define("System.ArraySegment",{$kind:"struct",statics:{getDefaultValue:function(){return new System.ArraySegment}},ctor:function(n,t,i){if(this.$initialize(),arguments.length===0){this.array=null;this.offset=0;this.count=0;return}if(n==null)throw new System.ArgumentNullException("array");if(this.array=n,Bridge.isNumber(t)){if(t<0)throw new System.ArgumentOutOfRangeException("offset");this.offset=t}else this.offset=0;if(Bridge.isNumber(i)){if(i<0)throw new System.ArgumentOutOfRangeException("count");this.count=i}else this.count=n.length;if(n.length-this.offset<this.count)throw new ArgumentException;},getArray:function(){return this.array},getCount:function(){return this.count},getOffset:function(){return this.offset},getHashCode:function(){return Bridge.addHash([5322976039,this.array,this.count,this.offset])},equals:function(n){return Bridge.is(n,System.ArraySegment)?Bridge.equals(this.array,n.array)&&Bridge.equals(this.count,n.count)&&Bridge.equals(this.offset,n.offset):!1},$clone:function(){return this}});Bridge.define("System.Collections.Generic.KeyValuePair$2",function(n,t){return{$kind:"struct",statics:{getDefaultValue:function(){return new(System.Collections.Generic.KeyValuePair$2(n,t))(Bridge.getDefaultValue(n),Bridge.getDefaultValue(t))}},ctor:function(i,r){i===undefined&&(i=Bridge.getDefaultValue(n));r===undefined&&(r=Bridge.getDefaultValue(t));this.$initialize();this.key=i;this.value=r},toString:function(){var n="[";return this.key!=null&&(n+=Bridge.toString(this.key)),n+=", ",this.value!=null&&(n+=Bridge.toString(this.value)),n+"]"}}});Bridge.define("System.Collections.IEnumerable",{$kind:"interface"});Bridge.define("System.Collections.IEnumerator",{$kind:"interface"});Bridge.define("System.Collections.IEqualityComparer",{$kind:"interface"});Bridge.define("System.Collections.ICollection",{inherits:[System.Collections.IEnumerable],$kind:"interface"});Bridge.define("System.Collections.IList",{inherits:[System.Collections.ICollection],$kind:"interface"});Bridge.define("System.Collections.IDictionary",{inherits:[System.Collections.ICollection],$kind:"interface"});Bridge.define("System.Collections.Generic.IEnumerator$1",function(){return{inherits:[System.Collections.IEnumerator],$kind:"interface",$variance:[1]}});Bridge.define("System.Collections.Generic.IEnumerable$1",function(){return{inherits:[System.Collections.IEnumerable],$kind:"interface",$variance:[1]}});Bridge.define("System.Collections.Generic.ICollection$1",function(n){return{inherits:[System.Collections.Generic.IEnumerable$1(n)],$kind:"interface"}});Bridge.define("System.Collections.Generic.IEqualityComparer$1",function(){return{$kind:"interface",$variance:[2]}});Bridge.define("System.Collections.Generic.IDictionary$2",function(n,t){return{inherits:[System.Collections.Generic.ICollection$1(System.Collections.Generic.KeyValuePair$2(n,t))],$kind:"interface"}});Bridge.define("System.Collections.Generic.IList$1",function(n){return{inherits:[System.Collections.Generic.ICollection$1(n)],$kind:"interface"}});Bridge.define("System.Collections.Generic.IComparer$1",function(){return{$kind:"interface",$variance:[2]}});Bridge.define("System.Collections.Generic.ISet$1",function(n){return{inherits:[System.Collections.Generic.ICollection$1(n)],$kind:"interface"}});Bridge.define("System.Collections.Generic.IReadOnlyCollection$1",function(n){return{inherits:[System.Collections.Generic.IEnumerable$1(n)],$kind:"interface"}});Bridge.define("System.Collections.Generic.IReadOnlyList$1",function(n){return{inherits:[System.Collections.Generic.IReadOnlyCollection$1(n)],$kind:"interface"}});Bridge.define("System.Collections.Generic.IReadOnlyDictionary$2",function(n,t){return{inherits:[System.Collections.Generic.IReadOnlyCollection$1(System.Collections.Generic.KeyValuePair$2(n,t))],$kind:"interface"}});Bridge.define("Bridge.CustomEnumerator",{inherits:[System.Collections.IEnumerator,System.IDisposable],config:{properties:{Current:{get:function(){return this.getCurrent()}},Current$1:{get:function(){return this.getCurrent()}}},alias:["getCurrent","System$Collections$IEnumerator$getCurrent","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset","dispose","System$IDisposable$dispose","Current","System$Collections$IEnumerator$Current"]},ctor:function(n,t,i,r,u,f){this.$initialize();this.$moveNext=n;this.$getCurrent=t;this.$dispose=r;this.$reset=i;this.scope=u;f&&(this["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(f)+"$getCurrent$1"]=this.getCurrent,this.System$Collections$Generic$IEnumerator$1$getCurrent$1=this.getCurrent,Object.defineProperty(this,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(f)+"$Current$1",{get:this.getCurrent,enumerable:!0}),Object.defineProperty(this,"System$Collections$Generic$IEnumerator$1$Current$1",{get:this.getCurrent,enumerable:!0}))},moveNext:function(){try{return this.$moveNext.call(this.scope)}catch(n){this.dispose.call(this.scope);throw n;}},getCurrent:function(){return this.$getCurrent.call(this.scope)},getCurrent$1:function(){return this.$getCurrent.call(this.scope)},reset:function(){this.$reset&&this.$reset.call(this.scope)},dispose:function(){this.$dispose&&this.$dispose.call(this.scope)}});Bridge.define("Bridge.ArrayEnumerator",{inherits:[System.Collections.IEnumerator,System.IDisposable],statics:{$isArrayEnumerator:!0},config:{properties:{Current:{get:function(){return this.getCurrent()}},Current$1:{get:function(){return this.getCurrent()}}},alias:["getCurrent","System$Collections$IEnumerator$getCurrent","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset","dispose","System$IDisposable$dispose","Current","System$Collections$IEnumerator$Current"]},ctor:function(n,t){this.$initialize();this.array=n;this.reset();t&&(this["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(t)+"$getCurrent$1"]=this.getCurrent,this.System$Collections$Generic$IEnumerator$1$getCurrent$1=this.getCurrent,Object.defineProperty(this,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(t)+"$Current$1",{get:this.getCurrent,enumerable:!0}),Object.defineProperty(this,"System$Collections$Generic$IEnumerator$1$Current$1",{get:this.getCurrent,enumerable:!0}))},moveNext:function(){return this.index++,this.index<this.array.length},getCurrent:function(){return this.array[this.index]},getCurrent$1:function(){return this.array[this.index]},reset:function(){this.index=-1},dispose:Bridge.emptyFn});Bridge.define("Bridge.ArrayEnumerable",{inherits:[System.Collections.IEnumerable],config:{alias:["getEnumerator","System$Collections$IEnumerable$getEnumerator"]},ctor:function(n){this.$initialize();this.array=n},getEnumerator:function(){return new Bridge.ArrayEnumerator(this.array)}});Bridge.define("System.Collections.Generic.EqualityComparer$1",function(n){return{inherits:[System.Collections.Generic.IEqualityComparer$1(n)],statics:{config:{init:function(){this.def=new(System.Collections.Generic.EqualityComparer$1(n))}}},config:{alias:["equals2",["System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2"],"getHashCode2",["System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$getHashCode2","System$Collections$Generic$IEqualityComparer$1$getHashCode2"]]},equals2:function(n,t){if(Bridge.isDefined(n,!0)){if(Bridge.isDefined(t,!0)){var i=n&&n.$$name;return Bridge.isFunction(n)&&Bridge.isFunction(t)?Bridge.fn.equals.call(n,t):!i||n&&n.$boxed||t&&t.$boxed?Bridge.equals(n,t):Bridge.isFunction(n.equalsT)?Bridge.equalsT(n,t):Bridge.isFunction(n.equals)?Bridge.equals(n,t):n===t}}else return!Bridge.isDefined(t,!0);return!1},getHashCode2:function(n){return Bridge.isDefined(n,!0)?Bridge.getHashCode(n):0}}});System.Collections.Generic.EqualityComparer$1.$default=new(System.Collections.Generic.EqualityComparer$1(System.Object));Bridge.define("System.Collections.Generic.Comparer$1",function(n){return{inherits:[System.Collections.Generic.IComparer$1(n)],ctor:function(t){this.$initialize();this.fn=t;this.compare=t;this["System$Collections$Generic$IComparer$1$"+Bridge.getTypeAlias(n)+"$compare"]=t;this.System$Collections$Generic$IComparer$1$compare=t}}});System.Collections.Generic.Comparer$1.$default=new(System.Collections.Generic.Comparer$1(System.Object))(function(n,t){if(Bridge.hasValue(n)){if(!Bridge.hasValue(t))return 1}else return Bridge.hasValue(t)?-1:0;return Bridge.compare(n,t)});System.Collections.Generic.Comparer$1.get=function(n,t){var i;return t&&(i=n["System$Collections$Generic$IComparer$1$"+Bridge.getTypeAlias(t)+"$compare"])?i:(i=n.System$Collections$Generic$IComparer$1$compare)?i:n.compare};Bridge.define("System.Collections.Generic.Dictionary$2",function(n,t){return{inherits:[System.Collections.Generic.IDictionary$2(n,t),System.Collections.IDictionary,System.Collections.Generic.IReadOnlyDictionary$2(n,t)],config:{properties:{Keys:{get:function(){return this.getKeys()}},Values:{get:function(){return this.getValues()}},IsReadOnly:{get:function(){return this.getIsReadOnly()}}},alias:["getCount","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(System.Collections.Generic.KeyValuePair$2(n,t))+"$getCount","getKeys","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$getKeys","getValues","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$getValues","Keys","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$Keys","Values","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$Values","get","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$getItem","set","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$setItem","add","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$add","containsKey","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$containsKey","getEnumerator",["System$Collections$Generic$IEnumerable$1$System$Collections$Generic$KeyValuePair$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$getEnumerator","System$Collections$Generic$IEnumerable$1$getEnumerator"],"remove","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$remove","tryGetValue","System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$tryGetValue","getIsReadOnly","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(System.Collections.Generic.KeyValuePair$2(n,t))+"$getIsReadOnly","IsReadOnly","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(System.Collections.Generic.KeyValuePair$2(n,t))+"$IsReadOnly","addPair","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(System.Collections.Generic.KeyValuePair$2(n,t))+"$add","copyTo","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(System.Collections.Generic.KeyValuePair$2(n,t))+"$copyTo","clear","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(System.Collections.Generic.KeyValuePair$2(n,t))+"$clear","containsPair","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(System.Collections.Generic.KeyValuePair$2(n,t))+"$contains","removePair","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(System.Collections.Generic.KeyValuePair$2(n,t))+"$remove","copyTo","System$Collections$ICollection$copyTo","get","System$Collections$IDictionary$getItem","set","System$Collections$IDictionary$setItem","containsKey","System$Collections$IDictionary$containsKey","add","System$Collections$IDictionary$add","remove","System$Collections$IDictionary$remove","getIsReadOnly","System$Collections$IDictionary$getIsReadOnly","getKeys","System$Collections$IDictionary$getKeys","getValues","System$Collections$IDictionary$getValues","IsReadOnly","System$Collections$IDictionary$IsReadOnly","Keys","System$Collections$IDictionary$Keys","Values","System$Collections$IDictionary$Values","get","System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$getItem","Keys","System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$Keys","getKeys","System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$getKeys","getValues","System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$getValues","Values","System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$Values","containsKey","System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$containsKey","tryGetValue","System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(n)+"$"+Bridge.getTypeAlias(t)+"$tryGetValue"]},noKeyCheck:!1,ctor:function(i,r){var f,e,o,s,u;if(this.$initialize(),this.comparer=r||System.Collections.Generic.EqualityComparer$1(n).def,this.clear(),this.isSimpleKey=(n===System.String||n.$number===!0&&n!==System.Int64&&n!==System.UInt64||n===System.Char)&&this.comparer===System.Collections.Generic.EqualityComparer$1(n).def,Bridge.is(i,System.Collections.Generic.Dictionary$2(n,t)))for(f=Bridge.getEnumerator(i);f.moveNext();)e=f.Current,this.add(e.key,e.value);else if(Object.prototype.toString.call(i)==="[object Object]")for(o=Object.keys(i),u=0;u<o.length;u++)s=o[u],this.add(s,i[s])},containsPair:function(n){var t=this.findEntry(n.key);return t&&this.comparer.equals2(t.value,n.value)},removePair:function(n){var t=this.findEntry(n.key);return t&&this.comparer.equals2(t.value,n.value)?(this.remove(n.key),!0):!1},copyTo:function(n,t){var i=System.Linq.Enumerable.from(this).toArray();System.Array.copy(i,0,n,t,i.length)},getIsReadOnly:function(){return!!this.readOnly},getKeys:function(){var i=[],r,t;if(this.isSimpleKey)i=this.keys;else for(t=0;t<this.keys.length;t++){if(r=this.entries[this.keys[t]],r.length!=1)throw new System.Exception("The single dictionary key has more than one entries at key: "+this.keys[t]);i.push(r[0].key)}return System.Array.init(i,n)},getValues:function(){var i=[],r,n;if(this.isSimpleKey)for(n=0;n<this.keys.length;n++)i.push(this.entries[this.keys[n]].value);else for(n=0;n<this.keys.length;n++){if(r=this.entries[this.keys[n]],r.length!=1)throw new System.Exception("The single dictionary value has more than one entries at key: "+this.keys[n]);i.push(r[0].value)}return System.Array.init(i,t)},clear:function(){this.entries={};this.keys=[];this.count=0},findEntry:function(n){var r,i,t;if(this.isSimpleKey)return this.entries.hasOwnProperty(n)?this.entries[n]:void 0;if(r=this.comparer.getHashCode2(n),Bridge.isDefined(this.entries[r]))for(i=this.entries[r],t=0;t<i.length;t++)if(this.comparer.equals2(i[t].key,n))return i[t]},containsKey:function(n){return!!this.findEntry(n)},containsValue:function(n){var t,i,r;for(t in this.entries)if(this.entries.hasOwnProperty(t))for(r=this.isSimpleKey?[this.entries[t]]:this.entries[t],i=0;i<r.length;i++)if(this.comparer.equals2(r[i].value,n))return!0;return!1},get:function(n){var i=this.findEntry(n);if(!i){if(this.noKeyCheck)return Bridge.getDefaultValue(t);throw new System.Collections.Generic.KeyNotFoundException("Key "+n+" does not exist.");}return i.value},getItem:function(n){return this.get(n)},set:function(i,r,u){var f=this.findEntry(i),e;if(f){if(u)throw new System.ArgumentException("Key "+i+" already exists.");f.value=r;return}f=new(System.Collections.Generic.KeyValuePair$2(n,t))(i,r);this.isSimpleKey?(this.entries[i]=f,this.keys.push(i)):(e=this.comparer.getHashCode2(i),this.entries[e]?this.entries[e].push(f):(this.entries[e]=[f],this.keys.push(e)));this.count++},setItem:function(n,t,i){this.set(n,t,i)},add:function(n,t){this.set(n,t,!0)},addPair:function(n){this.set(n.key,n.value,!0)},remove:function(n){var t,i,r;if(this.isSimpleKey)return this.entries.hasOwnProperty(n)?(delete this.entries[n],this.keys.splice(this.keys.indexOf(n),1),this.count--,!0):!1;if(t=this.comparer.getHashCode2(n),!this.entries[t])return!1;for(i=this.entries[t],r=0;r<i.length;r++)if(this.comparer.equals2(i[r].key,n))return i.splice(r,1),i.length==0&&(delete this.entries[t],this.keys.splice(this.keys.indexOf(t),1)),this.count--,!0;return!1},getCount:function(){return this.count},getComparer:function(){return this.comparer},tryGetValue:function(n,i){var r=this.findEntry(n);return i.v=r?r.value:Bridge.getDefaultValue(t),!!r},getCustomEnumerator:function(i){var u=this.keys,r=-1,f;return new Bridge.CustomEnumerator(function(){return((r<0||this.isSimpleKey||f>=this.entries[u[r]].length-1)&&(f=-1,r++),r>=u.length)?!1:(f++,!0)},function(){return r<0||r>=u.length?new(System.Collections.Generic.KeyValuePair$2(n,t)):i(this.isSimpleKey?this.entries[u[r]]:this.entries[u[r]][f])},function(){r=-1},null,this,System.Collections.Generic.KeyValuePair$2(n,t))},getEnumerator:function(){return this.getCustomEnumerator(function(n){return n})}}});System.Collections.Generic.Dictionary$2.getTypeParameters=function(n){var i,r,t;if(System.String.startsWith(n.$$name,"System.Collections.Generic.IDictionary"))i=n;else for(r=Bridge.Reflection.getInterfaces(n),t=0;t<r.length;t++)if(System.String.startsWith(r[t].$$name,"System.Collections.Generic.IDictionary")){i=r[t];break}var u=i?Bridge.Reflection.getGenericArguments(i):null,f=u?u[0]:null,e=u?u[1]:null;return[f,e]};Bridge.define("System.Collections.Generic.DictionaryCollection$1",function(n){return{inherits:[System.Collections.Generic.ICollection$1(n)],config:{alias:["getEnumerator",["System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$getEnumerator","System$Collections$Generic$IEnumerable$1$getEnumerator"],"getCount","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$getCount","add","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$add","clear","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$clear","contains","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$contains","remove","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$remove"]},ctor:function(n,t){this.$initialize();this.dictionary=n;this.keys=t},getCount:function(){return this.dictionary.getCount()},getEnumerator:function(){return this.dictionary.getCustomEnumerator(this.keys?function(n){return n.key}:function(n){return n.value})},contains:function(n){return this.keys?this.dictionary.containsKey(n):this.dictionary.containsValue(n)},add:function(){throw new System.NotSupportedException;},clear:function(){throw new System.NotSupportedException;},remove:function(){throw new System.NotSupportedException;}}});Bridge.define("System.Collections.Generic.List$1.Enumerator",function(n){return{inherits:[System.Collections.Generic.IEnumerator$1(n),System.Collections.IEnumerator],$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.List$1.Enumerator(n))}}},fields:{list:null,index:0,version:0,current:Bridge.getDefaultValue(n)},props:{Current:{get:function(){return this.current}},System$Collections$IEnumerator$Current:{get:function(){if(this.index===0||this.index===(this.list._size+1|0))throw new System.InvalidOperationException;return this.Current}}},alias:["dispose","System$IDisposable$dispose","moveNext","System$Collections$IEnumerator$moveNext","Current",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"]],ctors:{$ctor1:function(t){this.$initialize();this.list=t;this.index=0;this.version=t._version;this.current=Bridge.getDefaultValue(n)},ctor:function(){this.$initialize()}},methods:{dispose:function(){},moveNext:function(){var n=this.list;return this.version===n._version&&this.index>>>0<n._size>>>0?(this.current=n._items[System.Array.index(this.index,n._items)],this.index=this.index+1|0,!0):this.moveNextRare()},moveNextRare:function(){if(this.version!==this.list._version)throw new System.InvalidOperationException;return this.index=this.list._size+1|0,this.current=Bridge.getDefaultValue(n),!1},System$Collections$IEnumerator$reset:function(){if(this.version!==this.list._version)throw new System.InvalidOperationException;this.index=0;this.current=Bridge.getDefaultValue(n)},getHashCode:function(){return Bridge.addHash([3788985113,this.list,this.index,this.version,this.current])},equals:function(t){return Bridge.is(t,System.Collections.Generic.List$1.Enumerator(n))?Bridge.equals(this.list,t.list)&&Bridge.equals(this.index,t.index)&&Bridge.equals(this.version,t.version)&&Bridge.equals(this.current,t.current):!1},$clone:function(t){var i=t||new(System.Collections.Generic.List$1.Enumerator(n));return i.list=this.list,i.index=this.index,i.version=this.version,i.current=this.current,i}}}});Bridge.define("System.Collections.Generic.List$1",function(n){return{inherits:[System.Collections.Generic.IList$1(n),System.Collections.IList,System.Collections.Generic.IReadOnlyList$1(n)],statics:{fields:{_defaultCapacity:0,_emptyArray:null},ctors:{init:function(){this._defaultCapacity=4;this._emptyArray=System.Array.init(0,function(){return Bridge.getDefaultValue(n)},n)}},methods:{isCompatibleObject:function(t){return Bridge.is(t,n)||t==null&&Bridge.getDefaultValue(n)==null}}},fields:{_items:null,_size:0,_version:0},props:{Capacity:{get:function(){return this._items.length},set:function(t){if(t<this._size)throw new System.ArgumentOutOfRangeException("value");if(t!==this._items.length)if(t>0){var i=System.Array.init(t,function(){return Bridge.getDefaultValue(n)},n);this._size>0&&System.Array.copy(this._items,0,i,0,this._size);this._items=i}else this._items=System.Collections.Generic.List$1(n)._emptyArray}},Count:{get:function(){return this._size}},System$Collections$IList$IsFixedSize:{get:function(){return!1}},System$Collections$Generic$ICollection$1$IsReadOnly:{get:function(){return!1}},System$Collections$IList$IsReadOnly:{get:function(){return!1}},System$Collections$ICollection$IsSynchronized:{get:function(){return!1}},System$Collections$ICollection$SyncRoot:{get:function(){return this}}},alias:["Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$ICollection$Count","Count","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$ICollection$1$IsReadOnly","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$IsReadOnly","getItem",["System$Collections$Generic$IReadOnlyList$1$"+Bridge.getTypeAlias(n)+"$getItem","System$Collections$Generic$IReadOnlyList$1$getItem"],"setItem",["System$Collections$Generic$IReadOnlyList$1$"+Bridge.getTypeAlias(n)+"$setItem","System$Collections$Generic$IReadOnlyList$1$setItem"],"getItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$getItem","setItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$setItem","add","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$add","clear","System$Collections$IList$clear","clear","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$clear","contains","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$contains","copyTo","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$copyTo","System$Collections$Generic$IEnumerable$1$getEnumerator","System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$getEnumerator","indexOf","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$indexOf","insert","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$insert","remove","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$remove","removeAt","System$Collections$IList$removeAt","removeAt","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$removeAt"],ctors:{ctor:function(){this.$initialize();this._items=System.Collections.Generic.List$1(n)._emptyArray},$ctor2:function(t){if(this.$initialize(),t<0)throw new System.ArgumentOutOfRangeException("capacity");this._items=t===0?System.Collections.Generic.List$1(n)._emptyArray:System.Array.init(t,function(){return Bridge.getDefaultValue(n)},n)},$ctor1:function(t){var r,u,i;if(this.$initialize(),t==null)throw new System.ArgumentNullException("collection");if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null)u=System.Array.getCount(r,n),u===0?this._items=System.Collections.Generic.List$1(n)._emptyArray:(this._items=System.Array.init(u,function(){return Bridge.getDefaultValue(n)},n),System.Array.copyTo(r,this._items,0,n),this._size=u);else{this._size=0;this._items=System.Collections.Generic.List$1(n)._emptyArray;i=Bridge.getEnumerator(t,n);try{while(i.System$Collections$IEnumerator$moveNext())this.add(i[Bridge.geti(i,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1")])}finally{Bridge.hasValue(i)&&i.System$IDisposable$dispose()}}}},methods:{getItem:function(n){if(n>>>0>=this._size>>>0)throw new System.ArgumentOutOfRangeException;return this._items[System.Array.index(n,this._items)]},setItem:function(n,t){if(n>>>0>=this._size>>>0)throw new System.ArgumentOutOfRangeException;this._items[System.Array.index(n,this._items)]=t;this._version=this._version+1|0},System$Collections$IList$getItem:function(n){return this.getItem(n)},System$Collections$IList$setItem:function(t,i){if(i==null&&!(Bridge.getDefaultValue(n)==null))throw new System.ArgumentNullException("value");try{this.setItem(t,Bridge.cast(Bridge.unbox(i),n))}catch(r){if(r=System.Exception.create(r),Bridge.is(r,System.InvalidCastException))throw new System.ArgumentException("value");else throw r;}},add:function(n){this._size===this._items.length&&this.ensureCapacity(this._size+1|0);this._items[System.Array.index(Bridge.identity(this._size,this._size=this._size+1|0),this._items)]=n;this._version=this._version+1|0},System$Collections$IList$add:function(t){if(t==null&&!(Bridge.getDefaultValue(n)==null))throw new System.ArgumentNullException("item");try{this.add(Bridge.cast(Bridge.unbox(t),n))}catch(i){if(i=System.Exception.create(i),Bridge.is(i,System.InvalidCastException))throw new System.ArgumentException("item");else throw i;}return this.Count-1|0},addRange:function(n){this.insertRange(this._size,n)},asReadOnly:function(){return new(System.Collections.ObjectModel.ReadOnlyCollection$1(n))(this)},binarySearch$2:function(n,t,i,r){if(n<0)throw new System.ArgumentOutOfRangeException("index");if(t<0)throw new System.ArgumentOutOfRangeException("count");if((this._size-n|0)<t)throw new System.ArgumentException;return System.Array.binarySearch(this._items,n,t,i,r)},binarySearch:function(n){return this.binarySearch$2(0,this.Count,n,null)},binarySearch$1:function(n,t){return this.binarySearch$2(0,this.Count,n,t)},clear:function(){this._size>0&&(System.Array.fill(this._items,Bridge.getDefaultValue(n),0,this._size),this._size=0);this._version=this._version+1|0},contains:function(t){var i,u,r;if(t==null){for(i=0;i<this._size;i=i+1|0)if(this._items[System.Array.index(i,this._items)]==null)return!0;return!1}for(u=System.Collections.Generic.EqualityComparer$1(n).def,r=0;r<this._size;r=r+1|0)if(u.equals2(this._items[System.Array.index(r,this._items)],t))return!0;return!1},System$Collections$IList$contains:function(t){return System.Collections.Generic.List$1(n).isCompatibleObject(t)?this.contains(Bridge.cast(Bridge.unbox(t),n)):!1},convertAll:function(n,t){var r,i;if(Bridge.staticEquals(t,null))throw new System.ArgumentNullException("converter");for(r=new(System.Collections.Generic.List$1(n).$ctor2)(this._size),i=0;i<this._size;i=i+1|0)r._items[System.Array.index(i,r._items)]=t(this._items[System.Array.index(i,this._items)]);return r._size=this._size,r},copyTo$1:function(n){this.copyTo(n,0)},System$Collections$ICollection$copyTo:function(n,t){if(n!=null&&System.Array.getRank(n)!==1)throw new System.ArgumentException("array");System.Array.copy(this._items,0,n,t,this._size)},copyTo$2:function(n,t,i,r){if((this._size-n|0)<r)throw new System.ArgumentException;System.Array.copy(this._items,n,t,i,r)},copyTo:function(n,t){System.Array.copy(this._items,0,n,t,this._size)},ensureCapacity:function(t){if(this._items.length<t){var i=this._items.length===0?System.Collections.Generic.List$1(n)._defaultCapacity:Bridge.Int.mul(this._items.length,2);i>>>0>2146435071&&(i=2146435071);i<t&&(i=t);this.Capacity=i}},exists:function(n){return this.findIndex$2(n)!==-1},find:function(t){if(Bridge.staticEquals(t,null))throw new System.ArgumentNullException("match");for(var i=0;i<this._size;i=i+1|0)if(t(this._items[System.Array.index(i,this._items)]))return this._items[System.Array.index(i,this._items)];return Bridge.getDefaultValue(n)},findAll:function(t){var r,i;if(Bridge.staticEquals(t,null))throw new System.ArgumentNullException("match");for(r=new(System.Collections.Generic.List$1(n).ctor),i=0;i<this._size;i=i+1|0)t(this._items[System.Array.index(i,this._items)])&&r.add(this._items[System.Array.index(i,this._items)]);return r},findIndex$2:function(n){return this.findIndex(0,this._size,n)},findIndex$1:function(n,t){return this.findIndex(n,this._size-n|0,t)},findIndex:function(n,t,i){var u,r;if(n>>>0>this._size>>>0)throw new System.ArgumentOutOfRangeException("startIndex");if(t<0||n>(this._size-t|0))throw new System.ArgumentOutOfRangeException("count");if(Bridge.staticEquals(i,null))throw new System.ArgumentNullException("match");for(u=n+t|0,r=n;r<u;r=r+1|0)if(i(this._items[System.Array.index(r,this._items)]))return r;return-1},findLast:function(t){if(Bridge.staticEquals(t,null))throw new System.ArgumentNullException("match");for(var i=this._size-1|0;i>=0;i=i-1|0)if(t(this._items[System.Array.index(i,this._items)]))return this._items[System.Array.index(i,this._items)];return Bridge.getDefaultValue(n)},findLastIndex$2:function(n){return this.findLastIndex(this._size-1|0,this._size,n)},findLastIndex$1:function(n,t){return this.findLastIndex(n,n+1|0,t)},findLastIndex:function(n,t,i){var u,r;if(Bridge.staticEquals(i,null))throw new System.ArgumentNullException("match");if(this._size===0){if(n!==-1)throw new System.ArgumentOutOfRangeException("startIndex");}else if(n>>>0>=this._size>>>0)throw new System.ArgumentOutOfRangeException("startIndex");if(t<0||((n-t|0)+1|0)<0)throw new System.ArgumentOutOfRangeException("count");for(u=n-t|0,r=n;r>u;r=r-1|0)if(i(this._items[System.Array.index(r,this._items)]))return r;return-1},forEach:function(n){var i,t;if(Bridge.staticEquals(n,null))throw new System.ArgumentNullException("match");for(i=this._version,t=0;t<this._size;t=t+1|0){if(i!==this._version)break;n(this._items[System.Array.index(t,this._items)])}if(i!==this._version)throw new System.InvalidOperationException;},getEnumerator:function(){return new(System.Collections.Generic.List$1.Enumerator(n).$ctor1)(this)},System$Collections$Generic$IEnumerable$1$getEnumerator:function(){return new(System.Collections.Generic.List$1.Enumerator(n).$ctor1)(this).$clone()},System$Collections$IEnumerable$getEnumerator:function(){return new(System.Collections.Generic.List$1.Enumerator(n).$ctor1)(this).$clone()},getRange:function(t,i){if(t<0)throw new System.ArgumentOutOfRangeException("index");if(i<0)throw new System.ArgumentOutOfRangeException("count");if((this._size-t|0)<i)throw new System.ArgumentException;var r=new(System.Collections.Generic.List$1(n).$ctor2)(i);return System.Array.copy(this._items,t,r._items,0,i),r._size=i,r},indexOf:function(n){return System.Array.indexOfT(this._items,n,0,this._size)},System$Collections$IList$indexOf:function(t){return System.Collections.Generic.List$1(n).isCompatibleObject(t)?this.indexOf(Bridge.cast(Bridge.unbox(t),n)):-1},indexOf$1:function(n,t){if(t>this._size)throw new System.ArgumentOutOfRangeException("index");return System.Array.indexOfT(this._items,n,t,this._size-t|0)},indexOf$2:function(n,t,i){if(t>this._size)throw new System.ArgumentOutOfRangeException("index");if(i<0||t>(this._size-i|0))throw new System.ArgumentOutOfRangeException("count");return System.Array.indexOfT(this._items,n,t,i)},insert:function(n,t){if(n>>>0>this._size>>>0)throw new System.ArgumentOutOfRangeException("index");this._size===this._items.length&&this.ensureCapacity(this._size+1|0);n<this._size&&System.Array.copy(this._items,n,this._items,n+1|0,this._size-n|0);this._items[System.Array.index(n,this._items)]=t;this._size=this._size+1|0;this._version=this._version+1|0},System$Collections$IList$insert:function(t,i){if(i==null&&!(Bridge.getDefaultValue(n)==null))throw new System.ArgumentNullException("item");try{this.insert(t,Bridge.cast(Bridge.unbox(i),n))}catch(r){if(r=System.Exception.create(r),Bridge.is(r,System.InvalidCastException))throw new System.ArgumentException("item");else throw r;}},insertRange:function(t,i){var f,r,e,u;if(i==null)throw new System.ArgumentNullException("collection");if(t>>>0>this._size>>>0)throw new System.ArgumentOutOfRangeException("index");if(f=Bridge.as(i,System.Collections.Generic.ICollection$1(n)),f!=null)r=System.Array.getCount(f,n),r>0&&(this.ensureCapacity(this._size+r|0),t<this._size&&System.Array.copy(this._items,t,this._items,t+r|0,this._size-t|0),Bridge.referenceEquals(this,f)?(System.Array.copy(this._items,0,this._items,t,t),System.Array.copy(this._items,t+r|0,this._items,Bridge.Int.mul(t,2),this._size-t|0)):(e=System.Array.init(r,function(){return Bridge.getDefaultValue(n)},n),System.Array.copyTo(f,e,0,n),System.Array.copy(e,0,this._items,t,e.length)),this._size=this._size+r|0);else{u=Bridge.getEnumerator(i,n);try{while(u.System$Collections$IEnumerator$moveNext())this.insert(Bridge.identity(t,t=t+1|0),u[Bridge.geti(u,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1")])}finally{Bridge.hasValue(u)&&u.System$IDisposable$dispose()}}this._version=this._version+1|0},lastIndexOf:function(n){return this._size===0?-1:this.lastIndexOf$2(n,this._size-1|0,this._size)},lastIndexOf$1:function(n,t){if(t>=this._size)throw new System.ArgumentOutOfRangeException("index");return this.lastIndexOf$2(n,t,t+1|0)},lastIndexOf$2:function(n,t,i){if(this.Count!==0&&t<0)throw new System.ArgumentOutOfRangeException("index");if(this.Count!==0&&i<0)throw new System.ArgumentOutOfRangeException("count");if(this._size===0)return-1;if(t>=this._size)throw new System.ArgumentOutOfRangeException("index");if(i>(t+1|0))throw new System.ArgumentOutOfRangeException("count");return System.Array.lastIndexOfT(this._items,n,t,i)},remove:function(n){var t=this.indexOf(n);return t>=0?(this.removeAt(t),!0):!1},System$Collections$IList$remove:function(t){System.Collections.Generic.List$1(n).isCompatibleObject(t)&&this.remove(Bridge.cast(Bridge.unbox(t),n))},removeAll:function(t){var i,r,u;if(Bridge.staticEquals(t,null))throw new System.ArgumentNullException("match");for(i=0;i<this._size&&!t(this._items[System.Array.index(i,this._items)]);)i=i+1|0;if(i>=this._size)return 0;for(r=i+1|0;r<this._size;){while(r<this._size&&t(this._items[System.Array.index(r,this._items)]))r=r+1|0;r<this._size&&(this._items[System.Array.index(Bridge.identity(i,i=i+1|0),this._items)]=this._items[System.Array.index(Bridge.identity(r,r=r+1|0),this._items)])}return System.Array.fill(this._items,Bridge.getDefaultValue(n),i,this._size-i|0),u=this._size-i|0,this._size=i,this._version=this._version+1|0,u},removeAt:function(t){if(t>>>0>=this._size>>>0)throw new System.ArgumentOutOfRangeException;this._size=this._size-1|0;t<this._size&&System.Array.copy(this._items,t+1|0,this._items,t,this._size-t|0);this._items[System.Array.index(this._size,this._items)]=Bridge.getDefaultValue(n);this._version=this._version+1|0},removeRange:function(t,i){if(t<0)throw new System.ArgumentOutOfRangeException("index");if(i<0)throw new System.ArgumentOutOfRangeException("count");if((this._size-t|0)<i)throw new System.ArgumentException;if(i>0){var r=this._size;this._size=this._size-i|0;t<this._size&&System.Array.copy(this._items,t+i|0,this._items,t,this._size-t|0);System.Array.fill(this._items,Bridge.getDefaultValue(n),this._size,i);this._version=this._version+1|0}},reverse:function(){this.reverse$1(0,this.Count)},reverse$1:function(n,t){if(n<0)throw new System.ArgumentOutOfRangeException("index");if(t<0)throw new System.ArgumentOutOfRangeException("count");if((this._size-n|0)<t)throw new System.ArgumentException;System.Array.reverse(this._items,n,t);this._version=this._version+1|0},sort:function(){this.sort$3(0,this.Count,null)},sort$1:function(n){this.sort$3(0,this.Count,n)},sort$3:function(n,t,i){if(n<0)throw new System.ArgumentOutOfRangeException("index");if(t<0)throw new System.ArgumentOutOfRangeException("count");if((this._size-n|0)<t)throw new System.ArgumentException;System.Array.sort(this._items,n,t,i);this._version=this._version+1|0},sort$2:function(t){if(Bridge.staticEquals(t,null))throw new System.ArgumentNullException("comparison");if(this._size>0)if(this._items.length===this._size)System.Array.sort(this._items,t);else{var i=System.Array.init(this._size,function(){return Bridge.getDefaultValue(n)},n);System.Array.copy(this._items,0,i,0,this._size);System.Array.sort(i,t);System.Array.copy(i,0,this._items,0,this._size)}},toArray:function(){var t=System.Array.init(this._size,function(){return Bridge.getDefaultValue(n)},n);return System.Array.copy(this._items,0,t,0,this._size),t},trimExcess:function(){var n=Bridge.Int.clip32(this._items.length*.9);this._size<n&&(this.Capacity=this._size)},trueForAll:function(n){if(Bridge.staticEquals(n,null))throw new System.ArgumentNullException("match");for(var t=0;t<this._size;t=t+1|0)if(!n(this._items[System.Array.index(t,this._items)]))return!1;return!0},toJSON:function(){var t=System.Array.init(this._size,function(){return Bridge.getDefaultValue(n)},n);return this._size>0&&System.Array.copy(this._items,0,t,0,this._size),t}}}});System.Collections.Generic.List$1.getElementType=function(n){var i,r,t;if(System.String.startsWith(n.$$name,"System.Collections.Generic.IList"))i=n;else for(r=Bridge.Reflection.getInterfaces(n),t=0;t<r.length;t++)if(System.String.startsWith(r[t].$$name,"System.Collections.Generic.IList")){i=r[t];break}return i?Bridge.Reflection.getGenericArguments(i)[0]:null};Bridge.define("System.Collections.ObjectModel.ReadOnlyCollection$1",function(n){return{inherits:[System.Collections.Generic.IList$1(n),System.Collections.IList,System.Collections.Generic.IReadOnlyList$1(n)],statics:{methods:{isCompatibleObject:function(t){return Bridge.is(t,n)||t==null&&Bridge.getDefaultValue(n)==null}}},fields:{list:null},props:{Count:{get:function(){return System.Array.getCount(this.list,n)}},System$Collections$ICollection$IsSynchronized:{get:function(){return!1}},System$Collections$ICollection$SyncRoot:{get:function(){return this}},Items:{get:function(){return this.list}},System$Collections$IList$IsFixedSize:{get:function(){return!0}},System$Collections$Generic$ICollection$1$IsReadOnly:{get:function(){return!0}},System$Collections$IList$IsReadOnly:{get:function(){return!0}}},alias:["Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$ICollection$Count","Count","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$Count","getItem",["System$Collections$Generic$IReadOnlyList$1$"+Bridge.getTypeAlias(n)+"$getItem","System$Collections$Generic$IReadOnlyList$1$getItem"],"contains","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$contains","copyTo","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$copyTo","getEnumerator",["System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$getEnumerator","System$Collections$Generic$IEnumerable$1$getEnumerator"],"indexOf","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$indexOf","System$Collections$Generic$ICollection$1$IsReadOnly","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$IsReadOnly","System$Collections$Generic$IList$1$getItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$getItem","System$Collections$Generic$IList$1$setItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$setItem","System$Collections$Generic$ICollection$1$add","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$add","System$Collections$Generic$ICollection$1$clear","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$clear","System$Collections$Generic$IList$1$insert","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$insert","System$Collections$Generic$ICollection$1$remove","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$remove","System$Collections$Generic$IList$1$removeAt","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$removeAt"],ctors:{ctor:function(n){if(this.$initialize(),n==null)throw new System.ArgumentNullException("list");this.list=n}},methods:{getItem:function(t){return System.Array.getItem(this.list,t,n)},System$Collections$Generic$IList$1$getItem:function(t){return System.Array.getItem(this.list,t,n)},System$Collections$Generic$IList$1$setItem:function(){throw new System.NotSupportedException;},System$Collections$IList$getItem:function(t){return System.Array.getItem(this.list,t,n)},System$Collections$IList$setItem:function(){throw new System.NotSupportedException;},contains:function(t){return System.Array.contains(this.list,t,n)},System$Collections$IList$contains:function(t){return System.Collections.ObjectModel.ReadOnlyCollection$1(n).isCompatibleObject(t)?this.contains(Bridge.cast(Bridge.unbox(t),n)):!1},copyTo:function(t,i){System.Array.copyTo(this.list,t,i,n)},System$Collections$ICollection$copyTo:function(t,i){var f,e,o,u,s,r;if(t==null)throw new System.ArgumentNullException("array");if(System.Array.getRank(t)!==1)throw new System.ArgumentException("array");if(System.Array.getLower(t,0)!==0)throw new System.ArgumentException("array");if(i<0)throw new System.ArgumentOutOfRangeException("index");if((t.length-i|0)<this.Count)throw new System.ArgumentException;if(f=Bridge.as(t,System.Array.type(n)),f!=null)System.Array.copyTo(this.list,f,i,n);else{if(e=Bridge.getType(t).$elementType||null,o=n,!(Bridge.Reflection.isAssignableFrom(e,o)||Bridge.Reflection.isAssignableFrom(o,e)))throw new System.ArgumentException;if(u=Bridge.as(t,System.Array.type(System.Object)),u==null)throw new System.ArgumentException;for(s=System.Array.getCount(this.list,n),r=0;r<s;r=r+1|0)u[System.Array.index(Bridge.identity(i,i=i+1|0),u)]=System.Array.getItem(this.list,r,n)}},getEnumerator:function(){return Bridge.getEnumerator(this.list,n)},System$Collections$IEnumerable$getEnumerator:function(){return Bridge.getEnumerator(Bridge.cast(this.list,System.Collections.IEnumerable))},indexOf:function(t){return System.Array.indexOf(this.list,t,0,null,n)},System$Collections$IList$indexOf:function(t){return System.Collections.ObjectModel.ReadOnlyCollection$1(n).isCompatibleObject(t)?this.indexOf(Bridge.cast(Bridge.unbox(t),n)):-1},System$Collections$Generic$ICollection$1$add:function(){throw new System.NotSupportedException;},System$Collections$IList$add:function(){throw new System.NotSupportedException;},System$Collections$Generic$ICollection$1$clear:function(){throw new System.NotSupportedException;},System$Collections$IList$clear:function(){throw new System.NotSupportedException;},System$Collections$Generic$IList$1$insert:function(){throw new System.NotSupportedException;},System$Collections$IList$insert:function(){throw new System.NotSupportedException;},System$Collections$Generic$ICollection$1$remove:function(){throw new System.NotSupportedException;},System$Collections$IList$remove:function(){throw new System.NotSupportedException;},System$Collections$Generic$IList$1$removeAt:function(){throw new System.NotSupportedException;},System$Collections$IList$removeAt:function(){throw new System.NotSupportedException;}}}});Bridge.define("System.String",{inherits:[System.IComparable,System.ICloneable,System.Collections.IEnumerable,System.Collections.Generic.IEnumerable$1(System.Char)],statics:{$is:function(n){return typeof n=="string"},charCodeAt:function(n,t){t=t||0;var i=n.charCodeAt(t),u,r;if(55296<=i&&i<=56319){if(u=i,r=n.charCodeAt(t+1),isNaN(r))throw new System.Exception("High surrogate not followed by low surrogate");return(u-55296)*1024+(r-56320)+65536}return 56320<=i&&i<=57343?!1:i},fromCharCode:function(n){return n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(n&1023))):String.fromCharCode(n)},fromCharArray:function(n,t,i){var u,r,f;if(n==null)throw new System.ArgumentNullException("chars");if(t<0)throw new System.ArgumentOutOfRangeException("startIndex");if(i<0)throw new System.ArgumentOutOfRangeException("length");if(n.length-t<i)throw new System.ArgumentOutOfRangeException("startIndex");for(u="",t=t||0,i=Bridge.isNumber(i)?i:n.length,t+i>n.length&&(i=n.length-t),r=0;r<i;r++)f=n[r+t]|0,u+=String.fromCharCode(f);return u},lastIndexOf:function(n,t,i,r){var u=n.lastIndexOf(t,i);return u<i-r+1?-1:u},lastIndexOfAny:function(n,t,i,r){var e=n.length,f,u;if(!e)return-1;for(t=String.fromCharCode.apply(null,t),i=i||e-1,r=r||e,f=i-r+1,f<0&&(f=0),u=i;u>=f;u--)if(t.indexOf(n.charAt(u))>=0)return u;return-1},isNullOrWhiteSpace:function(n){return n?System.Char.isWhiteSpace(n):!0},isNullOrEmpty:function(n){return!n},fromCharCount:function(n,t){if(t>=0)return String(Array(t+1).join(String.fromCharCode(n)));throw new System.ArgumentOutOfRangeException("count","cannot be less than zero");},format:function(n,t){return System.String._format(System.Globalization.CultureInfo.getCurrentCulture(),n,Array.isArray(t)&&arguments.length==2?t:Array.prototype.slice.call(arguments,1))},formatProvider:function(n,t,i){return System.String._format(n,t,Array.isArray(i)&&arguments.length==3?i:Array.prototype.slice.call(arguments,2))},_format:function(n,t,i){if(t==null)throw new System.ArgumentNullException("format");var u=this,r=this.decodeBraceSequence;return t.replace(/(\{+)((\d+|[a-zA-Z_$]\w+(?:\.[a-zA-Z_$]\w+|\[\d+\])*)(?:\,(-?\d*))?(?:\:([^\}]*))?)(\}+)|(\{+)|(\}+)/g,function(t,f,e,o,s,h,c,l,a){return l?r(l):a?r(a):f.length%2==0||c.length%2==0?r(f)+e+r(c):r(f,!0)+u.handleElement(n,o,s,h,i)+r(c,!0)})},handleElement:function(n,t,i,r,u){var f;if(t=parseInt(t,10),t>u.length-1)throw new System.FormatException("Input string was not in a correct format.");return f=u[t],f==null&&(f=""),r&&f.$boxed&&f.type.$kind==="enum"?f=System.Enum.format(f.type,f.v,r):r&&f.$boxed&&f.type.format?f=f.type.format(Bridge.unbox(f,!0),r,n):r&&Bridge.is(f,System.IFormattable)&&(f=Bridge.format(Bridge.unbox(f,!0),r,n)),f=Bridge.isNumber(f)?Bridge.Int.format(f,r,n):Bridge.isDate(f)?System.DateTime.format(f,r,n):""+Bridge.toString(f),i&&(i=parseInt(i,10),Bridge.isNumber(i)||(i=null)),System.String.alignString(Bridge.toString(f),i)},decodeBraceSequence:function(n,t){return n.substr(0,(n.length+(t?0:1))/2)},alignString:function(n,t,i,r,u){if(n==null||!t)return n;if(i||(i=" "),Bridge.isNumber(i)&&(i=String.fromCharCode(i)),r||(r=t<0?1:2),t=Math.abs(t),u&&n.length>t&&(n=n.substring(0,t)),t+1>=n.length)switch(r){case 2:n=Array(t+1-n.length).join(i)+n;break;case 3:var f=t-n.length,e=Math.ceil(f/2),o=f-e;n=Array(o+1).join(i)+n+Array(e+1).join(i);break;case 1:default:n=n+Array(t+1-n.length).join(i)}return n},startsWith:function(n,t){return t.length?t.length>n.length?!1:(t=System.String.escape(t),n.match("^"+t)!==null):!0},endsWith:function(n,t){return t.length?t.length>n.length?!1:(t=System.String.escape(t),n.match(t+"$")!==null):!0},contains:function(n,t){if(t==null)throw new System.ArgumentNullException;return n==null?!1:n.indexOf(t)>-1},indexOfAny:function(n,t){var i,r,e,u,o,f;if(t==null)throw new System.ArgumentNullException;if(n==null||n==="")return-1;if(i=arguments.length>2?arguments[2]:0,i<0)throw new System.ArgumentOutOfRangeException("startIndex","startIndex cannot be less than zero");if(r=arguments.length>3?arguments[3]:n.length-i,r<0)throw new System.ArgumentOutOfRangeException("length","must be non-negative");if(r>n.length-i)throw new System.ArgumentOutOfRangeException("Index and length must refer to a location within the string");for(e=n.substr(i,r),u=0;u<t.length;u++)if(o=String.fromCharCode(t[u]),f=e.indexOf(o),f>-1)return f+i;return-1},indexOf:function(n,t){var i,u,f,r;if(t==null)throw new System.ArgumentNullException;if(n==null||n==="")return-1;if(i=arguments.length>2?arguments[2]:0,i<0||i>n.length)throw new System.ArgumentOutOfRangeException("startIndex","startIndex cannot be less than zero and must refer to a location within the string");if(t==="")return arguments.length>2?i:0;if(u=arguments.length>3?arguments[3]:n.length-i,u<0)throw new System.ArgumentOutOfRangeException("length","must be non-negative");if(u>n.length-i)throw new System.ArgumentOutOfRangeException("Index and length must refer to a location within the string");return(f=n.substr(i,u),r=arguments.length===5&&arguments[4]%2!=0?f.toLocaleUpperCase().indexOf(t.toLocaleUpperCase()):f.indexOf(t),r>-1)?arguments.length===5?System.String.compare(t,f.substr(r,t.length),arguments[4])===0?r+i:-1:r+i:-1},equals:function(){return System.String.compare.apply(this,arguments)===0},compare:function(n,t){if(n==null)return t==null?0:-1;if(t==null)return 1;if(arguments.length>=3)if(Bridge.isBoolean(arguments[2])){if(arguments[2]&&(n=n.toLocaleUpperCase(),t=t.toLocaleUpperCase()),arguments.length===4)return n.localeCompare(t,arguments[3].name)}else switch(arguments[2]){case 1:return n.localeCompare(t,System.Globalization.CultureInfo.getCurrentCulture().name,{sensitivity:"accent"});case 2:return n.localeCompare(t,System.Globalization.CultureInfo.invariantCulture.name);case 3:return n.localeCompare(t,System.Globalization.CultureInfo.invariantCulture.name,{sensitivity:"accent"});case 4:return n===t?0:n>t?1:-1;case 5:return n.toUpperCase()===t.toUpperCase()?0:n.toUpperCase()>t.toUpperCase()?1:-1}return n.localeCompare(t)},toCharArray:function(n,t,i){var u,r;if(t<0||t>n.length||t>n.length-i)throw new System.ArgumentOutOfRangeException("startIndex","startIndex cannot be less than zero and must refer to a location within the string");if(i<0)throw new System.ArgumentOutOfRangeException("length","must be non-negative");for(Bridge.hasValue(t)||(t=0),Bridge.hasValue(i)||(i=n.length),u=[],r=t;r<t+i;r++)u.push(n.charCodeAt(r));return u},escape:function(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},replaceAll:function(n,t,i){var r=new RegExp(System.String.escape(t),"g");return n.replace(r,i)},insert:function(n,t,i){return n>0?t.substring(0,n)+i+t.substring(n,t.length):i+t},remove:function(n,t,i){if(n==null)throw new System.NullReferenceException;if(t<0)throw new System.ArgumentOutOfRangeException("startIndex","StartIndex cannot be less than zero");if(i!=null){if(i<0)throw new System.ArgumentOutOfRangeException("count","Count cannot be less than zero");if(i>n.length-t)throw new System.ArgumentOutOfRangeException("count","Index and count must refer to a location within the string");}else if(t>=n.length)throw new System.ArgumentOutOfRangeException("startIndex","startIndex must be less than length of string");return i==null||t+i>n.length?n.substr(0,t):n.substr(0,t)+n.substr(t+i)},split:function(n,t,i,r){for(var o=!Bridge.hasValue(t)||t.length===0?new RegExp("\\s","g"):new RegExp(t.map(System.String.escape).join("|"),"g"),f=[],e,u=0;;u=o.lastIndex)if(e=o.exec(n)){if(r!==1||e.index>u){if(f.length===i-1)return f.push(n.substr(u)),f;f.push(n.substring(u,e.index))}}else return(r!==1||u!==n.length)&&f.push(n.substr(u)),f},trimEnd:function(n,t){return n.replace(t?new RegExp("["+System.String.escape(String.fromCharCode.apply(null,t))+"]+$"):/\s*$/,"")},trimStart:function(n,t){return n.replace(t?new RegExp("^["+System.String.escape(String.fromCharCode.apply(null,t))+"]+"):/^\s*/,"")},trim:function(n,t){return System.String.trimStart(System.String.trimEnd(n,t),t)},trimStartZeros:function(n){return n.replace(new RegExp("^[ 0+]+(?=.)"),"")},concat:function(n){for(var i=arguments.length==1&&Array.isArray(n)?n:[].slice.call(arguments),r="",t=0;t<i.length;t++)r+=i[t]==null?"":Bridge.toString(i[t]);return r},copyTo:function(n,t,i,r,u){if(i==null)throw new System.ArgumentNullException("destination");if(n==null)throw new System.ArgumentNullException("str");if(u<0)throw new System.ArgumentOutOfRangeException("count");if(t<0)throw new System.ArgumentOutOfRangeException("sourceIndex");if(u>n.length-t)throw new System.ArgumentOutOfRangeException("sourceIndex");if(r>i.length-u||r<0)throw new System.ArgumentOutOfRangeException("destinationIndex");if(u>0)for(var f=0;f<u;f++)i[r+f]=n.charCodeAt(t+f)}}});Bridge.Class.addExtend(System.String,[System.IComparable$1(System.String),System.IEquatable$1(System.String)]);Bridge.define("System.Threading.Tasks.Task",{inherits:[System.IDisposable],config:{alias:["dispose","System$IDisposable$dispose"]},ctor:function(n,t){this.$initialize();this.action=n;this.state=t;this.exception=null;this.status=System.Threading.Tasks.TaskStatus.created;this.callbacks=[];this.result=null},statics:{delay:function(n,t){var i=new System.Threading.Tasks.TaskCompletionSource;return setTimeout(function(){i.setResult(t)},n),i.task},fromResult:function(n,t){var i=new(System.Threading.Tasks.Task$1(t||System.Object));return i.status=System.Threading.Tasks.TaskStatus.ranToCompletion,i.result=n,i},run:function(n){var t=new System.Threading.Tasks.TaskCompletionSource;return setTimeout(function(){try{t.setResult(n())}catch(i){t.setException(System.Exception.create(i))}},0),t.task},whenAll:function(n){var t=new System.Threading.Tasks.TaskCompletionSource,r,f,e=!1,u=[],i;if(Bridge.is(n,System.Collections.IEnumerable)?n=Bridge.toArray(n):Bridge.isArray(n)||(n=Array.prototype.slice.call(arguments,0)),n.length===0)return t.setResult([]),t.task;for(f=n.length,r=new Array(n.length),i=0;i<n.length;i++)(function(i){n[i].continueWith(function(n){switch(n.status){case System.Threading.Tasks.TaskStatus.ranToCompletion:r[i]=n.getResult();break;case System.Threading.Tasks.TaskStatus.canceled:e=!0;break;case System.Threading.Tasks.TaskStatus.faulted:System.Array.addRange(u,n.exception.innerExceptions);break;default:throw new System.InvalidOperationException("Invalid task status: "+n.status);}--f==0&&(u.length>0?t.setException(u):e?t.setCanceled():t.setResult(r))})})(i);return t.task},whenAny:function(n){if(Bridge.is(n,System.Collections.IEnumerable)?n=Bridge.toArray(n):Bridge.isArray(n)||(n=Array.prototype.slice.call(arguments,0)),!n.length)throw new System.ArgumentException("At least one task is required");for(var t=new System.Threading.Tasks.TaskCompletionSource,i=0;i<n.length;i++)n[i].continueWith(function(n){switch(n.status){case System.Threading.Tasks.TaskStatus.ranToCompletion:t.trySetResult(n);break;case System.Threading.Tasks.TaskStatus.canceled:t.trySetCanceled();break;case System.Threading.Tasks.TaskStatus.faulted:t.trySetException(n.exception.innerExceptions);break;default:throw new System.InvalidOperationException("Invalid task status: "+n.status);}});return t.task},fromCallback:function(n,t){var i=new System.Threading.Tasks.TaskCompletionSource,r=Array.prototype.slice.call(arguments,2),u;return u=function(n){i.setResult(n)},r.push(u),n[t].apply(n,r),i.task},fromCallbackResult:function(n,t,i){var r=new System.Threading.Tasks.TaskCompletionSource,u=Array.prototype.slice.call(arguments,3),f;return f=function(n){r.setResult(n)},i(u,f),n[t].apply(n,u),r.task},fromCallbackOptions:function(n,t,i){var u=new System.Threading.Tasks.TaskCompletionSource,r=Array.prototype.slice.call(arguments,3),f;return f=function(n){u.setResult(n)},r[0]=r[0]||{},r[0][i]=f,n[t].apply(n,r),u.task},fromPromise:function(n,t,i,r){var u=new System.Threading.Tasks.TaskCompletionSource;return n.then||(n=n.promise()),typeof t=="number"?t=function(n){return function(){return arguments[n>=0?n:arguments.length+n]}}(t):typeof t!="function"&&(t=function(){return Array.prototype.slice.call(arguments,0)}),n.then(function(){u.setResult(t?t.apply(null,arguments):Array.prototype.slice.call(arguments,0))},function(){u.setException(i?i.apply(null,arguments):new Bridge.PromiseException(Array.prototype.slice.call(arguments,0)))},r),u.task}},continueWith:function(n,t){var i=new System.Threading.Tasks.TaskCompletionSource,r=this,u=t?function(){i.setResult(n(r))}:function(){try{i.setResult(n(r))}catch(t){i.setException(System.Exception.create(t))}};return this.isCompleted()?setTimeout(u,0):this.callbacks.push(u),i.task},start:function(){if(this.status!==System.Threading.Tasks.TaskStatus.created)throw new System.InvalidOperationException("Task was already started.");var n=this;this.status=System.Threading.Tasks.TaskStatus.running;setTimeout(function(){try{var t=n.action(n.state);delete n.action;delete n.state;n.complete(t)}catch(i){n.fail(new System.AggregateException(null,[System.Exception.create(i)]))}},0)},runCallbacks:function(){var n=this;setTimeout(function(){for(var t=0;t<n.callbacks.length;t++)n.callbacks[t](n);delete n.callbacks},0)},complete:function(n){return this.isCompleted()?!1:(this.result=n,this.status=System.Threading.Tasks.TaskStatus.ranToCompletion,this.runCallbacks(),!0)},fail:function(n){return this.isCompleted()?!1:(this.exception=n,this.status=System.Threading.Tasks.TaskStatus.faulted,this.runCallbacks(),!0)},cancel:function(){return this.isCompleted()?!1:(this.status=System.Threading.Tasks.TaskStatus.canceled,this.runCallbacks(),!0)},isCanceled:function(){return this.status===System.Threading.Tasks.TaskStatus.canceled},isCompleted:function(){return this.status===System.Threading.Tasks.TaskStatus.ranToCompletion||this.status===System.Threading.Tasks.TaskStatus.canceled||this.status===System.Threading.Tasks.TaskStatus.faulted},isFaulted:function(){return this.status===System.Threading.Tasks.TaskStatus.faulted},_getResult:function(n){switch(this.status){case System.Threading.Tasks.TaskStatus.ranToCompletion:return this.result;case System.Threading.Tasks.TaskStatus.canceled:var t=new System.Threading.Tasks.TaskCanceledException(null,this);throw n?t:new System.AggregateException(null,[t]);case System.Threading.Tasks.TaskStatus.faulted:throw n?this.exception.innerExceptions.Count>0?this.exception.innerExceptions.getItem(0):null:this.exception;default:throw new System.InvalidOperationException("Task is not yet completed.");}},getResult:function(){return this._getResult(!1)},dispose:function(){},getAwaiter:function(){return this},getAwaitedResult:function(){return this._getResult(!0)}});Bridge.define("System.Threading.Tasks.Task$1",function(){return{inherits:[System.Threading.Tasks.Task],ctor:function(n,t){this.$initialize();System.Threading.Tasks.Task.ctor.call(this,n,t)}}});Bridge.define("System.Threading.Tasks.TaskStatus",{$kind:"enum",$statics:{created:0,waitingForActivation:1,waitingToRun:2,running:3,waitingForChildrenToComplete:4,ranToCompletion:5,canceled:6,faulted:7}});Bridge.define("System.Threading.Tasks.TaskCompletionSource",{ctor:function(){this.$initialize();this.task=new System.Threading.Tasks.Task;this.task.status=System.Threading.Tasks.TaskStatus.running},setCanceled:function(){if(!this.task.cancel())throw new System.InvalidOperationException("Task was already completed.");},setResult:function(n){if(!this.task.complete(n))throw new System.InvalidOperationException("Task was already completed.");},setException:function(n){if(!this.trySetException(n))throw new System.InvalidOperationException("Task was already completed.");},trySetCanceled:function(){return this.task.cancel()},trySetResult:function(n){return this.task.complete(n)},trySetException:function(n){return Bridge.is(n,System.Exception)&&(n=[n]),this.task.fail(new System.AggregateException(null,n))}});Bridge.define("System.Threading.CancellationTokenSource",{inherits:[System.IDisposable],config:{alias:["dispose","System$IDisposable$dispose"]},ctor:function(n){this.$initialize();this.timeout=typeof n=="number"&&n>=0?setTimeout(Bridge.fn.bind(this,this.cancel),n,-1):null;this.isCancellationRequested=!1;this.token=new System.Threading.CancellationToken(this);this.handlers=[]},cancel:function(n){var i,r,t;if(!this.isCancellationRequested){for(this.isCancellationRequested=!0,i=[],r=this.handlers,this.clean(),t=0;t<r.length;t++)try{r[t].f(r[t].s)}catch(u){if(n&&n!==-1)throw u;i.push(u)}if(i.length>0&&n!==-1)throw new System.AggregateException(null,i);}},cancelAfter:function(n){this.isCancellationRequested||(this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(Bridge.fn.bind(this,this.cancel),n,-1))},register:function(n,t){if(this.isCancellationRequested)return n(t),new System.Threading.CancellationTokenRegistration;var i={f:n,s:t};return this.handlers.push(i),new System.Threading.CancellationTokenRegistration(this,i)},deregister:function(n){var t=this.handlers.indexOf(n);t>=0&&this.handlers.splice(t,1)},dispose:function(){this.clean()},clean:function(){if(this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.handlers=[],this.links){for(var n=0;n<this.links.length;n++)this.links[n].dispose();this.links=null}},statics:{createLinked:function(){var n=new System.Threading.CancellationTokenSource,i,t;for(n.links=[],i=Bridge.fn.bind(n,n.cancel),t=0;t<arguments.length;t++)n.links.push(arguments[t].register(i));return n}}});Bridge.define("System.Threading.CancellationToken",{$kind:"struct",ctor:function(n){this.$initialize();Bridge.is(n,System.Threading.CancellationTokenSource)||(n=n?System.Threading.CancellationToken.sourceTrue:System.Threading.CancellationToken.sourceFalse);this.source=n},getCanBeCanceled:function(){return!this.source.uncancellable},getIsCancellationRequested:function(){return this.source.isCancellationRequested},throwIfCancellationRequested:function(){if(this.source.isCancellationRequested)throw new System.OperationCanceledException(this);},register:function(n,t){return this.source.register(n,t)},getHashCode:function(){return Bridge.getHashCode(this.source)},equals:function(n){return n.source===this.source},equalsT:function(n){return n.source===this.source},statics:{sourceTrue:{isCancellationRequested:!0,register:function(n,t){return n(t),new System.Threading.CancellationTokenRegistration}},sourceFalse:{uncancellable:!0,isCancellationRequested:!1,register:function(){return new System.Threading.CancellationTokenRegistration}},getDefaultValue:function(){return new System.Threading.CancellationToken}}});System.Threading.CancellationToken.none=new System.Threading.CancellationToken;Bridge.define("System.Threading.CancellationTokenRegistration",{inherits:function(){return[System.IDisposable,System.IEquatable$1(System.Threading.CancellationTokenRegistration)]},$kind:"struct",config:{alias:["dispose","System$IDisposable$dispose"]},ctor:function(n,t){this.$initialize();this.cts=n;this.o=t},dispose:function(){this.cts&&(this.cts.deregister(this.o),this.cts=this.o=null)},equalsT:function(n){return this===n},equals:function(n){return this===n},statics:{getDefaultValue:function(){return new System.Threading.CancellationTokenRegistration}}});yt={isNull:function(n){return!Bridge.isDefined(n,!0)},isEmpty:function(n){return n==null||n.length===0||Bridge.is(n,System.Collections.ICollection)?n.getCount()===0:!1},isNotEmptyOrWhitespace:function(n){return Bridge.isDefined(n,!0)&&!/^$|\s+/.test(n)},isNotNull:function(n){return Bridge.isDefined(n,!0)},isNotEmpty:function(n){return!Bridge.Validation.isEmpty(n)},email:function(n){return/^(")?(?:[^\."])(?:(?:[\.])?(?:[\w\-!#$%&'*+/=?^_`{|}~]))*\1@(\w[\-\w]*\.){1,5}([A-Za-z]){2,6}$/.test(n)},url:function(n){return/(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:\.\d{1,3}){3})(?!(?:\.\d{1,3}){2})(?!\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/.test(n)},alpha:function(n){return/^[a-zA-Z_]+$/.test(n)},alphaNum:function(n){return/^[a-zA-Z_]+$/.test(n)},creditCard:function(n,t){var r,u,i,f,e=!1;if(t==="Visa")r=/^4\d{3}[- ]?\d{4}[- ]?\d{4}[- ]?\d{4}$/;else if(t==="MasterCard")r=/^5[1-5]\d{2}[- ]?\d{4}[- ]?\d{4}[- ]?\d{4}$/;else if(t==="Discover")r=/^6011[- ]?\d{4}[- ]?\d{4}[- ]?\d{4}$/;else if(t==="AmericanExpress")r=/^3[4,7]\d{13}$/;else if(t==="DinersClub")r=/^(3[0,6,8]\d{12})|(5[45]\d{14})$/;else{if(!n||n.length<13||n.length>19)return!1;r=/[^0-9 \-]+/;e=!0}if(!r.test(n))return!1;for(n=n.split(e?"-":/[- ]/).join(""),u=0,i=2-n.length%2;i<=n.length;i+=2)u+=parseInt(n.charAt(i-1));for(i=n.length%2+1;i<n.length;i+=2)f=parseInt(n.charAt(i-1))*2,u+=f<10?f:f-9;return u%10==0}};Bridge.Validation=yt;Bridge.define("System.Version",{inherits:function(){return[System.ICloneable,System.IComparable$1(System.Version),System.IEquatable$1(System.Version)]},statics:{fields:{separatorsArray:0,ZERO_CHAR_VALUE:0},ctors:{init:function(){this.separatorsArray=46;this.ZERO_CHAR_VALUE=48}},methods:{appendPositiveNumber:function(n,t){var r=t.getLength(),i;do i=n%10,n=Bridge.Int.div(n,10)|0,t.insert(r,String.fromCharCode((System.Version.ZERO_CHAR_VALUE+i|0)&65535));while(n>0)},parse:function(n){if(n==null)throw new System.ArgumentNullException("input");var t={v:new System.Version.VersionResult};if(t.v.init("input",!0),!System.Version.tryParseVersion(n,t))throw t.v.getVersionParseException();return t.v.m_parsedVersion},tryParse:function(n,t){var i={v:new System.Version.VersionResult},r;return i.v.init("input",!1),r=System.Version.tryParseVersion(n,i),t.v=i.v.m_parsedVersion,r},tryParseVersion:function(n,t){var u={},f={},e={},o={},i,r;if(n==null)return t.v.setFailure(System.Version.ParseFailureKind.ArgumentNullException),!1;if(i=System.String.split(n,[System.Version.separatorsArray].map(function(n){return String.fromCharCode(n)})),r=i.length,r<2||r>4)return t.v.setFailure(System.Version.ParseFailureKind.ArgumentException),!1;if(!System.Version.tryParseComponent(i[System.Array.index(0,i)],"version",t,u)||!System.Version.tryParseComponent(i[System.Array.index(1,i)],"version",t,f))return!1;if(r=r-2|0,r>0){if(!System.Version.tryParseComponent(i[System.Array.index(2,i)],"build",t,e))return!1;if(r=r-1|0,r>0)if(System.Version.tryParseComponent(i[System.Array.index(3,i)],"revision",t,o))t.v.m_parsedVersion=new System.Version.$ctor3(u.v,f.v,e.v,o.v);else return!1;else t.v.m_parsedVersion=new System.Version.$ctor2(u.v,f.v,e.v)}else t.v.m_parsedVersion=new System.Version.$ctor1(u.v,f.v);return!0},tryParseComponent:function(n,t,i,r){return System.Int32.tryParse(n,r)?r.v<0?(i.v.setFailure$1(System.Version.ParseFailureKind.ArgumentOutOfRangeException,t),!1):!0:(i.v.setFailure$1(System.Version.ParseFailureKind.FormatException,n),!1)},op_Equality:function(n,t){return Bridge.referenceEquals(n,null)?Bridge.referenceEquals(t,null):n.equalsT(t)},op_Inequality:function(n,t){return!System.Version.op_Equality(n,t)},op_LessThan:function(n,t){if(n==null)throw new System.ArgumentNullException("v1");return n.compareTo(t)<0},op_LessThanOrEqual:function(n,t){if(n==null)throw new System.ArgumentNullException("v1");return n.compareTo(t)<=0},op_GreaterThan:function(n,t){return System.Version.op_LessThan(t,n)},op_GreaterThanOrEqual:function(n,t){return System.Version.op_LessThanOrEqual(t,n)}}},fields:{_Major:0,_Minor:0,_Build:0,_Revision:0},props:{Major:{get:function(){return this._Major}},Minor:{get:function(){return this._Minor}},Build:{get:function(){return this._Build}},Revision:{get:function(){return this._Revision}},MajorRevision:{get:function(){return Bridge.Int.sxs(this._Revision>>16&65535)}},MinorRevision:{get:function(){return Bridge.Int.sxs(this._Revision&65535)}}},alias:["clone","System$ICloneable$clone","compareTo",["System$IComparable$1$System$Version$compareTo","System$IComparable$1$compareTo"],"equalsT","System$IEquatable$1$System$Version$equalsT"],ctors:{init:function(){this._Build=-1;this._Revision=-1},$ctor3:function(n,t,i,r){if(this.$initialize(),n<0)throw new System.ArgumentOutOfRangeException("major","Cannot be < 0");if(t<0)throw new System.ArgumentOutOfRangeException("minor","Cannot be < 0");if(i<0)throw new System.ArgumentOutOfRangeException("build","Cannot be < 0");if(r<0)throw new System.ArgumentOutOfRangeException("revision","Cannot be < 0");this._Major=n;this._Minor=t;this._Build=i;this._Revision=r},$ctor2:function(n,t,i){if(this.$initialize(),n<0)throw new System.ArgumentOutOfRangeException("major","Cannot be < 0");if(t<0)throw new System.ArgumentOutOfRangeException("minor","Cannot be < 0");if(i<0)throw new System.ArgumentOutOfRangeException("build","Cannot be < 0");this._Major=n;this._Minor=t;this._Build=i},$ctor1:function(n,t){if(this.$initialize(),n<0)throw new System.ArgumentOutOfRangeException("major","Cannot be < 0");if(t<0)throw new System.ArgumentOutOfRangeException("minor","Cannot be < 0");this._Major=n;this._Minor=t},$ctor4:function(n){this.$initialize();var t=System.Version.parse(n);this._Major=t.Major;this._Minor=t.Minor;this._Build=t.Build;this._Revision=t.Revision},ctor:function(){this.$initialize();this._Major=0;this._Minor=0}},methods:{clone:function(){var n=new System.Version.ctor;return n._Major=this._Major,n._Minor=this._Minor,n._Build=this._Build,n._Revision=this._Revision,n},compareTo$1:function(n){if(n==null)return 1;var t=Bridge.as(n,System.Version);if(System.Version.op_Equality(t,null))throw new System.ArgumentException("version should be of System.Version type");return this._Major!==t._Major?this._Major>t._Major?1:-1:this._Minor!==t._Minor?this._Minor>t._Minor?1:-1:this._Build!==t._Build?this._Build>t._Build?1:-1:this._Revision!==t._Revision?this._Revision>t._Revision?1:-1:0},compareTo:function(n){return System.Version.op_Equality(n,null)?1:this._Major!==n._Major?this._Major>n._Major?1:-1:this._Minor!==n._Minor?this._Minor>n._Minor?1:-1:this._Build!==n._Build?this._Build>n._Build?1:-1:this._Revision!==n._Revision?this._Revision>n._Revision?1:-1:0},equals:function(n){return this.equalsT(Bridge.as(n,System.Version))},equalsT:function(n){return System.Version.op_Equality(n,null)?!1:this._Major!==n._Major||this._Minor!==n._Minor||this._Build!==n._Build||this._Revision!==n._Revision?!1:!0},getHashCode:function(){var n=0;return n=n|(this._Major&15)<<28,n=n|(this._Minor&255)<<20,n=n|(this._Build&255)<<12,n|this._Revision&4095},toString:function(){return this._Build===-1?this.toString$1(2):this._Revision===-1?this.toString$1(3):this.toString$1(4)},toString$1:function(n){var t;switch(n){case 0:return"";case 1:return Bridge.toString(this._Major);case 2:return t=new System.Text.StringBuilder,System.Version.appendPositiveNumber(this._Major,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Minor,t),t.toString();default:if(this._Build===-1)throw new System.ArgumentException("Build should be > 0 if fieldCount > 2","fieldCount");if(n===3)return t=new System.Text.StringBuilder,System.Version.appendPositiveNumber(this._Major,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Minor,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Build,t),t.toString();if(this._Revision===-1)throw new System.ArgumentException("Revision should be > 0 if fieldCount > 3","fieldCount");if(n===4)return t=new System.Text.StringBuilder,System.Version.appendPositiveNumber(this._Major,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Minor,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Build,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Revision,t),t.toString();throw new System.ArgumentException("Should be < 5","fieldCount");}}}});Bridge.define("System.Version.ParseFailureKind",{$kind:"nested enum",statics:{fields:{ArgumentNullException:0,ArgumentException:1,ArgumentOutOfRangeException:2,FormatException:3}}});Bridge.define("System.Version.VersionResult",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new System.Version.VersionResult}}},fields:{m_parsedVersion:null,m_failure:0,m_exceptionArgument:null,m_argumentName:null,m_canThrow:!1},ctors:{ctor:function(){this.$initialize()}},methods:{init:function(n,t){this.m_canThrow=t;this.m_argumentName=n},setFailure:function(n){this.setFailure$1(n,"")},setFailure$1:function(n,t){if(this.m_failure=n,this.m_exceptionArgument=t,this.m_canThrow)throw this.getVersionParseException();},getVersionParseException:function(){switch(this.m_failure){case System.Version.ParseFailureKind.ArgumentNullException:return new System.ArgumentNullException(this.m_argumentName);case System.Version.ParseFailureKind.ArgumentException:return new System.ArgumentException("VersionString");case System.Version.ParseFailureKind.ArgumentOutOfRangeException:return new System.ArgumentOutOfRangeException(this.m_exceptionArgument,"Cannot be < 0");case System.Version.ParseFailureKind.FormatException:try{System.Int32.parse(this.m_exceptionArgument)}catch(n){n=System.Exception.create(n);var t;if(Bridge.is(n,System.FormatException)||Bridge.is(n,System.OverflowException))return t=n;throw n;}return new System.FormatException("InvalidString");default:return new System.ArgumentException("VersionString")}},getHashCode:function(){return Bridge.addHash([5139482776,this.m_parsedVersion,this.m_failure,this.m_exceptionArgument,this.m_argumentName,this.m_canThrow])},equals:function(n){return Bridge.is(n,System.Version.VersionResult)?Bridge.equals(this.m_parsedVersion,n.m_parsedVersion)&&Bridge.equals(this.m_failure,n.m_failure)&&Bridge.equals(this.m_exceptionArgument,n.m_exceptionArgument)&&Bridge.equals(this.m_argumentName,n.m_argumentName)&&Bridge.equals(this.m_canThrow,n.m_canThrow):!1},$clone:function(n){var t=n||new System.Version.VersionResult;return t.m_parsedVersion=this.m_parsedVersion,t.m_failure=this.m_failure,t.m_exceptionArgument=this.m_exceptionArgument,t.m_argumentName=this.m_argumentName,t.m_canThrow=this.m_canThrow,t}}});Bridge.define("System.Attribute",{statics:{getCustomAttributes:function(n,t){if(n==null)throw new System.ArgumentNullException("element");if(t==null)throw new System.ArgumentNullException("attributeType");var i=n.at||[];return t?i.filter(function(n){return Bridge.is(n,t)}):i},getCustomAttributes$1:function(n,t,i){if(n==null)throw new System.ArgumentNullException("element");if(t==null)throw new System.ArgumentNullException("attributeType");return n.getCustomAttributes(t||i)}}});Bridge.define("System.ComponentModel.INotifyPropertyChanged",{$kind:"interface"});Bridge.define("System.ComponentModel.PropertyChangedEventArgs",{ctor:function(n,t,i){this.$initialize();this.propertyName=n;this.newValue=t;this.oldValue=i}});t={};t.convert={typeCodes:{Empty:0,Object:1,DBNull:2,Boolean:3,Char:4,SByte:5,Byte:6,Int16:7,UInt16:8,Int32:9,UInt32:10,Int64:11,UInt64:12,Single:13,Double:14,Decimal:15,DateTime:16,String:18},toBoolean:function(n,i){var r,u;n=Bridge.unbox(n,!0);switch(typeof n){case"boolean":return n;case"number":return n!==0;case"string":if(r=n.toLowerCase().trim(),r==="true")return!0;if(r==="false")return!1;throw new System.FormatException("String was not recognized as a valid Boolean.");case"object":if(n==null)return!1;if(n instanceof System.Decimal)return!n.isZero();if(System.Int64.is64Bit(n))return n.ne(0)}return u=t.internal.suggestTypeCode(n),t.internal.throwInvalidCastEx(u,t.convert.typeCodes.Boolean),t.convert.convertToType(t.convert.typeCodes.Boolean,n,i||null)},toChar:function(n,i,r){var u=t.convert.typeCodes,o=Bridge.is(n,System.Char),f,e;if(n=Bridge.unbox(n,!0),n instanceof System.Decimal&&(n=n.toFloat()),(n instanceof System.Int64||n instanceof System.UInt64)&&(n=n.toNumber()),f=typeof n,r=r||t.internal.suggestTypeCode(n),r===u.String&&n==null&&(f="string"),r!==u.Object||o)switch(f){case"boolean":t.internal.throwInvalidCastEx(u.Boolean,u.Char);case"number":return e=t.internal.isFloatingType(r),(e||n%1!=0)&&t.internal.throwInvalidCastEx(r,u.Char),t.internal.validateNumberRange(n,u.Char,!0),n;case"string":if(n==null)throw new System.ArgumentNullException("value");if(n.length!==1)throw new System.FormatException("String must be exactly one character long.");return n.charCodeAt(0)}if(r===u.Object||f==="object"){if(n==null)return 0;Bridge.isDate(n)&&t.internal.throwInvalidCastEx(u.DateTime,u.Char)}return t.internal.throwInvalidCastEx(r,t.convert.typeCodes.Char),t.convert.convertToType(u.Char,n,i||null)},toSByte:function(n,i,r){return t.internal.toNumber(n,i||null,t.convert.typeCodes.SByte,r||null)},toByte:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Byte)},toInt16:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Int16)},toUInt16:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.UInt16)},toInt32:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Int32)},toUInt32:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.UInt32)},toInt64:function(n,i){var r=t.internal.toNumber(n,i||null,t.convert.typeCodes.Int64);return new System.Int64(r)},toUInt64:function(n,i){var r=t.internal.toNumber(n,i||null,t.convert.typeCodes.UInt64);return new System.UInt64(r)},toSingle:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Single)},toDouble:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Double)},toDecimal:function(n,i){return n instanceof System.Decimal?n:new System.Decimal(t.internal.toNumber(n,i||null,t.convert.typeCodes.Decimal))},toDateTime:function(n,i){var r=t.convert.typeCodes,u,f;n=Bridge.unbox(n,!0);switch(typeof n){case"boolean":t.internal.throwInvalidCastEx(r.Boolean,r.DateTime);case"number":u=t.internal.suggestTypeCode(n);t.internal.throwInvalidCastEx(u,r.DateTime);case"string":return System.DateTime.parse(n,i||null);case"object":if(n==null)return t.internal.getMinValue(r.DateTime);if(Bridge.isDate(n))return n;n instanceof System.Decimal&&t.internal.throwInvalidCastEx(r.Decimal,r.DateTime);n instanceof System.Int64&&t.internal.throwInvalidCastEx(r.Int64,r.DateTime);n instanceof System.UInt64&&t.internal.throwInvalidCastEx(r.UInt64,r.DateTime)}return f=t.internal.suggestTypeCode(n),t.internal.throwInvalidCastEx(f,t.convert.typeCodes.DateTime),t.convert.convertToType(r.DateTime,n,i||null)},toString:function(n,i,r){var u,f;if(n&&n.$boxed)return n.toString();u=t.convert.typeCodes;f=typeof n;switch(f){case"boolean":return n?"True":"False";case"number":return(r||null)===u.Char?String.fromCharCode(n):isNaN(n)?"NaN":(n%1!=0&&(n=parseFloat(n.toPrecision(15))),n.toString());case"string":return n;case"object":return n==null?"":n.toString!==Object.prototype.toString?n.toString():Bridge.isDate(n)?System.DateTime.format(n,null,i||null):n instanceof System.Decimal?n.isInteger()?n.toFixed(0,4):n.toPrecision(n.precision()):System.Int64.is64Bit(n)?n.toString():n.format?n.format(null,i||null):Bridge.getTypeName(n)}return t.convert.convertToType(t.convert.typeCodes.String,n,i||null)},toNumberInBase:function(n,i,r){var h,o,v,c,b,y,p,u,k,s,e,d;if(i!==2&&i!==8&&i!==10&&i!==16)throw new System.ArgumentException("Invalid Base.");if(h=t.convert.typeCodes,n==null)return r===h.Int64?System.Int64.Zero:r===h.UInt64?System.UInt64.Zero:0;if(n.length===0)throw new System.ArgumentOutOfRangeException("Index was out of range. Must be non-negative and less than the size of the collection.");n=n.toLowerCase();var l=t.internal.getMinValue(r),a=t.internal.getMaxValue(r),w=!1,f=0;if(n[f]==="-"){if(i!==10)throw new System.ArgumentException("String cannot contain a minus sign if the base is not 10.");if(l>=0)throw new System.OverflowException("The string was being parsed as an unsigned number and could not have a negative sign.");w=!0;++f}else n[f]==="+"&&++f;if(i===16&&n.length>=2&&n[f]==="0"&&n[f+1]==="x"&&(f+=2),i===2)o=t.internal.charsToCodes("01");else if(i===8)o=t.internal.charsToCodes("01234567");else if(i===10)o=t.internal.charsToCodes("0123456789");else if(i===16)o=t.internal.charsToCodes("0123456789abcdef");else throw new System.ArgumentException("Invalid Base.");for(v={},c=0;c<o.length;c++)b=o[c],v[b]=c;if(y=o[0],p=o[o.length-1],r===h.Int64||r===h.UInt64){for(e=f;e<n.length;e++)if(s=n[e].charCodeAt(0),!(s>=y&&s<=p))if(e===f)throw new System.FormatException("Could not find any recognizable digits.");else throw new System.FormatException("Additional non-parsable characters are at the end of the string.");if(d=r===h.Int64,u=d?new System.Int64(Bridge.$Long.fromString(n,!1,i)):new System.UInt64(Bridge.$Long.fromString(n,!0,i)),u.toString(i)!==System.String.trimStartZeros(n))throw new System.OverflowException("Value was either too large or too small.");return u}for(u=0,k=a-l+1,e=f;e<n.length;e++)if(s=n[e].charCodeAt(0),s>=y&&s<=p){if(u*=i,u+=v[s],u>t.internal.typeRanges.Int64_MaxValue)throw new System.OverflowException("Value was either too large or too small.");}else if(e===f)throw new System.FormatException("Could not find any recognizable digits.");else throw new System.FormatException("Additional non-parsable characters are at the end of the string.");if(w&&(u*=-1),u>a&&i!==10&&l<0&&(u=u-k),u<l||u>a)throw new System.OverflowException("Value was either too large or too small.");return u},toStringInBase:function(n,i,r){var w=t.convert.typeCodes,v,e,h,y,p,o,u,f,c;if(n=Bridge.unbox(n,!0),i!==2&&i!==8&&i!==10&&i!==16)throw new System.ArgumentException("Invalid Base.");var l=t.internal.getMinValue(r),a=t.internal.getMaxValue(r),s=System.Int64.is64Bit(n);if(s){if(n.lt(l)||n.gt(a))throw new System.OverflowException("Value was either too large or too small for an unsigned byte.");}else if(n<l||n>a)throw new System.OverflowException("Value was either too large or too small for an unsigned byte.");if(v=!1,s)return i===10?n.toString():n.value.toUnsigned().toString(i);if(n<0&&(i===10?(v=!0,n*=-1):n=a+1-l+n),i===2)e="01";else if(i===8)e="01234567";else if(i===10)e="0123456789";else if(i===16)e="0123456789abcdef";else throw new System.ArgumentException("Invalid Base.");for(h={},y=e.split(""),o=0;o<y.length;o++)p=y[o],h[o]=p;if(u="",n===0||s&&n.eq(0))u="0";else if(s)while(n.gt(0))f=n.mod(i),n=n.sub(f).div(i),c=h[f.toNumber()],u+=c;else while(n>0)f=n%i,n=(n-f)/i,c=h[f],u+=c;return v&&(u+="-"),u.split("").reverse().join("")},toBase64String:function(n,i,r,u){var f;if(n==null)throw new System.ArgumentNullException("inArray");if(i=i||0,r=r!=null?r:n.length,u=u||0,r<0)throw new System.ArgumentOutOfRangeException("length","Index was out of range. Must be non-negative and less than the size of the collection.");if(i<0)throw new System.ArgumentOutOfRangeException("offset","Value must be positive.");if(u<0||u>1)throw new System.ArgumentException("Illegal enum value.");if(f=n.length,i>f-r)throw new System.ArgumentOutOfRangeException("offset","Offset and length must refer to a position in the string.");if(f===0)return"";var o=u===1,s=t.internal.toBase64_CalculateAndValidateOutputLength(r,o),e=[];return e.length=s,t.internal.convertToBase64Array(e,n,i,r,o),e.join("")},toBase64CharArray:function(n,i,r,u,f,e){var o,s,c;if(n==null)throw new System.ArgumentNullException("inArray");if(u==null)throw new System.ArgumentNullException("outArray");if(r<0)throw new System.ArgumentOutOfRangeException("length","Index was out of range. Must be non-negative and less than the size of the collection.");if(i<0)throw new System.ArgumentOutOfRangeException("offsetIn","Value must be positive.");if(f<0)throw new System.ArgumentOutOfRangeException("offsetOut","Value must be positive.");if(e=e||0,e<0||e>1)throw new System.ArgumentException("Illegal enum value.");if(o=n.length,i>o-r)throw new System.ArgumentOutOfRangeException("offsetIn","Offset and length must refer to a position in the string.");if(o===0)return 0;var h=e===1,l=u.length,a=t.internal.toBase64_CalculateAndValidateOutputLength(r,h);if(f>l-a)throw new System.ArgumentOutOfRangeException("offsetOut","Either offset did not refer to a position in the string, or there is an insufficient length of destination character array.");return s=[],c=t.internal.convertToBase64Array(s,n,i,r,h),t.internal.charsToCodes(s,u,f),c},fromBase64String:function(n){if(n==null)throw new System.ArgumentNullException("s");var i=n.split("");return t.internal.fromBase64CharPtr(i,0,i.length)},fromBase64CharArray:function(n,i,r){if(n==null)throw new System.ArgumentNullException("inArray");if(r<0)throw new System.ArgumentOutOfRangeException("length","Index was out of range. Must be non-negative and less than the size of the collection.");if(i<0)throw new System.ArgumentOutOfRangeException("offset","Value must be positive.");if(i>n.length-r)throw new System.ArgumentOutOfRangeException("offset","Offset and length must refer to a position in the string.");var u=t.internal.codesToChars(n);return t.internal.fromBase64CharPtr(u,i,r)},convertToType:function(){throw new System.NotSupportedException("IConvertible interface is not supported.");}};t.internal={base64Table:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/","="],typeRanges:{Char_MinValue:0,Char_MaxValue:65535,Byte_MinValue:0,Byte_MaxValue:255,SByte_MinValue:-128,SByte_MaxValue:127,Int16_MinValue:-32768,Int16_MaxValue:32767,UInt16_MinValue:0,UInt16_MaxValue:65535,Int32_MinValue:-2147483648,Int32_MaxValue:2147483647,UInt32_MinValue:0,UInt32_MaxValue:4294967295,Int64_MinValue:System.Int64.MinValue,Int64_MaxValue:System.Int64.MaxValue,UInt64_MinValue:System.UInt64.MinValue,UInt64_MaxValue:System.UInt64.MaxValue,Single_MinValue:-340282347e30,Single_MaxValue:340282347e30,Double_MinValue:-17976931348623157e292,Double_MaxValue:17976931348623157e292,Decimal_MinValue:System.Decimal.MinValue,Decimal_MaxValue:System.Decimal.MaxValue},base64LineBreakPosition:76,getTypeCodeName:function(n){var r=t.convert.typeCodes,u,i,e,f;if(t.internal.typeCodeNames==null){u={};for(i in r)r.hasOwnProperty(i)&&(e=r[i],u[e]=i);t.internal.typeCodeNames=u}if(f=t.internal.typeCodeNames[n],f==null)throw System.ArgumentOutOfRangeException("typeCode","The specified typeCode is undefined.");return f},suggestTypeCode:function(n){var i=t.convert.typeCodes,r=typeof n;switch(r){case"boolean":return i.Boolean;case"number":return n%1!=0?i.Double:i.Int32;case"string":return i.String;case"object":if(Bridge.isDate(n))return i.DateTime;if(n!=null)return i.Object}return null},getMinValue:function(n){var i=t.convert.typeCodes;switch(n){case i.Char:return t.internal.typeRanges.Char_MinValue;case i.SByte:return t.internal.typeRanges.SByte_MinValue;case i.Byte:return t.internal.typeRanges.Byte_MinValue;case i.Int16:return t.internal.typeRanges.Int16_MinValue;case i.UInt16:return t.internal.typeRanges.UInt16_MinValue;case i.Int32:return t.internal.typeRanges.Int32_MinValue;case i.UInt32:return t.internal.typeRanges.UInt32_MinValue;case i.Int64:return t.internal.typeRanges.Int64_MinValue;case i.UInt64:return t.internal.typeRanges.UInt64_MinValue;case i.Single:return t.internal.typeRanges.Single_MinValue;case i.Double:return t.internal.typeRanges.Double_MinValue;case i.Decimal:return t.internal.typeRanges.Decimal_MinValue;case i.DateTime:return System.DateTime.getMinValue();default:return null}},getMaxValue:function(n){var i=t.convert.typeCodes;switch(n){case i.Char:return t.internal.typeRanges.Char_MaxValue;case i.SByte:return t.internal.typeRanges.SByte_MaxValue;case i.Byte:return t.internal.typeRanges.Byte_MaxValue;case i.Int16:return t.internal.typeRanges.Int16_MaxValue;case i.UInt16:return t.internal.typeRanges.UInt16_MaxValue;case i.Int32:return t.internal.typeRanges.Int32_MaxValue;case i.UInt32:return t.internal.typeRanges.UInt32_MaxValue;case i.Int64:return t.internal.typeRanges.Int64_MaxValue;case i.UInt64:return t.internal.typeRanges.UInt64_MaxValue;case i.Single:return t.internal.typeRanges.Single_MaxValue;case i.Double:return t.internal.typeRanges.Double_MaxValue;case i.Decimal:return t.internal.typeRanges.Decimal_MaxValue;case i.DateTime:return System.DateTime.getMaxValue();default:throw new System.ArgumentOutOfRangeException("typeCode","The specified typeCode is undefined.");}},isFloatingType:function(n){var i=t.convert.typeCodes;return n===i.Single||n===i.Double||n===i.Decimal},toNumber:function(n,i,r,u){var h,c,s;n=Bridge.unbox(n,!0);var f=t.convert.typeCodes,e=typeof n,o=t.internal.isFloatingType(r);u===f.String&&(e="string");(System.Int64.is64Bit(n)||n instanceof System.Decimal)&&(e="number");switch(e){case"boolean":return n?1:0;case"number":return r===f.Decimal?(t.internal.validateNumberRange(n,r,!0),new System.Decimal(n,i)):r===f.Int64?(t.internal.validateNumberRange(n,r,!0),new System.Int64(n)):r===f.UInt64?(t.internal.validateNumberRange(n,r,!0),new System.UInt64(n)):(System.Int64.is64Bit(n)?n=n.toNumber():n instanceof System.Decimal&&(n=n.toFloat()),o||n%1==0||(n=t.internal.roundToInt(n,r)),o&&(h=t.internal.getMinValue(r),c=t.internal.getMaxValue(r),n>c?n=Infinity:n<h&&(n=-Infinity)),t.internal.validateNumberRange(n,r,!1),n);case"string":if(n==null){if(i!=null)throw new System.ArgumentNullException("String","Value cannot be null.");return 0}if(o)if(r===f.Decimal){if(!/^[+-]?(\d+|\d+.|\d*\.\d+)$/.test(n)&&!/^[+-]?[0-9]+$/.test(n))throw new System.FormatException("Input string was not in a correct format.");n=System.Decimal(n,i)}else{if(!/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(n))throw new System.FormatException("Input string was not in a correct format.");n=parseFloat(n)}else{if(!/^[+-]?[0-9]+$/.test(n))throw new System.FormatException("Input string was not in a correct format.");s=n;r===f.Int64?(n=new System.Int64(n),System.String.trimStartZeros(s)!==n.toString()&&this.throwOverflow(t.internal.getTypeCodeName(r))):r===f.UInt64?(n=new System.UInt64(n),System.String.trimStartZeros(s)!==n.toString()&&this.throwOverflow(t.internal.getTypeCodeName(r))):n=parseInt(n,10)}if(isNaN(n))throw new System.FormatException("Input string was not in a correct format.");return t.internal.validateNumberRange(n,r,!0),n;case"object":if(n==null)return 0;Bridge.isDate(n)&&t.internal.throwInvalidCastEx(t.convert.typeCodes.DateTime,r)}return u=u||t.internal.suggestTypeCode(n),t.internal.throwInvalidCastEx(u,r),t.convert.convertToType(r,n,i)},validateNumberRange:function(n,i,r){var u=t.convert.typeCodes,e=t.internal.getMinValue(i),o=t.internal.getMaxValue(i),f=t.internal.getTypeCodeName(i);(i!==u.Single&&i!==u.Double||r||n!==Infinity&&n!==-Infinity)&&(i===u.Decimal||i===u.Int64||i===u.UInt64?i===u.Decimal?(System.Int64.is64Bit(n)||(e.gt(n)||o.lt(n))&&this.throwOverflow(f),n=new System.Decimal(n)):i===u.Int64?(n instanceof System.UInt64?n.gt(System.Int64.MaxValue)&&this.throwOverflow(f):n instanceof System.Decimal?(n.gt(new System.Decimal(o))||n.lt(new System.Decimal(e)))&&this.throwOverflow(f):n instanceof System.Int64||(e.toNumber()>n||o.toNumber()<n)&&this.throwOverflow(f),n=new System.Int64(n)):i===u.UInt64&&(n instanceof System.Int64?n.isNegative()&&this.throwOverflow(f):n instanceof System.Decimal?(n.gt(new System.Decimal(o))||n.lt(new System.Decimal(e)))&&this.throwOverflow(f):n instanceof System.UInt64||(e.toNumber()>n||o.toNumber()<n)&&this.throwOverflow(f),n=new System.UInt64(n)):(n<e||n>o)&&this.throwOverflow(f))},throwOverflow:function(n){throw new System.OverflowException("Value was either too large or too small for '"+n+"'.");},roundToInt:function(n,i){var r,f;if(n%1==0)return n;r=n>=0?Math.floor(n):-1*Math.floor(-n);var u=n-r,e=t.internal.getMinValue(i),o=t.internal.getMaxValue(i);if(n>=0){if(n<o+.5)return(u>.5||u===.5&&(r&1)!=0)&&++r,r}else if(n>=e-.5)return(u<-.5||u===-.5&&(r&1)!=0)&&--r,r;f=t.internal.getTypeCodeName(i);throw new System.OverflowException("Value was either too large or too small for an '"+f+"'.");},toBase64_CalculateAndValidateOutputLength:function(n,i){var f=t.internal.base64LineBreakPosition,r=~~(n/3)*4,u;if(r+=n%3!=0?4:0,r===0)return 0;if(i&&(u=~~(r/f),r%f==0&&--u,r+=u*2),r>2147483647)throw new System.OutOfMemoryException;return r},convertToBase64Array:function(n,i,r,u,f){for(var s=t.internal.base64Table,a=t.internal.base64LineBreakPosition,c=u%3,l=r+(u-c),h=0,e=0,o=r;o<l;o+=3)f&&(h===a&&(n[e++]="\r",n[e++]="\n",h=0),h+=4),n[e]=s[(i[o]&252)>>2],n[e+1]=s[(i[o]&3)<<4|(i[o+1]&240)>>4],n[e+2]=s[(i[o+1]&15)<<2|(i[o+2]&192)>>6],n[e+3]=s[i[o+2]&63],e+=4;o=l;f&&c!==0&&h===t.internal.base64LineBreakPosition&&(n[e++]="\r",n[e++]="\n");switch(c){case 2:n[e]=s[(i[o]&252)>>2];n[e+1]=s[(i[o]&3)<<4|(i[o+1]&240)>>4];n[e+2]=s[(i[o+1]&15)<<2];n[e+3]=s[64];e+=4;break;case 1:n[e]=s[(i[o]&252)>>2];n[e+1]=s[(i[o]&3)<<4];n[e+2]=s[64];n[e+3]=s[64];e+=4}return e},fromBase64CharPtr:function(n,i,r){var u,f,e;if(r<0)throw new System.ArgumentOutOfRangeException("inputLength","Index was out of range. Must be non-negative and less than the size of the collection.");if(i<0)throw new System.ArgumentOutOfRangeException("offset","Value must be positive.");while(r>0){if(u=n[i+r-1],u!==" "&&u!=="\n"&&u!=="\r"&&u!=="\t")break;r--}if(f=t.internal.fromBase64_ComputeResultLength(n,i,r),0>f)throw new System.InvalidOperationException("Contract voilation: 0 <= resultLength.");return e=[],e.length=f,t.internal.fromBase64_Decode(n,i,r,e,0,f),e},fromBase64_Decode:function(n,t,i,r,u,f){for(var k=u,a="A".charCodeAt(0),v="a".charCodeAt(0),y="0".charCodeAt(0),p="=".charCodeAt(0),d="+".charCodeAt(0),g="/".charCodeAt(0),nt=" ".charCodeAt(0),tt="\t".charCodeAt(0),it="\n".charCodeAt(0),rt="\r".charCodeAt(0),w="Z".charCodeAt(0)-"A".charCodeAt(0),ut="9".charCodeAt(0)-"0".charCodeAt(0),h=t+i,l=u+f,o,e=255,b=!1,c=!1,s;;){if(t>=h){b=!0;break}if(o=n[t].charCodeAt(0),t++,o-a>>>0<=w)o-=a;else if(o-v>>>0<=w)o-=v-26;else if(o-y>>>0<=ut)o-=y-52;else switch(o){case d:o=62;break;case g:o=63;break;case rt:case it:case nt:case tt:continue;case p:c=!0;break;default:throw new System.FormatException("The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.");}if(c)break;if(e=e<<6|o,(e&2147483648)!=0){if(l-u<3)return-1;r[u]=255&e>>16;r[u+1]=255&e>>8;r[u+2]=255&e;u+=3;e=255}}if(!b&&!c)throw new System.InvalidOperationException("Contract violation: should never get here.");if(c){if(o!==p)throw new System.InvalidOperationException("Contract violation: currCode == intEq.");if(t===h){if(e<<=6,(e&2147483648)==0)throw new System.FormatException("Invalid length for a Base-64 char array or string.");if(l-u<2)return-1;r[u]=255&e>>16;r[u+1]=255&e>>8;u+=2;e=255}else{while(t<h-1){if(s=n[t],s!==" "&&s!=="\n"&&s!=="\r"&&s!=="\t")break;t++}if(t===h-1&&n[t]==="="){if(e<<=12,(e&2147483648)==0)throw new System.FormatException("Invalid length for a Base-64 char array or string.");if(l-u<1)return-1;r[u]=255&e>>16;u++;e=255}else throw new System.FormatException("The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.");}}if(e!==255)throw new System.FormatException("Invalid length for a Base-64 char array or string.");return u-k},fromBase64_ComputeResultLength:function(n,t,i){var f;if(i<0)throw new System.ArgumentOutOfRangeException("inputLength","Index was out of range. Must be non-negative and less than the size of the collection.");for(var e=t+i,u=i,r=0;t<e;)f=n[t],t++,f<=" "?u--:f==="="&&(u--,r++);if(0>u)throw new System.InvalidOperationException("Contract violation: 0 <= usefulInputLength.");if(0>r)throw new System.InvalidOperationException("Contract violation: 0 <= padding.");if(r!==0)if(r===1)r=2;else if(r===2)r=1;else throw new System.FormatException("The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.");return~~(u/4)*3+r},charsToCodes:function(n,t,i){if(n==null)return null;i=i||0;t==null&&(t=[],t.length=n.length);for(var r=0;r<n.length;r++)t[r+i]=n[r].charCodeAt(0);return t},codesToChars:function(n,t){var i,r;if(n==null)return null;for(t=t||[],i=0;i<n.length;i++)r=n[i],t[i]=String.fromCharCode(r);return t},throwInvalidCastEx:function(n,i){var r=t.internal.getTypeCodeName(n),u=t.internal.getTypeCodeName(i);throw new System.InvalidCastException("Invalid cast from '"+r+"' to '"+u+"'.");}};System.Convert=t.convert;Bridge.define("System.Net.WebSockets.ClientWebSocket",{inherits:[System.IDisposable],ctor:function(){this.$initialize();this.messageBuffer=[];this.state="none";this.options=new System.Net.WebSockets.ClientWebSocketOptions;this.disposed=!1;this.closeStatus=null;this.closeStatusDescription=null},getCloseStatus:function(){return this.closeStatus},getState:function(){return this.state},getCloseStatusDescription:function(){return this.closeStatusDescription},getSubProtocol:function(){return this.socket?this.socket.protocol:null},connectAsync:function(n){if(this.state!=="none")throw new System.InvalidOperationException("Socket is not in initial state");this.options.setToReadOnly();this.state="connecting";var i=new System.Threading.Tasks.TaskCompletionSource,t=this;try{this.socket=new WebSocket(n.getAbsoluteUri(),this.options.requestedSubProtocols);this.socket.binaryType="arraybuffer";this.socket.onopen=function(){t.state="open";i.setResult(null)};this.socket.onmessage=function(n){var u=n.data,r={},i,f;if(r.bytes=[],typeof u=="string"){for(i=0;i<u.length;++i)r.bytes.push(u.charCodeAt(i));r.messageType="text";t.messageBuffer.push(r);return}if(u instanceof ArrayBuffer){for(f=new Uint8Array(u),i=0;i<f.length;i++)r.bytes.push(f[i]);r.messageType="binary";t.messageBuffer.push(r);return}throw new System.ArgumentException("Invalid message type.");};this.socket.onclose=function(n){t.state="closed";t.closeStatus=n.code;t.closeStatusDescription=n.reason}}catch(r){i.setException(System.Exception.create(r))}return i.task},sendAsync:function(n,t){var r,i;this.throwIfNotConnected();r=new System.Threading.Tasks.TaskCompletionSource;try{if(t==="close")this.socket.close();else{var e=n.getArray(),f=n.getCount(),o=n.getOffset(),u=new Uint8Array(f);for(i=0;i<f;i++)u[i]=e[i+o];t==="text"&&(u=String.fromCharCode.apply(null,u));this.socket.send(u)}r.setResult(null)}catch(s){r.setException(System.Exception.create(s))}return r.task},receiveAsync:function(n,t){this.throwIfNotConnected();var u,i=new System.Threading.Tasks.TaskCompletionSource,r=this,f=Bridge.fn.bind(this,function(){var e,o,s,c,h;try{if(t.getIsCancellationRequested()){i.setException(new System.Threading.Tasks.TaskCanceledException("Receive has been cancelled.",i.task));return}if(r.messageBuffer.length===0){u=System.Threading.Tasks.Task.delay(0);u.continueWith(f);return}for(e=r.messageBuffer[0],o=n.getArray(),e.bytes.length<=o.length?(r.messageBuffer.shift(),s=e.bytes,c=!0):(s=e.bytes.slice(0,o.length),e.bytes=e.bytes.slice(o.length,e.bytes.length),c=!1),h=0;h<s.length;h++)o[h]=s[h];i.setResult(new System.Net.WebSockets.WebSocketReceiveResult(s.length,e.messageType,c))}catch(l){i.setException(System.Exception.create(l))}},arguments);return f(),i.task},closeAsync:function(n,t,i){if(this.throwIfNotConnected(),this.state!=="open")throw new System.InvalidOperationException("Socket is not in connected state");var r=new System.Threading.Tasks.TaskCompletionSource,e=this,u,f=function(){if(e.state==="closed"){r.setResult(null);return}if(i.getIsCancellationRequested()){r.setException(new System.Threading.Tasks.TaskCanceledException("Closing has been cancelled.",r.task));return}u=System.Threading.Tasks.Task.delay(0);u.continueWith(f)};try{this.state="closesent";this.socket.close(n,t)}catch(o){r.setException(System.Exception.create(o))}return f(),r.task},closeOutputAsync:function(n,t){if(this.throwIfNotConnected(),this.state!=="open")throw new System.InvalidOperationException("Socket is not in connected state");var i=new System.Threading.Tasks.TaskCompletionSource;try{this.state="closesent";this.socket.close(n,t);i.setResult(null)}catch(r){i.setException(System.Exception.create(r))}return i.task},abort:function(){this.dispose()},dispose:function(){this.disposed||(this.disposed=!0,this.messageBuffer=[],state==="open"&&(this.state="closesent",this.socket.close()))},throwIfNotConnected:function(){if(this.disposed)throw new System.InvalidOperationException("Socket is disposed.");if(this.socket.readyState!==1)throw new System.InvalidOperationException("Socket is not connected.");}});Bridge.define("System.Net.WebSockets.ClientWebSocketOptions",{ctor:function(){this.$initialize();this.isReadOnly=!1;this.requestedSubProtocols=[]},setToReadOnly:function(){if(this.isReadOnly)throw new System.InvalidOperationException("Options are already readonly.");this.isReadOnly=!0},addSubProtocol:function(n){if(this.isReadOnly)throw new System.InvalidOperationException("Socket already started.");if(this.requestedSubProtocols.indexOf(n)>-1)throw new System.ArgumentException("Socket cannot have duplicate sub-protocols.","subProtocol");this.requestedSubProtocols.push(n)}});Bridge.define("System.Net.WebSockets.WebSocketReceiveResult",{ctor:function(n,t,i,r,u){this.$initialize();this.count=n;this.messageType=t;this.endOfMessage=i;this.closeStatus=r;this.closeStatusDescription=u},getCount:function(){return this.count},getMessageType:function(){return this.messageType},getEndOfMessage:function(){return this.endOfMessage},getCloseStatus:function(){return this.closeStatus},getCloseStatusDescription:function(){return this.closeStatusDescription}});Bridge.assembly("System",{},function(){Bridge.define("System.Uri",{statics:{methods:{equals:function(n,t){return n==t?!0:n==null||t==null?!1:t.equals(n)},notEquals:function(n,t){return!System.Uri.equals(n,t)}}},ctor:function(n){this.$initialize();this.absoluteUri=n},getAbsoluteUri:function(){return this.absoluteUri},toJSON:function(){return this.absoluteUri},toString:function(){return this.absoluteUri},equals:function(n){return n==null||!Bridge.is(n,System.Uri)?!1:this.absoluteUri===n.absoluteUri}})},!0);Bridge.define("Bridge.GeneratorEnumerable",{inherits:[System.Collections.IEnumerable],config:{alias:["getEnumerator","System$Collections$IEnumerable$getEnumerator"]},ctor:function(n){this.$initialize();this.getEnumerator=n;this.System$Collections$IEnumerable$getEnumerator=n}});Bridge.define("Bridge.GeneratorEnumerable$1",function(n){return{inherits:[System.Collections.Generic.IEnumerable$1(n)],config:{alias:["getEnumerator",["System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$getEnumerator","System$Collections$Generic$IEnumerable$1$getEnumerator"]]},ctor:function(t){this.$initialize();this.getEnumerator=t;this["System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$getEnumerator"]=t;this.System$Collections$Generic$IEnumerable$1$getEnumerator=t}}});Bridge.define("Bridge.GeneratorEnumerator",{inherits:[System.Collections.IEnumerator],current:null,config:{properties:{Current:{get:function(){return this.getCurrent()}}},alias:["getCurrent","System$Collections$IEnumerator$getCurrent","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset","Current","System$Collections$IEnumerator$Current"]},ctor:function(n){this.$initialize();this.moveNext=n;this.System$Collections$IEnumerator$moveNext=n},getCurrent:function(){return this.current},getCurrent$1:function(){return this.current},reset:function(){throw new System.NotSupportedException;}});Bridge.define("Bridge.GeneratorEnumerator$1",function(n){return{inherits:[System.Collections.Generic.IEnumerator$1(n),System.IDisposable],current:null,config:{properties:{Current:{get:function(){return this.getCurrent()}},Current$1:{get:function(){return this.getCurrent()}}},alias:["getCurrent",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$getCurrent$1","System$Collections$Generic$IEnumerator$1$getCurrent$1"],"Current",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"],"Current","System$Collections$IEnumerator$Current","dispose","System$IDisposable$dispose","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset"]},ctor:function(n,t){this.$initialize();this.moveNext=n;this.System$Collections$IEnumerator$moveNext=n;this.final=t},getCurrent:function(){return this.current},getCurrent$1:function(){return this.current},System$Collections$IEnumerator$getCurrent:function(){return this.current},dispose:function(){this.final&&this.final()},reset:function(){throw new System.NotSupportedException;}}}),function(n,t){var f={Identity:function(n){return n},True:function(){return!0},Blank:function(){}},o={Boolean:"boolean",Number:"number",String:"string",Object:"object",Undefined:typeof t,Function:typeof function(){}},w={"":f.Identity},r={createLambda:function(n){var t,l,i,a,u,e,r,s,h,v,c;if(n==null)return f.Identity;if(typeof n===o.String){if(t=w[n],t!=null)return t;if(n.indexOf("=>")===-1){for(l=new RegExp("[$]+","g"),i=0;(a=l.exec(n))!=null;)u=a[0].length,u>i&&(i=u);for(e=[],r=1;r<=i;r++){for(s="",h=0;h<r;h++)s+="$";e.push(s)}return v=Array.prototype.join.call(e,","),t=new Function(v,"return "+n),w[n]=t,t}return c=n.match(/^[(\s]*([^()]*?)[)\s]*=>(.*)/),t=new Function(c[1],"return "+c[2]),w[n]=t,t}return n},isIEnumerable:function(n){if(typeof Enumerator!==o.Undefined)try{return new Enumerator(n),!0}catch(t){}return!1},defineProperty:Object.defineProperties!=null?function(n,t,i){Object.defineProperty(n,t,{enumerable:!1,configurable:!0,writable:!0,value:i})}:function(n,t,i){n[t]=i},compare:function(n,t){return n===t?0:n>t?1:-1},dispose:function(n){n!=null&&n.dispose()}},a={Before:0,Running:1,After:2},u=function(n,t,i){var u=new b,r=a.Before;this.getCurrent=u.getCurrent;this.reset=function(){throw new Error("Reset is not supported");};this.moveNext=function(){try{switch(r){case a.Before:r=a.Running;n();case a.Running:return t.apply(u)?!0:(this.dispose(),!1);case a.After:return!1}}catch(i){this.dispose();throw i;}};this.dispose=function(){if(r==a.Running)try{i()}finally{r=a.After}};this.System$IDisposable$dispose=this.dispose;this.getCurrent$1=this.getCurrent;this.System$Collections$IEnumerator$getCurrent=this.getCurrent;this.System$Collections$IEnumerator$moveNext=this.moveNext;this.System$Collections$IEnumerator$reset=this.reset;Object.defineProperties(this,{Current$1:{get:this.getCurrent,enumerable:!0},Current:{get:this.getCurrent,enumerable:!0},System$Collections$IEnumerator$Current:{get:this.getCurrent,enumerable:!0}})},b,i,k,s,v,p,e,c,l,y,h;u.$$inherits=[];Bridge.Class.addExtend(u,[System.IDisposable,System.Collections.IEnumerator]);b=function(){var n=null;this.getCurrent=function(){return n};this.yieldReturn=function(t){return n=t,!0};this.yieldBreak=function(){return!1}};i=function(n){this.getEnumerator=n};i.$$inherits=[];Bridge.Class.addExtend(i,[System.Collections.IEnumerable]);i.Utils={};i.Utils.createLambda=function(n){return r.createLambda(n)};i.Utils.createEnumerable=function(n){return new i(n)};i.Utils.createEnumerator=function(n,t,i){return new u(n,t,i)};i.Utils.extendTo=function(n){var u=n.prototype,o,t,f;n===Array?(o=e.prototype,r.defineProperty(u,"getSource",function(){return this})):(o=i.prototype,r.defineProperty(u,"getEnumerator",function(){return i.from(this).getEnumerator()}));for(t in o)(f=o[t],u[t]!=f)&&(u[t]==null||(t=t+"ByLinq",u[t]!=f))&&f instanceof Function&&r.defineProperty(u,t,f)};i.choice=function(){var n=arguments;return new i(function(){return new u(function(){n=n[0]instanceof Array?n[0]:n[0].getEnumerator!=null?n[0].toArray():n},function(){return this.yieldReturn(n[Math.floor(Math.random()*n.length)])},f.Blank)})};i.cycle=function(){var n=arguments;return new i(function(){var t=0;return new u(function(){n=n[0]instanceof Array?n[0]:n[0].getEnumerator!=null?n[0].toArray():n},function(){return t>=n.length&&(t=0),this.yieldReturn(n[t++])},f.Blank)})};k=new i(function(){return new u(f.Blank,function(){return!1},f.Blank)});i.empty=function(){return k};i.from=function(n){if(n==null)return i.empty();if(n instanceof i)return n;if(typeof n==o.Number||typeof n==o.Boolean)return i.repeat(n,1);if(typeof n==o.String)return new i(function(){var t=0;return new u(f.Blank,function(){return t<n.length?this.yieldReturn(n.charCodeAt(t++)):!1},f.Blank)});var t=Bridge.as(n,System.Collections.IEnumerable);if(t)return new i(function(){var n;return new u(function(){n=Bridge.getEnumerator(t)},function(){var t=n.moveNext();return t?this.yieldReturn(n.Current):!1},function(){var t=Bridge.as(n,System.IDisposable);t&&t.dispose()})});if(typeof n!=o.Function){if(typeof n.length==o.Number)return new e(n);if(!(n instanceof Object)&&r.isIEnumerable(n))return new i(function(){var i=!0,t;return new u(function(){t=new Enumerator(n)},function(){return i?i=!1:t.moveNext(),t.atEnd()?!1:this.yieldReturn(t.item())},f.Blank)});if(typeof Windows===o.Object&&typeof n.first===o.Function)return new i(function(){var i=!0,t;return new u(function(){t=n.first()},function(){return i?i=!1:t.moveNext(),t.hasCurrent?this.yieldReturn(t.current):this.yieldBreak()},f.Blank)})}return new i(function(){var t=[],i=0;return new u(function(){var i,r;for(i in n)r=n[i],r instanceof Function||!Object.prototype.hasOwnProperty.call(n,i)||t.push({key:i,value:r})},function(){return i<t.length?this.yieldReturn(t[i++]):!1},f.Blank)})};i.make=function(n){return i.repeat(n,1)};i.matches=function(n,t,r){return r==null&&(r=""),t instanceof RegExp&&(r+=t.ignoreCase?"i":"",r+=t.multiline?"m":"",t=t.source),r.indexOf("g")===-1&&(r+="g"),new i(function(){var i;return new u(function(){i=new RegExp(t,r)},function(){var t=i.exec(n);return t?this.yieldReturn(t):!1},f.Blank)})};i.range=function(n,t,r){return r==null&&(r=1),new i(function(){var i,e=0;return new u(function(){i=n-r},function(){return e++<t?this.yieldReturn(i+=r):this.yieldBreak()},f.Blank)})};i.rangeDown=function(n,t,r){return r==null&&(r=1),new i(function(){var i,e=0;return new u(function(){i=n+r},function(){return e++<t?this.yieldReturn(i-=r):this.yieldBreak()},f.Blank)})};i.rangeTo=function(n,t,r){return r==null&&(r=1),n<t?new i(function(){var i;return new u(function(){i=n-r},function(){var n=i+=r;return n<=t?this.yieldReturn(n):this.yieldBreak()},f.Blank)}):new i(function(){var i;return new u(function(){i=n+r},function(){var n=i-=r;return n>=t?this.yieldReturn(n):this.yieldBreak()},f.Blank)})};i.repeat=function(n,t){return t!=null?i.repeat(n).take(t):new i(function(){return new u(f.Blank,function(){return this.yieldReturn(n)},f.Blank)})};i.repeatWithFinalize=function(n,t){return n=r.createLambda(n),t=r.createLambda(t),new i(function(){var i;return new u(function(){i=n()},function(){return this.yieldReturn(i)},function(){i!=null&&(t(i),i=null)})})};i.generate=function(n,t){return t!=null?i.generate(n).take(t):(n=r.createLambda(n),new i(function(){return new u(f.Blank,function(){return this.yieldReturn(n())},f.Blank)}))};i.toInfinity=function(n,t){return n==null&&(n=0),t==null&&(t=1),new i(function(){var i;return new u(function(){i=n-t},function(){return this.yieldReturn(i+=t)},f.Blank)})};i.toNegativeInfinity=function(n,t){return n==null&&(n=0),t==null&&(t=1),new i(function(){var i;return new u(function(){i=n+t},function(){return this.yieldReturn(i-=t)},f.Blank)})};i.unfold=function(n,t){return t=r.createLambda(t),new i(function(){var r=!0,i;return new u(f.Blank,function(){return r?(r=!1,i=n,this.yieldReturn(i)):(i=t(i),this.yieldReturn(i))},f.Blank)})};i.defer=function(n){return new i(function(){var t;return new u(function(){t=i.from(n()).getEnumerator()},function(){return t.moveNext()?this.yieldReturn(t.Current):this.yieldBreak()},function(){r.dispose(t)})})};i.prototype.traverseBreadthFirst=function(n,t){var f=this;return n=r.createLambda(n),t=r.createLambda(t),new i(function(){var e,s=0,o=[];return new u(function(){e=f.getEnumerator()},function(){for(;;){if(e.moveNext())return o.push(e.Current),this.yieldReturn(t(e.Current,s));var u=i.from(o).selectMany(function(t){return n(t)});if(u.any())s++,o=[],r.dispose(e),e=u.getEnumerator();else return!1}},function(){r.dispose(e)})})};i.prototype.traverseDepthFirst=function(n,t){var f=this;return n=r.createLambda(n),t=r.createLambda(t),new i(function(){var o=[],e;return new u(function(){e=f.getEnumerator()},function(){for(;;){if(e.moveNext()){var u=t(e.Current,o.length);return o.push(e),e=i.from(n(e.Current)).getEnumerator(),this.yieldReturn(u)}if(o.length<=0)return!1;r.dispose(e);e=o.pop()}},function(){try{r.dispose(e)}finally{i.from(o).forEach(function(n){n.dispose()})}})})};i.prototype.flatten=function(){var n=this;return new i(function(){var e,t=null;return new u(function(){e=n.getEnumerator()},function(){for(;;){if(t!=null){if(t.moveNext())return this.yieldReturn(t.Current);t=null}if(e.moveNext())if(e.Current instanceof Array){r.dispose(t);t=i.from(e.Current).selectMany(f.Identity).flatten().getEnumerator();continue}else return this.yieldReturn(e.Current);return!1}},function(){try{r.dispose(e)}finally{r.dispose(t)}})})};i.prototype.pairwise=function(n){var t=this;return n=r.createLambda(n),new i(function(){var i;return new u(function(){i=t.getEnumerator();i.moveNext()},function(){var t=i.Current;return i.moveNext()?this.yieldReturn(n(t,i.Current)):!1},function(){r.dispose(i)})})};i.prototype.scan=function(n,t){var f,e;return t==null?(t=r.createLambda(n),f=!1):(t=r.createLambda(t),f=!0),e=this,new i(function(){var i,o,s=!0;return new u(function(){i=e.getEnumerator()},function(){if(s){if(s=!1,f)return this.yieldReturn(o=n);if(i.moveNext())return this.yieldReturn(o=i.Current)}return i.moveNext()?this.yieldReturn(o=t(o,i.Current)):!1},function(){r.dispose(i)})})};i.prototype.select=function(n){if(n=r.createLambda(n),n.length<=1)return new l(this,null,n);var t=this;return new i(function(){var i,f=0;return new u(function(){i=t.getEnumerator()},function(){return i.moveNext()?this.yieldReturn(n(i.Current,f++)):!1},function(){r.dispose(i)})})};i.prototype.selectMany=function(n,f){var e=this;return n=r.createLambda(n),f==null&&(f=function(n,t){return t}),f=r.createLambda(f),new i(function(){var s,o=t,h=0;return new u(function(){s=e.getEnumerator()},function(){if(o===t&&!s.moveNext())return!1;do{if(o==null){var u=n(s.Current,h++);o=i.from(u).getEnumerator()}if(o.moveNext())return this.yieldReturn(f(s.Current,o.Current));r.dispose(o);o=null}while(s.moveNext());return!1},function(){try{r.dispose(s)}finally{r.dispose(o)}})})};i.prototype.where=function(n){if(n=r.createLambda(n),n.length<=1)return new c(this,n);var t=this;return new i(function(){var i,f=0;return new u(function(){i=t.getEnumerator()},function(){while(i.moveNext())if(n(i.Current,f++))return this.yieldReturn(i.Current);return!1},function(){r.dispose(i)})})};i.prototype.choose=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i,f=0;return new u(function(){i=t.getEnumerator()},function(){while(i.moveNext()){var t=n(i.Current,f++);if(t!=null)return this.yieldReturn(t)}return this.yieldBreak()},function(){r.dispose(i)})})};i.prototype.ofType=function(n){var t=this;return new i(function(){var i;return new u(function(){i=Bridge.getEnumerator(t)},function(){while(i.moveNext()){var t=Bridge.as(i.Current,n);if(Bridge.hasValue(t))return this.yieldReturn(t)}return!1},function(){r.dispose(i)})})};i.prototype.zip=function(){var e=arguments,n=r.createLambda(arguments[arguments.length-1]),t=this,f;return arguments.length==2?(f=arguments[0],new i(function(){var e,o,s=0;return new u(function(){e=t.getEnumerator();o=i.from(f).getEnumerator()},function(){return e.moveNext()&&o.moveNext()?this.yieldReturn(n(e.Current,o.Current,s++)):!1},function(){try{r.dispose(e)}finally{r.dispose(o)}})})):new i(function(){var f,o=0;return new u(function(){var n=i.make(t).concat(i.from(e).takeExceptLast().select(i.from)).select(function(n){return n.getEnumerator()}).toArray();f=i.from(n)},function(){if(f.all(function(n){return n.moveNext()})){var t=f.select(function(n){return n.Current}).toArray();return t.push(o++),this.yieldReturn(n.apply(null,t))}return this.yieldBreak()},function(){i.from(f).forEach(r.dispose)})})};i.prototype.merge=function(){var n=arguments,t=this;return new i(function(){var f,e=-1;return new u(function(){f=i.make(t).concat(i.from(n).select(i.from)).select(function(n){return n.getEnumerator()}).toArray()},function(){while(f.length>0){e=e>=f.length-1?0:e+1;var n=f[e];if(n.moveNext())return this.yieldReturn(n.Current);n.dispose();f.splice(e--,1)}return this.yieldBreak()},function(){i.from(f).forEach(r.dispose)})})};i.prototype.join=function(n,e,o,s,h){e=r.createLambda(e);o=r.createLambda(o);s=r.createLambda(s);var c=this;return new i(function(){var l,v,a=null,y=0;return new u(function(){l=c.getEnumerator();v=i.from(n).toLookup(o,f.Identity,h)},function(){for(var n,i;;){if(a!=null){if(n=a[y++],n!==t)return this.yieldReturn(s(l.Current,n));n=null;y=0}if(l.moveNext())i=e(l.Current),a=v.get(i).toArray();else return!1}},function(){r.dispose(l)})})};i.prototype.groupJoin=function(n,t,e,o,s){t=r.createLambda(t);e=r.createLambda(e);o=r.createLambda(o);var h=this;return new i(function(){var c=h.getEnumerator(),l=null;return new u(function(){c=h.getEnumerator();l=i.from(n).toLookup(e,f.Identity,s)},function(){if(c.moveNext()){var n=l.get(t(c.Current));return this.yieldReturn(o(c.Current,n))}return!1},function(){r.dispose(c)})})};i.prototype.all=function(n){n=r.createLambda(n);var t=!0;return this.forEach(function(i){if(!n(i))return t=!1,!1}),t};i.prototype.any=function(n){n=r.createLambda(n);var t=this.getEnumerator();try{if(arguments.length==0)return t.moveNext();while(t.moveNext())if(n(t.Current))return!0;return!1}finally{r.dispose(t)}};i.prototype.isEmpty=function(){return!this.any()};i.prototype.concat=function(){var n=this,t,f;return arguments.length==1?(t=arguments[0],new i(function(){var e,f;return new u(function(){e=n.getEnumerator()},function(){if(f==null){if(e.moveNext())return this.yieldReturn(e.Current);f=i.from(t).getEnumerator()}return f.moveNext()?this.yieldReturn(f.Current):!1},function(){try{r.dispose(e)}finally{r.dispose(f)}})})):(f=arguments,new i(function(){var t;return new u(function(){t=i.make(n).concat(i.from(f).select(i.from)).select(function(n){return n.getEnumerator()}).toArray()},function(){while(t.length>0){var n=t[0];if(n.moveNext())return this.yieldReturn(n.Current);n.dispose();t.splice(0,1)}return this.yieldBreak()},function(){i.from(t).forEach(r.dispose)})}))};i.prototype.insert=function(n,t){var f=this;return new i(function(){var o,e,s=0,h=!1;return new u(function(){o=f.getEnumerator();e=i.from(t).getEnumerator()},function(){return s==n&&e.moveNext()?(h=!0,this.yieldReturn(e.Current)):o.moveNext()?(s++,this.yieldReturn(o.Current)):!h&&e.moveNext()?this.yieldReturn(e.Current):!1},function(){try{r.dispose(o)}finally{r.dispose(e)}})})};i.prototype.alternate=function(n){var t=this;return new i(function(){var f,e,s,o;return new u(function(){s=n instanceof Array||n.getEnumerator!=null?i.from(i.from(n).toArray()):i.make(n);e=t.getEnumerator();e.moveNext()&&(f=e.Current)},function(){for(;;){if(o!=null){if(o.moveNext())return this.yieldReturn(o.Current);o=null}if(f==null&&e.moveNext()){f=e.Current;o=s.getEnumerator();continue}else if(f!=null){var n=f;return f=null,this.yieldReturn(n)}return this.yieldBreak()}},function(){try{r.dispose(e)}finally{r.dispose(o)}})})};i.prototype.contains=function(n,t){t=t||System.Collections.Generic.EqualityComparer$1.$default;var i=this.getEnumerator();try{while(i.moveNext())if(t.equals2(i.Current,n))return!0;return!1}finally{r.dispose(i)}};i.prototype.defaultIfEmpty=function(n){var f=this;return n===t&&(n=null),new i(function(){var t,i=!0;return new u(function(){t=f.getEnumerator()},function(){return t.moveNext()?(i=!1,this.yieldReturn(t.Current)):i?(i=!1,this.yieldReturn(n)):!1},function(){r.dispose(t)})})};i.prototype.distinct=function(n){return this.except(i.empty(),n)};i.prototype.distinctUntilChanged=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i,f,e;return new u(function(){i=t.getEnumerator()},function(){while(i.moveNext()){var t=n(i.Current);if(e)return e=!1,f=t,this.yieldReturn(i.Current);if(f!==t)return f=t,this.yieldReturn(i.Current)}return this.yieldBreak()},function(){r.dispose(i)})})};i.prototype.except=function(n,t){var f=this;return new i(function(){var o,e;return new u(function(){o=f.getEnumerator();e=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))(null,t);i.from(n).forEach(function(n){e.containsKey(n)||e.add(n)})},function(){while(o.moveNext()){var n=o.Current;if(!e.containsKey(n))return e.add(n),this.yieldReturn(n)}return!1},function(){r.dispose(o)})})};i.prototype.intersect=function(n,t){var f=this;return new i(function(){var e,o,s;return new u(function(){e=f.getEnumerator();o=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))(null,t);i.from(n).forEach(function(n){o.containsKey(n)||o.add(n)});s=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))(null,t)},function(){while(e.moveNext()){var n=e.Current;if(!s.containsKey(n)&&o.containsKey(n))return s.add(n),this.yieldReturn(n)}return!1},function(){r.dispose(e)})})};i.prototype.sequenceEqual=function(n,t){var f,u;t=t||System.Collections.Generic.EqualityComparer$1.$default;f=this.getEnumerator();try{u=i.from(n).getEnumerator();try{while(f.moveNext())if(!u.moveNext()||!t.equals2(f.Current,u.Current))return!1;return u.moveNext()?!1:!0}finally{r.dispose(u)}}finally{r.dispose(f)}};i.prototype.union=function(n,f){var e=this;return new i(function(){var h,o,s;return new u(function(){h=e.getEnumerator();s=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))(null,f)},function(){var r;if(o===t){while(h.moveNext())if(r=h.Current,!s.containsKey(r))return s.add(r),this.yieldReturn(r);o=i.from(n).getEnumerator()}while(o.moveNext())if(r=o.Current,!s.containsKey(r))return s.add(r),this.yieldReturn(r);return!1},function(){try{r.dispose(h)}finally{r.dispose(o)}})})};i.prototype.orderBy=function(n,t){return new s(this,n,t,!1)};i.prototype.orderByDescending=function(n,t){return new s(this,n,t,!0)};i.prototype.reverse=function(){var n=this;return new i(function(){var t,i;return new u(function(){t=n.toArray();i=t.length},function(){return i>0?this.yieldReturn(t[--i]):!1},f.Blank)})};i.prototype.shuffle=function(){var n=this;return new i(function(){var t;return new u(function(){t=n.toArray()},function(){if(t.length>0){var n=Math.floor(Math.random()*t.length);return this.yieldReturn(t.splice(n,1)[0])}return!1},f.Blank)})};i.prototype.weightedSample=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i,r=0;return new u(function(){i=t.choose(function(t){var i=n(t);return i<=0?null:(r+=i,{value:t,bound:r})}).toArray()},function(){var t;if(i.length>0){for(var f=Math.floor(Math.random()*r)+1,u=-1,n=i.length;n-u>1;)t=Math.floor((u+n)/2),i[t].bound>=f?n=t:u=t;return this.yieldReturn(i[n].value)}return this.yieldBreak()},f.Blank)})};i.prototype.groupBy=function(n,t,f,e){var o=this;return n=r.createLambda(n),t=r.createLambda(t),f!=null&&(f=r.createLambda(f)),new i(function(){var i;return new u(function(){i=o.toLookup(n,t,e).toEnumerable().getEnumerator()},function(){while(i.moveNext())return f==null?this.yieldReturn(i.Current):this.yieldReturn(f(i.Current.key(),i.Current));return!1},function(){r.dispose(i)})})};i.prototype.partitionBy=function(n,t,f,e){var s=this,o;return n=r.createLambda(n),t=r.createLambda(t),e=e||System.Collections.Generic.EqualityComparer$1.$default,f==null?(o=!1,f=function(n,t){return new h(n,t)}):(o=!0,f=r.createLambda(f)),new i(function(){var h,l,c=[];return new u(function(){h=s.getEnumerator();h.moveNext()&&(l=n(h.Current),c.push(t(h.Current)))},function(){for(var r,u;(r=h.moveNext())==!0;)if(e.equals2(l,n(h.Current)))c.push(t(h.Current));else break;return c.length>0?(u=o?f(l,i.from(c)):f(l,c),r?(l=n(h.Current),c=[t(h.Current)]):c=[],this.yieldReturn(u)):!1},function(){r.dispose(h)})})};i.prototype.buffer=function(n){var t=this;return new i(function(){var i;return new u(function(){i=t.getEnumerator()},function(){for(var t=[],r=0;i.moveNext();)if(t.push(i.Current),++r>=n)return this.yieldReturn(t);return t.length>0?this.yieldReturn(t):!1},function(){r.dispose(i)})})};i.prototype.aggregate=function(n,t,i){return i=r.createLambda(i),i(this.scan(n,t,i).last())};i.prototype.average=function(n,t){!n||t||Bridge.isFunction(n)||(t=n,n=null);n=r.createLambda(n);var i=t||0,u=0;if(this.forEach(function(t){t=n(t);t instanceof System.Decimal||System.Int64.is64Bit(t)?i=t.add(i):i instanceof System.Decimal||System.Int64.is64Bit(i)?i=i.add(t):i+=t;++u}),u===0)throw new System.InvalidOperationException("Sequence contains no elements");return i instanceof System.Decimal||System.Int64.is64Bit(i)?i.div(u):i/u};i.prototype.nullableAverage=function(n,t){return this.any(Bridge.isNull)?null:this.average(n,t)};i.prototype.count=function(n){n=n==null?f.True:r.createLambda(n);var t=0;return this.forEach(function(i,r){n(i,r)&&++t}),t};i.prototype.max=function(n){return n==null&&(n=f.Identity),this.select(n).aggregate(function(n,t){return Bridge.compare(n,t,!0)===1?n:t})};i.prototype.nullableMax=function(n){return this.any(Bridge.isNull)?null:this.max(n)};i.prototype.min=function(n){return n==null&&(n=f.Identity),this.select(n).aggregate(function(n,t){return Bridge.compare(n,t,!0)===-1?n:t})};i.prototype.nullableMin=function(n){return this.any(Bridge.isNull)?null:this.min(n)};i.prototype.maxBy=function(n){return n=r.createLambda(n),this.aggregate(function(t,i){return Bridge.compare(n(t),n(i),!0)===1?t:i})};i.prototype.minBy=function(n){return n=r.createLambda(n),this.aggregate(function(t,i){return Bridge.compare(n(t),n(i),!0)===-1?t:i})};i.prototype.sum=function(n,t){!n||t||Bridge.isFunction(n)||(t=n,n=null);n==null&&(n=f.Identity);var i=this.select(n).aggregate(0,function(n,t){return n instanceof System.Decimal||System.Int64.is64Bit(n)?n.add(t):t instanceof System.Decimal||System.Int64.is64Bit(t)?t.add(n):n+t});return i===0&&t?t:i};i.prototype.nullableSum=function(n,t){return this.any(Bridge.isNull)?null:this.sum(n,t)};i.prototype.elementAt=function(n){var t,i=!1;if(this.forEach(function(r,u){if(u==n)return t=r,i=!0,!1}),!i)throw new Error("index is less than 0 or greater than or equal to the number of elements in source.");return t};i.prototype.elementAtOrDefault=function(n,i){i===t&&(i=null);var r,u=!1;return this.forEach(function(t,i){if(i==n)return r=t,u=!0,!1}),u?r:i};i.prototype.first=function(n){if(n!=null)return this.where(n).first();var t,i=!1;if(this.forEach(function(n){return t=n,i=!0,!1}),!i)throw new Error("first:No element satisfies the condition.");return t};i.prototype.firstOrDefault=function(n,i){if(i===t&&(i=null),n!=null)return this.where(n).firstOrDefault(null,i);var r,u=!1;return this.forEach(function(n){return r=n,u=!0,!1}),u?r:i};i.prototype.last=function(n){if(n!=null)return this.where(n).last();var t,i=!1;if(this.forEach(function(n){i=!0;t=n}),!i)throw new Error("last:No element satisfies the condition.");return t};i.prototype.lastOrDefault=function(n,i){if(i===t&&(i=null),n!=null)return this.where(n).lastOrDefault(null,i);var r,u=!1;return this.forEach(function(n){u=!0;r=n}),u?r:i};i.prototype.single=function(n){if(n!=null)return this.where(n).single();var i,t=!1;if(this.forEach(function(n){if(t)throw new Error("single:sequence contains more than one element.");else t=!0,i=n}),!t)throw new Error("single:No element satisfies the condition.");return i};i.prototype.singleOrDefault=function(n,i){if(i===t&&(i=null),n!=null)return this.where(n).singleOrDefault(null,i);var u,r=!1;return this.forEach(function(n){if(r)throw new Error("single:sequence contains more than one element.");else r=!0,u=n}),r?u:i};i.prototype.skip=function(n){var t=this;return new i(function(){var i,f=0;return new u(function(){for(i=t.getEnumerator();f++<n&&i.moveNext(););},function(){return i.moveNext()?this.yieldReturn(i.Current):!1},function(){r.dispose(i)})})};i.prototype.skipWhile=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i,e=0,f=!1;return new u(function(){i=t.getEnumerator()},function(){while(!f)if(i.moveNext()){if(!n(i.Current,e++))return f=!0,this.yieldReturn(i.Current);continue}else return!1;return i.moveNext()?this.yieldReturn(i.Current):!1},function(){r.dispose(i)})})};i.prototype.take=function(n){var t=this;return new i(function(){var i,f=0;return new u(function(){i=t.getEnumerator()},function(){return f++<n&&i.moveNext()?this.yieldReturn(i.Current):!1},function(){r.dispose(i)})})};i.prototype.takeWhile=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i,f=0;return new u(function(){i=t.getEnumerator()},function(){return i.moveNext()&&n(i.Current,f++)?this.yieldReturn(i.Current):!1},function(){r.dispose(i)})})};i.prototype.takeExceptLast=function(n){n==null&&(n=1);var t=this;return new i(function(){if(n<=0)return t.getEnumerator();var i,f=[];return new u(function(){i=t.getEnumerator()},function(){while(i.moveNext()){if(f.length==n)return f.push(i.Current),this.yieldReturn(f.shift());f.push(i.Current)}return!1},function(){r.dispose(i)})})};i.prototype.takeFromLast=function(n){if(n<=0||n==null)return i.empty();var t=this;return new i(function(){var o,f,e=[];return new u(function(){o=t.getEnumerator()},function(){if(f==null){while(o.moveNext())e.length==n&&e.shift(),e.push(o.Current);f=i.from(e).getEnumerator()}return f.moveNext()?this.yieldReturn(f.Current):!1},function(){r.dispose(f)})})};i.prototype.indexOf=function(n,t){var i=null;return typeof n===o.Function?this.forEach(function(t,r){if(n(t,r))return i=r,!1}):(t=t||System.Collections.Generic.EqualityComparer$1.$default,this.forEach(function(r,u){if(t.equals2(r,n))return i=u,!1})),i!==null?i:-1};i.prototype.lastIndexOf=function(n,t){var i=-1;return typeof n===o.Function?this.forEach(function(t,r){n(t,r)&&(i=r)}):(t=t||System.Collections.Generic.EqualityComparer$1.$default,this.forEach(function(r,u){t.equals2(r,n)&&(i=u)})),i};i.prototype.asEnumerable=function(){return i.from(this)};i.prototype.toArray=function(n){var t=System.Array.init([],n||System.Object);return this.forEach(function(n){t.push(n)}),t};i.prototype.toList=function(n){var t=[];return this.forEach(function(n){t.push(n)}),new(System.Collections.Generic.List$1(n||System.Object).$ctor1)(t)};i.prototype.toLookup=function(n,t,i){n=r.createLambda(n);t=r.createLambda(t);var u=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))(null,i),f=[];return this.forEach(function(i){var r=n(i),e=t(i),o={v:null};u.tryGetValue(r,o)?o.v.push(e):(f.push(r),u.add(r,[e]))}),new y(u,f)};i.prototype.toObject=function(n,t){n=r.createLambda(n);t=r.createLambda(t);var i={};return this.forEach(function(r){i[n(r)]=t(r)}),i};i.prototype.toDictionary=function(n,t,i,u,f){n=r.createLambda(n);t=r.createLambda(t);var e=new(System.Collections.Generic.Dictionary$2(i,u))(null,f);return this.forEach(function(i){e.add(n(i),t(i))}),e};i.prototype.toJSONString=function(n,t){if(typeof JSON===o.Undefined||JSON.stringify==null)throw new Error("toJSONString can't find JSON.stringify. This works native JSON support Browser or include json2.js");return JSON.stringify(this.toArray(),n,t)};i.prototype.toJoinedString=function(n,t){return n==null&&(n=""),t==null&&(t=f.Identity),this.select(t).toArray().join(n)};i.prototype.doAction=function(n){var t=this;return n=r.createLambda(n),new i(function(){var i,f=0;return new u(function(){i=t.getEnumerator()},function(){return i.moveNext()?(n(i.Current,f++),this.yieldReturn(i.Current)):!1},function(){r.dispose(i)})})};i.prototype.forEach=function(n){n=r.createLambda(n);var i=0,t=this.getEnumerator();try{while(t.moveNext())if(n(t.Current,i++)===!1)break}finally{r.dispose(t)}};i.prototype.write=function(n,t){n==null&&(n="");t=r.createLambda(t);var i=!0;this.forEach(function(r){i?i=!1:document.write(n);document.write(t(r))})};i.prototype.writeLine=function(n){n=r.createLambda(n);this.forEach(function(t){document.writeln(n(t)+"<br />")})};i.prototype.force=function(){var n=this.getEnumerator();try{while(n.moveNext());}finally{r.dispose(n)}};i.prototype.letBind=function(n){n=r.createLambda(n);var t=this;return new i(function(){var f;return new u(function(){f=i.from(n(t)).getEnumerator()},function(){return f.moveNext()?this.yieldReturn(f.Current):!1},function(){r.dispose(f)})})};i.prototype.share=function(){var i=this,n,t=!1;return new p(function(){return new u(function(){n==null&&(n=i.getEnumerator())},function(){if(t)throw new Error("enumerator is disposed");return n.moveNext()?this.yieldReturn(n.Current):!1},f.Blank)},function(){t=!0;r.dispose(n)})};i.prototype.memoize=function(){var e=this,n,t,i=!1;return new p(function(){var r=-1;return new u(function(){t==null&&(t=e.getEnumerator(),n=[])},function(){if(i)throw new Error("enumerator is disposed");return(r++,n.length<=r)?t.moveNext()?this.yieldReturn(n[r]=t.Current):!1:this.yieldReturn(n[r])},f.Blank)},function(){i=!0;r.dispose(t);n=null})};i.prototype.catchError=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i;return new u(function(){i=t.getEnumerator()},function(){try{return i.moveNext()?this.yieldReturn(i.Current):!1}catch(t){return n(t),!1}},function(){r.dispose(i)})})};i.prototype.finallyAction=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i;return new u(function(){i=t.getEnumerator()},function(){return i.moveNext()?this.yieldReturn(i.Current):!1},function(){try{r.dispose(i)}finally{n()}})})};i.prototype.log=function(n){return n=r.createLambda(n),this.doAction(function(t){typeof console!==o.Undefined&&console.log(n(t))})};i.prototype.trace=function(n,t){return n==null&&(n="Trace"),t=r.createLambda(t),this.doAction(function(i){typeof console!==o.Undefined&&console.log(n,t(i))})};s=function(n,t,i,u,f){this.source=n;this.keySelector=r.createLambda(t);this.comparer=i||System.Collections.Generic.Comparer$1.$default;this.descending=u;this.parent=f};s.prototype=new i;s.prototype.constructor=s;Bridge.definei("System.Linq.IOrderedEnumerable$1");s.$$inherits=[];Bridge.Class.addExtend(s,[System.Collections.IEnumerable,System.Linq.IOrderedEnumerable$1]);s.prototype.createOrderedEnumerable=function(n,t,i){return new s(this.source,n,t,i,this)};s.prototype.thenBy=function(n,t){return this.createOrderedEnumerable(n,t,!1)};s.prototype.thenByDescending=function(n,t){return this.createOrderedEnumerable(n,t,!0)};s.prototype.getEnumerator=function(){var i=this,t,n,r=0;return new u(function(){t=[];n=[];i.source.forEach(function(i,r){t.push(i);n.push(r)});var r=v.create(i,null);r.GenerateKeys(t);n.sort(function(n,t){return r.compare(n,t)})},function(){return r<n.length?this.yieldReturn(t[n[r++]]):!1},f.Blank)};v=function(n,t,i,r){this.keySelector=n;this.comparer=t;this.descending=i;this.child=r;this.keys=null};v.create=function(n,t){var i=new v(n.keySelector,n.comparer,n.descending,t);return n.parent!=null?v.create(n.parent,i):i};v.prototype.GenerateKeys=function(n){for(var i=n.length,u=this.keySelector,r=new Array(i),t=0;t<i;t++)r[t]=u(n[t]);this.keys=r;this.child!=null&&this.child.GenerateKeys(n)};v.prototype.compare=function(n,t){var i=this.comparer.compare(this.keys[n],this.keys[t]);return i==0?this.child!=null?this.child.compare(n,t):r.compare(n,t):this.descending?-i:i};p=function(n,t){this.dispose=t;i.call(this,n)};p.prototype=new i;e=function(n){this.getSource=function(){return n}};e.prototype=new i;e.prototype.any=function(n){return n==null?this.getSource().length>0:i.prototype.any.apply(this,arguments)};e.prototype.count=function(n){return n==null?this.getSource().length:i.prototype.count.apply(this,arguments)};e.prototype.elementAt=function(n){var t=this.getSource();return 0<=n&&n<t.length?t[n]:i.prototype.elementAt.apply(this,arguments)};e.prototype.elementAtOrDefault=function(n,i){i===t&&(i=null);var r=this.getSource();return 0<=n&&n<r.length?r[n]:i};e.prototype.first=function(n){var t=this.getSource();return n==null&&t.length>0?t[0]:i.prototype.first.apply(this,arguments)};e.prototype.firstOrDefault=function(n,r){if(r===t&&(r=null),n!=null)return i.prototype.firstOrDefault.apply(this,arguments);var u=this.getSource();return u.length>0?u[0]:r};e.prototype.last=function(n){var t=this.getSource();return n==null&&t.length>0?t[t.length-1]:i.prototype.last.apply(this,arguments)};e.prototype.lastOrDefault=function(n,r){if(r===t&&(r=null),n!=null)return i.prototype.lastOrDefault.apply(this,arguments);var u=this.getSource();return u.length>0?u[u.length-1]:r};e.prototype.skip=function(n){var t=this.getSource();return new i(function(){var i;return new u(function(){i=n<0?0:n},function(){return i<t.length?this.yieldReturn(t[i++]):!1},f.Blank)})};e.prototype.takeExceptLast=function(n){return n==null&&(n=1),this.take(this.getSource().length-n)};e.prototype.takeFromLast=function(n){return this.skip(this.getSource().length-n)};e.prototype.reverse=function(){var n=this.getSource();return new i(function(){var t;return new u(function(){t=n.length},function(){return t>0?this.yieldReturn(n[--t]):!1},f.Blank)})};e.prototype.sequenceEqual=function(n,t){return(n instanceof e||n instanceof Array)&&t==null&&i.from(n).count()!=this.count()?!1:i.prototype.sequenceEqual.apply(this,arguments)};e.prototype.toJoinedString=function(n,t){var r=this.getSource();return t!=null||!(r instanceof Array)?i.prototype.toJoinedString.apply(this,arguments):(n==null&&(n=""),r.join(n))};e.prototype.getEnumerator=function(){return new Bridge.ArrayEnumerator(this.getSource())};c=function(n,t){this.prevSource=n;this.prevPredicate=t};c.prototype=new i;c.prototype.where=function(n){if(n=r.createLambda(n),n.length<=1){var t=this.prevPredicate,u=function(i){return t(i)&&n(i)};return new c(this.prevSource,u)}return i.prototype.where.call(this,n)};c.prototype.select=function(n){return n=r.createLambda(n),n.length<=1?new l(this.prevSource,this.prevPredicate,n):i.prototype.select.call(this,n)};c.prototype.getEnumerator=function(){var t=this.prevPredicate,i=this.prevSource,n;return new u(function(){n=i.getEnumerator()},function(){while(n.moveNext())if(t(n.Current))return this.yieldReturn(n.Current);return!1},function(){r.dispose(n)})};l=function(n,t,i){this.prevSource=n;this.prevPredicate=t;this.prevSelector=i};l.prototype=new i;l.prototype.where=function(n){return n=r.createLambda(n),n.length<=1?new c(this,n):i.prototype.where.call(this,n)};l.prototype.select=function(n){if(n=r.createLambda(n),n.length<=1){var t=this.prevSelector,u=function(i){return n(t(i))};return new l(this.prevSource,this.prevPredicate,u)}return i.prototype.select.call(this,n)};l.prototype.getEnumerator=function(){var t=this.prevPredicate,i=this.prevSelector,f=this.prevSource,n;return new u(function(){n=f.getEnumerator()},function(){while(n.moveNext())if(t==null||t(n.Current))return this.yieldReturn(i(n.Current));return!1},function(){r.dispose(n)})};y=function(n,t){this.count=function(){return n.getCount()};this.get=function(t){var r={v:null},u=n.tryGetValue(t,r);return i.from(u?r.v:[])};this.contains=function(t){return n.containsKey(t)};this.toEnumerable=function(){return i.from(t).select(function(t){return new h(t,n.get(t))})};this.getEnumerator=function(){return this.toEnumerable().getEnumerator()}};Bridge.definei("System.Linq.ILookup$2");y.$$inherits=[];Bridge.Class.addExtend(y,[System.Collections.IEnumerable,System.Linq.ILookup$2]);h=function(n,t){this.key=function(){return n};e.call(this,t)};h.prototype=new e;Bridge.definei("System.Linq.IGrouping$2");h.prototype.constructor=h;h.$$inherits=[];Bridge.Class.addExtend(h,[System.Collections.IEnumerable,System.Linq.IGrouping$2]);Bridge.Linq={};Bridge.Linq.Enumerable=i;System.Linq=System.Linq||{};System.Linq.Enumerable=i;System.Linq.Grouping$2=h;System.Linq.Lookup$2=y;System.Linq.OrderedEnumerable$1=s}(Bridge.global);Bridge.define("System.Guid",{inherits:function(){return[System.IEquatable$1(System.Guid),System.IComparable$1(System.Guid),System.IFormattable]},$kind:"struct",statics:{fields:{error1:null,valid:null,split:null,nonFormat:null,replace:null,rnd:null,empty:null},ctors:{init:function(){this.empty=new System.Guid;this.error1="Byte array for GUID must be exactly {0} bytes long";this.valid=new System.Text.RegularExpressions.Regex.ctor("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",1);this.split=new System.Text.RegularExpressions.Regex.ctor("^(.{8})(.{4})(.{4})(.{4})(.{12})$");this.nonFormat=new System.Text.RegularExpressions.Regex.ctor("^[{(]?([0-9a-f]{8})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{12})[)}]?$",1);this.replace=new System.Text.RegularExpressions.Regex.ctor("-");this.rnd=new System.Random.ctor}},methods:{parse:function(n){return System.Guid.parseExact(n,null)},parseExact:function(n,t){var i=new System.Guid.ctor;return i.parseInternal(n,t,!0),i},tryParse:function(n,t){return System.Guid.tryParseExact(n,null,t)},tryParseExact:function(n,t,i){return i.v=new System.Guid.ctor,i.v.parseInternal(n,t,!1)},newGuid:function(){var n=System.Array.init(16,0,System.Byte);return System.Guid.rnd.nextBytes(n),n[System.Array.index(7,n)]=(n[System.Array.index(7,n)]&15|64)&255,n[System.Array.index(8,n)]=(n[System.Array.index(8,n)]&191|128)&255,new System.Guid.$ctor1(n)},makeBinary:function(n){return System.Int32.format(n&255,"x2")},op_Equality:function(n,t){return Bridge.referenceEquals(n,null)?Bridge.referenceEquals(t,null):n.equalsT(t)},op_Inequality:function(n,t){return!System.Guid.op_Equality(n,t)},getDefaultValue:function(){return new System.Guid}}},fields:{_a:0,_b:0,_c:0,_d:0,_e:0,_f:0,_g:0,_h:0,_i:0,_j:0,_k:0},alias:["equalsT","System$IEquatable$1$System$Guid$equalsT","compareTo",["System$IComparable$1$System$Guid$compareTo","System$IComparable$1$compareTo"],"format","System$IFormattable$format"],ctors:{$ctor4:function(n){this.$initialize();(new System.Guid.ctor).$clone(this);this.parseInternal(n,null,!0)},$ctor1:function(n){if(this.$initialize(),n==null)throw new System.ArgumentNullException("b");if(n.length!==16)throw new System.ArgumentException(System.String.format(System.Guid.error1,[Bridge.box(16,System.Int32)]));this._a=n[System.Array.index(3,n)]<<24|n[System.Array.index(2,n)]<<16|n[System.Array.index(1,n)]<<8|n[System.Array.index(0,n)];this._b=Bridge.Int.sxs((n[System.Array.index(5,n)]<<8|n[System.Array.index(4,n)])&65535);this._c=Bridge.Int.sxs((n[System.Array.index(7,n)]<<8|n[System.Array.index(6,n)])&65535);this._d=n[System.Array.index(8,n)];this._e=n[System.Array.index(9,n)];this._f=n[System.Array.index(10,n)];this._g=n[System.Array.index(11,n)];this._h=n[System.Array.index(12,n)];this._i=n[System.Array.index(13,n)];this._j=n[System.Array.index(14,n)];this._k=n[System.Array.index(15,n)]},$ctor5:function(n,t,i,r,u,f,e,o,s,h,c){this.$initialize();this._a=n|0;this._b=Bridge.Int.sxs(t&65535);this._c=Bridge.Int.sxs(i&65535);this._d=r;this._e=u;this._f=f;this._g=e;this._h=o;this._i=s;this._j=h;this._k=c},$ctor3:function(n,t,i,r){if(this.$initialize(),r==null)throw new System.ArgumentNullException("d");if(r.length!==8)throw new System.ArgumentException(System.String.format(System.Guid.error1,[Bridge.box(8,System.Int32)]));this._a=n;this._b=t;this._c=i;this._d=r[System.Array.index(0,r)];this._e=r[System.Array.index(1,r)];this._f=r[System.Array.index(2,r)];this._g=r[System.Array.index(3,r)];this._h=r[System.Array.index(4,r)];this._i=r[System.Array.index(5,r)];this._j=r[System.Array.index(6,r)];this._k=r[System.Array.index(7,r)]},$ctor2:function(n,t,i,r,u,f,e,o,s,h,c){this.$initialize();this._a=n;this._b=t;this._c=i;this._d=r;this._e=u;this._f=f;this._g=e;this._h=o;this._i=s;this._j=h;this._k=c},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return this._a^(this._b<<16|this._c&65535)^(this._f<<24|this._k)},equals:function(n){return Bridge.is(n,System.Guid)?this.equalsT(System.Nullable.getValue(Bridge.cast(Bridge.unbox(n),System.Guid))):!1},equalsT:function(n){return this._a!==n._a||this._b!==n._b||this._c!==n._c||this._d!==n._d||this._e!==n._e||this._f!==n._f||this._g!==n._g||this._h!==n._h||this._i!==n._i||this._j!==n._j||this._k!==n._k?!1:!0},compareTo:function(n){return System.String.compare(this.toString(),n.toString())},toString:function(){return this.format$1(null)},toString$1:function(n){return this.format$1(n)},format:function(n){return this.format$1(n)},toByteArray:function(){var n=System.Array.init(16,0,System.Byte);return n[System.Array.index(0,n)]=this._a&255,n[System.Array.index(1,n)]=this._a>>8&255,n[System.Array.index(2,n)]=this._a>>16&255,n[System.Array.index(3,n)]=this._a>>24&255,n[System.Array.index(4,n)]=this._b&255,n[System.Array.index(5,n)]=this._b>>8&255,n[System.Array.index(6,n)]=this._c&255,n[System.Array.index(7,n)]=this._c>>8&255,n[System.Array.index(8,n)]=this._d,n[System.Array.index(9,n)]=this._e,n[System.Array.index(10,n)]=this._f,n[System.Array.index(11,n)]=this._g,n[System.Array.index(12,n)]=this._h,n[System.Array.index(13,n)]=this._i,n[System.Array.index(14,n)]=this._j,n[System.Array.index(15,n)]=this._k,n},parseInternal:function(n,t,i){var h=null,f,c,r,e,o,l,u,s;if(System.String.isNullOrEmpty(n)){if(i)throw new System.ArgumentNullException("input");return!1}if(System.String.isNullOrEmpty(t)){if(f=System.Guid.nonFormat.match(n),f.getSuccess()){for(c=new(System.Collections.Generic.List$1(System.String).ctor),r=1;r<=f.getGroups().getCount();r=r+1|0)f.getGroups().get(r).getSuccess()&&c.add(f.getGroups().get(r).getValue());h=c.toArray().join("-").toLowerCase()}}else{if(t=t.toUpperCase(),e=!1,Bridge.referenceEquals(t,"N")){if(o=System.Guid.split.match(n),o.getSuccess()){for(l=new(System.Collections.Generic.List$1(System.String).ctor),u=1;u<=o.getGroups().getCount();u=u+1|0)o.getGroups().get(u).getSuccess()&&l.add(o.getGroups().get(u).getValue());e=!0;n=l.toArray().join("-")}}else Bridge.referenceEquals(t,"B")||Bridge.referenceEquals(t,"P")?(s=Bridge.referenceEquals(t,"B")?System.Array.init([123,125],System.Char):System.Array.init([40,41],System.Char),n.charCodeAt(0)===s[System.Array.index(0,s)]&&n.charCodeAt(n.length-1|0)===s[System.Array.index(1,s)]&&(e=!0,n=n.substr(1,n.length-2|0))):e=!0;e&&System.Guid.valid.isMatch(n)&&(h=n.toLowerCase())}if(h!=null)return this.fromString(h),!0;if(i)throw new System.FormatException("input is not in a recognized format");return!1},format$1:function(n){var t=(System.UInt32.format(this._a>>>0,"x8")||"")+(System.UInt16.format(this._b&65535,"x4")||"")+(System.UInt16.format(this._c&65535,"x4")||""),r,u,i;for(t=(t||"")+(System.Array.init([this._d,this._e,this._f,this._g,this._h,this._i,this._j,this._k],System.Byte).map(System.Guid.makeBinary).join("")||""),r=System.Guid.split.match(t),u=new(System.Collections.Generic.List$1(System.String).ctor),i=1;i<=r.getGroups().getCount();i=i+1|0)r.getGroups().get(i).getSuccess()&&u.add(r.getGroups().get(i).getValue());t=u.toArray().join("-");switch(n){case"n":case"N":return System.Guid.replace.replace(t,"");case"b":case"B":return String.fromCharCode(123)+(t||"")+String.fromCharCode(125);case"p":case"P":return String.fromCharCode(40)+(t||"")+String.fromCharCode(41);default:return t}},fromString:function(n){var t,i;if(!System.String.isNullOrEmpty(n)){for(n=System.Guid.replace.replace(n,""),t=System.Array.init(8,0,System.Byte),this._a=System.UInt32.parse(n.substr(0,8),16)|0,this._b=Bridge.Int.sxs(System.UInt16.parse(n.substr(8,4),16)&65535),this._c=Bridge.Int.sxs(System.UInt16.parse(n.substr(12,4),16)&65535),i=8;i<16;i=i+1|0)t[System.Array.index(i-8|0,t)]=System.Byte.parse(n.substr(Bridge.Int.mul(i,2),2),16);this._d=t[System.Array.index(0,t)];this._e=t[System.Array.index(1,t)];this._f=t[System.Array.index(2,t)];this._g=t[System.Array.index(3,t)];this._h=t[System.Array.index(4,t)];this._i=t[System.Array.index(5,t)];this._j=t[System.Array.index(6,t)];this._k=t[System.Array.index(7,t)]}},toJSON:function(){return this.toString()},$clone:function(){return this}}});Bridge.define("System.Environment",{statics:{fields:{variables:null},props:{Location:{get:function(){var n=Bridge.global;return n&&n.location?n.location:null}},CommandLine:{get:function(){return System.Environment.getCommandLineArgs().join(" ")}},CurrentDirectory:{get:function(){var n=System.Environment.Location;return n?n.pathname:""},set:function(n){var t=System.Environment.Location;t&&(t.pathname=n)}},ExitCode:0,Is64BitOperatingSystem:{get:function(){var n=Bridge.global?Bridge.global.navigator:null;return n&&(!Bridge.referenceEquals(n.userAgent.indexOf("WOW64"),-1)||!Bridge.referenceEquals(n.userAgent.indexOf("Win64"),-1))?!0:!1}},ProcessorCount:{get:function(){var n=Bridge.global?Bridge.global.navigator:null;return n&&n.hardwareConcurrency?n.hardwareConcurrency:1}},StackTrace:{get:function(){var t=new Error,n=t.stack;return!System.String.isNullOrEmpty(n)&&System.String.indexOf(n,"at")>=0?n.substr(System.String.indexOf(n,"at")):""}},Version:{get:function(){var t=Bridge.SystemAssembly.compiler,n={};return System.Version.tryParse(t,n)?n.v:new System.Version.ctor}}},ctors:{init:function(){this.ExitCode=0},ctor:function(){System.Environment.variables=new(System.Collections.Generic.Dictionary$2(System.String,System.String));System.Environment.patchDictionary(System.Environment.variables)}},methods:{patchDictionary:function(n){return n.noKeyCheck=!0,n},exit:function(n){System.Environment.ExitCode=n},expandEnvironmentVariables:function(n){var t,i;if(n==null)throw new System.ArgumentNullException(n);t=Bridge.getEnumerator(System.Environment.variables);try{while(t.moveNext())i=t.Current,n=System.String.replaceAll(n,"%"+(i.key||"")+"%",i.value)}finally{Bridge.is(t,System.IDisposable)&&t.System$IDisposable$dispose()}return n},failFast:function(n){throw new System.Exception(n);},failFast$1:function(n,t){throw new System.Exception(n,t);},getCommandLineArgs:function(){var e=System.Environment.Location,i,o,r,u,n,f,t;if(e){if(i=new(System.Collections.Generic.List$1(System.String).ctor),o=e.pathname,System.String.isNullOrEmpty(o)||i.add(o),r=e.search,!System.String.isNullOrEmpty(r)&&r.length>1)for(u=System.String.split(r.substr(1),[38].map(function(n){return String.fromCharCode(n)})),n=0;n<u.length;n=n+1|0)for(f=System.String.split(u[System.Array.index(n,u)],[61].map(function(n){return String.fromCharCode(n)})),t=0;t<f.length;t=t+1|0)i.add(f[System.Array.index(t,f)]);return i.toArray()}return System.Array.init(0,null,System.String)},getEnvironmentVariable:function(n){if(n==null)throw new System.ArgumentNullException("variable");var t={};return System.Environment.variables.tryGetValue(n.toLowerCase(),t)?t.v:null},getEnvironmentVariable$1:function(n){return System.Environment.getEnvironmentVariable(n)},getEnvironmentVariables:function(){return System.Environment.patchDictionary(new(System.Collections.Generic.Dictionary$2(System.String,System.String))(System.Environment.variables))},getEnvironmentVariables$1:function(){return System.Environment.getEnvironmentVariables()},getLogicalDrives:function(){return System.Array.init(0,null,System.String)},setEnvironmentVariable:function(n,t){if(n==null)throw new System.ArgumentNullException("variable");if(System.String.isNullOrEmpty(n)||System.String.startsWith(n,String.fromCharCode(0))||System.String.contains(n,"=")||n.length>32767)throw new System.ArgumentException("Incorrect variable (cannot be empty, contain zero character nor equal sign, be longer than 32767).");n=n.toLowerCase();System.String.isNullOrEmpty(t)?System.Environment.variables.containsKey(n)&&System.Environment.variables.remove(n):System.Environment.variables.set(n,t)},setEnvironmentVariable$1:function(n,t){System.Environment.setEnvironmentVariable(n,t)}}}});Bridge.define("System.Text.RegularExpressions.Regex",{statics:{_cacheSize:15,_defaultMatchTimeout:System.TimeSpan.fromMilliseconds(-1),getCacheSize:function(){return System.Text.RegularExpressions.Regex._cacheSize},setCacheSize:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("value");System.Text.RegularExpressions.Regex._cacheSize=n},escape:function(n){if(n==null)throw new System.ArgumentNullException("str");return System.Text.RegularExpressions.RegexParser.escape(n)},unescape:function(n){if(n==null)throw new System.ArgumentNullException("str");return System.Text.RegularExpressions.RegexParser.unescape(n)},isMatch:function(n,t,i,r){var u=System.Text.RegularExpressions,f;return Bridge.isDefined(i)||(i=u.RegexOptions.None),Bridge.isDefined(r)||(r=u.Regex._defaultMatchTimeout),f=new System.Text.RegularExpressions.Regex.ctor(t,i,r,!0),f.isMatch(n)},match:function(n,t,i,r){var u=System.Text.RegularExpressions,f;return Bridge.isDefined(i)||(i=u.RegexOptions.None),Bridge.isDefined(r)||(r=u.Regex._defaultMatchTimeout),f=new System.Text.RegularExpressions.Regex.ctor(t,i,r,!0),f.match(n)},matches:function(n,t,i,r){var u=System.Text.RegularExpressions,f;return Bridge.isDefined(i)||(i=u.RegexOptions.None),Bridge.isDefined(r)||(r=u.Regex._defaultMatchTimeout),f=new System.Text.RegularExpressions.Regex.ctor(t,i,r,!0),f.matches(n)},replace:function(n,t,i,r,u){var f=System.Text.RegularExpressions,e;return Bridge.isDefined(r)||(r=f.RegexOptions.None),Bridge.isDefined(u)||(u=f.Regex._defaultMatchTimeout),e=new System.Text.RegularExpressions.Regex.ctor(t,r,u,!0),e.replace(n,i)},split:function(n,t,i,r){var u=System.Text.RegularExpressions,f;return Bridge.isDefined(i)||(i=u.RegexOptions.None),Bridge.isDefined(r)||(r=u.Regex._defaultMatchTimeout),f=new System.Text.RegularExpressions.Regex.ctor(t,i,r,!0),f.split(n)}},_pattern:"",_matchTimeout:System.TimeSpan.fromMilliseconds(-1),_runner:null,_caps:null,_capsize:0,_capnames:null,_capslist:null,config:{init:function(){this._options=System.Text.RegularExpressions.RegexOptions.None}},ctor:function(n,t,i,r){var u,f,e;if(this.$initialize(),Bridge.isDefined(t)||(t=System.Text.RegularExpressions.RegexOptions.None),Bridge.isDefined(i)||(i=System.TimeSpan.fromMilliseconds(-1)),Bridge.isDefined(r)||(r=!1),u=System.Text.RegularExpressions,n==null)throw new System.ArgumentNullException("pattern");if(t<u.RegexOptions.None||t>>10!=0)throw new System.ArgumentOutOfRangeException("options");if((t&u.RegexOptions.ECMAScript)!=0&&(t&~(u.RegexOptions.ECMAScript|u.RegexOptions.IgnoreCase|u.RegexOptions.Multiline|u.RegexOptions.CultureInvariant))!=0)throw new System.ArgumentOutOfRangeException("options");if(f=System.Text.RegularExpressions.RegexOptions.IgnoreCase|System.Text.RegularExpressions.RegexOptions.Multiline|System.Text.RegularExpressions.RegexOptions.Singleline|System.Text.RegularExpressions.RegexOptions.IgnorePatternWhitespace|System.Text.RegularExpressions.RegexOptions.ExplicitCapture,(t|f)!==f)throw new System.NotSupportedException("Specified Regex options are not supported.");this._validateMatchTimeout(i);this._pattern=n;this._options=t;this._matchTimeout=i;this._runner=new u.RegexRunner(this);e=this._runner.parsePattern();this._capnames=e.sparseSettings.sparseSlotNameMap;this._capslist=e.sparseSettings.sparseSlotNameMap.keys;this._capsize=this._capslist.length},getMatchTimeout:function(){return this._matchTimeout},getOptions:function(){return this._options},getRightToLeft:function(){return(this._options&System.Text.RegularExpressions.RegexOptions.RightToLeft)!=0},isMatch:function(n,t){if(n==null)throw new System.ArgumentNullException("input");Bridge.isDefined(t)||(t=this.getRightToLeft()?n.length:0);var i=this._runner.run(!0,-1,n,0,n.length,t);return i==null},match:function(n,t,i){if(n==null)throw new System.ArgumentNullException("input");var r=n.length,u=0;return arguments.length===3?(u=t,r=i,t=this.getRightToLeft()?u+r:u):Bridge.isDefined(t)||(t=this.getRightToLeft()?r:0),this._runner.run(!1,-1,n,u,r,t)},matches:function(n,t){if(n==null)throw new System.ArgumentNullException("input");return Bridge.isDefined(t)||(t=this.getRightToLeft()?n.length:0),new System.Text.RegularExpressions.MatchCollection(this,n,0,n.length,t)},getGroupNames:function(){if(this._capslist==null){for(var i=System.Globalization.CultureInfo.invariantCulture,t=[],r=this._capsize,n=0;n<r;n++)t[n]=System.Convert.toString(n,i,System.Convert.typeCodes.Int32);return t}return this._capslist.slice()},getGroupNumbers:function(){var t=this._caps,n,i,u,r;if(t==null)for(n=[],u=this._capsize,r=0;r<u;r++)n.push(r);else{n=[];for(i in t)t.hasOwnProperty(i)&&(n[t[i]]=i)}return n},groupNameFromNumber:function(n){var i,t;return this._capslist==null?n>=0&&n<this._capsize?(i=System.Globalization.CultureInfo.invariantCulture,System.Convert.toString(n,i,System.Convert.typeCodes.Int32)):"":this._caps!=null?(t=this._caps[n],t==null)?"":parseInt(t):n>=0&&n<this._capslist.length?this._capslist[n]:""},groupNumberFromName:function(n){var u,t,i,r;if(n==null)throw new System.ArgumentNullException("name");if(this._capnames!=null)return(u=this._capnames[n],u==null)?-1:parseInt(u);for(t=0,r=0;r<n.Length;r++){if(i=n[r],i>"9"||i<"0")return-1;t*=10;t+=i-"0"}return t>=0&&t<this._capsize?t:-1},replace:function(n,t,i,r){if(n==null)throw new System.ArgumentNullException("input");if(Bridge.isDefined(i)||(i=-1),Bridge.isDefined(r)||(r=this.getRightToLeft()?n.length:0),t==null)throw new System.ArgumentNullException("evaluator");if(Bridge.isFunction(t))return System.Text.RegularExpressions.RegexReplacement.replace(t,this,n,i,r);var u=System.Text.RegularExpressions.RegexParser.parseReplacement(t,this._caps,this._capsize,this._capnames,this._options);return u.replace(this,n,i,r)},split:function(n,t,i){if(n==null)throw new System.ArgumentNullException("input");return Bridge.isDefined(t)||(t=0),Bridge.isDefined(i)||(i=this.getRightToLeft()?n.length:0),System.Text.RegularExpressions.RegexReplacement.split(this,n,t,i)},_validateMatchTimeout:function(n){var t=n.getTotalMilliseconds();if(-1!==t&&(!(t>0)||!(t<=2147483646)))throw new System.ArgumentOutOfRangeException("matchTimeout");}});Bridge.define("System.Text.RegularExpressions.Capture",{_text:"",_index:0,_length:0,ctor:function(n,t,i){this.$initialize();this._text=n;this._index=t;this._length=i},getIndex:function(){return this._index},getLength:function(){return this._length},getValue:function(){return this._text.substr(this._index,this._length)},toString:function(){return this.getValue()},_getOriginalString:function(){return this._text},_getLeftSubstring:function(){return this._text.slice(0,_index)},_getRightSubstring:function(){return this._text.slice(this._index+this._length,this._text.length)}});Bridge.define("System.Text.RegularExpressions.CaptureCollection",{inherits:function(){return[System.Collections.ICollection]},config:{properties:{Count:{get:function(){return this._capcount}}},alias:["getEnumerator","System$Collections$IEnumerable$getEnumerator","getCount","System$Collections$ICollection$getCount","Count","System$Collections$ICollection$Count","copyTo","System$Collections$ICollection$copyTo"]},_group:null,_capcount:0,_captures:null,ctor:function(n){this.$initialize();this._group=n;this._capcount=n._capcount},getSyncRoot:function(){return this._group},getIsSynchronized:function(){return!1},getIsReadOnly:function(){return!0},getCount:function(){return this._capcount},get:function(n){if(n===this._capcount-1&&n>=0)return this._group;if(n>=this._capcount||n<0)throw new System.ArgumentOutOfRangeException("i");return this._ensureCapturesInited(),this._captures[n]},copyTo:function(n,t){if(n==null)throw new System.ArgumentNullException("array");if(n.length<t+this._capcount)throw new System.IndexOutOfRangeException;for(var u,r=t,i=0;i<this._capcount;r++,i++)u=this.get(i),System.Array.set(n,u,[r])},getEnumerator:function(){return new System.Text.RegularExpressions.CaptureEnumerator(this)},_ensureCapturesInited:function(){var t,n,i,r;if(this._captures==null){for(t=[],t.length=this._capcount,n=0;n<this._capcount-1;n++)i=this._group._caps[n*2],r=this._group._caps[n*2+1],t[n]=new System.Text.RegularExpressions.Capture(this._group._text,i,r);this._capcount>0&&(t[this._capcount-1]=this._group);this._captures=t}}});Bridge.define("System.Text.RegularExpressions.CaptureEnumerator",{inherits:function(){return[System.Collections.IEnumerator]},config:{properties:{Current:{get:function(){return this.getCurrent()}}},alias:["getCurrent","System$Collections$IEnumerator$getCurrent","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset","Current","System$Collections$IEnumerator$Current"]},_captureColl:null,_curindex:0,ctor:function(n){this.$initialize();this._curindex=-1;this._captureColl=n},moveNext:function(){var n=this._captureColl.getCount();return this._curindex>=n?!1:(this._curindex++,this._curindex<n)},getCurrent:function(){return this.getCapture()},getCapture:function(){if(this._curindex<0||this._curindex>=this._captureColl.getCount())throw new System.InvalidOperationException("Enumeration has either not started or has already finished.");return this._captureColl.get(this._curindex)},reset:function(){this._curindex=-1}});Bridge.define("System.Text.RegularExpressions.Group",{inherits:function(){return[System.Text.RegularExpressions.Capture]},statics:{config:{init:function(){var n=new System.Text.RegularExpressions.Group("",[],0);this.getEmpty=function(){return n}}},synchronized:function(n){if(n==null)throw new System.ArgumentNullException("group");var t=n.getCaptures();return t.getCount()>0&&t.get(0),n}},_caps:null,_capcount:0,_capColl:null,ctor:function(n,t,i){this.$initialize();var r=System.Text.RegularExpressions,u=i===0?0:t[(i-1)*2],f=i===0?0:t[i*2-1];r.Capture.ctor.call(this,n,u,f);this._caps=t;this._capcount=i},getSuccess:function(){return this._capcount!==0},getCaptures:function(){return this._capColl==null&&(this._capColl=new System.Text.RegularExpressions.CaptureCollection(this)),this._capColl}});Bridge.define("System.Text.RegularExpressions.GroupCollection",{inherits:function(){return[System.Collections.ICollection]},config:{properties:{Count:{get:function(){return this._match._matchcount.length}}},alias:["getEnumerator","System$Collections$IEnumerable$getEnumerator","getCount","System$Collections$ICollection$getCount","Count","System$Collections$ICollection$Count","copyTo","System$Collections$ICollection$copyTo"]},_match:null,_captureMap:null,_groups:null,ctor:function(n,t){this.$initialize();this._match=n;this._captureMap=t},getSyncRoot:function(){return this._match},getIsSynchronized:function(){return!1},getIsReadOnly:function(){return!0},getCount:function(){return this._match._matchcount.length},get:function(n){return this._getGroup(n)},getByName:function(n){if(this._match._regex==null)return System.Text.RegularExpressions.Group.getEmpty();var t=this._match._regex.groupNumberFromName(n);return this._getGroup(t)},copyTo:function(n,t){var r,f,u,i;if(n==null)throw new System.ArgumentNullException("array");if(r=this.getCount(),n.length<t+r)throw new System.IndexOutOfRangeException;for(u=t,i=0;i<r;u++,i++)f=this._getGroup(i),System.Array.set(n,f,[u])},getEnumerator:function(){return new System.Text.RegularExpressions.GroupEnumerator(this)},_getGroup:function(n){var t,i;return this._captureMap!=null?(i=this._captureMap[n],t=i==null?System.Text.RegularExpressions.Group.getEmpty():this._getGroupImpl(i)):t=n>=this._match._matchcount.length||n<0?System.Text.RegularExpressions.Group.getEmpty():this._getGroupImpl(n),t},_getGroupImpl:function(n){return n===0?this._match:(this._ensureGroupsInited(),this._groups[n])},_ensureGroupsInited:function(){var n,i,r,u,t;if(this._groups==null){for(n=[],n.length=this._match._matchcount.length,n.length>0&&(n[0]=this._match),t=0;t<n.length-1;t++)i=this._match._text,r=this._match._matches[t+1],u=this._match._matchcount[t+1],n[t+1]=new System.Text.RegularExpressions.Group(i,r,u);this._groups=n}}});Bridge.define("System.Text.RegularExpressions.GroupEnumerator",{inherits:function(){return[System.Collections.IEnumerator]},config:{properties:{Current:{get:function(){return this.getCurrent()}}},alias:["getCurrent","System$Collections$IEnumerator$getCurrent","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset","Current","System$Collections$IEnumerator$Current"]},_groupColl:null,_curindex:0,ctor:function(n){this.$initialize();this._curindex=-1;this._groupColl=n},moveNext:function(){var n=this._groupColl.getCount();return this._curindex>=n?!1:(this._curindex++,this._curindex<n)},getCurrent:function(){return this.getCapture()},getCapture:function(){if(this._curindex<0||this._curindex>=this._groupColl.getCount())throw new System.InvalidOperationException("Enumeration has either not started or has already finished.");return this._groupColl.get(this._curindex)},reset:function(){this._curindex=-1}});Bridge.define("System.Text.RegularExpressions.Match",{inherits:function(){return[System.Text.RegularExpressions.Group]},statics:{config:{init:function(){var n=new System.Text.RegularExpressions.Match(null,1,"",0,0,0);this.getEmpty=function(){return n}}},synchronized:function(n){if(n==null)throw new System.ArgumentNullException("match");for(var i=n.getGroups(),u=i.getCount(),r,t=0;t<u;t++)r=i.get(t),System.Text.RegularExpressions.Group.synchronized(r);return n}},_regex:null,_matchcount:null,_matches:null,_textbeg:0,_textend:0,_textstart:0,_groupColl:null,_textpos:0,ctor:function(n,t,i,r,u,f){var s,o,e;for(this.$initialize(),s=System.Text.RegularExpressions,o=[0,0],s.Group.ctor.call(this,i,o,0),this._regex=n,this._matchcount=[],this._matchcount.length=t,e=0;e<t;e++)this._matchcount[e]=0;this._matches=[];this._matches.length=t;this._matches[0]=o;this._textbeg=r;this._textend=r+u;this._textstart=f},getGroups:function(){return this._groupColl==null&&(this._groupColl=new System.Text.RegularExpressions.GroupCollection(this,null)),this._groupColl},nextMatch:function(){return this._regex==null?this:this._regex._runner.run(!1,this._length,this._text,this._textbeg,this._textend-this._textbeg,this._textpos)},result:function(n){if(n==null)throw new System.ArgumentNullException("replacement");if(this._regex==null)throw new System.NotSupportedException("Result cannot be called on a failed Match.");var t=System.Text.RegularExpressions.RegexParser.parseReplacement(n,this._regex._caps,this._regex._capsize,this._regex._capnames,this._regex._options);return t.replacement(this)},_isMatched:function(n){return n<this._matchcount.length&&this._matchcount[n]>0&&this._matches[n][this._matchcount[n]*2-1]!==-2},_addMatch:function(n,t,i){var r,e,f,u;if(this._matches[n]==null&&(this._matches[n]=new Array(2)),r=this._matchcount[n],r*2+2>this._matches[n].length){for(e=this._matches[n],f=new Array(r*8),u=0;u<r*2;u++)f[u]=e[u];this._matches[n]=f}this._matches[n][r*2]=t;this._matches[n][r*2+1]=i;this._matchcount[n]=r+1},_tidy:function(n){var t=this._matches[0];this._index=t[0];this._length=t[1];this._textpos=n;this._capcount=this._matchcount[0]},_groupToStringImpl:function(n){var t=this._matchcount[n];if(t===0)return"";var i=this._matches[n],r=i[(t-1)*2],u=i[t*2-1];return this._text.slice(r,r+u)},_lastGroupToStringImpl:function(){return this._groupToStringImpl(this._matchcount.length-1)}});Bridge.define("System.Text.RegularExpressions.MatchSparse",{inherits:function(){return[System.Text.RegularExpressions.Match]},_caps:null,ctor:function(n,t,i,r,u,f,e){this.$initialize();var o=System.Text.RegularExpressions;o.Match.ctor.call(this,n,i,r,u,f,e);this._caps=t},getGroups:function(){return this._groupColl==null&&(this._groupColl=new System.Text.RegularExpressions.GroupCollection(this,this._caps)),this._groupColl}});Bridge.define("System.Text.RegularExpressions.MatchCollection",{inherits:function(){return[System.Collections.ICollection]},config:{properties:{Count:{get:function(){return this.getCount()}}},alias:["getEnumerator","System$Collections$IEnumerable$getEnumerator","getCount","System$Collections$ICollection$getCount","Count","System$Collections$ICollection$Count","copyTo","System$Collections$ICollection$copyTo"]},_regex:null,_input:null,_beginning:0,_length:0,_startat:0,_prevlen:0,_matches:null,_done:!1,ctor:function(n,t,i,r,u){if(this.$initialize(),u<0||u>t.Length)throw new System.ArgumentOutOfRangeException("startat");this._regex=n;this._input=t;this._beginning=i;this._length=r;this._startat=u;this._prevlen=-1;this._matches=[]},getCount:function(){return this._done||this._getMatch(2147483647),this._matches.length},getSyncRoot:function(){return this},getIsSynchronized:function(){return!1},getIsReadOnly:function(){return!0},get:function(n){var t=this._getMatch(n);if(t==null)throw new System.ArgumentOutOfRangeException("i");return t},copyTo:function(n,t){var r,f,u,i;if(n==null)throw new System.ArgumentNullException("array");if(r=this.getCount(),n.length<t+r)throw new System.IndexOutOfRangeException;for(u=t,i=0;i<r;u++,i++)f=this._getMatch(i),System.Array.set(n,f,[u])},getEnumerator:function(){return new System.Text.RegularExpressions.MatchEnumerator(this)},_getMatch:function(n){if(n<0)return null;if(this._matches.length>n)return this._matches[n];if(this._done)return null;var t;do{if(t=this._regex._runner.run(!1,this._prevLen,this._input,this._beginning,this._length,this._startat),!t.getSuccess())return this._done=!0,null;this._matches.push(t);this._prevLen=t._length;this._startat=t._textpos}while(this._matches.length<=n);return t}});Bridge.define("System.Text.RegularExpressions.MatchEnumerator",{inherits:function(){return[System.Collections.IEnumerator]},config:{properties:{Current:{get:function(){return this.getCurrent()}}},alias:["getCurrent","System$Collections$IEnumerator$getCurrent","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset","Current","System$Collections$IEnumerator$Current"]},_matchcoll:null,_match:null,_curindex:0,_done:!1,ctor:function(n){this.$initialize();this._matchcoll=n},moveNext:function(){return this._done?!1:(this._match=this._matchcoll._getMatch(this._curindex),this._curindex++,this._match==null)?(this._done=!0,!1):!0},getCurrent:function(){if(this._match==null)throw new System.InvalidOperationException("Enumeration has either not started or has already finished.");return this._match},reset:function(){this._curindex=0;this._done=!1;this._match=null}});Bridge.define("System.Text.RegularExpressions.RegexOptions",{statics:{None:0,IgnoreCase:1,Multiline:2,ExplicitCapture:4,Compiled:8,Singleline:16,IgnorePatternWhitespace:32,RightToLeft:64,ECMAScript:256,CultureInvariant:512},$kind:"enum",$flags:!0});Bridge.define("System.Text.RegularExpressions.RegexRunner",{statics:{},_runregex:null,_netEngine:null,_runtext:"",_runtextpos:0,_runtextbeg:0,_runtextend:0,_runtextstart:0,_quick:!1,_prevlen:0,ctor:function(n){if(this.$initialize(),n==null)throw new System.ArgumentNullException("regex");this._runregex=n;var i=n.getOptions(),t=System.Text.RegularExpressions.RegexOptions,r=(i&t.IgnoreCase)===t.IgnoreCase,u=(i&t.Multiline)===t.Multiline,f=(i&t.Singleline)===t.Singleline,e=(i&t.IgnorePatternWhitespace)===t.IgnorePatternWhitespace,o=(i&t.ExplicitCapture)===t.ExplicitCapture,s=n._matchTimeout.getTotalMilliseconds();this._netEngine=new System.Text.RegularExpressions.RegexEngine(n._pattern,r,u,f,e,o,s)},run:function(n,t,i,r,u,f){var e,o,s,h;if(f<0||f>i.Length)throw new System.ArgumentOutOfRangeException("start","Start index cannot be less than 0 or greater than input length.");if(u<0||u>i.Length)throw new ArgumentOutOfRangeException("length","Length cannot be less than 0 or exceed input length.");if(this._runtext=i,this._runtextbeg=r,this._runtextend=r+u,this._runtextstart=f,this._quick=n,this._prevlen=t,this._runregex.getRightToLeft()?(e=this._runtextbeg,o=-1):(e=this._runtextend,o=1),this._prevlen===0){if(this._runtextstart===e)return System.Text.RegularExpressions.Match.getEmpty();this._runtextstart+=o}return s=this._netEngine.match(this._runtext,this._runtextstart),h=this._convertNetEngineResults(s),h},parsePattern:function(){return this._netEngine.parsePattern()},_convertNetEngineResults:function(n){var f,i,t,e,o,r,u,s;if(n.success&&this._quick)return null;if(!n.success)return System.Text.RegularExpressions.Match.getEmpty();for(f=this.parsePattern(),i=f.sparseSettings.isSparse?new System.Text.RegularExpressions.MatchSparse(this._runregex,f.sparseSettings.sparseSlotMap,n.groups.length,this._runtext,0,this._runtext.length,this._runtextstart):new System.Text.RegularExpressions.Match(this._runregex,n.groups.length,this._runtext,0,this._runtext.length,this._runtextstart),r=0;r<n.groups.length;r++)for(t=n.groups[r],o=0,t.descriptor!=null&&(o=this._runregex.groupNumberFromName(t.descriptor.name)),u=0;u<t.captures.length;u++)e=t.captures[u],i._addMatch(o,e.capIndex,e.capLength);return s=n.capIndex+n.capLength,i._tidy(s),i}});Bridge.define("System.Text.RegularExpressions.RegexParser",{statics:{_Q:5,_S:4,_Z:3,_X:2,_E:1,_category:[0,0,0,0,0,0,0,0,0,2,2,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,3,4,0,0,0,4,4,5,5,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,4,0,0,0],escape:function(n){for(var r,i,u,t=0;t<n.length;t++)if(System.Text.RegularExpressions.RegexParser._isMetachar(n[t])){r="";i=n[t];r+=n.slice(0,t);do{r+="\\";switch(i){case"\n":i="n";break;case"\r":i="r";break;case"\t":i="t";break;case"\f":i="f"}for(r+=i,t++,u=t;t<n.length;){if(i=n[t],System.Text.RegularExpressions.RegexParser._isMetachar(i))break;t++}r+=n.slice(u,t)}while(t<n.length);return r}return n},unescape:function(n){for(var f=System.Globalization.CultureInfo.invariantCulture,i,u,r,t=0;t<n.length;t++)if(n[t]==="\\"){i="";r=new System.Text.RegularExpressions.RegexParser(f);r._setPattern(n);i+=n.slice(0,t);do{for(t++,r._textto(t),t<n.length&&(i+=r._scanCharEscape()),t=r._textpos(),u=t;t<n.length&&n[t]!=="\\";)t++;i+=n.slice(u,t)}while(t<n.length);return i}return n},parseReplacement:function(n,t,i,r,u){var o=System.Globalization.CultureInfo.getCurrentCulture(),f=new System.Text.RegularExpressions.RegexParser(o),e;return f._options=u,f._noteCaptures(t,i,r),f._setPattern(n),e=f._scanReplacement(),new System.Text.RegularExpressions.RegexReplacement(n,e,t)},_isMetachar:function(n){var t=n.charCodeAt(0);return t<="|".charCodeAt(0)&&System.Text.RegularExpressions.RegexParser._category[t]>=System.Text.RegularExpressions.RegexParser._E}},_caps:null,_capsize:0,_capnames:null,_pattern:"",_currentPos:0,_concatenation:null,_culture:null,config:{init:function(){this._options=System.Text.RegularExpressions.RegexOptions.None}},ctor:function(n){this.$initialize();this._culture=n;this._caps={}},_noteCaptures:function(n,t,i){this._caps=n;this._capsize=t;this._capnames=i},_setPattern:function(n){n==null&&(n="");this._pattern=n||"";this._currentPos=0},_scanReplacement:function(){this._concatenation=new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Concatenate,this._options);for(var n,t,i;;){if(n=this._charsRight(),n===0)break;for(t=this._textpos();n>0&&this._rightChar()!=="$";)this._moveRight(),n--;this._addConcatenate(t,this._textpos()-t);n>0&&this._moveRightGetChar()==="$"&&(i=this._scanDollar(),this._concatenation.addChild(i))}return this._concatenation},_addConcatenate:function(n,t){var i,r,u;t!==0&&(t>1?(r=this._pattern.slice(n,n+t),i=new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Multi,this._options,r)):(u=this._pattern[n],i=new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.One,this._options,u)),this._concatenation.addChild(i))},_useOptionE:function(){return(this._options&System.Text.RegularExpressions.RegexOptions.ECMAScript)!=0},_makeException:function(n){return new System.ArgumentException("Incorrect pattern. "+n)},_scanDollar:function(){var o=214748364,n,f,i,e,h;if(this._charsRight()===0)return new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.One,this._options,"$");var t=this._rightChar(),r,s=this._textpos(),u=s;if(t==="{"&&this._charsRight()>1?(r=!0,this._moveRight(),t=this._rightChar()):r=!1,t>="0"&&t<="9"){if(!r&&this._useOptionE()){for(n=-1,i=t-"0",this._moveRight(),this._isCaptureSlot(i)&&(n=i,u=this._textpos());this._charsRight()>0&&(t=this._rightChar())>="0"&&t<="9";){if(f=t-"0",i>o||i===o&&f>7)throw this._makeException("Capture group is out of range.");i=i*10+f;this._moveRight();this._isCaptureSlot(i)&&(n=i,u=this._textpos())}if(this._textto(u),n>=0)return new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Ref,this._options,n)}else if(n=this._scanDecimal(),(!r||this._charsRight()>0&&this._moveRightGetChar()==="}")&&this._isCaptureSlot(n))return new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Ref,this._options,n)}else if(r&&this._isWordChar(t)){if(e=this._scanCapname(),this._charsRight()>0&&this._moveRightGetChar()==="}"&&this._isCaptureName(e))return h=this._captureSlotFromName(e),new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Ref,this._options,h)}else if(!r){n=1;switch(t){case"$":return this._moveRight(),new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.One,this._options,"$");case"&":n=0;break;case"`":n=System.Text.RegularExpressions.RegexReplacement.LeftPortion;break;case"'":n=System.Text.RegularExpressions.RegexReplacement.RightPortion;break;case"+":n=System.Text.RegularExpressions.RegexReplacement.LastGroup;break;case"_":n=System.Text.RegularExpressions.RegexReplacement.WholeString}if(n!==1)return this._moveRight(),new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Ref,this._options,n)}return this._textto(s),new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.One,this._options,"$")},_scanDecimal:function(){for(var r=214748364,n=0,t,i;this._charsRight()>0;){if(t=this._rightChar(),t<"0"||t>"9")break;if(i=t-"0",this._moveRight(),n>r||n===r&&i>7)throw this._makeException("Capture group is out of range.");n*=10;n+=i}return n},_scanOctal:function(){var i,n,t;for(t=3,t>this._charsRight()&&(t=this._charsRight()),n=0;t>0&&(i=this._rightChar()-"0")<=7;t-=1)if(this._moveRight(),n*=8,n+=i,this._useOptionE()&&n>=32)break;return n&=255,String.fromCharCode(n)},_scanHex:function(n){var t,i;if(t=0,this._charsRight()>=n)for(;n>0&&(i=this._hexDigit(this._moveRightGetChar()))>=0;n-=1)t*=16,t+=i;if(n>0)throw this._makeException("Insufficient hexadecimal digits.");return t},_hexDigit:function(n){var t,i=n.charCodeAt(0);return(t=i-"0".charCodeAt(0))<=9?t:(t=i-"a".charCodeAt(0))<=5?t+10:(t=i-"A".charCodeAt(0))<=5?t+10:-1},_scanControl:function(){if(this._charsRight()<=0)throw this._makeException("Missing control character.");var t=this._moveRightGetChar(),n=t.charCodeAt(0);if(n>="a".charCodeAt(0)&&n<="z".charCodeAt(0)&&(n=n-("a".charCodeAt(0)-"A".charCodeAt(0))),(n=n-"@".charCodeAt(0))<" ".charCodeAt(0))return String.fromCharCode(n);throw this._makeException("Unrecognized control character.");},_scanCapname:function(){for(var n=this._textpos();this._charsRight()>0;)if(!this._isWordChar(this._moveRightGetChar())){this._moveLeft();break}return _pattern.slice(n,this._textpos())},_scanCharEscape:function(){var n=this._moveRightGetChar(),t;if(n>="0"&&n<="7")return this._moveLeft(),this._scanOctal();switch(n){case"x":return this._scanHex(2);case"u":return this._scanHex(4);case"a":return"\x07";case"b":return"\b";case"e":return"\x1b";case"f":return"\f";case"n":return"\n";case"r":return"\r";case"t":return"\t";case"v":return"\x0b";case"c":return this._scanControl();default:if(t=n==="8"||n==="9"||n==="_",t||!this._useOptionE()&&this._isWordChar(n))throw this._makeException("Unrecognized escape sequence \\"+n+".");return n}},_captureSlotFromName:function(n){return this._capnames[n]},_isCaptureSlot:function(n){return this._caps!=null?this._caps[n]!=null:n>=0&&n<this._capsize},_isCaptureName:function(n){return this._capnames==null?!1:_capnames[n]!=null},_isWordChar:function(n){return System.Char.isLetter(n.charCodeAt(0))},_charsRight:function(){return this._pattern.length-this._currentPos},_rightChar:function(){return this._pattern[this._currentPos]},_moveRightGetChar:function(){return this._pattern[this._currentPos++]},_moveRight:function(){this._currentPos++},_textpos:function(){return this._currentPos},_textto:function(n){this._currentPos=n},_moveLeft:function(){this._currentPos--}});Bridge.define("System.Text.RegularExpressions.RegexNode",{statics:{One:9,Multi:12,Ref:13,Empty:23,Concatenate:25},_type:0,_str:null,_children:null,_next:null,_m:0,config:{init:function(){this._options=System.Text.RegularExpressions.RegexOptions.None}},ctor:function(n,t,i){this.$initialize();this._type=n;this._options=t;n===System.Text.RegularExpressions.RegexNode.Ref?this._m=i:this._str=i||null},addChild:function(n){this._children==null&&(this._children=[]);var t=n._reduce();this._children.push(t);t._next=this},childCount:function(){return this._children==null?0:this._children.length},child:function(n){return this._children[n]},_reduce:function(){var n;switch(this._type){case System.Text.RegularExpressions.RegexNode.Concatenate:n=this._reduceConcatenation();break;default:n=this}return n},_reduceConcatenation:function(){var e=!1,o=0,u,n,i,r,t,f;if(this._children==null)return new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Empty,this._options);for(r=0,t=0;r<this._children.length;r++,t++)if(n=this._children[r],t<r&&(this._children[t]=n),n._type===System.Text.RegularExpressions.RegexNode.Concatenate&&n._isRightToLeft()){for(f=0;f<n._children.length;f++)n._children[f]._next=this;this._children.splice.apply(this._children,[r+1,0].concat(n._children));t--}else if(n._type===System.Text.RegularExpressions.RegexNode.Multi||n._type===System.Text.RegularExpressions.RegexNode.One){if(u=n._options&(System.Text.RegularExpressions.RegexOptions.RightToLeft|System.Text.RegularExpressions.RegexOptions.IgnoreCase),!e||o!==u){e=!0;o=u;continue}i=this._children[--t];i._type===System.Text.RegularExpressions.RegexNode.One&&(i._type=System.Text.RegularExpressions.RegexNode.Multi,i._str=i._str);(u&System.Text.RegularExpressions.RegexOptions.RightToLeft)==0?i._str+=n._str:i._str=n._str+i._str}else n._type===System.Text.RegularExpressions.RegexNode.Empty?t--:e=!1;return t<r&&this._children.splice(t,r-t),this._stripEnation(System.Text.RegularExpressions.RegexNode.Empty)},_stripEnation:function(n){switch(this.childCount()){case 0:return new t.RegexNode(n,this._options);case 1:return this.child(0);default:return this}},_isRightToLeft:function(){return(this._options&System.Text.RegularExpressions.RegexOptions.RightToLeft)>0?!0:!1}});Bridge.define("System.Text.RegularExpressions.RegexReplacement",{statics:{replace:function(n,t,i,r,u){var f,o,e,s,h,c,l;if(n==null)throw new System.ArgumentNullException("evaluator");if(r<-1)throw new System.ArgumentOutOfRangeException("count","Count cannot be less than -1.");if(u<0||u>i.length)throw new System.ArgumentOutOfRangeException("startat","Start index cannot be less than 0 or greater than input length.");if(r===0)return i;if(f=t.match(i,u),f.getSuccess()){if(o="",t.getRightToLeft()){c=[];e=i.length;do{if(s=f.getIndex(),h=f.getLength(),s+h!==e&&c.push(i.slice(s+h,e)),e=s,c.push(n(f)),--r==0)break;f=f.nextMatch()}while(f.getSuccess());for(o=new StringBuilder,e>0&&(o+=o.slice(0,e)),l=c.length-1;l>=0;l--)o+=c[l]}else{e=0;do{if(s=f.getIndex(),h=f.getLength(),s!==e&&(o+=i.slice(e,s)),e=s+h,o+=n(f),--r==0)break;f=f.nextMatch()}while(f.getSuccess());e<i.length&&(o+=i.slice(e,i.length))}return o}return i},split:function(n,t,i,r){var f,u,e,o,s,c,h,l;if(i<0)throw new System.ArgumentOutOfRangeException("count","Count can't be less than 0.");if(r<0||r>t.length)throw new System.ArgumentOutOfRangeException("startat","Start index cannot be less than 0 or greater than input length.");if(f=[],i===1)return f.push(t),f;if(--i,u=n.match(t,r),u.getSuccess())if(n.getRightToLeft()){for(o=t.length;;){for(s=u.getIndex(),c=u.getLength(),h=u.getGroups(),l=h.getCount(),f.push(t.slice(s+c,o)),o=s,e=1;e<l;e++)u._isMatched(e)&&f.push(h.get(e).toString());if(--i,i===0)break;if(u=u.nextMatch(),!u.getSuccess())break}f.push(t.slice(0,o));f.reverse()}else{for(o=0;;){for(s=u.getIndex(),c=u.getLength(),h=u.getGroups(),l=h.getCount(),f.push(t.slice(o,s)),o=s+c,e=1;e<l;e++)u._isMatched(e)&&f.push(h.get(e).toString());if(--i,i===0)break;if(u=u.nextMatch(),!u.getSuccess())break}f.push(t.slice(o,t.length))}else f.push(t);return f},Specials:4,LeftPortion:-1,RightPortion:-2,LastGroup:-3,WholeString:-4},_rep:"",_strings:[],_rules:[],ctor:function(n,t,i){if(this.$initialize(),this._rep=n,t._type!==System.Text.RegularExpressions.RegexNode.Concatenate)throw new System.ArgumentException("Replacement error.");for(var r="",u=[],e=[],f,o,s=0;s<t.childCount();s++){o=t.child(s);switch(o._type){case System.Text.RegularExpressions.RegexNode.Multi:case System.Text.RegularExpressions.RegexNode.One:r+=o._str;break;case System.Text.RegularExpressions.RegexNode.Ref:r.length>0&&(e.push(u.length),u.push(r),r="");f=o._m;i!=null&&f>=0&&(f=i[f]);e.push(-System.Text.RegularExpressions.RegexReplacement.Specials-1-f);break;default:throw new System.ArgumentException("Replacement error.");}}r.length>0&&(e.push(u.length),u.push(r));this._strings=u;this._rules=e},getPattern:function(){return _rep},replacement:function(n){return this._replacementImpl("",n)},replace:function(n,t,i,r){var u,e,f,o,s,h,c;if(i<-1)throw new System.ArgumentOutOfRangeException("count","Count cannot be less than -1.");if(r<0||r>t.length)throw new System.ArgumentOutOfRangeException("startat","Start index cannot be less than 0 or greater than input length.");if(i===0)return t;if(u=n.match(t,r),u.getSuccess()){if(e="",n.getRightToLeft()){h=[];f=t.length;do{if(o=u.getIndex(),s=u.getLength(),o+s!==f&&h.push(t.slice(o+s,f)),f=o,this._replacementImplRTL(h,u),--i==0)break;u=u.nextMatch()}while(u.getSuccess());for(f>0&&(e+=e.slice(0,f)),c=h.length-1;c>=0;c--)e+=h[c]}else{f=0;do{if(o=u.getIndex(),s=u.getLength(),o!==f&&(e+=t.slice(f,o)),f=o+s,e=this._replacementImpl(e,u),--i==0)break;u=u.nextMatch()}while(u.getSuccess());f<t.length&&(e+=t.slice(f,t.length))}return e}return t},_replacementImpl:function(n,t){for(var u=System.Text.RegularExpressions.RegexReplacement.Specials,i,r=0;r<this._rules.length;r++)if(i=this._rules[r],i>=0)n+=this._strings[i];else if(i<-u)n+=t._groupToStringImpl(-u-1-i);else switch(-u-1-i){case System.Text.RegularExpressions.RegexReplacement.LeftPortion:n+=t._getLeftSubstring();break;case System.Text.RegularExpressions.RegexReplacement.RightPortion:n+=t._getRightSubstring();break;case System.Text.RegularExpressions.RegexReplacement.LastGroup:n+=t._lastGroupToStringImpl();break;case System.Text.RegularExpressions.RegexReplacement.WholeString:n+=t._getOriginalString()}return n},_replacementImplRTL:function(n,t){for(var u=System.Text.RegularExpressions.RegexReplacement.Specials,i,r=_rules.length-1;r>=0;r--)if(i=this._rules[r],i>=0)n.push(this._strings[i]);else if(i<-u)n.push(t._groupToStringImpl(-u-1-i));else switch(-u-1-i){case System.Text.RegularExpressions.RegexReplacement.LeftPortion:n.push(t._getLeftSubstring());break;case System.Text.RegularExpressions.RegexReplacement.RightPortion:n.push(t._getRightSubstring());break;case System.Text.RegularExpressions.RegexReplacement.LastGroup:n.push(t._lastGroupToStringImpl());break;case System.Text.RegularExpressions.RegexReplacement.WholeString:n.push(t._getOriginalString())}}});Bridge.define("System.Text.RegularExpressions.RegexEngine",{_pattern:"",_patternInfo:null,_text:"",_textStart:0,_timeoutMs:-1,_timeoutTime:-1,_settings:null,_branchType:{base:0,offset:1,lazy:2,greedy:3,or:4},_branchResultKind:{ok:1,endPass:2,nextPass:3,nextBranch:4},ctor:function(n,t,i,r,u,f,e){if(this.$initialize(),n==null)throw new System.ArgumentNullException("pattern");this._pattern=n;this._timeoutMs=e;this._settings={ignoreCase:t,multiline:i,singleline:r,ignoreWhitespace:u,explicitCapture:f}},match:function(n,t){var i;if(n==null)throw new System.ArgumentNullException("text");if(t!=null&&(t<0||t>n.length))throw new System.ArgumentOutOfRangeException("textStart","Start index cannot be less than 0 or greater than input length.");return(this._text=n,this._textStart=t,this._timeoutTime=this._timeoutMs>0?(new Date).getTime()+System.Convert.toInt32(this._timeoutMs+.5):-1,i=this.parsePattern(),i.shouldFail)?this._getEmptyMatch():(this._checkTimeout(),this._scanAndTransformResult(t,i.tokens,!1,null))},parsePattern:function(){if(this._patternInfo==null){var n=System.Text.RegularExpressions.RegexEngineParser,t=n.parsePattern(this._pattern,this._cloneSettings(this._settings));this._patternInfo=t}return this._patternInfo},_scanAndTransformResult:function(n,t,i,r){var u=this._scan(n,this._text.length,t,i,r);return this._collectScanResults(u,n)},_scan:function(n,t,i,r,u){var c=this._branchResultKind,f=[],e,h,o;if(f.grCaptureCache={},e=null,h=null,i.length===0)return o=new System.Text.RegularExpressions.RegexEngineState,o.capIndex=n,o.txtIndex=n,o.capLength=0,o;var l=r?this._branchType.base:this._branchType.offset,a=this._patternInfo.isContiguous?n:t,s=new System.Text.RegularExpressions.RegexEngineBranch(l,n,n,a);for(s.pushPass(0,i,this._cloneSettings(this._settings)),s.started=!0,s.state.txtIndex=n,f.push(s);f.length;){if(e=f[f.length-1],h=this._scanBranch(t,f,e),h===c.ok&&(u==null||e.state.capLength===u))return e.state;this._advanceToNextBranch(f,e);this._checkTimeout()}return null},_scanBranch:function(n,t,i){var r=this._branchResultKind,u,f;if(i.mustFail)return i.mustFail=!1,r.nextBranch;while(i.hasPass()){if(u=i.peekPass(),u.tokens==null||u.tokens.length===0)f=r.endPass;else{if(this._addAlternationBranches(t,i,u)===r.nextBranch)return r.nextBranch;f=this._scanPass(n,t,i,u)}switch(f){case r.nextBranch:return f;case r.nextPass:continue;case r.endPass:case r.ok:i.popPass();break;default:throw new System.InvalidOperationException("Unexpected branch result.");}}return r.ok},_scanPass:function(n,t,i,r){for(var f=this._branchResultKind,s=r.tokens.length,o,u,e;r.index<s;){if(o=r.tokens[r.index],u=r.probe,u==null){if(this._addBranchBeforeProbing(t,i,r,o))return f.nextBranch}else{if(u.value<u.min||u.forced){if(e=this._scanToken(n,t,i,r,o),e!==f.ok)return e;u.value+=1;u.forced=!1;continue}if(this._addBranchAfterProbing(t,i,r,u),u.forced)continue;r.probe=null;r.index++;continue}e=this._scanToken(n,t,i,r,o);switch(e){case f.nextBranch:case f.nextPass:case f.endPass:return e;case f.ok:r.index++;break;default:throw new System.InvalidOperationException("Unexpected branch-pass result.");}}return f.ok},_addAlternationBranches:function(n,t,i){var h=System.Text.RegularExpressions.RegexEngineParser.tokenTypes,c=this._branchType,l=i.tokens.length,o=this._branchResultKind,u,f,e,s,r;if(!i.alternationHandled&&!i.tokens.noAlternation){for(u=[-1],r=0;r<l;r++)s=i.tokens[r],s.type===h.alternation&&u.push(r);if(u.length>1){for(r=0;r<u.length;r++)f=new System.Text.RegularExpressions.RegexEngineBranch(c.or,r,0,u.length,t.state),f.isNotFailing=!0,e=f.peekPass(),e.alternationHandled=!0,e.index=u[r]+1,n.splice(n.length-r,0,f);return n[n.length-u.length].isNotFailing=!1,t.mustFail=!0,i.alternationHandled=!0,o.nextBranch}i.tokens.noAlternation=!0}return o.ok},_addBranchBeforeProbing:function(n,t,i,r){var u=this._tryGetTokenProbe(r),f,e;return u==null?!1:(i.probe=u,f=u.isLazy?this._branchType.lazy:this._branchType.greedy,e=new System.Text.RegularExpressions.RegexEngineBranch(f,u.value,u.min,u.max,t.state),n.push(e),!0)},_addBranchAfterProbing:function(n,t,i,r){var f,e,u;r.isLazy?r.value+1<=r.max&&(f=t.clone(),e=f.peekPass().probe,f.value+=1,e.forced=!0,n.splice(n.length-1,0,f),t.isNotFailing=!0):r.value+1<=r.max&&(u=t.clone(),u.started=!0,u.peekPass().probe=null,u.peekPass().index++,n.splice(n.length-1,0,u),r.forced=!0,t.value+=1,t.isNotFailing=!0)},_tryGetTokenProbe:function(n){var t=n.qtoken,u,i,r;if(t==null)return null;if(u=System.Text.RegularExpressions.RegexEngineParser.tokenTypes,t.type===u.quantifier)switch(t.value){case"*":case"*?":i=0;r=2147483647;break;case"+":case"+?":i=1;r=2147483647;break;case"?":case"??":i=0;r=1;break;default:throw new System.InvalidOperationException("Unexpected quantifier value.");}else if(t.type===u.quantifierN)i=t.data.n,r=t.data.n;else if(t.type===u.quantifierNM)i=t.data.n,r=t.data.m!=null?t.data.m:2147483647;else return null;return new System.Text.RegularExpressions.RegexEngineProbe(i,r,0,t.data.isLazy)},_advanceToNextBranch:function(n,t){if(n.length!==0){var i=n[n.length-1];if(!i.started){i.started=!0;return}if(t!==i)throw new System.InvalidOperationException("Current branch is supposed to be the last one.");if(n.length===1&&t.type===this._branchType.offset)t.value++,t.state.txtIndex=t.value,t.mustFail=!1,t.state.capIndex=null,t.state.capLength=0,t.state.groups.length=0,t.state.passes.length=1,t.state.passes[0].clearState(this._cloneSettings(this._settings)),t.value>t.max&&n.pop();else if(n.pop(),!t.isNotFailing){i=n[n.length-1];this._advanceToNextBranch(n,i);return}}},_collectScanResults:function(n,t){var o=this._patternInfo.groups,a=this._text,l={},s,f,h={},r,e,i,u,c=this._getEmptyMatch();if(n!=null){for(s=n.groups,this._fillMatch(c,n.capIndex,n.capLength,t),u=0;u<s.length;u++)(f=s[u],r=o[f.rawIndex-1],r.constructs.skipCapture)||(e={capIndex:f.capIndex,capLength:f.capLength,value:a.slice(f.capIndex,f.capIndex+f.capLength)},i=h[r.name],i==null?(i={capIndex:0,capLength:0,value:"",success:!1,captures:[e]},h[r.name]=i):i.captures.push(e));for(u=0;u<o.length;u++)(r=o[u],r.constructs.skipCapture)||l[r.name]!==!0&&(i=h[r.name],i==null?i={capIndex:0,capLength:0,value:"",success:!1,captures:[]}:i.captures.length>0&&(e=i.captures[i.captures.length-1],i.capIndex=e.capIndex,i.capLength=e.capLength,i.value=e.value,i.success=!0),l[r.name]=!0,i.descriptor=r,c.groups.push(i))}return c},_scanToken:function(n,t,i,r,u){var f=System.Text.RegularExpressions.RegexEngineParser.tokenTypes,e=this._branchResultKind;switch(u.type){case f.group:case f.groupImnsx:case f.alternationGroup:return this._scanGroupToken(n,t,i,r,u);case f.groupImnsxMisc:return this._scanGroupImnsxToken(u.group.constructs,r.settings);case f.charGroup:return this._scanCharGroupToken(t,i,r,u,!1);case f.charNegativeGroup:return this._scanCharNegativeGroupToken(t,i,r,u,!1);case f.escChar:case f.escCharOctal:case f.escCharHex:case f.escCharUnicode:case f.escCharCtrl:return this._scanLiteral(n,t,i,r,u.data.ch);case f.escCharOther:case f.escCharClass:return this._scanEscapeToken(t,i,r,u);case f.escCharClassCategory:throw new System.NotSupportedException("Unicode Category constructions are not supported.");case f.escCharClassBlock:throw new System.NotSupportedException("Unicode Named block constructions are not supported.");case f.escCharClassDot:return this._scanDotToken(n,t,i,r);case f.escBackrefNumber:return this._scanBackrefNumberToken(n,t,i,r,u);case f.escBackrefName:return this._scanBackrefNameToken(n,t,i,r,u);case f.anchor:case f.escAnchor:return this._scanAnchorToken(n,t,i,r,u);case f.groupConstruct:case f.groupConstructName:case f.groupConstructImnsx:case f.groupConstructImnsxMisc:return e.ok;case f.alternationGroupCondition:case f.alternationGroupRefNameCondition:case f.alternationGroupRefNumberCondition:return this._scanAlternationConditionToken(n,t,i,r,u);case f.alternation:return e.endPass;case f.commentInline:case f.commentXMode:return e.ok;default:return this._scanLiteral(n,t,i,r,u.value)}},_scanGroupToken:function(n,t,i,r,u){var h=System.Text.RegularExpressions.RegexEngineParser.tokenTypes,c=this._branchResultKind,o=i.state.txtIndex,l,f;if(r.onHold){if(u.type===h.group){var a=u.group.rawIndex,s=r.onHoldTextIndex,v=o-s,e=t.grCaptureCache[a];if(e==null&&(e={},t.grCaptureCache[a]=e),l=s.toString()+"_"+v.toString(),e[l]==null)e[l]=!0;else return c.nextBranch;u.group.constructs.emptyCapture||(u.group.isBalancing?i.state.logCaptureGroupBalancing(u.group,s):i.state.logCaptureGroup(u.group,s,v))}return r.onHold=!1,r.onHoldTextIndex=-1,c.ok}if(u.type===h.group||u.type===h.groupImnsx){if(f=u.group.constructs,this._scanGroupImnsxToken(f,r.settings),f.isPositiveLookahead||f.isNegativeLookahead||f.isPositiveLookbehind||f.isNegativeLookbehind)return this._scanLook(i,o,n,u);if(f.isNonbacktracking)return this._scanNonBacktracking(i,o,n,u)}return r.onHoldTextIndex=o,r.onHold=!0,i.pushPass(0,u.children,this._cloneSettings(r.settings)),c.nextPass},_scanGroupImnsxToken:function(n,t){var i=this._branchResultKind;return n.isIgnoreCase!=null&&(t.ignoreCase=n.isIgnoreCase),n.isMultiline!=null&&(t.multiline=n.isMultiline),n.isSingleLine!=null&&(t.singleline=n.isSingleLine),n.isIgnoreWhitespace!=null&&(t.ignoreWhitespace=n.isIgnoreWhitespace),n.isExplicitCapture!=null&&(t.explicitCapture=n.isExplicitCapture),i.ok},_scanAlternationConditionToken:function(n,t,i,r,u){var o=System.Text.RegularExpressions.RegexEngineParser.tokenTypes,f=this._branchResultKind,c=u.children,l=i.state.txtIndex,e=f.nextBranch,s,h;return u.type===o.alternationGroupRefNameCondition||u.type===o.alternationGroupRefNumberCondition?(s=i.state.resolveBackref(u.data.packedSlotId),e=s!=null?f.ok:f.nextBranch):(h=this._scan(l,n,c,!0,null),this._combineScanResults(i,h)&&(e=f.ok)),e===f.nextBranch&&r.tokens.noAlternation&&(e=f.endPass),e},_scanLook:function(n,t,i,r){var u=r.group.constructs,e=this._branchResultKind,f=r.children,o,s,h=u.isPositiveLookahead||u.isNegativeLookahead,c=u.isPositiveLookbehind||u.isNegativeLookbehind;return h||c?(f=f.slice(1,f.length),o=u.isPositiveLookahead||u.isPositiveLookbehind,s=h?this._scanLookAhead(n,t,i,f):this._scanLookBehind(n,t,i,f),o===s?e.ok:e.nextBranch):null},_scanLookAhead:function(n,t,i,r){var u=this._scan(t,i,r,!0,null);return this._combineScanResults(n,u)},_scanLookBehind:function(n,t,i,r){for(var u=t,f,e;u>=0;){if(f=t-u,e=this._scan(u,i,r,!0,f),this._combineScanResults(n,e))return!0;--u}return!1},_scanNonBacktracking:function(n,t,i,r){var e=this._branchResultKind,u=r.children,f;return(u=u.slice(1,u.length),f=this._scan(t,i,u,!0,null),!f)?e.nextBranch:(n.state.logCapture(f.capLength),e.ok)},_scanLiteral:function(n,t,i,r,u){var e=this._branchResultKind,o=i.state.txtIndex,f;if(o+u.length>n)return e.nextBranch;if(r.settings.ignoreCase){for(f=0;f<u.length;f++)if(this._text[o+f].toLowerCase()!==u[f].toLowerCase())return e.nextBranch}else for(f=0;f<u.length;f++)if(this._text[o+f]!==u[f])return e.nextBranch;return i.state.logCapture(u.length),e.ok},_scanWithJsRegex:function(n,t,i,r,u){var o=this._branchResultKind,h=t.state.txtIndex,e=this._text[h],s,f;return(e==null&&(e=""),s=i.settings.ignoreCase?"i":"",f=r.rgx,f==null&&(u==null&&(u=r.value),f=new RegExp(u,s),r.rgx=f),f.test(e))?(t.state.logCapture(e.length),o.ok):o.nextBranch},_scanWithJsRegex2:function(n,t){var r=this._branchResultKind,i=this._text[n],u;return(i==null&&(i=""),u=new RegExp(t,""),u.test(i))?r.ok:r.nextBranch},_scanCharGroupToken:function(n,t,i,r,u){var l=System.Text.RegularExpressions.RegexEngineParser.tokenTypes,f=this._branchResultKind,w=t.state.txtIndex,e=this._text[w],s,a,h,o,v,c,y,p;if(e==null)return f.nextBranch;if(h=e.charCodeAt(0),o=r.data.ranges,r.data.substractToken!=null){if(r.data.substractToken.type===l.charGroup)y=this._scanCharGroupToken(n,t,i,r.data.substractToken,!0);else if(r.data.substractToken.type===l.charNegativeGroup)y=this._scanCharNegativeGroupToken(n,t,i,r.data.substractToken,!0);else throw new System.InvalidOperationException("Unexpected substuct group token.");if(y===f.ok)return r.type===l.charGroup?f.nextBranch:f.ok}if(o.charClassToken!=null&&(p=this._scanWithJsRegex(n,t,i,o.charClassToken),p===f.ok))return f.ok;for(a=0;a<2;a++){for(s=0;s<o.length;s++){if(v=o[s],v.n>h)break;if(h<=v.m)return u||t.state.logCapture(1),f.ok}c==null&&i.settings.ignoreCase&&(c=e.toUpperCase(),e=e===c?e.toLowerCase():c,h=e.charCodeAt(0))}return f.nextBranch},_scanCharNegativeGroupToken:function(n,t,i,r,u){var f=this._branchResultKind,o=t.state.txtIndex,s=this._text[o],e;return s==null?f.nextBranch:(e=this._scanCharGroupToken(n,t,i,r,!0),e===f.ok)?f.nextBranch:(u||t.state.logCapture(1),f.ok)},_scanEscapeToken:function(n,t,i,r){return this._scanWithJsRegex(n,t,i,r)},_scanDotToken:function(n,t,i,r){var u=this._branchResultKind,f=i.state.txtIndex;if(r.settings.singleline){if(f<n)return i.state.logCapture(1),u.ok}else if(f<n&&this._text[f]!=="\n")return i.state.logCapture(1),u.ok;return u.nextBranch},_scanBackrefNumberToken:function(n,t,i,r,u){var o=this._branchResultKind,f=i.state.resolveBackref(u.data.slotId),e;return f==null?o.nextBranch:(e=this._text.slice(f.capIndex,f.capIndex+f.capLength),this._scanLiteral(n,t,i,r,e))},_scanBackrefNameToken:function(n,t,i,r,u){var o=this._branchResultKind,f=i.state.resolveBackref(u.data.slotId),e;return f==null?o.nextBranch:(e=this._text.slice(f.capIndex,f.capIndex+f.capLength),this._scanLiteral(n,t,i,r,e))},_scanAnchorToken:function(n,t,i,r,u){var e=this._branchResultKind,f=i.state.txtIndex,o,s;if(u.value==="\\b"||u.value==="\\B"){if(o=f>0&&this._scanWithJsRegex2(f-1,"\\w")===e.ok,s=this._scanWithJsRegex2(f,"\\w")===e.ok,o===s==(u.value==="\\B"))return e.ok}else if(u.value==="^"){if(f===0||r.settings.multiline&&this._text[f-1]==="\n")return e.ok}else if(u.value==="$"){if(f===n||r.settings.multiline&&this._text[f]==="\n")return e.ok}else if(u.value==="\\A"){if(f===0)return e.ok}else if(u.value==="\\z"){if(f===n)return e.ok}else if(u.value==="\\Z"){if(f===n||f===n-1&&this._text[f]==="\n")return e.ok}else if(u.value==="\\G")return e.ok;return e.nextBranch},_cloneSettings:function(n){return{ignoreCase:n.ignoreCase,multiline:n.multiline,singleline:n.singleline,ignoreWhitespace:n.ignoreWhitespace,explicitCapture:n.explicitCapture}},_combineScanResults:function(n,t){if(t!=null){for(var u=n.state.groups,r=t.groups,f=r.length,i=0;i<f;++i)u.push(r[i]);return!0}return!1},_getEmptyMatch:function(){return{capIndex:0,capLength:0,success:!1,value:"",groups:[],captures:[]}},_fillMatch:function(n,t,i,r){t==null&&(t=r);n.capIndex=t;n.capLength=i;n.success=!0;n.value=this._text.slice(t,t+i);n.groups.push({capIndex:t,capLength:i,value:n.value,success:!0,captures:[{capIndex:t,capLength:i,value:n.value}]});n.captures.push(n.groups[0].captures[0])},_checkTimeout:function(){if(!(this._timeoutTime<0)){var n=(new Date).getTime();if(n>=this._timeoutTime)throw new System.RegexMatchTimeoutException(this._text,this._pattern,System.TimeSpan.fromMilliseconds(this._timeoutMs));}}});Bridge.define("System.Text.RegularExpressions.RegexEngineBranch",{type:0,value:0,min:0,max:0,isStarted:!1,isNotFailing:!1,state:null,ctor:function(n,t,i,r,u){this.$initialize();this.type=n;this.value=t;this.min=i;this.max=r;this.state=u!=null?u.clone():new System.Text.RegularExpressions.RegexEngineState},pushPass:function(n,t,i){var r=new System.Text.RegularExpressions.RegexEnginePass(n,t,i);this.state.passes.push(r)},peekPass:function(){return this.state.passes[this.state.passes.length-1]},popPass:function(){return this.state.passes.pop()},hasPass:function(){return this.state.passes.length>0},clone:function(){var n=new System.Text.RegularExpressions.RegexEngineBranch(this.type,this.value,this.min,this.max,this.state);return n.isNotFailing=this.isNotFailing,n}});Bridge.define("System.Text.RegularExpressions.RegexEngineState",{txtIndex:0,capIndex:null,capLength:0,passes:null,groups:null,ctor:function(){this.$initialize();this.passes=[];this.groups=[]},logCapture:function(n){this.capIndex==null&&(this.capIndex=this.txtIndex);this.txtIndex+=n;this.capLength+=n},logCaptureGroup:function(n,t,i){this.groups.push({rawIndex:n.rawIndex,slotId:n.packedSlotId,capIndex:t,capLength:i})},logCaptureGroupBalancing:function(n,t){for(var s=n.balancingSlotId,r=this.groups,i=r.length-1,u,f,e,o;i>=0;){if(r[i].slotId===s){u=r[i];f=i;break}--i}return u!=null&&f!=null?(r.splice(f,1),n.constructs.name1!=null&&(e=u.capIndex+u.capLength,o=t-e,this.logCaptureGroup(n,e,o)),!0):!1},resolveBackref:function(n){for(var i=this.groups,t=i.length-1;t>=0;){if(i[t].slotId===n)return i[t];--t}return null},clone:function(){var t=new System.Text.RegularExpressions.RegexEngineState,e,u;t.txtIndex=this.txtIndex;t.capIndex=this.capIndex;t.capLength=this.capLength;for(var o=t.passes,f=this.passes,r=f.length,i,n=0;n<r;n++)i=f[n].clone(),o.push(i);for(e=t.groups,u=this.groups,r=u.length,n=0;n<r;n++)i=u[n],e.push(i);return t}});Bridge.define("System.Text.RegularExpressions.RegexEnginePass",{index:0,tokens:null,probe:null,onHold:!1,onHoldTextIndex:-1,alternationHandled:!1,settings:null,ctor:function(n,t,i){this.$initialize();this.index=n;this.tokens=t;this.settings=i},clearState:function(n){this.index=0;this.probe=null;this.onHold=!1;this.onHoldTextIndex=-1;this.alternationHandled=!1;this.settings=n},clone:function(){var n=new System.Text.RegularExpressions.RegexEnginePass(this.index,this.tokens,this.settings);return n.onHold=this.onHold,n.onHoldTextIndex=this.onHoldTextIndex,n.alternationHandled=this.alternationHandled,n.probe=this.probe!=null?this.probe.clone():null,n}});Bridge.define("System.Text.RegularExpressions.RegexEngineProbe",{min:0,max:0,value:0,isLazy:!1,forced:!1,ctor:function(n,t,i,r){this.$initialize();this.min=n;this.max=t;this.value=i;this.isLazy=r;this.forced=!1},clone:function(){var n=new System.Text.RegularExpressions.RegexEngineProbe(this.min,this.max,this.value,this.isLazy);return n.forced=this.forced,n}});Bridge.define("System.Text.RegularExpressions.RegexEngineParser",{statics:{_hexSymbols:"0123456789abcdefABCDEF",_octSymbols:"01234567",_decSymbols:"0123456789",_escapedChars:"abtrvfnexcu",_escapedCharClasses:"pPwWsSdD",_escapedAnchors:"AZzGbB",_escapedSpecialSymbols:" .,$^{}[]()|*+-=?\\|/\"':;~!@#%&",_whiteSpaceChars:" \r\n\t\v\f\u00A0\uFEFF",_unicodeCategories:["Lu","Ll","Lt","Lm","Lo","L","Mn","Mc","Me","M","Nd","Nl","No","N","Pc","Pd","Ps","Pe","Pi","Pf","Po","P","Sm","Sc","Sk","So","S","Zs","Zl","Zp","Z","Cc","Cf","Cs","Co","Cn","C"],_namedCharBlocks:["IsBasicLatin","IsLatin-1Supplement","IsLatinExtended-A","IsLatinExtended-B","IsIPAExtensions","IsSpacingModifierLetters","IsCombiningDiacriticalMarks","IsGreek","IsGreekandCoptic","IsCyrillic","IsCyrillicSupplement","IsArmenian","IsHebrew","IsArabic","IsSyriac","IsThaana","IsDevanagari","IsBengali","IsGurmukhi","IsGujarati","IsOriya","IsTamil","IsTelugu","IsKannada","IsMalayalam","IsSinhala","IsThai","IsLao","IsTibetan","IsMyanmar","IsGeorgian","IsHangulJamo","IsEthiopic","IsCherokee","IsUnifiedCanadianAboriginalSyllabics","IsOgham","IsRunic","IsTagalog","IsHanunoo","IsBuhid","IsTagbanwa","IsKhmer","IsMongolian","IsLimbu","IsTaiLe","IsKhmerSymbols","IsPhoneticExtensions","IsLatinExtendedAdditional","IsGreekExtended","IsGeneralPunctuation","IsSuperscriptsandSubscripts","IsCurrencySymbols","IsCombiningDiacriticalMarksforSymbols","IsCombiningMarksforSymbols","IsLetterlikeSymbols","IsNumberForms","IsArrows","IsMathematicalOperators","IsMiscellaneousTechnical","IsControlPictures","IsOpticalCharacterRecognition","IsEnclosedAlphanumerics","IsBoxDrawing","IsBlockElements","IsGeometricShapes","IsMiscellaneousSymbols","IsDingbats","IsMiscellaneousMathematicalSymbols-A","IsSupplementalArrows-A","IsBraillePatterns","IsSupplementalArrows-B","IsMiscellaneousMathematicalSymbols-B","IsSupplementalMathematicalOperators","IsMiscellaneousSymbolsandArrows","IsCJKRadicalsSupplement","IsKangxiRadicals","IsIdeographicDescriptionCharacters","IsCJKSymbolsandPunctuation","IsHiragana","IsKatakana","IsBopomofo","IsHangulCompatibilityJamo","IsKanbun","IsBopomofoExtended","IsKatakanaPhoneticExtensions","IsEnclosedCJKLettersandMonths","IsCJKCompatibility","IsCJKUnifiedIdeographsExtensionA","IsYijingHexagramSymbols","IsCJKUnifiedIdeographs","IsYiSyllables","IsYiRadicals","IsHangulSyllables","IsHighSurrogates","IsHighPrivateUseSurrogates","IsLowSurrogates","IsPrivateUse or IsPrivateUseArea","IsCJKCompatibilityIdeographs","IsAlphabeticPresentationForms","IsArabicPresentationForms-A","IsVariationSelectors","IsCombiningHalfMarks","IsCJKCompatibilityForms","IsSmallFormVariants","IsArabicPresentationForms-B","IsHalfwidthandFullwidthForms","IsSpecials"],_controlChars:["@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","\\","]","^","_"],tokenTypes:{literal:0,escChar:110,escCharOctal:111,escCharHex:112,escCharCtrl:113,escCharUnicode:114,escCharOther:115,escCharClass:120,escCharClassCategory:121,escCharClassBlock:122,escCharClassDot:123,escAnchor:130,escBackrefNumber:140,escBackrefName:141,charGroup:200,charNegativeGroup:201,charInterval:202,anchor:300,group:400,groupImnsx:401,groupImnsxMisc:402,groupConstruct:403,groupConstructName:404,groupConstructImnsx:405,groupConstructImnsxMisc:406,quantifier:500,quantifierN:501,quantifierNM:502,alternation:600,alternationGroup:601,alternationGroupCondition:602,alternationGroupRefNumberCondition:603,alternationGroupRefNameCondition:604,commentInline:700,commentXMode:701},parsePattern:function(n,t){var i=System.Text.RegularExpressions.RegexEngineParser,r=i._parsePatternImpl(n,t,0,n.length),f=[],u;return i._fillGroupDescriptors(r,f),u=i._getGroupSparseInfo(f),i._fillBalancingGroupInfo(f,u),i._preTransformBackrefTokens(n,r,u),i._transformRawTokens(t,r,u,[],[],0),i._updateGroupDescriptors(r),{groups:f,sparseSettings:u,isContiguous:t.isContiguous||!1,shouldFail:t.shouldFail||!1,tokens:r}},_transformRawTokens:function(n,t,i,r,u,f){for(var l=System.Text.RegularExpressions.RegexEngineParser,s=l.tokenTypes,a,e,c,h,p,b,v,y,w,o=0;o<t.length;o++){if(e=t[o],o<t.length-1){w=t[o+1];switch(w.type){case s.quantifier:case s.quantifierN:case s.quantifierNM:e.qtoken=w;t.splice(o+1,1);--o}}if(e.type===s.escBackrefNumber){if(p=e.data.number,h=i.getPackedSlotIdBySlotNumber(p),h==null)throw new System.ArgumentException("Reference to undefined group number "+p.toString()+".");if(r.indexOf(h)<0){n.shouldFail=!0;continue}e.data.slotId=h}else if(e.type===s.escBackrefName){if(c=e.data.name,h=i.getPackedSlotIdBySlotName(c),h==null){if(b=l._matchChars(c,0,c.length,l._decSymbols),b.matchLength===c.length){c="\\"+c;l._updatePatternToken(e,s.escBackrefNumber,e.index,c.length,c);--o;continue}throw new System.ArgumentException("Reference to undefined group name '"+c+"'.");}if(r.indexOf(h)<0){n.shouldFail=!0;continue}e.data.slotId=h}else if(e.type===s.anchor||e.type===s.escAnchor){if(e.value==="\\G"){f===0&&o===0?n.isContiguous=!0:n.shouldFail=!0;t.splice(o,1);--o;continue}}else if(e.type===s.commentInline||e.type===s.commentXMode){t.splice(o,1);--o;continue}else if(e.type===s.literal){if(o>0&&!e.qtoken&&(a=t[o-1],a.type===s.literal&&!a.qtoken)){a.value+=e.value;a.length+=e.length;t.splice(o,1);--o;continue}}else if(e.type===s.alternationGroupCondition&&e.data!=null)if(e.data.number!=null){if(h=i.getPackedSlotIdBySlotNumber(e.data.number),h==null)throw new System.ArgumentException("Reference to undefined group number "+c+".");e.data.packedSlotId=h;l._updatePatternToken(e,s.alternationGroupRefNumberCondition,e.index,e.length,e.value)}else h=i.getPackedSlotIdBySlotName(e.data.name),h!=null?(e.data.packedSlotId=h,l._updatePatternToken(e,s.alternationGroupRefNameCondition,e.index,e.length,e.value)):delete e.data;e.children&&e.children.length&&(v=e.type===s.group?[e.group.rawIndex]:[],v=v.concat(u),y=e.localSettings||n,l._transformRawTokens(y,e.children,i,r,v,f+1),n.shouldFail=n.shouldFail||y.shouldFail,n.isContiguous=n.isContiguous||y.isContiguous);e.type===s.group&&r.push(e.group.packedSlotId)}},_fillGroupDescriptors:function(n,t){var f=System.Text.RegularExpressions.RegexEngineParser,i,r,u;for(f._fillGroupStructure(t,n,null),u=1,r=0;r<t.length;r++)i=t[r],i.constructs.name1!=null?(i.name=i.constructs.name1,i.hasName=!0):(i.hasName=!1,i.name=u.toString(),++u)},_fillGroupStructure:function(n,t,i){for(var s=System.Text.RegularExpressions.RegexEngineParser,e=s.tokenTypes,f,r,u,c,h,o=0;o<t.length;o++)r=t[o],h=r.children&&r.children.length,(r.type===e.group||r.type===e.groupImnsx||r.type===e.groupImnsxMisc)&&(f={rawIndex:n.length+1,number:-1,parentGroup:null,innerGroups:[],name:null,hasName:!1,constructs:null,quantifier:null,exprIndex:-1,exprLength:0,expr:null,exprFull:null},r.group=f,r.type===e.group&&(n.push(f),i!=null&&(r.group.parentGroup=i,i.innerGroups.push(f))),c=h?r.children[0]:null,f.constructs=s._fillGroupConstructs(c),u=f.constructs,r.isNonCapturingExplicit&&(delete r.isNonCapturingExplicit,u.isNonCapturingExplicit=!0),r.isEmptyCapturing&&(delete r.isEmptyCapturing,u.emptyCapture=!0),u.skipCapture=u.isNonCapturing||u.isNonCapturingExplicit||u.isNonbacktracking||u.isPositiveLookahead||u.isNegativeLookahead||u.isPositiveLookbehind||u.isNegativeLookbehind||u.name1==null&&u.name2!=null),h&&s._fillGroupStructure(n,r.children,r.group)},_getGroupSparseInfo:function(n){var h=System.Text.RegularExpressions.RegexEngineParser,f={},l=[],c={},r,a,t,s,i,u,v,o={0:0},e,p,y;for(o.lastSlot=0,e={"0":0},e.keys=["0"],u=0;u<n.length;u++)(i=n[u],i.constructs.skipCapture)||(i.constructs.isNumberName1?(t=parseInt(i.constructs.name1),l.push(t),f[t]?f[t].push(i):f[t]=[i]):(s=i.constructs.name1,c[s]?c[s].push(i):c[s]=[i]));for(p=function(n,t){return n-t},l.sort(p),y=!1,v=0;v<2;v++){for(u=0;u<n.length;u++)(i=n[u],i.constructs.skipCapture)||i.constructs.emptyCapture===!0===y&&(t=e.keys.length,i.hasName||(a=[i],r=f[t],r!=null&&(a=a.concat(r),f[t]=null),h._addSparseSlotForSameNamedGroups(a,t,o,e)));y=!0}for(u=0;u<n.length;u++)if((i=n[u],!i.constructs.skipCapture)&&i.hasName&&!i.constructs.isNumberName1){for(t=e.keys.length,r=f[t];r!=null;)h._addSparseSlotForSameNamedGroups(r,t,o,e),f[t]=null,t=e.keys.length,r=f[t];if(!i.constructs.isNumberName1)for(t=e.keys.length,r=f[t];r!=null;)h._addSparseSlotForSameNamedGroups(r,t,o,e),f[t]=null,t=e.keys.length,r=f[t];s=i.constructs.name1;r=c[s];r!=null&&(h._addSparseSlotForSameNamedGroups(r,t,o,e),c[s]=null)}for(u=0;u<l.length;u++)t=l[u],r=f[t],r!=null&&(h._addSparseSlotForSameNamedGroups(r,t,o,e),f[t]=null);return{isSparse:o.isSparse||!1,sparseSlotMap:o,sparseSlotNameMap:e,getPackedSlotIdBySlotNumber:function(n){return this.sparseSlotMap[n]},getPackedSlotIdBySlotName:function(n){return this.sparseSlotNameMap[n]}}},_addSparseSlot:function(n,t,i,r){var u=r.keys.length;n.packedSlotId=u;i[t]=u;r[n.name]=u;r.keys.push(n.name);!i.isSparse&&t-i.lastSlot>1&&(i.isSparse=!0);i.lastSlot=t},_addSparseSlotForSameNamedGroups:function(n,t,i,r){var o=System.Text.RegularExpressions.RegexEngineParser,u,f,e;if(o._addSparseSlot(n[0],t,i,r),f=n[0].sparseSlotId,e=n[0].packedSlotId,n.length>1)for(u=1;u<n.length;u++)n[u].sparseSlotId=f,n[u].packedSlotId=e},_fillGroupConstructs:function(n){var o=System.Text.RegularExpressions.RegexEngineParser,f=o.tokenTypes,t={name1:null,name2:null,isNumberName1:!1,isNumberName2:!1,isNonCapturing:!1,isNonCapturingExplicit:!1,isIgnoreCase:null,isMultiline:null,isExplicitCapture:null,isSingleLine:null,isIgnoreWhitespace:null,isPositiveLookahead:!1,isNegativeLookahead:!1,isPositiveLookbehind:!1,isNegativeLookbehind:!1,isNonbacktracking:!1},s,i,h,c;if(n==null)return t;if(n.type===f.groupConstruct)switch(n.value){case"?:":t.isNonCapturing=!0;break;case"?=":t.isPositiveLookahead=!0;break;case"?!":t.isNegativeLookahead=!0;break;case"?>":t.isNonbacktracking=!0;break;case"?<=":t.isPositiveLookbehind=!0;break;case"?<!":t.isNegativeLookbehind=!0;break;default:throw new System.ArgumentException("Unrecognized grouping construct.");}else if(n.type===f.groupConstructName){if(s=n.value.slice(2,n.length-1),i=s.split("-"),i.length===0||i.length>2)throw new System.ArgumentException("Invalid group name.");i[0].length&&(t.name1=i[0],h=o._validateGroupName(i[0]),t.isNumberName1=h.isNumberName);i.length===2&&(t.name2=i[1],c=o._validateGroupName(i[1]),t.isNumberName2=c.isNumberName)}else if(n.type===f.groupConstructImnsx||n.type===f.groupConstructImnsxMisc)for(var l=n.type===f.groupConstructImnsx?1:0,a=n.length-1-l,u=!0,r,e=1;e<=a;e++)r=n.value[e],r==="-"?u=!1:r==="i"?t.isIgnoreCase=u:r==="m"?t.isMultiline=u:r==="n"?t.isExplicitCapture=u:r==="s"?t.isSingleLine=u:r==="x"&&(t.isIgnoreWhitespace=u);return t},_validateGroupName:function(n){var t,i,r;if(!n||!n.length)throw new System.ArgumentException("Invalid group name: Group names must begin with a word character.");if(t=n[0]>="0"&&n[0]<="9",t&&(i=System.Text.RegularExpressions.RegexEngineParser,r=i._matchChars(n,0,n.length,i._decSymbols),r.matchLength!==n.length))throw new System.ArgumentException("Invalid group name: Group names must begin with a word character.");return{isNumberName:t}},_fillBalancingGroupInfo:function(n,t){for(var i,r=0;r<n.length;r++)if(i=n[r],i.constructs.name2!=null&&(i.isBalancing=!0,i.balancingSlotId=t.getPackedSlotIdBySlotName(i.constructs.name2),i.balancingSlotId==null))throw new System.ArgumentException("Reference to undefined group name '"+i.constructs.name2+"'.");},_preTransformBackrefTokens:function(n,t,i){for(var u=System.Text.RegularExpressions.RegexEngineParser,s=u.tokenTypes,f,e,h,c,r,o=0;o<t.length;o++){if(r=t[o],r.type===s.escBackrefNumber){if(f=r.data.number,f>=1&&i.getPackedSlotIdBySlotNumber(f)!=null)continue;if(f<=9)throw new System.ArgumentException("Reference to undefined group number "+f.toString()+".");if(e=u._parseOctalCharToken(r.value,0,r.length),e==null)throw new System.ArgumentException("Unrecognized escape sequence "+r.value.slice(0,2)+".");h=r.length-e.length;u._modifyPatternToken(r,n,s.escCharOctal,null,e.length);r.data=e.data;h>0&&(c=u._createPatternToken(n,s.literal,r.index+r.length,h),t.splice(o+1,0,c))}r.children&&r.children.length&&u._preTransformBackrefTokens(n,r.children,i)}},_updateGroupDescriptors:function(n,t){for(var o=System.Text.RegularExpressions.RegexEngineParser,e=o.tokenTypes,r,i,f,h,c,s=t||0,u=0;u<n.length;u++)i=n[u],i.index=s,i.children&&(c=i.childrenPostfix.length,o._updateGroupDescriptors(i.children,s+c),h=o._constructPattern(i.children),i.value=i.childrenPrefix+h+i.childrenPostfix,i.length=i.value.length),i.type===e.group&&i.group&&(r=i.group,r.exprIndex=i.index,r.exprLength=i.length,u+1<n.length&&(f=n[u+1],(f.type===e.quantifier||f.type===e.quantifierN||f.type===e.quantifierNM)&&(r.quantifier=f.value)),r.expr=i.value,r.exprFull=r.expr+(r.quantifier!=null?r.quantifier:"")),s+=i.length},_constructPattern:function(n){for(var i="",r,t=0;t<n.length;t++)r=n[t],i+=r.value;return i},_parsePatternImpl:function(n,t,i,r){if(n==null)throw new System.ArgumentNullException("pattern");if(i<0||i>n.length)throw new System.ArgumentOutOfRangeException("startIndex");if(r<i||r>n.length)throw new System.ArgumentOutOfRangeException("endIndex");for(var f=System.Text.RegularExpressions.RegexEngineParser,h=f.tokenTypes,s=[],o,e,u=i;u<r;){if(e=n[u],t.ignoreWhitespace&&f._whiteSpaceChars.indexOf(e)>=0){++u;continue}o=e==="."?f._parseDotToken(n,u,r):e==="\\"?f._parseEscapeToken(n,u,r):e==="["?f._parseCharRangeToken(n,u,r):e==="^"||e==="$"?f._parseAnchorToken(n,u):e==="("?f._parseGroupToken(n,t,u,r):e==="|"?f._parseAlternationToken(n,u):e==="#"&&t.ignoreWhitespace?f._parseXModeCommentToken(n,u,r):f._parseQuantifierToken(n,u,r);o==null&&(o=f._createPatternToken(n,h.literal,u,1));o!=null&&(s.push(o),u+=o.length)}return s},_parseEscapeToken:function(n,t,i){var u=System.Text.RegularExpressions.RegexEngineParser,o=u.tokenTypes,f=n[t],h,c,l,s,y,e,a,r,v;if(f!=="\\")return null;if(t+1>=i)throw new System.ArgumentException("Illegal \\ at end of pattern.");if(f=n[t+1],f>="1"&&f<="9")return h=u._matchChars(n,t+1,i,u._decSymbols,3),c=u._createPatternToken(n,o.escBackrefNumber,t,1+h.matchLength),c.data={number:parseInt(h.match,10)},c;if(u._escapedAnchors.indexOf(f)>=0)return u._createPatternToken(n,o.escAnchor,t,2);if(l=u._parseEscapedChar(n,t,i),l!=null)return l;if(f==="k"){if(t+2<i&&(s=n[t+2],(s==="'"||s==="<")&&(y=s==="<"?">":"'",e=u._matchUntil(n,t+3,i,y),e.unmatchLength===1&&e.matchLength>0)))return a=u._createPatternToken(n,o.escBackrefName,t,3+e.matchLength+1),a.data={name:e.match},a;throw new System.ArgumentException("Malformed \\k<...> named back reference.");}if(r=f.charCodeAt(0),r>=0&&r<48||r>57&&r<65||r>90&&r<95||r===96||r>122&&r<128)return v=u._createPatternToken(n,o.escChar,t,2),v.data={n:r,ch:f},v;throw new System.ArgumentException("Unrecognized escape sequence \\"+f+".");},_parseOctalCharToken:function(n,t,i){var r=System.Text.RegularExpressions.RegexEngineParser,s=r.tokenTypes,u=n[t];if(u==="\\"&&t+1<i&&(u=n[t+1],u>="0"&&u<="7")){var f=r._matchChars(n,t+1,i,r._octSymbols,3),e=parseInt(f.match,8),o=r._createPatternToken(n,s.escCharOctal,t,1+f.matchLength);return o.data={n:e,ch:String.fromCharCode(e)},o}return null},_parseEscapedChar:function(n,t,i){var r=System.Text.RegularExpressions.RegexEngineParser,o=r.tokenTypes,f,u=n[t],a,v,h,c,y,p,e,s,l;if(u!=="\\"||t+1>=i)return null;if(u=n[t+1],r._escapedChars.indexOf(u)>=0){if(u==="x"){if(a=r._matchChars(n,t+2,i,r._hexSymbols,2),a.matchLength!==2)throw new System.ArgumentException("Insufficient hexadecimal digits.");return v=parseInt(a.match,16),f=r._createPatternToken(n,o.escCharHex,t,4),f.data={n:v,ch:String.fromCharCode(v)},f}if(u==="c"){if(t+2>=i)throw new System.ArgumentException("Missing control character.");if(h=n[t+2],h=h.toUpperCase(),c=this._controlChars.indexOf(h),c>=0)return f=r._createPatternToken(n,o.escCharCtrl,t,3),f.data={n:c,ch:String.fromCharCode(c)},f;throw new System.ArgumentException("Unrecognized control character.");}else if(u==="u"){if(y=r._matchChars(n,t+2,i,r._hexSymbols,4),y.matchLength!==4)throw new System.ArgumentException("Insufficient hexadecimal digits.");return p=parseInt(y.match,16),f=r._createPatternToken(n,o.escCharUnicode,t,6),f.data={n:p,ch:String.fromCharCode(p)},f}f=r._createPatternToken(n,o.escChar,t,2);switch(u){case"a":e=7;break;case"b":e=8;break;case"t":e=9;break;case"r":e=13;break;case"v":e=11;break;case"f":e=12;break;case"n":e=10;break;case"e":e=27;break;default:throw new System.ArgumentException("Unexpected escaped char: '"+u+"'.");}return f.data={n:e,ch:String.fromCharCode(e)},f}if(u>="0"&&u<="7")return r._parseOctalCharToken(n,t,i);if(r._escapedCharClasses.indexOf(u)>=0){if(u==="p"||u==="P"){if(s=r._matchUntil(n,t+2,i,"}"),s.matchLength<2||s.match[0]!=="{"||s.unmatchLength!==1)throw new System.ArgumentException("Incomplete p{X} character escape.");if(l=s.match.slice(1),r._unicodeCategories.indexOf(l)>=0)return r._createPatternToken(n,o.escCharClassCategory,t,2+s.matchLength+1);if(r._namedCharBlocks.indexOf(l)>=0)return r._createPatternToken(n,o.escCharClassBlock,t,2+s.matchLength+1);throw new System.ArgumentException("Unknown property '"+l+"'.");}return r._createPatternToken(n,o.escCharClass,t,2)}return r._escapedSpecialSymbols.indexOf(u)>=0?(f=r._createPatternToken(n,o.escCharOther,t,2),f.data={n:u.charCodeAt(0),ch:u},f):null},_parseCharRangeToken:function(n,t,i){var e=System.Text.RegularExpressions.RegexEngineParser,a=e.tokenTypes,u=[],v,o,f,y=!1,p=!1,w=!1,s=n[t],r,h,c,b,l,k;if(s!=="[")return null;for(r=t+1,h=-1,r<i&&n[r]==="^"&&(y=!0,r++),b=r;r<i;){if(s=n[r],p=w,s==="-"&&r+1<i&&n[r+1]==="[")o=e._parseCharRangeToken(n,r+1,i),o.childrenPrefix="-"+o.childrenPrefix,o.length++,f=o,c=o.length,w=!0;else if(s==="\\"){if(f=e._parseEscapedChar(n,r,i),f==null)throw new System.ArgumentException("Unrecognized escape sequence \\"+s+".");c=f.length}else if(s==="]"&&r>b){h=r;break}else f=e._createPatternToken(n,a.literal,r,1),c=1;if(p)throw new System.ArgumentException("A subtraction must be the last element in a character class.");u.length>1&&(v=e._parseCharIntervalToken(n,u[u.length-2],u[u.length-1],f),v!=null&&(u.pop(),u.pop(),f=v));f!=null&&(u.push(f),r+=c)}if(h<0||u.length<1)throw new System.ArgumentException("Unterminated [] set.");return l=y?e._createPatternToken(n,a.charNegativeGroup,t,1+h-t,u,"[^","]"):e._createPatternToken(n,a.charGroup,t,1+h-t,u,"[","]"),k=e._tidyCharRange(u),l.data={ranges:k},o!=null&&(l.data.substractToken=o),l},_parseCharIntervalToken:function(n,t,i,r){var h=System.Text.RegularExpressions.RegexEngineParser,u=h.tokenTypes,f,o,e,s;if(i.type!==u.literal||i.value!=="-"||t.type!==u.literal&&t.type!==u.escChar&&t.type!==u.escCharOctal&&t.type!==u.escCharHex&&t.type!==u.escCharCtrl&&t.type!==u.escCharUnicode&&t.type!==u.escCharOther||r.type!==u.literal&&r.type!==u.escChar&&r.type!==u.escCharOctal&&r.type!==u.escCharHex&&r.type!==u.escCharCtrl&&r.type!==u.escCharUnicode&&r.type!==u.escCharOther)return null;if(t.type===u.literal?(f=t.value.charCodeAt(0),o=t.value):(f=t.data.n,o=t.data.ch),r.type===u.literal?(e=r.value.charCodeAt(0),s=r.value):(e=r.data.n,s=r.data.ch),f>e)throw new System.NotSupportedException("[x-y] range in reverse order.");var l=t.index,a=t.length+i.length+r.length,c=h._createPatternToken(n,u.charInterval,l,a,[t,i,r],"","");return c.data={startN:f,startCh:o,endN:e,endCh:s},c},_tidyCharRange:function(n){for(var l=System.Text.RegularExpressions.RegexEngineParser,i=l.tokenTypes,f,e,o,t,r=[],a=[],s,h,c,v,u=0;u<n.length;u++){if(t=n[u],t.type===i.literal)e=t.value.charCodeAt(0),o=e;else if(t.type===i.charInterval)e=t.data.startN,o=t.data.endN;else if(t.type===i.literal||t.type===i.escChar||t.type===i.escCharOctal||t.type===i.escCharHex||t.type===i.escCharCtrl||t.type===i.escCharUnicode||t.type===i.escCharOther)e=t.data.n,o=e;else if(t.type===i.charGroup||t.type===i.charNegativeGroup)continue;else{a.push(t);continue}if(r.length===0){r.push({n:e,m:o});continue}for(f=0;f<r.length;f++)if(r[f].n>e)break;r.splice(f,0,{n:e,m:o})}for(u=0;u<r.length;u++){for(s=r[u],c=0,f=u+1;f<r.length;f++){if(h=r[f],h.n>1+s.m)break;c++;h.m>s.m&&(s.m=h.m)}c>0&&r.splice(u+1,c)}return a.length>0&&(v="["+l._constructPattern(a)+"]",r.charClassToken=l._createPatternToken(v,i.charGroup,0,v.length,n,"[","]")),r},_parseDotToken:function(n,t){var i=System.Text.RegularExpressions.RegexEngineParser,r=i.tokenTypes,u=n[t];return u!=="."?null:i._createPatternToken(n,r.escCharClassDot,t,1)},_parseAnchorToken:function(n,t){var i=System.Text.RegularExpressions.RegexEngineParser,u=i.tokenTypes,r=n[t];return r!=="^"&&r!=="$"?null:i._createPatternToken(n,u.anchor,t,1)},_updateSettingsFromConstructs:function(n,t){t.isIgnoreWhitespace!=null&&(n.ignoreWhitespace=t.isIgnoreWhitespace);t.isExplicitCapture!=null&&(n.explicitCapture=t.isExplicitCapture)},_parseGroupToken:function(n,t,i,r){var s=System.Text.RegularExpressions.RegexEngineParser,u=s.tokenTypes,a={ignoreWhitespace:t.ignoreWhitespace,explicitCapture:t.explicitCapture},e=n[i],h,c,l,ft,et,p,w,ot,b,nt;if(e!=="(")return null;var k=1,y=!1,d=i+1,o=-1,g=!1,tt=!1,it=!1,rt=!1,ut=!1,v=null,f=s._parseGroupConstructToken(n,a,i+1,r);for(f!=null&&(v=this._fillGroupConstructs(f),d+=f.length,f.type===u.commentInline?g=!0:f.type===u.alternationGroupCondition?tt=!0:f.type===u.groupConstructImnsx?(this._updateSettingsFromConstructs(a,v),rt=!0):f.type===u.groupConstructImnsxMisc&&(this._updateSettingsFromConstructs(t,v),it=!0)),a.explicitCapture&&(v==null||v.name1==null)&&(ut=!0),h=d;h<r;){if(e=n[h],e==="\\")h++;else if(e==="[")y=!0;else if(e==="]"&&y)y=!1;else if(!y)if(e!=="("||g){if(e===")"&&(--k,k===0)){o=h;break}}else++k;++h}if(c=null,g){if(o<0)throw new System.ArgumentException("Unterminated (?#...) comment.");c=s._createPatternToken(n,u.commentInline,i,1+o-i)}else{if(o<0)throw new System.ArgumentException("Not enough )'s.");if(l=s._parsePatternImpl(n,a,d,o),f!=null&&l.splice(0,0,f),tt){for(ft=l.length,w=0,p=0;p<ft;p++)if(et=l[p],et.type===u.alternation&&(++w,w>1))throw new System.ArgumentException("Too many | in (?()|).");if(w===0)throw new System.NotSupportedException("Alternation group without | is not supported.");ot=s._createPatternToken(n,u.alternationGroup,i,1+o-i,l,"(",")");c=ot}else b=u.group,it?b=u.groupImnsxMisc:rt&&(b=u.groupImnsx),nt=s._createPatternToken(n,b,i,1+o-i,l,"(",")"),nt.localSettings=a,c=nt}return ut&&(c.isNonCapturingExplicit=!0),c},_parseGroupConstructToken:function(n,t,i,r){var f=System.Text.RegularExpressions.RegexEngineParser,o=f.tokenTypes,u=n[i],h,c,s,l,e,a,v;if(u!=="?"||i+1>=r)return null;if(u=n[i+1],u===":"||u==="="||u==="!"||u===">")return f._createPatternToken(n,o.groupConstruct,i,2);if(u==="#")return f._createPatternToken(n,o.commentInline,i,2);if(u==="(")return f._parseAlternationGroupConditionToken(n,t,i,r);if(u==="<"&&i+2<r&&(h=n[i+2],h==="="||h==="!"))return f._createPatternToken(n,o.groupConstruct,i,3);if(u==="<"||u==="'"){if(c=u==="<"?">":u,s=f._matchUntil(n,i+2,r,c),s.unmatchLength!==1||s.matchLength===0)throw new System.ArgumentException("Unrecognized grouping construct.");if(l=s.match.slice(0,1),"`~@#$%^&*()+{}[]|\\/|'\";:,.?".indexOf(l)>=0)throw new System.ArgumentException("Invalid group name: Group names must begin with a word character.");return f._createPatternToken(n,o.groupConstructName,i,2+s.matchLength+1)}if(e=f._matchChars(n,i+1,r,"imnsx-"),e.matchLength>0&&(e.unmatchCh===":"||e.unmatchCh===")"))return a=e.unmatchCh===":"?o.groupConstructImnsx:o.groupConstructImnsxMisc,v=e.unmatchCh===":"?1:0,f._createPatternToken(n,a,i,1+e.matchLength+v);throw new System.ArgumentException("Unrecognized grouping construct.");},_parseQuantifierToken:function(n,t,i){var f=System.Text.RegularExpressions.RegexEngineParser,s=f.tokenTypes,r=null,e=n[t],u,o,h,c;if(e==="*"||e==="+"||e==="?")r=f._createPatternToken(n,s.quantifier,t,1),r.data={val:e};else if(e==="{"&&(u=f._matchChars(n,t+1,i,f._decSymbols),u.matchLength!==0))if(u.unmatchCh==="}")r=f._createPatternToken(n,s.quantifierN,t,1+u.matchLength+1),r.data={n:parseInt(u.match,10)};else if(u.unmatchCh===","&&(o=f._matchChars(n,u.unmatchIndex+1,i,f._decSymbols),o.unmatchCh==="}"&&(r=f._createPatternToken(n,s.quantifierNM,t,1+u.matchLength+1+o.matchLength+1),r.data={n:parseInt(u.match,10),m:null},o.matchLength!==0&&(r.data.m=parseInt(o.match,10),r.data.n>r.data.m))))throw new System.ArgumentException("Illegal {x,y} with x > y.");return r!=null&&(h=t+r.length,h<i&&(c=n[h],c==="?"&&(this._modifyPatternToken(r,n,r.type,r.index,r.length+1),r.data.isLazy=!0))),r},_parseAlternationToken:function(n,t){var i=System.Text.RegularExpressions.RegexEngineParser,r=i.tokenTypes,u=n[t];return u!=="|"?null:i._createPatternToken(n,r.alternation,t,1)},_parseAlternationGroupConditionToken:function(n,t,i,r){var s=System.Text.RegularExpressions.RegexEngineParser,u=s.tokenTypes,h,l,c=null,w=n[i],f,e,o,v,y,p,a;if(w!=="?"||i+1>=r||n[i+1]!=="("||(f=s._parseGroupToken(n,t,i+1,r),f==null))return null;if(f.type===u.commentInline)throw new System.ArgumentException("Alternation conditions cannot be comments.");if(e=f.children,e&&e.length){if(h=e[0],h.type===u.groupConstructName)throw new System.ArgumentException("Alternation conditions do not capture and cannot be named.");if((h.type===u.groupConstruct||h.type===u.groupConstructImnsx)&&(l=s._findFirstGroupWithoutConstructs(e),l!=null&&(l.isEmptyCapturing=!0)),h.type===u.literal)if(o=f.value.slice(1,f.value.length-1),v=o[0]>="0"&&o[0]<="9",v){if(y=s._matchChars(o,0,o.length,s._decSymbols),y.matchLength!==o.length)throw new System.ArgumentException("Malformed Alternation group number: "+o+".");p=parseInt(o,10);c={number:p}}else c={name:o}}return e.length&&(e[0].type===u.groupConstruct||e[0].type===u.groupConstructImnsx)||(h=s._createPatternToken("?:",u.groupConstruct,0,2),e.splice(0,0,h)),a=s._createPatternToken(n,u.alternationGroupCondition,f.index-1,1+f.length,[f],"?",""),c!=null&&(a.data=c),a},_findFirstGroupWithoutConstructs:function(n){for(var f=System.Text.RegularExpressions.RegexEngineParser,u=f.tokenTypes,i=null,t,r=0;r<n.length;++r)if(t=n[r],t.type===u.group&&t.children&&t.children.length){if(t.children[0].type!==u.groupConstruct&&t.children[0].type!==u.groupConstructImnsx){i=t;break}if(t.children&&t.children.length&&(i=f._findFirstGroupWithoutConstructs(t.children),i!=null))break}return i},_parseXModeCommentToken:function(n,t,i){var f=System.Text.RegularExpressions.RegexEngineParser,e=f.tokenTypes,u=n[t],r;if(u!=="#")return null;for(r=t+1;r<i;)if(u=n[r],++r,u==="\n")break;return f._createPatternToken(n,e.commentXMode,t,r-t)},_createLiteralToken:function(n){var t=System.Text.RegularExpressions.RegexEngineParser;return t._createPatternToken(n,t.tokenTypes.literal,0,n.length)},_createPositiveLookaheadToken:function(n,t){var r=System.Text.RegularExpressions.RegexEngineParser,i="(?="+n+")";return r._parseGroupToken(i,t,0,i.length)},_createPatternToken:function(n,t,i,r,u,f,e){var o={type:t,index:i,length:r,value:n.slice(i,i+r)};return u!=null&&u.length>0&&(o.children=u,o.childrenPrefix=f,o.childrenPostfix=e),o},_modifyPatternToken:function(n,t,i,r,u){i!=null&&(n.type=i);(r!=null||u!=null)&&(r!=null&&(n.index=r),u!=null&&(n.length=u),n.value=t.slice(n.index,n.index+n.length))},_updatePatternToken:function(n,t,i,r,u){n.type=t;n.index=i;n.length=r;n.value=u},_matchChars:function(n,t,i,r,u){var f={match:"",matchIndex:-1,matchLength:0,unmatchCh:"",unmatchIndex:-1,unmatchLength:0},e=t,o;for(u!=null&&u>=0&&(i=t+u);e<i;){if(o=n[e],r.indexOf(o)<0){f.unmatchCh=o;f.unmatchIndex=e;f.unmatchLength=1;break}e++}return e>t&&(f.match=n.slice(t,e),f.matchIndex=t,f.matchLength=e-t),f},_matchUntil:function(n,t,i,r,u){var f={match:"",matchIndex:-1,matchLength:0,unmatchCh:"",unmatchIndex:-1,unmatchLength:0},e=t,o;for(u!=null&&u>=0&&(i=t+u);e<i;){if(o=n[e],r.indexOf(o)>=0){f.unmatchCh=o;f.unmatchIndex=e;f.unmatchLength=1;break}e++}return e>t&&(f.match=n.slice(t,e),f.matchIndex=t,f.matchLength=e-t),f}}});Bridge.define("System.Text.Encoding",{statics:{fields:{_encodings:null},props:{Default:null,Unicode:null,ASCII:null,BigEndianUnicode:null,UTF7:null,UTF8:null,UTF32:null},ctors:{init:function(){this.Default=new System.Text.UnicodeEncoding.$ctor1(!1,!0);this.Unicode=new System.Text.UnicodeEncoding.$ctor1(!1,!0);this.ASCII=new System.Text.ASCIIEncoding;this.BigEndianUnicode=new System.Text.UnicodeEncoding.$ctor1(!0,!0);this.UTF7=new System.Text.UTF7Encoding.ctor;this.UTF8=new System.Text.UTF8Encoding.ctor;this.UTF32=new System.Text.UTF32Encoding.$ctor1(!1,!0)}},methods:{Convert:function(n,t,i){return System.Text.Encoding.Convert$1(n,t,i,0,i.length)},Convert$1:function(n,t,i,r,u){if(n==null||t==null)throw new System.ArgumentNullException(n==null?"srcEncoding":"dstEncoding");if(i==null)throw new System.ArgumentNullException("bytes");return t.GetBytes(n.GetChars$1(i,r,u))},GetEncoding:function(n){switch(n){case 1200:return System.Text.Encoding.Unicode;case 20127:return System.Text.Encoding.ASCII;case 1201:return System.Text.Encoding.BigEndianUnicode;case 65e3:return System.Text.Encoding.UTF7;case 65001:return System.Text.Encoding.UTF8;case 12e3:return System.Text.Encoding.UTF32}throw new System.NotSupportedException;},GetEncoding$1:function(n){switch(n){case"utf-16":return System.Text.Encoding.Unicode;case"us-ascii":return System.Text.Encoding.ASCII;case"utf-16BE":return System.Text.Encoding.BigEndianUnicode;case"utf-7":return System.Text.Encoding.UTF7;case"utf-8":return System.Text.Encoding.UTF8;case"utf-32":return System.Text.Encoding.UTF32}throw new System.NotSupportedException;},GetEncodings:function(){if(System.Text.Encoding._encodings!=null)return System.Text.Encoding._encodings;System.Text.Encoding._encodings=System.Array.init(6,null,System.Text.EncodingInfo);var n=System.Text.Encoding._encodings;return n[System.Array.index(0,n)]=new System.Text.EncodingInfo(20127,"us-ascii","US-ASCII"),n[System.Array.index(1,n)]=new System.Text.EncodingInfo(1200,"utf-16","Unicode"),n[System.Array.index(2,n)]=new System.Text.EncodingInfo(1201,"utf-16BE","Unicode (Big-Endian)"),n[System.Array.index(3,n)]=new System.Text.EncodingInfo(65e3,"utf-7","Unicode (UTF-7)"),n[System.Array.index(4,n)]=new System.Text.EncodingInfo(65001,"utf-8","Unicode (UTF-8)"),n[System.Array.index(5,n)]=new System.Text.EncodingInfo(1200,"utf-32","Unicode (UTF-32)"),n}}},fields:{_hasError:!1,fallbackCharacter:0},props:{CodePage:{get:function(){return 0}},EncodingName:{get:function(){return null}}},ctors:{init:function(){this.fallbackCharacter=63}},methods:{Encode$1:function(n,t,i){return this.Encode$3(System.String.fromCharArray(n,t,i),null,0,{})},Encode$5:function(n,t,i,r,u){var f={};return this.Encode$3(n.substr(t,i),r,u,f),f.v},Encode$4:function(n,t,i,r,u){var f={};return this.Encode$3(System.String.fromCharArray(n,t,i),r,u,f),f.v},Encode:function(n){return this.Encode$3(System.String.fromCharArray(n),null,0,{})},Encode$2:function(n){return this.Encode$3(n,null,0,{})},Decode$1:function(n,t,i){return this.Decode$2(n,t,i,null,0)},Decode:function(n){return this.Decode$2(n,0,n.length,null,0)},GetByteCount:function(n){return this.GetByteCount$1(n,0,n.length)},GetByteCount$2:function(n){return this.Encode$2(n).length},GetByteCount$1:function(n,t,i){return this.Encode$1(n,t,i).length},GetBytes:function(n){return this.GetBytes$1(n,0,n.length)},GetBytes$1:function(n,t,i){return this.Encode$2(System.String.fromCharArray(n,t,i))},GetBytes$3:function(n,t,i,r,u){return this.Encode$4(n,t,i,r,u)},GetBytes$2:function(n){return this.Encode$2(n)},GetBytes$4:function(n,t,i,r,u){return this.Encode$5(n,t,i,r,u)},GetCharCount:function(n){return this.Decode(n).length},GetCharCount$1:function(n,t,i){return this.Decode$1(n,t,i).length},GetChars:function(n){var t;return t=this.Decode(n),System.String.toCharArray(t,0,t.length)},GetChars$1:function(n,t,i){var r;return r=this.Decode$1(n,t,i),System.String.toCharArray(r,0,r.length)},GetChars$2:function(n,t,i,r,u){var o=this.Decode$1(n,t,i),e=System.String.toCharArray(o,0,o.length),f;if(r.length<(e.length+u|0))throw new System.ArgumentException(null,"chars");for(f=0;f<e.length;f=f+1|0)r[System.Array.index(u+f|0,r)]=e[System.Array.index(f,e)];return e.length},GetString:function(n){return this.Decode(n)},GetString$1:function(n,t,i){return this.Decode$1(n,t,i)}}});Bridge.define("System.Text.EncodingInfo",{props:{CodePage:0,Name:null,DisplayName:null},ctors:{ctor:function(n,t,i){var r;this.$initialize();this.CodePage=n;this.Name=t;this.DisplayName=(r=i,r!=null?r:t)}},methods:{GetEncoding:function(){return System.Text.Encoding.GetEncoding(this.CodePage)},GetHashCode:function(){return this.CodePage},Equals:function(n){var t=Bridge.as(n,System.Text.EncodingInfo);return System.Nullable.eq(this.CodePage,t!=null?t.CodePage:null)}}});Bridge.define("System.Text.ASCIIEncoding",{inherits:[System.Text.Encoding],props:{CodePage:{get:function(){return 20127}},EncodingName:{get:function(){return"US-ASCII"}}},methods:{Encode$3:function(n,t,i,r){var e=t!=null,f,u,o,s;for(e||(t=System.Array.init(0,0,System.Byte)),f=0,u=0;u<n.length;u=u+1|0){if(o=n.charCodeAt(u),s=(o<=127?o:this.fallbackCharacter)&255,e){if((u+i|0)>=t.length)throw new System.ArgumentException("bytes");t[System.Array.index(u+i|0,t)]=s}else t.push(s);f=f+1|0}return(r.v=f,e)?null:t},Decode$2:function(n,t,i){for(var r=t,u="",e=r+i|0,f;r<e;r=r+1|0)f=n[System.Array.index(r,n)],u=f>127?(u||"")+String.fromCharCode(this.fallbackCharacter):(u||"")+(String.fromCharCode(f)||"");return u},GetMaxByteCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("charCount");var t=System.Int64(n).add(System.Int64(1));if(t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException("charCount");return System.Int64.clip32(t)},GetMaxCharCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("byteCount");var t=System.Int64(n);if(t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException("byteCount");return System.Int64.clip32(t)}}});Bridge.define("System.Text.UnicodeEncoding",{inherits:[System.Text.Encoding],fields:{bigEndian:!1,byteOrderMark:!1,throwOnInvalid:!1},props:{CodePage:{get:function(){return this.bigEndian?1201:1200}},EncodingName:{get:function(){return this.bigEndian?"Unicode (Big-Endian)":"Unicode"}}},ctors:{ctor:function(){System.Text.UnicodeEncoding.$ctor1.call(this,!1,!0)},$ctor1:function(n,t){System.Text.UnicodeEncoding.$ctor2.call(this,n,t,!1)},$ctor2:function(n,t,i){this.$initialize();System.Text.Encoding.ctor.call(this);this.bigEndian=n;this.byteOrderMark=t;this.throwOnInvalid=i;this.fallbackCharacter=65533}},methods:{Encode$3:function(n,t,i,r){var y=t!=null,p=0,f=0,a=this.fallbackCharacter,w=function(n){if(y){if(i>=t.length)throw new System.ArgumentException("bytes");t[System.Array.index(Bridge.identity(i,i=i+1|0),t)]=n}else t.push(n);p=p+1|0},o=function(n,t){w(n);w(t)},s=e.$.System.Text.UnicodeEncoding.f1,v=Bridge.fn.bind(this,function(){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF16 text");o(a&255,a>>8&255)}),h,u,c,l;for(y||(t=System.Array.init(0,0,System.Byte)),this.bigEndian&&(a=s(a)),h=0;h<n.length;h=h+1|0){if(u=n.charCodeAt(h),f!==0){if(u>=56320&&u<=57343){this.bigEndian&&(f=s(f),u=s(u));o(f&255,f>>8&255);o(u&255,u>>8&255);f=0;continue}v();f=0}if(55296<=u&&u<=56319){f=u;continue}else if(56320<=u&&u<=57343){v();f=0;continue}u<65536?(this.bigEndian&&(u=s(u)),o(u&255,u>>8&255)):u<=1114111?(u=u-65536,c=(u&1023|56320)&65535,l=(u>>10&1023|55296)&65535,this.bigEndian&&(l=s(l),c=s(c)),o(l&255,l>>8&255),o(c&255,c>>8&255)):v()}return(f!==0&&v(),r.v=p,y)?null:t},Decode$2:function(n,t,i){var r=t,f="",h=r+i|0,u,l,s;this._hasError=!1;for(var o=Bridge.fn.bind(this,function(){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF16 text");f=(f||"")+String.fromCharCode(this.fallbackCharacter)}),a=e.$.System.Text.UnicodeEncoding.f2,c=Bridge.fn.bind(this,function(){if((r+2|0)>h)return r=r+2|0,null;var i=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],u=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],t=(i<<8|u)&65535;return this.bigEndian||(t=a(t)),t});r<h;)if(u=c(),System.Nullable.hasValue(u))if(System.Nullable.lt(u,55296)||System.Nullable.gt(u,57343))f=(f||"")+(System.String.fromCharCode(System.Nullable.getValue(u))||"");else if(System.Nullable.gte(u,55296)&&System.Nullable.lte(u,56319))if(l=r>=h,s=c(),l)o(),this._hasError=!0;else if(System.Nullable.hasValue(s))if(System.Nullable.gte(s,56320)&&System.Nullable.lte(s,57343)){var v=System.Nullable.band(u,1023),y=System.Nullable.band(s,1023),p=Bridge.Int.clip32(System.Nullable.add(System.Nullable.bor(System.Nullable.sl(v,10),y),65536));f=(f||"")+(System.String.fromCharCode(System.Nullable.getValue(p))||"")}else o(),r=r-2|0;else o(),o();else o();else o(),this._hasError=!0;return f},GetMaxByteCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("charCount");var t=System.Int64(n).add(System.Int64(1));if(t=t.shl(1),t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException("charCount");return System.Int64.clip32(t)},GetMaxCharCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("byteCount");var t=System.Int64(n>>1).add(System.Int64(n&1)).add(System.Int64(1));if(t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException("byteCount");return System.Int64.clip32(t)}}});Bridge.ns("System.Text.UnicodeEncoding",e.$);Bridge.apply(e.$.System.Text.UnicodeEncoding,{f1:function(n){return((n&255)<<8|n>>8&255)&65535},f2:function(n){return((n&255)<<8|n>>8&255)&65535}});Bridge.define("System.Text.UTF32Encoding",{inherits:[System.Text.Encoding],fields:{bigEndian:!1,byteOrderMark:!1,throwOnInvalid:!1},props:{CodePage:{get:function(){return this.bigEndian?1201:1200}},EncodingName:{get:function(){return this.bigEndian?"Unicode (UTF-32 Big-Endian)":"Unicode (UTF-32)"}}},ctors:{ctor:function(){System.Text.UTF32Encoding.$ctor2.call(this,!1,!0,!1)},$ctor1:function(n,t){System.Text.UTF32Encoding.$ctor2.call(this,n,t,!1)},$ctor2:function(n,t,i){this.$initialize();System.Text.Encoding.ctor.call(this);this.bigEndian=n;this.byteOrderMark=t;this.throwOnInvalid=i;this.fallbackCharacter=65533}},methods:{ToCodePoints:function(n){for(var t,e,o,r=0,u=System.Array.init(0,0,System.Char),f=Bridge.fn.bind(this,function(){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF32 text");u.push(this.fallbackCharacter)}),i=0;i<n.length;i=i+1|0)t=n.charCodeAt(i),r!==0?(t>=56320&&t<=57343?(e=t,o=(Bridge.Int.mul(r-55296|0,1024)+65536|0)+(e-56320|0)|0,u.push(o)):(f(),i=i-1|0),r=0):t>=55296&&t<=56319?r=t:t>=56320&&t<=57343?f():u.push(t);return r!==0&&f(),u},Encode$3:function(n,t,i,r){var o=t!=null,s=0,f=function(n){if(o){if(i>=t.length)throw new System.ArgumentException("bytes");t[System.Array.index(Bridge.identity(i,i=i+1|0),t)]=n}else t.push(n);s=s+1|0},h=Bridge.fn.bind(this,function(n){var t=System.Array.init(4,0,System.Byte);t[System.Array.index(0,t)]=(n&255)>>>0;t[System.Array.index(1,t)]=(n&65280)>>>0>>>8;t[System.Array.index(2,t)]=(n&16711680)>>>0>>>16;t[System.Array.index(3,t)]=(n&4278190080)>>>0>>>24;this.bigEndian&&t.reverse();f(t[System.Array.index(0,t)]);f(t[System.Array.index(1,t)]);f(t[System.Array.index(2,t)]);f(t[System.Array.index(3,t)])}),e,u;for(o||(t=System.Array.init(0,0,System.Byte)),e=this.ToCodePoints(n),u=0;u<e.length;u=u+1|0)h(e[System.Array.index(u,e)]);return(r.v=s,o)?null:t},Decode$2:function(n,t,i){var r=t,f="",o=r+i|0,e,s,u;for(this._hasError=!1,e=Bridge.fn.bind(this,function(){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF32 text");f=(f||"")+(String.fromCharCode(this.fallbackCharacter)||"")}),s=Bridge.fn.bind(this,function(){var t;if((r+4|0)>o)return r=r+4|0,null;var i=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],u=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],f=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],e=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)];return this.bigEndian&&(t=u,u=f,f=t,t=i,i=e,e=t),e<<24|f<<16|u<<8|i});r<o;){if(u=s(),u==null){e();this._hasError=!0;continue}System.Nullable.lt(u,65536)||System.Nullable.gt(u,1114111)?System.Nullable.lt(u,0)||System.Nullable.gt(u,1114111)||System.Nullable.gte(u,55296)&&System.Nullable.lte(u,57343)?e():f=(f||"")+(String.fromCharCode(u)||""):(f=(f||"")+(String.fromCharCode(Bridge.Int.clipu32(System.Nullable.add(Bridge.Int.clipu32(Bridge.Int.div(Bridge.Int.clipu32(System.Nullable.sub(u,65536)),1024)),55296)))||""),f=(f||"")+(String.fromCharCode(Bridge.Int.clipu32(System.Nullable.add(System.Nullable.mod(u,1024),56320)))||""))}return f},GetMaxByteCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("charCount");var t=System.Int64(n).add(System.Int64(1));if(t=t.mul(System.Int64(4)),t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException("charCount");return System.Int64.clip32(t)},GetMaxCharCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("byteCount");var t=(Bridge.Int.div(n,2)|0)+2|0;if(t>2147483647)throw new System.ArgumentOutOfRangeException("byteCount");return t}}});Bridge.define("System.Text.UTF7Encoding",{inherits:[System.Text.Encoding],statics:{methods:{Escape:function(n){return n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}}},fields:{allowOptionals:!1},props:{CodePage:{get:function(){return 65e3}},EncodingName:{get:function(){return"Unicode (UTF-7)"}}},ctors:{ctor:function(){System.Text.UTF7Encoding.$ctor1.call(this,!1)},$ctor1:function(n){this.$initialize();System.Text.Encoding.ctor.call(this);this.allowOptionals=n;this.fallbackCharacter=65533}},methods:{Encode$3:function(n,t,i,r){var s="A-Za-z0-9"+(System.Text.UTF7Encoding.Escape("'(),-./:?")||""),h=e.$.System.Text.UTF7Encoding.f1,c=System.Text.UTF7Encoding.Escape('!"#$%&*;<=>@[]^_`{|}'),l=System.Text.UTF7Encoding.Escape(" \r\n\t"),u,o,f;if(n=n.replace(new RegExp("[^"+l+s+(this.allowOptionals?c:"")+"]+","g"),function(n){return"+"+(n==="+"?"":h(n))+"-"}),u=System.String.toCharArray(n,0,n.length),t!=null){if(o=0,u.length>(t.length-i|0))throw new System.ArgumentException("bytes");for(f=0;f<u.length;f=f+1|0)t[System.Array.index(f+i|0,t)]=u[System.Array.index(f,u)],o=o+1|0;return r.v=o,null}return r.v=u.length,u},Decode$2:function(n,t,i){var r=e.$.System.Text.UTF7Encoding.f2,u=function(n){for(var i=r(n),u=System.Array.init(0,0,System.Char),t=0;t<i.length;)u.push((i[System.Array.index(Bridge.identity(t,t=t+1|0),i)]<<8|i[System.Array.index(Bridge.identity(t,t=t+1|0),i)])&65535);return System.String.fromCharArray(u)},f=System.String.fromCharArray(n,t,i);return f.replace(/\+([A-Za-z0-9\/]*)-?/gi,function(n,t){return t===""?n=="+-"?"+":"":u(t)})},GetMaxByteCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("charCount");var t=System.Int64(n).mul(System.Int64(3)).add(System.Int64(2));if(t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException("charCount");return System.Int64.clip32(t)},GetMaxCharCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("byteCount");var t=n;return t===0&&(t=1),t|0}}});Bridge.ns("System.Text.UTF7Encoding",e.$);Bridge.apply(e.$.System.Text.UTF7Encoding,{f1:function(n){for(var u,f,i=System.Array.init(Bridge.Int.mul(n.length,2),0,System.Byte),t=0,r=0;r<n.length;r=r+1|0)u=n.charCodeAt(r),i[System.Array.index(Bridge.identity(t,t=t+1|0),i)]=u>>8,i[System.Array.index(Bridge.identity(t,t=t+1|0),i)]=u&255;return f=System.Convert.toBase64String(i,null,null,null),f.replace(/=+$/,"")},f2:function(n){var t;try{var i=window.atob(n),r=i.length,u=System.Array.init(r,0,System.Char);if(r===1&&i.charCodeAt(0)===0)return System.Array.init(0,0,System.Char);for(t=0;t<r;t=t+1|0)u[System.Array.index(t,u)]=i.charCodeAt(t);return u}catch(f){return f=System.Exception.create(f),System.Array.init(0,0,System.Char)}}});Bridge.define("System.Text.UTF8Encoding",{inherits:[System.Text.Encoding],fields:{encoderShouldEmitUTF8Identifier:!1,throwOnInvalid:!1},props:{CodePage:{get:function(){return 65001}},EncodingName:{get:function(){return"Unicode (UTF-8)"}}},ctors:{ctor:function(){System.Text.UTF8Encoding.$ctor1.call(this,!1)},$ctor1:function(n){System.Text.UTF8Encoding.$ctor2.call(this,n,!1)},$ctor2:function(n,t){this.$initialize();System.Text.Encoding.ctor.call(this);this.encoderShouldEmitUTF8Identifier=n;this.throwOnInvalid=t;this.fallbackCharacter=65533}},methods:{Encode$3:function(n,t,i,r){var h=t!=null,c=0,s=function(n){for(var u,f=n.length,r=0;r<f;r=r+1|0){if(u=n[System.Array.index(r,n)],h){if(i>=t.length)throw new System.ArgumentException("bytes");t[System.Array.index(Bridge.identity(i,i=i+1|0),t)]=u}else t.push(u);c=c+1|0}},a=Bridge.fn.bind(this,e.$.System.Text.UTF8Encoding.f1),f,u,l,o;for(h||(t=System.Array.init(0,0,System.Byte)),f=0;f<n.length;f=f+1|0)u=n.charCodeAt(f),u>=55296&&u<=56319?(l=n.charCodeAt(f+1|0),l>=56320&&l<=57343||(u=a())):u>=56320&&u<=57343&&(u=a()),u<128?s(System.Array.init([u],System.Byte)):u<2048?s(System.Array.init([192|u>>6,128|u&63],System.Byte)):u<55296||u>=57344?s(System.Array.init([224|u>>12,128|u>>6&63,128|u&63],System.Byte)):(f=f+1|0,o=65536+((u&1023)<<10|n.charCodeAt(f)&1023)|0,s(System.Array.init([240|o>>18,128|o>>12&63,128|o>>6&63,128|o&63],System.Byte)));return(r.v=c,h)?null:t},Decode$2:function(n,t,i){var l,a;this._hasError=!1;for(var f=t,e="",h=0,c=!1,v=f+i|0;f<v;f=f+1|0){var r=0,s=0,o=!1,u=n[System.Array.index(f,n)];for(u<=127?r=u:(u&64)==0?o=!0:(u&224)==192?(r=u&31,s=1):(u&240)==224?(r=u&15,s=2):(u&248)==240?(r=u&7,s=3):(u&252)==248?(r=u&3,s=4,o=!0):(u&254)==252?(r=u&3,s=5,o=!0):(r=u,o=!1);s>0;){if(f=f+1|0,f>=v){o=!0;break}if(l=n[System.Array.index(f,n)],s=s-1|0,(l&192)!=128){f=f-1|0;o=!0;break}r=r<<6|l&63}if(a=null,c=!1,o||(h>0&&!(r>=56320&&r<=57343)?(o=!0,h=0):r>=55296&&r<=56319?h=r&65535:r>=56320&&r<=57343?(o=!0,c=!0,h=0):(a=System.String.fromCharCode(r),h=0)),o){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF8 text");e=(e||"")+String.fromCharCode(this.fallbackCharacter);this._hasError=!0}else h===0&&(e=(e||"")+(a||""))}if(h>0||c){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF8 text");e=e.length>0&&e.charCodeAt(e.length-1|0)===this.fallbackCharacter?(e||"")+String.fromCharCode(this.fallbackCharacter):(e||"")+(this.fallbackCharacter+this.fallbackCharacter|0);this._hasError=!0}return e},GetMaxByteCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("charCount");var t=System.Int64(n).add(System.Int64(1));if(t=t.mul(System.Int64(3)),t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException("charCount");return System.Int64.clip32(t)},GetMaxCharCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("byteCount");var t=System.Int64(n).add(System.Int64(1));if(t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException("byteCount");return System.Int64.clip32(t)}}});Bridge.ns("System.Text.UTF8Encoding",e.$);Bridge.apply(e.$.System.Text.UTF8Encoding,{f1:function(){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF8 text");return this.fallbackCharacter}});Bridge.define("System.IO.__Error",{statics:{methods:{EndOfFile:function(){throw new System.IO.EndOfStreamException.$ctor1("IO.EOF_ReadBeyondEOF");},FileNotOpen:function(){throw new System.Exception("ObjectDisposed_FileClosed");},StreamIsClosed:function(){throw new System.Exception("ObjectDisposed_StreamClosed");},MemoryStreamNotExpandable:function(){throw new System.NotSupportedException("NotSupported_MemStreamNotExpandable");},ReaderClosed:function(){throw new System.Exception("ObjectDisposed_ReaderClosed");},ReadNotSupported:function(){throw new System.NotSupportedException("NotSupported_UnreadableStream");},SeekNotSupported:function(){throw new System.NotSupportedException("NotSupported_UnseekableStream");},WrongAsyncResult:function(){throw new System.ArgumentException("Arg_WrongAsyncResult");},EndReadCalledTwice:function(){throw new System.ArgumentException("InvalidOperation_EndReadCalledMultiple");},EndWriteCalledTwice:function(){throw new System.ArgumentException("InvalidOperation_EndWriteCalledMultiple");},WriteNotSupported:function(){throw new System.NotSupportedException("NotSupported_UnwritableStream");},WriterClosed:function(){throw new System.Exception("ObjectDisposed_WriterClosed");}}}});Bridge.define("System.IO.BinaryReader",{inherits:[System.IDisposable],statics:{fields:{MaxCharBytesSize:0},ctors:{init:function(){this.MaxCharBytesSize=128}}},fields:{m_stream:null,m_buffer:null,m_encoding:null,m_charBytes:null,m_singleChar:null,m_charBuffer:null,m_maxCharsSize:0,m_2BytesPerChar:!1,m_isMemoryStream:!1,m_leaveOpen:!1,lastCharsRead:0},props:{BaseStream:{get:function(){return this.m_stream}}},alias:["Dispose","System$IDisposable$dispose"],ctors:{init:function(){this.lastCharsRead=0},ctor:function(n){System.IO.BinaryReader.$ctor2.call(this,n,new System.Text.UTF8Encoding.ctor,!1)},$ctor1:function(n,t){System.IO.BinaryReader.$ctor2.call(this,n,t,!1)},$ctor2:function(n,t,i){if(this.$initialize(),n==null)throw new System.ArgumentNullException("input");if(t==null)throw new System.ArgumentNullException("encoding");if(!n.CanRead)throw new System.ArgumentException("Argument_StreamNotReadable");this.m_stream=n;this.m_encoding=t;this.m_maxCharsSize=t.GetMaxCharCount(System.IO.BinaryReader.MaxCharBytesSize);var r=t.GetMaxByteCount(1);r<23&&(r=23);this.m_buffer=System.Array.init(r,0,System.Byte);this.m_2BytesPerChar=Bridge.is(t,System.Text.UnicodeEncoding);this.m_isMemoryStream=Bridge.referenceEquals(Bridge.getType(this.m_stream),System.IO.MemoryStream);this.m_leaveOpen=i}},methods:{Close:function(){this.Dispose$1(!0)},Dispose$1:function(n){if(n){var t=this.m_stream;this.m_stream=null;t==null||this.m_leaveOpen||t.Close()}this.m_stream=null;this.m_buffer=null;this.m_encoding=null;this.m_charBytes=null;this.m_singleChar=null;this.m_charBuffer=null},Dispose:function(){this.Dispose$1(!0)},PeekChar:function(){if(this.m_stream==null&&System.IO.__Error.FileNotOpen(),!this.m_stream.CanSeek)return-1;var n=this.m_stream.Position,t=this.Read();return this.m_stream.Position=n,t},Read:function(){return this.m_stream==null&&System.IO.__Error.FileNotOpen(),this.InternalReadOneChar()},Read$2:function(n,t,i){if(n==null)throw new System.ArgumentNullException("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException("index","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)<i)throw new System.ArgumentException("Argument_InvalidOffLen");return this.m_stream==null&&System.IO.__Error.FileNotOpen(),this.InternalReadChars(n,t,i)},Read$1:function(n,t,i){if(n==null)throw new System.ArgumentNullException("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException("index","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)<i)throw new System.ArgumentException("Argument_InvalidOffLen");return this.m_stream==null&&System.IO.__Error.FileNotOpen(),this.m_stream.Read(n,t,i)},ReadBoolean:function(){return this.FillBuffer(1),this.m_buffer[System.Array.index(0,this.m_buffer)]!==0},ReadByte:function(){this.m_stream==null&&System.IO.__Error.FileNotOpen();var n=this.m_stream.ReadByte();return n===-1&&System.IO.__Error.EndOfFile(),n&255},ReadSByte:function(){return this.FillBuffer(1),Bridge.Int.sxb(this.m_buffer[System.Array.index(0,this.m_buffer)]&255)},ReadChar:function(){var n=this.Read();return n===-1&&System.IO.__Error.EndOfFile(),n&65535},ReadInt16:function(){return this.FillBuffer(2),Bridge.Int.sxs((this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8)&65535)},ReadUInt16:function(){return this.FillBuffer(2),(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8)&65535},ReadInt32:function(){if(this.m_isMemoryStream){this.m_stream==null&&System.IO.__Error.FileNotOpen();var n=Bridge.as(this.m_stream,System.IO.MemoryStream);return n.InternalReadInt32()}return this.FillBuffer(4),this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24},ReadUInt32:function(){return this.FillBuffer(4),(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24)>>>0},ReadInt64:function(){this.FillBuffer(8);var n=(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24)>>>0,t=(this.m_buffer[System.Array.index(4,this.m_buffer)]|this.m_buffer[System.Array.index(5,this.m_buffer)]<<8|this.m_buffer[System.Array.index(6,this.m_buffer)]<<16|this.m_buffer[System.Array.index(7,this.m_buffer)]<<24)>>>0;return System.Int64.clip64(System.UInt64(t)).shl(32).or(System.Int64(n))},ReadUInt64:function(){this.FillBuffer(8);var n=(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24)>>>0,t=(this.m_buffer[System.Array.index(4,this.m_buffer)]|this.m_buffer[System.Array.index(5,this.m_buffer)]<<8|this.m_buffer[System.Array.index(6,this.m_buffer)]<<16|this.m_buffer[System.Array.index(7,this.m_buffer)]<<24)>>>0;return System.UInt64(t).shl(32).or(System.UInt64(n))},ReadSingle:function(){this.FillBuffer(4);var n=(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24)>>>0;return System.BitConverter.toSingle(System.BitConverter.getBytes$8(n),0)},ReadDouble:function(){this.FillBuffer(8);var n=(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24)>>>0,t=(this.m_buffer[System.Array.index(4,this.m_buffer)]|this.m_buffer[System.Array.index(5,this.m_buffer)]<<8|this.m_buffer[System.Array.index(6,this.m_buffer)]<<16|this.m_buffer[System.Array.index(7,this.m_buffer)]<<24)>>>0,i=System.UInt64(t).shl(32).or(System.UInt64(n));return System.BitConverter.toDouble(System.BitConverter.getBytes$9(i),0)},ReadDecimal:function(){this.FillBuffer(23);try{return System.Decimal.fromBytes(this.m_buffer)}catch(n){n=System.Exception.create(n);var t;if(Bridge.is(n,System.ArgumentException)){t=n;throw new System.IO.IOException.$ctor2("Arg_DecBitCtor",t);}else throw n;}},ReadString:function(){var t,i,n,e,f,r,u;if(this.m_stream==null&&System.IO.__Error.FileNotOpen(),t=0,n=this.Read7BitEncodedInt(),n<0)throw new System.IO.IOException.$ctor1("IO.IO_InvalidStringLen_Len");if(n===0)return"";this.m_charBytes==null&&(this.m_charBytes=System.Array.init(System.IO.BinaryReader.MaxCharBytesSize,0,System.Byte));this.m_charBuffer==null&&(this.m_charBuffer=System.Array.init(this.m_maxCharsSize,0,System.Char));r=null;do{if(e=(n-t|0)>System.IO.BinaryReader.MaxCharBytesSize?System.IO.BinaryReader.MaxCharBytesSize:n-t|0,i=this.m_stream.Read(this.m_charBytes,0,e),i===0&&System.IO.__Error.EndOfFile(),f=this.m_encoding.GetChars$2(this.m_charBytes,0,i,this.m_charBuffer,0),t===0&&i===n)return System.String.fromCharArray(this.m_charBuffer,0,f);for(r==null&&(r=new System.Text.StringBuilder("",n)),u=0;u<f;u=u+1|0)r.append(String.fromCharCode(this.m_charBuffer[System.Array.index(u,this.m_charBuffer)]));t=t+i|0}while(t<n);return r.toString()},InternalReadChars:function(n,t,i){var r=i,u;if(this.m_charBytes==null&&(this.m_charBytes=System.Array.init(System.IO.BinaryReader.MaxCharBytesSize,0,System.Byte)),t<0||r<0||(t+r|0)>n.length)throw new System.ArgumentOutOfRangeException("charsRemaining");while(r>0){if(u=this.InternalReadOneChar(!0),u===-1)break;n[System.Array.index(t,n)]=u&65535;this.lastCharsRead===2&&(n[System.Array.index(t=t+1|0,n)]=this.m_singleChar[System.Array.index(1,this.m_singleChar)],r=r-1|0);r=r-1|0;t=t+1|0}return i-r|0},InternalReadOneChar:function(n){var e,r,f,t;n===void 0&&(n=!1);var u=0,i=0,s=System.Int64(0);for(this.m_stream.CanSeek&&(s=this.m_stream.Position),this.m_charBytes==null&&(this.m_charBytes=System.Array.init(System.IO.BinaryReader.MaxCharBytesSize,0,System.Byte)),this.m_singleChar==null&&(this.m_singleChar=System.Array.init(2,0,System.Char)),e=!1,r=0;u===0;){if(i=this.m_2BytesPerChar?2:1,Bridge.is(this.m_encoding,System.Text.UTF32Encoding)&&(i=4),e)f=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(r=r+1|0,this.m_charBytes)]=f&255,f===-1&&(i=0),i===2&&(f=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(r=r+1|0,this.m_charBytes)]=f&255,f===-1&&(i=1));else if(t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(0,this.m_charBytes)]=t&255,r=0,t===-1&&(i=0),i===2)t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(1,this.m_charBytes)]=t&255,t===-1&&(i=1),r=1;else if(i===4){if((t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(1,this.m_charBytes)]=t&255,t===-1)||(t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(2,this.m_charBytes)]=t&255,t===-1)||(t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(3,this.m_charBytes)]=t&255,t===-1))return-1;r=3}if(i===0)return-1;e=!1;try{if(u=this.m_encoding.GetChars$2(this.m_charBytes,0,r+1|0,this.m_singleChar,0),!n&&u===2)throw new System.ArgumentException;}catch(o){o=System.Exception.create(o);this.m_stream.CanSeek&&this.m_stream.Seek(s.sub(this.m_stream.Position),System.IO.SeekOrigin.Current);throw o;}this.m_encoding._hasError&&(u=0,e=!0);!n}return(this.lastCharsRead=u,u===0)?-1:this.m_singleChar[System.Array.index(0,this.m_singleChar)]},ReadChars:function(n){var t,i,r;if(n<0)throw new System.ArgumentOutOfRangeException("count","ArgumentOutOfRange_NeedNonNegNum");return(this.m_stream==null&&System.IO.__Error.FileNotOpen(),n===0)?System.Array.init(0,0,System.Char):(t=System.Array.init(n,0,System.Char),i=this.InternalReadChars(t,0,n),i!==n&&(r=System.Array.init(i,0,System.Char),System.Array.copy(t,0,r,0,Bridge.Int.mul(2,i)),t=r),t)},ReadBytes:function(n){var i,t,r,u;if(n<0)throw new System.ArgumentOutOfRangeException("count","ArgumentOutOfRange_NeedNonNegNum");if(this.m_stream==null&&System.IO.__Error.FileNotOpen(),n===0)return System.Array.init(0,0,System.Byte);i=System.Array.init(n,0,System.Byte);t=0;do{if(r=this.m_stream.Read(i,t,n),r===0)break;t=t+r|0;n=n-r|0}while(n>0);return t!==i.length&&(u=System.Array.init(t,0,System.Byte),System.Array.copy(i,0,u,0,t),i=u),i},FillBuffer:function(n){if(this.m_buffer!=null&&(n<0||n>this.m_buffer.length))throw new System.ArgumentOutOfRangeException("numBytes","ArgumentOutOfRange_BinaryReaderFillBuffer");var i=0,t=0;if(this.m_stream==null&&System.IO.__Error.FileNotOpen(),n===1){t=this.m_stream.ReadByte();t===-1&&System.IO.__Error.EndOfFile();this.m_buffer[System.Array.index(0,this.m_buffer)]=t&255;return}do t=this.m_stream.Read(this.m_buffer,i,n-i|0),t===0&&System.IO.__Error.EndOfFile(),i=i+t|0;while(i<n)},Read7BitEncodedInt:function(){var t=0,n=0,i;do{if(n===35)throw new System.FormatException("Format_Bad7BitInt32");i=this.ReadByte();t=t|(i&127)<<n;n=n+7|0}while((i&128)!=0);return t}}});Bridge.define("System.IO.BinaryWriter",{inherits:[System.IDisposable],statics:{fields:{Null:null,LargeByteBufferSize:0},ctors:{init:function(){this.Null=new System.IO.BinaryWriter.ctor;this.LargeByteBufferSize=256}}},fields:{OutStream:null,_buffer:null,_encoding:null,_leaveOpen:!1,_tmpOneCharBuffer:null},props:{BaseStream:{get:function(){return this.Flush(),this.OutStream}}},alias:["Dispose","System$IDisposable$dispose"],ctors:{ctor:function(){this.$initialize();this.OutStream=System.IO.Stream.Null;this._buffer=System.Array.init(16,0,System.Byte);this._encoding=new System.Text.UTF8Encoding.$ctor2(!1,!0)},$ctor1:function(n){System.IO.BinaryWriter.$ctor3.call(this,n,new System.Text.UTF8Encoding.$ctor2(!1,!0),!1)},$ctor2:function(n,t){System.IO.BinaryWriter.$ctor3.call(this,n,t,!1)},$ctor3:function(n,t,i){if(this.$initialize(),n==null)throw new System.ArgumentNullException("output");if(t==null)throw new System.ArgumentNullException("encoding");if(!n.CanWrite)throw new System.ArgumentException("Argument_StreamNotWritable");this.OutStream=n;this._buffer=System.Array.init(16,0,System.Byte);this._encoding=t;this._leaveOpen=i}},methods:{Close:function(){this.Dispose$1(!0)},Dispose$1:function(n){n&&(this._leaveOpen?this.OutStream.Flush():this.OutStream.Close())},Dispose:function(){this.Dispose$1(!0)},Flush:function(){this.OutStream.Flush()},Seek:function(n,t){return this.OutStream.Seek(System.Int64(n),t)},Write:function(n){this._buffer[System.Array.index(0,this._buffer)]=(n?1:0)&255;this.OutStream.Write(this._buffer,0,1)},Write$1:function(n){this.OutStream.WriteByte(n)},Write$12:function(n){this.OutStream.WriteByte(n&255)},Write$2:function(n){if(n==null)throw new System.ArgumentNullException("buffer");this.OutStream.Write(n,0,n.length)},Write$3:function(n,t,i){this.OutStream.Write(n,t,i)},Write$4:function(n){if(System.Char.isSurrogate(n))throw new System.ArgumentException("Arg_SurrogatesNotAllowedAsSingleChar");var t=0;t=this._encoding.GetBytes$3(System.Array.init([n],System.Char),0,1,this._buffer,0);this.OutStream.Write(this._buffer,0,t)},Write$5:function(n){if(n==null)throw new System.ArgumentNullException("chars");var t=this._encoding.GetBytes$1(n,0,n.length);this.OutStream.Write(t,0,t.length)},Write$6:function(n,t,i){var r=this._encoding.GetBytes$1(n,t,i);this.OutStream.Write(r,0,r.length)},Write$8:function(n){var t=System.Int64.clipu64(System.BitConverter.doubleToInt64Bits(n));this._buffer[System.Array.index(0,this._buffer)]=System.Int64.clipu8(t);this._buffer[System.Array.index(1,this._buffer)]=System.Int64.clipu8(t.shru(8));this._buffer[System.Array.index(2,this._buffer)]=System.Int64.clipu8(t.shru(16));this._buffer[System.Array.index(3,this._buffer)]=System.Int64.clipu8(t.shru(24));this._buffer[System.Array.index(4,this._buffer)]=System.Int64.clipu8(t.shru(32));this._buffer[System.Array.index(5,this._buffer)]=System.Int64.clipu8(t.shru(40));this._buffer[System.Array.index(6,this._buffer)]=System.Int64.clipu8(t.shru(48));this._buffer[System.Array.index(7,this._buffer)]=System.Int64.clipu8(t.shru(56));this.OutStream.Write(this._buffer,0,8)},Write$7:function(n){var t=n.getBytes();this.OutStream.Write(t,0,23)},Write$9:function(n){this._buffer[System.Array.index(0,this._buffer)]=n&255;this._buffer[System.Array.index(1,this._buffer)]=n>>8&255;this.OutStream.Write(this._buffer,0,2)},Write$15:function(n){this._buffer[System.Array.index(0,this._buffer)]=n&255;this._buffer[System.Array.index(1,this._buffer)]=n>>8&255;this.OutStream.Write(this._buffer,0,2)},Write$10:function(n){this._buffer[System.Array.index(0,this._buffer)]=n&255;this._buffer[System.Array.index(1,this._buffer)]=n>>8&255;this._buffer[System.Array.index(2,this._buffer)]=n>>16&255;this._buffer[System.Array.index(3,this._buffer)]=n>>24&255;this.OutStream.Write(this._buffer,0,4)},Write$16:function(n){this._buffer[System.Array.index(0,this._buffer)]=n&255;this._buffer[System.Array.index(1,this._buffer)]=n>>>8&255;this._buffer[System.Array.index(2,this._buffer)]=n>>>16&255;this._buffer[System.Array.index(3,this._buffer)]=n>>>24&255;this.OutStream.Write(this._buffer,0,4)},Write$11:function(n){this._buffer[System.Array.index(0,this._buffer)]=System.Int64.clipu8(n);this._buffer[System.Array.index(1,this._buffer)]=System.Int64.clipu8(n.shr(8));this._buffer[System.Array.index(2,this._buffer)]=System.Int64.clipu8(n.shr(16));this._buffer[System.Array.index(3,this._buffer)]=System.Int64.clipu8(n.shr(24));this._buffer[System.Array.index(4,this._buffer)]=System.Int64.clipu8(n.shr(32));this._buffer[System.Array.index(5,this._buffer)]=System.Int64.clipu8(n.shr(40));this._buffer[System.Array.index(6,this._buffer)]=System.Int64.clipu8(n.shr(48));this._buffer[System.Array.index(7,this._buffer)]=System.Int64.clipu8(n.shr(56));this.OutStream.Write(this._buffer,0,8)},Write$17:function(n){this._buffer[System.Array.index(0,this._buffer)]=System.Int64.clipu8(n);this._buffer[System.Array.index(1,this._buffer)]=System.Int64.clipu8(n.shru(8));this._buffer[System.Array.index(2,this._buffer)]=System.Int64.clipu8(n.shru(16));this._buffer[System.Array.index(3,this._buffer)]=System.Int64.clipu8(n.shru(24));this._buffer[System.Array.index(4,this._buffer)]=System.Int64.clipu8(n.shru(32));this._buffer[System.Array.index(5,this._buffer)]=System.Int64.clipu8(n.shru(40));this._buffer[System.Array.index(6,this._buffer)]=System.Int64.clipu8(n.shru(48));this._buffer[System.Array.index(7,this._buffer)]=System.Int64.clipu8(n.shru(56));this.OutStream.Write(this._buffer,0,8)},Write$13:function(n){var t=System.BitConverter.toUInt32(System.BitConverter.getBytes$6(n),0);this._buffer[System.Array.index(0,this._buffer)]=t&255;this._buffer[System.Array.index(1,this._buffer)]=t>>>8&255;this._buffer[System.Array.index(2,this._buffer)]=t>>>16&255;this._buffer[System.Array.index(3,this._buffer)]=t>>>24&255;this.OutStream.Write(this._buffer,0,4)},Write$14:function(n){if(n==null)throw new System.ArgumentNullException("value");var t=this._encoding.GetBytes$2(n),i=t.length;this.Write7BitEncodedInt(i);this.OutStream.Write(t,0,i)},Write7BitEncodedInt:function(n){for(var t=n>>>0;t>=128;)this.Write$1((t|128)>>>0&255),t=t>>>7;this.Write$1(t&255)}}});Bridge.define("System.IO.Stream",{inherits:[System.IDisposable],statics:{fields:{Null:null,_DefaultCopyBufferSize:0},ctors:{init:function(){this.Null=new System.IO.Stream.NullStream;this._DefaultCopyBufferSize=81920}},methods:{Synchronized:function(n){if(n==null)throw new System.ArgumentNullException("stream");return n},BlockingEndRead:function(n){return System.IO.Stream.SynchronousAsyncResult.EndRead(n)},BlockingEndWrite:function(n){System.IO.Stream.SynchronousAsyncResult.EndWrite(n)}}},props:{CanTimeout:{get:function(){return!1}},ReadTimeout:{get:function(){throw new System.InvalidOperationException;},set:function(){throw new System.InvalidOperationException;}},WriteTimeout:{get:function(){throw new System.InvalidOperationException;},set:function(){throw new System.InvalidOperationException;}}},alias:["Dispose","System$IDisposable$dispose"],methods:{CopyTo:function(n){if(n==null)throw new System.ArgumentNullException("destination");if(!this.CanRead&&!this.CanWrite)throw new System.Exception;if(!n.CanRead&&!n.CanWrite)throw new System.Exception("destination");if(!this.CanRead)throw new System.NotSupportedException;if(!n.CanWrite)throw new System.NotSupportedException;this.InternalCopyTo(n,System.IO.Stream._DefaultCopyBufferSize)},CopyTo$1:function(n,t){if(n==null)throw new System.ArgumentNullException("destination");if(t<=0)throw new System.ArgumentOutOfRangeException("bufferSize");if(!this.CanRead&&!this.CanWrite)throw new System.Exception;if(!n.CanRead&&!n.CanWrite)throw new System.Exception("destination");if(!this.CanRead)throw new System.NotSupportedException;if(!n.CanWrite)throw new System.NotSupportedException;this.InternalCopyTo(n,t)},InternalCopyTo:function(n,t){for(var i=System.Array.init(t,0,System.Byte),r;(r=this.Read(i,0,i.length))!==0;)n.Write(i,0,r)},Close:function(){this.Dispose$1(!0)},Dispose:function(){this.Close()},Dispose$1:function(){},BeginRead:function(n,t,i,r,u){return this.BeginReadInternal(n,t,i,r,u,!1)},BeginReadInternal:function(n,t,i,r,u){return this.CanRead||System.IO.__Error.ReadNotSupported(),this.BlockingBeginRead(n,t,i,r,u)},EndRead:function(n){if(n==null)throw new System.ArgumentNullException("asyncResult");return System.IO.Stream.BlockingEndRead(n)},BeginWrite:function(n,t,i,r,u){return this.BeginWriteInternal(n,t,i,r,u,!1)},BeginWriteInternal:function(n,t,i,r,u){return this.CanWrite||System.IO.__Error.WriteNotSupported(),this.BlockingBeginWrite(n,t,i,r,u)},EndWrite:function(n){if(n==null)throw new System.ArgumentNullException("asyncResult");System.IO.Stream.BlockingEndWrite(n)},ReadByte:function(){var n=System.Array.init(1,0,System.Byte),t=this.Read(n,0,1);return t===0?-1:n[System.Array.index(0,n)]},WriteByte:function(n){var t=System.Array.init(1,0,System.Byte);t[System.Array.index(0,t)]=n;this.Write(t,0,1)},BlockingBeginRead:function(n,t,i,r,u){var e,o,s;try{o=this.Read(n,t,i);e=new System.IO.Stream.SynchronousAsyncResult.$ctor1(o,u)}catch(f){if(f=System.Exception.create(f),Bridge.is(f,System.IO.IOException))s=f,e=new System.IO.Stream.SynchronousAsyncResult.ctor(s,u,!1);else throw f;}return Bridge.staticEquals(r,null)||r(e),e},BlockingBeginWrite:function(n,t,i,r,u){var e,o;try{this.Write(n,t,i);e=new System.IO.Stream.SynchronousAsyncResult.$ctor2(u)}catch(f){if(f=System.Exception.create(f),Bridge.is(f,System.IO.IOException))o=f,e=new System.IO.Stream.SynchronousAsyncResult.ctor(o,u,!0);else throw f;}return Bridge.staticEquals(r,null)||r(e),e}}});Bridge.define("System.IO.IOException",{inherits:[System.Exception],fields:{_maybeFullPath:null},ctors:{ctor:function(){this.$initialize();System.Exception.ctor.call(this,"Arg_IOException")},$ctor1:function(n){this.$initialize();System.Exception.ctor.call(this,n)},$ctor3:function(n){this.$initialize();System.Exception.ctor.call(this,n)},$ctor4:function(n,t,i){this.$initialize();System.Exception.ctor.call(this,n);this._maybeFullPath=i},$ctor2:function(n,t){this.$initialize();System.Exception.ctor.call(this,n,t)}}});Bridge.define("System.IO.File",{statics:{methods:{OpenText:function(n){if(n==null)throw new System.ArgumentNullException("path");return new System.IO.StreamReader.$ctor7(n)},OpenRead:function(n){return new System.IO.FileStream.$ctor1(n,System.IO.FileMode.Open)},ReadAllText:function(n){if(n==null)throw new System.ArgumentNullException("path");if(n.length===0)throw new System.ArgumentException("Argument_EmptyPath");return System.IO.File.InternalReadAllText(n,System.Text.Encoding.UTF8,!0)},ReadAllText$1:function(n,t){if(n==null)throw new System.ArgumentNullException("path");if(t==null)throw new System.ArgumentNullException("encoding");if(n.length===0)throw new System.ArgumentException("Argument_EmptyPath");return System.IO.File.InternalReadAllText(n,t,!0)},InternalReadAllText:function(n,t,i){var r=new System.IO.StreamReader.$ctor12(n,t,!0,System.IO.StreamReader.DefaultBufferSize,i);try{return r.ReadToEnd()}finally{Bridge.hasValue(r)&&r.System$IDisposable$dispose()}},ReadAllBytes:function(n){return System.IO.File.InternalReadAllBytes(n,!0)},InternalReadAllBytes:function(n){var f,i=new System.IO.FileStream.$ctor1(n,System.IO.FileMode.Open),r,e,t,u;try{if(r=0,e=i.Length,e.gt(System.Int64(2147483647)))throw new System.IO.IOException.$ctor1("IO.IO_FileTooLong2GB");for(t=System.Int64.clip32(e),f=System.Array.init(t,0,System.Byte);t>0;)u=i.Read(f,r,t),u===0&&System.IO.__Error.EndOfFile(),r=r+u|0,t=t-u|0}finally{Bridge.hasValue(i)&&i.System$IDisposable$dispose()}return f},ReadAllLines:function(n){if(n==null)throw new System.ArgumentNullException("path");if(n.length===0)throw new System.ArgumentException("Argument_EmptyPath");return System.IO.File.InternalReadAllLines(n,System.Text.Encoding.UTF8)},ReadAllLines$1:function(n,t){if(n==null)throw new System.ArgumentNullException("path");if(t==null)throw new System.ArgumentNullException("encoding");if(n.length===0)throw new System.ArgumentException("Argument_EmptyPath");return System.IO.File.InternalReadAllLines(n,t)},InternalReadAllLines:function(n,t){var r,u=new(System.Collections.Generic.List$1(System.String).ctor),i=new System.IO.StreamReader.$ctor9(n,t);try{while((r=i.ReadLine())!=null)u.add(r)}finally{Bridge.hasValue(i)&&i.System$IDisposable$dispose()}return u.toArray()},ReadLines:function(n){if(n==null)throw new System.ArgumentNullException("path");if(n.length===0)throw new System.ArgumentException("Argument_EmptyPath","path");return System.IO.ReadLinesIterator.CreateIterator(n,System.Text.Encoding.UTF8)},ReadLines$1:function(n,t){if(n==null)throw new System.ArgumentNullException("path");if(t==null)throw new System.ArgumentNullException("encoding");if(n.length===0)throw new System.ArgumentException("Argument_EmptyPath","path");return System.IO.ReadLinesIterator.CreateIterator(n,t)}}}});Bridge.define("System.IO.FileMode",{$kind:"enum",statics:{fields:{CreateNew:1,Create:2,Open:3,OpenOrCreate:4,Truncate:5,Append:6}}});Bridge.define("System.IO.Iterator$1",function(n){return{inherits:[System.Collections.Generic.IEnumerable$1(n),System.Collections.Generic.IEnumerator$1(n)],fields:{state:0,current:Bridge.getDefaultValue(n)},props:{Current:{get:function(){return this.current}},System$Collections$IEnumerator$Current:{get:function(){return this.Current}}},alias:["Current",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"],"Dispose","System$IDisposable$dispose","GetEnumerator",["System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$getEnumerator","System$Collections$Generic$IEnumerable$1$getEnumerator"]],ctors:{ctor:function(){this.$initialize()}},methods:{Dispose:function(){this.Dispose$1(!0)},Dispose$1:function(){this.current=Bridge.getDefaultValue(n);this.state=-1},GetEnumerator:function(){if(this.state===0)return this.state=1,this;var n=this.Clone();return n.state=1,n},System$Collections$IEnumerable$getEnumerator:function(){return this.GetEnumerator()},System$Collections$IEnumerator$reset:function(){throw new System.NotSupportedException;}}}});Bridge.define("System.IO.SeekOrigin",{$kind:"enum",statics:{fields:{Begin:0,Current:1,End:2}}});Bridge.define("System.IO.Stream.SynchronousAsyncResult",{inherits:[System.IAsyncResult],$kind:"nested class",statics:{methods:{EndRead:function(n){var t=Bridge.as(n,System.IO.Stream.SynchronousAsyncResult);return(t==null||t._isWrite)&&System.IO.__Error.WrongAsyncResult(),t._endXxxCalled&&System.IO.__Error.EndReadCalledTwice(),t._endXxxCalled=!0,t.ThrowIfError(),t._bytesRead},EndWrite:function(n){var t=Bridge.as(n,System.IO.Stream.SynchronousAsyncResult);t!=null&&t._isWrite||System.IO.__Error.WrongAsyncResult();t._endXxxCalled&&System.IO.__Error.EndWriteCalledTwice();t._endXxxCalled=!0;t.ThrowIfError()}}},fields:{_stateObject:null,_isWrite:!1,_exceptionInfo:null,_endXxxCalled:!1,_bytesRead:0},props:{IsCompleted:{get:function(){return!0}},AsyncState:{get:function(){return this._stateObject}},CompletedSynchronously:{get:function(){return!0}}},alias:["IsCompleted","System$IAsyncResult$IsCompleted","AsyncState","System$IAsyncResult$AsyncState","CompletedSynchronously","System$IAsyncResult$CompletedSynchronously"],ctors:{$ctor1:function(n,t){this.$initialize();this._bytesRead=n;this._stateObject=t},$ctor2:function(n){this.$initialize();this._stateObject=n;this._isWrite=!0},ctor:function(n,t,i){this.$initialize();this._exceptionInfo=n;this._stateObject=t;this._isWrite=i}},methods:{ThrowIfError:function(){if(this._exceptionInfo!=null)throw this._exceptionInfo;}}});Bridge.define("System.IO.TextReader",{inherits:[System.IDisposable],statics:{fields:{Null:null},ctors:{init:function(){this.Null=new System.IO.TextReader.NullTextReader}},methods:{Synchronized:function(n){if(n==null)throw new System.ArgumentNullException("reader");return n}}},alias:["Dispose","System$IDisposable$dispose"],ctors:{ctor:function(){this.$initialize()}},methods:{Close:function(){this.Dispose$1(!0)},Dispose:function(){this.Dispose$1(!0)},Dispose$1:function(){},Peek:function(){return-1},Read:function(){return-1},Read$1:function(n,t,i){var r,u;if(n==null)throw new System.ArgumentNullException("buffer");if(t<0)throw new System.ArgumentOutOfRangeException("index");if(i<0)throw new System.ArgumentOutOfRangeException("count");if((n.length-t|0)<i)throw new System.ArgumentException;r=0;do{if(u=this.Read(),u===-1)break;n[System.Array.index(t+Bridge.identity(r,r=r+1|0)|0,n)]=u&65535}while(r<i);return r},ReadToEndAsync:function(){return System.Threading.Tasks.Task.fromResult(this.ReadToEnd(),System.String)},ReadToEnd:function(){for(var n=System.Array.init(4096,0,System.Char),t,i=new System.Text.StringBuilder("",4096);(t=this.Read$1(n,0,n.length))!==0;)i.append(System.String.fromCharArray(n,0,t));return i.toString()},ReadBlock:function(n,t,i){var u,r=0;do r=r+(u=this.Read$1(n,t+r|0,i-r|0))|0;while(u>0&&r<i);return r},ReadLine:function(){for(var t=new System.Text.StringBuilder,n;;){if(n=this.Read(),n===-1)break;if(n===13||n===10)return n===13&&this.Peek()===10&&this.Read(),t.toString();t.append(String.fromCharCode(n&65535))}return t.getLength()>0?t.toString():null}}});Bridge.define("System.IO.TextWriter",{inherits:[System.IDisposable],statics:{fields:{Null:null,InitialNewLine:null},ctors:{init:function(){this.Null=new System.IO.TextWriter.NullTextWriter;this.InitialNewLine="\r\n"}},methods:{Synchronized:function(n){if(n==null)throw new System.ArgumentNullException("writer");return n}}},fields:{CoreNewLine:null,InternalFormatProvider:null},props:{FormatProvider:{get:function(){return this.InternalFormatProvider==null?System.Globalization.CultureInfo.getCurrentCulture():this.InternalFormatProvider}},NewLine:{get:function(){return System.String.fromCharArray(this.CoreNewLine)},set:function(n){n==null&&(n=System.IO.TextWriter.InitialNewLine);this.CoreNewLine=System.String.toCharArray(n,0,n.length)}}},alias:["Dispose","System$IDisposable$dispose"],ctors:{init:function(){this.CoreNewLine=System.Array.init([13,10],System.Char)},ctor:function(){this.$initialize();this.InternalFormatProvider=null},$ctor1:function(n){this.$initialize();this.InternalFormatProvider=n}},methods:{Close:function(){this.Dispose$1(!0)},Dispose$1:function(){},Dispose:function(){this.Dispose$1(!0)},Flush:function(){},Write$1:function(){},Write$2:function(n){n!=null&&this.Write$3(n,0,n.length)},Write$3:function(n,t,i){if(n==null)throw new System.ArgumentNullException("buffer");if(t<0)throw new System.ArgumentOutOfRangeException("index");if(i<0)throw new System.ArgumentOutOfRangeException("count");if((n.length-t|0)<i)throw new System.ArgumentException;for(var r=0;r<i;r=r+1|0)this.Write$1(n[System.Array.index(t+r|0,n)])},Write:function(n){this.Write$10(n?System.Boolean.trueString:System.Boolean.falseString)},Write$6:function(n){this.Write$10(System.Int32.format(n,"G",this.FormatProvider))},Write$15:function(n){this.Write$10(System.UInt32.format(n,"G",this.FormatProvider))},Write$7:function(n){this.Write$10(n.format("G",this.FormatProvider))},Write$16:function(n){this.Write$10(n.format("G",this.FormatProvider))},Write$9:function(n){this.Write$10(System.Single.format(n,"G",this.FormatProvider))},Write$5:function(n){this.Write$10(System.Double.format(n,"G",this.FormatProvider))},Write$4:function(n){this.Write$10(Bridge.Int.format(n,"G",this.FormatProvider))},Write$10:function(n){n!=null&&this.Write$2(System.String.toCharArray(n,0,n.length))},Write$8:function(n){if(n!=null){var t=Bridge.as(n,System.IFormattable);t!=null?this.Write$10(Bridge.format(t,null,this.FormatProvider)):this.Write$10(Bridge.toString(n))}},Write$11:function(n,t){this.Write$10(System.String.formatProvider(this.FormatProvider,n,[t]))},Write$12:function(n,t,i){this.Write$10(System.String.formatProvider(this.FormatProvider,n,t,i))},Write$13:function(n,t,i,r){this.Write$10(System.String.formatProvider(this.FormatProvider,n,t,i,r))},Write$14:function(n,t){t===void 0&&(t=[]);this.Write$10(System.String.formatProvider.apply(System.String,[this.FormatProvider,n].concat(t)))},WriteLine:function(){this.Write$2(this.CoreNewLine)},WriteLine$2:function(n){this.Write$1(n);this.WriteLine()},WriteLine$3:function(n){this.Write$2(n);this.WriteLine()},WriteLine$4:function(n,t,i){this.Write$3(n,t,i);this.WriteLine()},WriteLine$1:function(n){this.Write(n);this.WriteLine()},WriteLine$7:function(n){this.Write$6(n);this.WriteLine()},WriteLine$16:function(n){this.Write$15(n);this.WriteLine()},WriteLine$8:function(n){this.Write$7(n);this.WriteLine()},WriteLine$17:function(n){this.Write$16(n);this.WriteLine()},WriteLine$10:function(n){this.Write$9(n);this.WriteLine()},WriteLine$6:function(n){this.Write$5(n);this.WriteLine()},WriteLine$5:function(n){this.Write$4(n);this.WriteLine()},WriteLine$11:function(n){if(n==null)this.WriteLine();else{var i=n.length,r=this.CoreNewLine.length,t=System.Array.init(i+r|0,0,System.Char);System.String.copyTo(n,0,t,0,i);r===2?(t[System.Array.index(i,t)]=this.CoreNewLine[System.Array.index(0,this.CoreNewLine)],t[System.Array.index(i+1|0,t)]=this.CoreNewLine[System.Array.index(1,this.CoreNewLine)]):r===1?t[System.Array.index(i,t)]=this.CoreNewLine[System.Array.index(0,this.CoreNewLine)]:System.Array.copy(this.CoreNewLine,0,t,Bridge.Int.mul(i,2),Bridge.Int.mul(r,2));this.Write$3(t,0,i+r|0)}},WriteLine$9:function(n){if(n==null)this.WriteLine();else{var t=Bridge.as(n,System.IFormattable);t!=null?this.WriteLine$11(Bridge.format(t,null,this.FormatProvider)):this.WriteLine$11(Bridge.toString(n))}},WriteLine$12:function(n,t){this.WriteLine$11(System.String.formatProvider(this.FormatProvider,n,[t]))},WriteLine$13:function(n,t,i){this.WriteLine$11(System.String.formatProvider(this.FormatProvider,n,t,i))},WriteLine$14:function(n,t,i,r){this.WriteLine$11(System.String.formatProvider(this.FormatProvider,n,t,i,r))},WriteLine$15:function(n,t){t===void 0&&(t=[]);this.WriteLine$11(System.String.formatProvider.apply(System.String,[this.FormatProvider,n].concat(t)))}}});Bridge.define("System.IO.BufferedStream",{inherits:[System.IO.Stream],statics:{fields:{_DefaultBufferSize:0,MaxShadowBufferSize:0},ctors:{init:function(){this._DefaultBufferSize=4096;this.MaxShadowBufferSize=81920}}},fields:{_stream:null,_buffer:null,_bufferSize:0,_readPos:0,_readLen:0,_writePos:0},props:{UnderlyingStream:{get:function(){return this._stream}},BufferSize:{get:function(){return this._bufferSize}},CanRead:{get:function(){return this._stream!=null&&this._stream.CanRead}},CanWrite:{get:function(){return this._stream!=null&&this._stream.CanWrite}},CanSeek:{get:function(){return this._stream!=null&&this._stream.CanSeek}},Length:{get:function(){return this.EnsureNotClosed(),this._writePos>0&&this.FlushWrite(),this._stream.Length}},Position:{get:function(){return this.EnsureNotClosed(),this.EnsureCanSeek(),this._stream.Position.add(System.Int64((this._readPos-this._readLen|0)+this._writePos|0))},set:function(n){if(n.lt(System.Int64(0)))throw new System.ArgumentOutOfRangeException("value");this.EnsureNotClosed();this.EnsureCanSeek();this._writePos>0&&this.FlushWrite();this._readPos=0;this._readLen=0;this._stream.Seek(n,System.IO.SeekOrigin.Begin)}}},ctors:{ctor:function(){this.$initialize();System.IO.Stream.ctor.call(this)},$ctor1:function(n){System.IO.BufferedStream.$ctor2.call(this,n,System.IO.BufferedStream._DefaultBufferSize)},$ctor2:function(n,t){if(this.$initialize(),System.IO.Stream.ctor.call(this),n==null)throw new System.ArgumentNullException("stream");if(t<=0)throw new System.ArgumentOutOfRangeException("bufferSize");this._stream=n;this._bufferSize=t;this._stream.CanRead||this._stream.CanWrite||System.IO.__Error.StreamIsClosed()}},methods:{EnsureNotClosed:function(){this._stream==null&&System.IO.__Error.StreamIsClosed()},EnsureCanSeek:function(){this._stream.CanSeek||System.IO.__Error.SeekNotSupported()},EnsureCanRead:function(){this._stream.CanRead||System.IO.__Error.ReadNotSupported()},EnsureCanWrite:function(){this._stream.CanWrite||System.IO.__Error.WriteNotSupported()},EnsureShadowBufferAllocated:function(){if(this._buffer.length===this._bufferSize&&!(this._bufferSize>=System.IO.BufferedStream.MaxShadowBufferSize)){var n=System.Array.init(Math.min(this._bufferSize+this._bufferSize|0,System.IO.BufferedStream.MaxShadowBufferSize),0,System.Byte);System.Array.copy(this._buffer,0,n,0,this._writePos);this._buffer=n}},EnsureBufferAllocated:function(){this._buffer==null&&(this._buffer=System.Array.init(this._bufferSize,0,System.Byte))},Dispose$1:function(n){try{if(n&&this._stream!=null)try{this.Flush()}finally{this._stream.Close()}}finally{this._stream=null;this._buffer=null;System.IO.Stream.prototype.Dispose$1.call(this,n)}},Flush:function(){if(this.EnsureNotClosed(),this._writePos>0){this.FlushWrite();return}if(this._readPos<this._readLen){if(!this._stream.CanSeek)return;this.FlushRead();(this._stream.CanWrite||Bridge.is(this._stream,System.IO.BufferedStream))&&this._stream.Flush();return}(this._stream.CanWrite||Bridge.is(this._stream,System.IO.BufferedStream))&&this._stream.Flush();this._writePos=this._readPos=this._readLen=0},FlushRead:function(){(this._readPos-this._readLen|0)!=0&&this._stream.Seek(System.Int64(this._readPos-this._readLen),System.IO.SeekOrigin.Current);this._readPos=0;this._readLen=0},ClearReadBufferBeforeWrite:function(){if(this._readPos===this._readLen){this._readPos=this._readLen=0;return}if(!this._stream.CanSeek)throw new System.NotSupportedException;this.FlushRead()},FlushWrite:function(){this._stream.Write(this._buffer,0,this._writePos);this._writePos=0;this._stream.Flush()},ReadFromBuffer:function(n,t,i){var r=this._readLen-this._readPos|0;return r===0?0:(r>i&&(r=i),System.Array.copy(this._buffer,this._readPos,n,t,r),this._readPos=this._readPos+r|0,r)},ReadFromBuffer$1:function(n,t,i,r){try{return r.v=null,this.ReadFromBuffer(n,t,i)}catch(u){return u=System.Exception.create(u),r.v=u,0}},Read:function(n,t,i){var r,u;if(n==null)throw new System.ArgumentNullException("array");if(t<0)throw new System.ArgumentOutOfRangeException("offset");if(i<0)throw new System.ArgumentOutOfRangeException("count");if((n.length-t|0)<i)throw new System.ArgumentException;return(this.EnsureNotClosed(),this.EnsureCanRead(),r=this.ReadFromBuffer(n,t,i),r===i)?r:(u=r,r>0&&(i=i-r|0,t=t+r|0),this._readPos=this._readLen=0,this._writePos>0&&this.FlushWrite(),i>=this._bufferSize)?this._stream.Read(n,t,i)+u|0:(this.EnsureBufferAllocated(),this._readLen=this._stream.Read(this._buffer,0,this._bufferSize),r=this.ReadFromBuffer(n,t,i),r+u|0)},ReadByte:function(){if(this.EnsureNotClosed(),this.EnsureCanRead(),this._readPos===this._readLen&&(this._writePos>0&&this.FlushWrite(),this.EnsureBufferAllocated(),this._readLen=this._stream.Read(this._buffer,0,this._bufferSize),this._readPos=0),this._readPos===this._readLen)return-1;return this._buffer[System.Array.index(Bridge.identity(this._readPos,this._readPos=this._readPos+1|0),this._buffer)]},WriteToBuffer:function(n,t,i){var r=Math.min(this._bufferSize-this._writePos|0,i.v);r<=0||(this.EnsureBufferAllocated(),System.Array.copy(n,t.v,this._buffer,this._writePos,r),this._writePos=this._writePos+r|0,i.v=i.v-r|0,t.v=t.v+r|0)},WriteToBuffer$1:function(n,t,i,r){try{r.v=null;this.WriteToBuffer(n,t,i)}catch(u){u=System.Exception.create(u);r.v=u}},Write:function(n,t,i){if(t={v:t},i={v:i},n==null)throw new System.ArgumentNullException("array");if(t.v<0)throw new System.ArgumentOutOfRangeException("offset");if(i.v<0)throw new System.ArgumentOutOfRangeException("count");if((n.length-t.v|0)<i.v)throw new System.ArgumentException;this.EnsureNotClosed();this.EnsureCanWrite();this._writePos===0&&this.ClearReadBufferBeforeWrite();var r,u;if(r=Bridge.Int.check(this._writePos+i.v,System.Int32),u=Bridge.Int.check(r+i.v,System.Int32)<Bridge.Int.check(this._bufferSize+this._bufferSize,System.Int32),u){if(this.WriteToBuffer(n,t,i),this._writePos<this._bufferSize)return;this._stream.Write(this._buffer,0,this._writePos);this._writePos=0;this.WriteToBuffer(n,t,i)}else{if(this._writePos>0){if(r<=(this._bufferSize+this._bufferSize|0)&&r<=System.IO.BufferedStream.MaxShadowBufferSize){this.EnsureShadowBufferAllocated();System.Array.copy(n,t.v,this._buffer,this._writePos,i.v);this._stream.Write(this._buffer,0,r);this._writePos=0;return}this._stream.Write(this._buffer,0,this._writePos);this._writePos=0}this._stream.Write(n,t.v,i.v)}},WriteByte:function(n){this.EnsureNotClosed();this._writePos===0&&(this.EnsureCanWrite(),this.ClearReadBufferBeforeWrite(),this.EnsureBufferAllocated());this._writePos>=(this._bufferSize-1|0)&&this.FlushWrite();this._buffer[System.Array.index(Bridge.identity(this._writePos,this._writePos=this._writePos+1|0),this._buffer)]=n},Seek:function(n,t){if(this.EnsureNotClosed(),this.EnsureCanSeek(),this._writePos>0)return this.FlushWrite(),this._stream.Seek(n,t);(this._readLen-this._readPos|0)>0&&t===System.IO.SeekOrigin.Current&&(n=n.sub(System.Int64(this._readLen-this._readPos|0)));var r=this.Position,i=this._stream.Seek(n,t);return this._readPos=System.Int64.clip32(i.sub(r.sub(System.Int64(this._readPos)))),0<=this._readPos&&this._readPos<this._readLen?this._stream.Seek(System.Int64(this._readLen-this._readPos),System.IO.SeekOrigin.Current):this._readPos=this._readLen=0,i},SetLength:function(n){if(n.lt(System.Int64(0)))throw new System.ArgumentOutOfRangeException("value");this.EnsureNotClosed();this.EnsureCanSeek();this.EnsureCanWrite();this.Flush();this._stream.SetLength(n)}}});Bridge.define("System.IO.EndOfStreamException",{inherits:[System.IO.IOException],ctors:{ctor:function(){this.$initialize();System.IO.IOException.$ctor1.call(this,"Arg_EndOfStreamException")},$ctor1:function(n){this.$initialize();System.IO.IOException.$ctor1.call(this,n)},$ctor2:function(n,t){this.$initialize();System.IO.IOException.$ctor2.call(this,n,t)}}});Bridge.define("System.IO.FileStream",{inherits:[System.IO.Stream],statics:{methods:{FromFile:function(n){var i=new System.Threading.Tasks.TaskCompletionSource,t=new FileReader;return t.onload=function(){i.setResult(new System.IO.FileStream.ctor(t.result,n.name))},t.onerror=function(n){i.setException(new Bridge.ErrorException(Bridge.unbox(n).target.error.As()))},t.readAsArrayBuffer(n),i.task},ReadBytes:function(n){var u,t,i,r;if(Bridge.isNode)return u=require("fs"),Bridge.cast(u.readFileSync(n),ArrayBuffer);if(t=new XMLHttpRequest,t.open("GET",n,!1),t.overrideMimeType("text/plain; charset=binary-data"),t.send(null),t.status!==200)throw new System.IO.IOException.$ctor1(System.String.format("Status of request to {0} returned status: {1}",n,Bridge.box(t.status,System.UInt16)));return i=t.responseText,r=new Uint8Array(i.length),System.String.toCharArray(i,0,i.length).forEach(function(n,t){var i;return i=n&255,r[t]=i,i}),r.buffer},ReadBytesAsync:function(n){var i=new System.Threading.Tasks.TaskCompletionSource,r,t;return Bridge.isNode?(r=require("fs"),r.readFile(n,function(n,t){if(n!=null)throw new System.IO.IOException.ctor;i.setResult(t)})):(t=new XMLHttpRequest,t.open("GET",n,!0),t.overrideMimeType("text/plain; charset=binary-data"),t.send(null),t.onreadystatechange=function(){if(t.readyState===4){if(t.status!==200)throw new System.IO.IOException.$ctor1(System.String.format("Status of request to {0} returned status: {1}",n,Bridge.box(t.status,System.UInt16)));var r=t.responseText,u=new Uint8Array(r.length);System.String.toCharArray(r,0,r.length).forEach(function(n,t){var i;return i=n&255,u[t]=i,i});i.setResult(u.buffer)}}),i.task}}},fields:{name:null,_buffer:null},props:{CanRead:{get:function(){return!0}},CanWrite:{get:function(){return!1}},CanSeek:{get:function(){return!1}},IsAsync:{get:function(){return!1}},Name:{get:function(){return this.name}},Length:{get:function(){return System.Int64(this.GetInternalBuffer().byteLength)}},Position:System.Int64(0)},ctors:{$ctor1:function(n){this.$initialize();System.IO.Stream.ctor.call(this);this.name=n},ctor:function(n,t){this.$initialize();System.IO.Stream.ctor.call(this);this._buffer=n;this.name=t}},methods:{Flush:function(){},Seek:function(){throw new System.NotImplementedException;},SetLength:function(){throw new System.NotImplementedException;},Write:function(){throw new System.NotImplementedException;},GetInternalBuffer:function(){return this._buffer==null&&(this._buffer=System.IO.FileStream.ReadBytes(this.name)),this._buffer},EnsureBufferAsync:function(){var n=0,i,r,t=new System.Threading.Tasks.TaskCompletionSource,u,f=Bridge.fn.bind(this,function(){try{for(;;){n=System.Array.min([0,1,2,3],n);switch(n){case 0:if(this._buffer==null){n=1;continue}n=3;continue;case 1:i=System.IO.FileStream.ReadBytesAsync(this.name);n=2;i.continueWith(f);return;case 2:r=i.getAwaitedResult();this._buffer=r;n=3;continue;case 3:t.setResult(null);return;default:t.setResult(null);return}}}catch(e){u=System.Exception.create(e);t.setException(u)}},arguments);return f(),t.task},Read:function(n,t,i){var r,e,u,f,o;if(n==null)throw new System.ArgumentNullException("buffer");if(t<0)throw new System.ArgumentOutOfRangeException("offset");if(i<0)throw new System.ArgumentOutOfRangeException("count");if((n.length-t|0)<i)throw new System.ArgumentException;if(r=this.Length.sub(this.Position),r.gt(System.Int64(i))&&(r=System.Int64(i)),r.lte(System.Int64(0)))return 0;if(e=new Uint8Array(this.GetInternalBuffer()),r.gt(System.Int64(8)))for(u=0;System.Int64(u).lt(r);u=u+1|0)n[System.Array.index(u+t|0,n)]=e[this.Position.add(System.Int64(u))];else for(f=r;;){if(o=f.sub(System.Int64(1)),f=o,o.lt(System.Int64(0)))break;n[System.Array.index(System.Int64.toNumber(System.Int64(t).add(f)),n)]=e[this.Position.add(f)]}return this.Position=this.Position.add(r),System.Int64.clip32(r)}}});Bridge.define("System.IO.MemoryStream",{inherits:[System.IO.Stream],statics:{fields:{MemStreamMaxLength:0},ctors:{init:function(){this.MemStreamMaxLength=2147483647}}},fields:{_buffer:null,_origin:0,_position:0,_length:0,_capacity:0,_expandable:!1,_writable:!1,_exposable:!1,_isOpen:!1},props:{CanRead:{get:function(){return this._isOpen}},CanSeek:{get:function(){return this._isOpen}},CanWrite:{get:function(){return this._writable}},Capacity:{get:function(){return this._isOpen||System.IO.__Error.StreamIsClosed(),this._capacity-this._origin|0},set:function(n){if(System.Int64(n).lt(this.Length))throw new System.ArgumentOutOfRangeException("value","ArgumentOutOfRange_SmallCapacity");if(this._isOpen||System.IO.__Error.StreamIsClosed(),this._expandable||n===this.Capacity||System.IO.__Error.MemoryStreamNotExpandable(),this._expandable&&n!==this._capacity){if(n>0){var t=System.Array.init(n,0,System.Byte);this._length>0&&System.Array.copy(this._buffer,0,t,0,this._length);this._buffer=t}else this._buffer=null;this._capacity=n}}},Length:{get:function(){return this._isOpen||System.IO.__Error.StreamIsClosed(),System.Int64(this._length-this._origin)}},Position:{get:function(){return this._isOpen||System.IO.__Error.StreamIsClosed(),System.Int64(this._position-this._origin)},set:function(n){if(n.lt(System.Int64(0)))throw new System.ArgumentOutOfRangeException("value","ArgumentOutOfRange_NeedNonNegNum");if(this._isOpen||System.IO.__Error.StreamIsClosed(),n.gt(System.Int64(System.IO.MemoryStream.MemStreamMaxLength)))throw new System.ArgumentOutOfRangeException("value","ArgumentOutOfRange_StreamLength");this._position=this._origin+System.Int64.clip32(n)|0}}},ctors:{ctor:function(){System.IO.MemoryStream.$ctor6.call(this,0)},$ctor6:function(n){if(this.$initialize(),System.IO.Stream.ctor.call(this),n<0)throw new System.ArgumentOutOfRangeException("capacity","ArgumentOutOfRange_NegativeCapacity");this._buffer=System.Array.init(n,0,System.Byte);this._capacity=n;this._expandable=!0;this._writable=!0;this._exposable=!0;this._origin=0;this._isOpen=!0},$ctor1:function(n){System.IO.MemoryStream.$ctor2.call(this,n,!0)},$ctor2:function(n,t){if(this.$initialize(),System.IO.Stream.ctor.call(this),n==null)throw new System.ArgumentNullException("buffer","ArgumentNull_Buffer");this._buffer=n;this._length=this._capacity=n.length;this._writable=t;this._exposable=!1;this._origin=0;this._isOpen=!0},$ctor3:function(n,t,i){System.IO.MemoryStream.$ctor5.call(this,n,t,i,!0,!1)},$ctor4:function(n,t,i,r){System.IO.MemoryStream.$ctor5.call(this,n,t,i,r,!1)},$ctor5:function(n,t,i,r,u){if(this.$initialize(),System.IO.Stream.ctor.call(this),n==null)throw new System.ArgumentNullException("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException("index","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)<i)throw new System.ArgumentException("Argument_InvalidOffLen");this._buffer=n;this._origin=this._position=t;this._length=this._capacity=t+i|0;this._writable=r;this._exposable=u;this._expandable=!1;this._isOpen=!0}},methods:{EnsureWriteable:function(){this.CanWrite||System.IO.__Error.WriteNotSupported()},Dispose$1:function(n){try{n&&(this._isOpen=!1,this._writable=!1,this._expandable=!1)}finally{System.IO.Stream.prototype.Dispose$1.call(this,n)}},EnsureCapacity:function(n){if(n<0)throw new System.IO.IOException.$ctor1("IO.IO_StreamTooLong");if(n>this._capacity){var t=n;return t<256&&(t=256),t<Bridge.Int.mul(this._capacity,2)&&(t=Bridge.Int.mul(this._capacity,2)),Bridge.Int.mul(this._capacity,2)>>>0>2147483591&&(t=n>2147483591?n:2147483591),this.Capacity=t,!0}return!1},Flush:function(){},GetBuffer:function(){if(!this._exposable)throw new System.Exception("UnauthorizedAccess_MemStreamBuffer");return this._buffer},TryGetBuffer:function(n){return this._exposable?(n.v=new System.ArraySegment(this._buffer,this._origin,this._length-this._origin|0),!0):(n.v=Bridge.getDefaultValue(System.ArraySegment),!1)},InternalGetBuffer:function(){return this._buffer},InternalGetPosition:function(){return this._isOpen||System.IO.__Error.StreamIsClosed(),this._position},InternalReadInt32:function(){this._isOpen||System.IO.__Error.StreamIsClosed();var n=this._position=this._position+4|0;return n>this._length&&(this._position=this._length,System.IO.__Error.EndOfFile()),this._buffer[System.Array.index(n-4|0,this._buffer)]|this._buffer[System.Array.index(n-3|0,this._buffer)]<<8|this._buffer[System.Array.index(n-2|0,this._buffer)]<<16|this._buffer[System.Array.index(n-1|0,this._buffer)]<<24},InternalEmulateRead:function(n){this._isOpen||System.IO.__Error.StreamIsClosed();var t=this._length-this._position|0;return t>n&&(t=n),t<0&&(t=0),this._position=this._position+t|0,t},Read:function(n,t,i){var r,u;if(n==null)throw new System.ArgumentNullException("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException("offset","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)<i)throw new System.ArgumentException("Argument_InvalidOffLen");if(this._isOpen||System.IO.__Error.StreamIsClosed(),r=this._length-this._position|0,r>i&&(r=i),r<=0)return 0;if(r<=8)for(u=r;(u=u-1|0)>=0;)n[System.Array.index(t+u|0,n)]=this._buffer[System.Array.index(this._position+u|0,this._buffer)];else System.Array.copy(this._buffer,this._position,n,t,r);return this._position=this._position+r|0,r},ReadByte:function(){return(this._isOpen||System.IO.__Error.StreamIsClosed(),this._position>=this._length)?-1:this._buffer[System.Array.index(Bridge.identity(this._position,this._position=this._position+1|0),this._buffer)]},Seek:function(n,t){var i,r,u;if(this._isOpen||System.IO.__Error.StreamIsClosed(),n.gt(System.Int64(System.IO.MemoryStream.MemStreamMaxLength)))throw new System.ArgumentOutOfRangeException("offset","ArgumentOutOfRange_StreamLength");switch(t){case System.IO.SeekOrigin.Begin:if(i=this._origin+System.Int64.clip32(n)|0,n.lt(System.Int64(0))||i<this._origin)throw new System.IO.IOException.$ctor1("IO.IO_SeekBeforeBegin");this._position=i;break;case System.IO.SeekOrigin.Current:if(r=this._position+System.Int64.clip32(n)|0,System.Int64(this._position).add(n).lt(System.Int64(this._origin))||r<this._origin)throw new System.IO.IOException.$ctor1("IO.IO_SeekBeforeBegin");this._position=r;break;case System.IO.SeekOrigin.End:if(u=this._length+System.Int64.clip32(n)|0,System.Int64(this._length).add(n).lt(System.Int64(this._origin))||u<this._origin)throw new System.IO.IOException.$ctor1("IO.IO_SeekBeforeBegin");this._position=u;break;default:throw new System.ArgumentException("Argument_InvalidSeekOrigin");}return System.Int64(this._position)},SetLength:function(n){if(n.lt(System.Int64(0))||n.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException("value","ArgumentOutOfRange_StreamLength");if(this.EnsureWriteable(),n.gt(System.Int64(2147483647-this._origin|0)))throw new System.ArgumentOutOfRangeException("value","ArgumentOutOfRange_StreamLength");var t=this._origin+System.Int64.clip32(n)|0,i=this.EnsureCapacity(t);!i&&t>this._length&&System.Array.fill(this._buffer,0,this._length,t-this._length|0);this._length=t;this._position>t&&(this._position=t)},ToArray:function(){var n=System.Array.init(this._length-this._origin|0,0,System.Byte);return System.Array.copy(this._buffer,this._origin,n,0,this._length-this._origin|0),n},Write:function(n,t,i){var r,f,e,u;if(n==null)throw new System.ArgumentNullException("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException("offset","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)<i)throw new System.ArgumentException("Argument_InvalidOffLen");if(this._isOpen||System.IO.__Error.StreamIsClosed(),this.EnsureWriteable(),r=this._position+i|0,r<0)throw new System.IO.IOException.$ctor1("IO.IO_StreamTooLong");if(r>this._length&&(f=this._position>this._length,r>this._capacity&&(e=this.EnsureCapacity(r),e&&(f=!1)),f&&System.Array.fill(this._buffer,0,this._length,r-this._length|0),this._length=r),i<=8&&!Bridge.referenceEquals(n,this._buffer))for(u=i;(u=u-1|0)>=0;)this._buffer[System.Array.index(this._position+u|0,this._buffer)]=n[System.Array.index(t+u|0,n)];else System.Array.copy(n,t,this._buffer,this._position,i);this._position=r},WriteByte:function(n){var t,i,r;this._isOpen||System.IO.__Error.StreamIsClosed();this.EnsureWriteable();this._position>=this._length&&(t=this._position+1|0,i=this._position>this._length,t>=this._capacity&&(r=this.EnsureCapacity(t),r&&(i=!1)),i&&System.Array.fill(this._buffer,0,this._length,this._position-this._length|0),this._length=t);this._buffer[System.Array.index(Bridge.identity(this._position,this._position=this._position+1|0),this._buffer)]=n},WriteTo:function(n){if(n==null)throw new System.ArgumentNullException("stream","ArgumentNull_Stream");this._isOpen||System.IO.__Error.StreamIsClosed();n.Write(this._buffer,this._origin,this._length-this._origin|0)}}});Bridge.define("System.IO.ReadLinesIterator",{inherits:[System.IO.Iterator$1(System.String)],statics:{methods:{CreateIterator:function(n,t){return System.IO.ReadLinesIterator.CreateIterator$1(n,t,null)},CreateIterator$1:function(n,t,i){return new System.IO.ReadLinesIterator(n,t,i||new System.IO.StreamReader.$ctor9(n,t))}}},fields:{_path:null,_encoding:null,_reader:null},alias:["MoveNext","System$Collections$IEnumerator$moveNext"],ctors:{ctor:function(n,t,i){this.$initialize();System.IO.Iterator$1(System.String).ctor.call(this);this._path=n;this._encoding=t;this._reader=i}},methods:{MoveNext:function(){if(this._reader!=null){if(this.current=this._reader.ReadLine(),this.current!=null)return!0;this.Dispose()}return!1},Clone:function(){return System.IO.ReadLinesIterator.CreateIterator$1(this._path,this._encoding,this._reader)},Dispose$1:function(n){try{n&&this._reader!=null&&this._reader.Dispose()}finally{this._reader=null;System.IO.Iterator$1(System.String).prototype.Dispose$1.call(this,n)}}}});Bridge.define("System.IO.Stream.NullStream",{inherits:[System.IO.Stream],$kind:"nested class",props:{CanRead:{get:function(){return!0}},CanWrite:{get:function(){return!0}},CanSeek:{get:function(){return!0}},Length:{get:function(){return System.Int64(0)}},Position:{get:function(){return System.Int64(0)},set:function(){}}},ctors:{ctor:function(){this.$initialize();System.IO.Stream.ctor.call(this)}},methods:{Dispose$1:function(){},Flush:function(){},BeginRead:function(n,t,i,r,u){return this.CanRead||System.IO.__Error.ReadNotSupported(),this.BlockingBeginRead(n,t,i,r,u)},EndRead:function(n){if(n==null)throw new System.ArgumentNullException("asyncResult");return System.IO.Stream.BlockingEndRead(n)},BeginWrite:function(n,t,i,r,u){return this.CanWrite||System.IO.__Error.WriteNotSupported(),this.BlockingBeginWrite(n,t,i,r,u)},EndWrite:function(n){if(n==null)throw new System.ArgumentNullException("asyncResult");System.IO.Stream.BlockingEndWrite(n)},Read:function(){return 0},ReadByte:function(){return-1},Write:function(){},WriteByte:function(){},Seek:function(){return System.Int64(0)},SetLength:function(){}}});Bridge.define("System.IO.StreamReader",{inherits:[System.IO.TextReader],statics:{fields:{Null:null,DefaultFileStreamBufferSize:0,MinBufferSize:0},props:{DefaultBufferSize:{get:function(){return 1024}}},ctors:{init:function(){this.Null=new System.IO.StreamReader.NullStreamReader;this.DefaultFileStreamBufferSize=4096;this.MinBufferSize=128}}},fields:{stream:null,encoding:null,byteBuffer:null,charBuffer:null,charPos:0,charLen:0,byteLen:0,bytePos:0,_maxCharsPerBuffer:0,_detectEncoding:!1,_isBlocked:!1,_closable:!1},props:{CurrentEncoding:{get:function(){return this.encoding}},BaseStream:{get:function(){return this.stream}},LeaveOpen:{get:function(){return!this._closable}},EndOfStream:{get:function(){if(this.stream==null&&System.IO.__Error.ReaderClosed(),this.charPos<this.charLen)return!1;var n=this.ReadBuffer();return n===0}}},ctors:{ctor:function(){this.$initialize();System.IO.TextReader.ctor.call(this)},$ctor1:function(n){System.IO.StreamReader.$ctor2.call(this,n,!0)},$ctor2:function(n,t){System.IO.StreamReader.$ctor6.call(this,n,System.Text.Encoding.UTF8,t,System.IO.StreamReader.DefaultBufferSize,!1)},$ctor3:function(n,t){System.IO.StreamReader.$ctor6.call(this,n,t,!0,System.IO.StreamReader.DefaultBufferSize,!1)},$ctor4:function(n,t,i){System.IO.StreamReader.$ctor6.call(this,n,t,i,System.IO.StreamReader.DefaultBufferSize,!1)},$ctor5:function(n,t,i,r){System.IO.StreamReader.$ctor6.call(this,n,t,i,r,!1)},$ctor6:function(n,t,i,r,u){if(this.$initialize(),System.IO.TextReader.ctor.call(this),n==null||t==null)throw new System.ArgumentNullException(n==null?"stream":"encoding");if(!n.CanRead)throw new System.ArgumentException;if(r<=0)throw new System.ArgumentOutOfRangeException("bufferSize");this.Init$1(n,t,i,r,u)},$ctor7:function(n){System.IO.StreamReader.$ctor8.call(this,n,!0)},$ctor8:function(n,t){System.IO.StreamReader.$ctor11.call(this,n,System.Text.Encoding.UTF8,t,System.IO.StreamReader.DefaultBufferSize)},$ctor9:function(n,t){System.IO.StreamReader.$ctor11.call(this,n,t,!0,System.IO.StreamReader.DefaultBufferSize)},$ctor10:function(n,t,i){System.IO.StreamReader.$ctor11.call(this,n,t,i,System.IO.StreamReader.DefaultBufferSize)},$ctor11:function(n,t,i,r){System.IO.StreamReader.$ctor12.call(this,n,t,i,r,!0)},$ctor12:function(n,t,i,r){if(this.$initialize(),System.IO.TextReader.ctor.call(this),n==null||t==null)throw new System.ArgumentNullException(n==null?"path":"encoding");if(n.length===0)throw new System.ArgumentException;if(r<=0)throw new System.ArgumentOutOfRangeException("bufferSize");var u=new System.IO.FileStream.$ctor1(n,System.IO.FileMode.Open);this.Init$1(u,t,i,r,!1)}},methods:{Init$1:function(n,t,i,r,u){this.stream=n;this.encoding=t;r<System.IO.StreamReader.MinBufferSize&&(r=System.IO.StreamReader.MinBufferSize);this.byteBuffer=System.Array.init(r,0,System.Byte);this._maxCharsPerBuffer=t.GetMaxCharCount(r);this.charBuffer=System.Array.init(this._maxCharsPerBuffer,0,System.Char);this.byteLen=0;this.bytePos=0;this._detectEncoding=i;this._isBlocked=!1;this._closable=!u},Init:function(n){this.stream=n;this._closable=!0},Close:function(){this.Dispose$1(!0)},Dispose$1:function(n){try{!this.LeaveOpen&&n&&this.stream!=null&&this.stream.Close()}finally{this.LeaveOpen||this.stream==null||(this.stream=null,this.encoding=null,this.byteBuffer=null,this.charBuffer=null,this.charPos=0,this.charLen=0,System.IO.TextReader.prototype.Dispose$1.call(this,n))}},DiscardBufferedData:function(){this.byteLen=0;this.charLen=0;this.charPos=0;this._isBlocked=!1},Peek:function(){return(this.stream==null&&System.IO.__Error.ReaderClosed(),this.charPos===this.charLen&&(this._isBlocked||this.ReadBuffer()===0))?-1:this.charBuffer[System.Array.index(this.charPos,this.charBuffer)]},Read:function(){if(this.stream==null&&System.IO.__Error.ReaderClosed(),this.charPos===this.charLen&&this.ReadBuffer()===0)return-1;var n=this.charBuffer[System.Array.index(this.charPos,this.charBuffer)];return this.charPos=this.charPos+1|0,n},Read$1:function(n,t,i){var u,f,r;if(n==null)throw new System.ArgumentNullException("buffer");if(t<0||i<0)throw new System.ArgumentOutOfRangeException(t<0?"index":"count");if((n.length-t|0)<i)throw new System.ArgumentException;for(this.stream==null&&System.IO.__Error.ReaderClosed(),u=0,f={v:!1};i>0;){if(r=this.charLen-this.charPos|0,r===0&&(r=this.ReadBuffer$1(n,t+u|0,i,f)),r===0)break;if(r>i&&(r=i),f.v||(System.Array.copy(this.charBuffer,this.charPos,n,t+u|0,r),this.charPos=this.charPos+r|0),u=u+r|0,i=i-r|0,this._isBlocked)break}return u},ReadToEndAsync:function(){var n=0,i,r,f,t=new System.Threading.Tasks.TaskCompletionSource,e,u=Bridge.fn.bind(this,function(){try{for(;;){n=System.Array.min([0,1,2,3,4],n);switch(n){case 0:if(Bridge.is(this.stream,System.IO.FileStream)){n=1;continue}n=3;continue;case 1:i=this.stream.EnsureBufferAsync();n=2;i.continueWith(u);return;case 2:i.getAwaitedResult();n=3;continue;case 3:r=System.IO.TextReader.prototype.ReadToEndAsync.call(this);n=4;r.continueWith(u);return;case 4:f=r.getAwaitedResult();t.setResult(f);return;default:t.setResult(null);return}}}catch(o){e=System.Exception.create(o);t.setException(e)}},arguments);return u(),t.task},ReadToEnd:function(){this.stream==null&&System.IO.__Error.ReaderClosed();var n=new System.Text.StringBuilder("",this.charLen-this.charPos|0);do n.append(System.String.fromCharArray(this.charBuffer,this.charPos,this.charLen-this.charPos|0)),this.charPos=this.charLen,this.ReadBuffer();while(this.charLen>0);return n.toString()},ReadBlock:function(n,t,i){if(n==null)throw new System.ArgumentNullException("buffer");if(t<0||i<0)throw new System.ArgumentOutOfRangeException(t<0?"index":"count");if((n.length-t|0)<i)throw new System.ArgumentException;return this.stream==null&&System.IO.__Error.ReaderClosed(),System.IO.TextReader.prototype.ReadBlock.call(this,n,t,i)},CompressBuffer:function(n){System.Array.copy(this.byteBuffer,n,this.byteBuffer,0,this.byteLen-n|0);this.byteLen=this.byteLen-n|0},DetectEncoding:function(){if(!(this.byteLen<2)){this._detectEncoding=!1;var n=!1;this.byteBuffer[System.Array.index(0,this.byteBuffer)]===254&&this.byteBuffer[System.Array.index(1,this.byteBuffer)]===255?(this.encoding=new System.Text.UnicodeEncoding.$ctor1(!0,!0),this.CompressBuffer(2),n=!0):this.byteBuffer[System.Array.index(0,this.byteBuffer)]===255&&this.byteBuffer[System.Array.index(1,this.byteBuffer)]===254?this.byteLen<4||this.byteBuffer[System.Array.index(2,this.byteBuffer)]!==0||this.byteBuffer[System.Array.index(3,this.byteBuffer)]!==0?(this.encoding=new System.Text.UnicodeEncoding.$ctor1(!1,!0),this.CompressBuffer(2),n=!0):(this.encoding=new System.Text.UTF32Encoding.$ctor1(!1,!0),this.CompressBuffer(4),n=!0):this.byteLen>=3&&this.byteBuffer[System.Array.index(0,this.byteBuffer)]===239&&this.byteBuffer[System.Array.index(1,this.byteBuffer)]===187&&this.byteBuffer[System.Array.index(2,this.byteBuffer)]===191?(this.encoding=System.Text.Encoding.UTF8,this.CompressBuffer(3),n=!0):this.byteLen>=4&&this.byteBuffer[System.Array.index(0,this.byteBuffer)]===0&&this.byteBuffer[System.Array.index(1,this.byteBuffer)]===0&&this.byteBuffer[System.Array.index(2,this.byteBuffer)]===254&&this.byteBuffer[System.Array.index(3,this.byteBuffer)]===255?(this.encoding=new System.Text.UTF32Encoding.$ctor1(!0,!0),this.CompressBuffer(4),n=!0):this.byteLen===2&&(this._detectEncoding=!0);n&&(this._maxCharsPerBuffer=this.encoding.GetMaxCharCount(this.byteBuffer.length),this.charBuffer=System.Array.init(this._maxCharsPerBuffer,0,System.Char))}},IsPreamble:function(){return!1},ReadBuffer:function(){this.charLen=0;this.charPos=0;this.byteLen=0;do{if(this.byteLen=this.stream.Read(this.byteBuffer,0,this.byteBuffer.length),this.byteLen===0)return this.charLen;(this._isBlocked=this.byteLen<this.byteBuffer.length,this.IsPreamble())||(this._detectEncoding&&this.byteLen>=2&&this.DetectEncoding(),this.charLen=this.charLen+this.encoding.GetChars$2(this.byteBuffer,0,this.byteLen,this.charBuffer,this.charLen)|0)}while(this.charLen===0);return this.charLen},ReadBuffer$1:function(n,t,i,r){this.charLen=0;this.charPos=0;this.byteLen=0;var u=0;r.v=i>=this._maxCharsPerBuffer;do{if(this.byteLen=this.stream.Read(this.byteBuffer,0,this.byteBuffer.length),this.byteLen===0)break;(this._isBlocked=this.byteLen<this.byteBuffer.length,this.IsPreamble())||(this._detectEncoding&&this.byteLen>=2&&(this.DetectEncoding(),r.v=i>=this._maxCharsPerBuffer),this.charPos=0,r.v?(u=u+this.encoding.GetChars$2(this.byteBuffer,0,this.byteLen,n,t+u|0)|0,this.charLen=0):(u=this.encoding.GetChars$2(this.byteBuffer,0,this.byteLen,this.charBuffer,u),this.charLen=this.charLen+u|0))}while(u===0);return this._isBlocked=!!(this._isBlocked&u<i),u},ReadLine:function(){var t,n,i,r;if(this.stream==null&&System.IO.__Error.ReaderClosed(),this.charPos===this.charLen&&this.ReadBuffer()===0)return null;t=null;do{n=this.charPos;do{if(i=this.charBuffer[System.Array.index(n,this.charBuffer)],i===13||i===10)return t!=null?(t.append(System.String.fromCharArray(this.charBuffer,this.charPos,n-this.charPos|0)),r=t.toString()):r=System.String.fromCharArray(this.charBuffer,this.charPos,n-this.charPos|0),this.charPos=n+1|0,i===13&&(this.charPos<this.charLen||this.ReadBuffer()>0)&&this.charBuffer[System.Array.index(this.charPos,this.charBuffer)]===10&&(this.charPos=this.charPos+1|0),r;n=n+1|0}while(n<this.charLen);n=this.charLen-this.charPos|0;t==null&&(t=new System.Text.StringBuilder("",n+80|0));t.append(System.String.fromCharArray(this.charBuffer,this.charPos,n))}while(this.ReadBuffer()>0);return t.toString()}}});Bridge.define("System.IO.StreamWriter",{inherits:[System.IO.TextWriter],statics:{fields:{DefaultBufferSize:0,DefaultFileStreamBufferSize:0,MinBufferSize:0,Null:null,_UTF8NoBOM:null},props:{UTF8NoBOM:{get:function(){if(System.IO.StreamWriter._UTF8NoBOM==null){var n=new System.Text.UTF8Encoding.$ctor2(!1,!0);System.IO.StreamWriter._UTF8NoBOM=n}return System.IO.StreamWriter._UTF8NoBOM}}},ctors:{init:function(){this.DefaultBufferSize=1024;this.DefaultFileStreamBufferSize=4096;this.MinBufferSize=128;this.Null=new System.IO.StreamWriter.$ctor4(System.IO.Stream.Null,new System.Text.UTF8Encoding.$ctor2(!1,!0),System.IO.StreamWriter.MinBufferSize,!0)}}},fields:{stream:null,encoding:null,byteBuffer:null,charBuffer:null,charPos:0,charLen:0,autoFlush:!1,haveWrittenPreamble:!1,closable:!1},props:{AutoFlush:{get:function(){return this.autoFlush},set:function(n){this.autoFlush=n;n&&this.Flush$1(!0,!1)}},BaseStream:{get:function(){return this.stream}},LeaveOpen:{get:function(){return!this.closable}},HaveWrittenPreamble:{set:function(n){this.haveWrittenPreamble=n}},Encoding:{get:function(){return this.encoding}}},ctors:{ctor:function(){this.$initialize();System.IO.TextWriter.$ctor1.call(this,null)},$ctor1:function(n){System.IO.StreamWriter.$ctor4.call(this,n,System.IO.StreamWriter.UTF8NoBOM,System.IO.StreamWriter.DefaultBufferSize,!1)},$ctor2:function(n,t){System.IO.StreamWriter.$ctor4.call(this,n,t,System.IO.StreamWriter.DefaultBufferSize,!1)},$ctor3:function(n,t,i){System.IO.StreamWriter.$ctor4.call(this,n,t,i,!1)},$ctor4:function(n,t,i,r){if(this.$initialize(),System.IO.TextWriter.$ctor1.call(this,null),n==null||t==null)throw new System.ArgumentNullException(n==null?"stream":"encoding");if(!n.CanWrite)throw new System.ArgumentException("Argument_StreamNotWritable");if(i<=0)throw new System.ArgumentOutOfRangeException("bufferSize","ArgumentOutOfRange_NeedPosNum");this.Init(n,t,i,r)},$ctor5:function(n){System.IO.StreamWriter.$ctor8.call(this,n,!1,System.IO.StreamWriter.UTF8NoBOM,System.IO.StreamWriter.DefaultBufferSize)},$ctor6:function(n,t){System.IO.StreamWriter.$ctor8.call(this,n,t,System.IO.StreamWriter.UTF8NoBOM,System.IO.StreamWriter.DefaultBufferSize)},$ctor7:function(n,t,i){System.IO.StreamWriter.$ctor8.call(this,n,t,i,System.IO.StreamWriter.DefaultBufferSize)},$ctor8:function(n,t,i,r){System.IO.StreamWriter.$ctor9.call(this,n,t,i,r,!0)},$ctor9:function(){this.$initialize();System.IO.TextWriter.$ctor1.call(this,null);throw new System.NotSupportedException;}},methods:{Init:function(n,t,i,r){this.stream=n;this.encoding=t;i<System.IO.StreamWriter.MinBufferSize&&(i=System.IO.StreamWriter.MinBufferSize);this.charBuffer=System.Array.init(i,0,System.Char);this.byteBuffer=System.Array.init(this.encoding.GetMaxByteCount(i),0,System.Byte);this.charLen=i;this.stream.CanSeek&&this.stream.Position.gt(System.Int64(0))&&(this.haveWrittenPreamble=!0);this.closable=!r},Close:function(){this.Dispose$1(!0)},Dispose$1:function(n){try{this.stream!=null&&n&&this.Flush$1(!0,!0)}finally{if(!this.LeaveOpen&&this.stream!=null)try{n&&this.stream.Close()}finally{this.stream=null;this.byteBuffer=null;this.charBuffer=null;this.encoding=null;this.charLen=0;System.IO.TextWriter.prototype.Dispose$1.call(this,n)}}},Flush:function(){this.Flush$1(!0,!0)},Flush$1:function(n,t){if(this.stream==null&&System.IO.__Error.WriterClosed(),this.charPos!==0||n||t){var i=this.encoding.GetBytes$3(this.charBuffer,0,this.charPos,this.byteBuffer,0);this.charPos=0;i>0&&this.stream.Write(this.byteBuffer,0,i);n&&this.stream.Flush()}},Write$1:function(n){this.charPos===this.charLen&&this.Flush$1(!1,!1);this.charBuffer[System.Array.index(this.charPos,this.charBuffer)]=n;this.charPos=this.charPos+1|0;this.autoFlush&&this.Flush$1(!0,!1)},Write$2:function(n){var r,i,t;if(n!=null){for(r=0,i=n.length;i>0;)this.charPos===this.charLen&&this.Flush$1(!1,!1),t=this.charLen-this.charPos|0,t>i&&(t=i),System.Array.copy(n,r,this.charBuffer,this.charPos,t),this.charPos=this.charPos+t|0,r=r+t|0,i=i-t|0;this.autoFlush&&this.Flush$1(!0,!1)}},Write$3:function(n,t,i){if(n==null)throw new System.ArgumentNullException("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException("index","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)<i)throw new System.ArgumentException("Argument_InvalidOffLen");while(i>0){this.charPos===this.charLen&&this.Flush$1(!1,!1);var r=this.charLen-this.charPos|0;r>i&&(r=i);System.Array.copy(n,t,this.charBuffer,this.charPos,r);this.charPos=this.charPos+r|0;t=t+r|0;i=i-r|0}this.autoFlush&&this.Flush$1(!0,!1)},Write$10:function(n){var i,r,t;if(n!=null){for(i=n.length,r=0;i>0;)this.charPos===this.charLen&&this.Flush$1(!1,!1),t=this.charLen-this.charPos|0,t>i&&(t=i),System.String.copyTo(n,r,this.charBuffer,this.charPos,t),this.charPos=this.charPos+t|0,r=r+t|0,i=i-t|0;this.autoFlush&&this.Flush$1(!0,!1)}}}});Bridge.define("System.IO.StringReader",{inherits:[System.IO.TextReader],fields:{_s:null,_pos:0,_length:0},ctors:{ctor:function(n){if(this.$initialize(),System.IO.TextReader.ctor.call(this),n==null)throw new System.ArgumentNullException("s");this._s=n;this._length=n==null?0:n.length}},methods:{Close:function(){this.Dispose$1(!0)},Dispose$1:function(n){this._s=null;this._pos=0;this._length=0;System.IO.TextReader.prototype.Dispose$1.call(this,n)},Peek:function(){return(this._s==null&&System.IO.__Error.ReaderClosed(),this._pos===this._length)?-1:this._s.charCodeAt(this._pos)},Read:function(){return(this._s==null&&System.IO.__Error.ReaderClosed(),this._pos===this._length)?-1:this._s.charCodeAt(Bridge.identity(this._pos,this._pos=this._pos+1|0))},Read$1:function(n,t,i){if(n==null)throw new System.ArgumentNullException("buffer");if(t<0)throw new System.ArgumentOutOfRangeException("index");if(i<0)throw new System.ArgumentOutOfRangeException("count");if((n.length-t|0)<i)throw new System.ArgumentException;this._s==null&&System.IO.__Error.ReaderClosed();var r=this._length-this._pos|0;return r>0&&(r>i&&(r=i),System.String.copyTo(this._s,this._pos,n,t,r),this._pos=this._pos+r|0),r},ReadToEnd:function(){this._s==null&&System.IO.__Error.ReaderClosed();var n;return n=this._pos===0?this._s:this._s.substr(this._pos,this._length-this._pos|0),this._pos=this._length,n},ReadLine:function(){var n,t,i,r;for(this._s==null&&System.IO.__Error.ReaderClosed(),n=this._pos;n<this._length;){if(t=this._s.charCodeAt(n),t===13||t===10)return i=this._s.substr(this._pos,n-this._pos|0),this._pos=n+1|0,t===13&&this._pos<this._length&&this._s.charCodeAt(this._pos)===10&&(this._pos=this._pos+1|0),i;n=n+1|0}return n>this._pos?(r=this._s.substr(this._pos,n-this._pos|0),this._pos=n,r):null}}});Bridge.define("System.IO.StringWriter",{inherits:[System.IO.TextWriter],statics:{fields:{m_encoding:null}},fields:{_sb:null,_isOpen:!1},props:{Encoding:{get:function(){return System.IO.StringWriter.m_encoding==null&&(System.IO.StringWriter.m_encoding=new System.Text.UnicodeEncoding.$ctor1(!1,!1)),System.IO.StringWriter.m_encoding}}},ctors:{ctor:function(){System.IO.StringWriter.$ctor3.call(this,new System.Text.StringBuilder,System.Globalization.CultureInfo.getCurrentCulture())},$ctor1:function(n){System.IO.StringWriter.$ctor3.call(this,new System.Text.StringBuilder,n)},$ctor2:function(n){System.IO.StringWriter.$ctor3.call(this,n,System.Globalization.CultureInfo.getCurrentCulture())},$ctor3:function(n,t){if(this.$initialize(),System.IO.TextWriter.$ctor1.call(this,t),n==null)throw new System.ArgumentNullException("sb");this._sb=n;this._isOpen=!0}},methods:{Close:function(){this.Dispose$1(!0)},Dispose$1:function(n){this._isOpen=!1;System.IO.TextWriter.prototype.Dispose$1.call(this,n)},GetStringBuilder:function(){return this._sb},Write$1:function(n){this._isOpen||System.IO.__Error.WriterClosed();this._sb.append(String.fromCharCode(n))},Write$3:function(n,t,i){if(n==null)throw new System.ArgumentNullException("buffer");if(t<0)throw new System.ArgumentOutOfRangeException("index");if(i<0)throw new System.ArgumentOutOfRangeException("count");if((n.length-t|0)<i)throw new System.ArgumentException;this._isOpen||System.IO.__Error.WriterClosed();this._sb.append(System.String.fromCharArray(n,t,i))},Write$10:function(n){this._isOpen||System.IO.__Error.WriterClosed();n!=null&&this._sb.append(n)},ToString:function(){return this._sb.toString()}}});Bridge.define("System.IO.TextReader.NullTextReader",{inherits:[System.IO.TextReader],$kind:"nested class",ctors:{ctor:function(){this.$initialize();System.IO.TextReader.ctor.call(this)}},methods:{Read$1:function(){return 0},ReadLine:function(){return null}}});Bridge.define("System.IO.TextWriter.NullTextWriter",{inherits:[System.IO.TextWriter],$kind:"nested class",props:{Encoding:{get:function(){return System.Text.Encoding.Default}}},ctors:{ctor:function(){this.$initialize();System.IO.TextWriter.$ctor1.call(this,System.Globalization.CultureInfo.invariantCulture)}},methods:{Write$3:function(){},Write$10:function(){},WriteLine:function(){},WriteLine$11:function(){},WriteLine$9:function(){}}});Bridge.define("System.IO.StreamReader.NullStreamReader",{inherits:[System.IO.StreamReader],$kind:"nested class",props:{BaseStream:{get:function(){return System.IO.Stream.Null}},CurrentEncoding:{get:function(){return System.Text.Encoding.Unicode}}},ctors:{ctor:function(){this.$initialize();System.IO.StreamReader.ctor.call(this);this.Init(System.IO.Stream.Null)}},methods:{Dispose$1:function(){},Peek:function(){return-1},Read:function(){return-1},Read$1:function(){return 0},ReadLine:function(){return null},ReadToEnd:function(){return""},ReadBuffer:function(){return 0}}});Bridge.define("System.Random",{statics:{fields:{MBIG:0,MSEED:0,MZ:0},ctors:{init:function(){this.MBIG=2147483647;this.MSEED=161803398;this.MZ=0}}},fields:{inext:0,inextp:0,seedArray:null},ctors:{init:function(){this.seedArray=System.Array.init(56,0,System.Int32)},ctor:function(){System.Random.$ctor1.call(this,System.Int64.clip32(System.DateTime.getTicks(System.DateTime.getNow())))},$ctor1:function(n){var e,u,i,o,r,f,t;for(this.$initialize(),o=n===-2147483648?2147483647:Math.abs(n),u=System.Random.MSEED-o|0,this.seedArray[System.Array.index(55,this.seedArray)]=u,i=1,r=1;r<55;r=r+1|0)e=Bridge.Int.mul(21,r)%55,this.seedArray[System.Array.index(e,this.seedArray)]=i,i=u-i|0,i<0&&(i=i+System.Random.MBIG|0),u=this.seedArray[System.Array.index(e,this.seedArray)];for(f=1;f<5;f=f+1|0)for(t=1;t<56;t=t+1|0)this.seedArray[System.Array.index(t,this.seedArray)]=this.seedArray[System.Array.index(t,this.seedArray)]-this.seedArray[System.Array.index(1+(t+30|0)%55|0,this.seedArray)]|0,this.seedArray[System.Array.index(t,this.seedArray)]<0&&(this.seedArray[System.Array.index(t,this.seedArray)]=this.seedArray[System.Array.index(t,this.seedArray)]+System.Random.MBIG|0);this.inext=0;this.inextp=21;n=1}},methods:{sample:function(){return this.internalSample()*46566128752457969e-26},internalSample:function(){var n,t=this.inext,i=this.inextp;return(t=t+1|0)>=56&&(t=1),(i=i+1|0)>=56&&(i=1),n=this.seedArray[System.Array.index(t,this.seedArray)]-this.seedArray[System.Array.index(i,this.seedArray)]|0,n===System.Random.MBIG&&(n=n-1|0),n<0&&(n=n+System.Random.MBIG|0),this.seedArray[System.Array.index(t,this.seedArray)]=n,this.inext=t,this.inextp=i,n},next:function(){return this.internalSample()},next$2:function(n,t){if(n>t)throw new System.ArgumentOutOfRangeException("minValue","'minValue' cannot be greater than maxValue.");var i=System.Int64(t).sub(System.Int64(n));return i.lte(System.Int64(2147483647))?Bridge.Int.clip32(this.sample()*System.Int64.toNumber(i))+n|0:System.Int64.clip32(Bridge.Int.clip64(this.getSampleForLargeRange()*System.Int64.toNumber(i)).add(System.Int64(n)))},next$1:function(n){if(n<0)throw new System.ArgumentOutOfRangeException("maxValue","'maxValue' must be greater than zero.");return Bridge.Int.clip32(this.sample()*n)},getSampleForLargeRange:function(){var n=this.internalSample(),i=this.internalSample()%2==0?!0:!1,t;return i&&(n=-n|0),t=n,t+=2147483646,t/4294967293},nextDouble:function(){return this.sample()},nextBytes:function(n){if(n==null)throw new System.ArgumentNullException("buffer");for(var t=0;t<n.length;t=t+1|0)n[System.Array.index(t,n)]=this.internalSample()%256&255}}});Bridge.define("System.BitConverter",{statics:{fields:{isLittleEndian:!1,arg_ArrayPlusOffTooSmall:null},ctors:{init:function(){this.isLittleEndian=System.BitConverter.getIsLittleEndian();this.arg_ArrayPlusOffTooSmall="Destination array is not long enough to copy all the items in the collection. Check array index and length."}},methods:{getBytes:function(n){return n?System.Array.init([1],System.Byte):System.Array.init([0],System.Byte)},getBytes$1:function(n){return System.BitConverter.getBytes$3(Bridge.Int.sxs(n&65535))},getBytes$3:function(n){var t=System.BitConverter.view(2);return t.setInt16(0,n),System.BitConverter.getViewBytes(t)},getBytes$4:function(n){var t=System.BitConverter.view(4);return t.setInt32(0,n),System.BitConverter.getViewBytes(t)},getBytes$5:function(n){var t=System.BitConverter.getView(n);return System.BitConverter.getViewBytes(t)},getBytes$7:function(n){var t=System.BitConverter.view(2);return t.setUint16(0,n),System.BitConverter.getViewBytes(t)},getBytes$8:function(n){var t=System.BitConverter.view(4);return t.setUint32(0,n),System.BitConverter.getViewBytes(t)},getBytes$9:function(n){var t=System.BitConverter.getView(System.Int64.clip64(n));return System.BitConverter.getViewBytes(t)},getBytes$6:function(n){var t=System.BitConverter.view(4);return t.setFloat32(0,n),System.BitConverter.getViewBytes(t)},getBytes$2:function(n){if(isNaN(n))return System.BitConverter.isLittleEndian?System.Array.init([0,0,0,0,0,0,248,255],System.Byte):System.Array.init([255,248,0,0,0,0,0,0],System.Byte);var t=System.BitConverter.view(8);return t.setFloat64(0,n),System.BitConverter.getViewBytes(t)},toChar:function(n,t){return System.BitConverter.toInt16(n,t)&65535},toInt16:function(n,t){System.BitConverter.checkArguments(n,t,2);var i=System.BitConverter.view(2);return System.BitConverter.setViewBytes(i,n,-1,t),i.getInt16(0)},toInt32:function(n,t){System.BitConverter.checkArguments(n,t,4);var i=System.BitConverter.view(4);return System.BitConverter.setViewBytes(i,n,-1,t),i.getInt32(0)},toInt64:function(n,t){System.BitConverter.checkArguments(n,t,8);var i=System.BitConverter.toInt32(n,t),r=System.BitConverter.toInt32(n,t+4|0);return System.BitConverter.isLittleEndian?System.Int64([i,r]):System.Int64([r,i])},toUInt16:function(n,t){return System.BitConverter.toInt16(n,t)&65535},toUInt32:function(n,t){return System.BitConverter.toInt32(n,t)>>>0},toUInt64:function(n,t){var i=System.BitConverter.toInt64(n,t);return System.UInt64([i.value.low,i.value.high])},toSingle:function(n,t){System.BitConverter.checkArguments(n,t,4);var i=System.BitConverter.view(4);return System.BitConverter.setViewBytes(i,n,-1,t),i.getFloat32(0)},toDouble:function(n,t){System.BitConverter.checkArguments(n,t,8);var i=System.BitConverter.view(8);return System.BitConverter.setViewBytes(i,n,-1,t),i.getFloat64(0)},toString$2:function(n,t,i){var e;if(n==null)throw new System.ArgumentNullException("value");if(t<0||t>=n.length&&t>0)throw new System.ArgumentOutOfRangeException("startIndex");if(i<0)throw new System.ArgumentOutOfRangeException("length");if(t>(n.length-i|0))throw new System.ArgumentException(System.BitConverter.arg_ArrayPlusOffTooSmall);if(i===0)return"";if(i>715827882)throw new System.ArgumentOutOfRangeException("length",Bridge.toString(715827882));for(var o=Bridge.Int.mul(i,3),r=System.Array.init(o,0,System.Char),u=0,f=t,u=0;u<o;u=u+3|0)e=n[System.Array.index(Bridge.identity(f,f=f+1|0),n)],r[System.Array.index(u,r)]=System.BitConverter.getHexValue(Bridge.Int.div(e,16)|0),r[System.Array.index(u+1|0,r)]=System.BitConverter.getHexValue(e%16),r[System.Array.index(u+2|0,r)]=45;return System.String.fromCharArray(r,0,r.length-1|0)},toString:function(n){if(n==null)throw new System.ArgumentNullException("value");return System.BitConverter.toString$2(n,0,n.length)},toString$1:function(n,t){if(n==null)throw new System.ArgumentNullException("value");return System.BitConverter.toString$2(n,t,n.length-t|0)},toBoolean:function(n,t){return System.BitConverter.checkArguments(n,t,1),n[System.Array.index(t,n)]===0?!1:!0},doubleToInt64Bits:function(n){var t=System.BitConverter.view(8);return t.setFloat64(0,n),System.Int64([t.getInt32(4),t.getInt32(0)])},int64BitsToDouble:function(n){var t=System.BitConverter.getView(n);return t.getFloat64(0)},getHexValue:function(n){return n<10?(n+48|0)&65535:((n-10|0)+65|0)&65535},getViewBytes:function(n,t,i){var r,u,f;if(t===void 0&&(t=-1),i===void 0&&(i=0),t===-1&&(t=n.byteLength),r=System.Array.init(t,0,System.Byte),System.BitConverter.isLittleEndian)for(u=t-1|0;u>=0;u=u-1|0)r[System.Array.index(u,r)]=n.getUint8(Bridge.identity(i,i=i+1|0));else for(f=0;f<t;f=f+1|0)r[System.Array.index(f,r)]=n.getUint8(Bridge.identity(i,i=i+1|0));return r},setViewBytes:function(n,t,i,r){var u,f;if(i===void 0&&(i=-1),r===void 0&&(r=0),i===-1&&(i=n.byteLength),System.BitConverter.isLittleEndian)for(u=i-1|0;u>=0;u=u-1|0)n.setUint8(u,t[System.Array.index(Bridge.identity(r,r=r+1|0),t)]);else for(f=0;f<i;f=f+1|0)n.setUint8(f,t[System.Array.index(Bridge.identity(r,r=r+1|0),t)])},view:function(n){var t=new ArrayBuffer(n);return new DataView(t)},getView:function(n){var t=System.BitConverter.view(8);return t.setInt32(4,n.value.low),t.setInt32(0,n.value.high),t},getIsLittleEndian:function(){var n=System.BitConverter.view(2);return(n.setUint8(0,170),n.setUint8(1,187),n.getUint16(0)===43707)?!0:!1},checkArguments:function(n,t,i){if(n==null)throw new System.ArgumentNullException("null");if(System.Int64(t>>>0).gte(System.Int64(n.length)))throw new System.ArgumentOutOfRangeException("startIndex");if(t>(n.length-i|0))throw new System.ArgumentException(System.BitConverter.arg_ArrayPlusOffTooSmall);}}}});Bridge.define("System.Threading.Timer",{inherits:[System.IDisposable],statics:{fields:{MAX_SUPPORTED_TIMEOUT:0,EXC_LESS:null,EXC_MORE:null,EXC_DISPOSED:null},ctors:{init:function(){this.MAX_SUPPORTED_TIMEOUT=4294967294;this.EXC_LESS="Number must be either non-negative and less than or equal to Int32.MaxValue or -1.";this.EXC_MORE="Time-out interval must be less than 2^32-2.";this.EXC_DISPOSED="The timer has been already disposed."}}},fields:{dueTime:System.Int64(0),period:System.Int64(0),timerCallback:null,state:null,id:null,disposed:!1},alias:["dispose","System$IDisposable$dispose"],ctors:{$ctor1:function(n,t,i,r){this.$initialize();this.timerSetup(n,t,System.Int64(i),System.Int64(r))},$ctor3:function(n,t,i,r){this.$initialize();var u=Bridge.Int.clip64(i.getTotalMilliseconds()),f=Bridge.Int.clip64(r.getTotalMilliseconds());this.timerSetup(n,t,u,f)},$ctor4:function(n,t,i,r){this.$initialize();this.timerSetup(n,t,System.Int64(i),System.Int64(r))},$ctor2:function(n,t,i,r){this.$initialize();this.timerSetup(n,t,i,r)},ctor:function(n){this.$initialize();this.timerSetup(n,this,System.Int64(-1),System.Int64(-1))}},methods:{timerSetup:function(n,t,i,r){if(this.disposed)throw new System.InvalidOperationException(System.Threading.Timer.EXC_DISPOSED);if(Bridge.staticEquals(n,null))throw new System.ArgumentNullException("TimerCallback");if(i.lt(System.Int64(-1)))throw new System.ArgumentOutOfRangeException("dueTime",System.Threading.Timer.EXC_LESS);if(r.lt(System.Int64(-1)))throw new System.ArgumentOutOfRangeException("period",System.Threading.Timer.EXC_LESS);if(i.gt(System.Int64(System.Threading.Timer.MAX_SUPPORTED_TIMEOUT)))throw new System.ArgumentOutOfRangeException("dueTime",System.Threading.Timer.EXC_MORE);if(r.gt(System.Int64(System.Threading.Timer.MAX_SUPPORTED_TIMEOUT)))throw new System.ArgumentOutOfRangeException("period",System.Threading.Timer.EXC_MORE);return this.dueTime=i,this.period=r,this.state=t,this.timerCallback=n,this.runTimer(this.dueTime)},handleCallback:function(){if(!this.disposed&&!Bridge.staticEquals(this.timerCallback,null)){var n=this.id;this.timerCallback(this.state);System.Nullable.eq(this.id,n)&&this.runTimer(this.period,!1)}},runTimer:function(n,t){if(t===void 0&&(t=!0),t&&this.disposed)throw new System.InvalidOperationException(System.Threading.Timer.EXC_DISPOSED);if(n.ne(System.Int64(-1))&&!this.disposed){var i=n.toNumber();return this.id=Bridge.global.setTimeout(Bridge.fn.cacheBind(this,this.handleCallback),i),!0}return!1},change:function(n,t){return this.changeTimer(System.Int64(n),System.Int64(t))},change$2:function(n,t){return this.changeTimer(Bridge.Int.clip64(n.getTotalMilliseconds()),Bridge.Int.clip64(t.getTotalMilliseconds()))},change$3:function(n,t){return this.changeTimer(System.Int64(n),System.Int64(t))},change$1:function(n,t){return this.changeTimer(n,t)},changeTimer:function(n,t){return this.clearTimeout(),this.timerSetup(this.timerCallback,this.state,n,t)},clearTimeout:function(){System.Nullable.hasValue(this.id)&&(Bridge.global.clearTimeout(System.Nullable.getValue(this.id)),this.id=null)},dispose:function(){this.clearTimeout();this.disposed=!0}}});Bridge.define("System.Console",{statics:{methods:{Write:function(n){var t=Bridge.global.console;t&&t.log&&t.log(Bridge.isDefined(Bridge.unbox(n))?Bridge.unbox(n):"")},WriteLine:function(n){var t=Bridge.global.console;t&&t.log&&t.log(Bridge.isDefined(Bridge.unbox(n))?Bridge.unbox(n):"")},TransformChars:function(n,t,i,r){var f,u;if(t!==1){if(n==null)throw new System.ArgumentNullException("buffer");if(i<0)throw new System.ArgumentOutOfRangeException("index","less than zero");if(r<0)throw new System.ArgumentOutOfRangeException("count","less than zero");if((i+r|0)>n.length)throw new System.ArgumentException("index plus count specify a position that is not within buffer.");}if(f="",n!=null)for(t===1&&(i=0,r=n.length),u=i;u<(i+r|0);u=u+1|0)f=(f||"")+String.fromCharCode(n[System.Array.index(u,n)]);return f},Clear:function(){var n=Bridge.global.console;n&&n.clear&&n.clear()}}}});Bridge.define("System.Collections.BitArray",{inherits:[System.Collections.ICollection,System.ICloneable],statics:{fields:{BitsPerInt32:0,BytesPerInt32:0,BitsPerByte:0,_ShrinkThreshold:0},ctors:{init:function(){this.BitsPerInt32=32;this.BytesPerInt32=4;this.BitsPerByte=8;this._ShrinkThreshold=256}},methods:{getArrayLength:function(n,t){return n>0?(Bridge.Int.div(n-1|0,t)|0)+1|0:0}}},fields:{m_array:null,m_length:0,_version:0},props:{Length:{get:function(){return this.m_length},set:function(n){var t,r,i,u;if(n<0)throw new System.ArgumentOutOfRangeException("value","Non-negative number required.");t=System.Collections.BitArray.getArrayLength(n,System.Collections.BitArray.BitsPerInt32);(t>this.m_array.length||(t+System.Collections.BitArray._ShrinkThreshold|0)<this.m_array.length)&&(r=System.Array.init(t,0,System.Int32),System.Array.copy(this.m_array,0,r,0,t>this.m_array.length?this.m_array.length:t),this.m_array=r);n>this.m_length&&(i=System.Collections.BitArray.getArrayLength(this.m_length,System.Collections.BitArray.BitsPerInt32)-1|0,u=this.m_length%32,u>0&&(this.m_array[System.Array.index(i,this.m_array)]=this.m_array[System.Array.index(i,this.m_array)]&((1<<u)-1|0)),System.Array.fill(this.m_array,0,i+1|0,(t-i|0)-1|0));this.m_length=n;this._version=this._version+1|0}},Count:{get:function(){return this.m_length}},System$Collections$ICollection$IsSynchronized:{get:function(){return!1}},System$Collections$ICollection$SyncRoot:{get:function(){return this}},IsReadOnly:{get:function(){return!1}}},alias:["copyTo","System$Collections$ICollection$copyTo","Count","System$Collections$ICollection$Count","clone","System$ICloneable$clone","getEnumerator","System$Collections$IEnumerable$getEnumerator"],ctors:{$ctor3:function(n){System.Collections.BitArray.$ctor4.call(this,n,!1)},$ctor4:function(n,t){var r,i;if(this.$initialize(),n<0)throw new System.ArgumentOutOfRangeException("length","Index is less than zero.");for(this.m_array=System.Array.init(System.Collections.BitArray.getArrayLength(n,System.Collections.BitArray.BitsPerInt32),0,System.Int32),this.m_length=n,r=t?-1:0,i=0;i<this.m_array.length;i=i+1|0)this.m_array[System.Array.index(i,this.m_array)]=r;this._version=0},$ctor1:function(n){var i,t,r;if(this.$initialize(),n==null)throw new System.ArgumentNullException("bytes");if(n.length>268435455)throw new System.ArgumentException(System.String.format("The input array length must not exceed Int32.MaxValue / {0}. Otherwise BitArray.Length would exceed Int32.MaxValue.",[Bridge.box(System.Collections.BitArray.BitsPerByte,System.Int32)]),"bytes");for(this.m_array=System.Array.init(System.Collections.BitArray.getArrayLength(n.length,System.Collections.BitArray.BytesPerInt32),0,System.Int32),this.m_length=Bridge.Int.mul(n.length,System.Collections.BitArray.BitsPerByte),i=0,t=0;(n.length-t|0)>=4;)this.m_array[System.Array.index(Bridge.identity(i,i=i+1|0),this.m_array)]=n[System.Array.index(t,n)]&255|(n[System.Array.index(t+1|0,n)]&255)<<8|(n[System.Array.index(t+2|0,n)]&255)<<16|(n[System.Array.index(t+3|0,n)]&255)<<24,t=t+4|0;r=n.length-t|0;r===3&&(this.m_array[System.Array.index(i,this.m_array)]=(n[System.Array.index(t+2|0,n)]&255)<<16,r=2);r===2&&(this.m_array[System.Array.index(i,this.m_array)]=this.m_array[System.Array.index(i,this.m_array)]|(n[System.Array.index(t+1|0,n)]&255)<<8,r=1);r===1&&(this.m_array[System.Array.index(i,this.m_array)]=this.m_array[System.Array.index(i,this.m_array)]|n[System.Array.index(t,n)]&255);this._version=0},ctor:function(n){var i,t;if(this.$initialize(),n==null)throw new System.ArgumentNullException("values");for(this.m_array=System.Array.init(System.Collections.BitArray.getArrayLength(n.length,System.Collections.BitArray.BitsPerInt32),0,System.Int32),this.m_length=n.length,t=0;t<n.length;t=t+1|0)n[System.Array.index(t,n)]&&(this.m_array[System.Array.index(i=Bridge.Int.div(t,32)|0,this.m_array)]=this.m_array[System.Array.index(i,this.m_array)]|1<<t%32);this._version=0},$ctor5:function(n){if(this.$initialize(),n==null)throw new System.ArgumentNullException("values");if(n.length>67108863)throw new System.ArgumentException(System.String.format("The input array length must not exceed Int32.MaxValue / {0}. Otherwise BitArray.Length would exceed Int32.MaxValue.",[Bridge.box(System.Collections.BitArray.BitsPerInt32,System.Int32)]),"values");this.m_array=System.Array.init(n.length,0,System.Int32);this.m_length=Bridge.Int.mul(n.length,System.Collections.BitArray.BitsPerInt32);System.Array.copy(n,0,this.m_array,0,n.length);this._version=0},$ctor2:function(n){if(this.$initialize(),n==null)throw new System.ArgumentNullException("bits");var t=System.Collections.BitArray.getArrayLength(n.m_length,System.Collections.BitArray.BitsPerInt32);this.m_array=System.Array.init(t,0,System.Int32);this.m_length=n.m_length;System.Array.copy(n.m_array,0,this.m_array,0,t);this._version=n._version}},methods:{getItem:function(n){return this.get(n)},setItem:function(n,t){this.set(n,t)},copyTo:function(n,t){var u,f,i,e,r;if(n==null)throw new System.ArgumentNullException("array");if(t<0)throw new System.ArgumentOutOfRangeException("index");if(System.Array.getRank(n)!==1)throw new System.ArgumentException("Only single dimensional arrays are supported for the requested action.");if(Bridge.is(n,System.Array.type(System.Int32)))System.Array.copy(this.m_array,0,n,t,System.Collections.BitArray.getArrayLength(this.m_length,System.Collections.BitArray.BitsPerInt32));else if(Bridge.is(n,System.Array.type(System.Byte))){if(u=System.Collections.BitArray.getArrayLength(this.m_length,System.Collections.BitArray.BitsPerByte),(n.length-t|0)<u)throw new System.ArgumentException("Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.");for(f=Bridge.cast(n,System.Array.type(System.Byte)),i=0;i<u;i=i+1|0)f[System.Array.index(t+i|0,f)]=this.m_array[System.Array.index(Bridge.Int.div(i,4)|0,this.m_array)]>>Bridge.Int.mul(i%4,8)&255}else if(Bridge.is(n,System.Array.type(System.Boolean))){if((n.length-t|0)<this.m_length)throw new System.ArgumentException("Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.");for(e=Bridge.cast(n,System.Array.type(System.Boolean)),r=0;r<this.m_length;r=r+1|0)e[System.Array.index(t+r|0,e)]=(this.m_array[System.Array.index(Bridge.Int.div(r,32)|0,this.m_array)]>>r%32&1)!=0}else throw new System.ArgumentException("Only supported array types for CopyTo on BitArrays are Boolean[], Int32[] and Byte[].");},get:function(n){if(n<0||n>=this.Length)throw new System.ArgumentOutOfRangeException("index","Index was out of range. Must be non-negative and less than the size of the collection.");return(this.m_array[System.Array.index(Bridge.Int.div(n,32)|0,this.m_array)]&1<<n%32)!=0},set:function(n,t){var i,r;if(n<0||n>=this.Length)throw new System.ArgumentOutOfRangeException("index","Index was out of range. Must be non-negative and less than the size of the collection.");t?this.m_array[System.Array.index(i=Bridge.Int.div(n,32)|0,this.m_array)]=this.m_array[System.Array.index(i,this.m_array)]|1<<n%32:this.m_array[System.Array.index(r=Bridge.Int.div(n,32)|0,this.m_array)]=this.m_array[System.Array.index(r,this.m_array)]&~(1<<n%32);this._version=this._version+1|0},setAll:function(n){for(var i=n?-1:0,r=System.Collections.BitArray.getArrayLength(this.m_length,System.Collections.BitArray.BitsPerInt32),t=0;t<r;t=t+1|0)this.m_array[System.Array.index(t,this.m_array)]=i;this._version=this._version+1|0},and:function(n){var i,t;if(n==null)throw new System.ArgumentNullException("value");if(this.Length!==n.Length)throw new System.ArgumentException("Array lengths must be the same.");for(i=System.Collections.BitArray.getArrayLength(this.m_length,System.Collections.BitArray.BitsPerInt32),t=0;t<i;t=t+1|0)this.m_array[System.Array.index(t,this.m_array)]=this.m_array[System.Array.index(t,this.m_array)]&n.m_array[System.Array.index(t,n.m_array)];return this._version=this._version+1|0,this},or:function(n){var i,t;if(n==null)throw new System.ArgumentNullException("value");if(this.Length!==n.Length)throw new System.ArgumentException("Array lengths must be the same.");for(i=System.Collections.BitArray.getArrayLength(this.m_length,System.Collections.BitArray.BitsPerInt32),t=0;t<i;t=t+1|0)this.m_array[System.Array.index(t,this.m_array)]=this.m_array[System.Array.index(t,this.m_array)]|n.m_array[System.Array.index(t,n.m_array)];return this._version=this._version+1|0,this},xor:function(n){var i,t;if(n==null)throw new System.ArgumentNullException("value");if(this.Length!==n.Length)throw new System.ArgumentException("Array lengths must be the same.");for(i=System.Collections.BitArray.getArrayLength(this.m_length,System.Collections.BitArray.BitsPerInt32),t=0;t<i;t=t+1|0)this.m_array[System.Array.index(t,this.m_array)]=this.m_array[System.Array.index(t,this.m_array)]^n.m_array[System.Array.index(t,n.m_array)];return this._version=this._version+1|0,this},not:function(){for(var t=System.Collections.BitArray.getArrayLength(this.m_length,System.Collections.BitArray.BitsPerInt32),n=0;n<t;n=n+1|0)this.m_array[System.Array.index(n,this.m_array)]=~this.m_array[System.Array.index(n,this.m_array)];return this._version=this._version+1|0,this},clone:function(){var n=new System.Collections.BitArray.$ctor5(this.m_array);return n._version=this._version,n.m_length=this.m_length,n},getEnumerator:function(){return new System.Collections.BitArray.BitArrayEnumeratorSimple(this)}}});Bridge.define("System.Collections.BitArray.BitArrayEnumeratorSimple",{inherits:[System.Collections.IEnumerator],$kind:"nested class",fields:{bitarray:null,index:0,version:0,currentElement:!1},props:{Current:{get:function(){if(this.index===-1)throw new System.InvalidOperationException("Enumeration has not started. Call MoveNext.");if(this.index>=this.bitarray.Count)throw new System.InvalidOperationException("Enumeration already finished.");return Bridge.box(this.currentElement,System.Boolean,System.Boolean.toString)}}},alias:["moveNext","System$Collections$IEnumerator$moveNext","Current","System$Collections$IEnumerator$Current","reset","System$Collections$IEnumerator$reset"],ctors:{ctor:function(n){this.$initialize();this.bitarray=n;this.index=-1;this.version=n._version}},methods:{moveNext:function(){if(this.version!==this.bitarray._version)throw new System.InvalidOperationException("Collection was modified; enumeration operation may not execute.");return this.index<(this.bitarray.Count-1|0)?(this.index=this.index+1|0,this.currentElement=this.bitarray.get(this.index),!0):(this.index=this.bitarray.Count,!1)},reset:function(){if(this.version!==this.bitarray._version)throw new System.InvalidOperationException("Collection was modified; enumeration operation may not execute.");this.index=-1}}});Bridge.define("System.Collections.Generic.BitHelper",{statics:{fields:{MarkedBitFlag:0,IntSize:0},ctors:{init:function(){this.MarkedBitFlag=1;this.IntSize=32}},methods:{toIntArrayLength:function(n){return n>0?(Bridge.Int.div(n-1|0,System.Collections.Generic.BitHelper.IntSize)|0)+1|0:0}}},fields:{_length:0,_array:null},ctors:{ctor:function(n,t){this.$initialize();this._array=n;this._length=t}},methods:{markBit:function(n){var t=Bridge.Int.div(n,System.Collections.Generic.BitHelper.IntSize)|0,i;t<this._length&&t>=0&&(i=System.Collections.Generic.BitHelper.MarkedBitFlag<<n%System.Collections.Generic.BitHelper.IntSize,this._array[System.Array.index(t,this._array)]=this._array[System.Array.index(t,this._array)]|i)},isMarked:function(n){var t=Bridge.Int.div(n,System.Collections.Generic.BitHelper.IntSize)|0,i;return t<this._length&&t>=0?(i=System.Collections.Generic.BitHelper.MarkedBitFlag<<n%System.Collections.Generic.BitHelper.IntSize,(this._array[System.Array.index(t,this._array)]&i)!=0):!1}}});Bridge.define("Bridge.Collections.EnumerableHelpers",{statics:{methods:{toArray:function(n,t){var i={},r={v:Bridge.Collections.EnumerableHelpers.toArray$1(n,t,i)};return System.Array.resize(r,i.v,Bridge.getDefaultValue(n)),r.v},toArray$1:function(n,t,i){var u=Bridge.getEnumerator(t,n),s,f,r,e,o;try{if(u.System$Collections$IEnumerator$moveNext()){for(s=4,f={v:System.Array.init(s,function(){return Bridge.getDefaultValue(n)},n)},f.v[System.Array.index(0,f.v)]=u[Bridge.geti(u,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1")],r=1;u.System$Collections$IEnumerator$moveNext();)r===f.v.length&&(e=2146435071,o=r<<1,o>>>0>e&&(o=e<=r?r+1|0:e),System.Array.resize(f,o,Bridge.getDefaultValue(n))),f.v[System.Array.index(Bridge.identity(r,r=r+1|0),f.v)]=u[Bridge.geti(u,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1")];return i.v=r,f.v}}finally{Bridge.hasValue(u)&&u.System$IDisposable$dispose()}return i.v=0,System.Array.init(0,function(){return Bridge.getDefaultValue(n)},n)}}}});Bridge.define("System.Collections.Generic.HashSet$1",function(n){return{inherits:[System.Collections.Generic.ICollection$1(n),System.Collections.Generic.ISet$1(n),System.Collections.Generic.IReadOnlyCollection$1(n)],statics:{fields:{Lower31BitMask:0,ShrinkThreshold:0},ctors:{init:function(){this.Lower31BitMask=2147483647;this.ShrinkThreshold=3}},methods:{hashSetEquals:function(t,i,r){var u,f,e,s,h,o,c;if(t==null)return i==null;if(i==null)return!1;if(System.Collections.Generic.HashSet$1(n).areEqualityComparersEqual(t,i)){if(t.Count!==i.Count)return!1;u=Bridge.getEnumerator(i);try{while(u.moveNext())if(s=u.Current,!t.contains(s))return!1}finally{Bridge.is(u,System.IDisposable)&&u.System$IDisposable$dispose()}return!0}f=Bridge.getEnumerator(i);try{while(f.moveNext()){h=f.Current;o=!1;e=Bridge.getEnumerator(t);try{while(e.moveNext())if(c=e.Current,r[Bridge.geti(r,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](h,c)){o=!0;break}}finally{Bridge.is(e,System.IDisposable)&&e.System$IDisposable$dispose()}if(!o)return!1}}finally{Bridge.is(f,System.IDisposable)&&f.System$IDisposable$dispose()}return!0},areEqualityComparersEqual:function(n,t){return Bridge.equals(n.Comparer,t.Comparer)}}},fields:{_buckets:null,_slots:null,_count:0,_lastIndex:0,_freeList:0,_comparer:null,_version:0},props:{Count:{get:function(){return this._count}},IsReadOnly:{get:function(){return!1}},Comparer:{get:function(){return this._comparer}}},alias:["System$Collections$Generic$ICollection$1$add","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$add","clear","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$clear","contains","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$contains","copyTo","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$copyTo","remove","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$remove","Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$Count","IsReadOnly","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$IsReadOnly","System$Collections$Generic$IEnumerable$1$getEnumerator","System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$getEnumerator","add","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$add","unionWith","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$unionWith","intersectWith","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$intersectWith","exceptWith","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$exceptWith","symmetricExceptWith","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$symmetricExceptWith","isSubsetOf","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$isSubsetOf","isProperSubsetOf","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$isProperSubsetOf","isSupersetOf","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$isSupersetOf","isProperSupersetOf","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$isProperSupersetOf","overlaps","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$overlaps","setEquals","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$setEquals"],ctors:{ctor:function(){System.Collections.Generic.HashSet$1(n).$ctor3.call(this,System.Collections.Generic.EqualityComparer$1(n).def)},$ctor3:function(t){this.$initialize();t==null&&(t=System.Collections.Generic.EqualityComparer$1(n).def);this._comparer=t;this._lastIndex=0;this._count=0;this._freeList=-1;this._version=0},$ctor1:function(t){System.Collections.Generic.HashSet$1(n).$ctor2.call(this,t,System.Collections.Generic.EqualityComparer$1(n).def)},$ctor2:function(t,i){if(System.Collections.Generic.HashSet$1(n).$ctor3.call(this,i),t==null)throw new System.ArgumentNullException("collection");var r=0,u=Bridge.as(t,System.Collections.Generic.ICollection$1(n));u!=null&&(r=System.Array.getCount(u,n));this.initialize(r);this.unionWith(t);(this._count===0&&this._slots.length>System.Collections.HashHelpers.getMinPrime()||this._count>0&&(Bridge.Int.div(this._slots.length,this._count)|0)>System.Collections.Generic.HashSet$1(n).ShrinkThreshold)&&this.trimExcess()}},methods:{System$Collections$Generic$ICollection$1$add:function(n){this.addIfNotPresent(n)},add:function(n){return this.addIfNotPresent(n)},clear:function(){var t,i;if(this._lastIndex>0){for(t=0;t<this._lastIndex;t=t+1|0)this._slots[System.Array.index(t,this._slots)]=new(System.Collections.Generic.HashSet$1.Slot(n));for(i=0;i<this._buckets.length;i=i+1|0)this._buckets[System.Array.index(i,this._buckets)]=0;this._lastIndex=0;this._count=0;this._freeList=-1}this._version=this._version+1|0},arrayClear:function(){},contains:function(t){var r,i;if(this._buckets!=null)for(r=this.internalGetHashCode(t),i=this._buckets[System.Array.index(r%this._buckets.length,this._buckets)]-1|0;i>=0;i=this._slots[System.Array.index(i,this._slots)].next)if(this._slots[System.Array.index(i,this._slots)].hashCode===r&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(i,this._slots)].value,t))return!0;return!1},copyTo:function(n,t){this.copyTo$2(n,t,this._count)},copyTo$1:function(n){this.copyTo$2(n,0,this._count)},copyTo$2:function(n,t,i){var u,r;if(n==null)throw new System.ArgumentNullException("array");if(t<0)throw new System.ArgumentOutOfRangeException("arrayIndex");if(i<0)throw new System.ArgumentOutOfRangeException("count");if(t>n.length||i>(n.length-t|0))throw new System.ArgumentException("Destination array is not long enough to copy all the items in the collection. Check array index and length.");for(u=0,r=0;r<this._lastIndex&&u<i;r=r+1|0)this._slots[System.Array.index(r,this._slots)].hashCode>=0&&(n[System.Array.index(t+u|0,n)]=this._slots[System.Array.index(r,this._slots)].value,u=u+1|0)},remove:function(t){var i;if(this._buckets!=null){var u=this.internalGetHashCode(t),f=u%this._buckets.length,r=-1;for(i=this._buckets[System.Array.index(f,this._buckets)]-1|0;i>=0;r=i,i=this._slots[System.Array.index(i,this._slots)].next)if(this._slots[System.Array.index(i,this._slots)].hashCode===u&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(i,this._slots)].value,t))return r<0?this._buckets[System.Array.index(f,this._buckets)]=this._slots[System.Array.index(i,this._slots)].next+1|0:this._slots[System.Array.index(r,this._slots)].next=this._slots[System.Array.index(i,this._slots)].next,this._slots[System.Array.index(i,this._slots)].hashCode=-1,this._slots[System.Array.index(i,this._slots)].value=Bridge.getDefaultValue(n),this._slots[System.Array.index(i,this._slots)].next=this._freeList,this._count=this._count-1|0,this._version=this._version+1|0,this._count===0?(this._lastIndex=0,this._freeList=-1):this._freeList=i,!0}return!1},getEnumerator:function(){return new(System.Collections.Generic.HashSet$1.Enumerator(n).$ctor1)(this)},System$Collections$Generic$IEnumerable$1$getEnumerator:function(){return new(System.Collections.Generic.HashSet$1.Enumerator(n).$ctor1)(this).$clone()},System$Collections$IEnumerable$getEnumerator:function(){return new(System.Collections.Generic.HashSet$1.Enumerator(n).$ctor1)(this).$clone()},unionWith:function(t){var i,r;if(t==null)throw new System.ArgumentNullException("other");i=Bridge.getEnumerator(t,n);try{while(i.moveNext())r=i.Current,this.addIfNotPresent(r)}finally{Bridge.is(i,System.IDisposable)&&i.System$IDisposable$dispose()}},intersectWith:function(t){var r,i;if(t==null)throw new System.ArgumentNullException("other");if(this._count!==0){if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null){if(System.Array.getCount(r,n)===0){this.clear();return}if(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).areEqualityComparersEqual(this,i)){this.intersectWithHashSetWithSameEC(i);return}}this.intersectWithEnumerable(t)}},exceptWith:function(t){var i,r;if(t==null)throw new System.ArgumentNullException("other");if(this._count!==0){if(Bridge.referenceEquals(t,this)){this.clear();return}i=Bridge.getEnumerator(t,n);try{while(i.moveNext())r=i.Current,this.remove(r)}finally{Bridge.is(i,System.IDisposable)&&i.System$IDisposable$dispose()}}},symmetricExceptWith:function(t){if(t==null)throw new System.ArgumentNullException("other");if(this._count===0){this.unionWith(t);return}if(Bridge.referenceEquals(t,this)){this.clear();return}var i=Bridge.as(t,System.Collections.Generic.HashSet$1(n));i!=null&&System.Collections.Generic.HashSet$1(n).areEqualityComparersEqual(this,i)?this.symmetricExceptWithUniqueHashSet(i):this.symmetricExceptWithEnumerable(t)},isSubsetOf:function(t){var i,r;if(t==null)throw new System.ArgumentNullException("other");return this._count===0?!0:(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).areEqualityComparersEqual(this,i)?this._count>i.Count?!1:this.isSubsetOfHashSetWithSameEC(i):(r=this.checkUniqueAndUnfoundElements(t,!1),r.uniqueCount===this._count&&r.unfoundCount>=0))},isProperSubsetOf:function(t){var r,i,u;if(t==null)throw new System.ArgumentNullException("other");if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null){if(this._count===0)return System.Array.getCount(r,n)>0;if(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).areEqualityComparersEqual(this,i))return this._count>=i.Count?!1:this.isSubsetOfHashSetWithSameEC(i)}return u=this.checkUniqueAndUnfoundElements(t,!1),u.uniqueCount===this._count&&u.unfoundCount>0},isSupersetOf:function(t){var r,i;if(t==null)throw new System.ArgumentNullException("other");if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null){if(System.Array.getCount(r,n)===0)return!0;if(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).areEqualityComparersEqual(this,i)&&i.Count>this._count)return!1}return this.containsAllElements(t)},isProperSupersetOf:function(t){var r,i,u;if(t==null)throw new System.ArgumentNullException("other");if(this._count===0)return!1;if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null){if(System.Array.getCount(r,n)===0)return!0;if(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).areEqualityComparersEqual(this,i))return i.Count>=this._count?!1:this.containsAllElements(i)}return u=this.checkUniqueAndUnfoundElements(t,!0),u.uniqueCount<this._count&&u.unfoundCount===0},overlaps:function(t){var i,r;if(t==null)throw new System.ArgumentNullException("other");if(this._count===0)return!1;i=Bridge.getEnumerator(t,n);try{while(i.moveNext())if(r=i.Current,this.contains(r))return!0}finally{Bridge.is(i,System.IDisposable)&&i.System$IDisposable$dispose()}return!1},setEquals:function(t){var i,r,u;if(t==null)throw new System.ArgumentNullException("other");return i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).areEqualityComparersEqual(this,i)?this._count!==i.Count?!1:this.containsAllElements(i):(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null&&this._count===0&&System.Array.getCount(r,n)>0)?!1:(u=this.checkUniqueAndUnfoundElements(t,!0),u.uniqueCount===this._count&&u.unfoundCount===0)},removeWhere:function(n){var i,t,r;if(Bridge.staticEquals(n,null))throw new System.ArgumentNullException("match");for(i=0,t=0;t<this._lastIndex;t=t+1|0)this._slots[System.Array.index(t,this._slots)].hashCode>=0&&(r=this._slots[System.Array.index(t,this._slots)].value,n(r)&&this.remove(r)&&(i=i+1|0));return i},trimExcess:function(){var r,e;if(this._count===0)this._buckets=null,this._slots=null,this._version=this._version+1|0;else{var f=System.Collections.HashHelpers.getPrime(this._count),t=System.Array.init(f,function(){return new(System.Collections.Generic.HashSet$1.Slot(n))},System.Collections.Generic.HashSet$1.Slot(n)),u=System.Array.init(f,0,System.Int32),i=0;for(r=0;r<this._lastIndex;r=r+1|0)this._slots[System.Array.index(r,this._slots)].hashCode>=0&&(t[System.Array.index(i,t)]=this._slots[System.Array.index(r,this._slots)].$clone(),e=t[System.Array.index(i,t)].hashCode%f,t[System.Array.index(i,t)].next=u[System.Array.index(e,u)]-1|0,u[System.Array.index(e,u)]=i+1|0,i=i+1|0);this._lastIndex=i;this._slots=t;this._buckets=u;this._freeList=-1}},initialize:function(t){var i=System.Collections.HashHelpers.getPrime(t);this._buckets=System.Array.init(i,0,System.Int32);this._slots=System.Array.init(i,function(){return new(System.Collections.Generic.HashSet$1.Slot(n))},System.Collections.Generic.HashSet$1.Slot(n))},increaseCapacity:function(){var n=System.Collections.HashHelpers.expandPrime(this._count);if(n<=this._count)throw new System.ArgumentException("HashSet capacity is too big.");this.setCapacity(n,!1)},setCapacity:function(t,i){var r=System.Array.init(t,function(){return new(System.Collections.Generic.HashSet$1.Slot(n))},System.Collections.Generic.HashSet$1.Slot(n)),e,u,o,f,s;if(this._slots!=null)for(e=0;e<this._lastIndex;e=e+1|0)r[System.Array.index(e,r)]=this._slots[System.Array.index(e,this._slots)].$clone();if(i)for(u=0;u<this._lastIndex;u=u+1|0)r[System.Array.index(u,r)].hashCode!==-1&&(r[System.Array.index(u,r)].hashCode=this.internalGetHashCode(r[System.Array.index(u,r)].value));for(o=System.Array.init(t,0,System.Int32),f=0;f<this._lastIndex;f=f+1|0)s=r[System.Array.index(f,r)].hashCode%t,r[System.Array.index(f,r)].next=o[System.Array.index(s,o)]-1|0,o[System.Array.index(s,o)]=f+1|0;this._slots=r;this._buckets=o},addIfNotPresent:function(t){var u,f,r,i;for(this._buckets==null&&this.initialize(0),u=this.internalGetHashCode(t),f=u%this._buckets.length,r=this._buckets[System.Array.index(f,this._buckets)]-1|0;r>=0;r=this._slots[System.Array.index(r,this._slots)].next)if(this._slots[System.Array.index(r,this._slots)].hashCode===u&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(r,this._slots)].value,t))return!1;return this._freeList>=0?(i=this._freeList,this._freeList=this._slots[System.Array.index(i,this._slots)].next):(this._lastIndex===this._slots.length&&(this.increaseCapacity(),f=u%this._buckets.length),i=this._lastIndex,this._lastIndex=this._lastIndex+1|0),this._slots[System.Array.index(i,this._slots)].hashCode=u,this._slots[System.Array.index(i,this._slots)].value=t,this._slots[System.Array.index(i,this._slots)].next=this._buckets[System.Array.index(f,this._buckets)]-1|0,this._buckets[System.Array.index(f,this._buckets)]=i+1|0,this._count=this._count+1|0,this._version=this._version+1|0,!0},containsAllElements:function(t){var i,r;i=Bridge.getEnumerator(t,n);try{while(i.moveNext())if(r=i.Current,!this.contains(r))return!1}finally{Bridge.is(i,System.IDisposable)&&i.System$IDisposable$dispose()}return!0},isSubsetOfHashSetWithSameEC:function(n){var t,i;t=Bridge.getEnumerator(this);try{while(t.moveNext())if(i=t.Current,!n.contains(i))return!1}finally{Bridge.is(t,System.IDisposable)&&t.System$IDisposable$dispose()}return!0},intersectWithHashSetWithSameEC:function(n){for(var i,t=0;t<this._lastIndex;t=t+1|0)this._slots[System.Array.index(t,this._slots)].hashCode>=0&&(i=this._slots[System.Array.index(t,this._slots)].value,n.contains(i)||this.remove(i))},intersectWithEnumerable:function(t){var r,e=this._lastIndex,o=System.Collections.Generic.BitHelper.toIntArrayLength(e),u,h=System.Array.init(o,0,System.Int32),s,f,i;u=new System.Collections.Generic.BitHelper(h,o);r=Bridge.getEnumerator(t,n);try{while(r.moveNext())s=r.Current,f=this.internalIndexOf(s),f>=0&&u.markBit(f)}finally{Bridge.is(r,System.IDisposable)&&r.System$IDisposable$dispose()}for(i=0;i<e;i=i+1|0)this._slots[System.Array.index(i,this._slots)].hashCode>=0&&!u.isMarked(i)&&this.remove(this._slots[System.Array.index(i,this._slots)].value)},internalIndexOf:function(t){for(var r=this.internalGetHashCode(t),i=this._buckets[System.Array.index(r%this._buckets.length,this._buckets)]-1|0;i>=0;i=this._slots[System.Array.index(i,this._slots)].next)if(this._slots[System.Array.index(i,this._slots)].hashCode===r&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(i,this._slots)].value,t))return i;return-1},symmetricExceptWithUniqueHashSet:function(n){var t,i;t=Bridge.getEnumerator(n);try{while(t.moveNext())i=t.Current,this.remove(i)||this.addIfNotPresent(i)}finally{Bridge.is(t,System.IDisposable)&&t.System$IDisposable$dispose()}},symmetricExceptWithEnumerable:function(t){var r,e=this._lastIndex,f=System.Collections.Generic.BitHelper.toIntArrayLength(e),o,s,c=System.Array.init(f,0,System.Int32),h,i;o=new System.Collections.Generic.BitHelper(c,f);h=System.Array.init(f,0,System.Int32);s=new System.Collections.Generic.BitHelper(h,f);r=Bridge.getEnumerator(t,n);try{while(r.moveNext()){var l=r.Current,u={v:0},a=this.addOrGetLocation(l,u);a?s.markBit(u.v):u.v<e&&!s.isMarked(u.v)&&o.markBit(u.v)}}finally{Bridge.is(r,System.IDisposable)&&r.System$IDisposable$dispose()}for(i=0;i<e;i=i+1|0)o.isMarked(i)&&this.remove(this._slots[System.Array.index(i,this._slots)].value)},addOrGetLocation:function(t,i){for(var r,f=this.internalGetHashCode(t),e=f%this._buckets.length,u=this._buckets[System.Array.index(e,this._buckets)]-1|0;u>=0;u=this._slots[System.Array.index(u,this._slots)].next)if(this._slots[System.Array.index(u,this._slots)].hashCode===f&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(u,this._slots)].value,t))return i.v=u,!1;return this._freeList>=0?(r=this._freeList,this._freeList=this._slots[System.Array.index(r,this._slots)].next):(this._lastIndex===this._slots.length&&(this.increaseCapacity(),e=f%this._buckets.length),r=this._lastIndex,this._lastIndex=this._lastIndex+1|0),this._slots[System.Array.index(r,this._slots)].hashCode=f,this._slots[System.Array.index(r,this._slots)].value=t,this._slots[System.Array.index(r,this._slots)].next=this._buckets[System.Array.index(e,this._buckets)]-1|0,this._buckets[System.Array.index(e,this._buckets)]=r+1|0,this._count=this._count+1|0,this._version=this._version+1|0,i.v=r,!0},checkUniqueAndUnfoundElements:function(t,i){var u,f,r=new(System.Collections.Generic.HashSet$1.ElementCount(n)),e,v,o,s,a,h;if(this._count===0){e=0;u=Bridge.getEnumerator(t,n);try{while(u.moveNext()){v=u.Current;e=e+1|0;break}}finally{Bridge.is(u,System.IDisposable)&&u.System$IDisposable$dispose()}return r.uniqueCount=0,r.unfoundCount=e,r.$clone()}var y=this._lastIndex,l=System.Collections.Generic.BitHelper.toIntArrayLength(y),c,p=System.Array.init(l,0,System.Int32);c=new System.Collections.Generic.BitHelper(p,l);o=0;s=0;f=Bridge.getEnumerator(t,n);try{while(f.moveNext())if(a=f.Current,h=this.internalIndexOf(a),h>=0)c.isMarked(h)||(c.markBit(h),s=s+1|0);else if(o=o+1|0,i)break}finally{Bridge.is(f,System.IDisposable)&&f.System$IDisposable$dispose()}return r.uniqueCount=s,r.unfoundCount=o,r.$clone()},toArray:function(){var t=System.Array.init(this.Count,function(){return Bridge.getDefaultValue(n)},n);return this.copyTo$1(t),t},internalGetHashCode:function(t){return t==null?0:this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$getHashCode2","System$Collections$Generic$IEqualityComparer$1$getHashCode2")](t)&System.Collections.Generic.HashSet$1(n).Lower31BitMask}}}});Bridge.define("System.Collections.Generic.HashSet$1.ElementCount",function(n){return{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.HashSet$1.ElementCount(n))}}},fields:{uniqueCount:0,unfoundCount:0},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([4920463385,this.uniqueCount,this.unfoundCount])},equals:function(t){return Bridge.is(t,System.Collections.Generic.HashSet$1.ElementCount(n))?Bridge.equals(this.uniqueCount,t.uniqueCount)&&Bridge.equals(this.unfoundCount,t.unfoundCount):!1},$clone:function(t){var i=t||new(System.Collections.Generic.HashSet$1.ElementCount(n));return i.uniqueCount=this.uniqueCount,i.unfoundCount=this.unfoundCount,i}}}});Bridge.define("System.Collections.Generic.HashSet$1.Enumerator",function(n){return{inherits:[System.Collections.Generic.IEnumerator$1(n)],$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.HashSet$1.Enumerator(n))}}},fields:{_set:null,_index:0,_version:0,_current:Bridge.getDefaultValue(n)},props:{Current:{get:function(){return this._current}},System$Collections$IEnumerator$Current:{get:function(){if(this._index===0||this._index===(this._set._lastIndex+1|0))throw new System.InvalidOperationException("Enumeration has either not started or has already finished.");return this.Current}}},alias:["dispose","System$IDisposable$dispose","moveNext","System$Collections$IEnumerator$moveNext","Current",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"]],ctors:{$ctor1:function(t){this.$initialize();this._set=t;this._index=0;this._version=t._version;this._current=Bridge.getDefaultValue(n)},ctor:function(){this.$initialize()}},methods:{dispose:function(){},moveNext:function(){var t,i;if(this._version!==this._set._version)throw new System.InvalidOperationException("Collection was modified; enumeration operation may not execute.");while(this._index<this._set._lastIndex){if((t=this._set._slots)[System.Array.index(this._index,t)].hashCode>=0)return this._current=(i=this._set._slots)[System.Array.index(this._index,i)].value,this._index=this._index+1|0,!0;this._index=this._index+1|0}return this._index=this._set._lastIndex+1|0,this._current=Bridge.getDefaultValue(n),!1},System$Collections$IEnumerator$reset:function(){if(this._version!==this._set._version)throw new System.InvalidOperationException("Collection was modified; enumeration operation may not execute.");this._index=0;this._current=Bridge.getDefaultValue(n)},getHashCode:function(){return Bridge.addHash([3788985113,this._set,this._index,this._version,this._current])},equals:function(t){return Bridge.is(t,System.Collections.Generic.HashSet$1.Enumerator(n))?Bridge.equals(this._set,t._set)&&Bridge.equals(this._index,t._index)&&Bridge.equals(this._version,t._version)&&Bridge.equals(this._current,t._current):!1},$clone:function(t){var i=t||new(System.Collections.Generic.HashSet$1.Enumerator(n));return i._set=this._set,i._index=this._index,i._version=this._version,i._current=this._current,i}}}});Bridge.define("System.Collections.Generic.HashSet$1.Slot",function(n){return{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.HashSet$1.Slot(n))}}},fields:{hashCode:0,value:Bridge.getDefaultValue(n),next:0},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1953459283,this.hashCode,this.value,this.next])},equals:function(t){return Bridge.is(t,System.Collections.Generic.HashSet$1.Slot(n))?Bridge.equals(this.hashCode,t.hashCode)&&Bridge.equals(this.value,t.value)&&Bridge.equals(this.next,t.next):!1},$clone:function(t){var i=t||new(System.Collections.Generic.HashSet$1.Slot(n));return i.hashCode=this.hashCode,i.value=this.value,i.next=this.next,i}}}});Bridge.define("System.Collections.Generic.Queue$1",function(n){return{inherits:[System.Collections.Generic.IEnumerable$1(n),System.Collections.ICollection,System.Collections.Generic.IReadOnlyCollection$1(n)],statics:{fields:{MinimumGrow:0,GrowFactor:0,DefaultCapacity:0},ctors:{init:function(){this.MinimumGrow=4;this.GrowFactor=200;this.DefaultCapacity=4}}},fields:{_array:null,_head:0,_tail:0,_size:0,_version:0},props:{Count:{get:function(){return this._size}},System$Collections$ICollection$IsSynchronized:{get:function(){return!1}},System$Collections$ICollection$SyncRoot:{get:function(){return this}},IsReadOnly:{get:function(){return!1}}},alias:["Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$ICollection$Count","copyTo","System$Collections$ICollection$copyTo","System$Collections$Generic$IEnumerable$1$getEnumerator","System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$getEnumerator"],ctors:{ctor:function(){this.$initialize();this._array=System.Array.init(0,function(){return Bridge.getDefaultValue(n)},n)},$ctor2:function(t){if(this.$initialize(),t<0)throw new System.ArgumentOutOfRangeException("capacity","Non-negative number required.");this._array=System.Array.init(t,function(){return Bridge.getDefaultValue(n)},n)},$ctor1:function(t){if(this.$initialize(),t==null)throw new System.ArgumentNullException("collection");this._array=System.Array.init(System.Collections.Generic.Queue$1(n).DefaultCapacity,function(){return Bridge.getDefaultValue(n)},n);var i=Bridge.getEnumerator(t,n);try{while(i.System$Collections$IEnumerator$moveNext())this.enqueue(i[Bridge.geti(i,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1")])}finally{Bridge.hasValue(i)&&i.System$IDisposable$dispose()}}},methods:{copyTo:function(n,t){var u,i,r;if(n==null)throw new System.ArgumentNullException("array");if(System.Array.getRank(n)!==1)throw new System.ArgumentException("Only single dimensional arrays are supported for the requested action.");if(t<0)throw new System.ArgumentOutOfRangeException("index");if(u=n.length,(u-t|0)<this._size)throw new System.ArgumentException("Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.");(i=this._size,i!==0)&&(r=(this._array.length-this._head|0)<i?this._array.length-this._head|0:i,System.Array.copy(this._array,this._head,n,t,r),i=i-r|0,i>0&&System.Array.copy(this._array,0,n,(t+this._array.length|0)-this._head|0,i))},copyTo$1:function(n,t){var r,i,u;if(n==null)throw new System.ArgumentNullException("array");if(t<0||t>n.length)throw new System.ArgumentOutOfRangeException("arrayIndex","Index was out of range. Must be non-negative and less than the size of the collection.");if(r=n.length,(r-t|0)<this._size)throw new System.ArgumentException("Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.");(i=(r-t|0)<this._size?r-t|0:this._size,i!==0)&&(u=(this._array.length-this._head|0)<i?this._array.length-this._head|0:i,System.Array.copy(this._array,this._head,n,t,u),i=i-u|0,i>0&&System.Array.copy(this._array,0,n,(t+this._array.length|0)-this._head|0,i))},clear:function(){this._head<this._tail?System.Array.fill(this._array,Bridge.getDefaultValue(n),this._head,this._size):(System.Array.fill(this._array,Bridge.getDefaultValue(n),this._head,this._array.length-this._head|0),System.Array.fill(this._array,Bridge.getDefaultValue(n),0,this._tail));this._head=0;this._tail=0;this._size=0;this._version=this._version+1|0},enqueue:function(t){if(this._size===this._array.length){var i=Bridge.Int.div(Bridge.Int.mul(this._array.length,System.Collections.Generic.Queue$1(n).GrowFactor),100)|0;i<(this._array.length+System.Collections.Generic.Queue$1(n).MinimumGrow|0)&&(i=this._array.length+System.Collections.Generic.Queue$1(n).MinimumGrow|0);this.setCapacity(i)}this._array[System.Array.index(this._tail,this._array)]=t;this._tail=this.moveNext(this._tail);this._size=this._size+1|0;this._version=this._version+1|0},getEnumerator:function(){return new(System.Collections.Generic.Queue$1.Enumerator(n).$ctor1)(this)},System$Collections$Generic$IEnumerable$1$getEnumerator:function(){return new(System.Collections.Generic.Queue$1.Enumerator(n).$ctor1)(this).$clone()},System$Collections$IEnumerable$getEnumerator:function(){return new(System.Collections.Generic.Queue$1.Enumerator(n).$ctor1)(this).$clone()},dequeue:function(){if(this._size===0)throw new System.InvalidOperationException("Queue empty.");var t=this._array[System.Array.index(this._head,this._array)];return this._array[System.Array.index(this._head,this._array)]=Bridge.getDefaultValue(n),this._head=this.moveNext(this._head),this._size=this._size-1|0,this._version=this._version+1|0,t},peek:function(){if(this._size===0)throw new System.InvalidOperationException("Queue empty.");return this._array[System.Array.index(this._head,this._array)]},contains:function(t){for(var i=this._head,r=this._size,u=System.Collections.Generic.EqualityComparer$1(n).def;Bridge.identity(r,r=r-1|0)>0;){if(t==null){if(this._array[System.Array.index(i,this._array)]==null)return!0}else if(this._array[System.Array.index(i,this._array)]!=null&&u.equals2(this._array[System.Array.index(i,this._array)],t))return!0;i=this.moveNext(i)}return!1},getElement:function(n){return this._array[System.Array.index((this._head+n|0)%this._array.length,this._array)]},toArray:function(){var t=System.Array.init(this._size,function(){return Bridge.getDefaultValue(n)},n);return this._size===0?t:(this._head<this._tail?System.Array.copy(this._array,this._head,t,0,this._size):(System.Array.copy(this._array,this._head,t,0,this._array.length-this._head|0),System.Array.copy(this._array,0,t,this._array.length-this._head|0,this._tail)),t)},setCapacity:function(t){var i=System.Array.init(t,function(){return Bridge.getDefaultValue(n)},n);this._size>0&&(this._head<this._tail?System.Array.copy(this._array,this._head,i,0,this._size):(System.Array.copy(this._array,this._head,i,0,this._array.length-this._head|0),System.Array.copy(this._array,0,i,this._array.length-this._head|0,this._tail)));this._array=i;this._head=0;this._tail=this._size===t?0:this._size;this._version=this._version+1|0},moveNext:function(n){var t=n+1|0;return t===this._array.length?0:t},trimExcess:function(){var n=Bridge.Int.clip32(this._array.length*.9);this._size<n&&this.setCapacity(this._size)}}}});Bridge.define("System.Collections.Generic.Queue$1.Enumerator",function(n){return{inherits:[System.Collections.Generic.IEnumerator$1(n),System.Collections.IEnumerator],$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.Queue$1.Enumerator(n))}}},fields:{_q:null,_index:0,_version:0,_currentElement:Bridge.getDefaultValue(n)},props:{Current:{get:function(){if(this._index<0)if(this._index===-1)throw new System.InvalidOperationException("Enumeration has not started. Call MoveNext.");else throw new System.InvalidOperationException("Enumeration already finished.");return this._currentElement}},System$Collections$IEnumerator$Current:{get:function(){return this.Current}}},alias:["dispose","System$IDisposable$dispose","moveNext","System$Collections$IEnumerator$moveNext","Current",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"]],ctors:{$ctor1:function(t){this.$initialize();this._q=t;this._version=this._q._version;this._index=-1;this._currentElement=Bridge.getDefaultValue(n)},ctor:function(){this.$initialize()}},methods:{dispose:function(){this._index=-2;this._currentElement=Bridge.getDefaultValue(n)},moveNext:function(){if(this._version!==this._q._version)throw new System.InvalidOperationException("Collection was modified; enumeration operation may not execute.");return this._index===-2?!1:(this._index=this._index+1|0,this._index===this._q._size)?(this._index=-2,this._currentElement=Bridge.getDefaultValue(n),!1):(this._currentElement=this._q.getElement(this._index),!0)},System$Collections$IEnumerator$reset:function(){if(this._version!==this._q._version)throw new System.InvalidOperationException("Collection was modified; enumeration operation may not execute.");this._index=-1;this._currentElement=Bridge.getDefaultValue(n)},getHashCode:function(){return Bridge.addHash([3788985113,this._q,this._index,this._version,this._currentElement])},equals:function(t){return Bridge.is(t,System.Collections.Generic.Queue$1.Enumerator(n))?Bridge.equals(this._q,t._q)&&Bridge.equals(this._index,t._index)&&Bridge.equals(this._version,t._version)&&Bridge.equals(this._currentElement,t._currentElement):!1},$clone:function(t){var i=t||new(System.Collections.Generic.Queue$1.Enumerator(n));return i._q=this._q,i._index=this._index,i._version=this._version,i._currentElement=this._currentElement,i}}}});Bridge.define("System.Collections.Generic.Stack$1",function(n){return{inherits:[System.Collections.Generic.IEnumerable$1(n),System.Collections.ICollection,System.Collections.Generic.IReadOnlyCollection$1(n)],statics:{fields:{DefaultCapacity:0},ctors:{init:function(){this.DefaultCapacity=4}}},fields:{_array:null,_size:0,_version:0},props:{Count:{get:function(){return this._size}},System$Collections$ICollection$IsSynchronized:{get:function(){return!1}},System$Collections$ICollection$SyncRoot:{get:function(){return this}},IsReadOnly:{get:function(){return!1}}},alias:["Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$ICollection$Count","copyTo","System$Collections$ICollection$copyTo","System$Collections$Generic$IEnumerable$1$getEnumerator","System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$getEnumerator"],ctors:{ctor:function(){this.$initialize();this._array=System.Array.init(0,function(){return Bridge.getDefaultValue(n)},n)},$ctor2:function(t){if(this.$initialize(),t<0)throw new System.ArgumentOutOfRangeException("capacity","Non-negative number required.");this._array=System.Array.init(t,function(){return Bridge.getDefaultValue(n)},n)},$ctor1:function(t){if(this.$initialize(),t==null)throw new System.ArgumentNullException("collection");var i={};this._array=Bridge.Collections.EnumerableHelpers.toArray$1(n,t,i);this._size=i.v}},methods:{clear:function(){System.Array.fill(this._array,Bridge.getDefaultValue(n),0,this._size);this._size=0;this._version=this._version+1|0},contains:function(t){for(var i=this._size,r=System.Collections.Generic.EqualityComparer$1(n).def;Bridge.identity(i,i=i-1|0)>0;)if(t==null){if(this._array[System.Array.index(i,this._array)]==null)return!0}else if(this._array[System.Array.index(i,this._array)]!=null&&r.equals2(this._array[System.Array.index(i,this._array)],t))return!0;return!1},copyTo$1:function(n,t){var i,u,r;if(n==null)throw new System.ArgumentNullException("array");if(t<0||t>n.length)throw new System.ArgumentOutOfRangeException("arrayIndex","Non-negative number required.");if((n.length-t|0)<this._size)throw new System.ArgumentException("Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.");if(Bridge.referenceEquals(n,this._array))System.Array.copy(this._array,0,n,t,this._size),System.Array.reverse(n,t,this._size);else for(i=0,u=t+this._size|0,r=0;r<this._size;r=r+1|0)n[System.Array.index(u=u-1|0,n)]=this._array[System.Array.index(Bridge.identity(i,i=i+1|0),this._array)]},copyTo:function(n,t){if(n==null)throw new System.ArgumentNullException("array");if(System.Array.getRank(n)!==1)throw new System.ArgumentException("Only single dimensional arrays are supported for the requested action.");if(System.Array.getLower(n,0)!==0)throw new System.ArgumentException("The lower bound of target array must be zero.");if(t<0||t>n.length)throw new System.ArgumentOutOfRangeException("arrayIndex","Non-negative number required.");if((n.length-t|0)<this._size)throw new System.ArgumentException("Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.");try{System.Array.copy(this._array,0,n,t,this._size);System.Array.reverse(n,t,this._size)}catch(i){i=System.Exception.create(i);throw new System.ArgumentException("Target array type is not compatible with the type of items in the collection.");}},getEnumerator:function(){return new(System.Collections.Generic.Stack$1.Enumerator(n).$ctor1)(this)},System$Collections$Generic$IEnumerable$1$getEnumerator:function(){return new(System.Collections.Generic.Stack$1.Enumerator(n).$ctor1)(this).$clone()},System$Collections$IEnumerable$getEnumerator:function(){return new(System.Collections.Generic.Stack$1.Enumerator(n).$ctor1)(this).$clone()},trimExcess:function(){var i=Bridge.Int.clip32(this._array.length*.9),t;this._size<i&&(t={v:this._array},System.Array.resize(t,this._size,Bridge.getDefaultValue(n)),this._array=t.v,this._version=this._version+1|0)},peek:function(){if(this._size===0)throw new System.InvalidOperationException("Stack empty.");return this._array[System.Array.index(this._size-1|0,this._array)]},pop:function(){if(this._size===0)throw new System.InvalidOperationException("Stack empty.");this._version=this._version+1|0;var t=this._array[System.Array.index(this._size=this._size-1|0,this._array)];return this._array[System.Array.index(this._size,this._array)]=Bridge.getDefaultValue(n),t},push:function(t){if(this._size===this._array.length){var i={v:this._array};System.Array.resize(i,this._array.length===0?System.Collections.Generic.Stack$1(n).DefaultCapacity:Bridge.Int.mul(2,this._array.length),Bridge.getDefaultValue(n));this._array=i.v}this._array[System.Array.index(Bridge.identity(this._size,this._size=this._size+1|0),this._array)]=t;this._version=this._version+1|0},toArray:function(){for(var i=System.Array.init(this._size,function(){return Bridge.getDefaultValue(n)},n),t=0;t<this._size;)i[System.Array.index(t,i)]=this._array[System.Array.index((this._size-t|0)-1|0,this._array)],t=t+1|0;return i}}}});Bridge.define("System.Collections.Generic.Stack$1.Enumerator",function(n){return{inherits:[System.Collections.Generic.IEnumerator$1(n),System.Collections.IEnumerator],$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.Stack$1.Enumerator(n))}}},fields:{_stack:null,_index:0,_version:0,_currentElement:Bridge.getDefaultValue(n)},props:{Current:{get:function(){if(this._index===-2)throw new System.InvalidOperationException("Enumeration has not started. Call MoveNext.");if(this._index===-1)throw new System.InvalidOperationException("Enumeration already finished.");return this._currentElement}},System$Collections$IEnumerator$Current:{get:function(){if(this._index===-2)throw new System.InvalidOperationException("Enumeration has not started. Call MoveNext.");if(this._index===-1)throw new System.InvalidOperationException("Enumeration already finished.");return this._currentElement}}},alias:["dispose","System$IDisposable$dispose","moveNext","System$Collections$IEnumerator$moveNext","Current",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"]],ctors:{$ctor1:function(t){this.$initialize();this._stack=t;this._version=this._stack._version;this._index=-2;this._currentElement=Bridge.getDefaultValue(n)},ctor:function(){this.$initialize()}},methods:{dispose:function(){this._index=-1},moveNext:function(){var i,r,t;if(this._version!==this._stack._version)throw new System.InvalidOperationException("Collection was modified; enumeration operation may not execute.");return this._index===-2?(this._index=this._stack._size-1|0,t=this._index>=0,t&&(this._currentElement=(i=this._stack._array)[System.Array.index(this._index,i)]),t):this._index===-1?!1:(t=(this._index=this._index-1|0)>=0,this._currentElement=t?(r=this._stack._array)[System.Array.index(this._index,r)]:Bridge.getDefaultValue(n),t)},System$Collections$IEnumerator$reset:function(){if(this._version!==this._stack._version)throw new System.InvalidOperationException("Collection was modified; enumeration operation may not execute.");this._index=-2;this._currentElement=Bridge.getDefaultValue(n)},getHashCode:function(){return Bridge.addHash([3788985113,this._stack,this._index,this._version,this._currentElement])},equals:function(t){return Bridge.is(t,System.Collections.Generic.Stack$1.Enumerator(n))?Bridge.equals(this._stack,t._stack)&&Bridge.equals(this._index,t._index)&&Bridge.equals(this._version,t._version)&&Bridge.equals(this._currentElement,t._currentElement):!1},$clone:function(t){var i=t||new(System.Collections.Generic.Stack$1.Enumerator(n));return i._stack=this._stack,i._index=this._index,i._version=this._version,i._currentElement=this._currentElement,i}}}});Bridge.define("System.Collections.HashHelpers",{statics:{fields:{HashPrime:0,primes:null,MaxPrimeArrayLength:0},ctors:{init:function(){this.HashPrime=101;this.primes=System.Array.init([3,7,11,17,23,29,37,47,59,71,89,107,131,163,197,239,293,353,431,521,631,761,919,1103,1327,1597,1931,2333,2801,3371,4049,4861,5839,7013,8419,10103,12143,14591,17519,21023,25229,30293,36353,43627,52361,62851,75431,90523,108631,130363,156437,187751,225307,270371,324449,389357,467237,560689,672827,807403,968897,1162687,1395263,1674319,2009191,2411033,2893249,3471899,4166287,4999559,5999471,7199369],System.Int32);this.MaxPrimeArrayLength=2146435069}},methods:{isPrime:function(n){var i,t;if((n&1)!=0){for(i=Bridge.Int.clip32(Math.sqrt(n)),t=3;t<=i;t=t+2|0)if(n%t==0)return!1;return!0}return n===2},getPrime:function(n){var i,r,t;if(n<0)throw new System.ArgumentException("Hashtable's capacity overflowed and went negative. Check load factor, capacity and the current size of the table.");for(i=0;i<System.Collections.HashHelpers.primes.length;i=i+1|0)if(r=System.Collections.HashHelpers.primes[System.Array.index(i,System.Collections.HashHelpers.primes)],r>=n)return r;for(t=n|1;t<2147483647;t=t+2|0)if(System.Collections.HashHelpers.isPrime(t)&&(t-1|0)%System.Collections.HashHelpers.HashPrime!=0)return t;return n},getMinPrime:function(){return System.Collections.HashHelpers.primes[System.Array.index(0,System.Collections.HashHelpers.primes)]},expandPrime:function(n){var t=Bridge.Int.mul(2,n);return t>>>0>System.Collections.HashHelpers.MaxPrimeArrayLength&&System.Collections.HashHelpers.MaxPrimeArrayLength>n?System.Collections.HashHelpers.MaxPrimeArrayLength:System.Collections.HashHelpers.getPrime(t)}}}});Bridge.define("System.ComponentModel.BrowsableAttribute",{inherits:[System.Attribute],statics:{fields:{yes:null,no:null,"default":null},ctors:{init:function(){this.yes=new System.ComponentModel.BrowsableAttribute(!0);this.no=new System.ComponentModel.BrowsableAttribute(!1);this.default=System.ComponentModel.BrowsableAttribute.yes}}},fields:{browsable:!1},props:{Browsable:{get:function(){return this.browsable}}},ctors:{init:function(){this.browsable=!0},ctor:function(n){this.$initialize();System.Attribute.ctor.call(this);this.browsable=n}},methods:{equals:function(n){if(Bridge.referenceEquals(n,this))return!0;var t=Bridge.as(n,System.ComponentModel.BrowsableAttribute);return t!=null&&t.Browsable===this.browsable},getHashCode:function(){return Bridge.getHashCode(this.browsable)}}});Bridge.define("System.ComponentModel.DefaultValueAttribute",{inherits:[System.Attribute],fields:{value:null},props:{Value:{get:function(){return this.value}}},ctors:{ctor:function(n){this.$initialize();System.Attribute.ctor.call(this);this.value=n}},methods:{equals:function(n){if(Bridge.referenceEquals(n,this))return!0;var t=Bridge.as(n,System.ComponentModel.DefaultValueAttribute);return t!=null?this.Value!=null?Bridge.equals(this.Value,t.Value):t.Value==null:!1},getHashCode:function(){return Bridge.getHashCode(this)},setValue:function(n){this.value=n}}});typeof define=="function"&&define.amd?define("bridge",[],function(){return Bridge}):typeof module!="undefined"&&module.exports&&(module.exports=Bridge)})(this);/**
 * @version   : 16.8.2 - Bridge.NET
 * @author    : Object.NET, Inc. http://bridge.net/
 * @copyright : Copyright 2008-2018 Object.NET, Inc. http://object.net/
 * @license   : See license.txt and https://github.com/bridgedotnet/Bridge/blob/master/LICENSE.md
 */
var $m=Bridge.setMetadata,$n=[System,System.Text.RegularExpressions,System.Collections,System.Collections.Generic,System.Collections.ObjectModel,System.Threading,System.Text,System.Globalization,System.Threading.Tasks,System.Net.WebSockets,System.IO,System.ComponentModel];$m("System.BitConverter",function(){return{att:1048961,a:2,s:!0,m:[{a:1,n:"CheckArguments",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"size",pt:$n[0].Int32,ps:2}],sn:"checkArguments",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{a:1,n:"CreateLong",is:!0,t:8,pi:[{n:"low",pt:$n[0].Int32,ps:0},{n:"high",pt:$n[0].Int32,ps:1}],tpc:0,def:function(low,high){return System.Int64([low,high])},rt:$n[0].Int64,p:[$n[0].Int32,$n[0].Int32]},{a:1,n:"CreateULong",is:!0,t:8,pi:[{n:"low",pt:$n[0].Int32,ps:0},{n:"high",pt:$n[0].Int32,ps:1}],tpc:0,def:function(low,high){return System.UInt64([low,high])},rt:$n[0].UInt64,p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"DoubleToInt64Bits",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"doubleToInt64Bits",rt:$n[0].Int64,p:[$n[0].Double]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].Boolean,ps:0}],sn:"getBytes",rt:$n[0].Array.type(System.Byte),p:[$n[0].Boolean]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],sn:"getBytes$1",rt:$n[0].Array.type(System.Byte),p:[$n[0].Char]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"getBytes$2",rt:$n[0].Array.type(System.Byte),p:[$n[0].Double]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int16,ps:0}],sn:"getBytes$3",rt:$n[0].Array.type(System.Byte),p:[$n[0].Int16]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"getBytes$4",rt:$n[0].Array.type(System.Byte),p:[$n[0].Int32]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"getBytes$5",rt:$n[0].Array.type(System.Byte),p:[$n[0].Int64]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],sn:"getBytes$6",rt:$n[0].Array.type(System.Byte),p:[$n[0].Single]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt16,ps:0}],sn:"getBytes$7",rt:$n[0].Array.type(System.Byte),p:[$n[0].UInt16]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"getBytes$8",rt:$n[0].Array.type(System.Byte),p:[$n[0].UInt32]},{a:2,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"getBytes$9",rt:$n[0].Array.type(System.Byte),p:[$n[0].UInt64]},{a:1,n:"GetHexValue",is:!0,t:8,pi:[{n:"i",pt:$n[0].Int32,ps:0}],sn:"getHexValue",rt:$n[0].Char,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:1,n:"GetIsLittleEndian",is:!0,t:8,sn:"getIsLittleEndian",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"GetLongHigh",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],tpc:0,def:function(value){return value.value.high},rt:$n[0].Int32,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"GetLongLow",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],tpc:0,def:function(value){return value.value.low},rt:$n[0].Int32,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"GetView",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"getView",rt:DataView,p:[$n[0].Int64]},{a:1,n:"GetViewBytes",is:!0,t:8,pi:[{n:"view",pt:DataView,ps:0},{n:"count",dv:-1,o:!0,pt:$n[0].Int32,ps:1},{n:"startIndex",dv:0,o:!0,pt:$n[0].Int32,ps:2}],sn:"getViewBytes",rt:$n[0].Array.type(System.Byte),p:[DataView,$n[0].Int32,$n[0].Int32]},{a:2,n:"Int64BitsToDouble",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"int64BitsToDouble",rt:$n[0].Double,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:1,n:"SetViewBytes",is:!0,t:8,pi:[{n:"view",pt:DataView,ps:0},{n:"value",pt:$n[0].Array.type(System.Byte),ps:1},{n:"count",dv:-1,o:!0,pt:$n[0].Int32,ps:2},{n:"startIndex",dv:0,o:!0,pt:$n[0].Int32,ps:3}],sn:"setViewBytes",rt:$n[0].Void,p:[DataView,$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{a:2,n:"ToBoolean",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toBoolean",rt:$n[0].Boolean,p:[$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"ToChar",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toChar",rt:$n[0].Char,p:[$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:2,n:"ToDouble",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toDouble",rt:$n[0].Double,p:[$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"ToInt16",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toInt16",rt:$n[0].Int16,p:[$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Int16)}},{a:2,n:"ToInt32",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toInt32",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"ToInt64",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toInt64",rt:$n[0].Int64,p:[$n[0].Array.type(System.Byte),$n[0].Int32]},{a:2,n:"ToSingle",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toSingle",rt:$n[0].Single,p:[$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"ToString",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Array.type(System.Byte)]},{a:2,n:"ToString",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toString$1",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32]},{a:2,n:"ToString",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"length",pt:$n[0].Int32,ps:2}],sn:"toString$2",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{a:2,n:"ToUInt16",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toUInt16",rt:$n[0].UInt16,p:[$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.UInt16)}},{a:2,n:"ToUInt32",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toUInt32",rt:$n[0].UInt32,p:[$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"ToUInt64",is:!0,t:8,pi:[{n:"value",pt:$n[0].Array.type(System.Byte),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"toUInt64",rt:$n[0].UInt64,p:[$n[0].Array.type(System.Byte),$n[0].Int32]},{a:1,n:"View",is:!0,t:8,pi:[{n:"length",pt:$n[0].Int32,ps:0}],sn:"view",rt:DataView,p:[$n[0].Int32]},{a:1,n:"Arg_ArrayPlusOffTooSmall",is:!0,t:4,rt:$n[0].String,sn:"arg_ArrayPlusOffTooSmall"},{a:2,n:"IsLittleEndian",is:!0,t:4,rt:$n[0].Boolean,sn:"isLittleEndian",ro:!0,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.IAsyncResult",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"AsyncState",t:16,rt:$n[0].Object,g:{ab:!0,a:2,n:"get_AsyncState",t:8,rt:$n[0].Object,fg:"System$IAsyncResult$AsyncState"},fn:"System$IAsyncResult$AsyncState"},{ab:!0,a:2,n:"CompletedSynchronously",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_CompletedSynchronously",t:8,rt:$n[0].Boolean,fg:"System$IAsyncResult$CompletedSynchronously",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"System$IAsyncResult$CompletedSynchronously"},{ab:!0,a:2,n:"IsCompleted",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_IsCompleted",t:8,rt:$n[0].Boolean,fg:"System$IAsyncResult$IsCompleted",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"System$IAsyncResult$IsCompleted"}]}});$m("System.DateTimeKind",function(){return{att:8449,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Local",is:!0,t:4,rt:$n[0].DateTimeKind,sn:"Local",box:function($v){return Bridge.box($v,System.DateTimeKind,System.Enum.toStringFn(System.DateTimeKind))}},{a:2,n:"Unspecified",is:!0,t:4,rt:$n[0].DateTimeKind,sn:"Unspecified",box:function($v){return Bridge.box($v,System.DateTimeKind,System.Enum.toStringFn(System.DateTimeKind))}},{a:2,n:"Utc",is:!0,t:4,rt:$n[0].DateTimeKind,sn:"Utc",box:function($v){return Bridge.box($v,System.DateTimeKind,System.Enum.toStringFn(System.DateTimeKind))}}]}});$m("System.FormattableString",function(){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,sn:"ctor"},{ab:!0,a:2,n:"GetArgument",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"getArgument",rt:$n[0].Object,p:[$n[0].Int32]},{ab:!0,a:2,n:"GetArguments",t:8,sn:"getArguments",rt:$n[0].Array.type(System.Object)},{a:2,n:"Invariant",is:!0,t:8,pi:[{n:"formattable",pt:$n[0].FormattableString,ps:0}],sn:"invariant",rt:$n[0].String,p:[$n[0].FormattableString]},{ov:!0,a:2,n:"ToString",t:8,sn:"toString",rt:$n[0].String},{ab:!0,a:2,n:"ToString",t:8,pi:[{n:"formatProvider",pt:$n[0].IFormatProvider,ps:0}],sn:"toString$1",rt:$n[0].String,p:[$n[0].IFormatProvider]},{ab:!0,a:2,n:"ArgumentCount",t:16,rt:$n[0].Int32,g:{ab:!0,a:2,n:"get_ArgumentCount",t:8,rt:$n[0].Int32,fg:"ArgumentCount",box:function($v){return Bridge.box($v,System.Int32)}},fn:"ArgumentCount"},{ab:!0,a:2,n:"Format",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_Format",t:8,rt:$n[0].String,fg:"Format"},fn:"Format"}]}});$m("System.FormattableStringImpl",function(){return{att:1048576,a:4,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Array.type(System.Object)],pi:[{n:"format",pt:$n[0].String,ps:0},{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"GetArgument",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"getArgument",rt:$n[0].Object,p:[$n[0].Int32]},{ov:!0,a:2,n:"GetArguments",t:8,sn:"getArguments",rt:$n[0].Array.type(System.Object)},{ov:!0,a:2,n:"ToString",t:8,pi:[{n:"formatProvider",pt:$n[0].IFormatProvider,ps:0}],sn:"toString$1",rt:$n[0].String,p:[$n[0].IFormatProvider]},{ov:!0,a:2,n:"ArgumentCount",t:16,rt:$n[0].Int32,g:{ov:!0,a:2,n:"get_ArgumentCount",t:8,rt:$n[0].Int32,fg:"ArgumentCount",box:function($v){return Bridge.box($v,System.Int32)}},fn:"ArgumentCount"},{ov:!0,a:2,n:"Format",t:16,rt:$n[0].String,g:{ov:!0,a:2,n:"get_Format",t:8,rt:$n[0].String,fg:"Format"},fn:"Format"},{a:1,n:"args",t:4,rt:$n[0].Array.type(System.Object),sn:"args"},{a:1,n:"format",t:4,rt:$n[0].String,sn:"format"}]}});$m("System.Guid",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Byte)],pi:[{n:"b",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"uuid",pt:$n[0].String,ps:0}],sn:"$ctor4"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int16,$n[0].Int16,$n[0].Array.type(System.Byte)],pi:[{n:"a",pt:$n[0].Int32,ps:0},{n:"b",pt:$n[0].Int16,ps:1},{n:"c",pt:$n[0].Int16,ps:2},{n:"d",pt:$n[0].Array.type(System.Byte),ps:3}],sn:"$ctor3"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int16,$n[0].Int16,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte],pi:[{n:"a",pt:$n[0].Int32,ps:0},{n:"b",pt:$n[0].Int16,ps:1},{n:"c",pt:$n[0].Int16,ps:2},{n:"d",pt:$n[0].Byte,ps:3},{n:"e",pt:$n[0].Byte,ps:4},{n:"f",pt:$n[0].Byte,ps:5},{n:"g",pt:$n[0].Byte,ps:6},{n:"h",pt:$n[0].Byte,ps:7},{n:"i",pt:$n[0].Byte,ps:8},{n:"j",pt:$n[0].Byte,ps:9},{n:"k",pt:$n[0].Byte,ps:10}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[0].UInt32,$n[0].UInt16,$n[0].UInt16,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte,$n[0].Byte],pi:[{n:"a",pt:$n[0].UInt32,ps:0},{n:"b",pt:$n[0].UInt16,ps:1},{n:"c",pt:$n[0].UInt16,ps:2},{n:"d",pt:$n[0].Byte,ps:3},{n:"e",pt:$n[0].Byte,ps:4},{n:"f",pt:$n[0].Byte,ps:5},{n:"g",pt:$n[0].Byte,ps:6},{n:"h",pt:$n[0].Byte,ps:7},{n:"i",pt:$n[0].Byte,ps:8},{n:"j",pt:$n[0].Byte,ps:9},{n:"k",pt:$n[0].Byte,ps:10}],sn:"$ctor5"},{a:2,n:"CompareTo",t:8,pi:[{n:"value",pt:$n[0].Guid,ps:0}],sn:"compareTo",rt:$n[0].Int32,p:[$n[0].Guid],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"o",pt:$n[0].Guid,ps:0}],sn:"equalsT",rt:$n[0].Boolean,p:[$n[0].Guid],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"o",pt:$n[0].Object,ps:0}],sn:"equals",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],sn:"format$1",rt:$n[0].String,p:[$n[0].String]},{a:1,n:"FromString",t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],sn:"fromString",rt:$n[0].Void,p:[$n[0].String]},{ov:!0,a:2,n:"GetHashCode",t:8,sn:"getHashCode",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"MakeBinary",is:!0,t:8,pi:[{n:"x",pt:$n[0].Byte,ps:0}],sn:"makeBinary",rt:$n[0].String,p:[$n[0].Byte]},{a:2,n:"NewGuid",is:!0,t:8,sn:"newGuid",rt:$n[0].Guid},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0}],sn:"parse",rt:$n[0].Guid,p:[$n[0].String]},{a:2,n:"ParseExact",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"format",pt:$n[0].String,ps:1}],sn:"parseExact",rt:$n[0].Guid,p:[$n[0].String,$n[0].String]},{a:1,n:"ParseInternal",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"format",pt:$n[0].String,ps:1},{n:"check",pt:$n[0].Boolean,ps:2}],sn:"parseInternal",rt:$n[0].Boolean,p:[$n[0].String,$n[0].String,$n[0].Boolean],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"ToByteArray",t:8,sn:"toByteArray",rt:$n[0].Array.type(System.Byte)},{ov:!0,a:2,n:"ToString",t:8,sn:"toString",rt:$n[0].String},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],sn:"toString$1",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"formatProvider",pt:$n[0].IFormatProvider,ps:1}],sn:"format",rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Guid,ps:1}],sn:"tryParse",rt:$n[0].Boolean,p:[$n[0].String,$n[0].Guid],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParseExact",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"format",pt:$n[0].String,ps:1},{n:"result",out:!0,pt:$n[0].Guid,ps:2}],sn:"tryParseExact",rt:$n[0].Boolean,p:[$n[0].String,$n[0].String,$n[0].Guid],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Equality",is:!0,t:8,pi:[{n:"a",pt:$n[0].Guid,ps:0},{n:"b",pt:$n[0].Guid,ps:1}],sn:"op_Equality",rt:$n[0].Boolean,p:[$n[0].Guid,$n[0].Guid],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Inequality",is:!0,t:8,pi:[{n:"a",pt:$n[0].Guid,ps:0},{n:"b",pt:$n[0].Guid,ps:1}],sn:"op_Inequality",rt:$n[0].Boolean,p:[$n[0].Guid,$n[0].Guid],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"toJSON",t:8,sn:"toJSON",rt:$n[0].String},{a:2,n:"Empty",is:!0,t:4,rt:$n[0].Guid,sn:"empty",ro:!0},{a:1,n:"NonFormat",is:!0,t:4,rt:$n[1].Regex,sn:"nonFormat",ro:!0},{a:1,n:"Replace",is:!0,t:4,rt:$n[1].Regex,sn:"replace",ro:!0},{a:1,n:"Rnd",is:!0,t:4,rt:$n[0].Random,sn:"rnd",ro:!0},{a:1,n:"Split",is:!0,t:4,rt:$n[1].Regex,sn:"split",ro:!0},{a:1,n:"Valid",is:!0,t:4,rt:$n[1].Regex,sn:"valid",ro:!0},{a:1,n:"_a",t:4,rt:$n[0].Int32,sn:"_a",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_b",t:4,rt:$n[0].Int16,sn:"_b",box:function($v){return Bridge.box($v,System.Int16)}},{a:1,n:"_c",t:4,rt:$n[0].Int16,sn:"_c",box:function($v){return Bridge.box($v,System.Int16)}},{a:1,n:"_d",t:4,rt:$n[0].Byte,sn:"_d",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"_e",t:4,rt:$n[0].Byte,sn:"_e",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"_f",t:4,rt:$n[0].Byte,sn:"_f",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"_g",t:4,rt:$n[0].Byte,sn:"_g",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"_h",t:4,rt:$n[0].Byte,sn:"_h",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"_i",t:4,rt:$n[0].Byte,sn:"_i",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"_j",t:4,rt:$n[0].Byte,sn:"_j",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"_k",t:4,rt:$n[0].Byte,sn:"_k",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"error1",is:!0,t:4,rt:$n[0].String,sn:"error1"}]}});$m("System.Random",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"seed",pt:$n[0].Int32,ps:0}],sn:"$ctor1"},{a:1,n:"GetSampleForLargeRange",t:8,sn:"getSampleForLargeRange",rt:$n[0].Double,box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:1,n:"InternalSample",t:8,sn:"internalSample",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"Next",t:8,sn:"next",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"Next",t:8,pi:[{n:"maxValue",pt:$n[0].Int32,ps:0}],sn:"next$1",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"Next",t:8,pi:[{n:"minValue",pt:$n[0].Int32,ps:0},{n:"maxValue",pt:$n[0].Int32,ps:1}],sn:"next$2",rt:$n[0].Int32,p:[$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"NextBytes",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"nextBytes",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte)]},{v:!0,a:2,n:"NextDouble",t:8,sn:"nextDouble",rt:$n[0].Double,box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{v:!0,a:3,n:"Sample",t:8,sn:"sample",rt:$n[0].Double,box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:1,n:"MBIG",is:!0,t:4,rt:$n[0].Int32,sn:"MBIG",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"MSEED",is:!0,t:4,rt:$n[0].Int32,sn:"MSEED",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"MZ",is:!0,t:4,rt:$n[0].Int32,sn:"MZ",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"SeedArray",t:4,rt:$n[0].Array.type(System.Int32),sn:"seedArray"},{a:1,n:"inext",t:4,rt:$n[0].Int32,sn:"inext",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"inextp",t:4,rt:$n[0].Int32,sn:"inextp",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.IndexOutOfRangeException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.ArgumentNullException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"paramName",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],def:function(message,innerException){return new System.ArgumentNullException(null,message,innerException)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].String],pi:[{n:"paramName",pt:$n[0].String,ps:0},{n:"message",pt:$n[0].String,ps:1}],sn:"ctor"}]}});$m("System.ArgumentException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],def:function(message,innerException){return new System.ArgumentException(message,null,innerException)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"paramName",pt:$n[0].String,ps:1}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"paramName",pt:$n[0].String,ps:1},{n:"innerException",pt:$n[0].Exception,ps:2}],sn:"ctor"},{a:2,n:"ParamName",t:16,rt:$n[0].String,g:{a:2,n:"get_ParamName",t:8,rt:$n[0].String,fg:"ParamName"},fn:"ParamName"}]}});$m("System.ArithmeticException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.Console",function(){return{att:1048833,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Clear",is:!0,t:8,sn:"Clear",rt:$n[0].Void},{a:2,n:"Read",is:!0,t:8,tpc:0,def:function(){return prompt()},rt:$n[0].String},{a:2,n:"ReadLine",is:!0,t:8,tpc:0,def:function(){return prompt()},rt:$n[0].String},{a:2,n:"ReadLine",is:!0,t:8,pi:[{n:"text",pt:$n[0].String,ps:0}],tpc:0,def:function(text){return prompt(text)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ReadLine",is:!0,t:8,pi:[{n:"text",pt:$n[0].String,ps:0},{n:"value",pt:$n[0].String,ps:1}],tpc:0,def:function(text,value){return prompt(text,value)},rt:$n[0].String,p:[$n[0].String,$n[0].String]},{a:1,n:"TransformChars",is:!0,t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"all",pt:$n[0].Int32,ps:1},{n:"index",pt:$n[0].Int32,ps:2},{n:"count",pt:$n[0].Int32,ps:3}],sn:"TransformChars",rt:$n[0].String,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32,$n[0].Int32]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].Boolean,ps:0}],tpc:0,def:function(value){return System.Console.Write(System.Boolean.toString(value))},rt:$n[0].Void,p:[$n[0].Boolean]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],tpc:0,def:function(value){return System.Console.Write(String.fromCharCode(value))},rt:$n[0].Void,p:[$n[0].Char]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0}],tpc:0,def:function(buffer){return System.Console.Write(System.Console.TransformChars(buffer,1))},rt:$n[0].Void,p:[$n[0].Array.type(System.Char)]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Console.Write(value.toString("G"))},rt:$n[0].Void,p:[$n[0].Decimal]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],tpc:0,def:function(value){return System.Console.Write(System.Double.format(value))},rt:$n[0].Void,p:[$n[0].Double]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"Write",rt:$n[0].Void,p:[$n[0].Int32]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"Write",rt:$n[0].Void,p:[$n[0].Int64]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"Write",rt:$n[0].Void,p:[$n[0].Object]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],sn:"Write",rt:$n[0].Void,p:[$n[0].Single]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"Write",rt:$n[0].Void,p:[$n[0].String]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"Write",rt:$n[0].Void,p:[$n[0].UInt32]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"Write",rt:$n[0].Void,p:[$n[0].UInt64]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1}],tpc:0,def:function(format,arg0){return System.Console.Write(System.String.format(format,arg0))},rt:$n[0].Void,p:[$n[0].String,$n[0].Object]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],tpc:0,def:function(format,arg){return System.Console.Write(System.String.format(format,arg))},rt:$n[0].Void,p:[$n[0].String,$n[0].Array.type(System.Object)]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],tpc:0,def:function(buffer,index,count){return System.Console.Write(System.Console.TransformChars(buffer,0,index,count))},rt:$n[0].Void,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2}],tpc:0,def:function(format,arg0,arg1){return System.Console.Write(System.String.format(format,arg0,arg1))},rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2},{n:"arg2",pt:$n[0].Object,ps:3}],tpc:0,def:function(format,arg0,arg1,arg2){return System.Console.Write(System.String.format(format,arg0,arg1,arg2))},rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object,$n[0].Object]},{a:2,n:"Write",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2},{n:"arg2",pt:$n[0].Object,ps:3},{n:"arg3",pt:$n[0].Object,ps:4}],tpc:0,def:function(format,arg0,arg1,arg2,arg3){return System.Console.Write(System.String.format(format,[arg0,arg1,arg2,arg3]))},rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object,$n[0].Object,$n[0].Object]},{a:2,n:"WriteLine",is:!0,t:8,sn:"WriteLine",rt:$n[0].Void},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].Boolean,ps:0}],tpc:0,def:function(value){return System.Console.WriteLine(System.Boolean.toString(value))},rt:$n[0].Void,p:[$n[0].Boolean]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],tpc:0,def:function(value){return System.Console.WriteLine(String.fromCharCode(value))},rt:$n[0].Void,p:[$n[0].Char]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0}],tpc:0,def:function(buffer){return System.Console.WriteLine(System.Console.TransformChars(buffer,1))},rt:$n[0].Void,p:[$n[0].Array.type(System.Char)]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Console.WriteLine(value.toString("G"))},rt:$n[0].Void,p:[$n[0].Decimal]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],tpc:0,def:function(value){return System.Console.WriteLine(System.Double.format(value))},rt:$n[0].Void,p:[$n[0].Double]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"WriteLine",rt:$n[0].Void,p:[$n[0].Int32]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"WriteLine",rt:$n[0].Void,p:[$n[0].Int64]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].Nullable$1(System.Decimal),ps:0}],tpc:0,def:function(value){return System.Console.WriteLine(value&&value.toString("G"))},rt:$n[0].Void,p:[$n[0].Nullable$1(System.Decimal)]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"WriteLine",rt:$n[0].Void,p:[$n[0].Object]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],tpc:0,def:function(value){return System.Console.WriteLine(System.Single.format(value))},rt:$n[0].Void,p:[$n[0].Single]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"WriteLine",rt:$n[0].Void,p:[$n[0].String]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:Function,ps:0}],tpc:0,def:function(value){return System.Console.WriteLine(Bridge.getTypeName(value))},rt:$n[0].Void,p:[Function]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"WriteLine",rt:$n[0].Void,p:[$n[0].UInt32]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"WriteLine",rt:$n[0].Void,p:[$n[0].UInt64]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1}],tpc:0,def:function(format,arg0){return System.Console.WriteLine(System.String.format(format,arg0))},rt:$n[0].Void,p:[$n[0].String,$n[0].Object]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],tpc:0,def:function(format,arg){return System.Console.WriteLine(System.String.format(format,arg))},rt:$n[0].Void,p:[$n[0].String,$n[0].Array.type(System.Object)]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],tpc:0,def:function(buffer,index,count){return System.Console.WriteLine(System.Console.TransformChars(buffer,0,index,count))},rt:$n[0].Void,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2}],tpc:0,def:function(format,arg0,arg1){return System.Console.WriteLine(System.String.format(format,arg0,arg1))},rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2},{n:"arg2",pt:$n[0].Object,ps:3}],tpc:0,def:function(format,arg0,arg1,arg2){return System.Console.WriteLine(System.String.format(format,arg0,arg1,arg2))},rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object,$n[0].Object]},{a:2,n:"WriteLine",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2},{n:"arg2",pt:$n[0].Object,ps:3},{n:"arg3",pt:$n[0].Object,ps:4}],tpc:0,def:function(format,arg0,arg1,arg2,arg3){return System.Console.WriteLine(System.String.format(format,[arg0,arg1,arg2,arg3]))},rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object,$n[0].Object,$n[0].Object]}]}});$m("System.ArraySegment",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[System.Array.type(System.Object)],pi:[{n:"array",pt:System.Array.type(System.Object),ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[System.Array.type(System.Object),$n[0].Int32,$n[0].Int32],pi:[{n:"array",pt:System.Array.type(System.Object),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"ctor"},{a:2,n:"Array",t:16,rt:System.Array.type(System.Object),g:{a:2,n:"get_Array",t:8,tpc:0,def:function(){return this.getArray()},rt:System.Array.type(System.Object)}},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,tpc:0,def:function(){return this.getCount()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Offset",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Offset",t:8,tpc:0,def:function(){return this.getOffset()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}}]}});$m("System.Enum",function(){return{att:1048705,a:2,m:[{a:3,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CompareTo",t:8,pi:[{n:"target",pt:$n[0].Object,ps:0}],tpc:0,def:function(target){return Bridge.compare(this,target)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.Enum.equals(this,other,Bridge.getType(this))},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",is:!0,t:8,pi:[{n:"enumType",pt:Function,ps:0},{n:"value",pt:$n[0].Object,ps:1},{n:"format",pt:$n[0].String,ps:2}],sn:"format",rt:$n[0].String,p:[Function,$n[0].Object,$n[0].String]},{a:2,n:"GetName",is:!0,t:8,pi:[{n:"enumType",pt:Function,ps:0},{n:"value",pt:$n[0].Object,ps:1}],sn:"getName",rt:$n[0].String,p:[Function,$n[0].Object]},{a:2,n:"GetNames",is:!0,t:8,pi:[{n:"enumType",pt:Function,ps:0}],sn:"getNames",rt:$n[0].Array.type(System.String),p:[Function]},{a:2,n:"GetValues",is:!0,t:8,pi:[{n:"enumType",pt:Function,ps:0}],sn:"getValues",rt:Array,p:[Function]},{a:2,n:"HasFlag",t:8,pi:[{n:"flag",pt:$n[0].Enum,ps:0}],tpc:0,def:function(flag){return System.Enum.hasFlag(this,flag)},rt:$n[0].Boolean,p:[$n[0].Enum],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsDefined",is:!0,t:8,pi:[{n:"enumType",pt:Function,ps:0},{n:"value",pt:$n[0].Object,ps:1}],sn:"isDefined",rt:$n[0].Boolean,p:[Function,$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"enumType",pt:Function,ps:0},{n:"value",pt:$n[0].String,ps:1}],sn:"parse",rt:$n[0].Object,p:[Function,$n[0].String]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"enumType",pt:Function,ps:0},{n:"value",pt:$n[0].String,ps:1},{n:"ignoreCase",pt:$n[0].Boolean,ps:2}],sn:"parse",rt:$n[0].Object,p:[Function,$n[0].String,$n[0].Boolean]},{ov:!0,a:2,n:"ToString",t:8,tpc:0,def:function(){return System.Enum.toString(Bridge.getType(this),this)},rt:$n[0].String},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Enum.format(Bridge.getType(this),this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"formatProvider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format){return System.Enum.format(Bridge.getType(this),this,format)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"ToString",is:!0,t:8,pi:[{n:"enumType",pt:Function,ps:0},{n:"value",pt:$n[0].Enum,ps:1}],sn:"toString",rt:$n[0].String,p:[Function,$n[0].Enum]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:System.Object,ps:1}],tpc:1,def:function(TEnum,value,result){return System.Enum.tryParse(TEnum,value,result)},rt:$n[0].Boolean,p:[$n[0].String,System.Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"ignoreCase",pt:$n[0].Boolean,ps:1},{n:"result",out:!0,pt:System.Object,ps:2}],tpc:1,def:function(TEnum,value,ignoreCase,result){return System.Enum.tryParse(TEnum,value,result,ignoreCase)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Boolean,System.Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.Environment",function(){return{att:385,a:2,s:!0,m:[{n:".cctor",t:1,sn:"ctor",sm:!0},{a:2,n:"Exit",is:!0,t:8,pi:[{n:"exitCode",pt:$n[0].Int32,ps:0}],sn:"exit",rt:$n[0].Void,p:[$n[0].Int32]},{a:2,n:"ExpandEnvironmentVariables",is:!0,t:8,pi:[{n:"name",pt:$n[0].String,ps:0}],sn:"expandEnvironmentVariables",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"FailFast",is:!0,t:8,pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"failFast",rt:$n[0].Void,p:[$n[0].String]},{a:2,n:"FailFast",is:!0,t:8,pi:[{n:"message",pt:$n[0].String,ps:0},{n:"exception",pt:$n[0].Exception,ps:1}],sn:"failFast$1",rt:$n[0].Void,p:[$n[0].String,$n[0].Exception]},{a:2,n:"GetCommandLineArgs",is:!0,t:8,sn:"getCommandLineArgs",rt:$n[0].Array.type(System.String)},{a:2,n:"GetEnvironmentVariable",is:!0,t:8,pi:[{n:"variable",pt:$n[0].String,ps:0}],sn:"getEnvironmentVariable",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"GetEnvironmentVariable",is:!0,t:8,pi:[{n:"variable",pt:$n[0].String,ps:0},{n:"target",pt:$n[0].EnvironmentVariableTarget,ps:1}],sn:"getEnvironmentVariable$1",rt:$n[0].String,p:[$n[0].String,$n[0].EnvironmentVariableTarget]},{a:2,n:"GetEnvironmentVariables",is:!0,t:8,sn:"getEnvironmentVariables",rt:$n[2].IDictionary},{a:2,n:"GetEnvironmentVariables",is:!0,t:8,pi:[{n:"target",pt:$n[0].EnvironmentVariableTarget,ps:0}],sn:"getEnvironmentVariables$1",rt:$n[2].IDictionary,p:[$n[0].EnvironmentVariableTarget]},{a:2,n:"GetFolderPath",is:!0,t:8,pi:[{n:"folder",pt:$n[0].Environment.SpecialFolder,ps:0}],tpc:0,def:function(){return""},rt:$n[0].String,p:[$n[0].Environment.SpecialFolder]},{a:2,n:"GetFolderPath",is:!0,t:8,pi:[{n:"folder",pt:$n[0].Environment.SpecialFolder,ps:0},{n:"option",pt:$n[0].Environment.SpecialFolderOption,ps:1}],tpc:0,def:function(){return""},rt:$n[0].String,p:[$n[0].Environment.SpecialFolder,$n[0].Environment.SpecialFolderOption]},{a:2,n:"GetLogicalDrives",is:!0,t:8,sn:"getLogicalDrives",rt:$n[0].Array.type(System.String)},{a:1,n:"PatchDictionary",is:!0,t:8,pi:[{n:"d",pt:$n[3].Dictionary$2(System.String,System.String),ps:0}],sn:"patchDictionary",rt:$n[3].Dictionary$2(System.String,System.String),p:[$n[3].Dictionary$2(System.String,System.String)]},{a:2,n:"SetEnvironmentVariable",is:!0,t:8,pi:[{n:"variable",pt:$n[0].String,ps:0},{n:"value",pt:$n[0].String,ps:1}],sn:"setEnvironmentVariable",rt:$n[0].Void,p:[$n[0].String,$n[0].String]},{a:2,n:"SetEnvironmentVariable",is:!0,t:8,pi:[{n:"variable",pt:$n[0].String,ps:0},{n:"value",pt:$n[0].String,ps:1},{n:"target",pt:$n[0].EnvironmentVariableTarget,ps:2}],sn:"setEnvironmentVariable$1",rt:$n[0].Void,p:[$n[0].String,$n[0].String,$n[0].EnvironmentVariableTarget]},{a:2,n:"CommandLine",is:!0,t:16,rt:$n[0].String,g:{a:2,n:"get_CommandLine",t:8,rt:$n[0].String,fg:"CommandLine",is:!0},fn:"CommandLine"},{a:2,n:"CurrentDirectory",is:!0,t:16,rt:$n[0].String,g:{a:2,n:"get_CurrentDirectory",t:8,rt:$n[0].String,fg:"CurrentDirectory",is:!0},s:{a:2,n:"set_CurrentDirectory",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"CurrentDirectory",is:!0},fn:"CurrentDirectory"},{a:2,n:"CurrentManagedThreadId",is:!0,t:16,rt:$n[0].Int32,g:{a:2,n:"get_CurrentManagedThreadId",is:!0,t:8,tpc:0,def:function(){return 0},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"ExitCode",is:!0,t:16,rt:$n[0].Int32,g:{a:2,n:"get_ExitCode",t:8,rt:$n[0].Int32,fg:"ExitCode",is:!0,box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_ExitCode",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"ExitCode",is:!0},fn:"ExitCode"},{a:1,n:"Global",is:!0,t:16,rt:System.Object,g:{a:1,n:"get_Global",is:!0,t:8,tpc:0,def:function(){return Bridge.global},rt:System.Object}},{a:2,n:"HasShutdownStarted",is:!0,t:16,rt:$n[0].Boolean,g:{a:2,n:"get_HasShutdownStarted",is:!0,t:8,tpc:0,def:function(){return!1},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"Is64BitOperatingSystem",is:!0,t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Is64BitOperatingSystem",t:8,rt:$n[0].Boolean,fg:"Is64BitOperatingSystem",is:!0,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"Is64BitOperatingSystem"},{a:2,n:"Is64BitProcess",is:!0,t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Is64BitProcess",is:!0,t:8,tpc:0,def:function(){return!1},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:1,n:"Location",is:!0,t:16,rt:System.Object,g:{a:1,n:"get_Location",t:8,rt:System.Object,fg:"Location",is:!0},fn:"Location"},{a:2,n:"MachineName",is:!0,t:16,rt:$n[0].String,g:{a:2,n:"get_MachineName",is:!0,t:8,tpc:0,def:function(){return""},rt:$n[0].String}},{a:2,n:"NewLine",is:!0,t:16,rt:$n[0].String,g:{a:2,n:"get_NewLine",is:!0,t:8,tpc:0,def:function(){return"\n"},rt:$n[0].String}},{a:2,n:"OSVersion",is:!0,t:16,rt:$n[0].Object,g:{a:2,n:"get_OSVersion",is:!0,t:8,tpc:0,def:function(){return null},rt:$n[0].Object}},{a:2,n:"ProcessorCount",is:!0,t:16,rt:$n[0].Int32,g:{a:2,n:"get_ProcessorCount",t:8,rt:$n[0].Int32,fg:"ProcessorCount",is:!0,box:function($v){return Bridge.box($v,System.Int32)}},fn:"ProcessorCount"},{a:2,n:"StackTrace",is:!0,t:16,rt:$n[0].String,g:{a:2,n:"get_StackTrace",t:8,rt:$n[0].String,fg:"StackTrace",is:!0},fn:"StackTrace"},{a:2,n:"SystemDirectory",is:!0,t:16,rt:$n[0].String,g:{a:2,n:"get_SystemDirectory",is:!0,t:8,tpc:0,def:function(){return""},rt:$n[0].String}},{a:2,n:"SystemPageSize",is:!0,t:16,rt:$n[0].Int32,g:{a:2,n:"get_SystemPageSize",is:!0,t:8,tpc:0,def:function(){return 1},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"TickCount",is:!0,t:16,rt:$n[0].Int32,g:{a:2,n:"get_TickCount",is:!0,t:8,tpc:0,def:function(){return Date.now()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"UserDomainName",is:!0,t:16,rt:$n[0].String,g:{a:2,n:"get_UserDomainName",is:!0,t:8,tpc:0,def:function(){return""},rt:$n[0].String}},{a:2,n:"UserInteractive",is:!0,t:16,rt:$n[0].Boolean,g:{a:2,n:"get_UserInteractive",is:!0,t:8,tpc:0,def:function(){return!0},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"UserName",is:!0,t:16,rt:$n[0].String,g:{a:2,n:"get_UserName",is:!0,t:8,tpc:0,def:function(){return""},rt:$n[0].String}},{a:2,n:"Version",is:!0,t:16,rt:$n[0].Version,g:{a:2,n:"get_Version",t:8,rt:$n[0].Version,fg:"Version",is:!0},fn:"Version"},{a:2,n:"WorkingSet",is:!0,t:16,rt:$n[0].Int64,g:{a:2,n:"get_WorkingSet",is:!0,t:8,tpc:0,def:function(){return System.Int64(0)},rt:$n[0].Int64}},{a:1,n:"Variables",is:!0,t:4,rt:$n[3].Dictionary$2(System.String,System.String),sn:"variables"},{a:1,n:"__Property__Initializer__ExitCode",is:!0,t:4,rt:$n[0].Int32,sn:"__Property__Initializer__ExitCode",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.IDisposable",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Dispose",t:8,sn:"System$IDisposable$dispose",rt:$n[0].Void}]}});$m("System.OutOfMemoryException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],def:function(message,innerException){return new System.OutOfMemoryException(message,innerException)}}]}});$m("System.RankException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.AggregateException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[3].IEnumerable$1(System.Exception)],pi:[{n:"innerExceptions",pt:$n[3].IEnumerable$1(System.Exception),ps:0}],def:function(innerExceptions){return new System.AggregateException(null,innerExceptions)}},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Exception)],pi:[{n:"innerExceptions",ip:!0,pt:$n[0].Array.type(System.Exception),ps:0}],def:function(){return new System.AggregateException(null,Array.prototype.slice.call((arguments,0)))}},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[3].IEnumerable$1(System.Exception)],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerExceptions",pt:$n[3].IEnumerable$1(System.Exception),ps:1}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Array.type(System.Exception)],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerExceptions",ip:!0,pt:$n[0].Array.type(System.Exception),ps:1}],def:function(message){return new System.AggregateException(message,Array.prototype.slice.call((arguments,1)))}},{a:2,n:"Flatten",t:8,sn:"flatten",rt:$n[0].AggregateException},{a:2,n:"Handle",t:8,pi:[{n:"predicate",pt:Function,ps:0}],sn:"handle",rt:$n[0].Void,p:[Function]},{a:2,n:"InnerExceptions",t:16,rt:$n[4].ReadOnlyCollection$1(System.Exception),g:{a:2,n:"get_InnerExceptions",t:8,rt:$n[4].ReadOnlyCollection$1(System.Exception),fg:"innerExceptions"},fn:"innerExceptions"}]}});$m("System.OperationCanceledException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],def:function(message){return new System.OperationCanceledException(message,System.Threading.CancellationToken.none)}},{a:2,n:".ctor",t:1,p:[$n[5].CancellationToken],pi:[{n:"token",pt:$n[5].CancellationToken,ps:0}],def:function(token){return new System.OperationCanceledException(null,token)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],def:function(message,innerException){return new System.OperationCanceledException(message,System.Threading.CancellationToken.none,innerException)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[5].CancellationToken],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"token",pt:$n[5].CancellationToken,ps:1}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception,$n[5].CancellationToken],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1},{n:"token",pt:$n[5].CancellationToken,ps:2}],def:function(message,innerException,token){return new System.OperationCanceledException(message,token,innerException)}},{a:2,n:"CancellationToken",t:16,rt:$n[5].CancellationToken,g:{a:2,n:"get_CancellationToken",t:8,rt:$n[5].CancellationToken,fg:"cancellationToken"},s:{a:1,n:"set_CancellationToken",t:8,p:[$n[5].CancellationToken],rt:$n[0].Void,fs:"cancellationToken"},fn:"cancellationToken"}]}});$m("System.SystemException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],def:function(message,innerException){return new System.SystemException(message,innerException)}}]}});$m("System.TimeoutException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],def:function(message,innerException){return new System.TimeoutException(message,innerException)}}]}});$m("System.Uri",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"uriString",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:"op_Equality",is:!0,t:8,pi:[{n:"uri1",pt:$n[0].Uri,ps:0},{n:"uri2",pt:$n[0].Uri,ps:1}],tpc:0,def:function(uri1,uri2){return System.Uri.equals(uri1,uri2)},rt:$n[0].Boolean,p:[$n[0].Uri,$n[0].Uri],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Inequality",is:!0,t:8,pi:[{n:"uri1",pt:$n[0].Uri,ps:0},{n:"uri2",pt:$n[0].Uri,ps:1}],tpc:0,def:function(uri1,uri2){return System.Uri.notEquals(uri1,uri2)},rt:$n[0].Boolean,p:[$n[0].Uri,$n[0].Uri],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"AbsoluteUri",t:16,rt:$n[0].String,g:{a:2,n:"get_AbsoluteUri",t:8,tpc:0,def:function(){return this.getAbsoluteUri()},rt:$n[0].String}}]}});$m("System.Version",function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"version",pt:$n[0].String,ps:0}],sn:"$ctor4"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32],pi:[{n:"major",pt:$n[0].Int32,ps:0},{n:"minor",pt:$n[0].Int32,ps:1}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"major",pt:$n[0].Int32,ps:0},{n:"minor",pt:$n[0].Int32,ps:1},{n:"build",pt:$n[0].Int32,ps:2}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"major",pt:$n[0].Int32,ps:0},{n:"minor",pt:$n[0].Int32,ps:1},{n:"build",pt:$n[0].Int32,ps:2},{n:"revision",pt:$n[0].Int32,ps:3}],sn:"$ctor3"},{a:1,n:"AppendPositiveNumber",is:!0,t:8,pi:[{n:"num",pt:$n[0].Int32,ps:0},{n:"sb",pt:$n[6].StringBuilder,ps:1}],sn:"appendPositiveNumber",rt:$n[0].Void,p:[$n[0].Int32,$n[6].StringBuilder]},{a:2,n:"Clone",t:8,sn:"clone",rt:$n[0].Object},{a:2,n:"CompareTo",t:8,pi:[{n:"version",pt:$n[0].Object,ps:0}],sn:"compareTo$1",rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"value",pt:$n[0].Version,ps:0}],sn:"compareTo",rt:$n[0].Int32,p:[$n[0].Version],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],sn:"equals",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",t:8,pi:[{n:"obj",pt:$n[0].Version,ps:0}],sn:"equalsT",rt:$n[0].Boolean,p:[$n[0].Version],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"GetHashCode",t:8,sn:"getHashCode",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0}],sn:"parse",rt:$n[0].Version,p:[$n[0].String]},{ov:!0,a:2,n:"ToString",t:8,sn:"toString",rt:$n[0].String},{a:2,n:"ToString",t:8,pi:[{n:"fieldCount",pt:$n[0].Int32,ps:0}],sn:"toString$1",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Version,ps:1}],sn:"tryParse",rt:$n[0].Boolean,p:[$n[0].String,$n[0].Version],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"TryParseComponent",is:!0,t:8,pi:[{n:"component",pt:$n[0].String,ps:0},{n:"componentName",pt:$n[0].String,ps:1},{n:"result",ref:!0,pt:$n[0].Version.VersionResult,ps:2},{n:"parsedComponent",out:!0,pt:$n[0].Int32,ps:3}],sn:"tryParseComponent",rt:$n[0].Boolean,p:[$n[0].String,$n[0].String,$n[0].Version.VersionResult,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"TryParseVersion",is:!0,t:8,pi:[{n:"version",pt:$n[0].String,ps:0},{n:"result",ref:!0,pt:$n[0].Version.VersionResult,ps:1}],sn:"tryParseVersion",rt:$n[0].Boolean,p:[$n[0].String,$n[0].Version.VersionResult],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Equality",is:!0,t:8,pi:[{n:"v1",pt:$n[0].Version,ps:0},{n:"v2",pt:$n[0].Version,ps:1}],sn:"op_Equality",rt:$n[0].Boolean,p:[$n[0].Version,$n[0].Version],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_GreaterThan",is:!0,t:8,pi:[{n:"v1",pt:$n[0].Version,ps:0},{n:"v2",pt:$n[0].Version,ps:1}],sn:"op_GreaterThan",rt:$n[0].Boolean,p:[$n[0].Version,$n[0].Version],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_GreaterThanOrEqual",is:!0,t:8,pi:[{n:"v1",pt:$n[0].Version,ps:0},{n:"v2",pt:$n[0].Version,ps:1}],sn:"op_GreaterThanOrEqual",rt:$n[0].Boolean,p:[$n[0].Version,$n[0].Version],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Inequality",is:!0,t:8,pi:[{n:"v1",pt:$n[0].Version,ps:0},{n:"v2",pt:$n[0].Version,ps:1}],sn:"op_Inequality",rt:$n[0].Boolean,p:[$n[0].Version,$n[0].Version],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_LessThan",is:!0,t:8,pi:[{n:"v1",pt:$n[0].Version,ps:0},{n:"v2",pt:$n[0].Version,ps:1}],sn:"op_LessThan",rt:$n[0].Boolean,p:[$n[0].Version,$n[0].Version],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_LessThanOrEqual",is:!0,t:8,pi:[{n:"v1",pt:$n[0].Version,ps:0},{n:"v2",pt:$n[0].Version,ps:1}],sn:"op_LessThanOrEqual",rt:$n[0].Boolean,p:[$n[0].Version,$n[0].Version],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Build",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Build",t:8,rt:$n[0].Int32,fg:"Build",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Build"},{a:2,n:"Major",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Major",t:8,rt:$n[0].Int32,fg:"Major",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Major"},{a:2,n:"MajorRevision",t:16,rt:$n[0].Int16,g:{a:2,n:"get_MajorRevision",t:8,rt:$n[0].Int16,fg:"MajorRevision",box:function($v){return Bridge.box($v,System.Int16)}},fn:"MajorRevision"},{a:2,n:"Minor",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Minor",t:8,rt:$n[0].Int32,fg:"Minor",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Minor"},{a:2,n:"MinorRevision",t:16,rt:$n[0].Int16,g:{a:2,n:"get_MinorRevision",t:8,rt:$n[0].Int16,fg:"MinorRevision",box:function($v){return Bridge.box($v,System.Int16)}},fn:"MinorRevision"},{a:2,n:"Revision",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Revision",t:8,rt:$n[0].Int32,fg:"Revision",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Revision"},{a:1,n:"SeparatorsArray",is:!0,t:4,rt:$n[0].Char,sn:"separatorsArray",ro:!0,box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:1,n:"ZERO_CHAR_VALUE",is:!0,t:4,rt:$n[0].Int32,sn:"ZERO_CHAR_VALUE",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_Build",t:4,rt:$n[0].Int32,sn:"_Build",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_Major",t:4,rt:$n[0].Int32,sn:"_Major",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_Minor",t:4,rt:$n[0].Int32,sn:"_Minor",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_Revision",t:4,rt:$n[0].Int32,sn:"_Revision",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Version.ParseFailureKind",function(){return{td:$n[0].Version,att:261,a:4,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"ArgumentException",is:!0,t:4,rt:$n[0].Version.ParseFailureKind,sn:"ArgumentException",box:function($v){return Bridge.box($v,System.Version.ParseFailureKind,System.Enum.toStringFn(System.Version.ParseFailureKind))}},{a:2,n:"ArgumentNullException",is:!0,t:4,rt:$n[0].Version.ParseFailureKind,sn:"ArgumentNullException",box:function($v){return Bridge.box($v,System.Version.ParseFailureKind,System.Enum.toStringFn(System.Version.ParseFailureKind))}},{a:2,n:"ArgumentOutOfRangeException",is:!0,t:4,rt:$n[0].Version.ParseFailureKind,sn:"ArgumentOutOfRangeException",box:function($v){return Bridge.box($v,System.Version.ParseFailureKind,System.Enum.toStringFn(System.Version.ParseFailureKind))}},{a:2,n:"FormatException",is:!0,t:4,rt:$n[0].Version.ParseFailureKind,sn:"FormatException",box:function($v){return Bridge.box($v,System.Version.ParseFailureKind,System.Enum.toStringFn(System.Version.ParseFailureKind))}}]}});$m("System.Version.VersionResult",function(){return{td:$n[0].Version,att:1048845,a:4,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:"GetVersionParseException",t:8,sn:"getVersionParseException",rt:$n[0].Exception},{a:4,n:"Init",t:8,pi:[{n:"argumentName",pt:$n[0].String,ps:0},{n:"canThrow",pt:$n[0].Boolean,ps:1}],sn:"init",rt:$n[0].Void,p:[$n[0].String,$n[0].Boolean]},{a:4,n:"SetFailure",t:8,pi:[{n:"failure",pt:$n[0].Version.ParseFailureKind,ps:0}],sn:"setFailure",rt:$n[0].Void,p:[$n[0].Version.ParseFailureKind]},{a:4,n:"SetFailure",t:8,pi:[{n:"failure",pt:$n[0].Version.ParseFailureKind,ps:0},{n:"argument",pt:$n[0].String,ps:1}],sn:"setFailure$1",rt:$n[0].Void,p:[$n[0].Version.ParseFailureKind,$n[0].String]},{a:4,n:"m_argumentName",t:4,rt:$n[0].String,sn:"m_argumentName"},{a:4,n:"m_canThrow",t:4,rt:$n[0].Boolean,sn:"m_canThrow",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:4,n:"m_exceptionArgument",t:4,rt:$n[0].String,sn:"m_exceptionArgument"},{a:4,n:"m_failure",t:4,rt:$n[0].Version.ParseFailureKind,sn:"m_failure",box:function($v){return Bridge.box($v,System.Version.ParseFailureKind,System.Enum.toStringFn(System.Version.ParseFailureKind))}},{a:4,n:"m_parsedVersion",t:4,rt:$n[0].Version,sn:"m_parsedVersion"}]}});$m("System.OverflowException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.ArgumentOutOfRangeException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"paramName",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],def:function(message,innerException){return new System.ArgumentOutOfRangeException(null,message,innerException)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].String],pi:[{n:"paramName",pt:$n[0].String,ps:0},{n:"message",pt:$n[0].String,ps:1}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Object,$n[0].String],pi:[{n:"paramName",pt:$n[0].String,ps:0},{n:"actualValue",pt:$n[0].Object,ps:1},{n:"message",pt:$n[0].String,ps:2}],def:function(paramName,actualValue,message){return new System.ArgumentOutOfRangeException(paramName,message,null,actualValue)}},{a:2,n:"ActualValue",t:16,rt:$n[0].Object,g:{a:2,n:"get_ActualValue",t:8,rt:$n[0].Object,fg:"ActualValue"},fn:"ActualValue"}]}});$m("System.Boolean",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:1,n:".ctor",t:1,p:[System.Object],pi:[{n:"_",pt:System.Object,ps:0}],def:function(){return!1}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].Boolean,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].Boolean],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Boolean,ps:0}],tpc:0,def:function(other){return this===other},rt:$n[0].Boolean,p:[$n[0].Boolean],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],tpc:0,def:function(value){return System.Boolean.parse(value)},rt:$n[0].Boolean,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"ToString",t:8,tpc:0,def:function(){return System.Boolean.toString(this)},rt:$n[0].String},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Boolean,ps:1}],tpc:0,def:function(value,result){return System.Boolean.tryParse(value,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Boolean],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:4,n:"False",is:!0,t:4,rt:$n[0].Int32,sn:"False",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"FalseString",is:!0,t:4,rt:$n[0].String,sn:"falseString",ro:!0},{a:4,n:"True",is:!0,t:4,rt:$n[0].Int32,sn:"True",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"TrueString",is:!0,t:4,rt:$n[0].String,sn:"trueString",ro:!0}]}});$m("System.Char",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return Number}},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(){return Number}},{a:2,n:"CompareTo",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],tpc:0,def:function(value){return Bridge.compare(this,value)},rt:$n[0].Int32,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],tpc:0,def:function(value){return Bridge.compare(this,value)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"obj",pt:$n[0].Char,ps:0}],tpc:0,def:function(obj){return this===obj},rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return System.Char.equals(this,obj)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Char.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Char.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{ov:!0,a:2,n:"GetHashCode",t:8,tpc:0,def:function(){return System.Char.getHashCode(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IsControl",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isControl",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsControl",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isControl(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsDigit",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isDigit",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsDigit",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isDigit(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsHighSurrogate",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isHighSurrogate",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsHighSurrogate",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isHighSurrogate(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsLetter",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isLetter",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsLetter",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isLetter(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsLetterOrDigit",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],tpc:0,def:function(c){return System.Char.isDigit(c)||System.Char.isLetter(c)},rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsLetterOrDigit",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isDigit(s.charCodeAt(index))||System.Char.isLetter(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsLowSurrogate",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isLowSurrogate",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsLowSurrogate",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isLowSurrogate(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsLower",is:!0,t:8,pi:[{n:"s",pt:$n[0].Char,ps:0}],tpc:0,def:function(s){return Bridge.isLower(s)},rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsNumber",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isNumber",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsNumber",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isNumber(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsPunctuation",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isPunctuation",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsPunctuation",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isPunctuation(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSeparator",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isSeparator",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSeparator",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isSeparator(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSurrogate",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isSurrogate",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSurrogate",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isSurrogate(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSurrogatePair",is:!0,t:8,pi:[{n:"highSurrogate",pt:$n[0].Char,ps:0},{n:"lowSurrogate",pt:$n[0].Char,ps:1}],tpc:0,def:function(highSurrogate,lowSurrogate){return System.Char.isHighSurrogate(highSurrogate)&&System.Char.isLowSurrogate(lowSurrogate)},rt:$n[0].Boolean,p:[$n[0].Char,$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSurrogatePair",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isHighSurrogate(s.charCodeAt(index))&&System.Char.isLowSurrogate(s.charCodeAt(index+1))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSymbol",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],sn:"isSymbol",rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSymbol",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isSymbol(s.charCodeAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsUpper",is:!0,t:8,pi:[{n:"s",pt:$n[0].Char,ps:0}],tpc:0,def:function(s){return Bridge.isUpper(s)},rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsUpper",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],sn:"isUpper",rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsWhiteSpace",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],tpc:0,def:function(c){return System.Char.isWhiteSpace(String.fromCharCode(c))},rt:$n[0].Boolean,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsWhiteSpace",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,index){return System.Char.isWhiteSpace(s.charAt(index))},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.Char.charCodeAt(s,0)},rt:$n[0].Char,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:2,n:"ToLower",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],tpc:0,def:function(c){return String.fromCharCode(c).toLowerCase().charCodeAt(0)},rt:$n[0].Char,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{ov:!0,a:2,n:"ToString",t:8,tpc:0,def:function(){return String.fromCharCode(this)},rt:$n[0].String},{a:2,n:"ToString",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],tpc:0,def:function(c){return String.fromCharCode(c)},rt:$n[0].String,p:[$n[0].Char]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Char.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Char.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"ToUpper",is:!0,t:8,pi:[{n:"c",pt:$n[0].Char,ps:0}],tpc:0,def:function(c){return String.fromCharCode(c).toUpperCase().charCodeAt(0)},rt:$n[0].Char,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].Char,sn:"MaxValue",box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].Char,sn:"MinValue",box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}}]}});$m("System.DateTime",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int64],pi:[{n:"ticks",pt:$n[0].Int64,ps:0}],def:function(ticks){return System.DateTime.create$2(ticks)}},{a:1,n:".ctor",t:1,p:[System.Object],pi:[{n:"_",pt:System.Object,ps:0}],def:function(){return System.DateTime.getDefaultValue()}},{a:2,n:".ctor",t:1,p:[$n[0].Int64,$n[0].DateTimeKind],pi:[{n:"ticks",pt:$n[0].Int64,ps:0},{n:"kind",pt:$n[0].DateTimeKind,ps:1}],def:function(ticks,kind){return System.DateTime.create$2(ticks,kind)}},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"year",pt:$n[0].Int32,ps:0},{n:"month",pt:$n[0].Int32,ps:1},{n:"day",pt:$n[0].Int32,ps:2}],def:function(year,month,day){return System.DateTime.create(year,month,day)}},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"year",pt:$n[0].Int32,ps:0},{n:"month",pt:$n[0].Int32,ps:1},{n:"day",pt:$n[0].Int32,ps:2},{n:"hour",pt:$n[0].Int32,ps:3},{n:"minute",pt:$n[0].Int32,ps:4},{n:"second",pt:$n[0].Int32,ps:5}],def:function(year,month,day,hour,minute,second){return System.DateTime.create(year,month,day,hour,minute,second)}},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].DateTimeKind],pi:[{n:"year",pt:$n[0].Int32,ps:0},{n:"month",pt:$n[0].Int32,ps:1},{n:"day",pt:$n[0].Int32,ps:2},{n:"hour",pt:$n[0].Int32,ps:3},{n:"minute",pt:$n[0].Int32,ps:4},{n:"second",pt:$n[0].Int32,ps:5},{n:"kind",pt:$n[0].DateTimeKind,ps:6}],def:function(year,month,day,hour,minute,second,kind){return System.DateTime.create(year,month,day,hour,minute,second,0,kind)}},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"year",pt:$n[0].Int32,ps:0},{n:"month",pt:$n[0].Int32,ps:1},{n:"day",pt:$n[0].Int32,ps:2},{n:"hour",pt:$n[0].Int32,ps:3},{n:"minute",pt:$n[0].Int32,ps:4},{n:"second",pt:$n[0].Int32,ps:5},{n:"millisecond",pt:$n[0].Int32,ps:6}],def:function(year,month,day,hour,minute,second,millisecond){return System.DateTime.create(year,month,day,hour,minute,second,millisecond)}},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].DateTimeKind],pi:[{n:"year",pt:$n[0].Int32,ps:0},{n:"month",pt:$n[0].Int32,ps:1},{n:"day",pt:$n[0].Int32,ps:2},{n:"hour",pt:$n[0].Int32,ps:3},{n:"minute",pt:$n[0].Int32,ps:4},{n:"second",pt:$n[0].Int32,ps:5},{n:"millisecond",pt:$n[0].Int32,ps:6},{n:"kind",pt:$n[0].DateTimeKind,ps:7}],def:function(year,month,day,hour,minute,second,millisecond,kind){return System.DateTime.create(year,month,day,hour,minute,second,millisecond,kind)}},{a:2,n:"Add",t:8,pi:[{n:"value",pt:$n[0].TimeSpan,ps:0}],tpc:0,def:function(value){return System.DateTime.add(this,value)},rt:$n[0].DateTime,p:[$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"AddDays",t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],tpc:0,def:function(value){return System.DateTime.addDays(this,value)},rt:$n[0].DateTime,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"AddHours",t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],tpc:0,def:function(value){return System.DateTime.addHours(this,value)},rt:$n[0].DateTime,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"AddMilliseconds",t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],tpc:0,def:function(value){return System.DateTime.addMilliseconds(this,value)},rt:$n[0].DateTime,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"AddMinutes",t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],tpc:0,def:function(value){return System.DateTime.addMinutes(this,value)},rt:$n[0].DateTime,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"AddMonths",t:8,pi:[{n:"months",pt:$n[0].Int32,ps:0}],tpc:0,def:function(months){return System.DateTime.addMonths(this,months)},rt:$n[0].DateTime,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"AddSeconds",t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],tpc:0,def:function(value){return System.DateTime.addSeconds(this,value)},rt:$n[0].DateTime,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"AddTicks",t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],tpc:0,def:function(value){return System.DateTime.addTicks(this,value)},rt:$n[0].DateTime,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"AddYears",t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],tpc:0,def:function(value){return System.DateTime.addYears(this,value)},rt:$n[0].DateTime,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"t1",pt:$n[0].DateTime,ps:0},{n:"t2",pt:$n[0].DateTime,ps:1}],tpc:0,def:function(t1,t2){return Bridge.compare(t1,t2)},rt:$n[0].Int32,p:[$n[0].DateTime,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].DateTime,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].DateTime],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"DaysInMonth",is:!0,t:8,pi:[{n:"year",pt:$n[0].Int32,ps:0},{n:"month",pt:$n[0].Int32,ps:1}],tpc:0,def:function(year,month){return System.DateTime.getDaysInMonth(year,month)},rt:$n[0].Int32,p:[$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].DateTime,ps:0}],tpc:0,def:function(other){return Bridge.equalsT(this,other)},rt:$n[0].Boolean,p:[$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",is:!0,t:8,pi:[{n:"t1",pt:$n[0].DateTime,ps:0},{n:"t2",pt:$n[0].DateTime,ps:1}],tpc:0,def:function(t1,t2){return Bridge.equalsT(t1,t2)},rt:$n[0].Boolean,p:[$n[0].DateTime,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsDaylightSavingTime",t:8,tpc:0,def:function(){return System.DateTime.isDaylightSavingTime(this)},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsLeapYear",is:!0,t:8,pi:[{n:"year",pt:$n[0].Int32,ps:0}],tpc:0,def:function(year){return System.DateTime.getIsLeapYear(year)},rt:$n[0].Boolean,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.DateTime.parse(s)},rt:$n[0].DateTime,p:[$n[0].String],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(s,provider){return System.DateTime.parse(s,provider)},rt:$n[0].DateTime,p:[$n[0].String,$n[0].IFormatProvider],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"ParseExact",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"format",pt:$n[0].String,ps:1},{n:"provider",pt:$n[0].IFormatProvider,ps:2}],tpc:0,def:function(s,format,provider){return System.DateTime.parseExact(s,format,provider)},rt:$n[0].DateTime,p:[$n[0].String,$n[0].String,$n[0].IFormatProvider],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"SpecifyKind",is:!0,t:8,pi:[{n:"value",pt:$n[0].DateTime,ps:0},{n:"kind",pt:$n[0].DateTimeKind,ps:1}],tpc:0,def:function(value,kind){return System.DateTime.specifyKind(value,kind)},rt:$n[0].DateTime,p:[$n[0].DateTime,$n[0].DateTimeKind],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"Subtract",t:8,pi:[{n:"value",pt:$n[0].DateTime,ps:0}],tpc:0,def:function(value){return System.DateTime.subdd(this,value)},rt:$n[0].TimeSpan,p:[$n[0].DateTime]},{a:2,n:"Subtract",t:8,pi:[{n:"value",pt:$n[0].TimeSpan,ps:0}],tpc:0,def:function(value){return System.DateTime.subtract(this,value)},rt:$n[0].DateTime,p:[$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"ToLocalTime",t:8,tpc:0,def:function(){return System.DateTime.toLocalTime(this)},rt:$n[0].DateTime,box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"ToShortDateString",t:8,tpc:0,def:function(){return System.DateTime.format(this,"d")},rt:$n[0].String},{a:2,n:"ToShortTimeString",t:8,tpc:0,def:function(){return System.DateTime.format(this,"t")},rt:$n[0].String},{ov:!0,a:2,n:"ToString",t:8,tpc:0,def:function(){return System.DateTime.format(this)},rt:$n[0].String},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.DateTime.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.DateTime.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"ToUniversalTime",t:8,tpc:0,def:function(){return System.DateTime.toUniversalTime(this)},rt:$n[0].DateTime,box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].DateTime,ps:1}],tpc:0,def:function(s,result){return System.DateTime.tryParse(s,null,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParseExact",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"format",pt:$n[0].String,ps:1},{n:"provider",pt:$n[0].IFormatProvider,ps:2},{n:"result",out:!0,pt:$n[0].DateTime,ps:3}],tpc:0,def:function(s,format,provider,result){return System.DateTime.tryParseExact(s,format,provider,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].String,$n[0].IFormatProvider,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Addition",is:!0,t:8,pi:[{n:"d",pt:$n[0].DateTime,ps:0},{n:"t",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(d,t){return System.DateTime.adddt(d,t)},rt:$n[0].DateTime,p:[$n[0].DateTime,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"op_Equality",is:!0,t:8,pi:[{n:"a",pt:$n[0].DateTime,ps:0},{n:"b",pt:$n[0].DateTime,ps:1}],tpc:0,def:function(a,b){return Bridge.equals(a,b)},rt:$n[0].Boolean,p:[$n[0].DateTime,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_GreaterThan",is:!0,t:8,pi:[{n:"a",pt:$n[0].DateTime,ps:0},{n:"b",pt:$n[0].DateTime,ps:1}],tpc:0,def:function(a,b){return System.DateTime.gt(a,b)},rt:$n[0].Boolean,p:[$n[0].DateTime,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_GreaterThanOrEqual",is:!0,t:8,pi:[{n:"a",pt:$n[0].DateTime,ps:0},{n:"b",pt:$n[0].DateTime,ps:1}],tpc:0,def:function(a,b){return System.DateTime.gte(a,b)},rt:$n[0].Boolean,p:[$n[0].DateTime,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Inequality",is:!0,t:8,pi:[{n:"a",pt:$n[0].DateTime,ps:0},{n:"b",pt:$n[0].DateTime,ps:1}],tpc:0,def:function(a,b){return!Bridge.equals(a,b)},rt:$n[0].Boolean,p:[$n[0].DateTime,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_LessThan",is:!0,t:8,pi:[{n:"a",pt:$n[0].DateTime,ps:0},{n:"b",pt:$n[0].DateTime,ps:1}],tpc:0,def:function(a,b){return System.DateTime.lt(a,b)},rt:$n[0].Boolean,p:[$n[0].DateTime,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_LessThanOrEqual",is:!0,t:8,pi:[{n:"a",pt:$n[0].DateTime,ps:0},{n:"b",pt:$n[0].DateTime,ps:1}],tpc:0,def:function(a,b){return System.DateTime.lte(a,b)},rt:$n[0].Boolean,p:[$n[0].DateTime,$n[0].DateTime],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Subtraction",is:!0,t:8,pi:[{n:"a",pt:$n[0].DateTime,ps:0},{n:"b",pt:$n[0].DateTime,ps:1}],tpc:0,def:function(a,b){return System.DateTime.subdd(a,b)},rt:$n[0].TimeSpan,p:[$n[0].DateTime,$n[0].DateTime]},{a:2,n:"op_Subtraction",is:!0,t:8,pi:[{n:"d",pt:$n[0].DateTime,ps:0},{n:"t",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(d,t){return System.DateTime.subdt(d,t)},rt:$n[0].DateTime,p:[$n[0].DateTime,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"Date",t:16,rt:$n[0].DateTime,g:{a:2,n:"get_Date",t:8,tpc:0,def:function(){return System.DateTime.getDate(this)},rt:$n[0].DateTime,box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}}},{a:2,n:"Day",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Day",t:8,tpc:0,def:function(){return System.DateTime.getDay(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"DayOfWeek",t:16,rt:$n[0].DayOfWeek,g:{a:2,n:"get_DayOfWeek",t:8,tpc:0,def:function(){return System.DateTime.getDayOfWeek(this)},rt:$n[0].DayOfWeek,box:function($v){return Bridge.box($v,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))}}},{a:2,n:"DayOfYear",t:16,rt:$n[0].Int32,g:{a:2,n:"get_DayOfYear",t:8,tpc:0,def:function(){return System.DateTime.getDayOfYear(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Hour",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Hour",t:8,tpc:0,def:function(){return System.DateTime.getHour(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Kind",t:16,rt:$n[0].DateTimeKind,g:{a:2,n:"get_Kind",t:8,tpc:0,def:function(){return System.DateTime.getKind(this)},rt:$n[0].DateTimeKind,box:function($v){return Bridge.box($v,System.DateTimeKind,System.Enum.toStringFn(System.DateTimeKind))}}},{a:2,n:"Millisecond",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Millisecond",t:8,tpc:0,def:function(){return System.DateTime.getMillisecond(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Minute",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Minute",t:8,tpc:0,def:function(){return System.DateTime.getMinute(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Month",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Month",t:8,tpc:0,def:function(){return System.DateTime.getMonth(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Now",is:!0,t:16,rt:$n[0].DateTime,g:{a:2,n:"get_Now",is:!0,t:8,tpc:0,def:function(){return System.DateTime.getNow()},rt:$n[0].DateTime,box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}}},{a:2,n:"Second",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Second",t:8,tpc:0,def:function(){return System.DateTime.getSecond(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Ticks",t:16,rt:$n[0].Int64,g:{a:2,n:"get_Ticks",t:8,tpc:0,def:function(){return System.DateTime.getTicks(this)},rt:$n[0].Int64}},{a:2,n:"TimeOfDay",t:16,rt:$n[0].TimeSpan,g:{a:2,n:"get_TimeOfDay",t:8,tpc:0,def:function(){return System.DateTime.getTimeOfDay(this)},rt:$n[0].TimeSpan}},{a:2,n:"Today",is:!0,t:16,rt:$n[0].DateTime,g:{a:2,n:"get_Today",is:!0,t:8,tpc:0,def:function(){return System.DateTime.getToday()},rt:$n[0].DateTime,box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}}},{a:2,n:"UtcNow",is:!0,t:16,rt:$n[0].DateTime,g:{a:2,n:"get_UtcNow",is:!0,t:8,tpc:0,def:function(){return System.DateTime.getUtcNow()},rt:$n[0].DateTime,box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}}},{a:2,n:"Year",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Year",t:8,tpc:0,def:function(){return System.DateTime.getYear(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].DateTime,sn:"maxValue",ro:!0,box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].DateTime,sn:"minValue",ro:!0,box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}}]}});$m("System.DayOfWeek",function(){return{att:8449,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Friday",is:!0,t:4,rt:$n[0].DayOfWeek,sn:"Friday",box:function($v){return Bridge.box($v,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))}},{a:2,n:"Monday",is:!0,t:4,rt:$n[0].DayOfWeek,sn:"Monday",box:function($v){return Bridge.box($v,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))}},{a:2,n:"Saturday",is:!0,t:4,rt:$n[0].DayOfWeek,sn:"Saturday",box:function($v){return Bridge.box($v,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))}},{a:2,n:"Sunday",is:!0,t:4,rt:$n[0].DayOfWeek,sn:"Sunday",box:function($v){return Bridge.box($v,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))}},{a:2,n:"Thursday",is:!0,t:4,rt:$n[0].DayOfWeek,sn:"Thursday",box:function($v){return Bridge.box($v,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))}},{a:2,n:"Tuesday",is:!0,t:4,rt:$n[0].DayOfWeek,sn:"Tuesday",box:function($v){return Bridge.box($v,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))}},{a:2,n:"Wednesday",is:!0,t:4,rt:$n[0].DayOfWeek,sn:"Wednesday",box:function($v){return Bridge.box($v,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))}}]}});$m("System.Double",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return Number}},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(){return Number}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].Double,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return Bridge.compare(this,obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Double,ps:0}],tpc:0,def:function(other){return this===other},rt:$n[0].Boolean,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.Double.equals(this,other)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Double.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Double.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{ov:!0,a:2,n:"GetHashCode",t:8,tpc:0,def:function(){return System.Double.getHashCode(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IsFinite",is:!0,t:8,pi:[{n:"d",pt:$n[0].Double,ps:0}],tpc:0,def:function(d){return isFinite(d)},rt:$n[0].Boolean,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsInfinity",is:!0,t:8,pi:[{n:"d",pt:$n[0].Double,ps:0}],tpc:0,def:function(d){return Math.abs(d)===Number.POSITIVE_INFINITY},rt:$n[0].Boolean,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsNaN",is:!0,t:8,pi:[{n:"d",pt:$n[0].Double,ps:0}],tpc:0,def:function(d){return isNaN(d)},rt:$n[0].Boolean,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsNegativeInfinity",is:!0,t:8,pi:[{n:"d",pt:$n[0].Double,ps:0}],tpc:0,def:function(d){return d===Number.NEGATIVE_INFINITY},rt:$n[0].Boolean,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsPositiveInfinity",is:!0,t:8,pi:[{n:"d",pt:$n[0].Double,ps:0}],tpc:0,def:function(d){return d===Number.POSITIVE_INFINITY},rt:$n[0].Boolean,p:[$n[0].Double],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.Double.parse(s)},rt:$n[0].Double,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(s,provider){return Bridge.Int.parseFloat(s,provider)},rt:$n[0].Double,p:[$n[0].String,$n[0].IFormatProvider],box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"ToExponential",t:8,sn:"toExponential",rt:$n[0].String},{a:2,n:"ToExponential",t:8,pi:[{n:"fractionDigits",pt:$n[0].Int32,ps:0}],sn:"toExponential",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToFixed",t:8,sn:"toFixed",rt:$n[0].String},{a:2,n:"ToFixed",t:8,pi:[{n:"fractionDigits",pt:$n[0].Int32,ps:0}],sn:"toFixed",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToPrecision",t:8,sn:"toPrecision",rt:$n[0].String},{a:2,n:"ToPrecision",t:8,pi:[{n:"precision",pt:$n[0].Int32,ps:0}],sn:"toPrecision",rt:$n[0].String,p:[$n[0].Int32]},{ov:!0,a:2,n:"ToString",t:8,tpc:0,def:function(){return System.Double.format(this)},rt:$n[0].String},{a:2,n:"ToString",t:8,pi:[{n:"provider",pt:$n[0].IFormatProvider,ps:0}],tpc:0,def:function(provider){return System.Double.format(this,"G",provider)},rt:$n[0].String,p:[$n[0].IFormatProvider]},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Double.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Double.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Double,ps:1}],tpc:0,def:function(s,result){return System.Double.tryParse(s,null,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Double],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1},{n:"result",out:!0,pt:$n[0].Double,ps:2}],tpc:0,def:function(s,provider,result){return System.Double.tryParse(s,provider,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].IFormatProvider,$n[0].Double],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Epsilon",is:!0,t:4,rt:$n[0].Double,sn:"Epsilon",box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].Double,sn:"MaxValue",box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].Double,sn:"MinValue",box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"NaN",is:!0,t:4,rt:$n[0].Double,sn:"NaN",box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"NegativeInfinity",is:!0,t:4,rt:$n[0].Double,sn:"NegativeInfinity",box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"PositiveInfinity",is:!0,t:4,rt:$n[0].Double,sn:"PositiveInfinity",box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}}]}});$m("System.ICloneable",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Clone",t:8,tpc:0,def:function(){return Bridge.clone(this)},rt:$n[0].Object}]}});$m("System.IFormatProvider",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"GetFormat",t:8,pi:[{n:"formatType",pt:Function,ps:0}],sn:"System$IFormatProvider$getFormat",rt:$n[0].Object,p:[Function]}]}});$m("System.SByte",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return Number}},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(){return Number}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return Bridge.compare(this,obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].SByte,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].SByte],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.SByte.equals(this,other)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].SByte,ps:0}],tpc:0,def:function(other){return this===other},rt:$n[0].Boolean,p:[$n[0].SByte],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.SByte.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.SByte.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.SByte.parse(s)},rt:$n[0].SByte,p:[$n[0].String],box:function($v){return Bridge.box($v,System.SByte)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"radix",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,radix){return System.SByte.parse(s,radix)},rt:$n[0].SByte,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.SByte)}},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.SByte.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.SByte.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].SByte,ps:1}],tpc:0,def:function(s,result){return System.SByte.tryParse(s,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].SByte],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].SByte,ps:1},{n:"radix",pt:$n[0].Int32,ps:2}],tpc:0,def:function(s,result,radix){return System.SByte.tryParse(s,result,radix)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].SByte,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].SByte,sn:"MaxValue",box:function($v){return Bridge.box($v,System.SByte)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].SByte,sn:"MinValue",box:function($v){return Bridge.box($v,System.SByte)}}]}});$m("System.Byte",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return Number}},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(){return Number}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].Byte,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].Byte],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return Bridge.compare(this,obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Byte,ps:0}],tpc:0,def:function(other){return this===other},rt:$n[0].Boolean,p:[$n[0].Byte],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.Byte.equals(this,other)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Byte.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Byte.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.Byte.parse(s)},rt:$n[0].Byte,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Byte)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"radix",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,radix){return System.Byte.parse(s,radix)},rt:$n[0].Byte,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Byte)}},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Byte.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Byte.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Byte,ps:1}],tpc:0,def:function(s,result){return System.Byte.tryParse(s,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Byte],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Byte,ps:1},{n:"radix",pt:$n[0].Int32,ps:2}],tpc:0,def:function(s,result,radix){return System.Byte.tryParse(s,result,radix)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Byte,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].Byte,sn:"MaxValue",box:function($v){return Bridge.box($v,System.Byte)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].Byte,sn:"MinValue",box:function($v){return Bridge.box($v,System.Byte)}}]}});$m("System.Int16",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return Number}},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(){return Number}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].Int16,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].Int16],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return Bridge.compare(this,obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Int16,ps:0}],tpc:0,def:function(other){return this===other},rt:$n[0].Boolean,p:[$n[0].Int16],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.Int16.equals(this,other)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Int16.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Int16.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.Int16.parse(s)},rt:$n[0].Int16,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Int16)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"radix",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,radix){return System.Int16.parse(s,radix)},rt:$n[0].Int16,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int16)}},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Int16.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Int16.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Int16,ps:1}],tpc:0,def:function(s,result){return System.Int16.tryParse(s,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int16],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Int16,ps:1},{n:"radix",pt:$n[0].Int32,ps:2}],tpc:0,def:function(s,result,radix){return System.Int16.tryParse(s,result,radix)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int16,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].Int16,sn:"MaxValue",box:function($v){return Bridge.box($v,System.Int16)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].Int16,sn:"MinValue",box:function($v){return Bridge.box($v,System.Int16)}}]}});$m("System.Single",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return Number}},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(){return Number}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return Bridge.compare(this,obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].Single,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].Single],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.Single.equals(this,other)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Single,ps:0}],tpc:0,def:function(other){return this===other},rt:$n[0].Boolean,p:[$n[0].Single],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Single.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Single.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{ov:!0,a:2,n:"GetHashCode",t:8,tpc:0,def:function(){return System.Single.getHashCode(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IsFinite",is:!0,t:8,pi:[{n:"d",pt:$n[0].Single,ps:0}],tpc:0,def:function(d){return isFinite(d)},rt:$n[0].Boolean,p:[$n[0].Single],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsInfinity",is:!0,t:8,pi:[{n:"d",pt:$n[0].Single,ps:0}],tpc:0,def:function(d){return Math.abs(d)===Number.POSITIVE_INFINITY},rt:$n[0].Boolean,p:[$n[0].Single],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsNaN",is:!0,t:8,pi:[{n:"d",pt:$n[0].Single,ps:0}],tpc:0,def:function(d){return isNaN(d)},rt:$n[0].Boolean,p:[$n[0].Single],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsNegativeInfinity",is:!0,t:8,pi:[{n:"d",pt:$n[0].Single,ps:0}],tpc:0,def:function(d){return d===Number.NEGATIVE_INFINITY},rt:$n[0].Boolean,p:[$n[0].Single],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsPositiveInfinity",is:!0,t:8,pi:[{n:"d",pt:$n[0].Single,ps:0}],tpc:0,def:function(d){return d===Number.POSITIVE_INFINITY},rt:$n[0].Boolean,p:[$n[0].Single],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.Single.parse(s)},rt:$n[0].Single,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(s,provider){return System.Single.parse(s,provider)},rt:$n[0].Single,p:[$n[0].String,$n[0].IFormatProvider],box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"ToExponential",t:8,sn:"toExponential",rt:$n[0].String},{a:2,n:"ToExponential",t:8,pi:[{n:"fractionDigits",pt:$n[0].Int32,ps:0}],sn:"toExponential",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToFixed",t:8,sn:"toFixed",rt:$n[0].String},{a:2,n:"ToFixed",t:8,pi:[{n:"fractionDigits",pt:$n[0].Int32,ps:0}],sn:"toFixed",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToPrecision",t:8,sn:"toPrecision",rt:$n[0].String},{a:2,n:"ToPrecision",t:8,pi:[{n:"precision",pt:$n[0].Int32,ps:0}],sn:"toPrecision",rt:$n[0].String,p:[$n[0].Int32]},{ov:!0,a:2,n:"ToString",t:8,tpc:0,def:function(){return System.Single.format(this)},rt:$n[0].String},{a:2,n:"ToString",t:8,pi:[{n:"provider",pt:$n[0].IFormatProvider,ps:0}],tpc:0,def:function(provider){return System.Single.format(this,"G",provider)},rt:$n[0].String,p:[$n[0].IFormatProvider]},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Single.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Single.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Single,ps:1}],tpc:0,def:function(s,result){return System.Single.tryParse(s,null,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Single],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1},{n:"result",out:!0,pt:$n[0].Single,ps:2}],tpc:0,def:function(s,provider,result){return System.Single.tryParse(s,provider,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].IFormatProvider,$n[0].Single],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Epsilon",is:!0,t:4,rt:$n[0].Single,sn:"Epsilon",box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].Single,sn:"MaxValue",box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].Single,sn:"MinValue",box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"NaN",is:!0,t:4,rt:$n[0].Single,sn:"NaN",box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"NegativeInfinity",is:!0,t:4,rt:$n[0].Single,sn:"NegativeInfinity",box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"PositiveInfinity",is:!0,t:4,rt:$n[0].Single,sn:"PositiveInfinity",box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}}]}});$m("System.UInt16",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return Number}},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(){return Number}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return Bridge.compare(this,obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].UInt16,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].UInt16],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.UInt16.equals(this,other)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].UInt16,ps:0}],tpc:0,def:function(other){return this===other},rt:$n[0].Boolean,p:[$n[0].UInt16],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.UInt16.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.UInt16.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.UInt16.parse(s)},rt:$n[0].UInt16,p:[$n[0].String],box:function($v){return Bridge.box($v,System.UInt16)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"radix",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,radix){return System.UInt16.parse(s,radix)},rt:$n[0].UInt16,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.UInt16)}},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.UInt16.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.UInt16.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].UInt16,ps:1}],tpc:0,def:function(s,result){return System.UInt16.tryParse(s,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].UInt16],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].UInt16,ps:1},{n:"radix",pt:$n[0].Int32,ps:2}],tpc:0,def:function(s,result,radix){return System.UInt16.tryParse(s,result,radix)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].UInt16,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].UInt16,sn:"MaxValue",box:function($v){return Bridge.box($v,System.UInt16)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].UInt16,sn:"MinValue",box:function($v){return Bridge.box($v,System.UInt16)}}]}});$m("System.Int32",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return Number}},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(){return Number}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].Int32,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return Bridge.compare(this,obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Int32,ps:0}],tpc:0,def:function(other){return this===other},rt:$n[0].Boolean,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.Int32.equals(this,other)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Int32.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Int32.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.Int32.parse(s)},rt:$n[0].Int32,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"radix",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,radix){return System.Int32.parse(s,radix)},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.Int32.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.Int32.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,result){return System.Int32.tryParse(s,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Int32,ps:1},{n:"radix",pt:$n[0].Int32,ps:2}],tpc:0,def:function(s,result,radix){return System.Int32.tryParse(s,result,radix)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].Int32,sn:"MaxValue",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].Int32,sn:"MinValue",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Int64",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],sn:"ctor"},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].Int64,ps:0}],sn:"compareTo",rt:$n[0].Int32,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],sn:"compareTo",rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Int64,ps:0}],sn:"equalsT",rt:$n[0].Boolean,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],sn:"format",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],sn:"format",rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.Int64.parse(s)},rt:$n[0].Int64,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],sn:"format",rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Int64,ps:1}],tpc:0,def:function(s,result){return System.Int64.tryParse(s,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int64],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"op_Explicit",rt:$n[0].Int64,p:[$n[0].Double]},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].Byte,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Byte)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].Char,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].Double,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].Int16,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Int16)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].Int32,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].SByte,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.SByte)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].Single,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].UInt16,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.UInt16)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].UInt32,p:[$n[0].Int64],box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Explicit",rt:$n[0].UInt64,p:[$n[0].Int64]},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],sn:"op_Explicit",rt:$n[0].Int64,p:[$n[0].Single]},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].Int64,p:[$n[0].UInt64]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Byte,ps:0}],sn:"op_Implicit",rt:$n[0].Int64,p:[$n[0].Byte]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],sn:"op_Implicit",rt:$n[0].Int64,p:[$n[0].Char]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int16,ps:0}],sn:"op_Implicit",rt:$n[0].Int64,p:[$n[0].Int16]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"op_Implicit",rt:$n[0].Int64,p:[$n[0].Int32]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].SByte,ps:0}],sn:"op_Implicit",rt:$n[0].Int64,p:[$n[0].SByte]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt16,ps:0}],sn:"op_Implicit",rt:$n[0].Int64,p:[$n[0].UInt16]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"op_Implicit",rt:$n[0].Int64,p:[$n[0].UInt32]},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].Int64,sn:"MaxValue"},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].Int64,sn:"MinValue"}]}});$m("System.UInt64",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],sn:"ctor"},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],sn:"compareTo",rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].UInt64,ps:0}],sn:"compareTo",rt:$n[0].Int32,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].UInt64,ps:0}],sn:"equalsT",rt:$n[0].Boolean,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],sn:"format",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],sn:"format",rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.UInt64.parse(s)},rt:$n[0].UInt64,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],sn:"format",rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].UInt64,ps:1}],tpc:0,def:function(s,result){return System.UInt64.tryParse(s,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].UInt64],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"op_Explicit",rt:$n[0].UInt64,p:[$n[0].Double]},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],sn:"op_Explicit",rt:$n[0].UInt64,p:[$n[0].Single]},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].Byte,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.Byte)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].Char,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].Double,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].Int16,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.Int16)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].Int32,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].SByte,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.SByte)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].Single,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].UInt16,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.UInt16)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Explicit",rt:$n[0].UInt32,p:[$n[0].UInt64],box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Byte,ps:0}],sn:"op_Implicit",rt:$n[0].UInt64,p:[$n[0].Byte]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],sn:"op_Implicit",rt:$n[0].UInt64,p:[$n[0].Char]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int16,ps:0}],sn:"op_Implicit",rt:$n[0].UInt64,p:[$n[0].Int16]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"op_Implicit",rt:$n[0].UInt64,p:[$n[0].Int32]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].SByte,ps:0}],sn:"op_Implicit",rt:$n[0].UInt64,p:[$n[0].SByte]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt16,ps:0}],sn:"op_Implicit",rt:$n[0].UInt64,p:[$n[0].UInt16]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"op_Implicit",rt:$n[0].UInt64,p:[$n[0].UInt32]},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].UInt64,sn:"MaxValue"},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].UInt64,sn:"MinValue"}]}});$m("System.UInt32",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return Number}},{a:1,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(){return Number}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return Bridge.compare(this,obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].UInt32,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other)},rt:$n[0].Int32,p:[$n[0].UInt32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.UInt32.equals(this,other)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].UInt32,ps:0}],tpc:0,def:function(other){return this===other},rt:$n[0].Boolean,p:[$n[0].UInt32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.UInt32.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.UInt32.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.UInt32.parse(s)},rt:$n[0].UInt32,p:[$n[0].String],box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"radix",pt:$n[0].Int32,ps:1}],tpc:0,def:function(s,radix){return System.UInt32.parse(s,radix)},rt:$n[0].UInt32,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"ToString",t:8,pi:[{n:"radix",pt:$n[0].Int32,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return System.UInt32.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return System.UInt32.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].UInt32,ps:1}],tpc:0,def:function(s,result){return System.UInt32.tryParse(s,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].UInt32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].UInt32,ps:1},{n:"radix",pt:$n[0].Int32,ps:2}],tpc:0,def:function(s,result,radix){return System.UInt32.tryParse(s,result,radix)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].UInt32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].UInt32,sn:"MaxValue",box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].UInt32,sn:"MinValue",box:function($v){return Bridge.box($v,System.UInt32)}}]}});$m("System.DivideByZeroException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.FormatException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.IFormattable",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"formatProvider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,formatProvider){return Bridge.format(this,format,formatProvider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]}]}});$m("System.Decimal",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,def:function(){return System.Decimal}},{a:2,n:".ctor",t:1,p:[$n[0].Double],pi:[{n:"d",pt:$n[0].Double,ps:0}],def:function(d){return System.Decimal(d)}},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"i",pt:$n[0].Int32,ps:0}],def:function(i){return System.Decimal(i)}},{a:2,n:".ctor",t:1,p:[$n[0].Int64],pi:[{n:"n",pt:$n[0].Int64,ps:0}],def:function(n){return System.Decimal(n)}},{a:1,n:".ctor",t:1,p:[System.Object],pi:[{n:"_",pt:System.Object,ps:0}],def:function(){return System.Decimal(0)}},{a:2,n:".ctor",t:1,p:[$n[0].Single],pi:[{n:"f",pt:$n[0].Single,ps:0}],def:function(f){return System.Decimal(f)}},{a:2,n:".ctor",t:1,p:[$n[0].UInt32],pi:[{n:"i",pt:$n[0].UInt32,ps:0}],def:function(i){return System.Decimal(i)}},{a:2,n:".ctor",t:1,p:[$n[0].UInt64],pi:[{n:"n",pt:$n[0].UInt64,ps:0}],def:function(n){return System.Decimal(n)}},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Boolean,$n[0].Byte],pi:[{n:"lo",pt:$n[0].Int32,ps:0},{n:"mid",pt:$n[0].Int32,ps:1},{n:"hi",pt:$n[0].Int32,ps:2},{n:"isNegative",pt:$n[0].Boolean,ps:3},{n:"scale",pt:$n[0].Byte,ps:4}],def:function(){return System.Decimal}},{a:2,n:"Abs",t:8,sn:"abs",rt:$n[0].Decimal},{a:2,n:"Add",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.add(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"Ceiling",t:8,sn:"ceil",rt:$n[0].Decimal},{a:2,n:"Ceiling",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return d.ceil()},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.compareTo(d2)},rt:$n[0].Int32,p:[$n[0].Decimal,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(other){return this.compareTo(other)},rt:$n[0].Int32,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return this.compareTo(obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"ComparedTo",t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],sn:"comparedTo",rt:$n[0].Int32,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"DecimalPlaces",t:8,sn:"decimalPlaces",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Divide",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.div(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"DividedToIntegerBy",t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],sn:"dividedToIntegerBy",rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Decimal,ps:0}],sn:"equalsT",rt:$n[0].Boolean,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"o",pt:$n[0].Object,ps:0}],sn:"equals",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.equals(d2)},rt:$n[0].Boolean,p:[$n[0].Decimal,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Exp",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return System.Decimal.exp(d)},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"Exponential",t:8,sn:"exponential",rt:$n[0].Decimal},{a:2,n:"Floor",t:8,sn:"floor",rt:$n[0].Decimal},{a:2,n:"Floor",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return d.floor()},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return Bridge.Int.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return Bridge.Int.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:4,n:"FromBytes",is:!0,t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0}],tpc:0,def:function(bytes){return System.Decimal.fromBytes(bytes)},rt:$n[0].Decimal,p:[$n[0].Array.type(System.Byte)]},{a:4,n:"GetBytes",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return value.getBytes()},rt:$n[0].Array.type(System.Byte),p:[$n[0].Decimal]},{ov:!0,a:2,n:"GetHashCode",t:8,sn:"getHashCode",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IsFinite",t:8,sn:"isFinite",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsInteger",t:8,sn:"isInteger",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsNaN",t:8,sn:"isNaN",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsNegative",t:8,sn:"isNegative",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsZero",t:8,sn:"isZero",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Ln",t:8,sn:"ln",rt:$n[0].Decimal},{a:2,n:"Ln",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return System.Decimal.ln(d)},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"Log",t:8,pi:[{n:"logBase",pt:$n[0].Decimal,ps:0}],sn:"log",rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"Log",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0},{n:"logBase",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d,logBase){return System.Decimal.log(d,logBase)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"Max",is:!0,t:8,pi:[{n:"values",ip:!0,pt:$n[0].Array.type(System.Decimal),ps:0}],sn:"max",rt:$n[0].Decimal,p:[$n[0].Array.type(System.Decimal)]},{a:2,n:"Min",is:!0,t:8,pi:[{n:"values",ip:!0,pt:$n[0].Array.type(System.Decimal),ps:0}],sn:"min",rt:$n[0].Decimal,p:[$n[0].Array.type(System.Decimal)]},{a:2,n:"Multiply",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.mul(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"Negate",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return System.Decimal(0).sub(d)},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],tpc:0,def:function(s){return System.Decimal(s)},rt:$n[0].Decimal,p:[$n[0].String]},{a:2,n:"Parse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(s,provider){return System.Decimal(s,provider)},rt:$n[0].Decimal,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"Pow",t:8,pi:[{n:"n",pt:$n[0].Double,ps:0}],sn:"pow",rt:$n[0].Decimal,p:[$n[0].Double]},{a:2,n:"Pow",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0},{n:"exponent",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d,exponent){return System.Decimal.pow(d,exponent)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"Precision",t:8,sn:"precision",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Random",is:!0,t:8,pi:[{n:"dp",pt:$n[0].Int32,ps:0}],sn:"random",rt:$n[0].Decimal,p:[$n[0].Int32]},{a:2,n:"Remainder",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.mod(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"Round",t:8,sn:"round",rt:$n[0].Decimal},{a:2,n:"Round",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return System.Decimal.round(d,6)},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"Round",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0},{n:"decimals",pt:$n[0].Int32,ps:1}],tpc:0,def:function(d,decimals){return System.Decimal.toDecimalPlaces(d,decimals,6)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Int32]},{a:2,n:"Round",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0},{n:"mode",pt:Number,ps:1}],tpc:0,def:function(d,mode){return System.Decimal.round(d,mode)},rt:$n[0].Decimal,p:[$n[0].Decimal,Number]},{a:2,n:"Round",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0},{n:"decimals",pt:$n[0].Int32,ps:1},{n:"mode",pt:Number,ps:2}],tpc:0,def:function(d,decimals,mode){return System.Decimal.toDecimalPlaces(d,decimals,mode)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Int32,Number]},{a:2,n:"SetConfig",is:!0,t:8,pi:[{n:"config",pt:$n[0].Object,ps:0}],sn:"setConfig",rt:$n[0].Void,p:[$n[0].Object]},{a:2,n:"Sqrt",t:8,sn:"sqrt",rt:$n[0].Decimal},{a:2,n:"Sqrt",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return System.Decimal.sqrt(d)},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"Subtract",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.sub(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"ToByte",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toInt(value)},rt:$n[0].Byte,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Byte)}},{a:2,n:"ToChar",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toInt(value)},rt:$n[0].Char,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:2,n:"ToDecimalPlaces",t:8,pi:[{n:"dp",pt:$n[0].Int32,ps:0},{n:"rm",pt:Number,ps:1}],sn:"toDecimalPlaces",rt:$n[0].Decimal,p:[$n[0].Int32,Number]},{a:2,n:"ToDouble",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toFloat(value)},rt:$n[0].Double,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"ToExponential",t:8,pi:[{n:"dp",pt:$n[0].Int32,ps:0},{n:"rm",pt:Number,ps:1}],sn:"toExponential",rt:$n[0].String,p:[$n[0].Int32,Number]},{a:2,n:"ToFixed",t:8,pi:[{n:"dp",pt:$n[0].Int32,ps:0},{n:"rm",pt:Number,ps:1}],sn:"toFixed",rt:$n[0].String,p:[$n[0].Int32,Number]},{a:2,n:"ToFormat",t:8,sn:"toFormat",rt:$n[0].String},{a:2,n:"ToFormat",t:8,pi:[{n:"config",pt:$n[0].Object,ps:0}],tpc:0,def:function(config){return this.toFormat(null,null,config)},rt:$n[0].String,p:[$n[0].Object]},{a:2,n:"ToFormat",t:8,pi:[{n:"dp",pt:$n[0].Int32,ps:0}],sn:"toFormat",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"ToFormat",t:8,pi:[{n:"dp",pt:$n[0].Int32,ps:0},{n:"rm",pt:Number,ps:1}],sn:"toFormat",rt:$n[0].String,p:[$n[0].Int32,Number]},{a:2,n:"ToFormat",t:8,pi:[{n:"dp",pt:$n[0].Int32,ps:0},{n:"rm",pt:Number,ps:1},{n:"config",pt:$n[0].Object,ps:2}],sn:"toFormat",rt:$n[0].String,p:[$n[0].Int32,Number,$n[0].Object]},{a:2,n:"ToFormat",t:8,pi:[{n:"dp",pt:$n[0].Int32,ps:0},{n:"rm",pt:Number,ps:1},{n:"provider",pt:$n[0].IFormatProvider,ps:2}],sn:"toFormat",rt:$n[0].String,p:[$n[0].Int32,Number,$n[0].IFormatProvider]},{a:2,n:"ToInt16",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toInt(value)},rt:$n[0].Int16,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Int16)}},{a:2,n:"ToInt32",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toInt(value)},rt:$n[0].Int32,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"ToInt64",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toInt(value)},rt:$n[0].Int64,p:[$n[0].Decimal]},{a:2,n:"ToPrecision",t:8,pi:[{n:"sd",pt:$n[0].Int32,ps:0},{n:"rm",pt:Number,ps:1}],sn:"toPrecision",rt:$n[0].String,p:[$n[0].Int32,Number]},{a:2,n:"ToSByte",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toInt(value)},rt:$n[0].SByte,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.SByte)}},{a:2,n:"ToSignificantDigits",t:8,pi:[{n:"sd",pt:$n[0].Int32,ps:0},{n:"rm",pt:Number,ps:1}],sn:"toSignificantDigits",rt:$n[0].Decimal,p:[$n[0].Int32,Number]},{a:2,n:"ToSingle",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toFloat(value)},rt:$n[0].Single,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{ov:!0,a:2,n:"ToString",t:8,sn:"toString",rt:$n[0].String},{a:2,n:"ToString",t:8,pi:[{n:"provider",pt:$n[0].IFormatProvider,ps:0}],tpc:0,def:function(provider){return Bridge.Int.format(this,"G",provider)},rt:$n[0].String,p:[$n[0].IFormatProvider]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],tpc:0,def:function(format){return Bridge.Int.format(this,format)},rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],tpc:0,def:function(format,provider){return Bridge.Int.format(this,format,provider)},rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"ToUInt16",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toInt(value)},rt:$n[0].UInt16,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.UInt16)}},{a:2,n:"ToUInt32",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toInt(value)},rt:$n[0].UInt32,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"ToUInt64",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(value){return System.Decimal.toInt(value)},rt:$n[0].UInt64,p:[$n[0].Decimal]},{a:2,n:"Truncate",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return d.trunc()},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"result",out:!0,pt:$n[0].Decimal,ps:1}],tpc:0,def:function(s,result){return System.Decimal.tryParse(s,null,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1},{n:"result",out:!0,pt:$n[0].Decimal,ps:2}],tpc:0,def:function(s,provider,result){return System.Decimal.tryParse(s,provider,result)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].IFormatProvider,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Addition",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.add(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"op_Decrement",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return d.dec()},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"op_Division",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.div(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"op_Equality",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.equalsT(d2)},rt:$n[0].Boolean,p:[$n[0].Decimal,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].Byte,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Byte)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].Char,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].Double,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].Int16,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Int16)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].Int32,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].Int64,p:[$n[0].Decimal]},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].SByte,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.SByte)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].Single,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].UInt16,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.UInt16)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].UInt32,p:[$n[0].Decimal],box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"op_Explicit",rt:$n[0].UInt64,p:[$n[0].Decimal]},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"op_Explicit",rt:$n[0].Decimal,p:[$n[0].Double]},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],sn:"op_Explicit",rt:$n[0].Decimal,p:[$n[0].Single]},{a:2,n:"op_GreaterThan",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.gt(d2)},rt:$n[0].Boolean,p:[$n[0].Decimal,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_GreaterThanOrEqual",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.gte(d2)},rt:$n[0].Boolean,p:[$n[0].Decimal,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Byte,ps:0}],sn:"op_Implicit",rt:$n[0].Decimal,p:[$n[0].Byte]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],sn:"op_Implicit",rt:$n[0].Decimal,p:[$n[0].Char]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int16,ps:0}],sn:"op_Implicit",rt:$n[0].Decimal,p:[$n[0].Int16]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"op_Implicit",rt:$n[0].Decimal,p:[$n[0].Int32]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"op_Implicit",rt:$n[0].Decimal,p:[$n[0].Int64]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].SByte,ps:0}],sn:"op_Implicit",rt:$n[0].Decimal,p:[$n[0].SByte]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt16,ps:0}],sn:"op_Implicit",rt:$n[0].Decimal,p:[$n[0].UInt16]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"op_Implicit",rt:$n[0].Decimal,p:[$n[0].UInt32]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"op_Implicit",rt:$n[0].Decimal,p:[$n[0].UInt64]},{a:2,n:"op_Increment",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return d.inc()},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"op_Inequality",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.ne(d2)},rt:$n[0].Boolean,p:[$n[0].Decimal,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_LessThan",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.lt(d2)},rt:$n[0].Boolean,p:[$n[0].Decimal,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_LessThanOrEqual",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.lte(d2)},rt:$n[0].Boolean,p:[$n[0].Decimal,$n[0].Decimal],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Modulus",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.mod(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"op_Multiply",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.mul(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"op_Subtraction",is:!0,t:8,pi:[{n:"d1",pt:$n[0].Decimal,ps:0},{n:"d2",pt:$n[0].Decimal,ps:1}],tpc:0,def:function(d1,d2){return d1.sub(d2)},rt:$n[0].Decimal,p:[$n[0].Decimal,$n[0].Decimal]},{a:2,n:"op_UnaryNegation",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return d.neg()},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"op_UnaryPlus",is:!0,t:8,pi:[{n:"d",pt:$n[0].Decimal,ps:0}],tpc:0,def:function(d){return d.clone()},rt:$n[0].Decimal,p:[$n[0].Decimal]},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].Decimal,sn:"MaxValue"},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].Decimal,sn:"MinValue"},{a:2,n:"MinusOne",is:!0,t:4,rt:$n[0].Decimal,sn:"MinusOne"},{a:2,n:"One",is:!0,t:4,rt:$n[0].Decimal,sn:"One"},{a:2,n:"Zero",is:!0,t:4,rt:$n[0].Decimal,sn:"Zero"}]}});$m("System.IComparable",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"CompareTo",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],tpc:0,def:function(obj){return Bridge.compare(this,obj)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.IComparable$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"CompareTo",t:8,pi:[{n:"other",pt:T,ps:0}],tpc:0,def:function(other){return Bridge.compare(this,other,!1,T)},rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.IEquatable$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:T,ps:0}],tpc:0,def:function(other){return Bridge.equalsT(this,other,T)},rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.InvalidCastException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.InvalidOperationException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.Exception",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"},{v:!0,a:2,n:"GetBaseException",t:8,sn:"getBaseException",rt:$n[0].Exception},{v:!0,a:2,n:"Data",t:16,rt:$n[3].IDictionary$2(System.Object,System.Object),g:{v:!0,a:2,n:"get_Data",t:8,rt:$n[3].IDictionary$2(System.Object,System.Object),fg:"Data"},fn:"Data"},{v:!0,a:2,n:"InnerException",t:16,rt:$n[0].Exception,g:{v:!0,a:2,n:"get_InnerException",t:8,rt:$n[0].Exception,fg:"InnerException"},fn:"InnerException"},{v:!0,a:2,n:"Message",t:16,rt:$n[0].String,g:{v:!0,a:2,n:"get_Message",t:8,rt:$n[0].String,fg:"Message"},fn:"Message"},{v:!0,a:2,n:"StackTrace",t:16,rt:$n[0].String,g:{v:!0,a:2,n:"get_StackTrace",t:8,rt:$n[0].String,fg:"StackTrace"},fn:"StackTrace"}]}});$m("System.NotImplementedException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.NotSupportedException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.Nullable$1",function(T){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[T],pi:[{n:"value",pt:T,ps:0}],def:function(value){return value}},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[0].Object,ps:0}],tpc:0,def:function(other){return System.Nullable.equalsT(this,other)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"GetHashCode",t:8,tpc:0,def:function(){return System.Nullable.getHashCode(this,T)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"GetValueOrDefault",t:8,tpc:0,def:function(){return System.Nullable.getValueOrDefault(this,T)},rt:T},{a:2,n:"GetValueOrDefault",t:8,pi:[{n:"defaultValue",pt:T,ps:0}],tpc:0,def:function(defaultValue){return System.Nullable.getValueOrDefault(this,defaultValue)},rt:T,p:[T]},{ov:!0,a:2,n:"ToString",t:8,tpc:0,def:function(){return System.Nullable.toString(this,T)},rt:$n[0].String},{a:2,n:"op_Explicit",is:!0,t:8,pi:[{n:"value",pt:$n[0].Nullable$1(T),ps:0}],tpc:0,def:function(){return System.Nullable.getValue(this)},rt:T,p:[$n[0].Nullable$1(T)]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"value",pt:T,ps:0}],sn:"op_Implicit",rt:$n[0].Nullable$1(T),p:[T]},{a:2,n:"HasValue",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_HasValue",t:8,tpc:0,def:function(){return System.Nullable.hasValue(this)},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"Value",t:16,rt:T,g:{a:2,n:"get_Value",t:8,tpc:0,def:function(){return System.Nullable.getValue(this)},rt:T}}]}});$m("System.NullReferenceException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.String",function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,def:function(){return""}},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Char)],pi:[{n:"value",pt:$n[0].Array.type(System.Char),ps:0}],def:function(value){return System.String.fromCharArray(value)}},{a:2,n:".ctor",t:1,p:[$n[0].Char,$n[0].Int32],pi:[{n:"c",pt:$n[0].Char,ps:0},{n:"count",pt:$n[0].Int32,ps:1}],def:function(c,count){return System.String.fromCharCount(c,count)}},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],pi:[{n:"value",pt:$n[0].Array.type(System.Char),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"length",pt:$n[0].Int32,ps:2}],def:function(value,startIndex,length){return System.String.fromCharArray(value,startIndex,length)}},{a:2,n:"Clone",t:8,tpc:0,def:function(){return this},rt:$n[0].Object},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"strA",pt:$n[0].String,ps:0},{n:"strB",pt:$n[0].String,ps:1}],tpc:0,def:function(strA,strB){return System.String.compare(strA,strB)},rt:$n[0].Int32,p:[$n[0].String,$n[0].String],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"strA",pt:$n[0].String,ps:0},{n:"strB",pt:$n[0].String,ps:1},{n:"ignoreCase",pt:$n[0].Boolean,ps:2}],tpc:0,def:function(strA,strB,ignoreCase){return System.String.compare(strA,strB,ignoreCase)},rt:$n[0].Int32,p:[$n[0].String,$n[0].String,$n[0].Boolean],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"strA",pt:$n[0].String,ps:0},{n:"strB",pt:$n[0].String,ps:1},{n:"comparisonType",pt:Number,ps:2}],tpc:0,def:function(strA,strB,comparisonType){return System.String.compare(strA,strB,comparisonType)},rt:$n[0].Int32,p:[$n[0].String,$n[0].String,Number],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"strA",pt:$n[0].String,ps:0},{n:"strB",pt:$n[0].String,ps:1},{n:"ignoreCase",pt:$n[0].Boolean,ps:2},{n:"culture",pt:$n[7].CultureInfo,ps:3}],tpc:0,def:function(strA,strB,ignoreCase,culture){return System.String.compare(strA,strB,ignoreCase,culture)},rt:$n[0].Int32,p:[$n[0].String,$n[0].String,$n[0].Boolean,$n[7].CultureInfo],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"strA",pt:$n[0].String,ps:0},{n:"indexA",pt:$n[0].Int32,ps:1},{n:"strB",pt:$n[0].String,ps:2},{n:"indexB",pt:$n[0].Int32,ps:3},{n:"length",pt:$n[0].Int32,ps:4}],tpc:0,def:function(strA,indexA,strB,indexB,length){return System.String.compare(strA.substr(indexA,length),strB.substr(indexB,length))},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,$n[0].String,$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"strA",pt:$n[0].String,ps:0},{n:"indexA",pt:$n[0].Int32,ps:1},{n:"strB",pt:$n[0].String,ps:2},{n:"indexB",pt:$n[0].Int32,ps:3},{n:"length",pt:$n[0].Int32,ps:4},{n:"ignoreCase",pt:$n[0].Boolean,ps:5}],tpc:0,def:function(strA,indexA,strB,indexB,length,ignoreCase){return System.String.compare(strA.substr(indexA,length),strB.substr(indexB,length),ignoreCase)},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,$n[0].String,$n[0].Int32,$n[0].Int32,$n[0].Boolean],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"strA",pt:$n[0].String,ps:0},{n:"indexA",pt:$n[0].Int32,ps:1},{n:"strB",pt:$n[0].String,ps:2},{n:"indexB",pt:$n[0].Int32,ps:3},{n:"length",pt:$n[0].Int32,ps:4},{n:"comparisonType",pt:Number,ps:5}],tpc:0,def:function(strA,indexA,strB,indexB,length,comparisonType){return System.String.compare(strA.substr(indexA,length),strB.substr(indexB,length),comparisonType)},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,$n[0].String,$n[0].Int32,$n[0].Int32,Number],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"strA",pt:$n[0].String,ps:0},{n:"indexA",pt:$n[0].Int32,ps:1},{n:"strB",pt:$n[0].String,ps:2},{n:"indexB",pt:$n[0].Int32,ps:3},{n:"length",pt:$n[0].Int32,ps:4},{n:"ignoreCase",pt:$n[0].Boolean,ps:5},{n:"culture",pt:$n[7].CultureInfo,ps:6}],tpc:0,def:function(strA,indexA,strB,indexB,length,ignoreCase,culture){return System.String.compare(strA.substr(indexA,length),strB.substr(indexB,length),ignoreCase,culture)},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,$n[0].String,$n[0].Int32,$n[0].Int32,$n[0].Boolean,$n[7].CultureInfo],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],tpc:0,def:function(value){return System.String.compare(this,value.toString())},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"strB",pt:$n[0].String,ps:0}],tpc:0,def:function(strB){return System.String.compare(this,strB)},rt:$n[0].Int32,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"values",pt:$n[3].IEnumerable$1(System.String),ps:0}],tpc:0,def:function(values){return System.String.concat(Bridge.toArray(values))},rt:$n[0].String,p:[$n[3].IEnumerable$1(System.String)]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"values",pt:$n[3].IEnumerable$1(System.Object),ps:0}],tpc:1,def:function(T,values){return System.String.concat(Bridge.toArray(values))},rt:$n[0].String,p:[$n[3].IEnumerable$1(System.Object)]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"arg0",pt:$n[0].Object,ps:0}],tpc:0,def:function(arg0){return System.String.concat(arg0)},rt:$n[0].String,p:[$n[0].Object]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:0}],tpc:0,def:function(){return System.String.concat(Array.prototype.slice.call((arguments,0)))},rt:$n[0].String,p:[$n[0].Array.type(System.Object)]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"values",ip:!0,pt:$n[0].Array.type(System.String),ps:0}],tpc:0,def:function(){return System.String.concat(Array.prototype.slice.call((arguments,0)))},rt:$n[0].String,p:[$n[0].Array.type(System.String)]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"arg0",pt:$n[0].Object,ps:0},{n:"arg1",pt:$n[0].Object,ps:1}],tpc:0,def:function(arg0,arg1){return System.String.concat(arg0,arg1)},rt:$n[0].String,p:[$n[0].Object,$n[0].Object]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"str0",pt:$n[0].String,ps:0},{n:"str1",pt:$n[0].String,ps:1}],tpc:0,def:function(str0,str1){return System.String.concat(str0,str1)},rt:$n[0].String,p:[$n[0].String,$n[0].String]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"arg0",pt:$n[0].Object,ps:0},{n:"arg1",pt:$n[0].Object,ps:1},{n:"arg2",pt:$n[0].Object,ps:2}],tpc:0,def:function(arg0,arg1,arg2){return System.String.concat(arg0,arg1,arg2)},rt:$n[0].String,p:[$n[0].Object,$n[0].Object,$n[0].Object]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"str0",pt:$n[0].String,ps:0},{n:"str1",pt:$n[0].String,ps:1},{n:"str2",pt:$n[0].String,ps:2}],tpc:0,def:function(str0,str1,str2){return System.String.concat(str0,str1,str2)},rt:$n[0].String,p:[$n[0].String,$n[0].String,$n[0].String]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"arg0",pt:$n[0].Object,ps:0},{n:"arg1",pt:$n[0].Object,ps:1},{n:"arg2",pt:$n[0].Object,ps:2},{n:"arg3",pt:$n[0].Object,ps:3}],tpc:0,def:function(arg0,arg1,arg2,arg3){return System.String.concat(arg0,arg1,arg2,arg3)},rt:$n[0].String,p:[$n[0].Object,$n[0].Object,$n[0].Object,$n[0].Object]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"str0",pt:$n[0].String,ps:0},{n:"str1",pt:$n[0].String,ps:1},{n:"str2",pt:$n[0].String,ps:2},{n:"str3",pt:$n[0].String,ps:3}],tpc:0,def:function(str0,str1,str2,str3){return System.String.concat(str0,str1,str2,str3)},rt:$n[0].String,p:[$n[0].String,$n[0].String,$n[0].String,$n[0].String]},{a:2,n:"Concat",is:!0,t:8,pi:[{n:"arg0",pt:$n[0].Object,ps:0},{n:"arg1",pt:$n[0].Object,ps:1},{n:"arg2",pt:$n[0].Object,ps:2},{n:"arg3",pt:$n[0].Object,ps:3},{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:4}],tpc:0,def:function(arg0,arg1,arg2,arg3,args){return System.String.concat(arg0,arg1,arg2,arg3,args)},rt:$n[0].String,p:[$n[0].Object,$n[0].Object,$n[0].Object,$n[0].Object,$n[0].Array.type(System.Object)]},{a:2,n:"Contains",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],tpc:0,def:function(value){return System.String.contains(this,value)},rt:$n[0].Boolean,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"CopyTo",t:8,pi:[{n:"sourceIndex",pt:$n[0].Int32,ps:0},{n:"destination",pt:$n[0].Array.type(System.Char),ps:1},{n:"destinationIndex",pt:$n[0].Int32,ps:2},{n:"count",pt:$n[0].Int32,ps:3}],tpc:0,def:function(sourceIndex,destination,destinationIndex,count){return System.String.copyTo(this,sourceIndex,destination,destinationIndex,count)},rt:$n[0].Void,p:[$n[0].Int32,$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{a:2,n:"EndsWith",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],tpc:0,def:function(value){return System.String.endsWith(this,value)},rt:$n[0].Boolean,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],tpc:0,def:function(value){return System.String.equals(this,value)},rt:$n[0].Boolean,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",is:!0,t:8,pi:[{n:"a",pt:$n[0].String,ps:0},{n:"b",pt:$n[0].String,ps:1}],tpc:0,def:function(a,b){return System.String.equals(a,b)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"comparisonType",pt:Number,ps:1}],tpc:0,def:function(value,comparisonType){return System.String.equals(this,value,comparisonType)},rt:$n[0].Boolean,p:[$n[0].String,Number],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",is:!0,t:8,pi:[{n:"a",pt:$n[0].String,ps:0},{n:"b",pt:$n[0].String,ps:1},{n:"comparisonType",pt:Number,ps:2}],tpc:0,def:function(a,b,comparisonType){return System.String.equals(a,b,comparisonType)},rt:$n[0].Boolean,p:[$n[0].String,$n[0].String,Number],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1}],tpc:0,def:function(format,arg0){return System.String.format(format,[arg0])},rt:$n[0].String,p:[$n[0].String,$n[0].Object]},{a:2,n:"Format",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],tpc:0,def:function(format,args){return System.String.format(format,args)},rt:$n[0].String,p:[$n[0].String,$n[0].Array.type(System.Object)]},{a:2,n:"Format",is:!0,t:8,pi:[{n:"provider",pt:$n[0].IFormatProvider,ps:0},{n:"format",pt:$n[0].String,ps:1},{n:"arg0",pt:$n[0].Object,ps:2}],tpc:0,def:function(provider,format,arg0){return System.String.formatProvider(provider,format,[arg0])},rt:$n[0].String,p:[$n[0].IFormatProvider,$n[0].String,$n[0].Object]},{a:2,n:"Format",is:!0,t:8,pi:[{n:"provider",pt:$n[0].IFormatProvider,ps:0},{n:"format",pt:$n[0].String,ps:1},{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:2}],tpc:0,def:function(provider,format,args){return System.String.formatProvider(provider,format,args)},rt:$n[0].String,p:[$n[0].IFormatProvider,$n[0].String,$n[0].Array.type(System.Object)]},{a:2,n:"Format",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2}],tpc:0,def:function(format,arg0,arg1){return System.String.format(format,arg0,arg1)},rt:$n[0].String,p:[$n[0].String,$n[0].Object,$n[0].Object]},{a:2,n:"Format",is:!0,t:8,pi:[{n:"provider",pt:$n[0].IFormatProvider,ps:0},{n:"format",pt:$n[0].String,ps:1},{n:"arg0",pt:$n[0].Object,ps:2},{n:"arg1",pt:$n[0].Object,ps:3}],tpc:0,def:function(provider,format,arg0,arg1){return System.String.formatProvider(provider,format,arg0,arg1)},rt:$n[0].String,p:[$n[0].IFormatProvider,$n[0].String,$n[0].Object,$n[0].Object]},{a:2,n:"Format",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2},{n:"arg2",pt:$n[0].Object,ps:3}],tpc:0,def:function(format,arg0,arg1,arg2){return System.String.format(format,arg0,arg1,arg2)},rt:$n[0].String,p:[$n[0].String,$n[0].Object,$n[0].Object,$n[0].Object]},{a:2,n:"Format",is:!0,t:8,pi:[{n:"provider",pt:$n[0].IFormatProvider,ps:0},{n:"format",pt:$n[0].String,ps:1},{n:"arg0",pt:$n[0].Object,ps:2},{n:"arg1",pt:$n[0].Object,ps:3},{n:"arg2",pt:$n[0].Object,ps:4}],tpc:0,def:function(provider,format,arg0,arg1,arg2){return System.String.formatProvider(provider,format,arg0,arg1,arg2)},rt:$n[0].String,p:[$n[0].IFormatProvider,$n[0].String,$n[0].Object,$n[0].Object,$n[0].Object]},{a:2,n:"GetEnumerator",t:8,tpc:0,def:function(){return Bridge.getEnumerator(this)},rt:$n[0].CharEnumerator},{a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],tpc:0,def:function(value){return System.String.indexOf(this,String.fromCharCode(value))},rt:$n[0].Int32,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],tpc:0,def:function(value){return System.String.indexOf(this,value)},rt:$n[0].Int32,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],tpc:0,def:function(value,startIndex){return System.String.indexOf(this,String.fromCharCode(value),startIndex)},rt:$n[0].Int32,p:[$n[0].Char,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],tpc:0,def:function(value,startIndex){return System.String.indexOf(this,value,startIndex)},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"comparisonType",pt:Number,ps:1}],tpc:0,def:function(value,comparisonType){return $t=this,System.String.indexOf($t,value,0,$t.length,comparisonType)},rt:$n[0].Int32,p:[$n[0].String,Number],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],tpc:0,def:function(value,startIndex,count){return System.String.indexOf(this,String.fromCharCode(value),startIndex,count)},rt:$n[0].Int32,p:[$n[0].Char,$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"searchValue",pt:$n[0].String,ps:0},{n:"fromIndex",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],tpc:0,def:function(searchValue,fromIndex,count){return System.String.indexOf(this,searchValue,fromIndex,count)},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"comparisonType",pt:Number,ps:2}],tpc:0,def:function(value,startIndex,comparisonType){return $t1=this,System.String.indexOf($t1,value,startIndex,$t1.length,comparisonType)},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,Number],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"comparisonType",pt:Number,ps:3}],tpc:0,def:function(value,startIndex,count,comparisonType){return System.String.indexOf(this,value,startIndex,count,comparisonType)},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,$n[0].Int32,Number],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOfAny",t:8,pi:[{n:"anyOf",pt:$n[0].Array.type(System.Char),ps:0}],tpc:0,def:function(anyOf){return System.String.indexOfAny(this,anyOf)},rt:$n[0].Int32,p:[$n[0].Array.type(System.Char)],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOfAny",t:8,pi:[{n:"anyOf",pt:$n[0].Array.type(System.Char),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],tpc:0,def:function(anyOf,startIndex){return System.String.indexOfAny(this,anyOf,startIndex)},rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOfAny",t:8,pi:[{n:"anyOf",pt:$n[0].Array.type(System.Char),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],tpc:0,def:function(anyOf,startIndex,count){return System.String.indexOfAny(this,anyOf,startIndex,count)},rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Insert",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].String,ps:1}],tpc:0,def:function(startIndex,value){return System.String.insert(startIndex,this,value)},rt:$n[0].String,p:[$n[0].Int32,$n[0].String]},{a:2,n:"IsNullOrEmpty",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],tpc:0,def:function(value){return System.String.isNullOrEmpty(value)},rt:$n[0].Boolean,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsNullOrWhiteSpace",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],tpc:0,def:function(value){return System.String.isNullOrWhiteSpace(value)},rt:$n[0].Boolean,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Join",is:!0,t:8,pi:[{n:"separator",pt:$n[0].String,ps:0},{n:"values",pt:$n[3].IEnumerable$1(System.String),ps:1}],tpc:0,def:function(separator,values){return Bridge.toArray(values).join(separator)},rt:$n[0].String,p:[$n[0].String,$n[3].IEnumerable$1(System.String)]},{a:2,n:"Join",is:!0,t:8,pi:[{n:"separator",pt:$n[0].String,ps:0},{n:"values",pt:$n[3].IEnumerable$1(System.Object),ps:1}],tpc:1,def:function(T,separator,values){return Bridge.toArray(values).join(separator)},rt:$n[0].String,p:[$n[0].String,$n[3].IEnumerable$1(System.Object)]},{a:2,n:"Join",is:!0,t:8,pi:[{n:"separator",pt:$n[0].String,ps:0},{n:"values",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],tpc:0,def:function(separator){return Array.prototype.slice.call((arguments,1)).join(separator)},rt:$n[0].String,p:[$n[0].String,$n[0].Array.type(System.Object)]},{a:2,n:"Join",is:!0,t:8,pi:[{n:"separator",pt:$n[0].String,ps:0},{n:"value",ip:!0,pt:$n[0].Array.type(System.String),ps:1}],tpc:0,def:function(separator){return Array.prototype.slice.call((arguments,1)).join(separator)},rt:$n[0].String,p:[$n[0].String,$n[0].Array.type(System.String)]},{a:2,n:"Join",is:!0,t:8,pi:[{n:"separator",pt:$n[0].String,ps:0},{n:"value",pt:$n[0].Array.type(System.String),ps:1},{n:"startIndex",pt:$n[0].Int32,ps:2},{n:"count",pt:$n[0].Int32,ps:3}],tpc:0,def:function(separator,value,startIndex,count){return value.slice(startIndex,startIndex+count).join(separator)},rt:$n[0].String,p:[$n[0].String,$n[0].Array.type(System.String),$n[0].Int32,$n[0].Int32]},{a:2,n:"LastIndexOf",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],tpc:0,def:function(value){return this.lastIndexOf(String.fromCharCode(value))},rt:$n[0].Int32,p:[$n[0].Char],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOf",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"lastIndexOf",rt:$n[0].Int32,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOf",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],tpc:0,def:function(value,startIndex){return this.lastIndexOf(String.fromCharCode(value),startIndex)},rt:$n[0].Int32,p:[$n[0].Char,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOf",t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],sn:"lastIndexOf",rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOf",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],tpc:0,def:function(value,startIndex,count){return System.String.lastIndexOf(this,String.fromCharCode(value),startIndex,count)},rt:$n[0].Int32,p:[$n[0].Char,$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOf",t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],tpc:0,def:function(value,startIndex,count){return System.String.lastIndexOf(this,value,startIndex,count)},rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOfAny",t:8,pi:[{n:"anyOf",ip:!0,pt:$n[0].Array.type(System.Char),ps:0}],tpc:0,def:function(){return System.String.lastIndexOfAny(this,Array.prototype.slice.call((arguments,0)))},rt:$n[0].Int32,p:[$n[0].Array.type(System.Char)],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOfAny",t:8,pi:[{n:"anyOf",pt:$n[0].Array.type(System.Char),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1}],tpc:0,def:function(anyOf,startIndex){return System.String.lastIndexOfAny(this,anyOf,startIndex)},rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOfAny",t:8,pi:[{n:"anyOf",pt:$n[0].Array.type(System.Char),ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],tpc:0,def:function(anyOf,startIndex,count){return System.String.lastIndexOfAny(this,anyOf,startIndex,count)},rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"PadLeft",t:8,pi:[{n:"totalWidth",pt:$n[0].Int32,ps:0}],tpc:0,def:function(totalWidth){return System.String.alignString(this,totalWidth)},rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"PadLeft",t:8,pi:[{n:"totalWidth",pt:$n[0].Int32,ps:0},{n:"paddingChar",pt:$n[0].Char,ps:1}],tpc:0,def:function(totalWidth,paddingChar){return System.String.alignString(this,totalWidth,paddingChar)},rt:$n[0].String,p:[$n[0].Int32,$n[0].Char]},{a:2,n:"PadRight",t:8,pi:[{n:"totalWidth",pt:$n[0].Int32,ps:0}],tpc:0,def:function(totalWidth){return System.String.alignString(this,-totalWidth)},rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"PadRight",t:8,pi:[{n:"totalWidth",pt:$n[0].Int32,ps:0},{n:"paddingChar",pt:$n[0].Char,ps:1}],tpc:0,def:function(totalWidth,paddingChar){return System.String.alignString(this,-totalWidth,paddingChar)},rt:$n[0].String,p:[$n[0].Int32,$n[0].Char]},{a:2,n:"Remove",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0}],tpc:0,def:function(startIndex){return System.String.remove(this,startIndex)},rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"Remove",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"count",pt:$n[0].Int32,ps:1}],tpc:0,def:function(startIndex,count){return System.String.remove(this,startIndex,count)},rt:$n[0].String,p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"Replace",t:8,pi:[{n:"oldChar",pt:$n[0].Char,ps:0},{n:"newChar",pt:$n[0].Char,ps:1}],tpc:0,def:function(oldChar,newChar){return System.String.replaceAll(this,String.fromCharCode(oldChar),String.fromCharCode(newChar))},rt:$n[0].String,p:[$n[0].Char,$n[0].Char]},{a:2,n:"Replace",t:8,pi:[{n:"oldValue",pt:$n[0].String,ps:0},{n:"newValue",pt:$n[0].String,ps:1}],tpc:0,def:function(oldValue,newValue){return System.String.replaceAll(this,oldValue,newValue)},rt:$n[0].String,p:[$n[0].String,$n[0].String]},{a:2,n:"Split",t:8,pi:[{n:"separator",ip:!0,pt:$n[0].Array.type(System.Char),ps:0}],tpc:0,def:function(){return System.String.split(this,Array.prototype.slice.call((arguments,0)).map(function(i){return String.fromCharCode(i)}))},rt:$n[0].Array.type(System.String),p:[$n[0].Array.type(System.Char)]},{a:2,n:"Split",t:8,pi:[{n:"separator",pt:$n[0].Array.type(System.Char),ps:0},{n:"count",pt:$n[0].Int32,ps:1}],tpc:0,def:function(separator,count){return System.String.split(this,separator.map(function(i){return String.fromCharCode(i)}),count)},rt:$n[0].Array.type(System.String),p:[$n[0].Array.type(System.Char),$n[0].Int32]},{a:2,n:"Split",t:8,pi:[{n:"separator",pt:$n[0].Array.type(System.Char),ps:0},{n:"options",pt:Number,ps:1}],tpc:0,def:function(separator,options){return System.String.split(this,separator.map(function(i){return String.fromCharCode(i)}),null,options)},rt:$n[0].Array.type(System.String),p:[$n[0].Array.type(System.Char),Number]},{a:2,n:"Split",t:8,pi:[{n:"separator",pt:$n[0].Array.type(System.String),ps:0},{n:"options",pt:Number,ps:1}],tpc:0,def:function(separator,options){return System.String.split(this,separator,null,options)},rt:$n[0].Array.type(System.String),p:[$n[0].Array.type(System.String),Number]},{a:2,n:"Split",t:8,pi:[{n:"separator",pt:$n[0].Array.type(System.Char),ps:0},{n:"count",pt:$n[0].Int32,ps:1},{n:"options",pt:Number,ps:2}],tpc:0,def:function(separator,count,options){return System.String.split(this,separator.map(function(i){return String.fromCharCode(i)}),count,options)},rt:$n[0].Array.type(System.String),p:[$n[0].Array.type(System.Char),$n[0].Int32,Number]},{a:2,n:"Split",t:8,pi:[{n:"separator",pt:$n[0].Array.type(System.String),ps:0},{n:"count",pt:$n[0].Int32,ps:1},{n:"options",pt:Number,ps:2}],tpc:0,def:function(separator,count,options){return System.String.split(this,separator,count,options)},rt:$n[0].Array.type(System.String),p:[$n[0].Array.type(System.String),$n[0].Int32,Number]},{a:2,n:"StartsWith",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],tpc:0,def:function(value){return System.String.startsWith(this,value)},rt:$n[0].Boolean,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Substring",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0}],sn:"substr",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"Substring",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"length",pt:$n[0].Int32,ps:1}],sn:"substr",rt:$n[0].String,p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"ToCharArray",t:8,tpc:0,def:function(){return $t2=this,System.String.toCharArray($t2,0,$t2.length)},rt:$n[0].Array.type(System.Char)},{a:2,n:"ToCharArray",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"length",pt:$n[0].Int32,ps:1}],tpc:0,def:function(startIndex,length){return System.String.toCharArray(this,startIndex,length)},rt:$n[0].Array.type(System.Char),p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"ToLower",t:8,tpc:0,def:function(){return this.toLowerCase()},rt:$n[0].String},{a:2,n:"ToUpper",t:8,tpc:0,def:function(){return this.toUpperCase()},rt:$n[0].String},{a:2,n:"Trim",t:8,sn:"trim",rt:$n[0].String},{a:2,n:"Trim",t:8,pi:[{n:"trimChars",ip:!0,pt:$n[0].Array.type(System.Char),ps:0}],tpc:0,def:function(){return System.String.trim(this,Array.prototype.slice.call((arguments,0)))},rt:$n[0].String,p:[$n[0].Array.type(System.Char)]},{a:2,n:"TrimEnd",t:8,tpc:0,def:function(){return System.String.trimEnd(this)},rt:$n[0].String},{a:2,n:"TrimEnd",t:8,pi:[{n:"trimChars",ip:!0,pt:$n[0].Array.type(System.Char),ps:0}],tpc:0,def:function(){return System.String.trimEnd(this,Array.prototype.slice.call((arguments,0)))},rt:$n[0].String,p:[$n[0].Array.type(System.Char)]},{a:2,n:"TrimStart",t:8,tpc:0,def:function(){return System.String.trimStart(this)},rt:$n[0].String},{a:2,n:"TrimStart",t:8,pi:[{n:"trimChars",ip:!0,pt:$n[0].Array.type(System.Char),ps:0}],tpc:0,def:function(){return System.String.trimStart(this,Array.prototype.slice.call((arguments,0)))},rt:$n[0].String,p:[$n[0].Array.type(System.Char)]},{a:2,n:"op_Equality",is:!0,t:8,pi:[{n:"s1",pt:$n[0].String,ps:0},{n:"s2",pt:$n[0].String,ps:1}],sn:"op_Equality",rt:$n[0].Boolean,p:[$n[0].String,$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Inequality",is:!0,t:8,pi:[{n:"s1",pt:$n[0].String,ps:0},{n:"s2",pt:$n[0].String,ps:1}],sn:"op_Inequality",rt:$n[0].Boolean,p:[$n[0].String,$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Item",t:16,rt:$n[0].Char,p:[$n[0].Int32],i:!0,ipi:[{n:"index",pt:$n[0].Int32,ps:0}],g:{a:2,n:"get_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],tpc:0,def:function(index){return this.charCodeAt(index)},rt:$n[0].Char,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}}},{a:2,n:"Length",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Length",t:8,rt:$n[0].Int32,fg:"length",box:function($v){return Bridge.box($v,System.Int32)}},fn:"length"},{a:2,n:"Empty",is:!0,t:4,rt:$n[0].String,sn:"Empty"}]}});$m("System.TimeSpan",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int64],pi:[{n:"ticks",pt:$n[0].Int64,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"hours",pt:$n[0].Int32,ps:0},{n:"minutes",pt:$n[0].Int32,ps:1},{n:"seconds",pt:$n[0].Int32,ps:2}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"days",pt:$n[0].Int32,ps:0},{n:"hours",pt:$n[0].Int32,ps:1},{n:"minutes",pt:$n[0].Int32,ps:2},{n:"seconds",pt:$n[0].Int32,ps:3}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"days",pt:$n[0].Int32,ps:0},{n:"hours",pt:$n[0].Int32,ps:1},{n:"minutes",pt:$n[0].Int32,ps:2},{n:"seconds",pt:$n[0].Int32,ps:3},{n:"milliseconds",pt:$n[0].Int32,ps:4}],sn:"ctor"},{a:2,n:"Add",t:8,pi:[{n:"ts",pt:$n[0].TimeSpan,ps:0}],sn:"add",rt:$n[0].TimeSpan,p:[$n[0].TimeSpan]},{a:2,n:"Compare",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return t1.compareTo(t2)},rt:$n[0].Int32,p:[$n[0].TimeSpan,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"compareTo",rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CompareTo",t:8,pi:[{n:"value",pt:$n[0].TimeSpan,ps:0}],sn:"compareTo",rt:$n[0].Int32,p:[$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Duration",t:8,sn:"duration",rt:$n[0].TimeSpan},{a:2,n:"Equals",t:8,pi:[{n:"obj",pt:$n[0].TimeSpan,ps:0}],sn:"equalsT",rt:$n[0].Boolean,p:[$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Equals",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return t1.ticks.eq(t2.ticks)},rt:$n[0].Boolean,p:[$n[0].TimeSpan,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Format",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],sn:"toString",rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"FromDays",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"fromDays",rt:$n[0].TimeSpan,p:[$n[0].Double]},{a:2,n:"FromHours",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"fromHours",rt:$n[0].TimeSpan,p:[$n[0].Double]},{a:2,n:"FromMilliseconds",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"fromMilliseconds",rt:$n[0].TimeSpan,p:[$n[0].Double]},{a:2,n:"FromMinutes",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"fromMinutes",rt:$n[0].TimeSpan,p:[$n[0].Double]},{a:2,n:"FromSeconds",is:!0,t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"fromSeconds",rt:$n[0].TimeSpan,p:[$n[0].Double]},{a:2,n:"FromTicks",is:!0,t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"fromTicks",rt:$n[0].TimeSpan,p:[$n[0].Int64]},{a:2,n:"Negate",t:8,sn:"negate",rt:$n[0].TimeSpan},{a:2,n:"Subtract",t:8,pi:[{n:"ts",pt:$n[0].TimeSpan,ps:0}],sn:"subtract",rt:$n[0].TimeSpan,p:[$n[0].TimeSpan]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],sn:"toString",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToString",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"provider",pt:$n[0].IFormatProvider,ps:1}],sn:"format",rt:$n[0].String,p:[$n[0].String,$n[0].IFormatProvider]},{a:2,n:"op_Addition",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return System.TimeSpan.add(t1,t2)},rt:$n[0].TimeSpan,p:[$n[0].TimeSpan,$n[0].TimeSpan]},{a:2,n:"op_Equality",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return System.TimeSpan.eq(t1,t2)},rt:$n[0].Boolean,p:[$n[0].TimeSpan,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_GreaterThan",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return System.TimeSpan.gt(t1,t2)},rt:$n[0].Boolean,p:[$n[0].TimeSpan,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_GreaterThanOrEqual",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return System.TimeSpan.gte(t1,t2)},rt:$n[0].Boolean,p:[$n[0].TimeSpan,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Inequality",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return System.TimeSpan.neq(t1,t2)},rt:$n[0].Boolean,p:[$n[0].TimeSpan,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_LessThan",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return System.TimeSpan.lt(t1,t2)},rt:$n[0].Boolean,p:[$n[0].TimeSpan,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_LessThanOrEqual",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return System.TimeSpan.lte(t1,t2)},rt:$n[0].Boolean,p:[$n[0].TimeSpan,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Subtraction",is:!0,t:8,pi:[{n:"t1",pt:$n[0].TimeSpan,ps:0},{n:"t2",pt:$n[0].TimeSpan,ps:1}],tpc:0,def:function(t1,t2){return System.TimeSpan.sub(t1,t2)},rt:$n[0].TimeSpan,p:[$n[0].TimeSpan,$n[0].TimeSpan]},{a:2,n:"op_UnaryNegation",is:!0,t:8,pi:[{n:"t",pt:$n[0].TimeSpan,ps:0}],tpc:0,def:function(t){return System.TimeSpan.neg(t)},rt:$n[0].TimeSpan,p:[$n[0].TimeSpan]},{a:2,n:"op_UnaryPlus",is:!0,t:8,pi:[{n:"t",pt:$n[0].TimeSpan,ps:0}],tpc:0,def:function(t){return System.TimeSpan.plus(t)},rt:$n[0].TimeSpan,p:[$n[0].TimeSpan]},{a:2,n:"Days",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Days",t:8,tpc:0,def:function(){return this.getDays()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Hours",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Hours",t:8,tpc:0,def:function(){return this.getHours()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Milliseconds",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Milliseconds",t:8,tpc:0,def:function(){return this.getMilliseconds()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Minutes",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Minutes",t:8,tpc:0,def:function(){return this.getMinutes()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Seconds",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Seconds",t:8,tpc:0,def:function(){return this.getSeconds()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Ticks",t:16,rt:$n[0].Int64,g:{a:2,n:"get_Ticks",t:8,tpc:0,def:function(){return this.getTicks()},rt:$n[0].Int64}},{a:2,n:"TotalDays",t:16,rt:$n[0].Double,g:{a:2,n:"get_TotalDays",t:8,tpc:0,def:function(){return this.getTotalDays()},rt:$n[0].Double,box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}}},{a:2,n:"TotalHours",t:16,rt:$n[0].Double,g:{a:2,n:"get_TotalHours",t:8,tpc:0,def:function(){return this.getTotalHours()},rt:$n[0].Double,box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}}},{a:2,n:"TotalMilliseconds",t:16,rt:$n[0].Double,g:{a:2,n:"get_TotalMilliseconds",t:8,tpc:0,def:function(){return this.getTotalMilliseconds()},rt:$n[0].Double,box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}}},{a:2,n:"TotalMinutes",t:16,rt:$n[0].Double,g:{a:2,n:"get_TotalMinutes",t:8,tpc:0,def:function(){return this.getTotalMinutes()},rt:$n[0].Double,box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}}},{a:2,n:"TotalSeconds",t:16,rt:$n[0].Double,g:{a:2,n:"get_TotalSeconds",t:8,tpc:0,def:function(){return this.getTotalSeconds()},rt:$n[0].Double,box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}}},{a:2,n:"MaxValue",is:!0,t:4,rt:$n[0].TimeSpan,sn:"maxValue",ro:!0},{a:2,n:"MinValue",is:!0,t:4,rt:$n[0].TimeSpan,sn:"minValue",ro:!0},{a:2,n:"TicksPerDay",is:!0,t:4,rt:$n[0].Int64,sn:"TicksPerDay"},{a:2,n:"TicksPerHour",is:!0,t:4,rt:$n[0].Int64,sn:"TicksPerHour"},{a:2,n:"TicksPerMillisecond",is:!0,t:4,rt:$n[0].Int64,sn:"TicksPerMillisecond"},{a:2,n:"TicksPerMinute",is:!0,t:4,rt:$n[0].Int64,sn:"TicksPerMinute"},{a:2,n:"TicksPerSecond",is:!0,t:4,rt:$n[0].Int64,sn:"TicksPerSecond"},{a:2,n:"Zero",is:!0,t:4,rt:$n[0].TimeSpan,sn:"zero",ro:!0}]}});$m("System.Void",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"}]}});$m("System.Threading.Timer",function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,p:[Function],pi:[{n:"callback",pt:Function,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[Function,$n[0].Object,$n[0].Int32,$n[0].Int32],pi:[{n:"callback",pt:Function,ps:0},{n:"state",pt:$n[0].Object,ps:1},{n:"dueTime",pt:$n[0].Int32,ps:2},{n:"period",pt:$n[0].Int32,ps:3}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[Function,$n[0].Object,$n[0].Int64,$n[0].Int64],pi:[{n:"callback",pt:Function,ps:0},{n:"state",pt:$n[0].Object,ps:1},{n:"dueTime",pt:$n[0].Int64,ps:2},{n:"period",pt:$n[0].Int64,ps:3}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[Function,$n[0].Object,$n[0].TimeSpan,$n[0].TimeSpan],pi:[{n:"callback",pt:Function,ps:0},{n:"state",pt:$n[0].Object,ps:1},{n:"dueTime",pt:$n[0].TimeSpan,ps:2},{n:"period",pt:$n[0].TimeSpan,ps:3}],sn:"$ctor3"},{a:2,n:".ctor",t:1,p:[Function,$n[0].Object,$n[0].UInt32,$n[0].UInt32],pi:[{n:"callback",pt:Function,ps:0},{n:"state",pt:$n[0].Object,ps:1},{n:"dueTime",pt:$n[0].UInt32,ps:2},{n:"period",pt:$n[0].UInt32,ps:3}],sn:"$ctor4"},{a:2,n:"Change",t:8,pi:[{n:"dueTime",pt:$n[0].Int32,ps:0},{n:"period",pt:$n[0].Int32,ps:1}],sn:"change",rt:$n[0].Boolean,p:[$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Change",t:8,pi:[{n:"dueTime",pt:$n[0].Int64,ps:0},{n:"period",pt:$n[0].Int64,ps:1}],sn:"change$1",rt:$n[0].Boolean,p:[$n[0].Int64,$n[0].Int64],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Change",t:8,pi:[{n:"dueTime",pt:$n[0].TimeSpan,ps:0},{n:"period",pt:$n[0].TimeSpan,ps:1}],sn:"change$2",rt:$n[0].Boolean,p:[$n[0].TimeSpan,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Change",t:8,pi:[{n:"dueTime",pt:$n[0].UInt32,ps:0},{n:"period",pt:$n[0].UInt32,ps:1}],sn:"change$3",rt:$n[0].Boolean,p:[$n[0].UInt32,$n[0].UInt32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"ChangeTimer",t:8,pi:[{n:"dueTime",pt:$n[0].Int64,ps:0},{n:"period",pt:$n[0].Int64,ps:1}],sn:"changeTimer",rt:$n[0].Boolean,p:[$n[0].Int64,$n[0].Int64],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"ClearTimeout",t:8,sn:"clearTimeout",rt:$n[0].Void},{a:2,n:"Dispose",t:8,sn:"dispose",rt:$n[0].Void},{a:1,n:"HandleCallback",t:8,sn:"handleCallback",rt:$n[0].Void},{a:1,n:"RunTimer",t:8,pi:[{n:"period",pt:$n[0].Int64,ps:0},{n:"checkDispose",dv:!0,o:!0,pt:$n[0].Boolean,ps:1}],sn:"runTimer",rt:$n[0].Boolean,p:[$n[0].Int64,$n[0].Boolean],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"TimerSetup",t:8,pi:[{n:"callback",pt:Function,ps:0},{n:"state",pt:$n[0].Object,ps:1},{n:"dueTime",pt:$n[0].Int64,ps:2},{n:"period",pt:$n[0].Int64,ps:3}],sn:"timerSetup",rt:$n[0].Boolean,p:[Function,$n[0].Object,$n[0].Int64,$n[0].Int64],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"EXC_DISPOSED",is:!0,t:4,rt:$n[0].String,sn:"EXC_DISPOSED"},{a:1,n:"EXC_LESS",is:!0,t:4,rt:$n[0].String,sn:"EXC_LESS"},{a:1,n:"EXC_MORE",is:!0,t:4,rt:$n[0].String,sn:"EXC_MORE"},{a:1,n:"MAX_SUPPORTED_TIMEOUT",is:!0,t:4,rt:$n[0].UInt32,sn:"MAX_SUPPORTED_TIMEOUT",box:function($v){return Bridge.box($v,System.UInt32)}},{a:1,n:"disposed",t:4,rt:$n[0].Boolean,sn:"disposed",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:4,n:"dueTime",t:4,rt:$n[0].Int64,sn:"dueTime"},{a:1,n:"id",t:4,rt:$n[0].Nullable$1(System.Int32),sn:"id",box:function($v){return Bridge.box($v,System.Int32,System.Nullable.toString,System.Nullable.getHashCode)}},{a:4,n:"period",t:4,rt:$n[0].Int64,sn:"period"},{a:1,n:"state",t:4,rt:$n[0].Object,sn:"state"},{a:1,n:"timerCallback",t:4,rt:Function,sn:"timerCallback"}]}});$m("System.Threading.CancellationToken",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Boolean],pi:[{n:"canceled",pt:$n[0].Boolean,ps:0}],sn:"ctor"},{a:2,n:"Register",t:8,pi:[{n:"callback",pt:Function,ps:0}],sn:"register",rt:$n[5].CancellationTokenRegistration,p:[Function]},{a:2,n:"Register",t:8,pi:[{n:"callback",pt:Function,ps:0},{n:"useSynchronizationContext",pt:$n[0].Boolean,ps:1}],tpc:0,def:function(callback){return this.register(callback)},rt:$n[5].CancellationTokenRegistration,p:[Function,$n[0].Boolean]},{a:2,n:"Register",t:8,pi:[{n:"callback",pt:Function,ps:0},{n:"state",pt:$n[0].Object,ps:1}],sn:"register",rt:$n[5].CancellationTokenRegistration,p:[Function,$n[0].Object]},{a:2,n:"Register",t:8,pi:[{n:"callback",pt:Function,ps:0},{n:"state",pt:$n[0].Object,ps:1},{n:"useSynchronizationContext",pt:$n[0].Boolean,ps:2}],tpc:0,def:function(callback,state){return this.register(callback,state)},rt:$n[5].CancellationTokenRegistration,p:[Function,$n[0].Object,$n[0].Boolean]},{a:2,n:"ThrowIfCancellationRequested",t:8,sn:"throwIfCancellationRequested",rt:$n[0].Void},{a:2,n:"CanBeCanceled",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanBeCanceled",t:8,tpc:0,def:function(){return this.getCanBeCanceled()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"IsCancellationRequested",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsCancellationRequested",t:8,tpc:0,def:function(){return this.getIsCancellationRequested()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"None",is:!0,t:16,rt:$n[5].CancellationToken,g:{a:2,n:"get_None",t:8,rt:$n[5].CancellationToken,fg:"none",is:!0},fn:"none"}]}});$m("System.Threading.CancellationTokenRegistration",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Dispose",t:8,sn:"dispose",rt:$n[0].Void},{a:2,n:"Equals",t:8,pi:[{n:"other",pt:$n[5].CancellationTokenRegistration,ps:0}],sn:"equalsT",rt:$n[0].Boolean,p:[$n[5].CancellationTokenRegistration],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Equality",is:!0,t:8,pi:[{n:"left",pt:$n[5].CancellationTokenRegistration,ps:0},{n:"right",pt:$n[5].CancellationTokenRegistration,ps:1}],tpc:0,def:function(left,right){return Bridge.equals(left,right)},rt:$n[0].Boolean,p:[$n[5].CancellationTokenRegistration,$n[5].CancellationTokenRegistration],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Inequality",is:!0,t:8,pi:[{n:"left",pt:$n[5].CancellationTokenRegistration,ps:0},{n:"right",pt:$n[5].CancellationTokenRegistration,ps:1}],tpc:0,def:function(left,right){return!Bridge.equals(left,right)},rt:$n[0].Boolean,p:[$n[5].CancellationTokenRegistration,$n[5].CancellationTokenRegistration],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.Threading.CancellationTokenSource",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"millisecondsDelay",pt:$n[0].Int32,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].TimeSpan],pi:[{n:"delay",pt:$n[0].TimeSpan,ps:0}],def:function(delay){return new System.Threading.CancellationTokenSource(delay.ticks/1e4)}},{a:2,n:"Cancel",t:8,sn:"cancel",rt:$n[0].Void},{a:2,n:"Cancel",t:8,pi:[{n:"throwOnFirstException",pt:$n[0].Boolean,ps:0}],sn:"cancel",rt:$n[0].Void,p:[$n[0].Boolean]},{a:2,n:"CancelAfter",t:8,pi:[{n:"millisecondsDelay",pt:$n[0].Int32,ps:0}],sn:"cancelAfter",rt:$n[0].Void,p:[$n[0].Int32]},{a:2,n:"CancelAfter",t:8,pi:[{n:"delay",pt:$n[0].TimeSpan,ps:0}],tpc:0,def:function(delay){return this.cancelAfter(delay.ticks/1e4)},rt:$n[0].Void,p:[$n[0].TimeSpan]},{a:2,n:"CreateLinkedTokenSource",is:!0,t:8,pi:[{n:"tokens",ip:!0,pt:System.Array.type(System.Threading.CancellationToken),ps:0}],tpc:0,def:function(tokens){return System.Threading.CancellationTokenSource.createLinked(tokens)},rt:$n[5].CancellationTokenSource,p:[System.Array.type(System.Threading.CancellationToken)]},{a:2,n:"CreateLinkedTokenSource",is:!0,t:8,pi:[{n:"token1",pt:$n[5].CancellationToken,ps:0},{n:"token2",pt:$n[5].CancellationToken,ps:1}],sn:"createLinked",rt:$n[5].CancellationTokenSource,p:[$n[5].CancellationToken,$n[5].CancellationToken]},{a:2,n:"Dispose",t:8,sn:"dispose",rt:$n[0].Void},{a:2,n:"IsCancellationRequested",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsCancellationRequested",t:8,rt:$n[0].Boolean,fg:"isCancellationRequested",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:1,n:"set_IsCancellationRequested",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isCancellationRequested"},fn:"isCancellationRequested"},{a:2,n:"Token",t:16,rt:$n[5].CancellationToken,g:{a:2,n:"get_Token",t:8,rt:$n[5].CancellationToken,fg:"token"},s:{a:1,n:"set_Token",t:8,p:[$n[5].CancellationToken],rt:$n[0].Void,fs:"token"},fn:"token"}]}});$m("System.Threading.Tasks.Task",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[Function],pi:[{n:"action",pt:Function,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[Function,$n[0].Object],pi:[{n:"action",pt:Function,ps:0},{n:"state",pt:$n[0].Object,ps:1}],sn:"ctor"},{a:2,n:"Complete",t:8,pi:[{n:"result",dv:null,o:!0,pt:$n[0].Object,ps:0}],sn:"complete",rt:$n[0].Void,p:[$n[0].Object]},{a:2,n:"ContinueWith",t:8,pi:[{n:"continuationAction",pt:Function,ps:0}],sn:"continueWith",rt:$n[8].Task,p:[Function]},{a:2,n:"ContinueWith",t:8,pi:[{n:"continuationFunction",pt:Function,ps:0}],tpc:1,tprm:["TResult"],sn:"continueWith",rt:$n[8].Task$1(System.Object),p:[Function]},{a:2,n:"Delay",is:!0,t:8,pi:[{n:"millisecondDelay",pt:$n[0].Int32,ps:0}],sn:"delay",rt:$n[8].Task,p:[$n[0].Int32]},{a:2,n:"Dispose",t:8,sn:"dispose",rt:$n[0].Void},{a:2,n:"FromCallback",is:!0,t:8,pi:[{n:"target",pt:$n[0].Object,ps:0},{n:"method",pt:$n[0].String,ps:1},{n:"otherArguments",ip:!0,pt:$n[0].Array.type(System.Object),ps:2}],sn:"fromCallback",rt:$n[8].Task,p:[$n[0].Object,$n[0].String,$n[0].Array.type(System.Object)]},{a:2,n:"FromCallback",is:!0,t:8,pi:[{n:"target",pt:$n[0].Object,ps:0},{n:"method",pt:$n[0].String,ps:1},{n:"otherArguments",ip:!0,pt:$n[0].Array.type(System.Object),ps:2}],tpc:1,tprm:["TResult"],sn:"fromCallback",rt:$n[8].Task$1(System.Object),p:[$n[0].Object,$n[0].String,$n[0].Array.type(System.Object)]},{a:2,n:"FromCallbackResult",is:!0,t:8,pi:[{n:"target",pt:$n[0].Object,ps:0},{n:"method",pt:$n[0].String,ps:1},{n:"resultHandler",pt:Function,ps:2},{n:"otherArguments",ip:!0,pt:$n[0].Array.type(System.Object),ps:3}],sn:"fromCallbackResult",rt:$n[8].Task,p:[$n[0].Object,$n[0].String,Function,$n[0].Array.type(System.Object)]},{a:2,n:"FromCallbackResult",is:!0,t:8,pi:[{n:"target",pt:$n[0].Object,ps:0},{n:"method",pt:$n[0].String,ps:1},{n:"resultHandler",pt:Function,ps:2},{n:"otherArguments",ip:!0,pt:$n[0].Array.type(System.Object),ps:3}],tpc:1,tprm:["TResult"],sn:"fromCallbackResult",rt:$n[8].Task$1(System.Object),p:[$n[0].Object,$n[0].String,Function,$n[0].Array.type(System.Object)]},{a:2,n:"FromPromise",is:!0,t:8,pi:[{n:"promise",pt:Bridge.IPromise,ps:0}],sn:"fromPromise",rt:$n[8].Task$1(System.Array.type(System.Object)),p:[Bridge.IPromise]},{a:2,n:"FromPromise",is:!0,t:8,pi:[{n:"promise",pt:Bridge.IPromise,ps:0},{n:"resultHandler",pt:Function,ps:1}],tpc:1,tprm:["TResult"],sn:"fromPromise",rt:$n[8].Task$1(System.Object),p:[Bridge.IPromise,Function]},{a:2,n:"FromPromise",is:!0,t:8,pi:[{n:"promise",pt:Bridge.IPromise,ps:0},{n:"resultHandler",pt:Function,ps:1},{n:"errorHandler",pt:Function,ps:2}],tpc:1,tprm:["TResult"],sn:"fromPromise",rt:$n[8].Task$1(System.Object),p:[Bridge.IPromise,Function,Function]},{a:2,n:"FromPromise",is:!0,t:8,pi:[{n:"promise",pt:Bridge.IPromise,ps:0},{n:"resultHandler",pt:Function,ps:1},{n:"errorHandler",pt:Function,ps:2},{n:"progressHandler",pt:Function,ps:3}],tpc:1,tprm:["TResult"],sn:"fromPromise",rt:$n[8].Task$1(System.Object),p:[Bridge.IPromise,Function,Function,Function]},{a:2,n:"FromResult",is:!0,t:8,pi:[{n:"result",pt:System.Object,ps:0}],tpc:1,def:function(TResult,result){return System.Threading.Tasks.Task.fromResult(result,TResult)},rt:$n[8].Task$1(System.Object),p:[System.Object]},{a:2,n:"GetAwaiter",t:8,sn:"getAwaiter",rt:$n[8].TaskAwaiter},{a:2,n:"Run",is:!0,t:8,pi:[{n:"action",pt:Function,ps:0}],sn:"run",rt:$n[8].Task,p:[Function]},{a:2,n:"Run",is:!0,t:8,pi:[{n:"function",pt:Function,ps:0}],tpc:1,tprm:["TResult"],sn:"run",rt:$n[8].Task$1(System.Object),p:[Function]},{a:2,n:"Start",t:8,sn:"start",rt:$n[0].Void},{a:2,n:"WhenAll",is:!0,t:8,pi:[{n:"tasks",pt:$n[3].IEnumerable$1(System.Threading.Tasks.Task),ps:0}],sn:"whenAll",rt:$n[8].Task,p:[$n[3].IEnumerable$1(System.Threading.Tasks.Task)]},{a:2,n:"WhenAll",is:!0,t:8,pi:[{n:"tasks",pt:$n[3].IEnumerable$1(System.Threading.Tasks.Task$1(System.Object)),ps:0}],tpc:1,tprm:["TResult"],sn:"whenAll",rt:$n[8].Task$1(System.Array.type(System.Object)),p:[$n[3].IEnumerable$1(System.Threading.Tasks.Task$1(System.Object))]},{a:2,n:"WhenAll",is:!0,t:8,pi:[{n:"tasks",ip:!0,pt:System.Array.type(System.Threading.Tasks.Task),ps:0}],sn:"whenAll",rt:$n[8].Task,p:[System.Array.type(System.Threading.Tasks.Task)]},{a:2,n:"WhenAll",is:!0,t:8,pi:[{n:"tasks",ip:!0,pt:System.Array.type(System.Threading.Tasks.Task$1(System.Object)),ps:0}],tpc:1,tprm:["TResult"],sn:"whenAll",rt:$n[8].Task$1(System.Array.type(System.Object)),p:[System.Array.type(System.Threading.Tasks.Task$1(System.Object))]},{a:2,n:"WhenAny",is:!0,t:8,pi:[{n:"tasks",pt:$n[3].IEnumerable$1(System.Threading.Tasks.Task),ps:0}],sn:"whenAny",rt:$n[8].Task$1(System.Threading.Tasks.Task),p:[$n[3].IEnumerable$1(System.Threading.Tasks.Task)]},{a:2,n:"WhenAny",is:!0,t:8,pi:[{n:"tasks",pt:$n[3].IEnumerable$1(System.Threading.Tasks.Task$1(System.Object)),ps:0}],tpc:1,tprm:["TResult"],sn:"whenAny",rt:$n[8].Task$1(System.Threading.Tasks.Task$1(System.Object)),p:[$n[3].IEnumerable$1(System.Threading.Tasks.Task$1(System.Object))]},{a:2,n:"WhenAny",is:!0,t:8,pi:[{n:"tasks",ip:!0,pt:System.Array.type(System.Threading.Tasks.Task),ps:0}],sn:"whenAny",rt:$n[8].Task$1(System.Threading.Tasks.Task),p:[System.Array.type(System.Threading.Tasks.Task)]},{a:2,n:"WhenAny",is:!0,t:8,pi:[{n:"tasks",ip:!0,pt:System.Array.type(System.Threading.Tasks.Task$1(System.Object)),ps:0}],tpc:1,tprm:["TResult"],sn:"whenAny",rt:$n[8].Task$1(System.Threading.Tasks.Task$1(System.Object)),p:[System.Array.type(System.Threading.Tasks.Task$1(System.Object))]},{a:2,n:"Exception",t:16,rt:$n[0].AggregateException,g:{a:2,n:"get_Exception",t:8,rt:$n[0].AggregateException,fg:"exception"},fn:"exception"},{a:2,n:"IsCanceled",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsCanceled",t:8,tpc:0,def:function(){return this.isCanceled()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"IsCompleted",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsCompleted",t:8,tpc:0,def:function(){return this.isCompleted()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"IsFaulted",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsFaulted",t:8,tpc:0,def:function(){return this.isFaulted()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"Status",t:16,rt:$n[8].TaskStatus,g:{a:2,n:"get_Status",t:8,rt:$n[8].TaskStatus,fg:"status",box:function($v){return Bridge.box($v,System.Threading.Tasks.TaskStatus,System.Enum.toStringFn(System.Threading.Tasks.TaskStatus))}},fn:"status"}]}});$m("System.Threading.Tasks.Task$1",function(TResult){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[Function],pi:[{n:"function",pt:Function,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[Function,$n[0].Object],pi:[{n:"function",pt:Function,ps:0},{n:"state",pt:$n[0].Object,ps:1}],sn:"ctor"},{a:2,n:"ContinueWith",t:8,pi:[{n:"continuationAction",pt:Function,ps:0}],sn:"continueWith",rt:$n[8].Task,p:[Function]},{a:2,n:"ContinueWith",t:8,pi:[{n:"continuationFunction",pt:Function,ps:0}],sn:"continueWith",rt:$n[8].Task$1(System.Object),p:[Function]},{a:2,n:"GetAwaiter",t:8,sn:"getAwaiter",rt:$n[8].Task(TResult)},{a:2,n:"SetResult",t:8,pi:[{n:"result",pt:TResult,ps:0}],sn:"setResult",rt:$n[0].Void,p:[TResult]},{a:2,n:"Result",t:16,rt:TResult,g:{a:2,n:"get_Result",t:8,tpc:0,def:function(){return this.getResult()},rt:TResult}}]}});$m("System.Threading.Tasks.TaskCanceledException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[8].Task],pi:[{n:"task",pt:$n[8].Task,ps:0}],def:function(task){return new System.Threading.Tasks.TaskCanceledException(null,task)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],def:function(message,innerException){return new System.Threading.Tasks.TaskCanceledException(message,null,innerException)}},{a:2,n:"Task",t:16,rt:$n[8].Task,g:{a:2,n:"get_Task",t:8,rt:$n[8].Task,fg:"task"},s:{a:1,n:"set_Task",t:8,p:[$n[8].Task],rt:$n[0].Void,fs:"task"},fn:"task"}]}});$m("System.Threading.Tasks.TaskCompletionSource",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:"SetCanceled",t:8,sn:"setCanceled",rt:$n[0].Void},{a:2,n:"SetException",t:8,pi:[{n:"exceptions",pt:$n[3].IEnumerable$1(System.Exception),ps:0}],sn:"setException",rt:$n[0].Void,p:[$n[3].IEnumerable$1(System.Exception)]},{a:2,n:"SetException",t:8,pi:[{n:"exception",pt:$n[0].Exception,ps:0}],sn:"setException",rt:$n[0].Void,p:[$n[0].Exception]},{a:2,n:"SetResult",t:8,pi:[{n:"result",pt:System.Object,ps:0}],sn:"setResult",rt:$n[0].Void,p:[System.Object]},{a:2,n:"TrySetCanceled",t:8,sn:"trySetCanceled",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TrySetException",t:8,pi:[{n:"exceptions",pt:$n[3].IEnumerable$1(System.Exception),ps:0}],sn:"trySetException",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(System.Exception)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TrySetException",t:8,pi:[{n:"exception",pt:$n[0].Exception,ps:0}],sn:"trySetException",rt:$n[0].Boolean,p:[$n[0].Exception],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TrySetResult",t:8,pi:[{n:"result",pt:System.Object,ps:0}],sn:"trySetResult",rt:$n[0].Boolean,p:[System.Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Task",t:16,rt:$n[8].Task$1(System.Object),g:{a:2,n:"get_Task",t:8,rt:$n[8].Task$1(System.Object),fg:"task"},fn:"task"}]}});$m("System.Text.UTF32Encoding",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Boolean,$n[0].Boolean],pi:[{n:"bigEndian",pt:$n[0].Boolean,ps:0},{n:"byteOrderMark",pt:$n[0].Boolean,ps:1}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].Boolean,$n[0].Boolean,$n[0].Boolean],pi:[{n:"bigEndian",pt:$n[0].Boolean,ps:0},{n:"byteOrderMark",pt:$n[0].Boolean,ps:1},{n:"throwOnInvalidBytes",pt:$n[0].Boolean,ps:2}],sn:"$ctor2"},{ov:!0,a:3,n:"Decode",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"chars",pt:$n[0].Array.type(System.Char),ps:3},{n:"charIndex",pt:$n[0].Int32,ps:4}],sn:"Decode$2",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Char),$n[0].Int32]},{ov:!0,a:3,n:"Encode",t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"outputBytes",pt:$n[0].Array.type(System.Byte),ps:1},{n:"outputIndex",pt:$n[0].Int32,ps:2},{n:"writtenBytes",out:!0,pt:$n[0].Int32,ps:3}],sn:"Encode$3",rt:$n[0].Array.type(System.Byte),p:[$n[0].String,$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"GetMaxByteCount",t:8,pi:[{n:"charCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxByteCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"GetMaxCharCount",t:8,pi:[{n:"byteCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxCharCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"ToCodePoints",t:8,pi:[{n:"str",pt:$n[0].String,ps:0}],sn:"ToCodePoints",rt:$n[0].Array.type(System.Char),p:[$n[0].String]},{ov:!0,a:2,n:"CodePage",t:16,rt:$n[0].Int32,g:{ov:!0,a:2,n:"get_CodePage",t:8,rt:$n[0].Int32,fg:"CodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"CodePage"},{ov:!0,a:2,n:"EncodingName",t:16,rt:$n[0].String,g:{ov:!0,a:2,n:"get_EncodingName",t:8,rt:$n[0].String,fg:"EncodingName"},fn:"EncodingName"},{a:1,n:"bigEndian",t:4,rt:$n[0].Boolean,sn:"bigEndian",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"byteOrderMark",t:4,rt:$n[0].Boolean,sn:"byteOrderMark",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"throwOnInvalid",t:4,rt:$n[0].Boolean,sn:"throwOnInvalid",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.Text.UTF7Encoding",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Boolean],pi:[{n:"allowOptionals",pt:$n[0].Boolean,ps:0}],sn:"$ctor1"},{ov:!0,a:3,n:"Decode",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"chars",pt:$n[0].Array.type(System.Char),ps:3},{n:"charIndex",pt:$n[0].Int32,ps:4}],sn:"Decode$2",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Char),$n[0].Int32]},{ov:!0,a:3,n:"Encode",t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"outputBytes",pt:$n[0].Array.type(System.Byte),ps:1},{n:"outputIndex",pt:$n[0].Int32,ps:2},{n:"writtenBytes",out:!0,pt:$n[0].Int32,ps:3}],sn:"Encode$3",rt:$n[0].Array.type(System.Byte),p:[$n[0].String,$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{a:1,n:"Escape",is:!0,t:8,pi:[{n:"chars",pt:$n[0].String,ps:0}],sn:"Escape",rt:$n[0].String,p:[$n[0].String]},{ov:!0,a:2,n:"GetMaxByteCount",t:8,pi:[{n:"charCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxByteCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"GetMaxCharCount",t:8,pi:[{n:"byteCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxCharCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"CodePage",t:16,rt:$n[0].Int32,g:{ov:!0,a:2,n:"get_CodePage",t:8,rt:$n[0].Int32,fg:"CodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"CodePage"},{ov:!0,a:2,n:"EncodingName",t:16,rt:$n[0].String,g:{ov:!0,a:2,n:"get_EncodingName",t:8,rt:$n[0].String,fg:"EncodingName"},fn:"EncodingName"},{a:1,n:"allowOptionals",t:4,rt:$n[0].Boolean,sn:"allowOptionals",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.Text.UTF8Encoding",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Boolean],pi:[{n:"encoderShouldEmitUTF8Identifier",pt:$n[0].Boolean,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].Boolean,$n[0].Boolean],pi:[{n:"encoderShouldEmitUTF8Identifier",pt:$n[0].Boolean,ps:0},{n:"throwOnInvalidBytes",pt:$n[0].Boolean,ps:1}],sn:"$ctor2"},{ov:!0,a:3,n:"Decode",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"chars",pt:$n[0].Array.type(System.Char),ps:3},{n:"charIndex",pt:$n[0].Int32,ps:4}],sn:"Decode$2",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Char),$n[0].Int32]},{ov:!0,a:3,n:"Encode",t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"outputBytes",pt:$n[0].Array.type(System.Byte),ps:1},{n:"outputIndex",pt:$n[0].Int32,ps:2},{n:"writtenBytes",out:!0,pt:$n[0].Int32,ps:3}],sn:"Encode$3",rt:$n[0].Array.type(System.Byte),p:[$n[0].String,$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"GetMaxByteCount",t:8,pi:[{n:"charCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxByteCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"GetMaxCharCount",t:8,pi:[{n:"byteCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxCharCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"CodePage",t:16,rt:$n[0].Int32,g:{ov:!0,a:2,n:"get_CodePage",t:8,rt:$n[0].Int32,fg:"CodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"CodePage"},{ov:!0,a:2,n:"EncodingName",t:16,rt:$n[0].String,g:{ov:!0,a:2,n:"get_EncodingName",t:8,rt:$n[0].String,fg:"EncodingName"},fn:"EncodingName"},{a:1,n:"encoderShouldEmitUTF8Identifier",t:4,rt:$n[0].Boolean,sn:"encoderShouldEmitUTF8Identifier",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"throwOnInvalid",t:4,rt:$n[0].Boolean,sn:"throwOnInvalid",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.Text.UnicodeEncoding",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Boolean,$n[0].Boolean],pi:[{n:"bigEndian",pt:$n[0].Boolean,ps:0},{n:"byteOrderMark",pt:$n[0].Boolean,ps:1}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].Boolean,$n[0].Boolean,$n[0].Boolean],pi:[{n:"bigEndian",pt:$n[0].Boolean,ps:0},{n:"byteOrderMark",pt:$n[0].Boolean,ps:1},{n:"throwOnInvalidBytes",pt:$n[0].Boolean,ps:2}],sn:"$ctor2"},{ov:!0,a:3,n:"Decode",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"chars",pt:$n[0].Array.type(System.Char),ps:3},{n:"charIndex",pt:$n[0].Int32,ps:4}],sn:"Decode$2",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Char),$n[0].Int32]},{ov:!0,a:3,n:"Encode",t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"outputBytes",pt:$n[0].Array.type(System.Byte),ps:1},{n:"outputIndex",pt:$n[0].Int32,ps:2},{n:"writtenBytes",out:!0,pt:$n[0].Int32,ps:3}],sn:"Encode$3",rt:$n[0].Array.type(System.Byte),p:[$n[0].String,$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"GetMaxByteCount",t:8,pi:[{n:"charCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxByteCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"GetMaxCharCount",t:8,pi:[{n:"byteCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxCharCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"CodePage",t:16,rt:$n[0].Int32,g:{ov:!0,a:2,n:"get_CodePage",t:8,rt:$n[0].Int32,fg:"CodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"CodePage"},{ov:!0,a:2,n:"EncodingName",t:16,rt:$n[0].String,g:{ov:!0,a:2,n:"get_EncodingName",t:8,rt:$n[0].String,fg:"EncodingName"},fn:"EncodingName"},{a:1,n:"bigEndian",t:4,rt:$n[0].Boolean,sn:"bigEndian",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"byteOrderMark",t:4,rt:$n[0].Boolean,sn:"byteOrderMark",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"throwOnInvalid",t:4,rt:$n[0].Boolean,sn:"throwOnInvalid",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.Text.ASCIIEncoding",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:3,n:"Decode",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"chars",pt:$n[0].Array.type(System.Char),ps:3},{n:"charIndex",pt:$n[0].Int32,ps:4}],sn:"Decode$2",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Char),$n[0].Int32]},{ov:!0,a:3,n:"Encode",t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"outputBytes",pt:$n[0].Array.type(System.Byte),ps:1},{n:"outputIndex",pt:$n[0].Int32,ps:2},{n:"writtenBytes",out:!0,pt:$n[0].Int32,ps:3}],sn:"Encode$3",rt:$n[0].Array.type(System.Byte),p:[$n[0].String,$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"GetMaxByteCount",t:8,pi:[{n:"charCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxByteCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"GetMaxCharCount",t:8,pi:[{n:"byteCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxCharCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"CodePage",t:16,rt:$n[0].Int32,g:{ov:!0,a:2,n:"get_CodePage",t:8,rt:$n[0].Int32,fg:"CodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"CodePage"},{ov:!0,a:2,n:"EncodingName",t:16,rt:$n[0].String,g:{ov:!0,a:2,n:"get_EncodingName",t:8,rt:$n[0].String,fg:"EncodingName"},fn:"EncodingName"}]}});$m("System.Text.EncodingInfo",function(){return{att:1048833,a:2,m:[{a:4,n:".ctor",t:1,p:[$n[0].Int32,$n[0].String,$n[0].String],pi:[{n:"codePage",pt:$n[0].Int32,ps:0},{n:"name",pt:$n[0].String,ps:1},{n:"displayName",pt:$n[0].String,ps:2}],sn:"ctor"},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"o",pt:$n[0].Object,ps:0}],sn:"Equals",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"GetEncoding",t:8,sn:"GetEncoding",rt:$n[6].Encoding},{ov:!0,a:2,n:"GetHashCode",t:8,sn:"GetHashCode",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"CodePage",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CodePage",t:8,rt:$n[0].Int32,fg:"CodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"CodePage"},{a:2,n:"DisplayName",t:16,rt:$n[0].String,g:{a:2,n:"get_DisplayName",t:8,rt:$n[0].String,fg:"DisplayName"},fn:"DisplayName"},{a:2,n:"Name",t:16,rt:$n[0].String,g:{a:2,n:"get_Name",t:8,rt:$n[0].String,fg:"Name"},fn:"Name"}]}});$m("System.Text.Encoding",function(){return{att:1048705,a:2,m:[{a:3,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Convert",is:!0,t:8,pi:[{n:"srcEncoding",pt:$n[6].Encoding,ps:0},{n:"dstEncoding",pt:$n[6].Encoding,ps:1},{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:2}],sn:"Convert",rt:$n[0].Array.type(System.Byte),p:[$n[6].Encoding,$n[6].Encoding,$n[0].Array.type(System.Byte)]},{a:2,n:"Convert",is:!0,t:8,pi:[{n:"srcEncoding",pt:$n[6].Encoding,ps:0},{n:"dstEncoding",pt:$n[6].Encoding,ps:1},{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:2},{n:"index",pt:$n[0].Int32,ps:3},{n:"count",pt:$n[0].Int32,ps:4}],sn:"Convert$1",rt:$n[0].Array.type(System.Byte),p:[$n[6].Encoding,$n[6].Encoding,$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{a:3,n:"Decode",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"Decode",rt:$n[0].String,p:[$n[0].Array.type(System.Byte)]},{a:3,n:"Decode",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Decode$1",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{ab:!0,a:3,n:"Decode",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"chars",pt:$n[0].Array.type(System.Char),ps:3},{n:"charIndex",pt:$n[0].Int32,ps:4}],sn:"Decode$2",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Char),$n[0].Int32]},{a:3,n:"Encode",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0}],sn:"Encode",rt:$n[0].Array.type(System.Byte),p:[$n[0].Array.type(System.Char)]},{a:3,n:"Encode",t:8,pi:[{n:"str",pt:$n[0].String,ps:0}],sn:"Encode$2",rt:$n[0].Array.type(System.Byte),p:[$n[0].String]},{a:3,n:"Encode",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Encode$1",rt:$n[0].Array.type(System.Byte),p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{ab:!0,a:3,n:"Encode",t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"outputBytes",pt:$n[0].Array.type(System.Byte),ps:1},{n:"outputIndex",pt:$n[0].Int32,ps:2},{n:"writtenBytes",out:!0,pt:$n[0].Int32,ps:3}],sn:"Encode$3",rt:$n[0].Array.type(System.Byte),p:[$n[0].String,$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{a:3,n:"Encode",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"outputBytes",pt:$n[0].Array.type(System.Byte),ps:3},{n:"outputIndex",pt:$n[0].Int32,ps:4}],sn:"Encode$4",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:3,n:"Encode",t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"outputBytes",pt:$n[0].Array.type(System.Byte),ps:3},{n:"outputIndex",pt:$n[0].Int32,ps:4}],sn:"Encode$5",rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:4,n:"FromCharCode",is:!0,t:8,pi:[{n:"code",pt:$n[0].Int32,ps:0}],tpc:0,def:function(code){return System.String.fromCharCode(code)},rt:$n[0].String,p:[$n[0].Int32]},{v:!0,a:2,n:"GetByteCount",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0}],sn:"GetByteCount",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char)],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"GetByteCount",t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],sn:"GetByteCount$2",rt:$n[0].Int32,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"GetByteCount",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"GetByteCount$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"GetBytes",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0}],sn:"GetBytes",rt:$n[0].Array.type(System.Byte),p:[$n[0].Array.type(System.Char)]},{v:!0,a:2,n:"GetBytes",t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],sn:"GetBytes$2",rt:$n[0].Array.type(System.Byte),p:[$n[0].String]},{v:!0,a:2,n:"GetBytes",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"GetBytes$1",rt:$n[0].Array.type(System.Byte),p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{v:!0,a:2,n:"GetBytes",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0},{n:"charIndex",pt:$n[0].Int32,ps:1},{n:"charCount",pt:$n[0].Int32,ps:2},{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:3},{n:"byteIndex",pt:$n[0].Int32,ps:4}],sn:"GetBytes$3",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"GetBytes",t:8,pi:[{n:"s",pt:$n[0].String,ps:0},{n:"charIndex",pt:$n[0].Int32,ps:1},{n:"charCount",pt:$n[0].Int32,ps:2},{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:3},{n:"byteIndex",pt:$n[0].Int32,ps:4}],sn:"GetBytes$4",rt:$n[0].Int32,p:[$n[0].String,$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Byte),$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"GetCharCount",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"GetCharCount",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte)],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"GetCharCount",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"GetCharCount$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"GetChars",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"GetChars",rt:$n[0].Array.type(System.Char),p:[$n[0].Array.type(System.Byte)]},{v:!0,a:2,n:"GetChars",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"GetChars$1",rt:$n[0].Array.type(System.Char),p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{a:2,n:"GetChars",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"byteIndex",pt:$n[0].Int32,ps:1},{n:"byteCount",pt:$n[0].Int32,ps:2},{n:"chars",pt:$n[0].Array.type(System.Char),ps:3},{n:"charIndex",pt:$n[0].Int32,ps:4}],sn:"GetChars$2",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Array.type(System.Char),$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"GetEncoding",is:!0,t:8,pi:[{n:"codepage",pt:$n[0].Int32,ps:0}],sn:"GetEncoding",rt:$n[6].Encoding,p:[$n[0].Int32]},{a:2,n:"GetEncoding",is:!0,t:8,pi:[{n:"codepage",pt:$n[0].String,ps:0}],sn:"GetEncoding$1",rt:$n[6].Encoding,p:[$n[0].String]},{a:2,n:"GetEncodings",is:!0,t:8,sn:"GetEncodings",rt:System.Array.type(System.Text.EncodingInfo)},{ab:!0,a:2,n:"GetMaxByteCount",t:8,pi:[{n:"charCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxByteCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ab:!0,a:2,n:"GetMaxCharCount",t:8,pi:[{n:"byteCount",pt:$n[0].Int32,ps:0}],sn:"GetMaxCharCount",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"GetString",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"GetString",rt:$n[0].String,p:[$n[0].Array.type(System.Byte)]},{v:!0,a:2,n:"GetString",t:8,pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"GetString$1",rt:$n[0].String,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{a:2,n:"ASCII",is:!0,t:16,rt:$n[6].Encoding,g:{a:2,n:"get_ASCII",t:8,rt:$n[6].Encoding,fg:"ASCII",is:!0},fn:"ASCII"},{a:2,n:"BigEndianUnicode",is:!0,t:16,rt:$n[6].Encoding,g:{a:2,n:"get_BigEndianUnicode",t:8,rt:$n[6].Encoding,fg:"BigEndianUnicode",is:!0},fn:"BigEndianUnicode"},{v:!0,a:2,n:"CodePage",t:16,rt:$n[0].Int32,g:{v:!0,a:2,n:"get_CodePage",t:8,rt:$n[0].Int32,fg:"CodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"CodePage"},{a:2,n:"Default",is:!0,t:16,rt:$n[6].Encoding,g:{a:2,n:"get_Default",t:8,rt:$n[6].Encoding,fg:"Default",is:!0},fn:"Default"},{v:!0,a:2,n:"EncodingName",t:16,rt:$n[0].String,g:{v:!0,a:2,n:"get_EncodingName",t:8,rt:$n[0].String,fg:"EncodingName"},fn:"EncodingName"},{a:2,n:"UTF32",is:!0,t:16,rt:$n[6].Encoding,g:{a:2,n:"get_UTF32",t:8,rt:$n[6].Encoding,fg:"UTF32",is:!0},fn:"UTF32"},{a:2,n:"UTF7",is:!0,t:16,rt:$n[6].Encoding,g:{a:2,n:"get_UTF7",t:8,rt:$n[6].Encoding,fg:"UTF7",is:!0},fn:"UTF7"},{a:2,n:"UTF8",is:!0,t:16,rt:$n[6].Encoding,g:{a:2,n:"get_UTF8",t:8,rt:$n[6].Encoding,fg:"UTF8",is:!0},fn:"UTF8"},{a:2,n:"Unicode",is:!0,t:16,rt:$n[6].Encoding,g:{a:2,n:"get_Unicode",t:8,rt:$n[6].Encoding,fg:"Unicode",is:!0},fn:"Unicode"},{a:1,n:"__Property__Initializer__ASCII",is:!0,t:4,rt:$n[6].Encoding,sn:"__Property__Initializer__ASCII"},{a:1,n:"__Property__Initializer__BigEndianUnicode",is:!0,t:4,rt:$n[6].Encoding,sn:"__Property__Initializer__BigEndianUnicode"},{a:1,n:"__Property__Initializer__Default",is:!0,t:4,rt:$n[6].Encoding,sn:"__Property__Initializer__Default"},{a:1,n:"__Property__Initializer__UTF32",is:!0,t:4,rt:$n[6].Encoding,sn:"__Property__Initializer__UTF32"},{a:1,n:"__Property__Initializer__UTF7",is:!0,t:4,rt:$n[6].Encoding,sn:"__Property__Initializer__UTF7"},{a:1,n:"__Property__Initializer__UTF8",is:!0,t:4,rt:$n[6].Encoding,sn:"__Property__Initializer__UTF8"},{a:1,n:"__Property__Initializer__Unicode",is:!0,t:4,rt:$n[6].Encoding,sn:"__Property__Initializer__Unicode"},{a:1,n:"_encodings",is:!0,t:4,rt:System.Array.type(System.Text.EncodingInfo),sn:"_encodings"},{a:4,n:"_hasError",t:4,rt:$n[0].Boolean,sn:"_hasError",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:3,n:"fallbackCharacter",t:4,rt:$n[0].Char,sn:"fallbackCharacter",box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}}]}});$m("System.Text.StringBuilder",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"capacity",pt:$n[0].Int32,ps:0}],def:function(capacity){return new System.Text.StringBuilder("",capacity)}},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"value",pt:$n[0].String,ps:0},{n:"capacity",pt:$n[0].Int32,ps:1}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32,$n[0].Int32],pi:[{n:"value",pt:$n[0].String,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"length",pt:$n[0].Int32,ps:2}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"value",pt:$n[0].String,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"length",pt:$n[0].Int32,ps:2},{n:"capacity",pt:$n[0].Int32,ps:3}],sn:"ctor"},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Boolean,ps:0}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].Boolean]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Byte,ps:0}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].Byte]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],tpc:0,def:function(value){return this.append(String.fromCharCode(value))},rt:$n[6].StringBuilder,p:[$n[0].Char]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].Decimal]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].Double]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].Int32]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],tpc:0,def:function(value){return this.append(value.toString())},rt:$n[6].StringBuilder,p:[$n[0].Int64]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].Object]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].Single]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].String]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].UInt32]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],tpc:0,def:function(value){return this.append(value.toString())},rt:$n[6].StringBuilder,p:[$n[0].UInt64]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0},{n:"repeatCount",pt:$n[0].Int32,ps:1}],tpc:0,def:function(value,repeatCount){return this.append(String.fromCharCode(value),repeatCount)},rt:$n[6].StringBuilder,p:[$n[0].Char,$n[0].Int32]},{a:2,n:"Append",t:8,pi:[{n:"value",pt:$n[0].String,ps:0},{n:"startIndex",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"append",rt:$n[6].StringBuilder,p:[$n[0].String,$n[0].Int32,$n[0].Int32]},{a:2,n:"AppendFormat",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],sn:"appendFormat",rt:$n[6].StringBuilder,p:[$n[0].String,$n[0].Array.type(System.Object)]},{a:2,n:"AppendLine",t:8,sn:"appendLine",rt:$n[6].StringBuilder},{a:2,n:"AppendLine",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"appendLine",rt:$n[6].StringBuilder,p:[$n[0].String]},{a:2,n:"Clear",t:8,sn:"clear",rt:$n[6].StringBuilder},{a:2,n:"Equals",t:8,pi:[{n:"sb",pt:$n[6].StringBuilder,ps:0}],sn:"equals",rt:$n[0].Boolean,p:[$n[6].StringBuilder],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Boolean,ps:1}],sn:"insert",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].Boolean]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Char,ps:1}],tpc:0,def:function(index,value){return this.insert(index,String.fromCharCode(value))},rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].Char]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Decimal,ps:1}],sn:"insert",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].Decimal]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Double,ps:1}],sn:"insert",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].Double]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Int32,ps:1}],sn:"insert",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Int64,ps:1}],tpc:0,def:function(index,value){return this.insert(index,value.toString())},rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].Int64]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Object,ps:1}],sn:"insert",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].Object]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Single,ps:1}],sn:"insert",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].Single]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].String,ps:1}],sn:"insert",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].String]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].UInt32,ps:1}],sn:"insert",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].UInt32]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].UInt64,ps:1}],tpc:0,def:function(index,value){return this.insert(index,value.toString())},rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].UInt64]},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].String,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"insert",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].String,$n[0].Int32]},{a:2,n:"Remove",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"length",pt:$n[0].Int32,ps:1}],sn:"remove",rt:$n[6].StringBuilder,p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"Replace",t:8,pi:[{n:"oldChar",pt:$n[0].Char,ps:0},{n:"newChar",pt:$n[0].Char,ps:1}],tpc:0,def:function(oldChar,newChar){return this.replace(String.fromCharCode(oldChar),String.fromCharCode(newChar))},rt:$n[6].StringBuilder,p:[$n[0].Char,$n[0].Char]},{a:2,n:"Replace",t:8,pi:[{n:"oldValue",pt:$n[0].String,ps:0},{n:"newValue",pt:$n[0].String,ps:1}],sn:"replace",rt:$n[6].StringBuilder,p:[$n[0].String,$n[0].String]},{a:2,n:"Replace",t:8,pi:[{n:"oldChar",pt:$n[0].Char,ps:0},{n:"newChar",pt:$n[0].Char,ps:1},{n:"startIndex",pt:$n[0].Int32,ps:2},{n:"count",pt:$n[0].Int32,ps:3}],tpc:0,def:function(oldChar,newChar,startIndex,count){return this.replace(String.fromCharCode(oldChar),String.fromCharCode(newChar),startIndex,count)},rt:$n[6].StringBuilder,p:[$n[0].Char,$n[0].Char,$n[0].Int32,$n[0].Int32]},{a:2,n:"Replace",t:8,pi:[{n:"oldValue",pt:$n[0].String,ps:0},{n:"newValue",pt:$n[0].String,ps:1},{n:"startIndex",pt:$n[0].Int32,ps:2},{n:"count",pt:$n[0].Int32,ps:3}],sn:"replace",rt:$n[6].StringBuilder,p:[$n[0].String,$n[0].String,$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"ToString",t:8,sn:"toString",rt:$n[0].String},{a:2,n:"ToString",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"length",pt:$n[0].Int32,ps:1}],sn:"toString",rt:$n[0].String,p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"Capacity",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Capacity",t:8,tpc:0,def:function(){return this.getCapacity()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_Capacity",t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],tpc:0,def:function(value){return this.setCapacity(value)},rt:$n[0].Void,p:[$n[0].Int32]}},{a:2,n:"Item",t:16,rt:$n[0].Char,p:[$n[0].Int32],i:!0,ipi:[{n:"index",pt:$n[0].Int32,ps:0}],g:{a:2,n:"get_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"getChar",rt:$n[0].Char,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},s:{a:2,n:"set_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Char,ps:1}],sn:"setChar",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Char]}},{a:2,n:"Length",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Length",t:8,tpc:0,def:function(){return this.getLength()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_Length",t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],tpc:0,def:function(value){return this.setLength(value)},rt:$n[0].Void,p:[$n[0].Int32]}}]}});$m("System.Text.RegularExpressions.Capture",function(){return{att:1048577,a:2,m:[{a:4,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32,$n[0].Int32],pi:[{n:"text",pt:$n[0].String,ps:0},{n:"i",pt:$n[0].Int32,ps:1},{n:"l",pt:$n[0].Int32,ps:2}],sn:"ctor"},{ov:!0,a:2,n:"ToString",t:8,sn:"toString",rt:$n[0].String},{a:2,n:"Index",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Index",t:8,tpc:0,def:function(){return this.getIndex()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Length",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Length",t:8,tpc:0,def:function(){return this.getLength()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,tpc:0,def:function(){return this.getValue()},rt:$n[0].String}}]}});$m("System.Text.RegularExpressions.CaptureCollection",function(){return{att:1048577,a:2,m:[{a:4,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:Array,ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],sn:"copyTo",rt:$n[0].Void,p:[Array,$n[0].Int32]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[2].IEnumerator},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,tpc:0,def:function(){return this.getCount()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsReadOnly",t:8,tpc:0,def:function(){return this.getIsReadOnly()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"IsSynchronized",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsSynchronized",t:8,tpc:0,def:function(){return this.getIsSynchronized()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"Item",t:16,rt:$n[1].Capture,p:[$n[0].Int32],i:!0,ipi:[{n:"i",pt:$n[0].Int32,ps:0}],g:{a:2,n:"get_Item",t:8,pi:[{n:"i",pt:$n[0].Int32,ps:0}],tpc:0,def:function(i){return this.get(i)},rt:$n[1].Capture,p:[$n[0].Int32]}},{a:2,n:"SyncRoot",t:16,rt:$n[0].Object,g:{a:2,n:"get_SyncRoot",t:8,tpc:0,def:function(){return this.getSyncRoot()},rt:$n[0].Object}}]}});$m("System.Text.RegularExpressions.Group",function(){return{att:1048577,a:2,m:[{a:4,n:".ctor",t:1,p:[$n[0].String,$n[0].Array.type(System.Int32),$n[0].Int32],pi:[{n:"text",pt:$n[0].String,ps:0},{n:"caps",pt:$n[0].Array.type(System.Int32),ps:1},{n:"capcount",pt:$n[0].Int32,ps:2}],sn:"ctor"},{a:2,n:"Synchronized",is:!0,t:8,pi:[{n:"inner",pt:$n[1].Group,ps:0}],sn:"synchronized",rt:$n[1].Group,p:[$n[1].Group]},{a:2,n:"Captures",t:16,rt:$n[1].CaptureCollection,g:{a:2,n:"get_Captures",t:8,tpc:0,def:function(){return this.getCaptures()},rt:$n[1].CaptureCollection}},{a:2,n:"Success",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Success",t:8,tpc:0,def:function(){return this.getSuccess()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}}]}});$m("System.Text.RegularExpressions.GroupCollection",function(){return{att:1048577,a:2,m:[{a:4,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:Array,ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],sn:"copyTo",rt:$n[0].Void,p:[Array,$n[0].Int32]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[2].IEnumerator},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,tpc:0,def:function(){return this.getCount()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsReadOnly",t:8,tpc:0,def:function(){return this.getIsReadOnly()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"IsSynchronized",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsSynchronized",t:8,tpc:0,def:function(){return this.getIsSynchronized()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"Item",t:16,rt:$n[1].Group,p:[$n[0].Int32],i:!0,ipi:[{n:"groupnum",pt:$n[0].Int32,ps:0}],g:{a:2,n:"get_Item",t:8,pi:[{n:"groupnum",pt:$n[0].Int32,ps:0}],tpc:0,def:function(groupnum){return this.get(groupnum)},rt:$n[1].Group,p:[$n[0].Int32]}},{a:2,n:"Item",t:16,rt:$n[1].Group,p:[$n[0].String],i:!0,ipi:[{n:"groupname",pt:$n[0].String,ps:0}],g:{a:2,n:"get_Item",t:8,pi:[{n:"groupname",pt:$n[0].String,ps:0}],tpc:0,def:function(groupname){return this.getByName(groupname)},rt:$n[1].Group,p:[$n[0].String]}},{a:2,n:"SyncRoot",t:16,rt:$n[0].Object,g:{a:2,n:"get_SyncRoot",t:8,tpc:0,def:function(){return this.getSyncRoot()},rt:$n[0].Object}}]}});$m("System.Text.RegularExpressions.Match",function(){return{att:1048577,a:2,m:[{a:4,n:".ctor",t:1,p:[$n[1].Regex,$n[0].Int32,$n[0].String,$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"regex",pt:$n[1].Regex,ps:0},{n:"capcount",pt:$n[0].Int32,ps:1},{n:"text",pt:$n[0].String,ps:2},{n:"begpos",pt:$n[0].Int32,ps:3},{n:"len",pt:$n[0].Int32,ps:4},{n:"startpos",pt:$n[0].Int32,ps:5}],sn:"ctor"},{a:2,n:"NextMatch",t:8,sn:"nextMatch",rt:$n[1].Match},{v:!0,a:2,n:"Result",t:8,pi:[{n:"replacement",pt:$n[0].String,ps:0}],sn:"result",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Synchronized",is:!0,t:8,pi:[{n:"inner",pt:$n[1].Match,ps:0}],sn:"synchronized",rt:$n[1].Match,p:[$n[1].Match]},{a:2,n:"Empty",is:!0,t:16,rt:$n[1].Match,g:{a:2,n:"get_Empty",is:!0,t:8,tpc:0,def:function(){return this.getEmpty()},rt:$n[1].Match}},{v:!0,a:2,n:"Groups",t:16,rt:$n[1].GroupCollection,g:{v:!0,a:2,n:"get_Groups",t:8,tpc:0,def:function(){return this.getGroups()},rt:$n[1].GroupCollection}}]}});$m("System.Text.RegularExpressions.MatchCollection",function(){return{att:1048577,a:2,m:[{a:4,n:".ctor",t:1,p:[$n[1].Regex,$n[0].String,$n[0].Int32,$n[0].Int32,$n[0].Int32],pi:[{n:"regex",pt:$n[1].Regex,ps:0},{n:"input",pt:$n[0].String,ps:1},{n:"beginning",pt:$n[0].Int32,ps:2},{n:"length",pt:$n[0].Int32,ps:3},{n:"startat",pt:$n[0].Int32,ps:4}],sn:"ctor"},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:Array,ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],sn:"copyTo",rt:$n[0].Void,p:[Array,$n[0].Int32]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[2].IEnumerator},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,tpc:0,def:function(){return this.getCount()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsReadOnly",t:8,tpc:0,def:function(){return this.getIsReadOnly()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"IsSynchronized",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsSynchronized",t:8,tpc:0,def:function(){return this.getIsSynchronized()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{v:!0,a:2,n:"Item",t:16,rt:$n[1].Match,p:[$n[0].Int32],i:!0,ipi:[{n:"i",pt:$n[0].Int32,ps:0}],g:{v:!0,a:2,n:"get_Item",t:8,pi:[{n:"i",pt:$n[0].Int32,ps:0}],tpc:0,def:function(i){return this.get(i)},rt:$n[1].Match,p:[$n[0].Int32]}},{a:2,n:"SyncRoot",t:16,rt:$n[0].Object,g:{a:2,n:"get_SyncRoot",t:8,tpc:0,def:function(){return this.getSyncRoot()},rt:$n[0].Object}}]}});$m("System.Text.RegularExpressions.Regex",function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"pattern",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[1].RegexOptions],pi:[{n:"pattern",pt:$n[0].String,ps:0},{n:"options",pt:$n[1].RegexOptions,ps:1}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[1].RegexOptions,$n[0].TimeSpan],pi:[{n:"pattern",pt:$n[0].String,ps:0},{n:"options",pt:$n[1].RegexOptions,ps:1},{n:"matchTimeout",pt:$n[0].TimeSpan,ps:2}],sn:"ctor"},{a:2,n:"Escape",is:!0,t:8,pi:[{n:"str",pt:$n[0].String,ps:0}],sn:"escape",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"GetGroupNames",t:8,sn:"getGroupNames",rt:$n[0].Array.type(System.String)},{a:2,n:"GetGroupNumbers",t:8,sn:"getGroupNumbers",rt:$n[0].Array.type(System.Int32)},{a:2,n:"GroupNameFromNumber",t:8,pi:[{n:"i",pt:$n[0].Int32,ps:0}],sn:"groupNameFromNumber",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"GroupNumberFromName",t:8,pi:[{n:"name",pt:$n[0].String,ps:0}],sn:"groupNumberFromName",rt:$n[0].Int32,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IsMatch",t:8,pi:[{n:"input",pt:$n[0].String,ps:0}],sn:"isMatch",rt:$n[0].Boolean,p:[$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsMatch",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"startat",pt:$n[0].Int32,ps:1}],sn:"isMatch",rt:$n[0].Boolean,p:[$n[0].String,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsMatch",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1}],sn:"isMatch",rt:$n[0].Boolean,p:[$n[0].String,$n[0].String],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsMatch",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"options",pt:$n[1].RegexOptions,ps:2}],sn:"isMatch",rt:$n[0].Boolean,p:[$n[0].String,$n[0].String,$n[1].RegexOptions],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsMatch",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"options",pt:$n[1].RegexOptions,ps:2},{n:"matchTimeout",pt:$n[0].TimeSpan,ps:3}],sn:"isMatch",rt:$n[0].Boolean,p:[$n[0].String,$n[0].String,$n[1].RegexOptions,$n[0].TimeSpan],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Match",t:8,pi:[{n:"input",pt:$n[0].String,ps:0}],sn:"match",rt:$n[1].Match,p:[$n[0].String]},{a:2,n:"Match",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"startat",pt:$n[0].Int32,ps:1}],sn:"match",rt:$n[1].Match,p:[$n[0].String,$n[0].Int32]},{a:2,n:"Match",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1}],sn:"match",rt:$n[1].Match,p:[$n[0].String,$n[0].String]},{a:2,n:"Match",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"beginning",pt:$n[0].Int32,ps:1},{n:"length",pt:$n[0].Int32,ps:2}],sn:"match",rt:$n[1].Match,p:[$n[0].String,$n[0].Int32,$n[0].Int32]},{a:2,n:"Match",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"options",pt:$n[1].RegexOptions,ps:2}],sn:"match",rt:$n[1].Match,p:[$n[0].String,$n[0].String,$n[1].RegexOptions]},{a:2,n:"Match",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"options",pt:$n[1].RegexOptions,ps:2},{n:"matchTimeout",pt:$n[0].TimeSpan,ps:3}],sn:"match",rt:$n[1].Match,p:[$n[0].String,$n[0].String,$n[1].RegexOptions,$n[0].TimeSpan]},{a:2,n:"Matches",t:8,pi:[{n:"input",pt:$n[0].String,ps:0}],sn:"matches",rt:$n[1].MatchCollection,p:[$n[0].String]},{a:2,n:"Matches",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"startat",pt:$n[0].Int32,ps:1}],sn:"matches",rt:$n[1].MatchCollection,p:[$n[0].String,$n[0].Int32]},{a:2,n:"Matches",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1}],sn:"matches",rt:$n[1].MatchCollection,p:[$n[0].String,$n[0].String]},{a:2,n:"Matches",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"options",pt:$n[1].RegexOptions,ps:2}],sn:"matches",rt:$n[1].MatchCollection,p:[$n[0].String,$n[0].String,$n[1].RegexOptions]},{a:2,n:"Matches",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"options",pt:$n[1].RegexOptions,ps:2},{n:"matchTimeout",pt:$n[0].TimeSpan,ps:3}],sn:"matches",rt:$n[1].MatchCollection,p:[$n[0].String,$n[0].String,$n[1].RegexOptions,$n[0].TimeSpan]},{a:2,n:"Replace",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"replacement",pt:$n[0].String,ps:1}],sn:"replace",rt:$n[0].String,p:[$n[0].String,$n[0].String]},{a:2,n:"Replace",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"evaluator",pt:Function,ps:1}],sn:"replace",rt:$n[0].String,p:[$n[0].String,Function]},{a:2,n:"Replace",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"replacement",pt:$n[0].String,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"replace",rt:$n[0].String,p:[$n[0].String,$n[0].String,$n[0].Int32]},{a:2,n:"Replace",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"replacement",pt:$n[0].String,ps:2}],sn:"replace",rt:$n[0].String,p:[$n[0].String,$n[0].String,$n[0].String]},{a:2,n:"Replace",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"evaluator",pt:Function,ps:2}],sn:"replace",rt:$n[0].String,p:[$n[0].String,$n[0].String,Function]},{a:2,n:"Replace",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"evaluator",pt:Function,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"replace",rt:$n[0].String,p:[$n[0].String,Function,$n[0].Int32]},{a:2,n:"Replace",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"replacement",pt:$n[0].String,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"startat",pt:$n[0].Int32,ps:3}],sn:"replace",rt:$n[0].String,p:[$n[0].String,$n[0].String,$n[0].Int32,$n[0].Int32]},{a:2,n:"Replace",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"replacement",pt:$n[0].String,ps:2},{n:"options",pt:$n[1].RegexOptions,ps:3}],sn:"replace",rt:$n[0].String,p:[$n[0].String,$n[0].String,$n[0].String,$n[1].RegexOptions]},{a:2,n:"Replace",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"evaluator",pt:Function,ps:2},{n:"options",pt:$n[1].RegexOptions,ps:3}],sn:"replace",rt:$n[0].String,p:[$n[0].String,$n[0].String,Function,$n[1].RegexOptions]},{a:2,n:"Replace",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"evaluator",pt:Function,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"startat",pt:$n[0].Int32,ps:3}],sn:"replace",rt:$n[0].String,p:[$n[0].String,Function,$n[0].Int32,$n[0].Int32]},{a:2,n:"Replace",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"replacement",pt:$n[0].String,ps:2},{n:"options",pt:$n[1].RegexOptions,ps:3},{n:"matchTimeout",pt:$n[0].TimeSpan,ps:4}],sn:"replace",rt:$n[0].String,p:[$n[0].String,$n[0].String,$n[0].String,$n[1].RegexOptions,$n[0].TimeSpan]},{a:2,n:"Replace",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"evaluator",pt:Function,ps:2},{n:"options",pt:$n[1].RegexOptions,ps:3},{n:"matchTimeout",pt:$n[0].TimeSpan,ps:4}],sn:"replace",rt:$n[0].String,p:[$n[0].String,$n[0].String,Function,$n[1].RegexOptions,$n[0].TimeSpan]},{a:2,n:"Split",t:8,pi:[{n:"input",pt:$n[0].String,ps:0}],sn:"split",rt:$n[0].Array.type(System.String),p:[$n[0].String]},{a:2,n:"Split",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"count",pt:$n[0].Int32,ps:1}],sn:"split",rt:$n[0].Array.type(System.String),p:[$n[0].String,$n[0].Int32]},{a:2,n:"Split",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1}],sn:"split",rt:$n[0].Array.type(System.String),p:[$n[0].String,$n[0].String]},{a:2,n:"Split",t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"count",pt:$n[0].Int32,ps:1},{n:"startat",pt:$n[0].Int32,ps:2}],sn:"split",rt:$n[0].Array.type(System.String),p:[$n[0].String,$n[0].Int32,$n[0].Int32]},{a:2,n:"Split",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"options",pt:$n[1].RegexOptions,ps:2}],sn:"split",rt:$n[0].Array.type(System.String),p:[$n[0].String,$n[0].String,$n[1].RegexOptions]},{a:2,n:"Split",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0},{n:"pattern",pt:$n[0].String,ps:1},{n:"options",pt:$n[1].RegexOptions,ps:2},{n:"matchTimeout",pt:$n[0].TimeSpan,ps:3}],sn:"split",rt:$n[0].Array.type(System.String),p:[$n[0].String,$n[0].String,$n[1].RegexOptions,$n[0].TimeSpan]},{a:2,n:"Unescape",is:!0,t:8,pi:[{n:"str",pt:$n[0].String,ps:0}],sn:"unescape",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"MatchTimeout",t:16,rt:$n[0].TimeSpan,g:{a:2,n:"get_MatchTimeout",t:8,tpc:0,def:function(){return this.getMatchTimeout()},rt:$n[0].TimeSpan}},{a:2,n:"Options",t:16,rt:$n[1].RegexOptions,g:{a:2,n:"get_Options",t:8,tpc:0,def:function(){return this.getOptions()},rt:$n[1].RegexOptions}},{a:2,n:"RightToLeft",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_RightToLeft",t:8,tpc:0,def:function(){return this.getRightToLeft()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}}]}});$m("System.Net.WebSockets.ClientWebSocket",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Abort",t:8,sn:"abort",rt:$n[0].Void},{a:2,n:"CloseAsync",t:8,pi:[{n:"closeStatus",pt:$n[9].WebSocketCloseStatus,ps:0},{n:"statusDescription",pt:$n[0].String,ps:1},{n:"cancellationToken",pt:$n[5].CancellationToken,ps:2}],sn:"closeAsync",rt:$n[8].Task,p:[$n[9].WebSocketCloseStatus,$n[0].String,$n[5].CancellationToken]},{a:2,n:"CloseOutputAsync",t:8,pi:[{n:"closeStatus",pt:$n[9].WebSocketCloseStatus,ps:0},{n:"statusDescription",pt:$n[0].String,ps:1},{n:"cancellationToken",pt:$n[5].CancellationToken,ps:2}],sn:"closeOutputAsync",rt:$n[8].Task,p:[$n[9].WebSocketCloseStatus,$n[0].String,$n[5].CancellationToken]},{a:2,n:"ConnectAsync",t:8,pi:[{n:"uri",pt:$n[0].Uri,ps:0},{n:"cancellationToken",pt:$n[5].CancellationToken,ps:1}],sn:"connectAsync",rt:$n[8].Task,p:[$n[0].Uri,$n[5].CancellationToken]},{a:2,n:"Dispose",t:8,sn:"dispose",rt:$n[0].Void},{a:2,n:"ReceiveAsync",t:8,pi:[{n:"buffer",pt:$n[0].ArraySegment,ps:0},{n:"cancellationToken",pt:$n[5].CancellationToken,ps:1}],sn:"receiveAsync",rt:$n[8].Task$1(System.Net.WebSockets.WebSocketReceiveResult),p:[$n[0].ArraySegment,$n[5].CancellationToken]},{a:2,n:"SendAsync",t:8,pi:[{n:"buffer",pt:$n[0].ArraySegment,ps:0},{n:"messageType",pt:$n[9].WebSocketMessageType,ps:1},{n:"endOfMessage",dv:!0,o:!0,pt:$n[0].Boolean,ps:2},{n:"cancellationToken",dv:null,o:!0,pt:$n[5].CancellationToken,ps:3}],sn:"sendAsync",rt:$n[8].Task,p:[$n[0].ArraySegment,$n[9].WebSocketMessageType,$n[0].Boolean,$n[5].CancellationToken]},{a:2,n:"CloseStatus",t:16,rt:$n[0].Nullable$1(System.Net.WebSockets.WebSocketCloseStatus),g:{a:2,n:"get_CloseStatus",t:8,tpc:0,def:function(){return this.getCloseStatus()},rt:$n[0].Nullable$1(System.Net.WebSockets.WebSocketCloseStatus)}},{a:2,n:"CloseStatusDescription",t:16,rt:$n[0].String,g:{a:2,n:"get_CloseStatusDescription",t:8,tpc:0,def:function(){return this.getCloseStatusDescription()},rt:$n[0].String}},{a:2,n:"Options",t:16,rt:$n[9].ClientWebSocketOptions,g:{a:2,n:"get_Options",t:8,tpc:0,def:function(){return this.getOptions()},rt:$n[9].ClientWebSocketOptions}},{a:2,n:"State",t:16,rt:$n[9].WebSocketState,g:{a:2,n:"get_State",t:8,tpc:0,def:function(){return this.getState()},rt:$n[9].WebSocketState}},{a:2,n:"SubProtocol",t:16,rt:$n[0].String,g:{a:2,n:"get_SubProtocol",t:8,tpc:0,def:function(){return this.getSubProtocol()},rt:$n[0].String}}]}});$m("System.Net.WebSockets.ClientWebSocketOptions",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AddSubProtocol",t:8,pi:[{n:"subProtocol",pt:$n[0].String,ps:0}],sn:"addSubProtocol",rt:$n[0].Void,p:[$n[0].String]}]}});$m("System.Net.WebSockets.WebSocketReceiveResult",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[9].WebSocketMessageType,$n[0].Boolean],pi:[{n:"count",pt:$n[0].Int32,ps:0},{n:"messageType",pt:$n[9].WebSocketMessageType,ps:1},{n:"endOfMessage",pt:$n[0].Boolean,ps:2}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[9].WebSocketMessageType,$n[0].Boolean,$n[0].Nullable$1(System.Net.WebSockets.WebSocketCloseStatus),$n[0].String],pi:[{n:"count",pt:$n[0].Int32,ps:0},{n:"messageType",pt:$n[9].WebSocketMessageType,ps:1},{n:"endOfMessage",pt:$n[0].Boolean,ps:2},{n:"closeStatus",pt:$n[0].Nullable$1(System.Net.WebSockets.WebSocketCloseStatus),ps:3},{n:"closeStatusDescription",pt:$n[0].String,ps:4}],sn:"ctor"},{a:2,n:"CloseStatus",t:16,rt:$n[0].Nullable$1(System.Net.WebSockets.WebSocketCloseStatus),g:{a:2,n:"get_CloseStatus",t:8,tpc:0,def:function(){return this.getCloseStatus()},rt:$n[0].Nullable$1(System.Net.WebSockets.WebSocketCloseStatus)}},{a:2,n:"CloseStatusDescription",t:16,rt:$n[0].String,g:{a:2,n:"get_CloseStatusDescription",t:8,tpc:0,def:function(){return this.getCloseStatusDescription()},rt:$n[0].String}},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,tpc:0,def:function(){return this.getCount()},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{a:2,n:"EndOfMessage",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_EndOfMessage",t:8,tpc:0,def:function(){return this.getEndOfMessage()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"MessageType",t:16,rt:$n[9].WebSocketMessageType,g:{a:2,n:"get_MessageType",t:8,tpc:0,def:function(){return this.getMessageType()},rt:$n[9].WebSocketMessageType}}]}});$m("System.IO.BinaryReader",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[10].Stream],pi:[{n:"input",pt:$n[10].Stream,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding],pi:[{n:"input",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding,$n[0].Boolean],pi:[{n:"input",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"leaveOpen",pt:$n[0].Boolean,ps:2}],sn:"$ctor2"},{v:!0,a:2,n:"Close",t:8,sn:"Close",rt:$n[0].Void},{a:2,n:"Dispose",t:8,sn:"Dispose",rt:$n[0].Void},{v:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{v:!0,a:3,n:"FillBuffer",t:8,pi:[{n:"numBytes",pt:$n[0].Int32,ps:0}],sn:"FillBuffer",rt:$n[0].Void,p:[$n[0].Int32]},{a:1,n:"InternalReadChars",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"InternalReadChars",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"InternalReadOneChar",t:8,pi:[{n:"allowSurrogate",dv:!1,o:!0,pt:$n[0].Boolean,ps:0}],sn:"InternalReadOneChar",rt:$n[0].Int32,p:[$n[0].Boolean],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"PeekChar",t:8,sn:"PeekChar",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"Read",t:8,sn:"Read",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read$2",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:5,n:"Read7BitEncodedInt",t:8,sn:"Read7BitEncodedInt",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"ReadBoolean",t:8,sn:"ReadBoolean",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{v:!0,a:2,n:"ReadByte",t:8,sn:"ReadByte",rt:$n[0].Byte,box:function($v){return Bridge.box($v,System.Byte)}},{v:!0,a:2,n:"ReadBytes",t:8,pi:[{n:"count",pt:$n[0].Int32,ps:0}],sn:"ReadBytes",rt:$n[0].Array.type(System.Byte),p:[$n[0].Int32]},{v:!0,a:2,n:"ReadChar",t:8,sn:"ReadChar",rt:$n[0].Char,box:function($v){return Bridge.box($v,System.Char,String.fromCharCode,System.Char.getHashCode)}},{v:!0,a:2,n:"ReadChars",t:8,pi:[{n:"count",pt:$n[0].Int32,ps:0}],sn:"ReadChars",rt:$n[0].Array.type(System.Char),p:[$n[0].Int32]},{v:!0,a:2,n:"ReadDecimal",t:8,sn:"ReadDecimal",rt:$n[0].Decimal},{v:!0,a:2,n:"ReadDouble",t:8,sn:"ReadDouble",rt:$n[0].Double,box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},{v:!0,a:2,n:"ReadInt16",t:8,sn:"ReadInt16",rt:$n[0].Int16,box:function($v){return Bridge.box($v,System.Int16)}},{v:!0,a:2,n:"ReadInt32",t:8,sn:"ReadInt32",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"ReadInt64",t:8,sn:"ReadInt64",rt:$n[0].Int64},{v:!0,a:2,n:"ReadSByte",t:8,sn:"ReadSByte",rt:$n[0].SByte,box:function($v){return Bridge.box($v,System.SByte)}},{v:!0,a:2,n:"ReadSingle",t:8,sn:"ReadSingle",rt:$n[0].Single,box:function($v){return Bridge.box($v,System.Single,System.Single.format,System.Single.getHashCode)}},{v:!0,a:2,n:"ReadString",t:8,sn:"ReadString",rt:$n[0].String},{v:!0,a:2,n:"ReadUInt16",t:8,sn:"ReadUInt16",rt:$n[0].UInt16,box:function($v){return Bridge.box($v,System.UInt16)}},{v:!0,a:2,n:"ReadUInt32",t:8,sn:"ReadUInt32",rt:$n[0].UInt32,box:function($v){return Bridge.box($v,System.UInt32)}},{v:!0,a:2,n:"ReadUInt64",t:8,sn:"ReadUInt64",rt:$n[0].UInt64},{v:!0,a:2,n:"BaseStream",t:16,rt:$n[10].Stream,g:{v:!0,a:2,n:"get_BaseStream",t:8,rt:$n[10].Stream,fg:"BaseStream"},fn:"BaseStream"},{a:1,n:"MaxCharBytesSize",is:!0,t:4,rt:$n[0].Int32,sn:"MaxCharBytesSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"lastCharsRead",t:4,rt:$n[0].Int32,sn:"lastCharsRead",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"m_2BytesPerChar",t:4,rt:$n[0].Boolean,sn:"m_2BytesPerChar",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"m_buffer",t:4,rt:$n[0].Array.type(System.Byte),sn:"m_buffer"},{a:1,n:"m_charBuffer",t:4,rt:$n[0].Array.type(System.Char),sn:"m_charBuffer"},{a:1,n:"m_charBytes",t:4,rt:$n[0].Array.type(System.Byte),sn:"m_charBytes"},{a:1,n:"m_encoding",t:4,rt:$n[6].Encoding,sn:"m_encoding"},{a:1,n:"m_isMemoryStream",t:4,rt:$n[0].Boolean,sn:"m_isMemoryStream",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"m_leaveOpen",t:4,rt:$n[0].Boolean,sn:"m_leaveOpen",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"m_maxCharsSize",t:4,rt:$n[0].Int32,sn:"m_maxCharsSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"m_singleChar",t:4,rt:$n[0].Array.type(System.Char),sn:"m_singleChar"},{a:1,n:"m_stream",t:4,rt:$n[10].Stream,sn:"m_stream"}]}});$m("System.IO.BinaryWriter",function(){return{att:1048577,a:2,m:[{a:3,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[10].Stream],pi:[{n:"output",pt:$n[10].Stream,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding],pi:[{n:"output",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding,$n[0].Boolean],pi:[{n:"output",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"leaveOpen",pt:$n[0].Boolean,ps:2}],sn:"$ctor3"},{v:!0,a:2,n:"Close",t:8,sn:"Close",rt:$n[0].Void},{a:2,n:"Dispose",t:8,sn:"Dispose",rt:$n[0].Void},{v:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{v:!0,a:2,n:"Flush",t:8,sn:"Flush",rt:$n[0].Void},{v:!0,a:2,n:"Seek",t:8,pi:[{n:"offset",pt:$n[0].Int32,ps:0},{n:"origin",pt:$n[10].SeekOrigin,ps:1}],sn:"Seek",rt:$n[0].Int64,p:[$n[0].Int32,$n[10].SeekOrigin]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Boolean,ps:0}],sn:"Write",rt:$n[0].Void,p:[$n[0].Boolean]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Byte,ps:0}],sn:"Write$1",rt:$n[0].Void,p:[$n[0].Byte]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"Write$2",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte)]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"ch",pt:$n[0].Char,ps:0}],sn:"Write$4",rt:$n[0].Void,p:[$n[0].Char]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0}],sn:"Write$5",rt:$n[0].Void,p:[$n[0].Array.type(System.Char)]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"Write$7",rt:$n[0].Void,p:[$n[0].Decimal]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"Write$8",rt:$n[0].Void,p:[$n[0].Double]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Int16,ps:0}],sn:"Write$9",rt:$n[0].Void,p:[$n[0].Int16]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"Write$10",rt:$n[0].Void,p:[$n[0].Int32]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"Write$11",rt:$n[0].Void,p:[$n[0].Int64]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].SByte,ps:0}],sn:"Write$12",rt:$n[0].Void,p:[$n[0].SByte]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],sn:"Write$13",rt:$n[0].Void,p:[$n[0].Single]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"Write$14",rt:$n[0].Void,p:[$n[0].String]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].UInt16,ps:0}],sn:"Write$15",rt:$n[0].Void,p:[$n[0].UInt16]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"Write$16",rt:$n[0].Void,p:[$n[0].UInt32]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"Write$17",rt:$n[0].Void,p:[$n[0].UInt64]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write$3",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"chars",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write$6",rt:$n[0].Void,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{a:3,n:"Write7BitEncodedInt",t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"Write7BitEncodedInt",rt:$n[0].Void,p:[$n[0].Int32]},{v:!0,a:2,n:"BaseStream",t:16,rt:$n[10].Stream,g:{v:!0,a:2,n:"get_BaseStream",t:8,rt:$n[10].Stream,fg:"BaseStream"},fn:"BaseStream"},{a:1,n:"LargeByteBufferSize",is:!0,t:4,rt:$n[0].Int32,sn:"LargeByteBufferSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Null",is:!0,t:4,rt:$n[10].BinaryWriter,sn:"Null",ro:!0},{a:3,n:"OutStream",t:4,rt:$n[10].Stream,sn:"OutStream"},{a:1,n:"_buffer",t:4,rt:$n[0].Array.type(System.Byte),sn:"_buffer"},{a:1,n:"_encoding",t:4,rt:$n[6].Encoding,sn:"_encoding"},{a:1,n:"_leaveOpen",t:4,rt:$n[0].Boolean,sn:"_leaveOpen",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_tmpOneCharBuffer",t:4,rt:$n[0].Array.type(System.Char),sn:"_tmpOneCharBuffer"}]}});$m("System.IO.BufferedStream",function(){return{att:1048833,a:2,m:[{a:1,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[10].Stream],pi:[{n:"stream",pt:$n[10].Stream,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[0].Int32],pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"bufferSize",pt:$n[0].Int32,ps:1}],sn:"$ctor2"},{a:1,n:"ClearReadBufferBeforeWrite",t:8,sn:"ClearReadBufferBeforeWrite",rt:$n[0].Void},{ov:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{a:1,n:"EnsureBufferAllocated",t:8,sn:"EnsureBufferAllocated",rt:$n[0].Void},{a:1,n:"EnsureCanRead",t:8,sn:"EnsureCanRead",rt:$n[0].Void},{a:1,n:"EnsureCanSeek",t:8,sn:"EnsureCanSeek",rt:$n[0].Void},{a:1,n:"EnsureCanWrite",t:8,sn:"EnsureCanWrite",rt:$n[0].Void},{a:1,n:"EnsureNotClosed",t:8,sn:"EnsureNotClosed",rt:$n[0].Void},{a:1,n:"EnsureShadowBufferAllocated",t:8,sn:"EnsureShadowBufferAllocated",rt:$n[0].Void},{ov:!0,a:2,n:"Flush",t:8,sn:"Flush",rt:$n[0].Void},{a:1,n:"FlushRead",t:8,sn:"FlushRead",rt:$n[0].Void},{a:1,n:"FlushWrite",t:8,sn:"FlushWrite",rt:$n[0].Void},{ov:!0,a:2,n:"Read",t:8,pi:[{n:"array",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"ReadByte",t:8,sn:"ReadByte",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"ReadFromBuffer",t:8,pi:[{n:"array",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"ReadFromBuffer",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"ReadFromBuffer",t:8,pi:[{n:"array",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"error",out:!0,pt:$n[0].Exception,ps:3}],sn:"ReadFromBuffer$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Exception],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Seek",t:8,pi:[{n:"offset",pt:$n[0].Int64,ps:0},{n:"origin",pt:$n[10].SeekOrigin,ps:1}],sn:"Seek",rt:$n[0].Int64,p:[$n[0].Int64,$n[10].SeekOrigin]},{ov:!0,a:2,n:"SetLength",t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"SetLength",rt:$n[0].Void,p:[$n[0].Int64]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"array",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"WriteByte",t:8,pi:[{n:"value",pt:$n[0].Byte,ps:0}],sn:"WriteByte",rt:$n[0].Void,p:[$n[0].Byte]},{a:1,n:"WriteToBuffer",t:8,pi:[{n:"array",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",ref:!0,pt:$n[0].Int32,ps:1},{n:"count",ref:!0,pt:$n[0].Int32,ps:2}],sn:"WriteToBuffer",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{a:1,n:"WriteToBuffer",t:8,pi:[{n:"array",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",ref:!0,pt:$n[0].Int32,ps:1},{n:"count",ref:!0,pt:$n[0].Int32,ps:2},{n:"error",out:!0,pt:$n[0].Exception,ps:3}],sn:"WriteToBuffer$1",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Exception]},{a:4,n:"BufferSize",t:16,rt:$n[0].Int32,g:{a:4,n:"get_BufferSize",t:8,rt:$n[0].Int32,fg:"BufferSize",box:function($v){return Bridge.box($v,System.Int32)}},fn:"BufferSize"},{ov:!0,a:2,n:"CanRead",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanRead",t:8,rt:$n[0].Boolean,fg:"CanRead",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanRead"},{ov:!0,a:2,n:"CanSeek",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanSeek",t:8,rt:$n[0].Boolean,fg:"CanSeek",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanSeek"},{ov:!0,a:2,n:"CanWrite",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanWrite",t:8,rt:$n[0].Boolean,fg:"CanWrite",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanWrite"},{ov:!0,a:2,n:"Length",t:16,rt:$n[0].Int64,g:{ov:!0,a:2,n:"get_Length",t:8,rt:$n[0].Int64,fg:"Length"},fn:"Length"},{ov:!0,a:2,n:"Position",t:16,rt:$n[0].Int64,g:{ov:!0,a:2,n:"get_Position",t:8,rt:$n[0].Int64,fg:"Position"},s:{ov:!0,a:2,n:"set_Position",t:8,p:[$n[0].Int64],rt:$n[0].Void,fs:"Position"},fn:"Position"},{a:4,n:"UnderlyingStream",t:16,rt:$n[10].Stream,g:{a:4,n:"get_UnderlyingStream",t:8,rt:$n[10].Stream,fg:"UnderlyingStream"},fn:"UnderlyingStream"},{a:1,n:"MaxShadowBufferSize",is:!0,t:4,rt:$n[0].Int32,sn:"MaxShadowBufferSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_DefaultBufferSize",is:!0,t:4,rt:$n[0].Int32,sn:"_DefaultBufferSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_buffer",t:4,rt:$n[0].Array.type(System.Byte),sn:"_buffer"},{a:1,n:"_bufferSize",t:4,rt:$n[0].Int32,sn:"_bufferSize",ro:!0,box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_readLen",t:4,rt:$n[0].Int32,sn:"_readLen",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_readPos",t:4,rt:$n[0].Int32,sn:"_readPos",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_stream",t:4,rt:$n[10].Stream,sn:"_stream"},{a:1,n:"_writePos",t:4,rt:$n[0].Int32,sn:"_writePos",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.IO.EndOfStreamException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"$ctor2"}]}});$m("System.IO.File",function(){return{att:1048961,a:2,s:!0,m:[{a:1,n:"InternalReadAllBytes",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0},{n:"checkHost",pt:$n[0].Boolean,ps:1}],sn:"InternalReadAllBytes",rt:$n[0].Array.type(System.Byte),p:[$n[0].String,$n[0].Boolean]},{a:1,n:"InternalReadAllLines",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"InternalReadAllLines",rt:$n[0].Array.type(System.String),p:[$n[0].String,$n[6].Encoding]},{a:1,n:"InternalReadAllText",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"checkHost",pt:$n[0].Boolean,ps:2}],sn:"InternalReadAllText",rt:$n[0].String,p:[$n[0].String,$n[6].Encoding,$n[0].Boolean]},{a:2,n:"OpenRead",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"OpenRead",rt:$n[10].FileStream,p:[$n[0].String]},{a:2,n:"OpenText",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"OpenText",rt:$n[10].StreamReader,p:[$n[0].String]},{a:2,n:"ReadAllBytes",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"ReadAllBytes",rt:$n[0].Array.type(System.Byte),p:[$n[0].String]},{a:2,n:"ReadAllLines",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"ReadAllLines",rt:$n[0].Array.type(System.String),p:[$n[0].String]},{a:2,n:"ReadAllLines",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"ReadAllLines$1",rt:$n[0].Array.type(System.String),p:[$n[0].String,$n[6].Encoding]},{a:2,n:"ReadAllText",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"ReadAllText",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ReadAllText",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"ReadAllText$1",rt:$n[0].String,p:[$n[0].String,$n[6].Encoding]},{a:2,n:"ReadLines",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"ReadLines",rt:$n[3].IEnumerable$1(System.String),p:[$n[0].String]},{a:2,n:"ReadLines",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"ReadLines$1",rt:$n[3].IEnumerable$1(System.String),p:[$n[0].String,$n[6].Encoding]}]}});$m("System.IO.FileMode",function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Append",is:!0,t:4,rt:$n[10].FileMode,sn:"Append",box:function($v){return Bridge.box($v,System.IO.FileMode,System.Enum.toStringFn(System.IO.FileMode))}},{a:2,n:"Create",is:!0,t:4,rt:$n[10].FileMode,sn:"Create",box:function($v){return Bridge.box($v,System.IO.FileMode,System.Enum.toStringFn(System.IO.FileMode))}},{a:2,n:"CreateNew",is:!0,t:4,rt:$n[10].FileMode,sn:"CreateNew",box:function($v){return Bridge.box($v,System.IO.FileMode,System.Enum.toStringFn(System.IO.FileMode))}},{a:2,n:"Open",is:!0,t:4,rt:$n[10].FileMode,sn:"Open",box:function($v){return Bridge.box($v,System.IO.FileMode,System.Enum.toStringFn(System.IO.FileMode))}},{a:2,n:"OpenOrCreate",is:!0,t:4,rt:$n[10].FileMode,sn:"OpenOrCreate",box:function($v){return Bridge.box($v,System.IO.FileMode,System.Enum.toStringFn(System.IO.FileMode))}},{a:2,n:"Truncate",is:!0,t:4,rt:$n[10].FileMode,sn:"Truncate",box:function($v){return Bridge.box($v,System.IO.FileMode,System.Enum.toStringFn(System.IO.FileMode))}}]}});$m("System.IO.FileStream",function(){return{att:1048577,a:2,m:[{a:4,n:".ctor",t:1,p:[ArrayBuffer,$n[0].String],pi:[{n:"buffer",pt:ArrayBuffer,ps:0},{n:"name",pt:$n[0].String,ps:1}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[10].FileMode],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"mode",pt:$n[10].FileMode,ps:1}],sn:"$ctor1"},{a:4,n:"EnsureBufferAsync",t:8,sn:"EnsureBufferAsync",rt:$n[8].Task},{ov:!0,a:2,n:"Flush",t:8,sn:"Flush",rt:$n[0].Void},{a:4,n:"FromFile",is:!0,t:8,pi:[{n:"file",pt:File,ps:0}],sn:"FromFile",rt:$n[8].Task$1(System.IO.FileStream),p:[File]},{a:1,n:"GetInternalBuffer",t:8,sn:"GetInternalBuffer",rt:ArrayBuffer},{ov:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:4,n:"ReadBytes",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"ReadBytes",rt:ArrayBuffer,p:[$n[0].String]},{a:4,n:"ReadBytesAsync",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"ReadBytesAsync",rt:$n[8].Task$1(ArrayBuffer),p:[$n[0].String]},{ov:!0,a:2,n:"Seek",t:8,pi:[{n:"offset",pt:$n[0].Int64,ps:0},{n:"origin",pt:$n[10].SeekOrigin,ps:1}],sn:"Seek",rt:$n[0].Int64,p:[$n[0].Int64,$n[10].SeekOrigin]},{ov:!0,a:2,n:"SetLength",t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"SetLength",rt:$n[0].Void,p:[$n[0].Int64]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"CanRead",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanRead",t:8,rt:$n[0].Boolean,fg:"CanRead",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanRead"},{ov:!0,a:2,n:"CanSeek",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanSeek",t:8,rt:$n[0].Boolean,fg:"CanSeek",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanSeek"},{ov:!0,a:2,n:"CanWrite",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanWrite",t:8,rt:$n[0].Boolean,fg:"CanWrite",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanWrite"},{v:!0,a:2,n:"IsAsync",t:16,rt:$n[0].Boolean,g:{v:!0,a:2,n:"get_IsAsync",t:8,rt:$n[0].Boolean,fg:"IsAsync",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"IsAsync"},{ov:!0,a:2,n:"Length",t:16,rt:$n[0].Int64,g:{ov:!0,a:2,n:"get_Length",t:8,rt:$n[0].Int64,fg:"Length"},fn:"Length"},{a:2,n:"Name",t:16,rt:$n[0].String,g:{a:2,n:"get_Name",t:8,rt:$n[0].String,fg:"Name"},fn:"Name"},{ov:!0,a:2,n:"Position",t:16,rt:$n[0].Int64,g:{ov:!0,a:2,n:"get_Position",t:8,rt:$n[0].Int64,fg:"Position"},s:{ov:!0,a:2,n:"set_Position",t:8,p:[$n[0].Int64],rt:$n[0].Void,fs:"Position"},fn:"Position"},{a:1,n:"_buffer",t:4,rt:ArrayBuffer,sn:"_buffer"},{a:1,n:"name",t:4,rt:$n[0].String,sn:"name"}]}});$m("System.IO.IOException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"hresult",pt:$n[0].Int32,ps:1}],sn:"$ctor3"},{a:4,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32,$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"hresult",pt:$n[0].Int32,ps:1},{n:"maybeFullPath",pt:$n[0].String,ps:2}],sn:"$ctor4"},{a:1,n:"_maybeFullPath",t:4,rt:$n[0].String,sn:"_maybeFullPath"}]}});$m("System.IO.MemoryStream",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Byte)],pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"capacity",pt:$n[0].Int32,ps:0}],sn:"$ctor6"},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Byte),$n[0].Boolean],pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"writable",pt:$n[0].Boolean,ps:1}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32],pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"$ctor3"},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Boolean],pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"writable",pt:$n[0].Boolean,ps:3}],sn:"$ctor4"},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,$n[0].Boolean,$n[0].Boolean],pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"writable",pt:$n[0].Boolean,ps:3},{n:"publiclyVisible",pt:$n[0].Boolean,ps:4}],sn:"$ctor5"},{ov:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{a:1,n:"EnsureCapacity",t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"EnsureCapacity",rt:$n[0].Boolean,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"EnsureWriteable",t:8,sn:"EnsureWriteable",rt:$n[0].Void},{ov:!0,a:2,n:"Flush",t:8,sn:"Flush",rt:$n[0].Void},{v:!0,a:2,n:"GetBuffer",t:8,sn:"GetBuffer",rt:$n[0].Array.type(System.Byte)},{a:4,n:"InternalEmulateRead",t:8,pi:[{n:"count",pt:$n[0].Int32,ps:0}],sn:"InternalEmulateRead",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:4,n:"InternalGetBuffer",t:8,sn:"InternalGetBuffer",rt:$n[0].Array.type(System.Byte)},{a:4,n:"InternalGetPosition",t:8,sn:"InternalGetPosition",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:4,n:"InternalReadInt32",t:8,sn:"InternalReadInt32",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"ReadByte",t:8,sn:"ReadByte",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Seek",t:8,pi:[{n:"offset",pt:$n[0].Int64,ps:0},{n:"loc",pt:$n[10].SeekOrigin,ps:1}],sn:"Seek",rt:$n[0].Int64,p:[$n[0].Int64,$n[10].SeekOrigin]},{ov:!0,a:2,n:"SetLength",t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"SetLength",rt:$n[0].Void,p:[$n[0].Int64]},{v:!0,a:2,n:"ToArray",t:8,sn:"ToArray",rt:$n[0].Array.type(System.Byte)},{v:!0,a:2,n:"TryGetBuffer",t:8,pi:[{n:"buffer",out:!0,pt:$n[0].ArraySegment,ps:0}],sn:"TryGetBuffer",rt:$n[0].Boolean,p:[$n[0].ArraySegment],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"WriteByte",t:8,pi:[{n:"value",pt:$n[0].Byte,ps:0}],sn:"WriteByte",rt:$n[0].Void,p:[$n[0].Byte]},{v:!0,a:2,n:"WriteTo",t:8,pi:[{n:"stream",pt:$n[10].Stream,ps:0}],sn:"WriteTo",rt:$n[0].Void,p:[$n[10].Stream]},{ov:!0,a:2,n:"CanRead",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanRead",t:8,rt:$n[0].Boolean,fg:"CanRead",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanRead"},{ov:!0,a:2,n:"CanSeek",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanSeek",t:8,rt:$n[0].Boolean,fg:"CanSeek",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanSeek"},{ov:!0,a:2,n:"CanWrite",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanWrite",t:8,rt:$n[0].Boolean,fg:"CanWrite",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanWrite"},{v:!0,a:2,n:"Capacity",t:16,rt:$n[0].Int32,g:{v:!0,a:2,n:"get_Capacity",t:8,rt:$n[0].Int32,fg:"Capacity",box:function($v){return Bridge.box($v,System.Int32)}},s:{v:!0,a:2,n:"set_Capacity",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"Capacity"},fn:"Capacity"},{ov:!0,a:2,n:"Length",t:16,rt:$n[0].Int64,g:{ov:!0,a:2,n:"get_Length",t:8,rt:$n[0].Int64,fg:"Length"},fn:"Length"},{ov:!0,a:2,n:"Position",t:16,rt:$n[0].Int64,g:{ov:!0,a:2,n:"get_Position",t:8,rt:$n[0].Int64,fg:"Position"},s:{ov:!0,a:2,n:"set_Position",t:8,p:[$n[0].Int64],rt:$n[0].Void,fs:"Position"},fn:"Position"},{a:1,n:"MemStreamMaxLength",is:!0,t:4,rt:$n[0].Int32,sn:"MemStreamMaxLength",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_buffer",t:4,rt:$n[0].Array.type(System.Byte),sn:"_buffer"},{a:1,n:"_capacity",t:4,rt:$n[0].Int32,sn:"_capacity",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_expandable",t:4,rt:$n[0].Boolean,sn:"_expandable",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_exposable",t:4,rt:$n[0].Boolean,sn:"_exposable",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_isOpen",t:4,rt:$n[0].Boolean,sn:"_isOpen",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_length",t:4,rt:$n[0].Int32,sn:"_length",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_origin",t:4,rt:$n[0].Int32,sn:"_origin",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_position",t:4,rt:$n[0].Int32,sn:"_position",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_writable",t:4,rt:$n[0].Boolean,sn:"_writable",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.IO.Iterator$1",function(TSource){return{att:1048704,a:4,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{ab:!0,a:3,n:"Clone",t:8,sn:"Clone",rt:$n[10].Iterator$1(TSource)},{a:2,n:"Dispose",t:8,sn:"Dispose",rt:$n[0].Void},{v:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{a:2,n:"GetEnumerator",t:8,sn:"GetEnumerator",rt:$n[3].IEnumerator$1(TSource)},{ab:!0,a:2,n:"MoveNext",t:8,sn:"MoveNext",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Current",t:16,rt:TSource,g:{a:2,n:"get_Current",t:8,rt:TSource,fg:"Current"},fn:"Current"},{a:4,n:"current",t:4,rt:TSource,sn:"current"},{a:4,n:"state",t:4,rt:$n[0].Int32,sn:"state",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.IO.ReadLinesIterator",function(){return{att:1048576,a:4,m:[{a:1,n:".ctor",t:1,p:[$n[0].String,$n[6].Encoding,$n[10].StreamReader],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"reader",pt:$n[10].StreamReader,ps:2}],sn:"ctor"},{ov:!0,a:3,n:"Clone",t:8,sn:"Clone",rt:$n[10].Iterator$1(System.String)},{a:4,n:"CreateIterator",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"CreateIterator",rt:$n[10].ReadLinesIterator,p:[$n[0].String,$n[6].Encoding]},{a:1,n:"CreateIterator",is:!0,t:8,pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"reader",pt:$n[10].StreamReader,ps:2}],sn:"CreateIterator$1",rt:$n[10].ReadLinesIterator,p:[$n[0].String,$n[6].Encoding,$n[10].StreamReader]},{ov:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{ov:!0,a:2,n:"MoveNext",t:8,sn:"MoveNext",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_encoding",t:4,rt:$n[6].Encoding,sn:"_encoding",ro:!0},{a:1,n:"_path",t:4,rt:$n[0].String,sn:"_path",ro:!0},{a:1,n:"_reader",t:4,rt:$n[10].StreamReader,sn:"_reader"}]}});$m("System.IO.SeekOrigin",function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Begin",is:!0,t:4,rt:$n[10].SeekOrigin,sn:"Begin",box:function($v){return Bridge.box($v,System.IO.SeekOrigin,System.Enum.toStringFn(System.IO.SeekOrigin))}},{a:2,n:"Current",is:!0,t:4,rt:$n[10].SeekOrigin,sn:"Current",box:function($v){return Bridge.box($v,System.IO.SeekOrigin,System.Enum.toStringFn(System.IO.SeekOrigin))}},{a:2,n:"End",is:!0,t:4,rt:$n[10].SeekOrigin,sn:"End",box:function($v){return Bridge.box($v,System.IO.SeekOrigin,System.Enum.toStringFn(System.IO.SeekOrigin))}}]}});$m("System.IO.Stream",function(){return{att:1048705,a:2,m:[{a:3,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{v:!0,a:2,n:"BeginRead",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"callback",pt:Function,ps:3},{n:"state",pt:$n[0].Object,ps:4}],sn:"BeginRead",rt:$n[0].IAsyncResult,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,Function,$n[0].Object]},{a:4,n:"BeginReadInternal",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"callback",pt:Function,ps:3},{n:"state",pt:$n[0].Object,ps:4},{n:"serializeAsynchronously",pt:$n[0].Boolean,ps:5}],sn:"BeginReadInternal",rt:$n[0].IAsyncResult,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,Function,$n[0].Object,$n[0].Boolean]},{v:!0,a:2,n:"BeginWrite",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"callback",pt:Function,ps:3},{n:"state",pt:$n[0].Object,ps:4}],sn:"BeginWrite",rt:$n[0].IAsyncResult,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,Function,$n[0].Object]},{a:4,n:"BeginWriteInternal",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"callback",pt:Function,ps:3},{n:"state",pt:$n[0].Object,ps:4},{n:"serializeAsynchronously",pt:$n[0].Boolean,ps:5}],sn:"BeginWriteInternal",rt:$n[0].IAsyncResult,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,Function,$n[0].Object,$n[0].Boolean]},{a:4,n:"BlockingBeginRead",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"callback",pt:Function,ps:3},{n:"state",pt:$n[0].Object,ps:4}],sn:"BlockingBeginRead",rt:$n[0].IAsyncResult,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,Function,$n[0].Object]},{a:4,n:"BlockingBeginWrite",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"callback",pt:Function,ps:3},{n:"state",pt:$n[0].Object,ps:4}],sn:"BlockingBeginWrite",rt:$n[0].IAsyncResult,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,Function,$n[0].Object]},{a:4,n:"BlockingEndRead",is:!0,t:8,pi:[{n:"asyncResult",pt:$n[0].IAsyncResult,ps:0}],sn:"BlockingEndRead",rt:$n[0].Int32,p:[$n[0].IAsyncResult],box:function($v){return Bridge.box($v,System.Int32)}},{a:4,n:"BlockingEndWrite",is:!0,t:8,pi:[{n:"asyncResult",pt:$n[0].IAsyncResult,ps:0}],sn:"BlockingEndWrite",rt:$n[0].Void,p:[$n[0].IAsyncResult]},{v:!0,a:2,n:"Close",t:8,sn:"Close",rt:$n[0].Void},{a:2,n:"CopyTo",t:8,pi:[{n:"destination",pt:$n[10].Stream,ps:0}],sn:"CopyTo",rt:$n[0].Void,p:[$n[10].Stream]},{a:2,n:"CopyTo",t:8,pi:[{n:"destination",pt:$n[10].Stream,ps:0},{n:"bufferSize",pt:$n[0].Int32,ps:1}],sn:"CopyTo$1",rt:$n[0].Void,p:[$n[10].Stream,$n[0].Int32]},{a:2,n:"Dispose",t:8,sn:"Dispose",rt:$n[0].Void},{v:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{v:!0,a:2,n:"EndRead",t:8,pi:[{n:"asyncResult",pt:$n[0].IAsyncResult,ps:0}],sn:"EndRead",rt:$n[0].Int32,p:[$n[0].IAsyncResult],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"EndWrite",t:8,pi:[{n:"asyncResult",pt:$n[0].IAsyncResult,ps:0}],sn:"EndWrite",rt:$n[0].Void,p:[$n[0].IAsyncResult]},{ab:!0,a:2,n:"Flush",t:8,sn:"Flush",rt:$n[0].Void},{a:1,n:"InternalCopyTo",t:8,pi:[{n:"destination",pt:$n[10].Stream,ps:0},{n:"bufferSize",pt:$n[0].Int32,ps:1}],sn:"InternalCopyTo",rt:$n[0].Void,p:[$n[10].Stream,$n[0].Int32]},{ab:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"ReadByte",t:8,sn:"ReadByte",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ab:!0,a:2,n:"Seek",t:8,pi:[{n:"offset",pt:$n[0].Int64,ps:0},{n:"origin",pt:$n[10].SeekOrigin,ps:1}],sn:"Seek",rt:$n[0].Int64,p:[$n[0].Int64,$n[10].SeekOrigin]},{ab:!0,a:2,n:"SetLength",t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"SetLength",rt:$n[0].Void,p:[$n[0].Int64]},{a:2,n:"Synchronized",is:!0,t:8,pi:[{n:"stream",pt:$n[10].Stream,ps:0}],sn:"Synchronized",rt:$n[10].Stream,p:[$n[10].Stream]},{ab:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{v:!0,a:2,n:"WriteByte",t:8,pi:[{n:"value",pt:$n[0].Byte,ps:0}],sn:"WriteByte",rt:$n[0].Void,p:[$n[0].Byte]},{ab:!0,a:2,n:"CanRead",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_CanRead",t:8,rt:$n[0].Boolean,fg:"CanRead",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanRead"},{ab:!0,a:2,n:"CanSeek",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_CanSeek",t:8,rt:$n[0].Boolean,fg:"CanSeek",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanSeek"},{v:!0,a:2,n:"CanTimeout",t:16,rt:$n[0].Boolean,g:{v:!0,a:2,n:"get_CanTimeout",t:8,rt:$n[0].Boolean,fg:"CanTimeout",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanTimeout"},{ab:!0,a:2,n:"CanWrite",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_CanWrite",t:8,rt:$n[0].Boolean,fg:"CanWrite",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanWrite"},{ab:!0,a:2,n:"Length",t:16,rt:$n[0].Int64,g:{ab:!0,a:2,n:"get_Length",t:8,rt:$n[0].Int64,fg:"Length"},fn:"Length"},{ab:!0,a:2,n:"Position",t:16,rt:$n[0].Int64,g:{ab:!0,a:2,n:"get_Position",t:8,rt:$n[0].Int64,fg:"Position"},s:{ab:!0,a:2,n:"set_Position",t:8,p:[$n[0].Int64],rt:$n[0].Void,fs:"Position"},fn:"Position"},{v:!0,a:2,n:"ReadTimeout",t:16,rt:$n[0].Int32,g:{v:!0,a:2,n:"get_ReadTimeout",t:8,rt:$n[0].Int32,fg:"ReadTimeout",box:function($v){return Bridge.box($v,System.Int32)}},s:{v:!0,a:2,n:"set_ReadTimeout",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"ReadTimeout"},fn:"ReadTimeout"},{v:!0,a:2,n:"WriteTimeout",t:16,rt:$n[0].Int32,g:{v:!0,a:2,n:"get_WriteTimeout",t:8,rt:$n[0].Int32,fg:"WriteTimeout",box:function($v){return Bridge.box($v,System.Int32)}},s:{v:!0,a:2,n:"set_WriteTimeout",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"WriteTimeout"},fn:"WriteTimeout"},{a:2,n:"Null",is:!0,t:4,rt:$n[10].Stream,sn:"Null",ro:!0},{a:1,n:"_DefaultCopyBufferSize",is:!0,t:4,rt:$n[0].Int32,sn:"_DefaultCopyBufferSize",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.IO.Stream.NullStream",function(){return{td:$n[10].Stream,att:1057027,a:1,m:[{a:4,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"BeginRead",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"callback",pt:Function,ps:3},{n:"state",pt:$n[0].Object,ps:4}],sn:"BeginRead",rt:$n[0].IAsyncResult,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,Function,$n[0].Object]},{ov:!0,a:2,n:"BeginWrite",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2},{n:"callback",pt:Function,ps:3},{n:"state",pt:$n[0].Object,ps:4}],sn:"BeginWrite",rt:$n[0].IAsyncResult,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32,Function,$n[0].Object]},{ov:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{ov:!0,a:2,n:"EndRead",t:8,pi:[{n:"asyncResult",pt:$n[0].IAsyncResult,ps:0}],sn:"EndRead",rt:$n[0].Int32,p:[$n[0].IAsyncResult],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"EndWrite",t:8,pi:[{n:"asyncResult",pt:$n[0].IAsyncResult,ps:0}],sn:"EndWrite",rt:$n[0].Void,p:[$n[0].IAsyncResult]},{ov:!0,a:2,n:"Flush",t:8,sn:"Flush",rt:$n[0].Void},{ov:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read",rt:$n[0].Int32,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"ReadByte",t:8,sn:"ReadByte",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Seek",t:8,pi:[{n:"offset",pt:$n[0].Int64,ps:0},{n:"origin",pt:$n[10].SeekOrigin,ps:1}],sn:"Seek",rt:$n[0].Int64,p:[$n[0].Int64,$n[10].SeekOrigin]},{ov:!0,a:2,n:"SetLength",t:8,pi:[{n:"length",pt:$n[0].Int64,ps:0}],sn:"SetLength",rt:$n[0].Void,p:[$n[0].Int64]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Byte),ps:0},{n:"offset",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write",rt:$n[0].Void,p:[$n[0].Array.type(System.Byte),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"WriteByte",t:8,pi:[{n:"value",pt:$n[0].Byte,ps:0}],sn:"WriteByte",rt:$n[0].Void,p:[$n[0].Byte]},{ov:!0,a:2,n:"CanRead",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanRead",t:8,rt:$n[0].Boolean,fg:"CanRead",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanRead"},{ov:!0,a:2,n:"CanSeek",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanSeek",t:8,rt:$n[0].Boolean,fg:"CanSeek",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanSeek"},{ov:!0,a:2,n:"CanWrite",t:16,rt:$n[0].Boolean,g:{ov:!0,a:2,n:"get_CanWrite",t:8,rt:$n[0].Boolean,fg:"CanWrite",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CanWrite"},{ov:!0,a:2,n:"Length",t:16,rt:$n[0].Int64,g:{ov:!0,a:2,n:"get_Length",t:8,rt:$n[0].Int64,fg:"Length"},fn:"Length"},{ov:!0,a:2,n:"Position",t:16,rt:$n[0].Int64,g:{ov:!0,a:2,n:"get_Position",t:8,rt:$n[0].Int64,fg:"Position"},s:{ov:!0,a:2,n:"set_Position",t:8,p:[$n[0].Int64],rt:$n[0].Void,fs:"Position"},fn:"Position"}]}});$m("System.IO.Stream.SynchronousAsyncResult",function(){return{td:$n[10].Stream,att:1048837,a:4,m:[{a:4,n:".ctor",t:1,p:[$n[0].Object],pi:[{n:"asyncStateObject",pt:$n[0].Object,ps:0}],sn:"$ctor2"},{a:4,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Object],pi:[{n:"bytesRead",pt:$n[0].Int32,ps:0},{n:"asyncStateObject",pt:$n[0].Object,ps:1}],sn:"$ctor1"},{a:4,n:".ctor",t:1,p:[$n[0].Exception,$n[0].Object,$n[0].Boolean],pi:[{n:"ex",pt:$n[0].Exception,ps:0},{n:"asyncStateObject",pt:$n[0].Object,ps:1},{n:"isWrite",pt:$n[0].Boolean,ps:2}],sn:"ctor"},{a:4,n:"EndRead",is:!0,t:8,pi:[{n:"asyncResult",pt:$n[0].IAsyncResult,ps:0}],sn:"EndRead",rt:$n[0].Int32,p:[$n[0].IAsyncResult],box:function($v){return Bridge.box($v,System.Int32)}},{a:4,n:"EndWrite",is:!0,t:8,pi:[{n:"asyncResult",pt:$n[0].IAsyncResult,ps:0}],sn:"EndWrite",rt:$n[0].Void,p:[$n[0].IAsyncResult]},{a:4,n:"ThrowIfError",t:8,sn:"ThrowIfError",rt:$n[0].Void},{a:2,n:"AsyncState",t:16,rt:$n[0].Object,g:{a:2,n:"get_AsyncState",t:8,rt:$n[0].Object,fg:"AsyncState"},fn:"AsyncState"},{a:2,n:"CompletedSynchronously",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CompletedSynchronously",t:8,rt:$n[0].Boolean,fg:"CompletedSynchronously",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"CompletedSynchronously"},{a:2,n:"IsCompleted",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsCompleted",t:8,rt:$n[0].Boolean,fg:"IsCompleted",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"IsCompleted"},{a:1,n:"_bytesRead",t:4,rt:$n[0].Int32,sn:"_bytesRead",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_endXxxCalled",t:4,rt:$n[0].Boolean,sn:"_endXxxCalled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_exceptionInfo",t:4,rt:$n[0].Exception,sn:"_exceptionInfo"},{a:1,n:"_isWrite",t:4,rt:$n[0].Boolean,sn:"_isWrite",ro:!0,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_stateObject",t:4,rt:$n[0].Object,sn:"_stateObject",ro:!0}]}});$m("System.IO.StreamReader",function(){return{att:1048577,a:2,m:[{a:4,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[10].Stream],pi:[{n:"stream",pt:$n[10].Stream,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"$ctor7"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[0].Boolean],pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"detectEncodingFromByteOrderMarks",pt:$n[0].Boolean,ps:1}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding],pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"$ctor3"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Boolean],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"detectEncodingFromByteOrderMarks",pt:$n[0].Boolean,ps:1}],sn:"$ctor8"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[6].Encoding],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"$ctor9"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding,$n[0].Boolean],pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"detectEncodingFromByteOrderMarks",pt:$n[0].Boolean,ps:2}],sn:"$ctor4"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[6].Encoding,$n[0].Boolean],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"detectEncodingFromByteOrderMarks",pt:$n[0].Boolean,ps:2}],sn:"$ctor10"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding,$n[0].Boolean,$n[0].Int32],pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"detectEncodingFromByteOrderMarks",pt:$n[0].Boolean,ps:2},{n:"bufferSize",pt:$n[0].Int32,ps:3}],sn:"$ctor5"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[6].Encoding,$n[0].Boolean,$n[0].Int32],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"detectEncodingFromByteOrderMarks",pt:$n[0].Boolean,ps:2},{n:"bufferSize",pt:$n[0].Int32,ps:3}],sn:"$ctor11"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding,$n[0].Boolean,$n[0].Int32,$n[0].Boolean],pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"detectEncodingFromByteOrderMarks",pt:$n[0].Boolean,ps:2},{n:"bufferSize",pt:$n[0].Int32,ps:3},{n:"leaveOpen",pt:$n[0].Boolean,ps:4}],sn:"$ctor6"},{a:4,n:".ctor",t:1,p:[$n[0].String,$n[6].Encoding,$n[0].Boolean,$n[0].Int32,$n[0].Boolean],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"detectEncodingFromByteOrderMarks",pt:$n[0].Boolean,ps:2},{n:"bufferSize",pt:$n[0].Int32,ps:3},{n:"checkHost",pt:$n[0].Boolean,ps:4}],sn:"$ctor12"},{ov:!0,a:2,n:"Close",t:8,sn:"Close",rt:$n[0].Void},{a:1,n:"CompressBuffer",t:8,pi:[{n:"n",pt:$n[0].Int32,ps:0}],sn:"CompressBuffer",rt:$n[0].Void,p:[$n[0].Int32]},{a:1,n:"DetectEncoding",t:8,sn:"DetectEncoding",rt:$n[0].Void},{a:2,n:"DiscardBufferedData",t:8,sn:"DiscardBufferedData",rt:$n[0].Void},{ov:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{a:4,n:"Init",t:8,pi:[{n:"stream",pt:$n[10].Stream,ps:0}],sn:"Init",rt:$n[0].Void,p:[$n[10].Stream]},{a:1,n:"Init",t:8,pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"detectEncodingFromByteOrderMarks",pt:$n[0].Boolean,ps:2},{n:"bufferSize",pt:$n[0].Int32,ps:3},{n:"leaveOpen",pt:$n[0].Boolean,ps:4}],sn:"Init$1",rt:$n[0].Void,p:[$n[10].Stream,$n[6].Encoding,$n[0].Boolean,$n[0].Int32,$n[0].Boolean]},{a:1,n:"IsPreamble",t:8,sn:"IsPreamble",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"Peek",t:8,sn:"Peek",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Read",t:8,sn:"Read",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"ReadBlock",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"ReadBlock",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:4,n:"ReadBuffer",t:8,sn:"ReadBuffer",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"ReadBuffer",t:8,pi:[{n:"userBuffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"userOffset",pt:$n[0].Int32,ps:1},{n:"desiredChars",pt:$n[0].Int32,ps:2},{n:"readToUserBuffer",out:!0,pt:$n[0].Boolean,ps:3}],sn:"ReadBuffer$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32,$n[0].Boolean],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"ReadLine",t:8,sn:"ReadLine",rt:$n[0].String},{ov:!0,a:2,n:"ReadToEnd",t:8,sn:"ReadToEnd",rt:$n[0].String},{ov:!0,a:2,n:"ReadToEndAsync",t:8,sn:"ReadToEndAsync",rt:$n[8].Task$1(System.String)},{v:!0,a:2,n:"BaseStream",t:16,rt:$n[10].Stream,g:{v:!0,a:2,n:"get_BaseStream",t:8,rt:$n[10].Stream,fg:"BaseStream"},fn:"BaseStream"},{v:!0,a:2,n:"CurrentEncoding",t:16,rt:$n[6].Encoding,g:{v:!0,a:2,n:"get_CurrentEncoding",t:8,rt:$n[6].Encoding,fg:"CurrentEncoding"},fn:"CurrentEncoding"},{a:4,n:"DefaultBufferSize",is:!0,t:16,rt:$n[0].Int32,g:{a:4,n:"get_DefaultBufferSize",t:8,rt:$n[0].Int32,fg:"DefaultBufferSize",is:!0,box:function($v){return Bridge.box($v,System.Int32)}},fn:"DefaultBufferSize"},{a:2,n:"EndOfStream",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_EndOfStream",t:8,rt:$n[0].Boolean,fg:"EndOfStream",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"EndOfStream"},{a:4,n:"LeaveOpen",t:16,rt:$n[0].Boolean,g:{a:4,n:"get_LeaveOpen",t:8,rt:$n[0].Boolean,fg:"LeaveOpen",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"LeaveOpen"},{a:1,n:"DefaultFileStreamBufferSize",is:!0,t:4,rt:$n[0].Int32,sn:"DefaultFileStreamBufferSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"MinBufferSize",is:!0,t:4,rt:$n[0].Int32,sn:"MinBufferSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Null",is:!0,t:4,rt:$n[10].StreamReader,sn:"Null",ro:!0},{a:1,n:"_closable",t:4,rt:$n[0].Boolean,sn:"_closable",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_detectEncoding",t:4,rt:$n[0].Boolean,sn:"_detectEncoding",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_isBlocked",t:4,rt:$n[0].Boolean,sn:"_isBlocked",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_maxCharsPerBuffer",t:4,rt:$n[0].Int32,sn:"_maxCharsPerBuffer",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"byteBuffer",t:4,rt:$n[0].Array.type(System.Byte),sn:"byteBuffer"},{a:1,n:"byteLen",t:4,rt:$n[0].Int32,sn:"byteLen",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"bytePos",t:4,rt:$n[0].Int32,sn:"bytePos",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"charBuffer",t:4,rt:$n[0].Array.type(System.Char),sn:"charBuffer"},{a:1,n:"charLen",t:4,rt:$n[0].Int32,sn:"charLen",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"charPos",t:4,rt:$n[0].Int32,sn:"charPos",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"encoding",t:4,rt:$n[6].Encoding,sn:"encoding"},{a:1,n:"stream",t:4,rt:$n[10].Stream,sn:"stream"}]}});$m("System.IO.StreamReader.NullStreamReader",function(){return{td:$n[10].StreamReader,att:1048579,a:1,m:[{a:4,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{ov:!0,a:2,n:"Peek",t:8,sn:"Peek",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Read",t:8,sn:"Read",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:4,n:"ReadBuffer",t:8,sn:"ReadBuffer",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"ReadLine",t:8,sn:"ReadLine",rt:$n[0].String},{ov:!0,a:2,n:"ReadToEnd",t:8,sn:"ReadToEnd",rt:$n[0].String},{ov:!0,a:2,n:"BaseStream",t:16,rt:$n[10].Stream,g:{ov:!0,a:2,n:"get_BaseStream",t:8,rt:$n[10].Stream,fg:"BaseStream"},fn:"BaseStream"},{ov:!0,a:2,n:"CurrentEncoding",t:16,rt:$n[6].Encoding,g:{ov:!0,a:2,n:"get_CurrentEncoding",t:8,rt:$n[6].Encoding,fg:"CurrentEncoding"},fn:"CurrentEncoding"}]}});$m("System.IO.StreamWriter",function(){return{att:1048577,a:2,m:[{a:4,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[10].Stream],pi:[{n:"stream",pt:$n[10].Stream,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"path",pt:$n[0].String,ps:0}],sn:"$ctor5"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding],pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Boolean],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"append",pt:$n[0].Boolean,ps:1}],sn:"$ctor6"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding,$n[0].Int32],pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"bufferSize",pt:$n[0].Int32,ps:2}],sn:"$ctor3"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Boolean,$n[6].Encoding],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"append",pt:$n[0].Boolean,ps:1},{n:"encoding",pt:$n[6].Encoding,ps:2}],sn:"$ctor7"},{a:2,n:".ctor",t:1,p:[$n[10].Stream,$n[6].Encoding,$n[0].Int32,$n[0].Boolean],pi:[{n:"stream",pt:$n[10].Stream,ps:0},{n:"encoding",pt:$n[6].Encoding,ps:1},{n:"bufferSize",pt:$n[0].Int32,ps:2},{n:"leaveOpen",pt:$n[0].Boolean,ps:3}],sn:"$ctor4"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Boolean,$n[6].Encoding,$n[0].Int32],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"append",pt:$n[0].Boolean,ps:1},{n:"encoding",pt:$n[6].Encoding,ps:2},{n:"bufferSize",pt:$n[0].Int32,ps:3}],sn:"$ctor8"},{a:4,n:".ctor",t:1,p:[$n[0].String,$n[0].Boolean,$n[6].Encoding,$n[0].Int32,$n[0].Boolean],pi:[{n:"path",pt:$n[0].String,ps:0},{n:"append",pt:$n[0].Boolean,ps:1},{n:"encoding",pt:$n[6].Encoding,ps:2},{n:"bufferSize",pt:$n[0].Int32,ps:3},{n:"checkHost",pt:$n[0].Boolean,ps:4}],sn:"$ctor9"},{ov:!0,a:2,n:"Close",t:8,sn:"Close",rt:$n[0].Void},{ov:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{ov:!0,a:2,n:"Flush",t:8,sn:"Flush",rt:$n[0].Void},{a:1,n:"Flush",t:8,pi:[{n:"flushStream",pt:$n[0].Boolean,ps:0},{n:"flushEncoder",pt:$n[0].Boolean,ps:1}],sn:"Flush$1",rt:$n[0].Void,p:[$n[0].Boolean,$n[0].Boolean]},{a:1,n:"Init",t:8,pi:[{n:"streamArg",pt:$n[10].Stream,ps:0},{n:"encodingArg",pt:$n[6].Encoding,ps:1},{n:"bufferSize",pt:$n[0].Int32,ps:2},{n:"shouldLeaveOpen",pt:$n[0].Boolean,ps:3}],sn:"Init",rt:$n[0].Void,p:[$n[10].Stream,$n[6].Encoding,$n[0].Int32,$n[0].Boolean]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],sn:"Write$1",rt:$n[0].Void,p:[$n[0].Char]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0}],sn:"Write$2",rt:$n[0].Void,p:[$n[0].Array.type(System.Char)]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"Write$10",rt:$n[0].Void,p:[$n[0].String]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write$3",rt:$n[0].Void,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{v:!0,a:2,n:"AutoFlush",t:16,rt:$n[0].Boolean,g:{v:!0,a:2,n:"get_AutoFlush",t:8,rt:$n[0].Boolean,fg:"AutoFlush",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{v:!0,a:2,n:"set_AutoFlush",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"AutoFlush"},fn:"AutoFlush"},{v:!0,a:2,n:"BaseStream",t:16,rt:$n[10].Stream,g:{v:!0,a:2,n:"get_BaseStream",t:8,rt:$n[10].Stream,fg:"BaseStream"},fn:"BaseStream"},{ov:!0,a:2,n:"Encoding",t:16,rt:$n[6].Encoding,g:{ov:!0,a:2,n:"get_Encoding",t:8,rt:$n[6].Encoding,fg:"Encoding"},fn:"Encoding"},{a:4,n:"HaveWrittenPreamble",t:16,rt:$n[0].Boolean,s:{a:4,n:"set_HaveWrittenPreamble",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"HaveWrittenPreamble"},fn:"HaveWrittenPreamble"},{a:4,n:"LeaveOpen",t:16,rt:$n[0].Boolean,g:{a:4,n:"get_LeaveOpen",t:8,rt:$n[0].Boolean,fg:"LeaveOpen",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"LeaveOpen"},{a:4,n:"UTF8NoBOM",is:!0,t:16,rt:$n[6].Encoding,g:{a:4,n:"get_UTF8NoBOM",t:8,rt:$n[6].Encoding,fg:"UTF8NoBOM",is:!0},fn:"UTF8NoBOM"},{a:4,n:"DefaultBufferSize",is:!0,t:4,rt:$n[0].Int32,sn:"DefaultBufferSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"DefaultFileStreamBufferSize",is:!0,t:4,rt:$n[0].Int32,sn:"DefaultFileStreamBufferSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"MinBufferSize",is:!0,t:4,rt:$n[0].Int32,sn:"MinBufferSize",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Null",is:!0,t:4,rt:$n[10].StreamWriter,sn:"Null",ro:!0},{a:1,n:"_UTF8NoBOM",is:!0,t:4,rt:$n[6].Encoding,sn:"_UTF8NoBOM"},{a:1,n:"autoFlush",t:4,rt:$n[0].Boolean,sn:"autoFlush",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"byteBuffer",t:4,rt:$n[0].Array.type(System.Byte),sn:"byteBuffer"},{a:1,n:"charBuffer",t:4,rt:$n[0].Array.type(System.Char),sn:"charBuffer"},{a:1,n:"charLen",t:4,rt:$n[0].Int32,sn:"charLen",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"charPos",t:4,rt:$n[0].Int32,sn:"charPos",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"closable",t:4,rt:$n[0].Boolean,sn:"closable",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"encoding",t:4,rt:$n[6].Encoding,sn:"encoding"},{a:1,n:"haveWrittenPreamble",t:4,rt:$n[0].Boolean,sn:"haveWrittenPreamble",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"stream",t:4,rt:$n[10].Stream,sn:"stream"}]}});$m("System.IO.StringReader",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"s",pt:$n[0].String,ps:0}],sn:"ctor"},{ov:!0,a:2,n:"Close",t:8,sn:"Close",rt:$n[0].Void},{ov:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{ov:!0,a:2,n:"Peek",t:8,sn:"Peek",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Read",t:8,sn:"Read",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"ReadLine",t:8,sn:"ReadLine",rt:$n[0].String},{ov:!0,a:2,n:"ReadToEnd",t:8,sn:"ReadToEnd",rt:$n[0].String},{a:1,n:"_length",t:4,rt:$n[0].Int32,sn:"_length",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_pos",t:4,rt:$n[0].Int32,sn:"_pos",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_s",t:4,rt:$n[0].String,sn:"_s"}]}});$m("System.IO.StringWriter",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].IFormatProvider],pi:[{n:"formatProvider",pt:$n[0].IFormatProvider,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[6].StringBuilder],pi:[{n:"sb",pt:$n[6].StringBuilder,ps:0}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[6].StringBuilder,$n[0].IFormatProvider],pi:[{n:"sb",pt:$n[6].StringBuilder,ps:0},{n:"formatProvider",pt:$n[0].IFormatProvider,ps:1}],sn:"$ctor3"},{ov:!0,a:2,n:"Close",t:8,sn:"Close",rt:$n[0].Void},{ov:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{v:!0,a:2,n:"GetStringBuilder",t:8,sn:"GetStringBuilder",rt:$n[6].StringBuilder},{ov:!0,a:2,n:"ToString",t:8,sn:"ToString",rt:$n[0].String},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],sn:"Write$1",rt:$n[0].Void,p:[$n[0].Char]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"Write$10",rt:$n[0].Void,p:[$n[0].String]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write$3",rt:$n[0].Void,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"Encoding",t:16,rt:$n[6].Encoding,g:{ov:!0,a:2,n:"get_Encoding",t:8,rt:$n[6].Encoding,fg:"Encoding"},fn:"Encoding"},{a:1,n:"_isOpen",t:4,rt:$n[0].Boolean,sn:"_isOpen",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"_sb",t:4,rt:$n[6].StringBuilder,sn:"_sb"},{a:1,n:"m_encoding",is:!0,t:4,rt:$n[6].UnicodeEncoding,sn:"m_encoding"}]}});$m("System.IO.TextReader",function(){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,sn:"ctor"},{v:!0,a:2,n:"Close",t:8,sn:"Close",rt:$n[0].Void},{a:2,n:"Dispose",t:8,sn:"Dispose",rt:$n[0].Void},{v:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{v:!0,a:2,n:"Peek",t:8,sn:"Peek",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"Read",t:8,sn:"Read",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"ReadBlock",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"ReadBlock",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{v:!0,a:2,n:"ReadLine",t:8,sn:"ReadLine",rt:$n[0].String},{v:!0,a:2,n:"ReadToEnd",t:8,sn:"ReadToEnd",rt:$n[0].String},{v:!0,a:2,n:"ReadToEndAsync",t:8,sn:"ReadToEndAsync",rt:$n[8].Task$1(System.String)},{a:2,n:"Synchronized",is:!0,t:8,pi:[{n:"reader",pt:$n[10].TextReader,ps:0}],sn:"Synchronized",rt:$n[10].TextReader,p:[$n[10].TextReader]},{a:2,n:"Null",is:!0,t:4,rt:$n[10].TextReader,sn:"Null",ro:!0}]}});$m("System.IO.TextReader.NullTextReader",function(){return{td:$n[10].TextReader,att:1057027,a:1,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"Read",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Read$1",rt:$n[0].Int32,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:2,n:"ReadLine",t:8,sn:"ReadLine",rt:$n[0].String}]}});$m("System.IO.TextWriter",function(){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,sn:"ctor"},{a:3,n:".ctor",t:1,p:[$n[0].IFormatProvider],pi:[{n:"formatProvider",pt:$n[0].IFormatProvider,ps:0}],sn:"$ctor1"},{v:!0,a:2,n:"Close",t:8,sn:"Close",rt:$n[0].Void},{a:2,n:"Dispose",t:8,sn:"Dispose",rt:$n[0].Void},{v:!0,a:3,n:"Dispose",t:8,pi:[{n:"disposing",pt:$n[0].Boolean,ps:0}],sn:"Dispose$1",rt:$n[0].Void,p:[$n[0].Boolean]},{v:!0,a:2,n:"Flush",t:8,sn:"Flush",rt:$n[0].Void},{a:2,n:"Synchronized",is:!0,t:8,pi:[{n:"writer",pt:$n[10].TextWriter,ps:0}],sn:"Synchronized",rt:$n[10].TextWriter,p:[$n[10].TextWriter]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Boolean,ps:0}],sn:"Write",rt:$n[0].Void,p:[$n[0].Boolean]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],sn:"Write$1",rt:$n[0].Void,p:[$n[0].Char]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0}],sn:"Write$2",rt:$n[0].Void,p:[$n[0].Array.type(System.Char)]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"Write$4",rt:$n[0].Void,p:[$n[0].Decimal]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"Write$5",rt:$n[0].Void,p:[$n[0].Double]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"Write$6",rt:$n[0].Void,p:[$n[0].Int32]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"Write$7",rt:$n[0].Void,p:[$n[0].Int64]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"Write$8",rt:$n[0].Void,p:[$n[0].Object]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],sn:"Write$9",rt:$n[0].Void,p:[$n[0].Single]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"Write$10",rt:$n[0].Void,p:[$n[0].String]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"Write$15",rt:$n[0].Void,p:[$n[0].UInt32]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"Write$16",rt:$n[0].Void,p:[$n[0].UInt64]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1}],sn:"Write$11",rt:$n[0].Void,p:[$n[0].String,$n[0].Object]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],sn:"Write$14",rt:$n[0].Void,p:[$n[0].String,$n[0].Array.type(System.Object)]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write$3",rt:$n[0].Void,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2}],sn:"Write$12",rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object]},{v:!0,a:2,n:"Write",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2},{n:"arg2",pt:$n[0].Object,ps:3}],sn:"Write$13",rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object,$n[0].Object]},{v:!0,a:2,n:"WriteLine",t:8,sn:"WriteLine",rt:$n[0].Void},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].Boolean,ps:0}],sn:"WriteLine$1",rt:$n[0].Void,p:[$n[0].Boolean]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].Char,ps:0}],sn:"WriteLine$2",rt:$n[0].Void,p:[$n[0].Char]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0}],sn:"WriteLine$3",rt:$n[0].Void,p:[$n[0].Array.type(System.Char)]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].Decimal,ps:0}],sn:"WriteLine$5",rt:$n[0].Void,p:[$n[0].Decimal]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].Double,ps:0}],sn:"WriteLine$6",rt:$n[0].Void,p:[$n[0].Double]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].Int32,ps:0}],sn:"WriteLine$7",rt:$n[0].Void,p:[$n[0].Int32]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].Int64,ps:0}],sn:"WriteLine$8",rt:$n[0].Void,p:[$n[0].Int64]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"WriteLine$9",rt:$n[0].Void,p:[$n[0].Object]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].Single,ps:0}],sn:"WriteLine$10",rt:$n[0].Void,p:[$n[0].Single]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"WriteLine$11",rt:$n[0].Void,p:[$n[0].String]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].UInt32,ps:0}],sn:"WriteLine$16",rt:$n[0].Void,p:[$n[0].UInt32]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].UInt64,ps:0}],sn:"WriteLine$17",rt:$n[0].Void,p:[$n[0].UInt64]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1}],sn:"WriteLine$12",rt:$n[0].Void,p:[$n[0].String,$n[0].Object]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],sn:"WriteLine$15",rt:$n[0].Void,p:[$n[0].String,$n[0].Array.type(System.Object)]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"WriteLine$4",rt:$n[0].Void,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2}],sn:"WriteLine$13",rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object]},{v:!0,a:2,n:"WriteLine",t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"arg0",pt:$n[0].Object,ps:1},{n:"arg1",pt:$n[0].Object,ps:2},{n:"arg2",pt:$n[0].Object,ps:3}],sn:"WriteLine$14",rt:$n[0].Void,p:[$n[0].String,$n[0].Object,$n[0].Object,$n[0].Object]},{ab:!0,a:2,n:"Encoding",t:16,rt:$n[6].Encoding,g:{ab:!0,a:2,n:"get_Encoding",t:8,rt:$n[6].Encoding,fg:"Encoding"},fn:"Encoding"},{v:!0,a:2,n:"FormatProvider",t:16,rt:$n[0].IFormatProvider,g:{v:!0,a:2,n:"get_FormatProvider",t:8,rt:$n[0].IFormatProvider,fg:"FormatProvider"},fn:"FormatProvider"},{v:!0,a:2,n:"NewLine",t:16,rt:$n[0].String,g:{v:!0,a:2,n:"get_NewLine",t:8,rt:$n[0].String,fg:"NewLine"},s:{v:!0,a:2,n:"set_NewLine",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"NewLine"},fn:"NewLine"},{a:3,n:"CoreNewLine",t:4,rt:$n[0].Array.type(System.Char),sn:"CoreNewLine"},{a:1,n:"InitialNewLine",is:!0,t:4,rt:$n[0].String,sn:"InitialNewLine"},{a:1,n:"InternalFormatProvider",t:4,rt:$n[0].IFormatProvider,sn:"InternalFormatProvider"},{a:2,n:"Null",is:!0,t:4,rt:$n[10].TextWriter,sn:"Null",ro:!0}]}});$m("System.IO.TextWriter.NullTextWriter",function(){return{td:$n[10].TextWriter,att:1057027,a:1,m:[{a:4,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"Write$10",rt:$n[0].Void,p:[$n[0].String]},{ov:!0,a:2,n:"Write",t:8,pi:[{n:"buffer",pt:$n[0].Array.type(System.Char),ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"Write$3",rt:$n[0].Void,p:[$n[0].Array.type(System.Char),$n[0].Int32,$n[0].Int32]},{ov:!0,a:2,n:"WriteLine",t:8,sn:"WriteLine",rt:$n[0].Void},{ov:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"WriteLine$9",rt:$n[0].Void,p:[$n[0].Object]},{ov:!0,a:2,n:"WriteLine",t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"WriteLine$11",rt:$n[0].Void,p:[$n[0].String]},{ov:!0,a:2,n:"Encoding",t:16,rt:$n[6].Encoding,g:{ov:!0,a:2,n:"get_Encoding",t:8,rt:$n[6].Encoding,fg:"Encoding"},fn:"Encoding"}]}});$m("System.IO.__Error",function(){return{att:1048960,a:4,s:!0,m:[{a:4,n:"EndOfFile",is:!0,t:8,sn:"EndOfFile",rt:$n[0].Void},{a:4,n:"EndReadCalledTwice",is:!0,t:8,sn:"EndReadCalledTwice",rt:$n[0].Void},{a:4,n:"EndWriteCalledTwice",is:!0,t:8,sn:"EndWriteCalledTwice",rt:$n[0].Void},{a:4,n:"FileNotOpen",is:!0,t:8,sn:"FileNotOpen",rt:$n[0].Void},{a:4,n:"MemoryStreamNotExpandable",is:!0,t:8,sn:"MemoryStreamNotExpandable",rt:$n[0].Void},{a:4,n:"ReadNotSupported",is:!0,t:8,sn:"ReadNotSupported",rt:$n[0].Void},{a:4,n:"ReaderClosed",is:!0,t:8,sn:"ReaderClosed",rt:$n[0].Void},{a:4,n:"SeekNotSupported",is:!0,t:8,sn:"SeekNotSupported",rt:$n[0].Void},{a:4,n:"StreamIsClosed",is:!0,t:8,sn:"StreamIsClosed",rt:$n[0].Void},{a:4,n:"WriteNotSupported",is:!0,t:8,sn:"WriteNotSupported",rt:$n[0].Void},{a:4,n:"WriterClosed",is:!0,t:8,sn:"WriterClosed",rt:$n[0].Void},{a:4,n:"WrongAsyncResult",is:!0,t:8,sn:"WrongAsyncResult",rt:$n[0].Void}]}});$m("System.Globalization.TextInfo",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{v:!0,a:2,n:"Clone",t:8,sn:"clone",rt:$n[0].Object},{a:1,n:"VerifyWritable",t:8,sn:"verifyWritable",rt:$n[0].Void},{v:!0,a:2,n:"ANSICodePage",t:16,rt:$n[0].Int32,g:{v:!0,a:2,n:"get_ANSICodePage",t:8,rt:$n[0].Int32,fg:"ANSICodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"ANSICodePage"},{a:2,n:"CultureName",t:16,rt:$n[0].String,g:{a:2,n:"get_CultureName",t:8,rt:$n[0].String,fg:"CultureName"},fn:"CultureName"},{v:!0,a:2,n:"EBCDICCodePage",t:16,rt:$n[0].Int32,g:{v:!0,a:2,n:"get_EBCDICCodePage",t:8,rt:$n[0].Int32,fg:"EBCDICCodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"EBCDICCodePage"},{a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsReadOnly",t:8,rt:$n[0].Boolean,fg:"IsReadOnly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"IsReadOnly"},{a:2,n:"IsRightToLeft",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsRightToLeft",t:8,rt:$n[0].Boolean,fg:"IsRightToLeft",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"IsRightToLeft"},{a:2,n:"LCID",t:16,rt:$n[0].Int32,g:{a:2,n:"get_LCID",t:8,rt:$n[0].Int32,fg:"LCID",box:function($v){return Bridge.box($v,System.Int32)}},fn:"LCID"},{v:!0,a:2,n:"ListSeparator",t:16,rt:$n[0].String,g:{v:!0,a:2,n:"get_ListSeparator",t:8,rt:$n[0].String,fg:"ListSeparator"},s:{v:!0,a:2,n:"set_ListSeparator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"ListSeparator"},fn:"ListSeparator"},{v:!0,a:2,n:"MacCodePage",t:16,rt:$n[0].Int32,g:{v:!0,a:2,n:"get_MacCodePage",t:8,rt:$n[0].Int32,fg:"MacCodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"MacCodePage"},{v:!0,a:2,n:"OEMCodePage",t:16,rt:$n[0].Int32,g:{v:!0,a:2,n:"get_OEMCodePage",t:8,rt:$n[0].Int32,fg:"OEMCodePage",box:function($v){return Bridge.box($v,System.Int32)}},fn:"OEMCodePage"},{a:1,n:"listSeparator",t:4,rt:$n[0].String,sn:"listSeparator"}]}});$m("System.Globalization.CultureNotFoundException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],def:function(message){return new System.Globalization.CultureNotFoundException(null,null,message)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],def:function(message,innerException){return new System.Globalization.CultureNotFoundException(null,null,message,innerException)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].String],pi:[{n:"paramName",pt:$n[0].String,ps:0},{n:"message",pt:$n[0].String,ps:1}],def:function(paramName,message){return new System.Globalization.CultureNotFoundException(paramName,null,message)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"invalidCultureId",pt:$n[0].Int32,ps:1},{n:"innerException",pt:$n[0].Exception,ps:2}],def:function(message,invalidCultureId,innerException){return new System.Globalization.CultureNotFoundException(null,null,message,innerException,invalidCultureId)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32,$n[0].String],pi:[{n:"paramName",pt:$n[0].String,ps:0},{n:"invalidCultureId",pt:$n[0].Int32,ps:1},{n:"message",pt:$n[0].String,ps:2}],def:function(paramName,invalidCultureId,message){return new System.Globalization.CultureNotFoundException(paramName,null,message,null,invalidCultureId)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"invalidCultureName",pt:$n[0].String,ps:1},{n:"innerException",pt:$n[0].Exception,ps:2}],def:function(message,invalidCultureName,innerException){return new System.Globalization.CultureNotFoundException(null,invalidCultureName,message,innerException)}},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].String,$n[0].String],pi:[{n:"paramName",pt:$n[0].String,ps:0},{n:"invalidCultureName",pt:$n[0].String,ps:1},{n:"message",pt:$n[0].String,ps:2}],def:function(paramName,invalidCultureName,message){return new System.Globalization.CultureNotFoundException(paramName,invalidCultureName,message)}},{a:2,n:"InvalidCultureId",t:16,rt:$n[0].Nullable$1(System.Int32),g:{a:2,n:"get_InvalidCultureId",t:8,tpc:0,def:function(){return this.getInvalidCultureId()},rt:$n[0].Nullable$1(System.Int32),box:function($v){return Bridge.box($v,System.Int32,System.Nullable.toString,System.Nullable.getHashCode)}}},{a:2,n:"InvalidCultureName",t:16,rt:$n[0].String,g:{a:2,n:"get_InvalidCultureName",t:8,tpc:0,def:function(){return this.getInvalidCultureName()},rt:$n[0].String}}]}});$m("System.Globalization.CultureInfo",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"name",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:"Clone",t:8,sn:"clone",rt:$n[0].Object},{a:2,n:"CreateSpecificCulture",is:!0,t:8,pi:[{n:"name",pt:$n[0].String,ps:0}],sn:"getCultureInfo",rt:$n[7].CultureInfo,p:[$n[0].String]},{a:2,n:"GetCultureInfo",is:!0,t:8,pi:[{n:"name",pt:$n[0].String,ps:0}],sn:"getCultureInfo",rt:$n[7].CultureInfo,p:[$n[0].String]},{a:2,n:"GetCultures",is:!0,t:8,sn:"getCultures",rt:System.Array.type(System.Globalization.CultureInfo)},{v:!0,a:2,n:"GetFormat",t:8,pi:[{n:"formatType",pt:Function,ps:0}],sn:"getFormat",rt:$n[0].Object,p:[Function]},{a:2,n:"CurrentCulture",is:!0,t:16,rt:$n[7].CultureInfo,g:{a:2,n:"get_CurrentCulture",is:!0,t:8,tpc:0,def:function(){return this.getCurrentCulture()},rt:$n[7].CultureInfo},s:{a:2,n:"set_CurrentCulture",is:!0,t:8,pi:[{n:"value",pt:$n[7].CultureInfo,ps:0}],tpc:0,def:function(value){return this.setCurrentCulture(value)},rt:$n[0].Void,p:[$n[7].CultureInfo]}},{a:2,n:"DateTimeFormat",t:16,rt:$n[7].DateTimeFormatInfo,g:{a:2,n:"get_DateTimeFormat",t:8,rt:$n[7].DateTimeFormatInfo,fg:"dateTimeFormat"},s:{a:2,n:"set_DateTimeFormat",t:8,p:[$n[7].DateTimeFormatInfo],rt:$n[0].Void,fs:"dateTimeFormat"},fn:"dateTimeFormat"},{a:2,n:"EnglishName",t:16,rt:$n[0].String,g:{a:2,n:"get_EnglishName",t:8,rt:$n[0].String,fg:"englishName"},s:{a:2,n:"set_EnglishName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"englishName"},fn:"englishName"},{a:2,n:"InvariantCulture",is:!0,t:16,rt:$n[7].CultureInfo,g:{a:2,n:"get_InvariantCulture",t:8,rt:$n[7].CultureInfo,fg:"invariantCulture",is:!0},fn:"invariantCulture"},{a:2,n:"Name",t:16,rt:$n[0].String,g:{a:2,n:"get_Name",t:8,rt:$n[0].String,fg:"name"},fn:"name"},{a:2,n:"NativeName",t:16,rt:$n[0].String,g:{a:2,n:"get_NativeName",t:8,rt:$n[0].String,fg:"nativeName"},s:{a:2,n:"set_NativeName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"nativeName"},fn:"nativeName"},{a:2,n:"NumberFormat",t:16,rt:$n[7].NumberFormatInfo,g:{a:2,n:"get_NumberFormat",t:8,rt:$n[7].NumberFormatInfo,fg:"numberFormat"},s:{a:2,n:"set_NumberFormat",t:8,p:[$n[7].NumberFormatInfo],rt:$n[0].Void,fs:"numberFormat"},fn:"numberFormat"},{v:!0,a:2,n:"TextInfo",t:16,rt:$n[7].TextInfo,g:{v:!0,a:2,n:"get_TextInfo",t:8,rt:$n[7].TextInfo,fg:"TextInfo"},fn:"TextInfo"}]}});$m("System.Globalization.DateTimeFormatInfo",function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Clone",t:8,sn:"clone",rt:$n[0].Object},{a:2,n:"GetAbbreviatedDayName",t:8,pi:[{n:"dayofweek",pt:$n[0].DayOfWeek,ps:0}],sn:"getAbbreviatedDayName",rt:$n[0].String,p:[$n[0].DayOfWeek]},{a:2,n:"GetAbbreviatedMonthName",t:8,pi:[{n:"month",pt:$n[0].Int32,ps:0}],sn:"getAbbreviatedMonthName",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"GetAllDateTimePatterns",t:8,sn:"getAllDateTimePatterns",rt:$n[0].Array.type(System.String)},{a:2,n:"GetAllDateTimePatterns",t:8,pi:[{n:"format",pt:$n[0].String,ps:0}],sn:"getAllDateTimePatterns",rt:$n[0].Array.type(System.String),p:[$n[0].String]},{a:2,n:"GetDayName",t:8,pi:[{n:"dayofweek",pt:$n[0].DayOfWeek,ps:0}],sn:"getDayName",rt:$n[0].String,p:[$n[0].DayOfWeek]},{a:2,n:"GetFormat",t:8,pi:[{n:"formatType",pt:Function,ps:0}],sn:"getFormat",rt:$n[0].Object,p:[Function]},{a:2,n:"GetMonthName",t:8,pi:[{n:"month",pt:$n[0].Int32,ps:0}],sn:"getMonthName",rt:$n[0].String,p:[$n[0].Int32]},{a:2,n:"GetShortestDayName",t:8,pi:[{n:"dayOfWeek",pt:$n[0].DayOfWeek,ps:0}],sn:"getShortestDayName",rt:$n[0].String,p:[$n[0].DayOfWeek]},{a:2,n:"AMDesignator",t:16,rt:$n[0].String,g:{a:2,n:"get_AMDesignator",t:8,rt:$n[0].String,fg:"amDesignator"},s:{a:2,n:"set_AMDesignator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"amDesignator"},fn:"amDesignator"},{a:2,n:"AbbreviatedDayNames",t:16,rt:$n[0].Array.type(System.String),g:{a:2,n:"get_AbbreviatedDayNames",t:8,rt:$n[0].Array.type(System.String),fg:"abbreviatedDayNames"},s:{a:2,n:"set_AbbreviatedDayNames",t:8,p:[$n[0].Array.type(System.String)],rt:$n[0].Void,fs:"abbreviatedDayNames"},fn:"abbreviatedDayNames"},{a:2,n:"AbbreviatedMonthGenitiveNames",t:16,rt:$n[0].Array.type(System.String),g:{a:2,n:"get_AbbreviatedMonthGenitiveNames",t:8,rt:$n[0].Array.type(System.String),fg:"abbreviatedMonthGenitiveNames"},s:{a:2,n:"set_AbbreviatedMonthGenitiveNames",t:8,p:[$n[0].Array.type(System.String)],rt:$n[0].Void,fs:"abbreviatedMonthGenitiveNames"},fn:"abbreviatedMonthGenitiveNames"},{a:2,n:"AbbreviatedMonthNames",t:16,rt:$n[0].Array.type(System.String),g:{a:2,n:"get_AbbreviatedMonthNames",t:8,rt:$n[0].Array.type(System.String),fg:"abbreviatedMonthNames"},s:{a:2,n:"set_AbbreviatedMonthNames",t:8,p:[$n[0].Array.type(System.String)],rt:$n[0].Void,fs:"abbreviatedMonthNames"},fn:"abbreviatedMonthNames"},{a:2,n:"CurrentInfo",is:!0,t:16,rt:$n[7].DateTimeFormatInfo,g:{a:2,n:"get_CurrentInfo",t:8,rt:$n[7].DateTimeFormatInfo,fg:"currentInfo",is:!0},fn:"currentInfo"},{a:2,n:"DateSeparator",t:16,rt:$n[0].String,g:{a:2,n:"get_DateSeparator",t:8,rt:$n[0].String,fg:"dateSeparator"},s:{a:2,n:"set_DateSeparator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"dateSeparator"},fn:"dateSeparator"},{a:2,n:"DayNames",t:16,rt:$n[0].Array.type(System.String),g:{a:2,n:"get_DayNames",t:8,rt:$n[0].Array.type(System.String),fg:"dayNames"},s:{a:2,n:"set_DayNames",t:8,p:[$n[0].Array.type(System.String)],rt:$n[0].Void,fs:"dayNames"},fn:"dayNames"},{a:2,n:"FirstDayOfWeek",t:16,rt:$n[0].DayOfWeek,g:{a:2,n:"get_FirstDayOfWeek",t:8,rt:$n[0].DayOfWeek,fg:"firstDayOfWeek",box:function($v){return Bridge.box($v,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))}},s:{a:2,n:"set_FirstDayOfWeek",t:8,p:[$n[0].DayOfWeek],rt:$n[0].Void,fs:"firstDayOfWeek"},fn:"firstDayOfWeek"},{a:2,n:"FullDateTimePattern",t:16,rt:$n[0].String,g:{a:2,n:"get_FullDateTimePattern",t:8,rt:$n[0].String,fg:"fullDateTimePattern"},s:{a:2,n:"set_FullDateTimePattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"fullDateTimePattern"},fn:"fullDateTimePattern"},{a:2,n:"InvariantInfo",is:!0,t:16,rt:$n[7].DateTimeFormatInfo,g:{a:2,n:"get_InvariantInfo",t:8,rt:$n[7].DateTimeFormatInfo,fg:"invariantInfo",is:!0},fn:"invariantInfo"},{a:2,n:"LongDatePattern",t:16,rt:$n[0].String,g:{a:2,n:"get_LongDatePattern",t:8,rt:$n[0].String,fg:"longDatePattern"},s:{a:2,n:"set_LongDatePattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"longDatePattern"},fn:"longDatePattern"},{a:2,n:"LongTimePattern",t:16,rt:$n[0].String,g:{a:2,n:"get_LongTimePattern",t:8,rt:$n[0].String,fg:"longTimePattern"},s:{a:2,n:"set_LongTimePattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"longTimePattern"},fn:"longTimePattern"},{a:2,n:"MonthDayPattern",t:16,rt:$n[0].String,g:{a:2,n:"get_MonthDayPattern",t:8,rt:$n[0].String,fg:"monthDayPattern"},s:{a:2,n:"set_MonthDayPattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"monthDayPattern"},fn:"monthDayPattern"},{a:2,n:"MonthGenitiveNames",t:16,rt:$n[0].Array.type(System.String),g:{a:2,n:"get_MonthGenitiveNames",t:8,rt:$n[0].Array.type(System.String),fg:"monthGenitiveNames"},s:{a:2,n:"set_MonthGenitiveNames",t:8,p:[$n[0].Array.type(System.String)],rt:$n[0].Void,fs:"monthGenitiveNames"},fn:"monthGenitiveNames"},{a:2,n:"MonthNames",t:16,rt:$n[0].Array.type(System.String),g:{a:2,n:"get_MonthNames",t:8,rt:$n[0].Array.type(System.String),fg:"monthNames"},s:{a:2,n:"set_MonthNames",t:8,p:[$n[0].Array.type(System.String)],rt:$n[0].Void,fs:"monthNames"},fn:"monthNames"},{a:2,n:"PMDesignator",t:16,rt:$n[0].String,g:{a:2,n:"get_PMDesignator",t:8,rt:$n[0].String,fg:"pmDesignator"},s:{a:2,n:"set_PMDesignator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"pmDesignator"},fn:"pmDesignator"},{a:2,n:"RFC1123Pattern",t:16,rt:$n[0].String,g:{a:2,n:"get_RFC1123Pattern",t:8,rt:$n[0].String,fg:"rfc1123Pattern"},s:{a:2,n:"set_RFC1123Pattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"rfc1123Pattern"},fn:"rfc1123Pattern"},{a:2,n:"RoundtripFormat",t:16,rt:$n[0].String,g:{a:2,n:"get_RoundtripFormat",t:8,rt:$n[0].String,fg:"roundtripFormat"},s:{a:2,n:"set_RoundtripFormat",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"roundtripFormat"},fn:"roundtripFormat"},{a:2,n:"ShortDatePattern",t:16,rt:$n[0].String,g:{a:2,n:"get_ShortDatePattern",t:8,rt:$n[0].String,fg:"shortDatePattern"},s:{a:2,n:"set_ShortDatePattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"shortDatePattern"},fn:"shortDatePattern"},{a:2,n:"ShortTimePattern",t:16,rt:$n[0].String,g:{a:2,n:"get_ShortTimePattern",t:8,rt:$n[0].String,fg:"shortTimePattern"},s:{a:2,n:"set_ShortTimePattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"shortTimePattern"},fn:"shortTimePattern"},{a:2,n:"ShortestDayNames",t:16,rt:$n[0].Array.type(System.String),g:{a:2,n:"get_ShortestDayNames",t:8,rt:$n[0].Array.type(System.String),fg:"shortestDayNames"},s:{a:2,n:"set_ShortestDayNames",t:8,p:[$n[0].Array.type(System.String)],rt:$n[0].Void,fs:"shortestDayNames"},fn:"shortestDayNames"},{a:2,n:"SortableDateTimePattern",t:16,rt:$n[0].String,g:{a:2,n:"get_SortableDateTimePattern",t:8,rt:$n[0].String,fg:"sortableDateTimePattern"},s:{a:2,n:"set_SortableDateTimePattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"sortableDateTimePattern"},fn:"sortableDateTimePattern"},{a:2,n:"TimeSeparator",t:16,rt:$n[0].String,g:{a:2,n:"get_TimeSeparator",t:8,rt:$n[0].String,fg:"timeSeparator"},s:{a:2,n:"set_TimeSeparator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"timeSeparator"},fn:"timeSeparator"},{a:2,n:"UniversalSortableDateTimePattern",t:16,rt:$n[0].String,g:{a:2,n:"get_UniversalSortableDateTimePattern",t:8,rt:$n[0].String,fg:"universalSortableDateTimePattern"},s:{a:2,n:"set_UniversalSortableDateTimePattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"universalSortableDateTimePattern"},fn:"universalSortableDateTimePattern"},{a:2,n:"YearMonthPattern",t:16,rt:$n[0].String,g:{a:2,n:"get_YearMonthPattern",t:8,rt:$n[0].String,fg:"yearMonthPattern"},s:{a:2,n:"set_YearMonthPattern",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"yearMonthPattern"},fn:"yearMonthPattern"}]}});$m("System.Globalization.NumberFormatInfo",function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Clone",t:8,sn:"clone",rt:$n[0].Object},{a:2,n:"GetFormat",t:8,pi:[{n:"formatType",pt:Function,ps:0}],sn:"getFormat",rt:$n[0].Object,p:[Function]},{a:2,n:"CurrencyDecimalDigits",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CurrencyDecimalDigits",t:8,rt:$n[0].Int32,fg:"currencyDecimalDigits",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CurrencyDecimalDigits",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"currencyDecimalDigits"},fn:"currencyDecimalDigits"},{a:2,n:"CurrencyDecimalSeparator",t:16,rt:$n[0].String,g:{a:2,n:"get_CurrencyDecimalSeparator",t:8,rt:$n[0].String,fg:"currencyDecimalSeparator"},s:{a:2,n:"set_CurrencyDecimalSeparator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"currencyDecimalSeparator"},fn:"currencyDecimalSeparator"},{a:2,n:"CurrencyGroupSeparator",t:16,rt:$n[0].String,g:{a:2,n:"get_CurrencyGroupSeparator",t:8,rt:$n[0].String,fg:"currencyGroupSeparator"},s:{a:2,n:"set_CurrencyGroupSeparator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"currencyGroupSeparator"},fn:"currencyGroupSeparator"},{a:2,n:"CurrencyGroupSizes",t:16,rt:$n[0].Array.type(System.Int32),g:{a:2,n:"get_CurrencyGroupSizes",t:8,rt:$n[0].Array.type(System.Int32),fg:"currencyGroupSizes"},s:{a:2,n:"set_CurrencyGroupSizes",t:8,p:[$n[0].Array.type(System.Int32)],rt:$n[0].Void,fs:"currencyGroupSizes"},fn:"currencyGroupSizes"},{a:2,n:"CurrencyNegativePattern",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CurrencyNegativePattern",t:8,rt:$n[0].Int32,fg:"currencyNegativePattern",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CurrencyNegativePattern",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"currencyNegativePattern"},fn:"currencyNegativePattern"},{a:2,n:"CurrencyPositivePattern",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CurrencyPositivePattern",t:8,rt:$n[0].Int32,fg:"currencyPositivePattern",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CurrencyPositivePattern",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"currencyPositivePattern"},fn:"currencyPositivePattern"},{a:2,n:"CurrencySymbol",t:16,rt:$n[0].String,g:{a:2,n:"get_CurrencySymbol",t:8,rt:$n[0].String,fg:"currencySymbol"},s:{a:2,n:"set_CurrencySymbol",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"currencySymbol"},fn:"currencySymbol"},{a:2,n:"CurrentInfo",is:!0,t:16,rt:$n[7].NumberFormatInfo,g:{a:2,n:"get_CurrentInfo",t:8,rt:$n[7].NumberFormatInfo,fg:"currentInfo",is:!0},fn:"currentInfo"},{a:2,n:"InvariantInfo",is:!0,t:16,rt:$n[7].NumberFormatInfo,g:{a:2,n:"get_InvariantInfo",t:8,rt:$n[7].NumberFormatInfo,fg:"invariantInfo",is:!0},fn:"invariantInfo"},{a:2,n:"NaNSymbol",t:16,rt:$n[0].String,g:{a:2,n:"get_NaNSymbol",t:8,rt:$n[0].String,fg:"nanSymbol"},s:{a:2,n:"set_NaNSymbol",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"nanSymbol"},fn:"nanSymbol"},{a:2,n:"NegativeInfinitySymbol",t:16,rt:$n[0].String,g:{a:2,n:"get_NegativeInfinitySymbol",t:8,rt:$n[0].String,fg:"negativeInfinitySymbol"},s:{a:2,n:"set_NegativeInfinitySymbol",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"negativeInfinitySymbol"},fn:"negativeInfinitySymbol"},{a:2,n:"NegativeSign",t:16,rt:$n[0].String,g:{a:2,n:"get_NegativeSign",t:8,rt:$n[0].String,fg:"negativeSign"},s:{a:2,n:"set_NegativeSign",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"negativeSign"},fn:"negativeSign"},{a:2,n:"NumberDecimalDigits",t:16,rt:$n[0].Int32,g:{a:2,n:"get_NumberDecimalDigits",t:8,rt:$n[0].Int32,fg:"numberDecimalDigits",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_NumberDecimalDigits",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"numberDecimalDigits"},fn:"numberDecimalDigits"},{a:2,n:"NumberDecimalSeparator",t:16,rt:$n[0].String,g:{a:2,n:"get_NumberDecimalSeparator",t:8,rt:$n[0].String,fg:"numberDecimalSeparator"},s:{a:2,n:"set_NumberDecimalSeparator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"numberDecimalSeparator"},fn:"numberDecimalSeparator"},{a:2,n:"NumberGroupSeparator",t:16,rt:$n[0].String,g:{a:2,n:"get_NumberGroupSeparator",t:8,rt:$n[0].String,fg:"numberGroupSeparator"},s:{a:2,n:"set_NumberGroupSeparator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"numberGroupSeparator"},fn:"numberGroupSeparator"},{a:2,n:"NumberGroupSizes",t:16,rt:$n[0].Array.type(System.Int32),g:{a:2,n:"get_NumberGroupSizes",t:8,rt:$n[0].Array.type(System.Int32),fg:"numberGroupSizes"},s:{a:2,n:"set_NumberGroupSizes",t:8,p:[$n[0].Array.type(System.Int32)],rt:$n[0].Void,fs:"numberGroupSizes"},fn:"numberGroupSizes"},{a:2,n:"PercentDecimalDigits",t:16,rt:$n[0].Int32,g:{a:2,n:"get_PercentDecimalDigits",t:8,rt:$n[0].Int32,fg:"percentDecimalDigits",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_PercentDecimalDigits",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"percentDecimalDigits"},fn:"percentDecimalDigits"},{a:2,n:"PercentDecimalSeparator",t:16,rt:$n[0].String,g:{a:2,n:"get_PercentDecimalSeparator",t:8,rt:$n[0].String,fg:"percentDecimalSeparator"},s:{a:2,n:"set_PercentDecimalSeparator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"percentDecimalSeparator"},fn:"percentDecimalSeparator"},{a:2,n:"PercentGroupSeparator",t:16,rt:$n[0].String,g:{a:2,n:"get_PercentGroupSeparator",t:8,rt:$n[0].String,fg:"percentGroupSeparator"},s:{a:2,n:"set_PercentGroupSeparator",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"percentGroupSeparator"},fn:"percentGroupSeparator"},{a:2,n:"PercentGroupSizes",t:16,rt:$n[0].Array.type(System.Int32),g:{a:2,n:"get_PercentGroupSizes",t:8,rt:$n[0].Array.type(System.Int32),fg:"percentGroupSizes"},s:{a:2,n:"set_PercentGroupSizes",t:8,p:[$n[0].Array.type(System.Int32)],rt:$n[0].Void,fs:"percentGroupSizes"},fn:"percentGroupSizes"},{a:2,n:"PercentNegativePattern",t:16,rt:$n[0].Int32,g:{a:2,n:"get_PercentNegativePattern",t:8,rt:$n[0].Int32,fg:"percentNegativePattern",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_PercentNegativePattern",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"percentNegativePattern"},fn:"percentNegativePattern"},{a:2,n:"PercentPositivePattern",t:16,rt:$n[0].Int32,g:{a:2,n:"get_PercentPositivePattern",t:8,rt:$n[0].Int32,fg:"percentPositivePattern",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_PercentPositivePattern",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"percentPositivePattern"},fn:"percentPositivePattern"},{a:2,n:"PercentSymbol",t:16,rt:$n[0].String,g:{a:2,n:"get_PercentSymbol",t:8,rt:$n[0].String,fg:"percentSymbol"},s:{a:2,n:"set_PercentSymbol",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"percentSymbol"},fn:"percentSymbol"},{a:2,n:"PositiveInfinitySymbol",t:16,rt:$n[0].String,g:{a:2,n:"get_PositiveInfinitySymbol",t:8,rt:$n[0].String,fg:"positiveInfinitySymbol"},s:{a:2,n:"set_PositiveInfinitySymbol",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"positiveInfinitySymbol"},fn:"positiveInfinitySymbol"},{a:2,n:"PositiveSign",t:16,rt:$n[0].String,g:{a:2,n:"get_PositiveSign",t:8,rt:$n[0].String,fg:"positiveSign"},s:{a:2,n:"set_PositiveSign",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"positiveSign"},fn:"positiveSign"}]}});$m("System.ComponentModel.DefaultValueAttribute",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Object],pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"ctor"},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],sn:"equals",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"GetHashCode",t:8,sn:"getHashCode",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:3,n:"SetValue",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"setValue",rt:$n[0].Void,p:[$n[0].Object]},{v:!0,a:2,n:"Value",t:16,rt:$n[0].Object,g:{v:!0,a:2,n:"get_Value",t:8,rt:$n[0].Object,fg:"Value"},fn:"Value"},{a:1,n:"value",t:4,rt:$n[0].Object,sn:"value"}]}});$m("System.ComponentModel.BrowsableAttribute",function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Boolean],pi:[{n:"browsable",pt:$n[0].Boolean,ps:0}],sn:"ctor"},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],sn:"equals",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"GetHashCode",t:8,sn:"getHashCode",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Browsable",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Browsable",t:8,rt:$n[0].Boolean,fg:"Browsable",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"Browsable"},{a:2,n:"Default",is:!0,t:4,rt:$n[11].BrowsableAttribute,sn:"default",ro:!0},{a:2,n:"No",is:!0,t:4,rt:$n[11].BrowsableAttribute,sn:"no",ro:!0},{a:2,n:"Yes",is:!0,t:4,rt:$n[11].BrowsableAttribute,sn:"yes",ro:!0},{a:1,n:"browsable",t:4,rt:$n[0].Boolean,sn:"browsable",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("System.Collections.BitArray",function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Boolean)],pi:[{n:"values",pt:$n[0].Array.type(System.Boolean),ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Byte)],pi:[{n:"bytes",pt:$n[0].Array.type(System.Byte),ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[2].BitArray],pi:[{n:"bits",pt:$n[2].BitArray,ps:0}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"length",pt:$n[0].Int32,ps:0}],sn:"$ctor3"},{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.Int32)],pi:[{n:"values",pt:$n[0].Array.type(System.Int32),ps:0}],sn:"$ctor5"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].Boolean],pi:[{n:"length",pt:$n[0].Int32,ps:0},{n:"defaultValue",pt:$n[0].Boolean,ps:1}],sn:"$ctor4"},{a:2,n:"And",t:8,pi:[{n:"value",pt:$n[2].BitArray,ps:0}],sn:"and",rt:$n[2].BitArray,p:[$n[2].BitArray]},{a:2,n:"Clone",t:8,sn:"clone",rt:$n[0].Object},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:Array,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],sn:"copyTo",rt:$n[0].Void,p:[Array,$n[0].Int32]},{a:2,n:"Get",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"get",rt:$n[0].Boolean,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"GetArrayLength",is:!0,t:8,pi:[{n:"n",pt:$n[0].Int32,ps:0},{n:"div",pt:$n[0].Int32,ps:1}],sn:"getArrayLength",rt:$n[0].Int32,p:[$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[2].IEnumerator},{a:2,n:"Not",t:8,sn:"not",rt:$n[2].BitArray},{a:2,n:"Or",t:8,pi:[{n:"value",pt:$n[2].BitArray,ps:0}],sn:"or",rt:$n[2].BitArray,p:[$n[2].BitArray]},{a:2,n:"Set",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Boolean,ps:1}],sn:"set",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Boolean]},{a:2,n:"SetAll",t:8,pi:[{n:"value",pt:$n[0].Boolean,ps:0}],sn:"setAll",rt:$n[0].Void,p:[$n[0].Boolean]},{a:2,n:"Xor",t:8,pi:[{n:"value",pt:$n[2].BitArray,ps:0}],sn:"xor",rt:$n[2].BitArray,p:[$n[2].BitArray]},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,rt:$n[0].Int32,fg:"Count",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Count"},{a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsReadOnly",t:8,rt:$n[0].Boolean,fg:"IsReadOnly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"IsReadOnly"},{a:2,n:"Item",t:16,rt:$n[0].Boolean,p:[$n[0].Int32],i:!0,ipi:[{n:"index",pt:$n[0].Int32,ps:0}],g:{a:2,n:"get_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"getItem",rt:$n[0].Boolean,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Boolean,ps:1}],sn:"setItem",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Boolean]}},{a:2,n:"Length",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Length",t:8,rt:$n[0].Int32,fg:"Length",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_Length",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"Length"},fn:"Length"},{a:1,n:"BitsPerByte",is:!0,t:4,rt:$n[0].Int32,sn:"BitsPerByte",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"BitsPerInt32",is:!0,t:4,rt:$n[0].Int32,sn:"BitsPerInt32",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"BytesPerInt32",is:!0,t:4,rt:$n[0].Int32,sn:"BytesPerInt32",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_ShrinkThreshold",is:!0,t:4,rt:$n[0].Int32,sn:"_ShrinkThreshold",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_version",t:4,rt:$n[0].Int32,sn:"_version",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"m_array",t:4,rt:$n[0].Array.type(System.Int32),sn:"m_array"},{a:1,n:"m_length",t:4,rt:$n[0].Int32,sn:"m_length",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.BitArray.BitArrayEnumeratorSimple",function(){return{td:$n[2].BitArray,att:1048579,a:1,m:[{a:4,n:".ctor",t:1,p:[$n[2].BitArray],pi:[{n:"bitarray",pt:$n[2].BitArray,ps:0}],sn:"ctor"},{v:!0,a:2,n:"MoveNext",t:8,sn:"moveNext",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Reset",t:8,sn:"reset",rt:$n[0].Void},{v:!0,a:2,n:"Current",t:16,rt:$n[0].Object,g:{v:!0,a:2,n:"get_Current",t:8,rt:$n[0].Object,fg:"Current"},fn:"Current"},{a:1,n:"bitarray",t:4,rt:$n[2].BitArray,sn:"bitarray"},{a:1,n:"currentElement",t:4,rt:$n[0].Boolean,sn:"currentElement",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"index",t:4,rt:$n[0].Int32,sn:"index",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"version",t:4,rt:$n[0].Int32,sn:"version",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.HashHelpers",function(){return{att:1048960,a:4,s:!0,m:[{a:2,n:"ExpandPrime",is:!0,t:8,pi:[{n:"oldSize",pt:$n[0].Int32,ps:0}],sn:"expandPrime",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"GetMinPrime",is:!0,t:8,sn:"getMinPrime",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"GetPrime",is:!0,t:8,pi:[{n:"min",pt:$n[0].Int32,ps:0}],sn:"getPrime",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IsPrime",is:!0,t:8,pi:[{n:"candidate",pt:$n[0].Int32,ps:0}],sn:"isPrime",rt:$n[0].Boolean,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"HashPrime",is:!0,t:4,rt:$n[0].Int32,sn:"HashPrime",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"MaxPrimeArrayLength",is:!0,t:4,rt:$n[0].Int32,sn:"MaxPrimeArrayLength",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"primes",is:!0,t:4,rt:$n[0].Array.type(System.Int32),sn:"primes",ro:!0}]}});$m("System.Collections.DictionaryEntry",function(){return{att:1057033,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Object,$n[0].Object],pi:[{n:"key",pt:$n[0].Object,ps:0},{n:"value",pt:$n[0].Object,ps:1}],sn:"$ctor1"},{a:2,n:"Key",t:16,rt:$n[0].Object,g:{a:2,n:"get_Key",t:8,rt:$n[0].Object,fg:"Key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].Object],rt:$n[0].Void,fs:"Key"},fn:"Key"},{a:2,n:"Value",t:16,rt:$n[0].Object,g:{a:2,n:"get_Value",t:8,rt:$n[0].Object,fg:"Value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].Object],rt:$n[0].Void,fs:"Value"},fn:"Value"},{a:1,n:"_key",t:4,rt:$n[0].Object,sn:"_key"},{a:1,n:"_value",t:4,rt:$n[0].Object,sn:"_value"}]}});$m("System.Collections.IDictionaryEnumerator",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Entry",t:16,rt:$n[2].DictionaryEntry,g:{ab:!0,a:2,n:"get_Entry",t:8,rt:$n[2].DictionaryEntry,fg:"System$Collections$IDictionaryEnumerator$Entry"},fn:"System$Collections$IDictionaryEnumerator$Entry"},{ab:!0,a:2,n:"Key",t:16,rt:$n[0].Object,g:{ab:!0,a:2,n:"get_Key",t:8,rt:$n[0].Object,fg:"System$Collections$IDictionaryEnumerator$Key"},fn:"System$Collections$IDictionaryEnumerator$Key"},{ab:!0,a:2,n:"Value",t:16,rt:$n[0].Object,g:{ab:!0,a:2,n:"get_Value",t:8,rt:$n[0].Object,fg:"System$Collections$IDictionaryEnumerator$Value"},fn:"System$Collections$IDictionaryEnumerator$Value"}]}});$m("System.Collections.IDictionary",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Add",t:8,pi:[{n:"key",pt:$n[0].Object,ps:0},{n:"value",pt:$n[0].Object,ps:1}],sn:"System$Collections$IDictionary$add",rt:$n[0].Void,p:[$n[0].Object,$n[0].Object]},{ab:!0,a:2,n:"Clear",t:8,sn:"System$Collections$IDictionary$clear",rt:$n[0].Void},{ab:!0,a:2,n:"Contains",t:8,pi:[{n:"key",pt:$n[0].Object,ps:0}],sn:"System$Collections$IDictionary$contains",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"GetEnumerator",t:8,sn:"System$Collections$IDictionary$getEnumerator",rt:$n[2].IDictionaryEnumerator},{ab:!0,a:2,n:"Remove",t:8,pi:[{n:"key",pt:$n[0].Object,ps:0}],sn:"System$Collections$IDictionary$remove",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"IsFixedSize",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_IsFixedSize",t:8,rt:$n[0].Boolean,fg:"System$Collections$IDictionary$IsFixedSize",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"System$Collections$IDictionary$IsFixedSize"},{ab:!0,a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_IsReadOnly",t:8,rt:$n[0].Boolean,fg:"System$Collections$IDictionary$IsReadOnly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"System$Collections$IDictionary$IsReadOnly"},{ab:!0,a:2,n:"Item",t:16,rt:$n[0].Object,p:[$n[0].Object],i:!0,ipi:[{n:"key",pt:$n[0].Object,ps:0}],g:{ab:!0,a:2,n:"get_Item",t:8,pi:[{n:"key",pt:$n[0].Object,ps:0}],sn:"System$Collections$IDictionary$getItem",rt:$n[0].Object,p:[$n[0].Object]},s:{ab:!0,a:2,n:"set_Item",t:8,pi:[{n:"key",pt:$n[0].Object,ps:0},{n:"value",pt:$n[0].Object,ps:1}],sn:"System$Collections$IDictionary$setItem",rt:$n[0].Void,p:[$n[0].Object,$n[0].Object]}},{ab:!0,a:2,n:"Keys",t:16,rt:$n[2].ICollection,g:{ab:!0,a:2,n:"get_Keys",t:8,rt:$n[2].ICollection,fg:"System$Collections$IDictionary$Keys"},fn:"System$Collections$IDictionary$Keys"},{ab:!0,a:2,n:"Values",t:16,rt:$n[2].ICollection,g:{ab:!0,a:2,n:"get_Values",t:8,rt:$n[2].ICollection,fg:"System$Collections$IDictionary$Values"},fn:"System$Collections$IDictionary$Values"}]}});$m("System.Collections.IList",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Add",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],tpc:0,def:function(value){return System.Array.add(this,value)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{ab:!0,a:2,n:"Clear",t:8,tpc:0,def:function(){return System.Array.clear(this)},rt:$n[0].Void},{ab:!0,a:2,n:"Contains",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],tpc:0,def:function(value){return System.Array.contains(this,value)},rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],tpc:0,def:function(value){return System.Array.indexOf(this,value,0,null)},rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}},{ab:!0,a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Object,ps:1}],tpc:0,def:function(index,value){return System.Array.insert(this,index,value)},rt:$n[0].Void,p:[$n[0].Int32,$n[0].Object]},{ab:!0,a:2,n:"Remove",t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],tpc:0,def:function(value){return System.Array.remove(this,value)},rt:$n[0].Void,p:[$n[0].Object]},{ab:!0,a:2,n:"RemoveAt",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"System$Collections$IList$removeAt",rt:$n[0].Void,p:[$n[0].Int32]},{ab:!0,a:2,n:"IsFixedSize",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_IsFixedSize",t:8,rt:$n[0].Boolean,fg:"System$Collections$IList$IsFixedSize",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"System$Collections$IList$IsFixedSize"},{ab:!0,a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_IsReadOnly",t:8,tpc:0,def:function(){return System.Array.getIsReadOnly(this)},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{ab:!0,a:2,n:"Item",t:16,rt:$n[0].Object,p:[$n[0].Int32],i:!0,ipi:[{n:"index",pt:$n[0].Int32,ps:0}],g:{ab:!0,a:2,n:"get_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],tpc:0,def:function(index){return System.Array.getItem(this,index)},rt:$n[0].Object,p:[$n[0].Int32]},s:{ab:!0,a:2,n:"set_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:$n[0].Object,ps:1}],tpc:0,def:function(index){return System.Array.setItem(this,index)},rt:$n[0].Void,p:[$n[0].Int32,$n[0].Object]}}]}});$m("System.Collections.ICollection",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:Array,ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],tpc:0,def:function(array,arrayIndex){return System.Array.copyTo(this,array,arrayIndex)},rt:$n[0].Void,p:[Array,$n[0].Int32]},{ab:!0,a:2,n:"Count",t:16,rt:$n[0].Int32,g:{ab:!0,a:2,n:"get_Count",t:8,tpc:0,def:function(){return System.Array.getCount(this)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{ab:!0,a:2,n:"IsSynchronized",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_IsSynchronized",t:8,rt:$n[0].Boolean,fg:"System$Collections$ICollection$IsSynchronized",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"System$Collections$ICollection$IsSynchronized"},{ab:!0,a:2,n:"SyncRoot",t:16,rt:$n[0].Object,g:{ab:!0,a:2,n:"get_SyncRoot",t:8,rt:$n[0].Object,fg:"System$Collections$ICollection$SyncRoot"},fn:"System$Collections$ICollection$SyncRoot"}]}});$m("System.Collections.IEnumerable",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"GetEnumerator",t:8,tpc:0,def:function(){return Bridge.getEnumerator(this)},rt:$n[2].IEnumerator}]}});$m("System.Collections.IEnumerator",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"MoveNext",t:8,sn:"System$Collections$IEnumerator$moveNext",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"Reset",t:8,sn:"System$Collections$IEnumerator$reset",rt:$n[0].Void},{ab:!0,a:2,n:"Current",t:16,rt:$n[0].Object,g:{ab:!0,a:2,n:"get_Current",t:8,rt:$n[0].Object,fg:"System$Collections$IEnumerator$Current"},fn:"System$Collections$IEnumerator$Current"}]}});$m("System.Collections.IEqualityComparer",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Equals",t:8,pi:[{n:"x",pt:$n[0].Object,ps:0},{n:"y",pt:$n[0].Object,ps:1}],sn:"System$Collections$IEqualityComparer$equals",rt:$n[0].Boolean,p:[$n[0].Object,$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"GetHashCode",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],sn:"System$Collections$IEqualityComparer$getHashCode",rt:$n[0].Int32,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.ObjectModel.ReadOnlyCollection$1",function(T){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[3].IList$1(T)],pi:[{n:"list",pt:$n[3].IList$1(T),ps:0}],sn:"ctor"},{a:2,n:"Contains",t:8,pi:[{n:"value",pt:T,ps:0}],sn:"contains",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:System.Array.type(T),ps:0},{n:"index",pt:$n[0].Int32,ps:1}],sn:"copyTo",rt:$n[0].Void,p:[System.Array.type(T),$n[0].Int32]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[3].IEnumerator$1(T)},{a:2,n:"IndexOf",t:8,pi:[{n:"value",pt:T,ps:0}],sn:"indexOf",rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"IsCompatibleObject",is:!0,t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"isCompatibleObject",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,rt:$n[0].Int32,fg:"Count",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Count"},{a:2,n:"Item",t:16,rt:T,p:[$n[0].Int32],i:!0,ipi:[{n:"index",pt:$n[0].Int32,ps:0}],g:{a:2,n:"get_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"getItem",rt:T,p:[$n[0].Int32]}},{a:3,n:"Items",t:16,rt:$n[3].IList$1(T),g:{a:3,n:"get_Items",t:8,rt:$n[3].IList$1(T),fg:"Items"},fn:"Items"},{a:1,n:"list",t:4,rt:$n[3].IList$1(T),sn:"list"}]}});$m("System.Collections.Generic.BitHelper",function(){return{att:1048832,a:4,m:[{a:4,n:".ctor",t:1,p:[$n[0].Array.type(System.Int32),$n[0].Int32],pi:[{n:"bitArray",pt:$n[0].Array.type(System.Int32),ps:0},{n:"length",pt:$n[0].Int32,ps:1}],sn:"ctor"},{a:4,n:"IsMarked",t:8,pi:[{n:"bitPosition",pt:$n[0].Int32,ps:0}],sn:"isMarked",rt:$n[0].Boolean,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:4,n:"MarkBit",t:8,pi:[{n:"bitPosition",pt:$n[0].Int32,ps:0}],sn:"markBit",rt:$n[0].Void,p:[$n[0].Int32]},{a:4,n:"ToIntArrayLength",is:!0,t:8,pi:[{n:"n",pt:$n[0].Int32,ps:0}],sn:"toIntArrayLength",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"IntSize",is:!0,t:4,rt:$n[0].Byte,sn:"IntSize",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"MarkedBitFlag",is:!0,t:4,rt:$n[0].Byte,sn:"MarkedBitFlag",box:function($v){return Bridge.box($v,System.Byte)}},{a:1,n:"_array",t:4,rt:$n[0].Array.type(System.Int32),sn:"_array",ro:!0},{a:1,n:"_length",t:4,rt:$n[0].Int32,sn:"_length",ro:!0,box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("Bridge.Collections.EnumerableHelpers",function(){return{att:1048960,a:4,s:!0,m:[{a:4,n:"ToArray",is:!0,t:8,pi:[{n:"source",pt:$n[3].IEnumerable$1(System.Object),ps:0}],tpc:1,tprm:["T"],sn:"toArray",rt:System.Array.type(System.Object),p:[$n[3].IEnumerable$1(System.Object)]},{a:4,n:"ToArray",is:!0,t:8,pi:[{n:"source",pt:$n[3].IEnumerable$1(System.Object),ps:0},{n:"length",out:!0,pt:$n[0].Int32,ps:1}],tpc:1,tprm:["T"],sn:"toArray$1",rt:System.Array.type(System.Object),p:[$n[3].IEnumerable$1(System.Object),$n[0].Int32]}]}});$m("System.Collections.Generic.HashSet$1",function(T){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[3].IEnumerable$1(T)],pi:[{n:"collection",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[3].IEqualityComparer$1(T)],pi:[{n:"comparer",pt:$n[3].IEqualityComparer$1(T),ps:0}],sn:"$ctor3"},{a:2,n:".ctor",t:1,p:[$n[3].IEnumerable$1(T),$n[3].IEqualityComparer$1(T)],pi:[{n:"collection",pt:$n[3].IEnumerable$1(T),ps:0},{n:"comparer",pt:$n[3].IEqualityComparer$1(T),ps:1}],sn:"$ctor2"},{a:2,n:"Add",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"add",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"AddIfNotPresent",t:8,pi:[{n:"value",pt:T,ps:0}],sn:"addIfNotPresent",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"AddOrGetLocation",t:8,pi:[{n:"value",pt:T,ps:0},{n:"location",out:!0,pt:$n[0].Int32,ps:1}],sn:"addOrGetLocation",rt:$n[0].Boolean,p:[T,$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"AreEqualityComparersEqual",is:!0,t:8,pi:[{n:"set1",pt:$n[3].HashSet$1(T),ps:0},{n:"set2",pt:$n[3].HashSet$1(T),ps:1}],sn:"areEqualityComparersEqual",rt:$n[0].Boolean,p:[$n[3].HashSet$1(T),$n[3].HashSet$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"ArrayClear",t:8,pi:[{n:"array",pt:Array,ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"length",pt:$n[0].Int32,ps:2}],sn:"arrayClear",rt:$n[0].Void,p:[Array,$n[0].Int32,$n[0].Int32]},{a:1,n:"CheckUniqueAndUnfoundElements",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0},{n:"returnIfUnfound",pt:$n[0].Boolean,ps:1}],sn:"checkUniqueAndUnfoundElements",rt:$n[3].HashSet$1.ElementCount(T),p:[$n[3].IEnumerable$1(T),$n[0].Boolean]},{a:2,n:"Clear",t:8,sn:"clear",rt:$n[0].Void},{a:2,n:"Contains",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"contains",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"ContainsAllElements",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"containsAllElements",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:System.Array.type(T),ps:0}],sn:"copyTo$1",rt:$n[0].Void,p:[System.Array.type(T)]},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:System.Array.type(T),ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],sn:"copyTo",rt:$n[0].Void,p:[System.Array.type(T),$n[0].Int32]},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:System.Array.type(T),ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"copyTo$2",rt:$n[0].Void,p:[System.Array.type(T),$n[0].Int32,$n[0].Int32]},{a:2,n:"ExceptWith",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"exceptWith",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[3].HashSet$1.Enumerator(T)},{a:4,n:"HashSetEquals",is:!0,t:8,pi:[{n:"set1",pt:$n[3].HashSet$1(T),ps:0},{n:"set2",pt:$n[3].HashSet$1(T),ps:1},{n:"comparer",pt:$n[3].IEqualityComparer$1(T),ps:2}],sn:"hashSetEquals",rt:$n[0].Boolean,p:[$n[3].HashSet$1(T),$n[3].HashSet$1(T),$n[3].IEqualityComparer$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"IncreaseCapacity",t:8,sn:"increaseCapacity",rt:$n[0].Void},{a:1,n:"Initialize",t:8,pi:[{n:"capacity",pt:$n[0].Int32,ps:0}],sn:"initialize",rt:$n[0].Void,p:[$n[0].Int32]},{a:1,n:"InternalGetHashCode",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"internalGetHashCode",rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"InternalIndexOf",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"internalIndexOf",rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IntersectWith",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"intersectWith",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{a:1,n:"IntersectWithEnumerable",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"intersectWithEnumerable",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{a:1,n:"IntersectWithHashSetWithSameEC",t:8,pi:[{n:"other",pt:$n[3].HashSet$1(T),ps:0}],sn:"intersectWithHashSetWithSameEC",rt:$n[0].Void,p:[$n[3].HashSet$1(T)]},{a:2,n:"IsProperSubsetOf",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"isProperSubsetOf",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsProperSupersetOf",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"isProperSupersetOf",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSubsetOf",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"isSubsetOf",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"IsSubsetOfHashSetWithSameEC",t:8,pi:[{n:"other",pt:$n[3].HashSet$1(T),ps:0}],sn:"isSubsetOfHashSetWithSameEC",rt:$n[0].Boolean,p:[$n[3].HashSet$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsSupersetOf",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"isSupersetOf",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Overlaps",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"overlaps",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Remove",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"remove",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"RemoveWhere",t:8,pi:[{n:"match",pt:Function,ps:0}],sn:"removeWhere",rt:$n[0].Int32,p:[Function],box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"SetCapacity",t:8,pi:[{n:"newSize",pt:$n[0].Int32,ps:0},{n:"forceNewHashCodes",pt:$n[0].Boolean,ps:1}],sn:"setCapacity",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Boolean]},{a:2,n:"SetEquals",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"setEquals",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"SymmetricExceptWith",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"symmetricExceptWith",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{a:1,n:"SymmetricExceptWithEnumerable",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"symmetricExceptWithEnumerable",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{a:1,n:"SymmetricExceptWithUniqueHashSet",t:8,pi:[{n:"other",pt:$n[3].HashSet$1(T),ps:0}],sn:"symmetricExceptWithUniqueHashSet",rt:$n[0].Void,p:[$n[3].HashSet$1(T)]},{a:4,n:"ToArray",t:8,sn:"toArray",rt:System.Array.type(T)},{a:2,n:"TrimExcess",t:8,sn:"trimExcess",rt:$n[0].Void},{a:2,n:"UnionWith",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"unionWith",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{a:2,n:"Comparer",t:16,rt:$n[3].IEqualityComparer$1(T),g:{a:2,n:"get_Comparer",t:8,rt:$n[3].IEqualityComparer$1(T),fg:"Comparer"},fn:"Comparer"},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,rt:$n[0].Int32,fg:"Count",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Count"},{a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsReadOnly",t:8,rt:$n[0].Boolean,fg:"IsReadOnly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"IsReadOnly"},{a:1,n:"Lower31BitMask",is:!0,t:4,rt:$n[0].Int32,sn:"Lower31BitMask",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"ShrinkThreshold",is:!0,t:4,rt:$n[0].Int32,sn:"ShrinkThreshold",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_buckets",t:4,rt:$n[0].Array.type(System.Int32),sn:"_buckets"},{a:1,n:"_comparer",t:4,rt:$n[3].IEqualityComparer$1(T),sn:"_comparer"},{a:1,n:"_count",t:4,rt:$n[0].Int32,sn:"_count",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_freeList",t:4,rt:$n[0].Int32,sn:"_freeList",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_lastIndex",t:4,rt:$n[0].Int32,sn:"_lastIndex",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_slots",t:4,rt:System.Array.type(System.Collections.Generic.HashSet$1.Slot(T)),sn:"_slots"},{a:1,n:"_version",t:4,rt:$n[0].Int32,sn:"_version",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.HashSet$1.ElementCount",function(T){return{td:$n[3].HashSet$1(T),att:1048845,a:4,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:"unfoundCount",t:4,rt:$n[0].Int32,sn:"unfoundCount",box:function($v){return Bridge.box($v,System.Int32)}},{a:4,n:"uniqueCount",t:4,rt:$n[0].Int32,sn:"uniqueCount",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.HashSet$1.Slot",function(T){return{td:$n[3].HashSet$1(T),att:1048845,a:4,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:"hashCode",t:4,rt:$n[0].Int32,sn:"hashCode",box:function($v){return Bridge.box($v,System.Int32)}},{a:4,n:"next",t:4,rt:$n[0].Int32,sn:"next",box:function($v){return Bridge.box($v,System.Int32)}},{a:4,n:"value",t:4,rt:T,sn:"value"}]}});$m("System.Collections.Generic.HashSet$1.Enumerator",function(T){return{td:$n[3].HashSet$1(T),att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:".ctor",t:1,p:[$n[3].HashSet$1(T)],pi:[{n:"set",pt:$n[3].HashSet$1(T),ps:0}],sn:"$ctor1"},{a:2,n:"Dispose",t:8,sn:"dispose",rt:$n[0].Void},{a:2,n:"MoveNext",t:8,sn:"moveNext",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Current",t:16,rt:T,g:{a:2,n:"get_Current",t:8,rt:T,fg:"Current"},fn:"Current"},{a:1,n:"_current",t:4,rt:T,sn:"_current"},{a:1,n:"_index",t:4,rt:$n[0].Int32,sn:"_index",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_set",t:4,rt:$n[3].HashSet$1(T),sn:"_set"},{a:1,n:"_version",t:4,rt:$n[0].Int32,sn:"_version",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.IReadOnlyDictionary$2",function(TKey,TValue){return{att:161,a:2,m:[{ab:!0,a:2,n:"ContainsKey",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(TKey)+"$"+Bridge.getTypeAlias(TValue)+"$containsKey",rt:$n[0].Boolean,p:[TKey],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"TryGetValue",t:8,pi:[{n:"key",pt:TKey,ps:0},{n:"value",out:!0,pt:TValue,ps:1}],sn:"System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(TKey)+"$"+Bridge.getTypeAlias(TValue)+"$tryGetValue",rt:$n[0].Boolean,p:[TKey,TValue],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"Item",t:16,rt:TValue,p:[TKey],i:!0,ipi:[{n:"key",pt:TKey,ps:0}],g:{ab:!0,a:2,n:"get_Item",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(TKey)+"$"+Bridge.getTypeAlias(TValue)+"$getItem",rt:TValue,p:[TKey]}},{ab:!0,a:2,n:"Keys",t:16,rt:$n[3].IEnumerable$1(TKey),g:{ab:!0,a:2,n:"get_Keys",t:8,rt:$n[3].IEnumerable$1(TKey),fg:'"System$Collections$Generic$IReadOnlyDictionary$2$" + Bridge.getTypeAlias(TKey) + "$" + Bridge.getTypeAlias(TValue) + "$Keys"'},fn:'"System$Collections$Generic$IReadOnlyDictionary$2$" + Bridge.getTypeAlias(TKey) + "$" + Bridge.getTypeAlias(TValue) + "$Keys"'},{ab:!0,a:2,n:"Values",t:16,rt:$n[3].IEnumerable$1(TValue),g:{ab:!0,a:2,n:"get_Values",t:8,rt:$n[3].IEnumerable$1(TValue),fg:'"System$Collections$Generic$IReadOnlyDictionary$2$" + Bridge.getTypeAlias(TKey) + "$" + Bridge.getTypeAlias(TValue) + "$Values"'},fn:'"System$Collections$Generic$IReadOnlyDictionary$2$" + Bridge.getTypeAlias(TKey) + "$" + Bridge.getTypeAlias(TValue) + "$Values"'}]}});$m("System.Collections.Generic.IReadOnlyCollection$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"Count",t:16,rt:$n[0].Int32,g:{ab:!0,a:2,n:"get_Count",t:8,tpc:0,def:function(){return System.Array.getCount(this,T)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}}]}});$m("System.Collections.Generic.Queue$1",function(T){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[3].IEnumerable$1(T)],pi:[{n:"collection",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"capacity",pt:$n[0].Int32,ps:0}],sn:"$ctor2"},{a:2,n:"Clear",t:8,sn:"clear",rt:$n[0].Void},{a:2,n:"Contains",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"contains",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{v:!0,a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:Array,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],sn:"copyTo",rt:$n[0].Void,p:[Array,$n[0].Int32]},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:System.Array.type(T),ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],sn:"copyTo$1",rt:$n[0].Void,p:[System.Array.type(T),$n[0].Int32]},{a:2,n:"Dequeue",t:8,sn:"dequeue",rt:T},{a:2,n:"Enqueue",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"enqueue",rt:$n[0].Void,p:[T]},{a:1,n:"GetElement",t:8,pi:[{n:"i",pt:$n[0].Int32,ps:0}],sn:"getElement",rt:T,p:[$n[0].Int32]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[3].Queue$1.Enumerator(T)},{a:1,n:"MoveNext",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"moveNext",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Peek",t:8,sn:"peek",rt:T},{a:1,n:"SetCapacity",t:8,pi:[{n:"capacity",pt:$n[0].Int32,ps:0}],sn:"setCapacity",rt:$n[0].Void,p:[$n[0].Int32]},{a:2,n:"ToArray",t:8,sn:"toArray",rt:System.Array.type(T)},{a:2,n:"TrimExcess",t:8,sn:"trimExcess",rt:$n[0].Void},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,rt:$n[0].Int32,fg:"Count",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Count"},{a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsReadOnly",t:8,rt:$n[0].Boolean,fg:"IsReadOnly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"IsReadOnly"},{a:1,n:"DefaultCapacity",is:!0,t:4,rt:$n[0].Int32,sn:"DefaultCapacity",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"GrowFactor",is:!0,t:4,rt:$n[0].Int32,sn:"GrowFactor",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"MinimumGrow",is:!0,t:4,rt:$n[0].Int32,sn:"MinimumGrow",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_array",t:4,rt:System.Array.type(T),sn:"_array"},{a:1,n:"_head",t:4,rt:$n[0].Int32,sn:"_head",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_size",t:4,rt:$n[0].Int32,sn:"_size",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_tail",t:4,rt:$n[0].Int32,sn:"_tail",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_version",t:4,rt:$n[0].Int32,sn:"_version",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.Queue$1.Enumerator",function(T){return{td:$n[3].Queue$1(T),att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:".ctor",t:1,p:[$n[3].Queue$1(T)],pi:[{n:"q",pt:$n[3].Queue$1(T),ps:0}],sn:"$ctor1"},{a:2,n:"Dispose",t:8,sn:"dispose",rt:$n[0].Void},{a:2,n:"MoveNext",t:8,sn:"moveNext",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Current",t:16,rt:T,g:{a:2,n:"get_Current",t:8,rt:T,fg:"Current"},fn:"Current"},{a:1,n:"_currentElement",t:4,rt:T,sn:"_currentElement"},{a:1,n:"_index",t:4,rt:$n[0].Int32,sn:"_index",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_q",t:4,rt:$n[3].Queue$1(T),sn:"_q"},{a:1,n:"_version",t:4,rt:$n[0].Int32,sn:"_version",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.Stack$1",function(T){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[3].IEnumerable$1(T)],pi:[{n:"collection",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"capacity",pt:$n[0].Int32,ps:0}],sn:"$ctor2"},{a:2,n:"Clear",t:8,sn:"clear",rt:$n[0].Void},{a:2,n:"Contains",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"contains",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:Array,ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],sn:"copyTo",rt:$n[0].Void,p:[Array,$n[0].Int32]},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:System.Array.type(T),ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],sn:"copyTo$1",rt:$n[0].Void,p:[System.Array.type(T),$n[0].Int32]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[3].Stack$1.Enumerator(T)},{a:2,n:"Peek",t:8,sn:"peek",rt:T},{a:2,n:"Pop",t:8,sn:"pop",rt:T},{a:2,n:"Push",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"push",rt:$n[0].Void,p:[T]},{a:2,n:"ToArray",t:8,sn:"toArray",rt:System.Array.type(T)},{a:2,n:"TrimExcess",t:8,sn:"trimExcess",rt:$n[0].Void},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,rt:$n[0].Int32,fg:"Count",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Count"},{a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsReadOnly",t:8,rt:$n[0].Boolean,fg:"IsReadOnly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"IsReadOnly"},{a:1,n:"DefaultCapacity",is:!0,t:4,rt:$n[0].Int32,sn:"DefaultCapacity",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_array",t:4,rt:System.Array.type(T),sn:"_array"},{a:1,n:"_size",t:4,rt:$n[0].Int32,sn:"_size",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_version",t:4,rt:$n[0].Int32,sn:"_version",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.Stack$1.Enumerator",function(T){return{td:$n[3].Stack$1(T),att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:".ctor",t:1,p:[$n[3].Stack$1(T)],pi:[{n:"stack",pt:$n[3].Stack$1(T),ps:0}],sn:"$ctor1"},{a:2,n:"Dispose",t:8,sn:"dispose",rt:$n[0].Void},{a:2,n:"MoveNext",t:8,sn:"moveNext",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Current",t:16,rt:T,g:{a:2,n:"get_Current",t:8,rt:T,fg:"Current"},fn:"Current"},{a:1,n:"_currentElement",t:4,rt:T,sn:"_currentElement"},{a:1,n:"_index",t:4,rt:$n[0].Int32,sn:"_index",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_stack",t:4,rt:$n[3].Stack$1(T),sn:"_stack"},{a:1,n:"_version",t:4,rt:$n[0].Int32,sn:"_version",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.IReadOnlyList$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"Item",t:16,rt:T,p:[$n[0].Int32],i:!0,ipi:[{n:"index",pt:$n[0].Int32,ps:0}],g:{ab:!0,a:2,n:"get_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],tpc:0,def:function(index){return System.Array.getItem(this,index,T)},rt:T,p:[$n[0].Int32]}}]}});$m("System.Collections.Generic.IComparer$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"Compare",t:8,pi:[{n:"x",pt:T,ps:0},{n:"y",pt:T,ps:1}],sn:"System$Collections$Generic$IComparer$1$"+Bridge.getTypeAlias(T)+"$compare",rt:$n[0].Int32,p:[T,T],box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.IList$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"IndexOf",t:8,pi:[{n:"item",pt:T,ps:0}],tpc:0,def:function(item){return System.Array.indexOf(this,item,0,null,T)},rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}},{ab:!0,a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"item",pt:T,ps:1}],tpc:0,def:function(index,item){return System.Array.insert(this,index,item,T)},rt:$n[0].Void,p:[$n[0].Int32,T]},{ab:!0,a:2,n:"RemoveAt",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],tpc:0,def:function(index){return System.Array.removeAt(this,index,T)},rt:$n[0].Void,p:[$n[0].Int32]},{ab:!0,a:2,n:"Item",t:16,rt:T,p:[$n[0].Int32],i:!0,ipi:[{n:"index",pt:$n[0].Int32,ps:0}],g:{ab:!0,a:2,n:"get_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],tpc:0,def:function(index){return System.Array.getItem(this,index,T)},rt:T,p:[$n[0].Int32]},s:{ab:!0,a:2,n:"set_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:T,ps:1}],tpc:0,def:function(index){return System.Array.setItem(this,index,T)},rt:$n[0].Void,p:[$n[0].Int32,T]}}]}});$m("System.Collections.Generic.ISet$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"Add",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$add",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"ExceptWith",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$exceptWith",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{ab:!0,a:2,n:"IntersectWith",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$intersectWith",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{ab:!0,a:2,n:"IsProperSubsetOf",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$isProperSubsetOf",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"IsProperSupersetOf",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$isProperSupersetOf",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"IsSubsetOf",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$isSubsetOf",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"IsSupersetOf",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$isSupersetOf",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"Overlaps",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$overlaps",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"SetEquals",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$setEquals",rt:$n[0].Boolean,p:[$n[3].IEnumerable$1(T)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"SymmetricExceptWith",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$symmetricExceptWith",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{ab:!0,a:2,n:"UnionWith",t:8,pi:[{n:"other",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(T)+"$unionWith",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]}]}});$m("System.Collections.Generic.Dictionary$2",function(TKey,TValue){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[3].IDictionary$2(TKey,TValue)],pi:[{n:"dictionary",pt:$n[3].IDictionary$2(TKey,TValue),ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[3].IEqualityComparer$1(TKey)],pi:[{n:"comparer",pt:$n[3].IEqualityComparer$1(TKey),ps:0}],def:function(comparer){return new(System.Collections.Generic.Dictionary$2(TKey,TValue))(null,comparer)}},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"capacity",pt:$n[0].Int32,ps:0}],def:function(){return new(System.Collections.Generic.Dictionary$2(TKey,TValue))}},{a:2,n:".ctor",t:1,p:[$n[0].Object],pi:[{n:"obj",pt:$n[0].Object,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[3].IDictionary$2(TKey,TValue),$n[3].IEqualityComparer$1(TKey)],pi:[{n:"dictionary",pt:$n[3].IDictionary$2(TKey,TValue),ps:0},{n:"comparer",pt:$n[3].IEqualityComparer$1(TKey),ps:1}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[3].IEqualityComparer$1(TKey)],pi:[{n:"capacity",pt:$n[0].Int32,ps:0},{n:"comparer",pt:$n[3].IEqualityComparer$1(TKey),ps:1}],def:function(capacity,comparer){return new(System.Collections.Generic.Dictionary$2(TKey,TValue))(null,comparer)}},{a:2,n:".ctor",t:1,p:[$n[0].Object,$n[3].IEqualityComparer$1(TKey)],pi:[{n:"obj",pt:$n[0].Object,ps:0},{n:"comparer",pt:$n[3].IEqualityComparer$1(TKey),ps:1}],sn:"ctor"},{a:2,n:"Add",t:8,pi:[{n:"key",pt:TKey,ps:0},{n:"value",pt:TValue,ps:1}],sn:"add",rt:$n[0].Void,p:[TKey,TValue]},{a:2,n:"Clear",t:8,sn:"clear",rt:$n[0].Void},{a:2,n:"ContainsKey",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"containsKey",rt:$n[0].Boolean,p:[TKey],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"ContainsValue",t:8,pi:[{n:"value",pt:TValue,ps:0}],sn:"containsValue",rt:$n[0].Boolean,p:[TValue],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Get",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"get",rt:TValue,p:[TKey]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[3].IEnumerator$1(System.Collections.Generic.KeyValuePair$2(TKey,TValue))},{a:1,n:"IsCompatibleKey",is:!0,t:8,pi:[{n:"key",pt:$n[0].Object,ps:0}],sn:"isCompatibleKey",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"Items",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"items",rt:TValue,p:[TKey]},{a:2,n:"Remove",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"remove",rt:$n[0].Boolean,p:[TKey],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Set",t:8,pi:[{n:"key",pt:TKey,ps:0},{n:"value",pt:TValue,ps:1}],sn:"set",rt:$n[0].Void,p:[TKey,TValue]},{a:2,n:"TryGetValue",t:8,pi:[{n:"key",pt:TKey,ps:0},{n:"value",out:!0,pt:TValue,ps:1}],sn:"tryGetValue",rt:$n[0].Boolean,p:[TKey,TValue],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Comparer",t:16,rt:$n[3].IEqualityComparer$1(TKey),g:{a:2,n:"get_Comparer",t:8,rt:$n[3].IEqualityComparer$1(TKey),fg:"comparer"},fn:"comparer"},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,rt:$n[0].Int32,fg:"count",box:function($v){return Bridge.box($v,System.Int32)}},fn:"count"},{a:1,n:"IsFixedSize",t:16,rt:$n[0].Boolean,g:{a:1,n:"get_IsFixedSize",t:8,tpc:0,def:function(){return this.false},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:1,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{a:1,n:"get_IsReadOnly",t:8,tpc:0,def:function(){return this.getIsReadOnly()},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}},{a:2,n:"Item",t:16,rt:TValue,p:[TKey],i:!0,ipi:[{n:"key",pt:TKey,ps:0}],g:{a:2,n:"get_Item",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"get",rt:TValue,p:[TKey]},s:{a:2,n:"set_Item",t:8,pi:[{n:"key",pt:TKey,ps:0},{n:"value",pt:TValue,ps:1}],sn:"set",rt:$n[0].Void,p:[TKey,TValue]}},{a:2,n:"Keys",t:16,rt:$n[3].ICollection$1(TKey),g:{a:2,n:"get_Keys",t:8,tpc:0,def:function(){return this.getKeys()},rt:$n[3].ICollection$1(TKey)}},{a:2,n:"Values",t:16,rt:$n[3].ICollection$1(TValue),g:{a:2,n:"get_Values",t:8,tpc:0,def:function(){return this.getValues()},rt:$n[3].ICollection$1(TValue)}}]}});$m("System.Collections.Generic.ICollection$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"Add",t:8,pi:[{n:"item",pt:T,ps:0}],tpc:0,def:function(item){return System.Array.add(this,item,T)},rt:$n[0].Void,p:[T]},{ab:!0,a:2,n:"Clear",t:8,tpc:0,def:function(){return System.Array.clear(this,T)},rt:$n[0].Void},{ab:!0,a:2,n:"Contains",t:8,pi:[{n:"item",pt:T,ps:0}],tpc:0,def:function(item){return System.Array.contains(this,item,T)},rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:System.Array.type(T),ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],tpc:0,def:function(array,arrayIndex){return System.Array.copyTo(this,array,arrayIndex,T)},rt:$n[0].Void,p:[System.Array.type(T),$n[0].Int32]},{ab:!0,a:2,n:"Remove",t:8,pi:[{n:"item",pt:T,ps:0}],tpc:0,def:function(item){return System.Array.remove(this,item,T)},rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"Count",t:16,rt:$n[0].Int32,g:{ab:!0,a:2,n:"get_Count",t:8,tpc:0,def:function(){return System.Array.getCount(this,T)},rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}}},{ab:!0,a:2,n:"IsReadOnly",t:16,rt:$n[0].Boolean,g:{ab:!0,a:2,n:"get_IsReadOnly",t:8,tpc:0,def:function(){return System.Array.getIsReadOnly(this,T)},rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}}]}});$m("System.Collections.Generic.IDictionary$2",function(TKey,TValue){return{att:161,a:2,m:[{ab:!0,a:2,n:"Add",t:8,pi:[{n:"key",pt:TKey,ps:0},{n:"value",pt:TValue,ps:1}],sn:"System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(TKey)+"$"+Bridge.getTypeAlias(TValue)+"$add",rt:$n[0].Void,p:[TKey,TValue]},{ab:!0,a:2,n:"ContainsKey",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(TKey)+"$"+Bridge.getTypeAlias(TValue)+"$containsKey",rt:$n[0].Boolean,p:[TKey],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"Remove",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(TKey)+"$"+Bridge.getTypeAlias(TValue)+"$remove",rt:$n[0].Boolean,p:[TKey],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"TryGetValue",t:8,pi:[{n:"key",pt:TKey,ps:0},{n:"value",out:!0,pt:TValue,ps:1}],sn:"System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(TKey)+"$"+Bridge.getTypeAlias(TValue)+"$tryGetValue",rt:$n[0].Boolean,p:[TKey,TValue],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"Item",t:16,rt:TValue,p:[TKey],i:!0,ipi:[{n:"key",pt:TKey,ps:0}],g:{ab:!0,a:2,n:"get_Item",t:8,pi:[{n:"key",pt:TKey,ps:0}],sn:"System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(TKey)+"$"+Bridge.getTypeAlias(TValue)+"$getItem",rt:TValue,p:[TKey]},s:{ab:!0,a:2,n:"set_Item",t:8,pi:[{n:"key",pt:TKey,ps:0},{n:"value",pt:TValue,ps:1}],sn:"System$Collections$Generic$IDictionary$2$"+Bridge.getTypeAlias(TKey)+"$"+Bridge.getTypeAlias(TValue)+"$setItem",rt:$n[0].Void,p:[TKey,TValue]}},{ab:!0,a:2,n:"Keys",t:16,rt:$n[3].ICollection$1(TKey),g:{ab:!0,a:2,n:"get_Keys",t:8,rt:$n[3].ICollection$1(TKey),fg:'"System$Collections$Generic$IDictionary$2$" + Bridge.getTypeAlias(TKey) + "$" + Bridge.getTypeAlias(TValue) + "$Keys"'},fn:'"System$Collections$Generic$IDictionary$2$" + Bridge.getTypeAlias(TKey) + "$" + Bridge.getTypeAlias(TValue) + "$Keys"'},{ab:!0,a:2,n:"Values",t:16,rt:$n[3].ICollection$1(TValue),g:{ab:!0,a:2,n:"get_Values",t:8,rt:$n[3].ICollection$1(TValue),fg:'"System$Collections$Generic$IDictionary$2$" + Bridge.getTypeAlias(TKey) + "$" + Bridge.getTypeAlias(TValue) + "$Values"'},fn:'"System$Collections$Generic$IDictionary$2$" + Bridge.getTypeAlias(TKey) + "$" + Bridge.getTypeAlias(TValue) + "$Values"'}]}});$m("System.Collections.Generic.IEnumerable$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"GetEnumerator",t:8,tpc:0,def:function(){return Bridge.getEnumerator(this,T)},rt:$n[3].IEnumerator$1(T)}]}});$m("System.Collections.Generic.IEnumerator$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"Current",t:16,rt:T,g:{ab:!0,a:2,n:"get_Current",t:8,rt:T,fg:'"System$Collections$Generic$IEnumerator$1$" + Bridge.getTypeAlias(T) + "$Current$1"'},fn:'"System$Collections$Generic$IEnumerator$1$" + Bridge.getTypeAlias(T) + "$Current$1"'}]}});$m("System.Collections.Generic.IEqualityComparer$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"Equals",t:8,pi:[{n:"x",pt:T,ps:0},{n:"y",pt:T,ps:1}],sn:"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(T)+"$equals2",rt:$n[0].Boolean,p:[T,T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ab:!0,a:2,n:"GetHashCode",t:8,pi:[{n:"obj",pt:T,ps:0}],sn:"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(T)+"$getHashCode2",rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.EqualityComparer$1",function(T){return{att:1048705,a:2,m:[{a:3,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{v:!0,a:2,n:"Equals",t:8,pi:[{n:"x",pt:T,ps:0},{n:"y",pt:T,ps:1}],sn:"equals2",rt:$n[0].Boolean,p:[T,T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{v:!0,a:2,n:"GetHashCode",t:8,pi:[{n:"obj",pt:T,ps:0}],sn:"getHashCode2",rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Default",is:!0,t:16,rt:$n[3].EqualityComparer$1(T),g:{a:2,n:"get_Default",is:!0,t:8,tpc:0,def:function(){return System.Collections.Generic.EqualityComparer$1(T).def},rt:$n[3].EqualityComparer$1(T)}}]}});$m("System.Collections.Generic.KeyValuePair$2",function(TKey,TValue){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[TKey,TValue],pi:[{n:"key",pt:TKey,ps:0},{n:"value",pt:TValue,ps:1}],sn:"ctor"},{a:2,n:"Key",t:16,rt:TKey,g:{a:2,n:"get_Key",t:8,rt:TKey,fg:"key"},fn:"key"},{a:2,n:"Value",t:16,rt:TValue,g:{a:2,n:"get_Value",t:8,rt:TValue,fg:"value"},fn:"value"}]}});$m("System.Collections.Generic.List$1",function(T){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[3].IEnumerable$1(T)],pi:[{n:"collection",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"capacity",pt:$n[0].Int32,ps:0}],sn:"$ctor2"},{a:2,n:"Add",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"add",rt:$n[0].Void,p:[T]},{a:2,n:"AddRange",t:8,pi:[{n:"collection",pt:$n[3].IEnumerable$1(T),ps:0}],sn:"addRange",rt:$n[0].Void,p:[$n[3].IEnumerable$1(T)]},{a:2,n:"AsReadOnly",t:8,sn:"asReadOnly",rt:$n[4].ReadOnlyCollection$1(T)},{a:2,n:"BinarySearch",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"binarySearch",rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"BinarySearch",t:8,pi:[{n:"item",pt:T,ps:0},{n:"comparer",pt:$n[3].IComparer$1(T),ps:1}],sn:"binarySearch$1",rt:$n[0].Int32,p:[T,$n[3].IComparer$1(T)],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"BinarySearch",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"count",pt:$n[0].Int32,ps:1},{n:"item",pt:T,ps:2},{n:"comparer",pt:$n[3].IComparer$1(T),ps:3}],sn:"binarySearch$2",rt:$n[0].Int32,p:[$n[0].Int32,$n[0].Int32,T,$n[3].IComparer$1(T)],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Clear",t:8,sn:"clear",rt:$n[0].Void},{a:2,n:"Contains",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"contains",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"ConvertAll",t:8,pi:[{n:"converter",pt:Function,ps:0}],tpc:1,tprm:["TOutput"],sn:"convertAll",rt:$n[3].List$1(System.Object),p:[Function]},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:System.Array.type(T),ps:0}],sn:"copyTo$1",rt:$n[0].Void,p:[System.Array.type(T)]},{a:2,n:"CopyTo",t:8,pi:[{n:"array",pt:System.Array.type(T),ps:0},{n:"arrayIndex",pt:$n[0].Int32,ps:1}],sn:"copyTo",rt:$n[0].Void,p:[System.Array.type(T),$n[0].Int32]},{a:2,n:"CopyTo",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"array",pt:System.Array.type(T),ps:1},{n:"arrayIndex",pt:$n[0].Int32,ps:2},{n:"count",pt:$n[0].Int32,ps:3}],sn:"copyTo$2",rt:$n[0].Void,p:[$n[0].Int32,System.Array.type(T),$n[0].Int32,$n[0].Int32]},{a:1,n:"EnsureCapacity",t:8,pi:[{n:"min",pt:$n[0].Int32,ps:0}],sn:"ensureCapacity",rt:$n[0].Void,p:[$n[0].Int32]},{a:2,n:"Exists",t:8,pi:[{n:"match",pt:Function,ps:0}],sn:"exists",rt:$n[0].Boolean,p:[Function],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Find",t:8,pi:[{n:"match",pt:Function,ps:0}],sn:"find",rt:T,p:[Function]},{a:2,n:"FindAll",t:8,pi:[{n:"match",pt:Function,ps:0}],sn:"findAll",rt:$n[3].List$1(T),p:[Function]},{a:2,n:"FindIndex",t:8,pi:[{n:"match",pt:Function,ps:0}],sn:"findIndex$2",rt:$n[0].Int32,p:[Function],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"FindIndex",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"match",pt:Function,ps:1}],sn:"findIndex$1",rt:$n[0].Int32,p:[$n[0].Int32,Function],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"FindIndex",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"count",pt:$n[0].Int32,ps:1},{n:"match",pt:Function,ps:2}],sn:"findIndex",rt:$n[0].Int32,p:[$n[0].Int32,$n[0].Int32,Function],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"FindLast",t:8,pi:[{n:"match",pt:Function,ps:0}],sn:"findLast",rt:T,p:[Function]},{a:2,n:"FindLastIndex",t:8,pi:[{n:"match",pt:Function,ps:0}],sn:"findLastIndex$2",rt:$n[0].Int32,p:[Function],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"FindLastIndex",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"match",pt:Function,ps:1}],sn:"findLastIndex$1",rt:$n[0].Int32,p:[$n[0].Int32,Function],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"FindLastIndex",t:8,pi:[{n:"startIndex",pt:$n[0].Int32,ps:0},{n:"count",pt:$n[0].Int32,ps:1},{n:"match",pt:Function,ps:2}],sn:"findLastIndex",rt:$n[0].Int32,p:[$n[0].Int32,$n[0].Int32,Function],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"ForEach",t:8,pi:[{n:"action",pt:Function,ps:0}],sn:"forEach",rt:$n[0].Void,p:[Function]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[3].List$1.Enumerator(T)},{a:2,n:"GetRange",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"count",pt:$n[0].Int32,ps:1}],sn:"getRange",rt:$n[3].List$1(T),p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"IndexOf",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"indexOf",rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"item",pt:T,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],sn:"indexOf$1",rt:$n[0].Int32,p:[T,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IndexOf",t:8,pi:[{n:"item",pt:T,ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"indexOf$2",rt:$n[0].Int32,p:[T,$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Insert",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"item",pt:T,ps:1}],sn:"insert",rt:$n[0].Void,p:[$n[0].Int32,T]},{a:2,n:"InsertRange",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"collection",pt:$n[3].IEnumerable$1(T),ps:1}],sn:"insertRange",rt:$n[0].Void,p:[$n[0].Int32,$n[3].IEnumerable$1(T)]},{a:1,n:"IsCompatibleObject",is:!0,t:8,pi:[{n:"value",pt:$n[0].Object,ps:0}],sn:"isCompatibleObject",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"LastIndexOf",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"lastIndexOf",rt:$n[0].Int32,p:[T],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOf",t:8,pi:[{n:"item",pt:T,ps:0},{n:"index",pt:$n[0].Int32,ps:1}],sn:"lastIndexOf$1",rt:$n[0].Int32,p:[T,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"LastIndexOf",t:8,pi:[{n:"item",pt:T,ps:0},{n:"index",pt:$n[0].Int32,ps:1},{n:"count",pt:$n[0].Int32,ps:2}],sn:"lastIndexOf$2",rt:$n[0].Int32,p:[T,$n[0].Int32,$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"Remove",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"remove",rt:$n[0].Boolean,p:[T],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"RemoveAll",t:8,pi:[{n:"match",pt:Function,ps:0}],sn:"removeAll",rt:$n[0].Int32,p:[Function],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"RemoveAt",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"removeAt",rt:$n[0].Void,p:[$n[0].Int32]},{a:2,n:"RemoveRange",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"count",pt:$n[0].Int32,ps:1}],sn:"removeRange",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"Reverse",t:8,sn:"reverse",rt:$n[0].Void},{a:2,n:"Reverse",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"count",pt:$n[0].Int32,ps:1}],sn:"reverse$1",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"Sort",t:8,sn:"sort",rt:$n[0].Void},{a:2,n:"Sort",t:8,pi:[{n:"comparer",pt:$n[3].IComparer$1(T),ps:0}],sn:"sort$1",rt:$n[0].Void,p:[$n[3].IComparer$1(T)]},{a:2,n:"Sort",t:8,pi:[{n:"comparison",pt:Function,ps:0}],sn:"sort$2",rt:$n[0].Void,p:[Function]},{a:2,n:"Sort",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"count",pt:$n[0].Int32,ps:1},{n:"comparer",pt:$n[3].IComparer$1(T),ps:2}],sn:"sort$3",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Int32,$n[3].IComparer$1(T)]},{a:2,n:"ToArray",t:8,sn:"toArray",rt:System.Array.type(T)},{a:2,n:"TrimExcess",t:8,sn:"trimExcess",rt:$n[0].Void},{a:2,n:"TrueForAll",t:8,pi:[{n:"match",pt:Function,ps:0}],sn:"trueForAll",rt:$n[0].Boolean,p:[Function],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"toJSON",t:8,sn:"toJSON",rt:$n[0].Object},{a:2,n:"Capacity",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Capacity",t:8,rt:$n[0].Int32,fg:"Capacity",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_Capacity",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"Capacity"},fn:"Capacity"},{a:2,n:"Count",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Count",t:8,rt:$n[0].Int32,fg:"Count",box:function($v){return Bridge.box($v,System.Int32)}},fn:"Count"},{a:2,n:"Item",t:16,rt:T,p:[$n[0].Int32],i:!0,ipi:[{n:"index",pt:$n[0].Int32,ps:0}],g:{a:2,n:"get_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0}],sn:"getItem",rt:T,p:[$n[0].Int32]},s:{a:2,n:"set_Item",t:8,pi:[{n:"index",pt:$n[0].Int32,ps:0},{n:"value",pt:T,ps:1}],sn:"setItem",rt:$n[0].Void,p:[$n[0].Int32,T]}},{a:1,n:"_defaultCapacity",is:!0,t:4,rt:$n[0].Int32,sn:"_defaultCapacity",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_emptyArray",is:!0,t:4,rt:System.Array.type(T),sn:"_emptyArray",ro:!0},{a:1,n:"_items",t:4,rt:System.Array.type(T),sn:"_items"},{a:1,n:"_size",t:4,rt:$n[0].Int32,sn:"_size",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"_version",t:4,rt:$n[0].Int32,sn:"_version",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.List$1.Enumerator",function(T){return{td:$n[3].List$1(T),att:1057034,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:".ctor",t:1,p:[$n[3].List$1(T)],pi:[{n:"list",pt:$n[3].List$1(T),ps:0}],sn:"$ctor1"},{a:2,n:"Dispose",t:8,sn:"dispose",rt:$n[0].Void},{a:2,n:"MoveNext",t:8,sn:"moveNext",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"MoveNextRare",t:8,sn:"moveNextRare",rt:$n[0].Boolean,box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Current",t:16,rt:T,g:{a:2,n:"get_Current",t:8,rt:T,fg:"Current"},fn:"Current"},{a:1,n:"current",t:4,rt:T,sn:"current"},{a:1,n:"index",t:4,rt:$n[0].Int32,sn:"index",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"list",t:4,rt:$n[3].List$1(T),sn:"list"},{a:1,n:"version",t:4,rt:$n[0].Int32,sn:"version",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("System.Collections.Generic.KeyNotFoundException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"message",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"}]}});$m("System.Runtime.CompilerServices.FormattableStringFactory",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"Create",is:!0,t:8,pi:[{n:"format",pt:$n[0].String,ps:0},{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],sn:"create",rt:$n[0].FormattableString,p:[$n[0].String,$n[0].Array.type(System.Object)]}]}});$m("Bridge.Console",function(){return{att:1048577,a:2,m:[{a:1,n:".ctor",t:1,sn:"ctor"},{a:1,n:"BuildConsoleMessage",t:8,pi:[{n:"message",pt:$n[0].String,ps:0},{n:"messageType",pt:Bridge.Console.MessageType,ps:1}],sn:"buildConsoleMessage",rt:Bridge.Console.Element,p:[$n[0].String,Bridge.Console.MessageType]},{a:2,n:"Clear",is:!0,t:8,sn:"clear",rt:$n[0].Void},{a:2,n:"Close",t:8,sn:"close",rt:$n[0].Void},{a:2,n:"Debug",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"debug",rt:$n[0].Void,p:[$n[0].String]},{a:2,n:"Error",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"error",rt:$n[0].Void,p:[$n[0].String]},{a:2,n:"Hide",is:!0,t:8,sn:"hide",rt:$n[0].Void},{a:2,n:"HideTooltip",t:8,sn:"hideTooltip",rt:$n[0].Void},{a:1,n:"Init",t:8,pi:[{n:"reinit",dv:!1,o:!0,pt:$n[0].Boolean,ps:0}],sn:"init",rt:$n[0].Void,p:[$n[0].Boolean]},{a:2,n:"InitConsoleFunctions",is:!0,t:8,sn:"initConsoleFunctions",rt:$n[0].Void},{a:2,n:"Log",is:!0,t:8,pi:[{n:"value",pt:$n[0].Object,ps:0},{n:"newLine",dv:!0,o:!0,pt:$n[0].Boolean,ps:1}],sn:"log",rt:$n[0].Void,p:[$n[0].Object,$n[0].Boolean]},{a:1,n:"LogBase",is:!0,t:8,pi:[{n:"value",pt:$n[0].Object,ps:0},{n:"newLine",dv:!0,o:!0,pt:$n[0].Boolean,ps:1},{n:"messageType",dv:0,o:!0,pt:Bridge.Console.MessageType,ps:2}],sn:"logBase",rt:$n[0].Void,p:[$n[0].Object,$n[0].Boolean,Bridge.Console.MessageType]},{a:1,n:"Obj2Css",t:8,pi:[{n:"obj",pt:$n[3].Dictionary$2(System.String,System.String),ps:0}],sn:"obj2Css",rt:$n[0].String,p:[$n[3].Dictionary$2(System.String,System.String)]},{a:1,n:"SetAttributes",t:8,pi:[{n:"el",pt:Bridge.Console.Element,ps:0},{n:"attrs",pt:$n[3].Dictionary$2(System.String,System.String),ps:1}],sn:"setAttributes",rt:$n[0].Void,p:[Bridge.Console.Element,$n[3].Dictionary$2(System.String,System.String)]},{a:2,n:"Show",is:!0,t:8,sn:"show",rt:$n[0].Void},{a:2,n:"ShowTooltip",t:8,sn:"showTooltip",rt:$n[0].Void},{a:2,n:"Toggle",is:!0,t:8,sn:"toggle",rt:$n[0].Void},{a:1,n:"UnwrapBodyContent",t:8,sn:"unwrapBodyContent",rt:$n[0].Void},{a:1,n:"WrapBodyContent",t:8,sn:"wrapBodyContent",rt:$n[0].Void},{a:2,n:"Instance",is:!0,t:16,rt:Bridge.Console,g:{a:2,n:"get_Instance",t:8,rt:Bridge.Console,fg:"instance",is:!0},fn:"instance"},{a:1,n:"BODY_WRAPPER_ID",is:!0,t:4,rt:$n[0].String,sn:"BODY_WRAPPER_ID"},{a:1,n:"BridgeConsoleLabel",t:4,rt:Bridge.Console.Element,sn:"bridgeConsoleLabel"},{a:1,n:"BridgeIcon",t:4,rt:Bridge.Console.Element,sn:"bridgeIcon"},{a:1,n:"BridgeIconPath",t:4,rt:Bridge.Console.Element,sn:"bridgeIconPath"},{a:2,n:"BufferedOutput",t:4,rt:$n[0].String,sn:"bufferedOutput"},{a:1,n:"CONSOLE_MESSAGES_ID",is:!0,t:4,rt:$n[0].String,sn:"CONSOLE_MESSAGES_ID"},{a:1,n:"CloseBtn",t:4,rt:Bridge.Console.Element,sn:"closeBtn"},{a:1,n:"CloseIcon",t:4,rt:Bridge.Console.Element,sn:"closeIcon"},{a:1,n:"CloseIconPath",t:4,rt:Bridge.Console.Element,sn:"closeIconPath"},{a:1,n:"ConsoleBody",t:4,rt:Bridge.Console.Element,sn:"consoleBody"},{a:1,n:"ConsoleHeader",t:4,rt:Bridge.Console.Element,sn:"consoleHeader"},{a:1,n:"ConsoleMessages",t:4,rt:Bridge.Console.Element,sn:"consoleMessages"},{a:1,n:"ConsoleWrap",t:4,rt:Bridge.Console.Element,sn:"consoleWrap"},{a:2,n:"CurrentMessageElement",t:4,rt:$n[0].Object,sn:"currentMessageElement"},{a:1,n:"Hidden",t:4,rt:$n[0].Boolean,sn:"hidden",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"IsNewLine",t:4,rt:$n[0].Boolean,sn:"isNewLine",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"Position",is:!0,t:4,rt:$n[0].String,sn:"position"},{a:1,n:"Tooltip",t:4,rt:Bridge.Console.Element,sn:"tooltip"},{a:1,n:"consoleHeaderHeight",t:4,rt:$n[0].String,sn:"consoleHeaderHeight"},{a:1,n:"consoleHeight",t:4,rt:$n[0].String,sn:"consoleHeight"},{a:1,n:"instance",is:!0,t:4,rt:Bridge.Console,sn:"instance$1"},{a:1,n:"svgNS",t:4,rt:$n[0].String,sn:"svgNS"}]}});$m("Bridge.Utils.SystemAssemblyVersion",function(){return{att:1048576,a:4,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Version",is:!0,t:8,sn:"version",rt:$n[0].Void}]}});/*
 * @version   : 1.6.0 - A Bridge.NET implementation of Newtonsoft.Json
 * @author    : Object.NET, Inc. http://www.bridge.net/
 * @copyright : Copyright (c) 2008-2018, Object.NET, Inc. (http://www.object.net/). All rights reserved.
 * @license   : See license.txt and https://github.com/bridgedotnet/Bridge.NET/blob/master/LICENSE.
 */
Bridge.assembly("Newtonsoft.Json",function(){"use strict";Bridge.define("Newtonsoft.Json.DefaultValueHandling",{$kind:"enum",statics:{fields:{Include:0,Ignore:1,Populate:2,IgnoreAndPopulate:3}},$flags:!0});Bridge.define("Newtonsoft.Json.Formatting",{$kind:"enum",statics:{fields:{None:0,Indented:1}}});Bridge.define("Newtonsoft.Json.JsonConstructorAttribute",{inherits:[System.Attribute]});Bridge.define("Newtonsoft.Json.JsonException",{inherits:[System.Exception],ctors:{ctor:function(){this.$initialize();System.Exception.ctor.call(this)},$ctor1:function(message){this.$initialize();System.Exception.ctor.call(this,message)},$ctor2:function(message,innerException){this.$initialize();System.Exception.ctor.call(this,message,innerException)}}});Bridge.define("Newtonsoft.Json.JsonIgnoreAttribute",{inherits:[System.Attribute]});Bridge.define("Newtonsoft.Json.JsonPropertyAttribute",{inherits:[System.Attribute],fields:{_nullValueHandling:null,_defaultValueHandling:null,_objectCreationHandling:null,_typeNameHandling:null,_required:null,_order:null},props:{NullValueHandling:{get:function(){var $t;return $t=this._nullValueHandling,$t!=null?$t:0},set:function(value){this._nullValueHandling=value}},DefaultValueHandling:{get:function(){var $t;return $t=this._defaultValueHandling,$t!=null?$t:0},set:function(value){this._defaultValueHandling=value}},ObjectCreationHandling:{get:function(){var $t;return $t=this._objectCreationHandling,$t!=null?$t:0},set:function(value){this._objectCreationHandling=value}},TypeNameHandling:{get:function(){var $t;return $t=this._typeNameHandling,$t!=null?$t:0},set:function(value){this._typeNameHandling=value}},Required:{get:function(){var $t;return $t=this._required,$t!=null?$t:Newtonsoft.Json.Required.Default},set:function(value){this._required=value}},Order:{get:function(){var $t;return $t=this._order,$t!=null?$t:Bridge.getDefaultValue(System.Int32)},set:function(value){this._order=value}},PropertyName:null},ctors:{ctor:function(){this.$initialize();System.Attribute.ctor.call(this)},$ctor1:function(propertyName){this.$initialize();System.Attribute.ctor.call(this);this.PropertyName=propertyName}}});Bridge.define("Newtonsoft.Json.JsonSerializerSettings",{statics:{fields:{DefaultNullValueHandling:0,DefaultTypeNameHandling:0},ctors:{init:function(){this.DefaultNullValueHandling=Newtonsoft.Json.NullValueHandling.Include;this.DefaultTypeNameHandling=Newtonsoft.Json.TypeNameHandling.None}}},fields:{_defaultValueHandling:null,_typeNameHandling:null,_nullValueHandling:null,_objectCreationHandling:null},props:{NullValueHandling:{get:function(){var $t;return $t=this._nullValueHandling,$t!=null?$t:Newtonsoft.Json.JsonSerializerSettings.DefaultNullValueHandling},set:function(value){this._nullValueHandling=value}},ObjectCreationHandling:{get:function(){var $t;return $t=this._objectCreationHandling,$t!=null?$t:0},set:function(value){this._objectCreationHandling=value}},DefaultValueHandling:{get:function(){var $t;return $t=this._defaultValueHandling,$t!=null?$t:0},set:function(value){this._defaultValueHandling=value}},TypeNameHandling:{get:function(){var $t;return $t=this._typeNameHandling,$t!=null?$t:Newtonsoft.Json.JsonSerializerSettings.DefaultTypeNameHandling},set:function(value){this._typeNameHandling=value}},ContractResolver:null}});Bridge.define("Newtonsoft.Json.NullValueHandling",{$kind:"enum",statics:{fields:{Include:0,Ignore:1}}});Bridge.define("Newtonsoft.Json.ObjectCreationHandling",{$kind:"enum",statics:{fields:{Auto:0,Reuse:1,Replace:2}}});Bridge.define("Newtonsoft.Json.Required",{$kind:"enum",statics:{fields:{Default:0,AllowNull:1,Always:2,DisallowNull:3}}});Bridge.define("Newtonsoft.Json.Serialization.IContractResolver",{$kind:"interface"});Bridge.define("Newtonsoft.Json.TypeNameHandling",{$kind:"enum",statics:{fields:{None:0,Objects:1}},$flags:!0});Bridge.define("Newtonsoft.Json.Utils.AssemblyVersion",{statics:{fields:{version:null,compiler:null},ctors:{init:function(){this.version="1.6.0";this.compiler="16.8.0"}}}});Bridge.define("Newtonsoft.Json.JsonSerializationException",{inherits:[Newtonsoft.Json.JsonException],ctors:{ctor:function(){this.$initialize();Newtonsoft.Json.JsonException.ctor.call(this)},$ctor1:function(message){this.$initialize();Newtonsoft.Json.JsonException.$ctor1.call(this,message)},$ctor2:function(message,innerException){this.$initialize();Newtonsoft.Json.JsonException.$ctor2.call(this,message,innerException)}}});Bridge.define("Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver",{inherits:[Newtonsoft.Json.Serialization.IContractResolver]});Bridge.define("Newtonsoft.Json.JsonConvert",{statics:{methods:{stringify:function(value,formatting){return formatting===Newtonsoft.Json.Formatting.Indented?JSON.stringify(value,null,"  "):JSON.stringify(value)},getEnumerableElementType:function(type){var interfaceType,interfaces,j;if(System.String.startsWith(type.$$name,"System.Collections.Generic.IEnumerable"))interfaceType=type;else for(interfaces=Bridge.Reflection.getInterfaces(type),j=0;j<interfaces.length;j++)if(System.String.startsWith(interfaces[j].$$name,"System.Collections.Generic.IEnumerable")){interfaceType=interfaces[j];break}return interfaceType?Bridge.Reflection.getGenericArguments(interfaceType)[0]:null},validateReflectable:function(type){do{var ignoreMetaData=type===System.Object||type===Object||type.$literal||type.$kind==="anonymous",nometa=!Bridge.getMetadata(type);if(!ignoreMetaData&&nometa){Bridge.$jsonGuard&&delete Bridge.$jsonGuard;throw new System.InvalidOperationException(Bridge.getTypeName(type)+" is not reflectable and cannot be serialized.");}type=ignoreMetaData?null:Bridge.Reflection.getBaseType(type)}while(!ignoreMetaData&&type!=null)},defaultGuard:function(){Bridge.$jsonGuard&&Bridge.$jsonGuard.pop()},getValue:function(obj,name){name=name.toLowerCase();for(var key in obj)if(key.toLowerCase()==name)return obj[key]},getCacheByType:function(type){for(var t,cfg,i=0;i<Newtonsoft.Json.$cache.length;i++)if(t=Newtonsoft.Json.$cache[i],t.type===type)return t;return cfg={type:type},Newtonsoft.Json.$cache.push(cfg),cfg},getMembers:function(type,memberCode){var cache=Newtonsoft.Json.JsonConvert.getCacheByType(type),members,hasOrder;return cache[memberCode]?cache[memberCode]:(members=Bridge.Reflection.getMembers(type,memberCode,52),hasOrder=!1,members=members.map(function(m){var attr=System.Attribute.getCustomAttributes(m,Newtonsoft.Json.JsonPropertyAttribute),defValueAttr=System.Attribute.getCustomAttributes(m,System.ComponentModel.DefaultValueAttribute);return{member:m,attr:attr&&attr.length>0?attr[0]:null,defaultValue:defValueAttr&&defValueAttr.length>0?defValueAttr[0].Value:Bridge.getDefaultValue(m.rt)}}).filter(function(cfg){return!hasOrder&&cfg.attr&&cfg.attr.Order&&(hasOrder=!0),(cfg.attr||cfg.member.a===2)&&System.Attribute.getCustomAttributes(cfg.member,Newtonsoft.Json.JsonIgnoreAttribute).length===0}),hasOrder&&members.sort(function(a,b){return(a.attr&&a.attr.Order||0)-(b.attr&&b.attr.Order||0)}),cache[memberCode]=members,members)},preRawProcess:function(cfg,instance,value,settings){var attr=cfg.attr,defaultValueHandling=attr&&attr._defaultValueHandling!=null?attr._defaultValueHandling:settings.DefaultValueHandling,required=attr&&attr.Required;if(value===undefined&&(defaultValueHandling===Newtonsoft.Json.DefaultValueHandling.Populate||defaultValueHandling===Newtonsoft.Json.DefaultValueHandling.IgnoreAndPopulate)&&(value=cfg.defaultValue),(required===Newtonsoft.Json.Required.AllowNull||required===Newtonsoft.Json.Required.Always)&&value===undefined)throw new Newtonsoft.Json.JsonSerializationException("Required property '"+cfg.member.n+"' not found in JSON.");if(required===Newtonsoft.Json.Required.Always&&value===null)throw new Newtonsoft.Json.JsonSerializationException("Required property '"+cfg.member.n+"' expects a value but got null.");if(required===Newtonsoft.Json.Required.DisallowNull&&value===null)throw new Newtonsoft.Json.JsonSerializationException("Property '"+cfg.member.n+"' expects a value but got null.");return{value:value}},preProcess:function(cfg,instance,value,settings){var attr=cfg.attr,defaultValueHandling=attr&&attr._defaultValueHandling!=null?attr._defaultValueHandling:settings.DefaultValueHandling,nullValueHandling=attr&&attr._nullValueHandling!=null?attr._nullValueHandling:settings.NullValueHandling;if(value==null&&nullValueHandling===Newtonsoft.Json.NullValueHandling.Ignore)return!1;var x=Bridge.unbox(value,!0),y=cfg.defaultValue,oneNull=x==null||y==null&&!(x==null&&y==null);return!oneNull&&Bridge.equals(x,y)&&(defaultValueHandling===Newtonsoft.Json.DefaultValueHandling.Ignore||defaultValueHandling===Newtonsoft.Json.DefaultValueHandling.IgnoreAndPopulate)?!1:{value:value}},PopulateObject:function(value,target,settings,schema){var targetType,raw,typeElement,i,key,each,inSchema,needSet,targetValue,result;if(settings=settings||{},targetType=Bridge.getType(target),typeof value=="string")try{raw=JSON.parse(value)}catch(e){throw new Newtonsoft.Json.JsonException(e.message);}else raw=value;if(targetType.$nullable&&(targetType=targetType.$nullableType),raw!=null&&typeof raw=="object")if(Bridge.isArray(null,targetType)){if(raw.length===undefined)return;for(i=0;i<raw.length;i++)target.push(Newtonsoft.Json.JsonConvert.DeserializeObject(raw[i],targetType.$elementType,settings,!0))}else if(Bridge.Reflection.isAssignableFrom(System.Collections.IList,targetType))for(typeElement=System.Collections.Generic.List$1.getElementType(targetType)||System.Object,Bridge.isArray(raw)||(raw=raw.toArray()),i=0;i<raw.length;i++)target.add(Newtonsoft.Json.JsonConvert.DeserializeObject(raw[i],typeElement,settings,!0));else if(Bridge.Reflection.isAssignableFrom(System.Collections.IDictionary,targetType)){var typesGeneric=System.Collections.Generic.Dictionary$2.getTypeParameters(targetType),typeKey=typesGeneric[0]||System.Object,typeValue=typesGeneric[1]||System.Object,keys;if(Bridge.is(raw,System.Collections.IDictionary))for(keys=System.Linq.Enumerable.from(raw.getKeys()).toArray(),i=0;i<keys.length;i++)key=keys[i],target.set(Newtonsoft.Json.JsonConvert.DeserializeObject(key,typeKey,settings,!0),Newtonsoft.Json.JsonConvert.DeserializeObject(raw.get(key),typeValue,settings,!0),!1);else for(each in raw)raw.hasOwnProperty(each)&&target.set(Newtonsoft.Json.JsonConvert.DeserializeObject(each,typeKey,settings,!0),Newtonsoft.Json.JsonConvert.DeserializeObject(raw[each],typeValue,settings,!0),!1)}else{for(var camelCase=settings&&Bridge.is(settings.ContractResolver,Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver),fields=Newtonsoft.Json.JsonConvert.getMembers(targetType,4),properties=Newtonsoft.Json.JsonConvert.getMembers(targetType,16),value,cfg,f,p,mname,i=0;i<fields.length;i++)if(cfg=fields[i],f=cfg.member,mname=cfg.attr&&cfg.attr.PropertyName||(camelCase?f.n.charAt(0).toLowerCase()+f.n.substr(1):f.n),value=raw[mname],value===undefined&&(value=Newtonsoft.Json.JsonConvert.getValue(raw,mname)),inSchema=(schema||raw)[mname],inSchema===undefined&&(inSchema=Newtonsoft.Json.JsonConvert.getValue(schema||raw,mname)),result=Newtonsoft.Json.JsonConvert.preRawProcess(cfg,schema||raw,inSchema,settings),inSchema=result.value,inSchema!==undefined){var needSet=value===null||value===!1||value===!0||typeof value=="number"||typeof value=="string",targetValue=Bridge.unbox(Bridge.Reflection.fieldAccess(f,target)),instance=Newtonsoft.Json.JsonConvert.DeserializeObject(value,f.rt,settings,!0),result=Newtonsoft.Json.JsonConvert.preProcess(cfg,target,targetValue,settings);result!==!1&&(targetValue=result.value,needSet||targetValue==null?Bridge.Reflection.fieldAccess(f,target,instance):Newtonsoft.Json.JsonConvert.PopulateObject(instance,targetValue,settings,value))}for(i=0;i<properties.length;i++)cfg=properties[i],p=cfg.member,mname=cfg.attr&&cfg.attr.PropertyName||(camelCase?p.n.charAt(0).toLowerCase()+p.n.substr(1):p.n),value=raw[mname],value===undefined&&(value=Newtonsoft.Json.JsonConvert.getValue(raw,mname)),inSchema=(schema||raw)[mname],inSchema===undefined&&(inSchema=Newtonsoft.Json.JsonConvert.getValue(schema||raw,mname)),result=Newtonsoft.Json.JsonConvert.preRawProcess(cfg,schema||raw,inSchema,settings),inSchema=result.value,inSchema!==undefined&&(needSet=value===null||value===!1||value===!0||typeof value=="number"||typeof value=="string",targetValue=Bridge.unbox(Bridge.Reflection.midel(p.g,target)()),instance=Newtonsoft.Json.JsonConvert.DeserializeObject(value,p.rt,settings,!0),result=Newtonsoft.Json.JsonConvert.preProcess(cfg,target,targetValue,settings),result!==!1&&(targetValue=result.value,needSet||targetValue==null?p.s?Bridge.Reflection.midel(p.s,target)(instance):type.$kind==="anonymous"&&(target[p.n]=instance):Newtonsoft.Json.JsonConvert.PopulateObject(instance,targetValue,settings,value)))}},SerializeObject:function(obj,formatting,settings,returnRaw,possibleType){var objType,name,type,arr,i,removeGuard,wasBoxed,d,json,entr,keyJson,typeElement,enumerator,item,raw,nometa,key,fields,camelCase,properties,cfg,p,typeNameHandling,oldTypeNameHandling;if(Bridge.is(formatting,Newtonsoft.Json.JsonSerializerSettings)&&(settings=formatting,formatting=0),obj==null)return settings&&settings.NullValueHandling===Newtonsoft.Json.NullValueHandling.Ignore?void 0:returnRaw?null:Newtonsoft.Json.JsonConvert.stringify(null,formatting);if(objType=Bridge.getType(obj),possibleType&&objType&&(possibleType.$kind==="interface"||Bridge.Reflection.isAssignableFrom(possibleType,objType))&&(possibleType=null),possibleType&&possibleType.$nullable&&(possibleType=possibleType.$nullableType),possibleType&&possibleType===System.Char)return String.fromCharCode(obj);if(typeof obj=="function")return name=Bridge.getTypeName(obj),returnRaw?name:Newtonsoft.Json.JsonConvert.stringify(name,formatting);if(typeof obj=="object"){if(type=possibleType||objType,removeGuard=Newtonsoft.Json.JsonConvert.defaultGuard,Bridge.$jsonGuard||(Bridge.$jsonGuard=[],removeGuard=function(){delete Bridge.$jsonGuard}),Bridge.$jsonGuard.indexOf(obj)>-1)return;if(type===System.Globalization.CultureInfo||type===System.Guid||type===System.Uri||type===System.Int64||type===System.UInt64||type===System.Decimal||type===System.DateTime||type===System.Char||Bridge.Reflection.isEnum(type)?removeGuard():Bridge.$jsonGuard.push(obj),wasBoxed=!1,obj&&obj.$boxed&&(obj=Bridge.unbox(obj,!0),wasBoxed=!0),type===System.Globalization.CultureInfo)return returnRaw?obj.name:Newtonsoft.Json.JsonConvert.stringify(obj.name,formatting);if(type===System.Guid)return returnRaw?Bridge.toString(obj):Newtonsoft.Json.JsonConvert.stringify(Bridge.toString(obj),formatting);if(type===System.Uri)return returnRaw?obj.getAbsoluteUri():Newtonsoft.Json.JsonConvert.stringify(obj.getAbsoluteUri(),formatting);if(type===System.Int64||type===System.UInt64||type===System.Decimal)return obj.toJSON();if(type===System.DateTime)return d=System.DateTime.format(obj,"yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK"),returnRaw?d:Newtonsoft.Json.JsonConvert.stringify(d,formatting);if(Bridge.isArray(null,type)){if(type.$elementType===System.Byte)return removeGuard(),json=System.Convert.toBase64String(obj),returnRaw?json:Newtonsoft.Json.JsonConvert.stringify(json,formatting);for(arr=[],i=0;i<obj.length;i++)arr.push(Newtonsoft.Json.JsonConvert.SerializeObject(obj[i],formatting,settings,!0,type.$elementType));obj=arr}else{if(Bridge.Reflection.isEnum(type))return returnRaw?obj:Newtonsoft.Json.JsonConvert.stringify(obj,formatting);if(type===System.Char)return returnRaw?String.fromCharCode(obj):Newtonsoft.Json.JsonConvert.stringify(String.fromCharCode(obj),formatting);if(Bridge.Reflection.isAssignableFrom(System.Collections.IDictionary,type)){for(var typesGeneric=System.Collections.Generic.Dictionary$2.getTypeParameters(type),typeKey=typesGeneric[0],typeValue=typesGeneric[1],dict={},enm=Bridge.getEnumerator(obj);enm.moveNext();)entr=enm.Current,keyJson=Newtonsoft.Json.JsonConvert.SerializeObject(entr.key,formatting,settings,!0,typeKey),typeof keyJson=="object"&&(keyJson=Bridge.toString(entr.key)),dict[keyJson]=Newtonsoft.Json.JsonConvert.SerializeObject(entr.value,formatting,settings,!0,typeValue);obj=dict}else if(Bridge.Reflection.isAssignableFrom(System.Collections.IEnumerable,type)){for(typeElement=Newtonsoft.Json.JsonConvert.getEnumerableElementType(type),enumerator=Bridge.getEnumerator(obj,typeElement),arr=[];enumerator.moveNext();)item=enumerator.Current,arr.push(Newtonsoft.Json.JsonConvert.SerializeObject(item,formatting,settings,!0,typeElement));obj=arr}else if(!wasBoxed){if(raw={},nometa=!Bridge.getMetadata(type),Newtonsoft.Json.JsonConvert.validateReflectable(type),settings&&settings._typeNameHandling&&(raw.$type=Bridge.Reflection.getTypeQName(type)),nometa)if(obj.toJSON)raw=obj.toJSON();else for(key in obj)obj.hasOwnProperty(key)&&(raw[key]=Newtonsoft.Json.JsonConvert.SerializeObject(obj[key],formatting,settings,!0));else{for(fields=Newtonsoft.Json.JsonConvert.getMembers(type,4),camelCase=settings&&Bridge.is(settings.ContractResolver,Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver),i=0;i<fields.length;i++){var cfg=fields[i],f=cfg.member,fname=cfg.attr&&cfg.attr.PropertyName||(camelCase?f.n.charAt(0).toLowerCase()+f.n.substr(1):f.n),value=Bridge.Reflection.fieldAccess(f,obj),result=Newtonsoft.Json.JsonConvert.preProcess(cfg,obj,value,settings||{});result!==!1&&(cfg.attr&&(typeNameHandling=cfg.attr._typeNameHandling),typeNameHandling!=null&&(settings=settings||{},oldTypeNameHandling=settings._typeNameHandling,settings._typeNameHandling=typeNameHandling),raw[fname]=Newtonsoft.Json.JsonConvert.SerializeObject(result.value,formatting,settings,!0,f.rt),typeNameHandling!=null&&(settings._typeNameHandling=oldTypeNameHandling))}for(properties=Newtonsoft.Json.JsonConvert.getMembers(type,16),i=0;i<properties.length;i++)if(cfg=properties[i],p=cfg.member,!!p.g){var pname=cfg.attr&&cfg.attr.PropertyName||(camelCase?p.n.charAt(0).toLowerCase()+p.n.substr(1):p.n),value=Bridge.Reflection.midel(p.g,obj)(),result=Newtonsoft.Json.JsonConvert.preProcess(cfg,obj,value,settings||{});result!==!1&&(cfg.attr&&(typeNameHandling=cfg.attr._typeNameHandling),typeNameHandling!=null&&(settings=settings||{},oldTypeNameHandling=settings._typeNameHandling,settings._typeNameHandling=typeNameHandling),raw[pname]=Newtonsoft.Json.JsonConvert.SerializeObject(result.value,formatting,settings,!0,p.rt),typeNameHandling!=null&&(settings._typeNameHandling=oldTypeNameHandling))}}obj=raw}}removeGuard()}return returnRaw?obj:Newtonsoft.Json.JsonConvert.stringify(obj,formatting)},getInstanceBuilder:function(type,raw,settings){var rawIsArray=Bridge.isArray(raw),isEnumerable=rawIsArray&&Bridge.Reflection.isAssignableFrom(System.Collections.IEnumerable,type),isObject=typeof raw=="object"&&!rawIsArray,isList=!1,idx,params,fn;if(isEnumerable||isObject){var ctors=Bridge.Reflection.getMembers(type,1,54),publicCtors=[],hasDefault=!1,jsonCtor=null;if(ctors.length>0)for(ctors=ctors.filter(function(c){return!c.isSynthetic}),idx=0;idx<ctors.length;idx++){var c=ctors[idx],hasAttribute=System.Attribute.getCustomAttributes(c,Newtonsoft.Json.JsonConstructorAttribute).length>0,isDefault=(c.pi||[]).length===0;if(isDefault&&(hasDefault=!0),hasAttribute){if(jsonCtor!=null)throw new Newtonsoft.Json.JsonException("Multiple constructors with the JsonConstructorAttribute.");jsonCtor=c}c.a===2&&publicCtors.push(c)}if(!hasDefault&&ctors.length>0){if(publicCtors.length!==1&&jsonCtor==null)throw new Newtonsoft.Json.JsonSerializationException("Unable to find a constructor to use for type "+Bridge.getTypeName(type)+". A class should either have a default constructor or one constructor with arguments.");return(jsonCtor==null&&(jsonCtor=publicCtors[0]),params=jsonCtor.pi||[],isEnumerable)?function(raw){var args=[],arr,elementType,commonElementInstanceBuilder,useSameInstanceBuilderForAllValues,firstElementTypeName,nextElementTypeName,i,item,inst,names,useBuilder,v;if(Bridge.Reflection.isAssignableFrom(System.Collections.IEnumerable,params[0].pt)){if(arr=[],elementType=Bridge.Reflection.getGenericArguments(params[0].pt)[0]||Bridge.Reflection.getGenericArguments(type)[0]||System.Object,settings&&settings._typeNameHandling&&raw.length>0&&raw[0]){if(useSameInstanceBuilderForAllValues=!0,firstElementTypeName=raw[0].$type,firstElementTypeName){for(i=1;i<raw.length;i++)if(nextElementTypeName=raw[i]?raw[i].$type:null,!nextElementTypeName||nextElementTypeName!==firstElementTypeName){useSameInstanceBuilderForAllValues=!1;break}}else useSameInstanceBuilderForAllValues=!1;commonElementInstanceBuilder=useSameInstanceBuilderForAllValues?Newtonsoft.Json.JsonConvert.getInstanceBuilder(elementType,raw[0],settings):null}else commonElementInstanceBuilder=null;for(i=0;i<raw.length;i++)item=raw[i],useBuilder=commonElementInstanceBuilder&&!commonElementInstanceBuilder.default,useBuilder&&(inst=commonElementInstanceBuilder(item),arr[i]=inst.value,names=inst.names),arr[i]=Newtonsoft.Json.JsonConvert.DeserializeObject(item,elementType,settings,!0,useBuilder?arr[i]:undefined,names);args.push(arr);isList=!0}return v=Bridge.Reflection.invokeCI(jsonCtor,args),isList?{$list:!0,names:[],value:v}:{names:[],value:v}}:function(raw){for(var args=[],names=[],keys=Object.getOwnPropertyNames(raw),strKeys=keys.toString(),i=0;i<params.length;i++){var prm=params[i],name=prm.sn||prm.n,match=new RegExp(name,"i").exec(strKeys);name=match&&match.length>0?match[0]:null;name?(args[i]=Newtonsoft.Json.JsonConvert.DeserializeObject(raw[name],prm.pt,settings,!0),names.push(name)):args[i]=Bridge.getDefaultValue(prm.pt)}return{names:names,value:Bridge.Reflection.invokeCI(jsonCtor,args)}}}}return fn=function(){return{names:[],value:Bridge.createInstance(type)}},fn.default=!0,fn},createInstance:function(type,raw,settings){var builder=this.getInstanceBuilder(type,raw,settings);return builder(raw)},needReuse:function(objectCreationHandling,value,type){return(objectCreationHandling===Newtonsoft.Json.ObjectCreationHandling.Reuse||objectCreationHandling===Newtonsoft.Json.ObjectCreationHandling.Auto&&value!=null)&&type.$kind!=="struct"&&type.$kind!=="enum"&&type!==System.String&&type!==System.Boolean&&type!==System.Int64&&type!==System.UInt64&&type!==System.Int32&&type!==System.UInt32&&type!==System.Int16&&type!==System.UInt16&&type!==System.Byte&&type!==System.SByte&&type!==System.Single&&type!==System.Double&&type!==System.Decimal&&type!==Array&&!type.$isArray?!0:!1},DeserializeObject:function(raw,type,settings,field,instance,i_names){var tPrms,obj,isObject,def,isDecimal,isSpecial,isFloat,parsed,arr,typeElement,list,each,typeName,o,names,camelCase,fields,value,cfg,f,p,mname,finst,i,properties,result,currentValue,objectCreationHandling,typeNameHandling,oldTypeNameHandling,svalue;if(settings=settings||{},type.$kind==="interface"&&(type===System.Collections.IList?type=System.Collections.Generic.List$1(System.Object):Bridge.Reflection.isGenericType(type)&&Bridge.Reflection.isAssignableFrom(System.Collections.Generic.IList$1,Bridge.Reflection.getGenericTypeDefinition(type))?type=System.Collections.Generic.List$1(System.Collections.Generic.List$1.getElementType(type)||System.Object):System.Collections.IDictionary===type?type=System.Collections.Generic.Dictionary$2(System.Object,System.Object):Bridge.Reflection.isGenericType(type)&&Bridge.Reflection.isAssignableFrom(System.Collections.Generic.IDictionary$2,Bridge.Reflection.getGenericTypeDefinition(type))&&(tPrms=System.Collections.Generic.Dictionary$2.getTypeParameters(type),type=System.Collections.Generic.Dictionary$2(tPrms[0]||System.Object,tPrms[1]||System.Object))),!field&&typeof raw=="string"){try{obj=JSON.parse(raw)}catch(e){throw new Newtonsoft.Json.JsonException(e.message);}(typeof obj=="object"||Bridge.isArray(obj)||type===System.Array.type(System.Byte,1)||type===Function||type===System.Guid||type===System.Globalization.CultureInfo||type===System.Uri||type===System.DateTime||type===System.Char||Bridge.Reflection.isEnum(type))&&(raw=obj)}if(isObject=type===Object||type===System.Object,isObject||type.$literal&&!Bridge.getMetadata(type))return Bridge.merge(isObject?{}:instance||Bridge.createInstance(type),raw);if(def=Bridge.getDefaultValue(type),type.$nullable&&(type=type.$nullableType),raw===null)return def;if(raw===!1)return type===System.String?"false":def;if(raw===!0){if(type===System.Boolean)return!0;if(type===System.Int64)return System.Int64(1);if(type===System.UInt64)return System.UInt64(1);if(type===System.Decimal)return System.Decimal(1);if(type===String.String)return"true";if(type===System.DateTime)return System.DateTime.create$2(1,0);if(Bridge.Reflection.isEnum(type))return Bridge.unbox(System.Enum.parse(type,1));if(typeof def=="number")return def+1;throw new System.ArgumentException(System.String.format("Could not cast or convert from {0} to {1}",Bridge.getTypeName(raw),Bridge.getTypeName(type)));}else if(typeof raw=="number"){if(type.$number&&!type.$is(raw)&&(type!==System.Decimal||!type.tryParse(raw,null,{}))&&(!System.Int64.is64BitType(type)||!type.tryParse(raw.toString(),{})))throw new Newtonsoft.Json.JsonException(System.String.format("Input string '{0}' is not a valid {1}",raw,Bridge.getTypeName(type)));if(type===System.Boolean)return raw!==0;if(Bridge.Reflection.isEnum(type))return Bridge.unbox(System.Enum.parse(type,raw));if(type===System.SByte)return raw|0;if(type===System.Byte)return raw>>>0;if(type===System.Int16)return raw|0;if(type===System.UInt16)return raw>>>0;if(type===System.Int32)return raw|0;if(type===System.UInt32)return raw>>>0;if(type===System.Int64)return System.Int64(raw);if(type===System.UInt64)return System.UInt64(raw);if(type===System.Single||type===System.Double)return raw;if(type===System.Decimal)return System.Decimal(raw);if(type===System.Char)return raw|0;if(type===System.String)return raw.toString();if(type===System.DateTime)return System.DateTime.create$2(raw|0,0);throw new System.ArgumentException(System.String.format("Could not cast or convert from {0} to {1}",Bridge.getTypeName(raw),Bridge.getTypeName(type)));}else if(typeof raw=="string"){if(isDecimal=type===System.Decimal,isSpecial=isDecimal||System.Int64.is64BitType(type),isSpecial&&(isDecimal?!type.tryParse(raw,null,{}):!type.tryParse(raw,{})))throw new Newtonsoft.Json.JsonException(System.String.format("Input string '{0}' is not a valid {1}",raw,Bridge.getTypeName(type)));if(isFloat=type==System.Double||type==System.Single,!isSpecial&&type.$number&&(isFloat?!type.tryParse(raw,null,{}):!type.tryParse(raw,{})))throw new Newtonsoft.Json.JsonException(System.String.format("Could not convert {0} to {1}: {2}",Bridge.getTypeName(raw),Bridge.getTypeName(type),raw));if(type===Function)return Bridge.Reflection.getType(raw);if(type===System.Globalization.CultureInfo)return new System.Globalization.CultureInfo(raw);if(type===System.Uri)return new System.Uri(raw);if(type===System.Guid)return System.Guid.parse(raw);if(type===System.Boolean)return(parsed={v:!1},!System.String.isNullOrWhiteSpace(raw)&&System.Boolean.tryParse(raw,parsed))?parsed.v:!1;if(type===System.SByte)return raw|0;if(type===System.Byte)return raw>>>0;if(type===System.Int16)return raw|0;if(type===System.UInt16)return raw>>>0;if(type===System.Int32)return raw|0;if(type===System.UInt32)return raw>>>0;if(type===System.Int64)return System.Int64(raw);if(type===System.UInt64)return System.UInt64(raw);if(type===System.Single||type===System.Double)return parseFloat(raw);if(type===System.Decimal)try{return System.Decimal(raw)}catch(ex){return System.Decimal(0)}else{if(type===System.Char)return raw.length===0?0:raw.charCodeAt(0);if(type===System.String)return field?raw:JSON.parse(raw);if(type===System.DateTime){var isUtc=System.String.endsWith(raw,"Z"),format="yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFF"+(isUtc?"'Z'":"K"),d=System.DateTime.parseExact(raw,format,null,!0,!0);return d=d!=null?d:System.DateTime.parse(raw,undefined,!0),isUtc&&d.kind!==1&&(d=System.DateTime.specifyKind(d,1)),d}if(Bridge.Reflection.isEnum(type))return Bridge.unbox(System.Enum.parse(type,raw));if(type===System.Array.type(System.Byte,1))return System.Convert.fromBase64String(raw);throw new System.ArgumentException(System.String.format("Could not cast or convert from {0} to {1}",Bridge.getTypeName(raw),Bridge.getTypeName(type)));}}else if(typeof raw=="object"){if(def!==null&&type.$kind!=="struct")return def;if(Bridge.isArray(null,type)){if(raw.length===undefined)return[];for(arr=[],System.Array.type(type.$elementType,type.$rank||1,arr),i=0;i<raw.length;i++)arr[i]=Newtonsoft.Json.JsonConvert.DeserializeObject(raw[i],type.$elementType,settings,!0);return arr}if(Bridge.Reflection.isAssignableFrom(System.Collections.IList,type)){if(typeElement=System.Collections.Generic.List$1.getElementType(type)||System.Object,list=instance?{value:instance}:Newtonsoft.Json.JsonConvert.createInstance(type,raw,settings),list&&list.$list)return list.value;if(list=list.value,raw.length===undefined)return list;for(i=0;i<raw.length;i++)list.add(Newtonsoft.Json.JsonConvert.DeserializeObject(raw[i],typeElement,settings,!0));return list}if(Bridge.Reflection.isAssignableFrom(System.Collections.IDictionary,type)){var typesGeneric=System.Collections.Generic.Dictionary$2.getTypeParameters(type),typeKey=typesGeneric[0]||System.Object,typeValue=typesGeneric[1]||System.Object,names,dictionary=instance?{value:instance}:Newtonsoft.Json.JsonConvert.createInstance(type,raw,settings);if(dictionary&&dictionary.$list)return dictionary.value;names=dictionary.names||[];dictionary=dictionary.value;for(each in raw)raw.hasOwnProperty(each)&&names.indexOf(each)<0&&dictionary.add(Newtonsoft.Json.JsonConvert.DeserializeObject(each,typeKey,settings,!0),Newtonsoft.Json.JsonConvert.DeserializeObject(raw[each],typeValue,settings,!0));return dictionary}if(typeName=raw.$type,settings&&settings._typeNameHandling>0&&typeName!=null&&(type=Bridge.Reflection.getType(typeName)),type===null)throw TypeError(System.String.concat("Cannot find type: ",raw.$type));for(o=instance?{value:instance,names:i_names}:Newtonsoft.Json.JsonConvert.createInstance(type,raw,settings),names=o.names||[],o=o.value,camelCase=settings&&Bridge.is(settings.ContractResolver,Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver),fields=Newtonsoft.Json.JsonConvert.getMembers(type,4),i=0;i<fields.length;i++)(cfg=fields[i],f=cfg.member,mname=cfg.attr&&cfg.attr.PropertyName||(camelCase?f.n.charAt(0).toLowerCase()+f.n.substr(1):f.n),names.indexOf(mname)>-1)||(value=raw[mname],value===undefined&&(value=Newtonsoft.Json.JsonConvert.getValue(raw,mname)),result=Newtonsoft.Json.JsonConvert.preRawProcess(cfg,raw,value,settings),value=result.value,value!==undefined&&(currentValue=Bridge.Reflection.fieldAccess(f,o),objectCreationHandling=Newtonsoft.Json.ObjectCreationHandling.Auto,finst=undefined,cfg.attr&&cfg.attr._objectCreationHandling!=null?objectCreationHandling=cfg.attr._objectCreationHandling:settings._objectCreationHandling!=null&&(objectCreationHandling=settings._objectCreationHandling),Newtonsoft.Json.JsonConvert.needReuse(objectCreationHandling,currentValue,f.rt)&&(finst=Bridge.unbox(currentValue,!0)),cfg.attr&&(typeNameHandling=cfg.attr._typeNameHandling),typeNameHandling!=null&&(oldTypeNameHandling=settings._typeNameHandling,settings._typeNameHandling=typeNameHandling),svalue=Newtonsoft.Json.JsonConvert.DeserializeObject(value,f.rt,settings,!0,finst),typeNameHandling!=null&&(settings._typeNameHandling=oldTypeNameHandling),result=Newtonsoft.Json.JsonConvert.preProcess(cfg,o,svalue,settings),result!==!1&&finst===undefined&&Bridge.Reflection.fieldAccess(f,o,result.value)));for(properties=Newtonsoft.Json.JsonConvert.getMembers(type,16),i=0;i<properties.length;i++)(cfg=properties[i],p=cfg.member,mname=cfg.attr&&cfg.attr.PropertyName||(camelCase?p.n.charAt(0).toLowerCase()+p.n.substr(1):p.n),names.indexOf(mname)>-1)||(value=raw[mname],value===undefined&&(value=Newtonsoft.Json.JsonConvert.getValue(raw,mname)),result=Newtonsoft.Json.JsonConvert.preRawProcess(cfg,raw,value,settings),value=result.value,value!==undefined&&(finst=undefined,p.g&&(currentValue=Bridge.Reflection.midel(p.g,o)(),objectCreationHandling=Newtonsoft.Json.ObjectCreationHandling.Auto,cfg.attr&&cfg.attr._objectCreationHandling!=null?objectCreationHandling=cfg.attr._objectCreationHandling:settings._objectCreationHandling!=null&&(objectCreationHandling=settings._objectCreationHandling),Newtonsoft.Json.JsonConvert.needReuse(objectCreationHandling,currentValue,p.rt)&&(finst=Bridge.unbox(currentValue,!0))),cfg.attr&&(typeNameHandling=cfg.attr._typeNameHandling),typeNameHandling!=null&&(oldTypeNameHandling=settings._typeNameHandling,settings._typeNameHandling=typeNameHandling),svalue=Newtonsoft.Json.JsonConvert.DeserializeObject(value,p.rt,settings,!0,finst),typeNameHandling!=null&&(settings._typeNameHandling=oldTypeNameHandling),result=Newtonsoft.Json.JsonConvert.preProcess(cfg,o,svalue,settings),result!==!1&&finst===undefined&&(p.s?Bridge.Reflection.midel(p.s,o)(result.value):type.$kind==="anonymous"&&(o[p.n]=result.value))));return o}}}}});Newtonsoft.Json.$cache=[]});Bridge.assembly("Bridge.React",function($asm){"use strict";Bridge.define("Bridge.React.ActionMatchOptions",{$kind:"enum",statics:{fields:{handled:0,ignored:1}}});Bridge.define("Bridge.React.IDispatcher",{$kind:"interface"});Bridge.define("Bridge.React.Component$2",function(TProps,TState){return{statics:{fields:{_reactComponentClasses:null},ctors:{init:function(){this._reactComponentClasses=new(System.Collections.Generic.Dictionary$2(Function,System.Object))}},methods:{op_Implicit:function(component){return component==null?null:component._reactElement},op_Implicit$1:function(component){return component==null?null:component._reactElement}}},fields:{_reactElement:null},props:{unwrappedProps:{get:function(){return Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(this.props)}},unwrappedState:{get:function(){return Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(this.state)}},children:{get:function(){return this.props&&this.props.children?Array.isArray(this.props.children)?this.props.children:[this.props.children]:[]}}},ctors:{ctor:function(props,children){var currentType,reactComponentClass,createElementArgs;children===void 0&&(children=[]);this.$initialize();currentType=Bridge.getType(this);reactComponentClass={};Bridge.React.Component$2(TProps,TState)._reactComponentClasses.tryGetValue(currentType,reactComponentClass)||(reactComponentClass.v=Bridge.React.ReactComponentClassCreator.createClass(this,Bridge.React.Component$2(TProps,TState)),Bridge.React.Component$2(TProps,TState)._reactComponentClasses.set(currentType,reactComponentClass.v));createElementArgs=System.Array.init([reactComponentClass.v,Bridge.React.ComponentPropsHelpers.wrapProps(props)],System.Object);children!=null&&(createElementArgs=createElementArgs.concat.apply(createElementArgs,children));this._reactElement=React.createElement.apply(null,createElementArgs)}},methods:{constructorStateInitialiser:function(){return Bridge.getDefaultValue(TState)},componentWillMount:function(){},componentWillReceivePropsWrapped:function(){},componentWillReceiveProps:function(nextPropsIfAny){this.componentWillReceivePropsWrapped(Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(nextPropsIfAny))},shouldComponentUpdateWrapped:function(){return!0},shouldComponentUpdate:function(nextPropsIfAny,nextStateIfAny){return this.shouldComponentUpdateWrapped(Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(nextPropsIfAny),Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(nextStateIfAny))},componentWillUpdateWrapped:function(){},componentWillUpdate:function(nextProps,nextState){this.componentWillUpdateWrapped(Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(nextProps),Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(nextState))},componentDidMount:function(){},componentDidUpdateWrapped:function(){},componentDidUpdate:function(previousProps,previousState){this.componentDidUpdateWrapped(Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(previousProps),Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(previousState))},componentWillUnmount:function(){},setWrappedState:function(state){this.setState({value:state})},setWrappedStateCallback:function(state,callback){this.setState({value:state},callback)},setWrappedStateUsingUpdater:function(updater){var wrappedUpdater=function(prevState,props){var unwrappedPrevState=Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(prevState),unwrappedProps=Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(props);return{value:updater(unwrappedPrevState,unwrappedProps)}};this.setState(wrappedUpdater)},setWrappedStateCallbackUsingUpdater:function(updater,callback){var wrappedUpdater=function(prevState,props){var unwrappedPrevState=Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(prevState),unwrappedProps=Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(props);return{value:updater(unwrappedPrevState,unwrappedProps)}};this.setState(wrappedUpdater,callback)},setWrappedStateAsync:function(state){var tcs=new System.Threading.Tasks.TaskCompletionSource;return this.setWrappedStateCallback(state,function(){tcs.setResult(null)}),tcs.task},setWrappedStateAsyncUsingUpdater:function(updater){var tcs=new System.Threading.Tasks.TaskCompletionSource;return this.setWrappedStateCallbackUsingUpdater(updater,function(){tcs.setResult(null)}),tcs.task}}}});Bridge.define("Bridge.React.ComponentNameHelpers",{statics:{methods:{getDisplayName:function(source){if(source==null)throw new System.ArgumentNullException("source");return Bridge.isPlainObject(source)?"Component":System.Linq.Enumerable.from(System.String.split(Bridge.Reflection.getTypeName(Bridge.getType(source)),[46,91,36,96].map(function(i){return String.fromCharCode(i)}))).first()}}}});Bridge.define("Bridge.React.ComponentPropsHelpers",{statics:{fields:{optimiseFunctionComparisonsBasedOnSolutionBeingPureBridge:!1},ctors:{init:function(){this.optimiseFunctionComparisonsBasedOnSolutionBeingPureBridge=!1}},methods:{wrapProps:function(propsIfAny){var keyIfAny=null,refIfAny=null,keyIfAnyFromPropertyGetter,refIfAnyFromPropertyGetter,wrappedProps;return propsIfAny!=null&&(propsIfAny.key||propsIfAny.key===0?keyIfAny=propsIfAny.key:propsIfAny.Key||propsIfAny.Key===0?keyIfAny=propsIfAny.Key:propsIfAny.getKey&&typeof propsIfAny.getKey=="function"?(keyIfAnyFromPropertyGetter=propsIfAny.getKey(),keyIfAny=keyIfAnyFromPropertyGetter||keyIfAnyFromPropertyGetter===0?keyIfAnyFromPropertyGetter:undefined):keyIfAny=undefined,typeof propsIfAny.ref=="function"?refIfAny=propsIfAny.ref:typeof propsIfAny.Ref=="function"?refIfAny=propsIfAny.Ref:typeof propsIfAny.getRef=="function"?(refIfAnyFromPropertyGetter=propsIfAny.getRef(),refIfAny=typeof refIfAnyFromPropertyGetter=="function"?refIfAnyFromPropertyGetter:undefined):refIfAny=undefined),wrappedProps={value:propsIfAny},typeof keyIfAny!="undefined"&&(wrappedProps.key=keyIfAny),typeof refIfAny!="undefined"&&(wrappedProps.ref=refIfAny),wrappedProps},unWrapValueIfDefined:function(wrappedValueIfAny){return wrappedValueIfAny?wrappedValueIfAny.value:null},doPropsReferencesMatch:function(props1,props2){var optimiseFunctionComparisonsBasedOnSolutionBeingPureBridge,isBridgeType,propName,propValue1,propValue2;if(props1==null&&props2==null)return!0;if(props1==null||props2==null||!Bridge.referenceEquals(Bridge.getType(props1),Bridge.getType(props2)))return!1;optimiseFunctionComparisonsBasedOnSolutionBeingPureBridge=Bridge.React.ComponentPropsHelpers.optimiseFunctionComparisonsBasedOnSolutionBeingPureBridge;isBridgeType=!!props1.$$name&&!!props1.$$fullname||typeof props1.$getType=="function"||typeof props1.$literal=="boolean";for(propName in props1)if(!isBridgeType||propName.substr(0,1)!=="$"){if(propValue1=props1[propName],propValue2=props2[propName],propValue1===propValue2||propValue1===null&&propValue2===null||typeof propValue1=="undefined"&&typeof propValue2=="undefined")continue;else{if(propValue1===null||propValue2===null||typeof propValue1=="undefined"||typeof propValue2=="undefined")return!1;if(typeof propValue1=="function"&&typeof propValue2=="function"){if(propValue1.$scope&&propValue1.$method&&propValue2.$scope&&propValue2.$method&&propValue1.$scope===propValue2.$scope){if(propValue1.$method===propValue2.$method)continue;if(propValue1.$method.toString()===propValue2.$method.toString())continue}else if(optimiseFunctionComparisonsBasedOnSolutionBeingPureBridge&&isBridgeType&&propValue1.toString()===propValue2.toString())return!0}else if(typeof propValue1.equals=="function"&&propValue1.equals(propValue2)===!0)continue}return!1}return!0}}}});Bridge.define("Bridge.React.DispatcherMessage",{props:{source:0,action:null},ctors:{ctor:function(source,action){if(this.$initialize(),source!==Bridge.React.MessageSourceOptions.server&&source!==Bridge.React.MessageSourceOptions.view)throw new System.ArgumentOutOfRangeException("source");if(action==null)throw new System.ArgumentNullException("action");this.source=source;this.action=action}}});Bridge.define("Bridge.React.DispatcherMessageExtensions",{statics:{methods:{"if":function(T,message,work){return new Bridge.React.DispatcherMessageExtensions.DispatcherMessageMatcher(message).else(T,work)},if$1:function(T,message,condition,work){return new Bridge.React.DispatcherMessageExtensions.DispatcherMessageMatcher(message).else$1(T,condition,work)}}}});Bridge.define("Bridge.React.DispatcherMessageExtensions.IMatchDispatcherMessages",{$kind:"interface"});Bridge.define("Bridge.React.DispatchToken");Bridge.define("Bridge.React",{statics:{methods:{fixAttr:function(attributes){var data,name;if(!attributes||!attributes.hasOwnProperty("data"))return attributes;data=attributes.data;delete attributes.data;for(name in data)data.hasOwnProperty(name)&&(attributes["data-"+name.replace("_","-")]=data[name]);return attributes},toReactElementArray:function(components){var componentsArray,reactElements,i;if(components==null)throw new System.ArgumentNullException("components");for(componentsArray=System.Linq.Enumerable.from(components).toArray(),reactElements=System.Array.init(componentsArray.length,null,Object),i=0;i<componentsArray.length;i++)reactElements[i]=componentsArray[i]==null?null:componentsArray[i]._reactElement;return reactElements}}}});Bridge.define("Bridge.React.EnumerableComponentExtensions",{statics:{methods:{toChildComponentArray:function(elements){if(elements==null)throw new System.ArgumentNullException("elements");return System.Linq.Enumerable.from(elements).select($asm.$.Bridge.React.EnumerableComponentExtensions.f1).toArray(System.Object)},toChildComponentArray$1:function(TProps,components){if(components==null)throw new System.ArgumentNullException("components");return System.Linq.Enumerable.from(components).select(function(component){return Bridge.React.PureComponent$1(TProps).op_Implicit$1(component)}).toArray(System.Object)},toChildComponentArray$2:function(TProps,components){if(components==null)throw new System.ArgumentNullException("components");return System.Linq.Enumerable.from(components).select(function(component){return Bridge.React.StatelessComponent$1(TProps).op_Implicit$1(component)}).toArray(System.Object)}}}});Bridge.ns("Bridge.React.EnumerableComponentExtensions",$asm.$);Bridge.apply($asm.$.Bridge.React.EnumerableComponentExtensions,{f1:function(component){return component}});Bridge.define("Bridge.React.IDispatcherAction",{$kind:"interface"});Bridge.define("Bridge.React.IDispatcherActionExtensions",{statics:{methods:{"if":function(T,action,work){return new Bridge.React.IDispatcherActionExtensions.DispatcherActionMatcher(action).else(T,work)},if$2:function(T,action,condition,work){return new Bridge.React.IDispatcherActionExtensions.DispatcherActionMatcher(action).else$2(T,condition,work)},if$1:function(T,action,work){return new Bridge.React.IDispatcherActionExtensions.DispatcherActionMatcher(action).else$1(T,work)}}}});Bridge.define("Bridge.React.IDispatcherActionExtensions.IMatchDispatcherActions",{$kind:"interface"});Bridge.define("Bridge.React.KeyboardEvent");Bridge.define("Bridge.React.KeyboardEvent.NamedKeys",{statics:{fields:{unidentified:null,alt:null,altGraph:null,capsLock:null,control:null,fn:null,fnLock:null,meta:null,numLock:null,scrollLock:null,shift:null,symbol:null,symbolLock:null,hyper:null,"super":null,enter:null,tab:null,arrowDown:null,arrowLeft:null,arrowRight:null,arrowUp:null,end:null,home:null,pageDown:null,pageUp:null,backspace:null,clear:null,copy:null,crSel:null,cut:null,"delete":null,eraseEof:null,exSel:null,insert:null,paste:null,redo:null,undo:null,accept:null,again:null,attn:null,cancel:null,contextMenu:null,escape:null,execute:null,find:null,help:null,pause:null,play:null,props:null,select:null,zoomIn:null,zoomOut:null,brightnessDown:null,brightnessUp:null,eject:null,logOff:null,power:null,powerOff:null,printScreen:null,hibernate:null,standby:null,wakeUp:null,allCandidates:null,alphanumeric:null,codeInput:null,compose:null,convert:null,dead:null,finalMode:null,groupFirst:null,groupLast:null,groupNext:null,groupPrevious:null,modeChange:null,nextCandidate:null,nonConvert:null,previousCandidate:null,process:null,singleCandidate:null,hangulMode:null,hanjaMode:null,junjaMode:null,eisu:null,hankaku:null,hiragana:null,hiraganaKatakana:null,kanaMode:null,kanjiMode:null,katakana:null,romaji:null,zenkaku:null,zenkakuHankaku:null,f1:null,f2:null,f3:null,f4:null,f5:null,f6:null,f7:null,f8:null,f9:null,f10:null,f11:null,f12:null,soft1:null,soft2:null,soft3:null,soft4:null,channelDown:null,channelUp:null,close:null,mailForward:null,mailReply:null,mailSend:null,mediaClose:null,mediaFastForward:null,mediaPause:null,mediaPlay:null,mediaPlayPause:null,mediaRecord:null,mediaRewind:null,mediaStop:null,mediaTrackNext:null,mediaTrackPrevious:null,"new":null,open:null,print:null,save:null,spellCheck:null,key11:null,key12:null,audioBalanceLeft:null,audioBalanceRight:null,audioBassBoostDown:null,audioBassBoostToggle:null,audioBassBoostUp:null,audioFaderFront:null,audioFaderRear:null,audioSurroundModeNext:null,audioTrebleDown:null,audioTrebleUp:null,audioVolumeDown:null,audioVolumeUp:null,audioVolumeMute:null,microphoneToggle:null,microphoneVolumeDown:null,microphoneVolumeUp:null,microphoneVolumeMute:null,speechCorrectionList:null,speechInputToggle:null,launchApplication1:null,launchApplication2:null,launchCalendar:null,launchContacts:null,launchMail:null,launchMediaPlayer:null,launchMusicPlayer:null,launchPhone:null,launchScreenSaver:null,launchSpreadsheet:null,launchWebBrowser:null,launchWebCam:null,launchWordProcessor:null,browserBack:null,browserFavorites:null,browserForward:null,browserHome:null,browserRefresh:null,browserSearch:null,browserStop:null,appSwitch:null,call:null,camera:null,cameraFocus:null,endCall:null,goBack:null,goHome:null,headsetHook:null,lastNumberRedial:null,notification:null,mannerMode:null,voiceDial:null,TV:null,tV3DMode:null,tVAntennaCable:null,tVAudioDescription:null,tVAudioDescriptionMixDown:null,tVAudioDescriptionMixUp:null,tVContentsMenu:null,tVDataService:null,tVInput:null,tVInputComponent1:null,tVInputComponent2:null,tVInputComposite1:null,tVInputComposite2:null,tVInputHDMI1:null,tVInputHDMI2:null,tVInputHDMI3:null,tVInputHDMI4:null,tVInputVGA1:null,tVMediaContext:null,tVNetwork:null,tVNumberEntry:null,tVPower:null,tVRadioService:null,tVSatellite:null,tVSatelliteBS:null,tVSatelliteCS:null,tVSatelliteToggle:null,tVTerrestrialAnalog:null,tVTerrestrialDigital:null,tVTimer:null,aVRInput:null,aVRPower:null,colorF0Red:null,colorF1Green:null,colorF2Yellow:null,colorF3Blue:null,colorF4Grey:null,colorF5Brown:null,closedCaptionToggle:null,dimmer:null,displaySwap:null,DVR:null,exit:null,favoriteClear0:null,favoriteClear1:null,favoriteClear2:null,favoriteClear3:null,favoriteRecall0:null,favoriteRecall1:null,favoriteRecall2:null,favoriteRecall3:null,favoriteStore0:null,favoriteStore1:null,favoriteStore2:null,favoriteStore3:null,guide:null,guideNextDay:null,guidePreviousDay:null,info:null,instantReplay:null,link:null,listProgram:null,liveContent:null,lock:null,mediaApps:null,mediaAudioTrack:null,mediaLast:null,mediaSkipBackward:null,mediaSkipForward:null,mediaStepBackward:null,mediaStepForward:null,mediaTopMenu:null,navigateIn:null,navigateNext:null,navigateOut:null,navigatePrevious:null,nextFavoriteChannel:null,nextUserProfile:null,onDemand:null,pairing:null,pinPDown:null,pinPMove:null,pinPToggle:null,pinPUp:null,playSpeedDown:null,playSpeedReset:null,playSpeedUp:null,randomToggle:null,rcLowBattery:null,recordSpeedNext:null,rfBypass:null,scanChannelsToggle:null,screenModeNext:null,settings:null,splitScreenToggle:null,sTBInput:null,sTBPower:null,subtitle:null,teletext:null,videoModeNext:null,wink:null,zoomToggle:null},ctors:{init:function(){this.unidentified="Unidentified";this.alt="Alt";this.altGraph="AltGraph";this.capsLock="CapsLock";this.control="Control";this.fn="Fn";this.fnLock="FnLock";this.meta="Meta";this.numLock="NumLock";this.scrollLock="ScrollLock";this.shift="Shift";this.symbol="Symbol";this.symbolLock="SymbolLock";this.hyper="Hyper";this.super="Super";this.enter="Enter";this.tab="Tab";this.arrowDown="ArrowDown";this.arrowLeft="ArrowLeft";this.arrowRight="ArrowRight";this.arrowUp="ArrowUp";this.end="End";this.home="Home";this.pageDown="PageDown";this.pageUp="PageUp";this.backspace="Backspace";this.clear="Clear";this.copy="Copy";this.crSel="CrSel";this.cut="Cut";this.delete="Delete";this.eraseEof="EraseEof";this.exSel="ExSel";this.insert="Insert";this.paste="Paste";this.redo="Redo";this.undo="Undo";this.accept="Accept";this.again="Again";this.attn="Attn";this.cancel="Cancel";this.contextMenu="ContextMenu";this.escape="Escape";this.execute="Execute";this.find="Find";this.help="Help";this.pause="Pause";this.play="Play";this.props="Props";this.select="Select";this.zoomIn="ZoomIn";this.zoomOut="ZoomOut";this.brightnessDown="BrightnessDown";this.brightnessUp="BrightnessUp";this.eject="Eject";this.logOff="LogOff";this.power="Power";this.powerOff="PowerOff";this.printScreen="PrintScreen";this.hibernate="Hibernate";this.standby="Standby";this.wakeUp="WakeUp";this.allCandidates="AllCandidates";this.alphanumeric="Alphanumeric";this.codeInput="CodeInput";this.compose="Compose";this.convert="Convert";this.dead="Dead";this.finalMode="FinalMode";this.groupFirst="GroupFirst";this.groupLast="GroupLast";this.groupNext="GroupNext";this.groupPrevious="GroupPrevious";this.modeChange="ModeChange";this.nextCandidate="NextCandidate";this.nonConvert="NonConvert";this.previousCandidate="PreviousCandidate";this.process="Process";this.singleCandidate="SingleCandidate";this.hangulMode="HangulMode";this.hanjaMode="HanjaMode";this.junjaMode="JunjaMode";this.eisu="Eisu";this.hankaku="Hankaku";this.hiragana="Hiragana";this.hiraganaKatakana="HiraganaKatakana";this.kanaMode="KanaMode";this.kanjiMode="KanjiMode";this.katakana="Katakana";this.romaji="Romaji";this.zenkaku="Zenkaku";this.zenkakuHankaku="ZenkakuHankaku";this.f1="F1";this.f2="F2";this.f3="F3";this.f4="F4";this.f5="F5";this.f6="F6";this.f7="F7";this.f8="F8";this.f9="F9";this.f10="F10";this.f11="F11";this.f12="F12";this.soft1="Soft1";this.soft2="Soft2";this.soft3="Soft3";this.soft4="Soft4";this.channelDown="ChannelDown";this.channelUp="ChannelUp";this.close="Close";this.mailForward="MailForward";this.mailReply="MailReply";this.mailSend="MailSend";this.mediaClose="MediaClose";this.mediaFastForward="MediaFastForward";this.mediaPause="MediaPause";this.mediaPlay="MediaPlay";this.mediaPlayPause="MediaPlayPause";this.mediaRecord="MediaRecord";this.mediaRewind="MediaRewind";this.mediaStop="MediaStop";this.mediaTrackNext="MediaTrackNext";this.mediaTrackPrevious="MediaTrackPrevious";this.new="New";this.open="Open";this.print="Print";this.save="Save";this.spellCheck="SpellCheck";this.key11="Key11";this.key12="Key12";this.audioBalanceLeft="AudioBalanceLeft";this.audioBalanceRight="AudioBalanceRight";this.audioBassBoostDown="AudioBassBoostDown";this.audioBassBoostToggle="AudioBassBoostToggle";this.audioBassBoostUp="AudioBassBoostUp";this.audioFaderFront="AudioFaderFront";this.audioFaderRear="AudioFaderRear";this.audioSurroundModeNext="AudioSurroundModeNext";this.audioTrebleDown="AudioTrebleDown";this.audioTrebleUp="AudioTrebleUp";this.audioVolumeDown="AudioVolumeDown";this.audioVolumeUp="AudioVolumeUp";this.audioVolumeMute="AudioVolumeMute";this.microphoneToggle="MicrophoneToggle";this.microphoneVolumeDown="MicrophoneVolumeDown";this.microphoneVolumeUp="MicrophoneVolumeUp";this.microphoneVolumeMute="MicrophoneVolumeMute";this.speechCorrectionList="SpeechCorrectionList";this.speechInputToggle="SpeechInputToggle";this.launchApplication1="LaunchApplication1";this.launchApplication2="LaunchApplication2";this.launchCalendar="LaunchCalendar";this.launchContacts="LaunchContacts";this.launchMail="LaunchMail";this.launchMediaPlayer="LaunchMediaPlayer";this.launchMusicPlayer="LaunchMusicPlayer";this.launchPhone="LaunchPhone";this.launchScreenSaver="LaunchScreenSaver";this.launchSpreadsheet="LaunchSpreadsheet";this.launchWebBrowser="LaunchWebBrowser";this.launchWebCam="LaunchWebCam";this.launchWordProcessor="LaunchWordProcessor";this.browserBack="BrowserBack";this.browserFavorites="BrowserFavorites";this.browserForward="BrowserForward";this.browserHome="BrowserHome";this.browserRefresh="BrowserRefresh";this.browserSearch="BrowserSearch";this.browserStop="BrowserStop";this.appSwitch="AppSwitch";this.call="Call";this.camera="Camera";this.cameraFocus="CameraFocus";this.endCall="EndCall";this.goBack="GoBack";this.goHome="GoHome";this.headsetHook="HeadsetHook";this.lastNumberRedial="LastNumberRedial";this.notification="Notification";this.mannerMode="MannerMode";this.voiceDial="VoiceDial";this.TV="TV";this.tV3DMode="TV3DMode";this.tVAntennaCable="TVAntennaCable";this.tVAudioDescription="TVAudioDescription";this.tVAudioDescriptionMixDown="TVAudioDescriptionMixDown";this.tVAudioDescriptionMixUp="TVAudioDescriptionMixUp";this.tVContentsMenu="TVContentsMenu";this.tVDataService="TVDataService";this.tVInput="TVInput";this.tVInputComponent1="TVInputComponent1";this.tVInputComponent2="TVInputComponent2";this.tVInputComposite1="TVInputComposite1";this.tVInputComposite2="TVInputComposite2";this.tVInputHDMI1="TVInputHDMI1";this.tVInputHDMI2="TVInputHDMI2";this.tVInputHDMI3="TVInputHDMI3";this.tVInputHDMI4="TVInputHDMI4";this.tVInputVGA1="TVInputVGA1";this.tVMediaContext="TVMediaContext";this.tVNetwork="TVNetwork";this.tVNumberEntry="TVNumberEntry";this.tVPower="TVPower";this.tVRadioService="TVRadioService";this.tVSatellite="TVSatellite";this.tVSatelliteBS="TVSatelliteBS";this.tVSatelliteCS="TVSatelliteCS";this.tVSatelliteToggle="TVSatelliteToggle";this.tVTerrestrialAnalog="TVTerrestrialAnalog";this.tVTerrestrialDigital="TVTerrestrialDigital";this.tVTimer="TVTimer";this.aVRInput="AVRInput";this.aVRPower="AVRPower";this.colorF0Red="ColorF0Red";this.colorF1Green="ColorF1Green";this.colorF2Yellow="ColorF2Yellow";this.colorF3Blue="ColorF3Blue";this.colorF4Grey="ColorF4Grey";this.colorF5Brown="ColorF5Brown";this.closedCaptionToggle="ClosedCaptionToggle";this.dimmer="Dimmer";this.displaySwap="DisplaySwap";this.DVR="DVR";this.exit="Exit";this.favoriteClear0="FavoriteClear0";this.favoriteClear1="FavoriteClear1";this.favoriteClear2="FavoriteClear2";this.favoriteClear3="FavoriteClear3";this.favoriteRecall0="FavoriteRecall0";this.favoriteRecall1="FavoriteRecall1";this.favoriteRecall2="FavoriteRecall2";this.favoriteRecall3="FavoriteRecall3";this.favoriteStore0="FavoriteStore0";this.favoriteStore1="FavoriteStore1";this.favoriteStore2="FavoriteStore2";this.favoriteStore3="FavoriteStore3";this.guide="Guide";this.guideNextDay="GuideNextDay";this.guidePreviousDay="GuidePreviousDay";this.info="Info";this.instantReplay="InstantReplay";this.link="Link";this.listProgram="ListProgram";this.liveContent="LiveContent";this.lock="Lock";this.mediaApps="MediaApps";this.mediaAudioTrack="MediaAudioTrack";this.mediaLast="MediaLast";this.mediaSkipBackward="MediaSkipBackward";this.mediaSkipForward="MediaSkipForward";this.mediaStepBackward="MediaStepBackward";this.mediaStepForward="MediaStepForward";this.mediaTopMenu="MediaTopMenu";this.navigateIn="NavigateIn";this.navigateNext="NavigateNext";this.navigateOut="NavigateOut";this.navigatePrevious="NavigatePrevious";this.nextFavoriteChannel="NextFavoriteChannel";this.nextUserProfile="NextUserProfile";this.onDemand="OnDemand";this.pairing="Pairing";this.pinPDown="PinPDown";this.pinPMove="PinPMove";this.pinPToggle="PinPToggle";this.pinPUp="PinPUp";this.playSpeedDown="PlaySpeedDown";this.playSpeedReset="PlaySpeedReset";this.playSpeedUp="PlaySpeedUp";this.randomToggle="RandomToggle";this.rcLowBattery="RcLowBattery";this.recordSpeedNext="RecordSpeedNext";this.rfBypass="RfBypass";this.scanChannelsToggle="ScanChannelsToggle";this.screenModeNext="ScreenModeNext";this.settings="Settings";this.splitScreenToggle="SplitScreenToggle";this.sTBInput="STBInput";this.sTBPower="STBPower";this.subtitle="Subtitle";this.teletext="Teletext";this.videoModeNext="VideoModeNext";this.wink="Wink";this.zoomToggle="ZoomToggle"}}}});Bridge.define("Bridge.React.MessageSourceOptions",{$kind:"enum",statics:{fields:{server:0,view:1}}});Bridge.define("Bridge.React.PropsWithKey",{props:{key:null},ctors:{ctor:function(key){this.$initialize();this.key=key}}});Bridge.define("Bridge.React.PureComponent$1",function(TProps){return{statics:{fields:{_reactComponentClasses:null},ctors:{init:function(){this._reactComponentClasses=new(System.Collections.Generic.Dictionary$2(Function,System.Object))}},methods:{op_Implicit:function(component){return component==null?null:component._reactElement},op_Implicit$1:function(component){return component==null?null:component._reactElement}}},fields:{_reactElement:null},props:{unwrappedProps:{get:function(){return Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(this.props)}},children:{get:function(){return this.props&&this.props.children?Array.isArray(this.props.children)?this.props.children:[this.props.children]:[]}}},ctors:{ctor:function(props,children){var currentType,reactComponentClass,createElementArgs;children===void 0&&(children=[]);this.$initialize();currentType=Bridge.getType(this);reactComponentClass={};Bridge.React.PureComponent$1(TProps)._reactComponentClasses.tryGetValue(currentType,reactComponentClass)||(reactComponentClass.v=Bridge.React.ReactComponentClassCreator.createClass(this,Bridge.React.PureComponent$1(TProps)),Bridge.React.PureComponent$1(TProps)._reactComponentClasses.set(currentType,reactComponentClass.v));createElementArgs=System.Array.init([reactComponentClass.v,Bridge.React.ComponentPropsHelpers.wrapProps(props)],System.Object);children!=null&&(createElementArgs=createElementArgs.concat.apply(createElementArgs,children));this._reactElement=React.createElement.apply(null,createElementArgs)}},methods:{componentWillMount:function(){},componentWillReceivePropsWrapped:function(){},componentWillReceiveProps:function(nextPropsIfAny){this.componentWillReceivePropsWrapped(Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(nextPropsIfAny))},shouldComponentUpdate:function(nextPropsIfAny){return!Bridge.React.ComponentPropsHelpers.doPropsReferencesMatch(this.unwrappedProps,Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(nextPropsIfAny))},componentWillUpdateWrapped:function(){},componentWillUpdate:function(nextProps){this.componentWillUpdateWrapped(Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(nextProps))},componentDidMount:function(){},componentDidUpdateWrapped:function(){},componentDidUpdate:function(previousProps){this.componentDidUpdateWrapped(Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(previousProps))},componentWillUnmount:function(){}}}});Bridge.define("Bridge.React.RawHtml",{props:{__html:null}});Bridge.define("Bridge.React.ReactComponentClassCreator",{statics:{methods:{createClass:function(template,baseComponent){function getOwnPropertyDescriptors(obj){for(var key,result={},arrPropertyNames=Object.getOwnPropertyNames(obj),i=0;i<arrPropertyNames.length;i++)key=arrPropertyNames[i],result[key]=Object.getOwnPropertyDescriptor(obj,key);return result}var displayName,reactComponentClass,protoStack,o,i,descriptors,name,descriptor;if(template==null)throw new System.ArgumentNullException("template");if(baseComponent==null)throw new System.ArgumentNullException("baseComponent");for(displayName=Bridge.React.ComponentNameHelpers.getDisplayName(template),reactComponentClass=null,eval("reactComponentClass = function "+displayName+"(props) { Bridge.React.ReactComponentClassCreator.initialiseComponentState(this, props); }"),reactComponentClass.prototype=Object.create(React.Component&&React.Component.prototype,{constructor:{value:reactComponentClass,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(reactComponentClass,React.Component):reactComponentClass.__proto__=React.Component,protoStack=[],o=template.__proto__;o;){if(protoStack.push(o),(o.$$fullname||"")===baseComponent.$$fullname)break;o=o.__proto__}for(i=protoStack.length-1;i>=0;i--){o=protoStack[i];descriptors=getOwnPropertyDescriptors(o);for(name in descriptors)descriptor=descriptors[name],Object.defineProperty(reactComponentClass.prototype,name,descriptor)}return reactComponentClass},initialiseComponentState:function(instance,props){var getInitialState,state;(instance.$init={},getInitialState=instance.constructorStateInitialiser,typeof getInitialState=="function"&&getInitialState.length===0)&&(instance.props=props,state=getInitialState.call(instance),state&&(instance.state={value:state}))}}}});Bridge.define("Bridge.React.ReactElementList",{inherits:[System.Collections.Generic.IEnumerable$1(Object)],statics:{props:{empty:null},ctors:{init:function(){this.empty=new Bridge.React.ReactElementList(System.Array.init(0,null,Object))}}},fields:{_items:null},alias:["getEnumerator",["System$Collections$Generic$IEnumerable$1$Object$getEnumerator","System$Collections$Generic$IEnumerable$1$getEnumerator"]],ctors:{ctor:function(items){if(this.$initialize(),items==null)throw new System.ArgumentNullException("items");this._items=items}},methods:{add:function(item){return new Bridge.React.ReactElementList(System.Linq.Enumerable.from(this._items).concat(System.Array.init([item],Object)))},add$2:function(items){if(items==null)throw new System.ArgumentNullException("items");return new Bridge.React.ReactElementList(System.Linq.Enumerable.from(this._items).concat(items))},add$1:function(items){if(items===void 0&&(items=[]),items==null)throw new System.ArgumentNullException("items");return new Bridge.React.ReactElementList(System.Linq.Enumerable.from(this._items).concat(items))},add$3:function(TProps,items){if(items==null)throw new System.ArgumentNullException("items");return new Bridge.React.ReactElementList(System.Linq.Enumerable.from(this._items).concat(System.Linq.Enumerable.from(items).select(function(item){return Bridge.React.PureComponent$1(TProps).op_Implicit(item)})))},add$4:function(TProps,items){if(items==null)throw new System.ArgumentNullException("items");return new Bridge.React.ReactElementList(System.Linq.Enumerable.from(this._items).concat(System.Linq.Enumerable.from(items).select(function(item){return Bridge.React.StatelessComponent$1(TProps).op_Implicit(item)})))},getEnumerator:function(){return Bridge.getEnumerator(this._items,Object)},System$Collections$IEnumerable$getEnumerator:function(){return this.getEnumerator()}}});Bridge.define("Bridge.React.StatelessComponent$1",function(TProps){return{statics:{fields:{_reactStatelessRenderFunctions:null},ctors:{init:function(){this._reactStatelessRenderFunctions=new(System.Collections.Generic.Dictionary$2(Function,Function))}},methods:{op_Implicit:function(component){return component==null?null:component._reactElement},op_Implicit$1:function(component){return component==null?null:component._reactElement}}},fields:{_reactElement:null},props:{unwrappedProps:{get:function(){return Bridge.React.ComponentPropsHelpers.unWrapValueIfDefined(this.props)}},children:{get:function(){return this.props&&this.props.children?Array.isArray(this.props.children)?this.props.children:[this.props.children]:[]}}},ctors:{ctor:function(props,children){var reactStatelessRenderFunction,currentType,createElementArgs;children===void 0&&(children=[]);this.$initialize();reactStatelessRenderFunction={};currentType=Bridge.getType(this);Bridge.React.StatelessComponent$1(TProps)._reactStatelessRenderFunctions.tryGetValue(currentType,reactStatelessRenderFunction)||(reactStatelessRenderFunction.v=this.createStatelessRenderFunction(),Bridge.React.StatelessComponent$1(TProps)._reactStatelessRenderFunctions.set(currentType,reactStatelessRenderFunction.v));createElementArgs=System.Array.init([reactStatelessRenderFunction.v,Bridge.React.ComponentPropsHelpers.wrapProps(props)],System.Object);children!=null&&(createElementArgs=createElementArgs.concat.apply(createElementArgs,children));this._reactElement=React.createElement.apply(null,createElementArgs)}},methods:{createStatelessRenderFunction:function(){var classPrototype=this.constructor.prototype,scopeBoundFunction=function(props){var target=Object.create(classPrototype);return target.props=props,target.render.apply(target,[])},className=Bridge.React.ComponentNameHelpers.getDisplayName(this),namedScopeBoundFunction=null;return eval("namedScopeBoundFunction = function "+className+"(props) { return scopeBoundFunction(props); };"),namedScopeBoundFunction}}}});Bridge.define("Bridge.React.StaticComponent",{statics:{methods:{pure:function(TProps,renderer,props){var componentClass=renderer.$$componentClass,doPropsReferencesMatch,wrappedProps;return componentClass||(doPropsReferencesMatch=this.doPropsReferencesMatch,componentClass=React.createClass({displayName:renderer.name,render:function(){return renderer(this.props.value)},shouldComponentUpdate:function(nextProps){return!doPropsReferencesMatch(this.props?this.props.value:null,nextProps?nextProps.value:null)}}),renderer.$$componentClass=componentClass),wrappedProps=Bridge.React.ComponentPropsHelpers.wrapProps(props),React.createElement(componentClass,wrappedProps)},stateless:function(TProps,renderer,props){var namedScopeBoundFunction,wrappedProps;return eval("namedScopeBoundFunction = function "+renderer.name+"(props) { return renderer(props ? props.value : props); };"),wrappedProps=Bridge.React.ComponentPropsHelpers.wrapProps(props),React.createElement(namedScopeBoundFunction,wrappedProps)},doPropsReferencesMatch:function(props1,props2){return Bridge.React.ComponentPropsHelpers.doPropsReferencesMatch(props1,props2)}}}});Bridge.define("Bridge.React.Style",{statics:{methods:{mergeWith:function(source,other){var merged={},i;if(source)for(i in source)merged[i]=source[i];if(other)for(i in other)merged[i]=other[i];return merged},height$1:function(height){return{height:height}},height:function(style,height){return style.height=height,style},width$1:function(width){return{width:width}},width:function(style,width){return style.width=width,style},fontSize$1:function(fontSize){return{fontSize:fontSize}},fontSize:function(style,fontSize){return style.fontSize=fontSize,style},margin$2:function(margin){return{margin:margin}},margin$3:function(top,right,bottom,left){return{marginTop:top,marginLeft:left,marginRight:right,marginBottom:bottom}},margin:function(style,margin){return style.margin=margin,style},margin$1:function(style,top,right,bottom,left){return style.marginTop=top,style.marginLeft=left,style.marginRight=right,style.marginBottom=bottom,style},padding$2:function(padding){return{padding:padding}},padding$3:function(top,right,bottom,left){return{paddingTop:top,paddingLeft:left,paddingRight:right,paddingBottom:bottom}},padding:function(style,padding){return style.padding=padding,style},padding$1:function(style,top,right,bottom,left){return style.paddingTop=top,style.paddingLeft=left,style.paddingRight=right,style.paddingBottom=bottom,style}}}});Bridge.define("Bridge.React.AppDispatcher",{inherits:[Bridge.React.IDispatcher],fields:{_callbacks:null,_executingCallbacks:null,_finishedCallbacks:null,_isDispatching:!1,_currentMessage:null},alias:["dispatch","Bridge$React$IDispatcher$dispatch","receive","Bridge$React$IDispatcher$receive","register","Bridge$React$IDispatcher$register","unregister","Bridge$React$IDispatcher$unregister","handleViewAction","Bridge$React$IDispatcher$handleViewAction","handleServerAction","Bridge$React$IDispatcher$handleServerAction","waitFor$1","Bridge$React$IDispatcher$waitFor$1","waitFor","Bridge$React$IDispatcher$waitFor"],ctors:{ctor:function(){this.$initialize();this._callbacks=new(System.Collections.Generic.Dictionary$2(Bridge.React.DispatchToken,Function));this._executingCallbacks=new(System.Collections.Generic.HashSet$1(Bridge.React.DispatchToken).ctor);this._finishedCallbacks=new(System.Collections.Generic.HashSet$1(Bridge.React.DispatchToken).ctor);this._isDispatching=!1;this._currentMessage=null}},methods:{dispatch:function(action){if(action==null)throw new System.ArgumentNullException("action");this.dispatch$1(new Bridge.React.DispatcherMessage(Bridge.React.MessageSourceOptions.view,action))},dispatch$1:function(message){var $t,callback;if(message==null)throw new System.ArgumentNullException("message");if(this._isDispatching)throw new System.InvalidOperationException("Cannot dispatch while already dispatching");this._isDispatching=!0;this._currentMessage=message;this._executingCallbacks.clear();this._finishedCallbacks.clear();try{$t=Bridge.getEnumerator(this._callbacks);try{while($t.moveNext())(callback=$t.Current,this._finishedCallbacks.contains(callback.key))||(this._executingCallbacks.add(callback.key),callback.value(this._currentMessage),this._executingCallbacks.remove(callback.key),this._finishedCallbacks.add(callback.key))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}finally{this._isDispatching=!1;this._currentMessage=null;this._executingCallbacks.clear();this._finishedCallbacks.clear()}},receive:function(callback){if(Bridge.staticEquals(callback,null))throw new System.ArgumentNullException("callback");return this.register(function(message){callback(message.action)})},register:function(callback){if(Bridge.staticEquals(callback,null))throw new System.ArgumentNullException("callback");if(this._isDispatching)throw new System.InvalidOperationException("Cannot register a dispatch token while dispatching");var token=new Bridge.React.DispatchToken;return this._callbacks.add(token,callback),token},unregister:function(token){if(token==null)throw new System.ArgumentNullException("token");if(!this._callbacks.containsKey(token))throw new System.ArgumentException("","token");if(this._isDispatching)throw new System.InvalidOperationException("Cannot unregister a dispatch token while dispatching");if(!this._callbacks.containsKey(token))throw new System.InvalidOperationException(System.String.format("Invalid {0} specified - not currently registered","token"));this._callbacks.remove(token)},handleViewAction:function(action){if(action==null)throw new System.ArgumentNullException("action");this.dispatch$1(new Bridge.React.DispatcherMessage(Bridge.React.MessageSourceOptions.view,action))},handleServerAction:function(action){if(action==null)throw new System.ArgumentNullException("action");this.dispatch$1(new Bridge.React.DispatcherMessage(Bridge.React.MessageSourceOptions.server,action))},waitFor$1:function(tokens){var $t,token;if(tokens==null)throw new System.ArgumentNullException("tokens");if(tokens=System.Linq.Enumerable.from(tokens).toArray(),!System.Linq.Enumerable.from(tokens).any())throw new System.ArgumentException(System.String.format("Empty {0} set - invalid (must wait for at least one DispatchToken)","tokens"));if(System.Linq.Enumerable.from(tokens).any($asm.$.Bridge.React.AppDispatcher.f1))throw new System.ArgumentException(System.String.format("Null reference encountered in {0} set","tokens"));if(!System.Linq.Enumerable.from(tokens).all(Bridge.fn.bind(this,$asm.$.Bridge.React.AppDispatcher.f2)))throw new System.ArgumentException("All given tokens must be registered with this dispatcher","tokens");if(!this._isDispatching)throw new System.InvalidOperationException("Can only call WaitFor while dispatching");if(System.Linq.Enumerable.from(tokens).any(Bridge.fn.bind(this,$asm.$.Bridge.React.AppDispatcher.f3)))throw new System.ArgumentException("None of the tokens can have its callback already executing","tokens");$t=Bridge.getEnumerator(tokens,Bridge.React.DispatchToken);try{while($t.moveNext())(token=$t.Current,this._finishedCallbacks.contains(token))||(this._executingCallbacks.add(token),this._callbacks.get(token)(this._currentMessage),this._executingCallbacks.remove(token),this._finishedCallbacks.add(token))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}},waitFor:function(tokens){tokens===void 0&&(tokens=[]);this.waitFor$1(Bridge.cast(tokens,System.Collections.Generic.IEnumerable$1(Bridge.React.DispatchToken)))}}});Bridge.ns("Bridge.React.AppDispatcher",$asm.$);Bridge.apply($asm.$.Bridge.React.AppDispatcher,{f1:function(token){return token==null},f2:function(token){return this._callbacks.containsKey(token)},f3:function(token){return this._executingCallbacks.contains(token)}});Bridge.define("Bridge.React.DispatcherMessageExtensions.DispatcherMessageMatcher",{inherits:[Bridge.React.DispatcherMessageExtensions.IMatchDispatcherMessages],fields:{_message:null},alias:["else","Bridge$React$DispatcherMessageExtensions$IMatchDispatcherMessages$else","else$1","Bridge$React$DispatcherMessageExtensions$IMatchDispatcherMessages$else$1","ifAnyMatched","Bridge$React$DispatcherMessageExtensions$IMatchDispatcherMessages$ifAnyMatched"],ctors:{ctor:function(message){if(this.$initialize(),message==null)throw new System.ArgumentNullException("message");this._message=message}},methods:{"else":function(T,work){return this.elseWithOptionalCondition(T,null,work)},else$1:function(T,condition,work){if(Bridge.staticEquals(condition,null))throw new System.ArgumentNullException("condition");return this.elseWithOptionalCondition(T,condition,work)},elseWithOptionalCondition:function(T,optionalCondition,work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");var actionOfDesiredType=Bridge.as(this._message.action,T);return actionOfDesiredType==null||!Bridge.staticEquals(optionalCondition,null)&&!optionalCondition(actionOfDesiredType)?this:(work(actionOfDesiredType),Bridge.React.DispatcherMessageExtensions.MatchFoundSoMatchNoMoreDispatcherMessageMatcher.instance)},ifAnyMatched:function(work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");}}});Bridge.define("Bridge.React.DispatcherMessageExtensions.MatchFoundSoMatchNoMoreDispatcherMessageMatcher",{inherits:[Bridge.React.DispatcherMessageExtensions.IMatchDispatcherMessages],statics:{fields:{instance:null},ctors:{init:function(){this.instance=new Bridge.React.DispatcherMessageExtensions.MatchFoundSoMatchNoMoreDispatcherMessageMatcher}}},alias:["else","Bridge$React$DispatcherMessageExtensions$IMatchDispatcherMessages$else","else$1","Bridge$React$DispatcherMessageExtensions$IMatchDispatcherMessages$else$1","ifAnyMatched","Bridge$React$DispatcherMessageExtensions$IMatchDispatcherMessages$ifAnyMatched"],ctors:{ctor:function(){this.$initialize()}},methods:{"else":function(T,work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");return this},else$1:function(T,condition,work){if(Bridge.staticEquals(condition,null))throw new System.ArgumentNullException("condition");if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");return this},ifAnyMatched:function(work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");work()}}});Bridge.define("Bridge.React.IDispatcherActionExtensions.DispatcherActionMatcher",{inherits:[Bridge.React.IDispatcherActionExtensions.IMatchDispatcherActions],fields:{_action:null},alias:["else","Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$else","else$2","Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$else$2","else$1","Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$else$1","ifAnyMatched","Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$ifAnyMatched"],ctors:{ctor:function(action){if(this.$initialize(),action==null)throw new System.ArgumentNullException("action");this._action=action}},methods:{"else":function(T,work){return this.elseWithOptionalCondition(T,null,work)},else$2:function(T,condition,work){if(Bridge.staticEquals(condition,null))throw new System.ArgumentNullException("condition");return this.elseWithOptionalCondition(T,condition,work)},else$1:function(T,work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");var actionOfDesiredType=Bridge.as(this._action,T);return actionOfDesiredType==null?this:work(actionOfDesiredType)===Bridge.React.ActionMatchOptions.ignored?this:Bridge.React.IDispatcherActionExtensions.MatchFoundSoMatchNoMoreDispatcherActionMatcher.instance},elseWithOptionalCondition:function(T,optionalCondition,work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");var actionOfDesiredType=Bridge.as(this._action,T);return actionOfDesiredType==null||!Bridge.staticEquals(optionalCondition,null)&&!optionalCondition(actionOfDesiredType)?this:(work(actionOfDesiredType),Bridge.React.IDispatcherActionExtensions.MatchFoundSoMatchNoMoreDispatcherActionMatcher.instance)},ifAnyMatched:function(work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");}}});Bridge.define("Bridge.React.IDispatcherActionExtensions.MatchFoundSoMatchNoMoreDispatcherActionMatcher",{inherits:[Bridge.React.IDispatcherActionExtensions.IMatchDispatcherActions],statics:{fields:{instance:null},ctors:{init:function(){this.instance=new Bridge.React.IDispatcherActionExtensions.MatchFoundSoMatchNoMoreDispatcherActionMatcher}}},alias:["else","Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$else","else$2","Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$else$2","else$1","Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$else$1","ifAnyMatched","Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$ifAnyMatched"],ctors:{ctor:function(){this.$initialize()}},methods:{"else":function(T,work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");return this},else$2:function(T,condition,work){if(Bridge.staticEquals(condition,null))throw new System.ArgumentNullException("condition");if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");return this},else$1:function(T,work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");return this},ifAnyMatched:function(work){if(Bridge.staticEquals(work,null))throw new System.ArgumentNullException("work");work()}}})});Bridge.assembly("Bridge.React",function(){"use strict";var $m=Bridge.setMetadata,$n=[System,Bridge.React,System.Collections.Generic,System.Threading.Tasks];$m($n[1].RawHtml,function(){return{att:1048833,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Html",t:16,rt:$n[0].String,g:{a:1,n:"get_Html",t:8,rt:$n[0].String,fg:"__html"},s:{a:2,n:"set_Html",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"__html"},fn:"__html"}]}});$m($n[1].ReactComponentClassCreator,function(){return{att:1048960,a:4,s:!0,m:[{a:2,n:"CreateClass",is:!0,t:8,pi:[{n:"template",pt:$n[0].Object,ps:0},{n:"baseComponent",pt:Function,ps:1}],sn:"createClass",rt:$n[0].Object,p:[$n[0].Object,Function]},{a:1,n:"InitialiseComponentState",is:!0,t:8,pi:[{n:"instance",pt:$n[0].Object,ps:0},{n:"props",pt:$n[0].Object,ps:1}],sn:"initialiseComponentState",rt:$n[0].Void,p:[$n[0].Object,$n[0].Object]}]}});$m($n[1].StaticComponent,function(){return{att:1048961,a:2,s:!0,m:[{a:4,n:"DoPropsReferencesMatch",is:!0,t:8,pi:[{n:"props1",pt:System.Object,ps:0},{n:"props2",pt:System.Object,ps:1}],sn:"doPropsReferencesMatch",rt:$n[0].Boolean,p:[System.Object,System.Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Pure",is:!0,t:8,pi:[{n:"renderer",pt:Function,ps:0},{n:"props",pt:System.Object,ps:1}],tpc:1,tprm:["TProps"],sn:"pure",rt:Object,p:[Function,System.Object]},{a:2,n:"Stateless",is:!0,t:8,pi:[{n:"renderer",pt:Function,ps:0},{n:"props",pt:System.Object,ps:1}],tpc:1,tprm:["TProps"],sn:"stateless",rt:Object,p:[Function,System.Object]}]}});$m($n[1].ComponentPropsHelpers,function(){return{att:1048960,a:4,s:!0,m:[{a:2,n:"DoPropsReferencesMatch",is:!0,t:8,pi:[{n:"props1",pt:System.Object,ps:0},{n:"props2",pt:System.Object,ps:1}],sn:"doPropsReferencesMatch",rt:$n[0].Boolean,p:[System.Object,System.Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"UnWrapValueIfDefined",is:!0,t:8,pi:[{n:"wrappedValueIfAny",pt:System.Object,ps:0}],sn:"unWrapValueIfDefined",rt:System.Object,p:[System.Object]},{a:2,n:"WrapProps",is:!0,t:8,pi:[{n:"propsIfAny",pt:System.Object,ps:0}],sn:"wrapProps",rt:System.Object,p:[System.Object]},{a:2,n:"OptimiseFunctionComparisonsBasedOnSolutionBeingPureBridge",is:!0,t:4,rt:$n[0].Boolean,sn:"optimiseFunctionComparisonsBasedOnSolutionBeingPureBridge",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m($n[1].PureComponent$1,function(TProps){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,p:[TProps,System.Array.type(System.Object)],pi:[{n:"props",pt:TProps,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{v:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{a:1,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:System.Object,ps:0}],sn:"componentDidUpdate",rt:$n[0].Void,p:[System.Object]},{v:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:TProps,ps:0}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[TProps]},{v:!0,a:3,n:"ComponentWillMount",t:8,sn:"componentWillMount",rt:$n[0].Void},{a:1,n:"ComponentWillReceiveProps",t:8,pi:[{n:"nextPropsIfAny",pt:System.Object,ps:0}],sn:"componentWillReceiveProps",rt:$n[0].Void,p:[System.Object]},{v:!0,a:3,n:"ComponentWillReceiveProps",t:8,pi:[{n:"nextProps",pt:TProps,ps:0}],sn:"componentWillReceivePropsWrapped",rt:$n[0].Void,p:[TProps]},{v:!0,a:3,n:"ComponentWillUnmount",t:8,sn:"componentWillUnmount",rt:$n[0].Void},{a:1,n:"ComponentWillUpdate",t:8,pi:[{n:"nextProps",pt:System.Object,ps:0}],sn:"componentWillUpdate",rt:$n[0].Void,p:[System.Object]},{v:!0,a:3,n:"ComponentWillUpdate",t:8,pi:[{n:"nextProps",pt:TProps,ps:0}],sn:"componentWillUpdateWrapped",rt:$n[0].Void,p:[TProps]},{ab:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"ShouldComponentUpdate",t:8,pi:[{n:"nextPropsIfAny",pt:System.Object,ps:0}],sn:"shouldComponentUpdate",rt:$n[0].Boolean,p:[System.Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"component",pt:$n[1].PureComponent$1(TProps),ps:0}],sn:"op_Implicit",rt:Object,p:[$n[1].PureComponent$1(TProps)]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"component",pt:$n[1].PureComponent$1(TProps),ps:0}],sn:"op_Implicit$1",rt:System.Object,p:[$n[1].PureComponent$1(TProps)]},{a:3,n:"Children",t:16,rt:System.Array.type(System.Object),g:{a:3,n:"get_Children",t:8,rt:System.Array.type(System.Object),fg:"children"},fn:"children"},{a:3,n:"props",t:16,rt:TProps,g:{a:3,n:"get_props",t:8,rt:TProps,fg:"unwrappedProps"},fn:"unwrappedProps"},{a:1,n:"_reactComponentClasses",is:!0,t:4,rt:$n[2].Dictionary$2(Function,System.Object),sn:"_reactComponentClasses"},{a:1,n:"_reactElement",t:4,rt:Object,sn:"_reactElement",ro:!0}]}});$m($n[1].ComponentNameHelpers,function(){return{att:1048960,a:4,s:!0,m:[{a:4,n:"GetDisplayName",is:!0,t:8,pi:[{n:"source",pt:$n[0].Object,ps:0}],sn:"getDisplayName",rt:$n[0].String,p:[$n[0].Object]}]}});$m($n[1].DispatchToken,function(){return{att:1048833,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"}]}});$m($n[1].ActionMatchOptions,function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Handled",is:!0,t:4,rt:$n[1].ActionMatchOptions,sn:"handled",box:function($v){return Bridge.box($v,Bridge.React.ActionMatchOptions,System.Enum.toStringFn(Bridge.React.ActionMatchOptions))}},{a:2,n:"Ignored",is:!0,t:4,rt:$n[1].ActionMatchOptions,sn:"ignored",box:function($v){return Bridge.box($v,Bridge.React.ActionMatchOptions,System.Enum.toStringFn(Bridge.React.ActionMatchOptions))}}]}});$m(Bridge.React,function(){return{att:1048960,a:4,s:!0,m:[{a:2,n:"RewriteDataAttributes",is:!0,t:8,pi:[{n:"attributes",pt:System.Object,ps:0}],sn:"fixAttr",rt:System.Object,p:[System.Object]},{a:4,n:"ToReactElementArray",is:!0,t:8,pi:[{n:"components",pt:$n[2].IEnumerable$1(System.Object),ps:0}],sn:"toReactElementArray",rt:System.Array.type(Object),p:[$n[2].IEnumerable$1(System.Object)]}]}});$m($n[1].IDispatcherActionExtensions,function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"If",is:!0,t:8,pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"if",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[$n[1].IDispatcherAction,Function]},{a:2,n:"If",is:!0,t:8,pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"if$1",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[$n[1].IDispatcherAction,Function]},{a:2,n:"If",is:!0,t:8,pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0},{n:"condition",pt:Function,ps:1},{n:"work",pt:Function,ps:2}],tpc:1,tprm:["T"],sn:"if$2",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[$n[1].IDispatcherAction,Function,Function]}]}});$m($n[1].IDispatcherActionExtensions.IMatchDispatcherActions,function(){return{td:$n[1].IDispatcherActionExtensions,att:162,a:2,m:[{ab:!0,a:2,n:"Else",t:8,pi:[{n:"work",pt:Function,ps:0}],tpc:1,tprm:["T"],sn:"Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$else",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function]},{ab:!0,a:2,n:"Else",t:8,pi:[{n:"work",pt:Function,ps:0}],tpc:1,tprm:["T"],sn:"Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$else$1",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function]},{ab:!0,a:2,n:"Else",t:8,pi:[{n:"condition",pt:Function,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$else$2",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function,Function]},{ab:!0,a:2,n:"IfAnyMatched",t:8,pi:[{n:"work",pt:Function,ps:0}],sn:"Bridge$React$IDispatcherActionExtensions$IMatchDispatcherActions$ifAnyMatched",rt:$n[0].Void,p:[Function]}]}});$m($n[1].IDispatcherActionExtensions.DispatcherActionMatcher,function(){return{td:$n[1].IDispatcherActionExtensions,att:1048579,a:1,m:[{a:2,n:".ctor",t:1,p:[$n[1].IDispatcherAction],pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0}],sn:"ctor"},{a:2,n:"Else",t:8,pi:[{n:"work",pt:Function,ps:0}],tpc:1,tprm:["T"],sn:"else",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function]},{a:2,n:"Else",t:8,pi:[{n:"work",pt:Function,ps:0}],tpc:1,tprm:["T"],sn:"else$1",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function]},{a:2,n:"Else",t:8,pi:[{n:"condition",pt:Function,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"else$2",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function,Function]},{a:1,n:"ElseWithOptionalCondition",t:8,pi:[{n:"optionalCondition",pt:Function,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"elseWithOptionalCondition",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function,Function]},{a:2,n:"IfAnyMatched",t:8,pi:[{n:"work",pt:Function,ps:0}],sn:"ifAnyMatched",rt:$n[0].Void,p:[Function]},{a:1,n:"_action",t:4,rt:$n[1].IDispatcherAction,sn:"_action",ro:!0}]}});$m($n[1].IDispatcherActionExtensions.MatchFoundSoMatchNoMoreDispatcherActionMatcher,function(){return{td:$n[1].IDispatcherActionExtensions,att:1048579,a:1,m:[{a:1,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Else",t:8,pi:[{n:"work",pt:Function,ps:0}],tpc:1,tprm:["T"],sn:"else",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function]},{a:2,n:"Else",t:8,pi:[{n:"work",pt:Function,ps:0}],tpc:1,tprm:["T"],sn:"else$1",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function]},{a:2,n:"Else",t:8,pi:[{n:"condition",pt:Function,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"else$2",rt:$n[1].IDispatcherActionExtensions.IMatchDispatcherActions,p:[Function,Function]},{a:2,n:"IfAnyMatched",t:8,pi:[{n:"work",pt:Function,ps:0}],sn:"ifAnyMatched",rt:$n[0].Void,p:[Function]},{a:2,n:"Instance",is:!0,t:4,rt:$n[1].IDispatcherActionExtensions.MatchFoundSoMatchNoMoreDispatcherActionMatcher,sn:"instance"}]}});$m($n[1].IDispatcher,function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Dispatch",t:8,pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0}],sn:"Bridge$React$IDispatcher$dispatch",rt:$n[0].Void,p:[$n[1].IDispatcherAction]},{ab:!0,a:2,n:"HandleServerAction",t:8,pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0}],sn:"Bridge$React$IDispatcher$handleServerAction",rt:$n[0].Void,p:[$n[1].IDispatcherAction]},{ab:!0,a:2,n:"HandleViewAction",t:8,pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0}],sn:"Bridge$React$IDispatcher$handleViewAction",rt:$n[0].Void,p:[$n[1].IDispatcherAction]},{ab:!0,a:2,n:"Receive",t:8,pi:[{n:"callback",pt:Function,ps:0}],sn:"Bridge$React$IDispatcher$receive",rt:$n[1].DispatchToken,p:[Function]},{ab:!0,a:2,n:"Register",t:8,pi:[{n:"callback",pt:Function,ps:0}],sn:"Bridge$React$IDispatcher$register",rt:$n[1].DispatchToken,p:[Function]},{ab:!0,a:2,n:"Unregister",t:8,pi:[{n:"token",pt:$n[1].DispatchToken,ps:0}],sn:"Bridge$React$IDispatcher$unregister",rt:$n[0].Void,p:[$n[1].DispatchToken]},{ab:!0,a:2,n:"WaitFor",t:8,pi:[{n:"tokens",ip:!0,pt:System.Array.type(Bridge.React.DispatchToken),ps:0}],sn:"Bridge$React$IDispatcher$waitFor",rt:$n[0].Void,p:[System.Array.type(Bridge.React.DispatchToken)]},{ab:!0,a:2,n:"WaitFor",t:8,pi:[{n:"tokens",pt:$n[2].IEnumerable$1(Bridge.React.DispatchToken),ps:0}],sn:"Bridge$React$IDispatcher$waitFor$1",rt:$n[0].Void,p:[$n[2].IEnumerable$1(Bridge.React.DispatchToken)]}]}});$m($n[1].ReactElementList,function(){return{att:1048833,a:2,m:[{a:1,n:".ctor",t:1,p:[$n[2].IEnumerable$1(Object)],pi:[{n:"items",pt:$n[2].IEnumerable$1(Object),ps:0}],sn:"ctor"},{a:2,n:"Add",t:8,pi:[{n:"item",pt:Object,ps:0}],sn:"add",rt:$n[1].ReactElementList,p:[Object]},{a:2,n:"Add",t:8,pi:[{n:"items",ip:!0,pt:System.Array.type(Object),ps:0}],sn:"add$1",rt:$n[1].ReactElementList,p:[System.Array.type(Object)]},{a:2,n:"Add",t:8,pi:[{n:"items",pt:$n[2].IEnumerable$1(Object),ps:0}],sn:"add$2",rt:$n[1].ReactElementList,p:[$n[2].IEnumerable$1(Object)]},{a:2,n:"Add",t:8,pi:[{n:"items",pt:$n[2].IEnumerable$1(Bridge.React.PureComponent$1(System.Object)),ps:0}],tpc:1,tprm:["TProps"],sn:"add$3",rt:$n[1].ReactElementList,p:[$n[2].IEnumerable$1(Bridge.React.PureComponent$1(System.Object))]},{a:2,n:"Add",t:8,pi:[{n:"items",pt:$n[2].IEnumerable$1(Bridge.React.StatelessComponent$1(System.Object)),ps:0}],tpc:1,tprm:["TProps"],sn:"add$4",rt:$n[1].ReactElementList,p:[$n[2].IEnumerable$1(Bridge.React.StatelessComponent$1(System.Object))]},{a:2,n:"GetEnumerator",t:8,sn:"getEnumerator",rt:$n[2].IEnumerator$1(Object)},{a:2,n:"Empty",is:!0,t:16,rt:$n[1].ReactElementList,g:{a:2,n:"get_Empty",t:8,rt:$n[1].ReactElementList,fg:"empty",is:!0},s:{a:1,n:"set_Empty",t:8,p:[$n[1].ReactElementList],rt:$n[0].Void,fs:"empty",is:!0},fn:"empty"},{a:1,n:"__Property__Initializer__Empty",is:!0,t:4,rt:$n[1].ReactElementList,sn:"__Property__Initializer__Empty"},{a:1,n:"_items",t:4,rt:$n[2].IEnumerable$1(Object),sn:"_items",ro:!0}]}});$m($n[1].EnumerableComponentExtensions,function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"ToChildComponentArray",is:!0,t:8,pi:[{n:"elements",pt:$n[2].IEnumerable$1(Object),ps:0}],sn:"toChildComponentArray",rt:System.Array.type(System.Object),p:[$n[2].IEnumerable$1(Object)]},{a:2,n:"ToChildComponentArray",is:!0,t:8,pi:[{n:"components",pt:$n[2].IEnumerable$1(Bridge.React.PureComponent$1(System.Object)),ps:0}],tpc:1,tprm:["TProps"],sn:"toChildComponentArray$1",rt:System.Array.type(System.Object),p:[$n[2].IEnumerable$1(Bridge.React.PureComponent$1(System.Object))]},{a:2,n:"ToChildComponentArray",is:!0,t:8,pi:[{n:"components",pt:$n[2].IEnumerable$1(Bridge.React.StatelessComponent$1(System.Object)),ps:0}],tpc:1,tprm:["TProps"],sn:"toChildComponentArray$2",rt:System.Array.type(System.Object),p:[$n[2].IEnumerable$1(Bridge.React.StatelessComponent$1(System.Object))]}]}});$m($n[1].KeyboardEvent,function(){return{att:1048961,a:2,s:!0}});$m($n[1].KeyboardEvent.NamedKeys,function(){return{td:$n[1].KeyboardEvent,att:1048962,a:2,s:!0,m:[{a:2,n:"AVRInput",is:!0,t:4,rt:$n[0].String,sn:"aVRInput"},{a:2,n:"AVRPower",is:!0,t:4,rt:$n[0].String,sn:"aVRPower"},{a:2,n:"Accept",is:!0,t:4,rt:$n[0].String,sn:"accept"},{a:2,n:"Again",is:!0,t:4,rt:$n[0].String,sn:"again"},{a:2,n:"AllCandidates",is:!0,t:4,rt:$n[0].String,sn:"allCandidates"},{a:2,n:"Alphanumeric",is:!0,t:4,rt:$n[0].String,sn:"alphanumeric"},{a:2,n:"Alt",is:!0,t:4,rt:$n[0].String,sn:"alt"},{a:2,n:"AltGraph",is:!0,t:4,rt:$n[0].String,sn:"altGraph"},{a:2,n:"AppSwitch",is:!0,t:4,rt:$n[0].String,sn:"appSwitch"},{a:2,n:"ArrowDown",is:!0,t:4,rt:$n[0].String,sn:"arrowDown"},{a:2,n:"ArrowLeft",is:!0,t:4,rt:$n[0].String,sn:"arrowLeft"},{a:2,n:"ArrowRight",is:!0,t:4,rt:$n[0].String,sn:"arrowRight"},{a:2,n:"ArrowUp",is:!0,t:4,rt:$n[0].String,sn:"arrowUp"},{a:2,n:"Attn",is:!0,t:4,rt:$n[0].String,sn:"attn"},{a:2,n:"AudioBalanceLeft",is:!0,t:4,rt:$n[0].String,sn:"audioBalanceLeft"},{a:2,n:"AudioBalanceRight",is:!0,t:4,rt:$n[0].String,sn:"audioBalanceRight"},{a:2,n:"AudioBassBoostDown",is:!0,t:4,rt:$n[0].String,sn:"audioBassBoostDown"},{a:2,n:"AudioBassBoostToggle",is:!0,t:4,rt:$n[0].String,sn:"audioBassBoostToggle"},{a:2,n:"AudioBassBoostUp",is:!0,t:4,rt:$n[0].String,sn:"audioBassBoostUp"},{a:2,n:"AudioFaderFront",is:!0,t:4,rt:$n[0].String,sn:"audioFaderFront"},{a:2,n:"AudioFaderRear",is:!0,t:4,rt:$n[0].String,sn:"audioFaderRear"},{a:2,n:"AudioSurroundModeNext",is:!0,t:4,rt:$n[0].String,sn:"audioSurroundModeNext"},{a:2,n:"AudioTrebleDown",is:!0,t:4,rt:$n[0].String,sn:"audioTrebleDown"},{a:2,n:"AudioTrebleUp",is:!0,t:4,rt:$n[0].String,sn:"audioTrebleUp"},{a:2,n:"AudioVolumeDown",is:!0,t:4,rt:$n[0].String,sn:"audioVolumeDown"},{a:2,n:"AudioVolumeMute",is:!0,t:4,rt:$n[0].String,sn:"audioVolumeMute"},{a:2,n:"AudioVolumeUp",is:!0,t:4,rt:$n[0].String,sn:"audioVolumeUp"},{a:2,n:"Backspace",is:!0,t:4,rt:$n[0].String,sn:"backspace"},{a:2,n:"BrightnessDown",is:!0,t:4,rt:$n[0].String,sn:"brightnessDown"},{a:2,n:"BrightnessUp",is:!0,t:4,rt:$n[0].String,sn:"brightnessUp"},{a:2,n:"BrowserBack",is:!0,t:4,rt:$n[0].String,sn:"browserBack"},{a:2,n:"BrowserFavorites",is:!0,t:4,rt:$n[0].String,sn:"browserFavorites"},{a:2,n:"BrowserForward",is:!0,t:4,rt:$n[0].String,sn:"browserForward"},{a:2,n:"BrowserHome",is:!0,t:4,rt:$n[0].String,sn:"browserHome"},{a:2,n:"BrowserRefresh",is:!0,t:4,rt:$n[0].String,sn:"browserRefresh"},{a:2,n:"BrowserSearch",is:!0,t:4,rt:$n[0].String,sn:"browserSearch"},{a:2,n:"BrowserStop",is:!0,t:4,rt:$n[0].String,sn:"browserStop"},{a:2,n:"Call",is:!0,t:4,rt:$n[0].String,sn:"call"},{a:2,n:"Camera",is:!0,t:4,rt:$n[0].String,sn:"camera"},{a:2,n:"CameraFocus",is:!0,t:4,rt:$n[0].String,sn:"cameraFocus"},{a:2,n:"Cancel",is:!0,t:4,rt:$n[0].String,sn:"cancel"},{a:2,n:"CapsLock",is:!0,t:4,rt:$n[0].String,sn:"capsLock"},{a:2,n:"ChannelDown",is:!0,t:4,rt:$n[0].String,sn:"channelDown"},{a:2,n:"ChannelUp",is:!0,t:4,rt:$n[0].String,sn:"channelUp"},{a:2,n:"Clear",is:!0,t:4,rt:$n[0].String,sn:"clear"},{a:2,n:"Close",is:!0,t:4,rt:$n[0].String,sn:"close"},{a:2,n:"ClosedCaptionToggle",is:!0,t:4,rt:$n[0].String,sn:"closedCaptionToggle"},{a:2,n:"CodeInput",is:!0,t:4,rt:$n[0].String,sn:"codeInput"},{a:2,n:"ColorF0Red",is:!0,t:4,rt:$n[0].String,sn:"colorF0Red"},{a:2,n:"ColorF1Green",is:!0,t:4,rt:$n[0].String,sn:"colorF1Green"},{a:2,n:"ColorF2Yellow",is:!0,t:4,rt:$n[0].String,sn:"colorF2Yellow"},{a:2,n:"ColorF3Blue",is:!0,t:4,rt:$n[0].String,sn:"colorF3Blue"},{a:2,n:"ColorF4Grey",is:!0,t:4,rt:$n[0].String,sn:"colorF4Grey"},{a:2,n:"ColorF5Brown",is:!0,t:4,rt:$n[0].String,sn:"colorF5Brown"},{a:2,n:"Compose",is:!0,t:4,rt:$n[0].String,sn:"compose"},{a:2,n:"ContextMenu",is:!0,t:4,rt:$n[0].String,sn:"contextMenu"},{a:2,n:"Control",is:!0,t:4,rt:$n[0].String,sn:"control"},{a:2,n:"Convert",is:!0,t:4,rt:$n[0].String,sn:"convert"},{a:2,n:"Copy",is:!0,t:4,rt:$n[0].String,sn:"copy"},{a:2,n:"CrSel",is:!0,t:4,rt:$n[0].String,sn:"crSel"},{a:2,n:"Cut",is:!0,t:4,rt:$n[0].String,sn:"cut"},{a:2,n:"DVR",is:!0,t:4,rt:$n[0].String,sn:"DVR"},{a:2,n:"Dead",is:!0,t:4,rt:$n[0].String,sn:"dead"},{a:2,n:"Delete",is:!0,t:4,rt:$n[0].String,sn:"delete"},{a:2,n:"Dimmer",is:!0,t:4,rt:$n[0].String,sn:"dimmer"},{a:2,n:"DisplaySwap",is:!0,t:4,rt:$n[0].String,sn:"displaySwap"},{a:2,n:"Eisu",is:!0,t:4,rt:$n[0].String,sn:"eisu"},{a:2,n:"Eject",is:!0,t:4,rt:$n[0].String,sn:"eject"},{a:2,n:"End",is:!0,t:4,rt:$n[0].String,sn:"end"},{a:2,n:"EndCall",is:!0,t:4,rt:$n[0].String,sn:"endCall"},{a:2,n:"Enter",is:!0,t:4,rt:$n[0].String,sn:"enter"},{a:2,n:"EraseEof",is:!0,t:4,rt:$n[0].String,sn:"eraseEof"},{a:2,n:"Escape",is:!0,t:4,rt:$n[0].String,sn:"escape"},{a:2,n:"ExSel",is:!0,t:4,rt:$n[0].String,sn:"exSel"},{a:2,n:"Execute",is:!0,t:4,rt:$n[0].String,sn:"execute"},{a:2,n:"Exit",is:!0,t:4,rt:$n[0].String,sn:"exit"},{a:2,n:"F1",is:!0,t:4,rt:$n[0].String,sn:"f1"},{a:2,n:"F10",is:!0,t:4,rt:$n[0].String,sn:"f10"},{a:2,n:"F11",is:!0,t:4,rt:$n[0].String,sn:"f11"},{a:2,n:"F12",is:!0,t:4,rt:$n[0].String,sn:"f12"},{a:2,n:"F2",is:!0,t:4,rt:$n[0].String,sn:"f2"},{a:2,n:"F3",is:!0,t:4,rt:$n[0].String,sn:"f3"},{a:2,n:"F4",is:!0,t:4,rt:$n[0].String,sn:"f4"},{a:2,n:"F5",is:!0,t:4,rt:$n[0].String,sn:"f5"},{a:2,n:"F6",is:!0,t:4,rt:$n[0].String,sn:"f6"},{a:2,n:"F7",is:!0,t:4,rt:$n[0].String,sn:"f7"},{a:2,n:"F8",is:!0,t:4,rt:$n[0].String,sn:"f8"},{a:2,n:"F9",is:!0,t:4,rt:$n[0].String,sn:"f9"},{a:2,n:"FavoriteClear0",is:!0,t:4,rt:$n[0].String,sn:"favoriteClear0"},{a:2,n:"FavoriteClear1",is:!0,t:4,rt:$n[0].String,sn:"favoriteClear1"},{a:2,n:"FavoriteClear2",is:!0,t:4,rt:$n[0].String,sn:"favoriteClear2"},{a:2,n:"FavoriteClear3",is:!0,t:4,rt:$n[0].String,sn:"favoriteClear3"},{a:2,n:"FavoriteRecall0",is:!0,t:4,rt:$n[0].String,sn:"favoriteRecall0"},{a:2,n:"FavoriteRecall1",is:!0,t:4,rt:$n[0].String,sn:"favoriteRecall1"},{a:2,n:"FavoriteRecall2",is:!0,t:4,rt:$n[0].String,sn:"favoriteRecall2"},{a:2,n:"FavoriteRecall3",is:!0,t:4,rt:$n[0].String,sn:"favoriteRecall3"},{a:2,n:"FavoriteStore0",is:!0,t:4,rt:$n[0].String,sn:"favoriteStore0"},{a:2,n:"FavoriteStore1",is:!0,t:4,rt:$n[0].String,sn:"favoriteStore1"},{a:2,n:"FavoriteStore2",is:!0,t:4,rt:$n[0].String,sn:"favoriteStore2"},{a:2,n:"FavoriteStore3",is:!0,t:4,rt:$n[0].String,sn:"favoriteStore3"},{a:2,n:"FinalMode",is:!0,t:4,rt:$n[0].String,sn:"finalMode"},{a:2,n:"Find",is:!0,t:4,rt:$n[0].String,sn:"find"},{a:2,n:"Fn",is:!0,t:4,rt:$n[0].String,sn:"fn"},{a:2,n:"FnLock",is:!0,t:4,rt:$n[0].String,sn:"fnLock"},{a:2,n:"GoBack",is:!0,t:4,rt:$n[0].String,sn:"goBack"},{a:2,n:"GoHome",is:!0,t:4,rt:$n[0].String,sn:"goHome"},{a:2,n:"GroupFirst",is:!0,t:4,rt:$n[0].String,sn:"groupFirst"},{a:2,n:"GroupLast",is:!0,t:4,rt:$n[0].String,sn:"groupLast"},{a:2,n:"GroupNext",is:!0,t:4,rt:$n[0].String,sn:"groupNext"},{a:2,n:"GroupPrevious",is:!0,t:4,rt:$n[0].String,sn:"groupPrevious"},{a:2,n:"Guide",is:!0,t:4,rt:$n[0].String,sn:"guide"},{a:2,n:"GuideNextDay",is:!0,t:4,rt:$n[0].String,sn:"guideNextDay"},{a:2,n:"GuidePreviousDay",is:!0,t:4,rt:$n[0].String,sn:"guidePreviousDay"},{a:2,n:"HangulMode",is:!0,t:4,rt:$n[0].String,sn:"hangulMode"},{a:2,n:"HanjaMode",is:!0,t:4,rt:$n[0].String,sn:"hanjaMode"},{a:2,n:"Hankaku",is:!0,t:4,rt:$n[0].String,sn:"hankaku"},{a:2,n:"HeadsetHook",is:!0,t:4,rt:$n[0].String,sn:"headsetHook"},{a:2,n:"Help",is:!0,t:4,rt:$n[0].String,sn:"help"},{a:2,n:"Hibernate",is:!0,t:4,rt:$n[0].String,sn:"hibernate"},{a:2,n:"Hiragana",is:!0,t:4,rt:$n[0].String,sn:"hiragana"},{a:2,n:"HiraganaKatakana",is:!0,t:4,rt:$n[0].String,sn:"hiraganaKatakana"},{a:2,n:"Home",is:!0,t:4,rt:$n[0].String,sn:"home"},{a:2,n:"Hyper",is:!0,t:4,rt:$n[0].String,sn:"hyper"},{a:2,n:"Info",is:!0,t:4,rt:$n[0].String,sn:"info"},{a:2,n:"Insert",is:!0,t:4,rt:$n[0].String,sn:"insert"},{a:2,n:"InstantReplay",is:!0,t:4,rt:$n[0].String,sn:"instantReplay"},{a:2,n:"JunjaMode",is:!0,t:4,rt:$n[0].String,sn:"junjaMode"},{a:2,n:"KanaMode",is:!0,t:4,rt:$n[0].String,sn:"kanaMode"},{a:2,n:"KanjiMode",is:!0,t:4,rt:$n[0].String,sn:"kanjiMode"},{a:2,n:"Katakana",is:!0,t:4,rt:$n[0].String,sn:"katakana"},{a:2,n:"Key11",is:!0,t:4,rt:$n[0].String,sn:"key11"},{a:2,n:"Key12",is:!0,t:4,rt:$n[0].String,sn:"key12"},{a:2,n:"LastNumberRedial",is:!0,t:4,rt:$n[0].String,sn:"lastNumberRedial"},{a:2,n:"LaunchApplication1",is:!0,t:4,rt:$n[0].String,sn:"launchApplication1"},{a:2,n:"LaunchApplication2",is:!0,t:4,rt:$n[0].String,sn:"launchApplication2"},{a:2,n:"LaunchCalendar",is:!0,t:4,rt:$n[0].String,sn:"launchCalendar"},{a:2,n:"LaunchContacts",is:!0,t:4,rt:$n[0].String,sn:"launchContacts"},{a:2,n:"LaunchMail",is:!0,t:4,rt:$n[0].String,sn:"launchMail"},{a:2,n:"LaunchMediaPlayer",is:!0,t:4,rt:$n[0].String,sn:"launchMediaPlayer"},{a:2,n:"LaunchMusicPlayer",is:!0,t:4,rt:$n[0].String,sn:"launchMusicPlayer"},{a:2,n:"LaunchPhone",is:!0,t:4,rt:$n[0].String,sn:"launchPhone"},{a:2,n:"LaunchScreenSaver",is:!0,t:4,rt:$n[0].String,sn:"launchScreenSaver"},{a:2,n:"LaunchSpreadsheet",is:!0,t:4,rt:$n[0].String,sn:"launchSpreadsheet"},{a:2,n:"LaunchWebBrowser",is:!0,t:4,rt:$n[0].String,sn:"launchWebBrowser"},{a:2,n:"LaunchWebCam",is:!0,t:4,rt:$n[0].String,sn:"launchWebCam"},{a:2,n:"LaunchWordProcessor",is:!0,t:4,rt:$n[0].String,sn:"launchWordProcessor"},{a:2,n:"Link",is:!0,t:4,rt:$n[0].String,sn:"link"},{a:2,n:"ListProgram",is:!0,t:4,rt:$n[0].String,sn:"listProgram"},{a:2,n:"LiveContent",is:!0,t:4,rt:$n[0].String,sn:"liveContent"},{a:2,n:"Lock",is:!0,t:4,rt:$n[0].String,sn:"lock"},{a:2,n:"LogOff",is:!0,t:4,rt:$n[0].String,sn:"logOff"},{a:2,n:"MailForward",is:!0,t:4,rt:$n[0].String,sn:"mailForward"},{a:2,n:"MailReply",is:!0,t:4,rt:$n[0].String,sn:"mailReply"},{a:2,n:"MailSend",is:!0,t:4,rt:$n[0].String,sn:"mailSend"},{a:2,n:"MannerMode",is:!0,t:4,rt:$n[0].String,sn:"mannerMode"},{a:2,n:"MediaApps",is:!0,t:4,rt:$n[0].String,sn:"mediaApps"},{a:2,n:"MediaAudioTrack",is:!0,t:4,rt:$n[0].String,sn:"mediaAudioTrack"},{a:2,n:"MediaClose",is:!0,t:4,rt:$n[0].String,sn:"mediaClose"},{a:2,n:"MediaFastForward",is:!0,t:4,rt:$n[0].String,sn:"mediaFastForward"},{a:2,n:"MediaLast",is:!0,t:4,rt:$n[0].String,sn:"mediaLast"},{a:2,n:"MediaPause",is:!0,t:4,rt:$n[0].String,sn:"mediaPause"},{a:2,n:"MediaPlay",is:!0,t:4,rt:$n[0].String,sn:"mediaPlay"},{a:2,n:"MediaPlayPause",is:!0,t:4,rt:$n[0].String,sn:"mediaPlayPause"},{a:2,n:"MediaRecord",is:!0,t:4,rt:$n[0].String,sn:"mediaRecord"},{a:2,n:"MediaRewind",is:!0,t:4,rt:$n[0].String,sn:"mediaRewind"},{a:2,n:"MediaSkipBackward",is:!0,t:4,rt:$n[0].String,sn:"mediaSkipBackward"},{a:2,n:"MediaSkipForward",is:!0,t:4,rt:$n[0].String,sn:"mediaSkipForward"},{a:2,n:"MediaStepBackward",is:!0,t:4,rt:$n[0].String,sn:"mediaStepBackward"},{a:2,n:"MediaStepForward",is:!0,t:4,rt:$n[0].String,sn:"mediaStepForward"},{a:2,n:"MediaStop",is:!0,t:4,rt:$n[0].String,sn:"mediaStop"},{a:2,n:"MediaTopMenu",is:!0,t:4,rt:$n[0].String,sn:"mediaTopMenu"},{a:2,n:"MediaTrackNext",is:!0,t:4,rt:$n[0].String,sn:"mediaTrackNext"},{a:2,n:"MediaTrackPrevious",is:!0,t:4,rt:$n[0].String,sn:"mediaTrackPrevious"},{a:2,n:"Meta",is:!0,t:4,rt:$n[0].String,sn:"meta"},{a:2,n:"MicrophoneToggle",is:!0,t:4,rt:$n[0].String,sn:"microphoneToggle"},{a:2,n:"MicrophoneVolumeDown",is:!0,t:4,rt:$n[0].String,sn:"microphoneVolumeDown"},{a:2,n:"MicrophoneVolumeMute",is:!0,t:4,rt:$n[0].String,sn:"microphoneVolumeMute"},{a:2,n:"MicrophoneVolumeUp",is:!0,t:4,rt:$n[0].String,sn:"microphoneVolumeUp"},{a:2,n:"ModeChange",is:!0,t:4,rt:$n[0].String,sn:"modeChange"},{a:2,n:"NavigateIn",is:!0,t:4,rt:$n[0].String,sn:"navigateIn"},{a:2,n:"NavigateNext",is:!0,t:4,rt:$n[0].String,sn:"navigateNext"},{a:2,n:"NavigateOut",is:!0,t:4,rt:$n[0].String,sn:"navigateOut"},{a:2,n:"NavigatePrevious",is:!0,t:4,rt:$n[0].String,sn:"navigatePrevious"},{a:2,n:"New",is:!0,t:4,rt:$n[0].String,sn:"new"},{a:2,n:"NextCandidate",is:!0,t:4,rt:$n[0].String,sn:"nextCandidate"},{a:2,n:"NextFavoriteChannel",is:!0,t:4,rt:$n[0].String,sn:"nextFavoriteChannel"},{a:2,n:"NextUserProfile",is:!0,t:4,rt:$n[0].String,sn:"nextUserProfile"},{a:2,n:"NonConvert",is:!0,t:4,rt:$n[0].String,sn:"nonConvert"},{a:2,n:"Notification",is:!0,t:4,rt:$n[0].String,sn:"notification"},{a:2,n:"NumLock",is:!0,t:4,rt:$n[0].String,sn:"numLock"},{a:2,n:"OnDemand",is:!0,t:4,rt:$n[0].String,sn:"onDemand"},{a:2,n:"Open",is:!0,t:4,rt:$n[0].String,sn:"open"},{a:2,n:"PageDown",is:!0,t:4,rt:$n[0].String,sn:"pageDown"},{a:2,n:"PageUp",is:!0,t:4,rt:$n[0].String,sn:"pageUp"},{a:2,n:"Pairing",is:!0,t:4,rt:$n[0].String,sn:"pairing"},{a:2,n:"Paste",is:!0,t:4,rt:$n[0].String,sn:"paste"},{a:2,n:"Pause",is:!0,t:4,rt:$n[0].String,sn:"pause"},{a:2,n:"PinPDown",is:!0,t:4,rt:$n[0].String,sn:"pinPDown"},{a:2,n:"PinPMove",is:!0,t:4,rt:$n[0].String,sn:"pinPMove"},{a:2,n:"PinPToggle",is:!0,t:4,rt:$n[0].String,sn:"pinPToggle"},{a:2,n:"PinPUp",is:!0,t:4,rt:$n[0].String,sn:"pinPUp"},{a:2,n:"Play",is:!0,t:4,rt:$n[0].String,sn:"play"},{a:2,n:"PlaySpeedDown",is:!0,t:4,rt:$n[0].String,sn:"playSpeedDown"},{a:2,n:"PlaySpeedReset",is:!0,t:4,rt:$n[0].String,sn:"playSpeedReset"},{a:2,n:"PlaySpeedUp",is:!0,t:4,rt:$n[0].String,sn:"playSpeedUp"},{a:2,n:"Power",is:!0,t:4,rt:$n[0].String,sn:"power"},{a:2,n:"PowerOff",is:!0,t:4,rt:$n[0].String,sn:"powerOff"},{a:2,n:"PreviousCandidate",is:!0,t:4,rt:$n[0].String,sn:"previousCandidate"},{a:2,n:"Print",is:!0,t:4,rt:$n[0].String,sn:"print"},{a:2,n:"PrintScreen",is:!0,t:4,rt:$n[0].String,sn:"printScreen"},{a:2,n:"Process",is:!0,t:4,rt:$n[0].String,sn:"process"},{a:2,n:"Props",is:!0,t:4,rt:$n[0].String,sn:"props"},{a:2,n:"RandomToggle",is:!0,t:4,rt:$n[0].String,sn:"randomToggle"},{a:2,n:"RcLowBattery",is:!0,t:4,rt:$n[0].String,sn:"rcLowBattery"},{a:2,n:"RecordSpeedNext",is:!0,t:4,rt:$n[0].String,sn:"recordSpeedNext"},{a:2,n:"Redo",is:!0,t:4,rt:$n[0].String,sn:"redo"},{a:2,n:"RfBypass",is:!0,t:4,rt:$n[0].String,sn:"rfBypass"},{a:2,n:"Romaji",is:!0,t:4,rt:$n[0].String,sn:"romaji"},{a:2,n:"STBInput",is:!0,t:4,rt:$n[0].String,sn:"sTBInput"},{a:2,n:"STBPower",is:!0,t:4,rt:$n[0].String,sn:"sTBPower"},{a:2,n:"Save",is:!0,t:4,rt:$n[0].String,sn:"save"},{a:2,n:"ScanChannelsToggle",is:!0,t:4,rt:$n[0].String,sn:"scanChannelsToggle"},{a:2,n:"ScreenModeNext",is:!0,t:4,rt:$n[0].String,sn:"screenModeNext"},{a:2,n:"ScrollLock",is:!0,t:4,rt:$n[0].String,sn:"scrollLock"},{a:2,n:"Select",is:!0,t:4,rt:$n[0].String,sn:"select"},{a:2,n:"Settings",is:!0,t:4,rt:$n[0].String,sn:"settings"},{a:2,n:"Shift",is:!0,t:4,rt:$n[0].String,sn:"shift"},{a:2,n:"SingleCandidate",is:!0,t:4,rt:$n[0].String,sn:"singleCandidate"},{a:2,n:"Soft1",is:!0,t:4,rt:$n[0].String,sn:"soft1"},{a:2,n:"Soft2",is:!0,t:4,rt:$n[0].String,sn:"soft2"},{a:2,n:"Soft3",is:!0,t:4,rt:$n[0].String,sn:"soft3"},{a:2,n:"Soft4",is:!0,t:4,rt:$n[0].String,sn:"soft4"},{a:2,n:"SpeechCorrectionList",is:!0,t:4,rt:$n[0].String,sn:"speechCorrectionList"},{a:2,n:"SpeechInputToggle",is:!0,t:4,rt:$n[0].String,sn:"speechInputToggle"},{a:2,n:"SpellCheck",is:!0,t:4,rt:$n[0].String,sn:"spellCheck"},{a:2,n:"SplitScreenToggle",is:!0,t:4,rt:$n[0].String,sn:"splitScreenToggle"},{a:2,n:"Standby",is:!0,t:4,rt:$n[0].String,sn:"standby"},{a:2,n:"Subtitle",is:!0,t:4,rt:$n[0].String,sn:"subtitle"},{a:2,n:"Super",is:!0,t:4,rt:$n[0].String,sn:"super"},{a:2,n:"Symbol",is:!0,t:4,rt:$n[0].String,sn:"symbol"},{a:2,n:"SymbolLock",is:!0,t:4,rt:$n[0].String,sn:"symbolLock"},{a:2,n:"TV",is:!0,t:4,rt:$n[0].String,sn:"TV"},{a:2,n:"TV3DMode",is:!0,t:4,rt:$n[0].String,sn:"tV3DMode"},{a:2,n:"TVAntennaCable",is:!0,t:4,rt:$n[0].String,sn:"tVAntennaCable"},{a:2,n:"TVAudioDescription",is:!0,t:4,rt:$n[0].String,sn:"tVAudioDescription"},{a:2,n:"TVAudioDescriptionMixDown",is:!0,t:4,rt:$n[0].String,sn:"tVAudioDescriptionMixDown"},{a:2,n:"TVAudioDescriptionMixUp",is:!0,t:4,rt:$n[0].String,sn:"tVAudioDescriptionMixUp"},{a:2,n:"TVContentsMenu",is:!0,t:4,rt:$n[0].String,sn:"tVContentsMenu"},{a:2,n:"TVDataService",is:!0,t:4,rt:$n[0].String,sn:"tVDataService"},{a:2,n:"TVInput",is:!0,t:4,rt:$n[0].String,sn:"tVInput"},{a:2,n:"TVInputComponent1",is:!0,t:4,rt:$n[0].String,sn:"tVInputComponent1"},{a:2,n:"TVInputComponent2",is:!0,t:4,rt:$n[0].String,sn:"tVInputComponent2"},{a:2,n:"TVInputComposite1",is:!0,t:4,rt:$n[0].String,sn:"tVInputComposite1"},{a:2,n:"TVInputComposite2",is:!0,t:4,rt:$n[0].String,sn:"tVInputComposite2"},{a:2,n:"TVInputHDMI1",is:!0,t:4,rt:$n[0].String,sn:"tVInputHDMI1"},{a:2,n:"TVInputHDMI2",is:!0,t:4,rt:$n[0].String,sn:"tVInputHDMI2"},{a:2,n:"TVInputHDMI3",is:!0,t:4,rt:$n[0].String,sn:"tVInputHDMI3"},{a:2,n:"TVInputHDMI4",is:!0,t:4,rt:$n[0].String,sn:"tVInputHDMI4"},{a:2,n:"TVInputVGA1",is:!0,t:4,rt:$n[0].String,sn:"tVInputVGA1"},{a:2,n:"TVMediaContext",is:!0,t:4,rt:$n[0].String,sn:"tVMediaContext"},{a:2,n:"TVNetwork",is:!0,t:4,rt:$n[0].String,sn:"tVNetwork"},{a:2,n:"TVNumberEntry",is:!0,t:4,rt:$n[0].String,sn:"tVNumberEntry"},{a:2,n:"TVPower",is:!0,t:4,rt:$n[0].String,sn:"tVPower"},{a:2,n:"TVRadioService",is:!0,t:4,rt:$n[0].String,sn:"tVRadioService"},{a:2,n:"TVSatellite",is:!0,t:4,rt:$n[0].String,sn:"tVSatellite"},{a:2,n:"TVSatelliteBS",is:!0,t:4,rt:$n[0].String,sn:"tVSatelliteBS"},{a:2,n:"TVSatelliteCS",is:!0,t:4,rt:$n[0].String,sn:"tVSatelliteCS"},{a:2,n:"TVSatelliteToggle",is:!0,t:4,rt:$n[0].String,sn:"tVSatelliteToggle"},{a:2,n:"TVTerrestrialAnalog",is:!0,t:4,rt:$n[0].String,sn:"tVTerrestrialAnalog"},{a:2,n:"TVTerrestrialDigital",is:!0,t:4,rt:$n[0].String,sn:"tVTerrestrialDigital"},{a:2,n:"TVTimer",is:!0,t:4,rt:$n[0].String,sn:"tVTimer"},{a:2,n:"Tab",is:!0,t:4,rt:$n[0].String,sn:"tab"},{a:2,n:"Teletext",is:!0,t:4,rt:$n[0].String,sn:"teletext"},{a:2,n:"Undo",is:!0,t:4,rt:$n[0].String,sn:"undo"},{a:2,n:"Unidentified",is:!0,t:4,rt:$n[0].String,sn:"unidentified"},{a:2,n:"VideoModeNext",is:!0,t:4,rt:$n[0].String,sn:"videoModeNext"},{a:2,n:"VoiceDial",is:!0,t:4,rt:$n[0].String,sn:"voiceDial"},{a:2,n:"WakeUp",is:!0,t:4,rt:$n[0].String,sn:"wakeUp"},{a:2,n:"Wink",is:!0,t:4,rt:$n[0].String,sn:"wink"},{a:2,n:"Zenkaku",is:!0,t:4,rt:$n[0].String,sn:"zenkaku"},{a:2,n:"ZenkakuHankaku",is:!0,t:4,rt:$n[0].String,sn:"zenkakuHankaku"},{a:2,n:"ZoomIn",is:!0,t:4,rt:$n[0].String,sn:"zoomIn"},{a:2,n:"ZoomOut",is:!0,t:4,rt:$n[0].String,sn:"zoomOut"},{a:2,n:"ZoomToggle",is:!0,t:4,rt:$n[0].String,sn:"zoomToggle"}]}});$m($n[1].DispatcherMessageExtensions,function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"If",is:!0,t:8,pi:[{n:"message",pt:$n[1].DispatcherMessage,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"if",rt:$n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,p:[$n[1].DispatcherMessage,Function]},{a:2,n:"If",is:!0,t:8,pi:[{n:"message",pt:$n[1].DispatcherMessage,ps:0},{n:"condition",pt:Function,ps:1},{n:"work",pt:Function,ps:2}],tpc:1,tprm:["T"],sn:"if$1",rt:$n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,p:[$n[1].DispatcherMessage,Function,Function]}]}});$m($n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,function(){return{td:$n[1].DispatcherMessageExtensions,att:162,a:2,m:[{ab:!0,a:2,n:"Else",t:8,pi:[{n:"work",pt:Function,ps:0}],tpc:1,tprm:["T"],sn:"Bridge$React$DispatcherMessageExtensions$IMatchDispatcherMessages$else",rt:$n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,p:[Function]},{ab:!0,a:2,n:"Else",t:8,pi:[{n:"condition",pt:Function,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"Bridge$React$DispatcherMessageExtensions$IMatchDispatcherMessages$else$1",rt:$n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,p:[Function,Function]},{ab:!0,a:2,n:"IfAnyMatched",t:8,pi:[{n:"work",pt:Function,ps:0}],sn:"Bridge$React$DispatcherMessageExtensions$IMatchDispatcherMessages$ifAnyMatched",rt:$n[0].Void,p:[Function]}]}});$m($n[1].DispatcherMessageExtensions.DispatcherMessageMatcher,function(){return{td:$n[1].DispatcherMessageExtensions,att:1048579,a:1,m:[{a:2,n:".ctor",t:1,p:[$n[1].DispatcherMessage],pi:[{n:"message",pt:$n[1].DispatcherMessage,ps:0}],sn:"ctor"},{a:2,n:"Else",t:8,pi:[{n:"work",pt:Function,ps:0}],tpc:1,tprm:["T"],sn:"else",rt:$n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,p:[Function]},{a:2,n:"Else",t:8,pi:[{n:"condition",pt:Function,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"else$1",rt:$n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,p:[Function,Function]},{a:1,n:"ElseWithOptionalCondition",t:8,pi:[{n:"optionalCondition",pt:Function,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"elseWithOptionalCondition",rt:$n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,p:[Function,Function]},{a:2,n:"IfAnyMatched",t:8,pi:[{n:"work",pt:Function,ps:0}],sn:"ifAnyMatched",rt:$n[0].Void,p:[Function]},{a:1,n:"_message",t:4,rt:$n[1].DispatcherMessage,sn:"_message",ro:!0}]}});$m($n[1].DispatcherMessageExtensions.MatchFoundSoMatchNoMoreDispatcherMessageMatcher,function(){return{td:$n[1].DispatcherMessageExtensions,att:1048579,a:1,m:[{a:1,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Else",t:8,pi:[{n:"work",pt:Function,ps:0}],tpc:1,tprm:["T"],sn:"else",rt:$n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,p:[Function]},{a:2,n:"Else",t:8,pi:[{n:"condition",pt:Function,ps:0},{n:"work",pt:Function,ps:1}],tpc:1,tprm:["T"],sn:"else$1",rt:$n[1].DispatcherMessageExtensions.IMatchDispatcherMessages,p:[Function,Function]},{a:2,n:"IfAnyMatched",t:8,pi:[{n:"work",pt:Function,ps:0}],sn:"ifAnyMatched",rt:$n[0].Void,p:[Function]},{a:2,n:"Instance",is:!0,t:4,rt:$n[1].DispatcherMessageExtensions.MatchFoundSoMatchNoMoreDispatcherMessageMatcher,sn:"instance"}]}});$m($n[1].AppDispatcher,function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:1,n:"Dispatch",t:8,pi:[{n:"message",pt:$n[1].DispatcherMessage,ps:0}],sn:"dispatch$1",rt:$n[0].Void,p:[$n[1].DispatcherMessage]},{a:2,n:"Dispatch",t:8,pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0}],sn:"dispatch",rt:$n[0].Void,p:[$n[1].IDispatcherAction]},{a:2,n:"HandleServerAction",t:8,pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0}],sn:"handleServerAction",rt:$n[0].Void,p:[$n[1].IDispatcherAction]},{a:2,n:"HandleViewAction",t:8,pi:[{n:"action",pt:$n[1].IDispatcherAction,ps:0}],sn:"handleViewAction",rt:$n[0].Void,p:[$n[1].IDispatcherAction]},{a:2,n:"Receive",t:8,pi:[{n:"callback",pt:Function,ps:0}],sn:"receive",rt:$n[1].DispatchToken,p:[Function]},{a:2,n:"Register",t:8,pi:[{n:"callback",pt:Function,ps:0}],sn:"register",rt:$n[1].DispatchToken,p:[Function]},{a:2,n:"Unregister",t:8,pi:[{n:"token",pt:$n[1].DispatchToken,ps:0}],sn:"unregister",rt:$n[0].Void,p:[$n[1].DispatchToken]},{a:2,n:"WaitFor",t:8,pi:[{n:"tokens",ip:!0,pt:System.Array.type(Bridge.React.DispatchToken),ps:0}],sn:"waitFor",rt:$n[0].Void,p:[System.Array.type(Bridge.React.DispatchToken)]},{a:2,n:"WaitFor",t:8,pi:[{n:"tokens",pt:$n[2].IEnumerable$1(Bridge.React.DispatchToken),ps:0}],sn:"waitFor$1",rt:$n[0].Void,p:[$n[2].IEnumerable$1(Bridge.React.DispatchToken)]},{a:1,n:"_callbacks",t:4,rt:$n[2].Dictionary$2(Bridge.React.DispatchToken,Function),sn:"_callbacks",ro:!0},{a:1,n:"_currentMessage",t:4,rt:$n[1].DispatcherMessage,sn:"_currentMessage"},{a:1,n:"_executingCallbacks",t:4,rt:$n[2].HashSet$1(Bridge.React.DispatchToken),sn:"_executingCallbacks",ro:!0},{a:1,n:"_finishedCallbacks",t:4,rt:$n[2].HashSet$1(Bridge.React.DispatchToken),sn:"_finishedCallbacks",ro:!0},{a:1,n:"_isDispatching",t:4,rt:$n[0].Boolean,sn:"_isDispatching",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m($n[1].DispatcherMessage,function(){return{att:1048833,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[1].MessageSourceOptions,$n[1].IDispatcherAction],pi:[{n:"source",pt:$n[1].MessageSourceOptions,ps:0},{n:"action",pt:$n[1].IDispatcherAction,ps:1}],sn:"ctor"},{a:2,n:"Action",t:16,rt:$n[1].IDispatcherAction,g:{a:2,n:"get_Action",t:8,rt:$n[1].IDispatcherAction,fg:"action"},s:{a:1,n:"set_Action",t:8,p:[$n[1].IDispatcherAction],rt:$n[0].Void,fs:"action"},fn:"action"},{a:2,n:"Source",t:16,rt:$n[1].MessageSourceOptions,g:{a:2,n:"get_Source",t:8,rt:$n[1].MessageSourceOptions,fg:"source",box:function($v){return Bridge.box($v,Bridge.React.MessageSourceOptions,System.Enum.toStringFn(Bridge.React.MessageSourceOptions))}},s:{a:1,n:"set_Source",t:8,p:[$n[1].MessageSourceOptions],rt:$n[0].Void,fs:"source"},fn:"source"}]}});$m($n[1].MessageSourceOptions,function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Server",is:!0,t:4,rt:$n[1].MessageSourceOptions,sn:"server",box:function($v){return Bridge.box($v,Bridge.React.MessageSourceOptions,System.Enum.toStringFn(Bridge.React.MessageSourceOptions))}},{a:2,n:"View",is:!0,t:4,rt:$n[1].MessageSourceOptions,sn:"view",box:function($v){return Bridge.box($v,Bridge.React.MessageSourceOptions,System.Enum.toStringFn(Bridge.React.MessageSourceOptions))}}]}});$m($n[1].IDispatcherAction,function(){return{att:161,a:2}});$m($n[1].PropsWithKey,function(){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,p:[System.Object],pi:[{n:"key",pt:System.Object,ps:0}],sn:"ctor"},{a:1,n:"Key",t:16,rt:System.Object,g:{a:1,n:"get_Key",t:8,rt:System.Object,fg:"key"},s:{a:1,n:"set_Key",t:8,p:[System.Object],rt:$n[0].Void,fs:"key"},fn:"key"}]}});$m($n[1].StatelessComponent$1,function(TProps){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,p:[TProps,System.Array.type(System.Object)],pi:[{n:"props",pt:TProps,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:1,n:"CreateStatelessRenderFunction",t:8,sn:"createStatelessRenderFunction",rt:Function},{ab:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"component",pt:$n[1].StatelessComponent$1(TProps),ps:0}],sn:"op_Implicit",rt:Object,p:[$n[1].StatelessComponent$1(TProps)]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"component",pt:$n[1].StatelessComponent$1(TProps),ps:0}],sn:"op_Implicit$1",rt:System.Object,p:[$n[1].StatelessComponent$1(TProps)]},{a:3,n:"Children",t:16,rt:System.Array.type(System.Object),g:{a:3,n:"get_Children",t:8,rt:System.Array.type(System.Object),fg:"children"},fn:"children"},{a:3,n:"props",t:16,rt:TProps,g:{a:3,n:"get_props",t:8,rt:TProps,fg:"unwrappedProps"},fn:"unwrappedProps"},{a:1,n:"_reactElement",t:4,rt:Object,sn:"_reactElement",ro:!0},{a:1,n:"_reactStatelessRenderFunctions",is:!0,t:4,rt:$n[2].Dictionary$2(Function,Function),sn:"_reactStatelessRenderFunctions"}]}});$m($n[1].Component$2,function(TProps,TState){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,p:[TProps,System.Array.type(System.Object)],pi:[{n:"props",pt:TProps,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{v:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{a:1,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:System.Object,ps:0},{n:"previousState",pt:System.Object,ps:1}],sn:"componentDidUpdate",rt:$n[0].Void,p:[System.Object,System.Object]},{v:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:TProps,ps:0},{n:"previousState",pt:TState,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[TProps,TState]},{v:!0,a:3,n:"ComponentWillMount",t:8,sn:"componentWillMount",rt:$n[0].Void},{a:1,n:"ComponentWillReceiveProps",t:8,pi:[{n:"nextPropsIfAny",pt:System.Object,ps:0}],sn:"componentWillReceiveProps",rt:$n[0].Void,p:[System.Object]},{v:!0,a:3,n:"ComponentWillReceiveProps",t:8,pi:[{n:"nextProps",pt:TProps,ps:0}],sn:"componentWillReceivePropsWrapped",rt:$n[0].Void,p:[TProps]},{v:!0,a:3,n:"ComponentWillUnmount",t:8,sn:"componentWillUnmount",rt:$n[0].Void},{a:1,n:"ComponentWillUpdate",t:8,pi:[{n:"nextProps",pt:System.Object,ps:0},{n:"nextState",pt:System.Object,ps:1}],sn:"componentWillUpdate",rt:$n[0].Void,p:[System.Object,System.Object]},{v:!0,a:3,n:"ComponentWillUpdate",t:8,pi:[{n:"nextProps",pt:TProps,ps:0},{n:"nextState",pt:TState,ps:1}],sn:"componentWillUpdateWrapped",rt:$n[0].Void,p:[TProps,TState]},{v:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:TState},{ab:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:3,n:"SetState",t:8,pi:[{n:"updater",pt:Function,ps:0}],sn:"setWrappedStateUsingUpdater",rt:$n[0].Void,p:[Function]},{a:3,n:"SetState",t:8,pi:[{n:"state",pt:TState,ps:0}],sn:"setWrappedState",rt:$n[0].Void,p:[TState]},{a:3,n:"SetState",t:8,pi:[{n:"updater",pt:Function,ps:0},{n:"callback",pt:Function,ps:1}],sn:"setWrappedStateCallbackUsingUpdater",rt:$n[0].Void,p:[Function,Function]},{a:3,n:"SetState",t:8,pi:[{n:"state",pt:TState,ps:0},{n:"callback",pt:Function,ps:1}],sn:"setWrappedStateCallback",rt:$n[0].Void,p:[TState,Function]},{a:3,n:"SetStateAsync",t:8,pi:[{n:"updater",pt:Function,ps:0}],sn:"setWrappedStateAsyncUsingUpdater",rt:$n[3].Task,p:[Function]},{a:3,n:"SetStateAsync",t:8,pi:[{n:"state",pt:TState,ps:0}],sn:"setWrappedStateAsync",rt:$n[3].Task,p:[TState]},{a:1,n:"ShouldComponentUpdate",t:8,pi:[{n:"nextPropsIfAny",pt:System.Object,ps:0},{n:"nextStateIfAny",pt:System.Object,ps:1}],sn:"shouldComponentUpdate",rt:$n[0].Boolean,p:[System.Object,System.Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{v:!0,a:3,n:"ShouldComponentUpdate",t:8,pi:[{n:"nextProps",pt:TProps,ps:0},{n:"nextState",pt:TState,ps:1}],sn:"shouldComponentUpdateWrapped",rt:$n[0].Boolean,p:[TProps,TState],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"component",pt:$n[1].Component$2(TProps,TState),ps:0}],sn:"op_Implicit",rt:Object,p:[$n[1].Component$2(TProps,TState)]},{a:2,n:"op_Implicit",is:!0,t:8,pi:[{n:"component",pt:$n[1].Component$2(TProps,TState),ps:0}],sn:"op_Implicit$1",rt:System.Object,p:[$n[1].Component$2(TProps,TState)]},{a:3,n:"Children",t:16,rt:System.Array.type(System.Object),g:{a:3,n:"get_Children",t:8,rt:System.Array.type(System.Object),fg:"children"},fn:"children"},{a:3,n:"props",t:16,rt:TProps,g:{a:3,n:"get_props",t:8,rt:TProps,fg:"unwrappedProps"},fn:"unwrappedProps"},{a:3,n:"state",t:16,rt:TState,g:{a:3,n:"get_state",t:8,rt:TState,fg:"unwrappedState"},fn:"unwrappedState"},{a:1,n:"_reactComponentClasses",is:!0,t:4,rt:$n[2].Dictionary$2(Function,System.Object),sn:"_reactComponentClasses"},{a:1,n:"_reactElement",t:4,rt:Object,sn:"_reactElement",ro:!0}]}});$m($n[1].Style,function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"FontSize",is:!0,t:8,pi:[{n:"fontSize",pt:System.Object,ps:0}],sn:"fontSize$1",rt:System.Object,p:[System.Object]},{a:2,n:"FontSize",is:!0,t:8,pi:[{n:"style",pt:System.Object,ps:0},{n:"fontSize",pt:System.Object,ps:1}],sn:"fontSize",rt:System.Object,p:[System.Object,System.Object]},{a:2,n:"Height",is:!0,t:8,pi:[{n:"height",pt:System.Object,ps:0}],sn:"height$1",rt:System.Object,p:[System.Object]},{a:2,n:"Height",is:!0,t:8,pi:[{n:"style",pt:System.Object,ps:0},{n:"height",pt:System.Object,ps:1}],sn:"height",rt:System.Object,p:[System.Object,System.Object]},{a:2,n:"Margin",is:!0,t:8,pi:[{n:"margin",pt:System.Object,ps:0}],sn:"margin$2",rt:System.Object,p:[System.Object]},{a:2,n:"Margin",is:!0,t:8,pi:[{n:"style",pt:System.Object,ps:0},{n:"margin",pt:System.Object,ps:1}],sn:"margin",rt:System.Object,p:[System.Object,System.Object]},{a:2,n:"Margin",is:!0,t:8,pi:[{n:"top",pt:System.Object,ps:0},{n:"right",pt:System.Object,ps:1},{n:"bottom",pt:System.Object,ps:2},{n:"left",pt:System.Object,ps:3}],sn:"margin$3",rt:System.Object,p:[System.Object,System.Object,System.Object,System.Object]},{a:2,n:"Margin",is:!0,t:8,pi:[{n:"style",pt:System.Object,ps:0},{n:"top",pt:System.Object,ps:1},{n:"right",pt:System.Object,ps:2},{n:"bottom",pt:System.Object,ps:3},{n:"left",pt:System.Object,ps:4}],sn:"margin$1",rt:System.Object,p:[System.Object,System.Object,System.Object,System.Object,System.Object]},{a:2,n:"MergeWith",is:!0,t:8,pi:[{n:"source",pt:System.Object,ps:0},{n:"other",pt:System.Object,ps:1}],sn:"mergeWith",rt:System.Object,p:[System.Object,System.Object]},{a:2,n:"Padding",is:!0,t:8,pi:[{n:"padding",pt:System.Object,ps:0}],sn:"padding$2",rt:System.Object,p:[System.Object]},{a:2,n:"Padding",is:!0,t:8,pi:[{n:"style",pt:System.Object,ps:0},{n:"padding",pt:System.Object,ps:1}],sn:"padding",rt:System.Object,p:[System.Object,System.Object]},{a:2,n:"Padding",is:!0,t:8,pi:[{n:"top",pt:System.Object,ps:0},{n:"right",pt:System.Object,ps:1},{n:"bottom",pt:System.Object,ps:2},{n:"left",pt:System.Object,ps:3}],sn:"padding$3",rt:System.Object,p:[System.Object,System.Object,System.Object,System.Object]},{a:2,n:"Padding",is:!0,t:8,pi:[{n:"style",pt:System.Object,ps:0},{n:"top",pt:System.Object,ps:1},{n:"right",pt:System.Object,ps:2},{n:"bottom",pt:System.Object,ps:3},{n:"left",pt:System.Object,ps:4}],sn:"padding$1",rt:System.Object,p:[System.Object,System.Object,System.Object,System.Object,System.Object]},{a:2,n:"Width",is:!0,t:8,pi:[{n:"width",pt:System.Object,ps:0}],sn:"width$1",rt:System.Object,p:[System.Object]},{a:2,n:"Width",is:!0,t:8,pi:[{n:"style",pt:System.Object,ps:0},{n:"width",pt:System.Object,ps:1}],sn:"width",rt:System.Object,p:[System.Object,System.Object]}]}})});Bridge.assembly("UIComponents",function($asm){"use strict";Bridge.define("GiveEasy.Shared.ViewModelException",{inherits:[System.Exception],props:{friendlyMessage:null},ctors:{ctor:function(friendlyMessage,innerException){this.$initialize();System.Exception.ctor.call(this,innerException.Message,innerException);this.friendlyMessage=friendlyMessage}}});Bridge.define("GiveEasy.Shared.Data.CardInfo",{$kind:"struct",statics:{methods:{truncatePAN:function(pan){return System.String.isNullOrWhiteSpace(pan)||pan.length<3?"XXXX  XXXX  XXXX  XXXX":"XXXX  XXXX  XXXX  X"+(System.String.fromCharArray(System.Linq.Enumerable.from(pan).skip(pan.length-3|0).toArray(System.Char))||"")},normalizeYear:function(yy){return yy%2e3+2e3|0},getDefaultValue:function(){return new GiveEasy.Shared.Data.CardInfo}}},fields:{_truncatedPan:null,_expiryMonthValue:null,_expiryYearValue:null},props:{truncatedPan:{get:function(){return GiveEasy.Shared.Data.CardInfo.truncatePAN(this._truncatedPan)},set:function(value){this._truncatedPan=value}},internalPan:{get:function(){return this._truncatedPan}},expiryMonth:{get:function(){return this._expiryMonthValue},set:function(value){this._expiryMonthValue=System.Nullable.hasValue(value)?Math.min(12,Math.max(1,System.Nullable.getValue(value))):value}},expiryYear:{get:function(){return this._expiryYearValue},set:function(value){this._expiryYearValue=System.Nullable.hasValue(value)?GiveEasy.Shared.Data.CardInfo.normalizeYear(System.Nullable.getValueOrDefault(value,0)):value}}},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([3554201484,this._truncatedPan,this._expiryMonthValue,this._expiryYearValue])},equals:function(o){return Bridge.is(o,GiveEasy.Shared.Data.CardInfo)?Bridge.equals(this._truncatedPan,o._truncatedPan)&&Bridge.equals(this._expiryMonthValue,o._expiryMonthValue)&&Bridge.equals(this._expiryYearValue,o._expiryYearValue):!1},$clone:function(to){var s=to||new GiveEasy.Shared.Data.CardInfo;return s._truncatedPan=this._truncatedPan,s._expiryMonthValue=this._expiryMonthValue,s._expiryYearValue=this._expiryYearValue,s}}});Bridge.define("GiveEasy.Shared.Data.CardInfoExtensions",{statics:{methods:{expires:function(self){var $t;if(!System.Nullable.hasValue(self.expiryYear))return System.DateTime.getMaxValue();var yyyy=System.Nullable.getValue(self.expiryYear),mm=($t=self.expiryMonth,$t!=null?$t:12);return System.DateTime.create(yyyy,mm,System.DateTime.getDaysInMonth(yyyy,mm))}}}});Bridge.define("GiveEasy.Shared.Data.Comments.CommentInfo",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new GiveEasy.Shared.Data.Comments.CommentInfo}}},fields:{isAnonymous:!1,userMessage:null,canonicalUrl:null},props:{items:{get:function(){return Bridge.fn.bind(this,$asm.$.GiveEasy.Shared.Data.Comments.CommentInfo.f1)(new(System.Collections.Generic.Dictionary$2(System.String,System.Object)))}}},ctors:{ctor:function(){this.$initialize()}},methods:{update:function(values){return this.isAnonymous=Bridge.referenceEquals(Bridge.cast(GiveEasy.Shared.Extensions.get(System.Object,values,"comment_anonymous",System.Boolean.toString(this.isAnonymous)),System.String),System.Boolean.toString(!0)),this.canonicalUrl=Bridge.cast(GiveEasy.Shared.Extensions.get(System.Object,values,"comment_url",this.canonicalUrl),System.String),this.userMessage=Bridge.cast(GiveEasy.Shared.Extensions.get(System.Object,values,"comment_message",this.userMessage),System.String),this},getHashCode:function(){return Bridge.addHash([3075556374,this.isAnonymous,this.userMessage,this.canonicalUrl])},equals:function(o){return Bridge.is(o,GiveEasy.Shared.Data.Comments.CommentInfo)?Bridge.equals(this.isAnonymous,o.isAnonymous)&&Bridge.equals(this.userMessage,o.userMessage)&&Bridge.equals(this.canonicalUrl,o.canonicalUrl):!1},$clone:function(to){var s=to||new GiveEasy.Shared.Data.Comments.CommentInfo;return s.isAnonymous=this.isAnonymous,s.userMessage=this.userMessage,s.canonicalUrl=this.canonicalUrl,s}}});Bridge.ns("GiveEasy.Shared.Data.Comments.CommentInfo",$asm.$);Bridge.apply($asm.$.GiveEasy.Shared.Data.Comments.CommentInfo,{f1:function(_o1){return _o1.add("comment_anonymous",Bridge.box(this.isAnonymous,System.Boolean,System.Boolean.toString)),_o1.add("comment_url",this.canonicalUrl),_o1.add("comment_message",this.userMessage),_o1}});Bridge.define("GiveEasy.Shared.Data.Comments.ForumInfo",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new GiveEasy.Shared.Data.Comments.ForumInfo}}},fields:{comment_forum:null,comment_secret:null,comment_access_token:null,compounduuid:null},ctors:{init:function(){this.compounduuid=new System.Guid},ctor:function(){this.$initialize()}},methods:{update:function(values){return this.comment_forum=Bridge.cast(GiveEasy.Shared.Extensions.get(System.Object,values,"comment_forum",this.comment_forum),System.String),this.comment_secret=Bridge.cast(GiveEasy.Shared.Extensions.get(System.Object,values,"comment_secret",this.comment_secret),System.String),this.comment_access_token=Bridge.cast(GiveEasy.Shared.Extensions.get(System.Object,values,"comment_access_token",this.comment_access_token),System.String),this},items:function(){return Bridge.fn.bind(this,$asm.$.GiveEasy.Shared.Data.Comments.ForumInfo.f1)(new(System.Collections.Generic.Dictionary$2(System.String,System.Object)))},getHashCode:function(){return Bridge.addHash([3688937762,this.comment_forum,this.comment_secret,this.comment_access_token,this.compounduuid])},equals:function(o){return Bridge.is(o,GiveEasy.Shared.Data.Comments.ForumInfo)?Bridge.equals(this.comment_forum,o.comment_forum)&&Bridge.equals(this.comment_secret,o.comment_secret)&&Bridge.equals(this.comment_access_token,o.comment_access_token)&&Bridge.equals(this.compounduuid,o.compounduuid):!1},$clone:function(to){var s=to||new GiveEasy.Shared.Data.Comments.ForumInfo;return s.comment_forum=this.comment_forum,s.comment_secret=this.comment_secret,s.comment_access_token=this.comment_access_token,s.compounduuid=this.compounduuid,s}}});Bridge.ns("GiveEasy.Shared.Data.Comments.ForumInfo",$asm.$);Bridge.apply($asm.$.GiveEasy.Shared.Data.Comments.ForumInfo,{f1:function(_o1){return _o1.add("comment_forum",this.comment_forum),_o1.add("comment_secret",this.comment_secret),_o1.add("comment_access_token",this.comment_access_token),_o1}});Bridge.define("GiveEasy.Shared.IReceipt",{$kind:"interface"});Bridge.define("GiveEasy.Shared.Data.PaymentInfo",{props:{transaction:0,paymentID:null,paymentURL:null,resultURL:null}});Bridge.define("GiveEasy.Shared.Data.TransactionStatus",{$kind:"enum",statics:{fields:{unpaid:0,pledge:1,success:2,refunded:3,fraud:4}}});Bridge.define("GiveEasy.Shared.Extensions",{statics:{fields:{num_regex:null},ctors:{init:function(){this.num_regex=new System.Text.RegularExpressions.Regex.ctor("(\\d*\\.?\\d*)")}},methods:{toBase64:function(self){var bytes=self.toByteArray();return System.String.replaceAll(System.String.replaceAll(System.String.replaceAll(System.Convert.toBase64String(bytes,null,null,null),String.fromCharCode(47),String.fromCharCode(45)),String.fromCharCode(43),String.fromCharCode(95)),"=","")},localKey:function(self){return Bridge.is(self,System.String)?Bridge.cast(self,System.String):System.String.format("{0:X}_{1:X}",Bridge.box(Bridge.getHashCode(Bridge.Reflection.getTypeFullName(Bridge.getType(self))),System.Int32),Bridge.box(Bridge.getHashCode(self),System.Int32))},asQueryParams:function(V,self){var f=$asm.$.GiveEasy.Shared.Extensions.f1;return Bridge.toArray(System.Linq.Enumerable.from(self["System$Collections$Generic$IDictionary$2$System$String$"+Bridge.getTypeAlias(V)+"$Keys"]).select(function(a){return(System.String.replaceAll(a," ","").toLowerCase()||"")+"="+(f(System.String.format("{0}",[self["System$Collections$Generic$IDictionary$2$System$String$"+Bridge.getTypeAlias(V)+"$getItem"](a)]))||"")})).join("&")},fromQueryParams:function(self){return System.Linq.Enumerable.from(System.String.split(self,[38].map(function(i){return String.fromCharCode(i)}))).toDictionary($asm.$.GiveEasy.Shared.Extensions.f2,$asm.$.GiveEasy.Shared.Extensions.f3,System.String,System.String)},urlTLD:function(fullurl){var idx=System.String.indexOf(fullurl,"://",0,fullurl.length,4),scheme="https",path=fullurl.substr(idx+3|0,(fullurl.length-idx|0)-3|0),host=System.Linq.Enumerable.from(System.String.split(path,[47].map(function(i){return String.fromCharCode(i)}))).first();return System.String.contains(fullurl,"localhost")&&System.String.endsWith(host,":51496")&&(scheme=fullurl.substr(0,idx)),(System.String.endsWith(host,":80")||System.String.endsWith(host,":443"))&&(host=System.Linq.Enumerable.from(System.String.split(host,[58].map(function(i){return String.fromCharCode(i)}))).first()),System.String.endsWith(host,":51496")&&(host=System.String.replaceAll(host,"51496","9162")),System.String.endsWith(host,"test.giveeasy.org")||System.String.endsWith(host,"giveeasy.info")||System.String.endsWith(host,"service-001.giveeasy.org")||System.String.endsWith(host,"service-002.giveeasy.org")||System.String.endsWith(host,"service-003.giveeasy.org")?host="test.giveeasy.org":System.String.endsWith(host,"giveeasy.org")&&(host="giveeasy.org"),System.String.format("{0}://{1}",scheme,host)},apiUrl:function(fullurl,localPort){localPort===void 0&&(localPort=51496);var tld=GiveEasy.Shared.Extensions.urlTLD(fullurl),baseurl=System.String.format("https://service.giveeasy.org/",null);return System.String.contains(tld,"localhost")?baseurl=System.String.format("http://localhost:{0}/",[Bridge.box(localPort,System.Int32)]):(System.String.contains(tld,"test.giveeasy")||System.String.contains(tld,"service-001.giveeasy")||System.String.contains(tld,"service-002.giveeasy")||System.String.contains(tld,"service-003.giveeasy")||System.String.contains(tld,"giveeasy.info"))&&(baseurl=System.String.format("https://service-test.giveeasy.org/",null)),baseurl},toSeoFriendly:function(subject){return subject=subject.trim().toLowerCase(),subject=System.Text.RegularExpressions.Regex.replace(subject,"\\s+","-"),System.Text.RegularExpressions.Regex.replace(subject,"[^A-Za-z0-9_-]","")},toLowerFragment:function(subject){var value=subject.trim().toLowerCase(),_ws=new System.Text.RegularExpressions.Regex.ctor("\\s+"),_pt=new System.Text.RegularExpressions.Regex.ctor("[^A-Za-z0-9_\\.\\ -]+"),_frag=new System.Text.RegularExpressions.Regex.ctor("[^A-Za-z0-9_\\.]+");return value=_pt.replace(value,""),value=_ws.replace(value," "),_frag.replace(value,"-")},toURLFriendly:function(target){return target=target.trim().toLowerCase(),System.Text.RegularExpressions.Regex.replace(target,"[^A-Za-z0-9_\\.~]+","-")},matchCurrency:function(self){return GiveEasy.Shared.Extensions.matchCurrency$1(self,["$"])},matchCurrency$1:function(self,symbols){var $t,matches,match,value;if(symbols===void 0&&(symbols=[]),System.Linq.Enumerable.from(symbols).any(function(s){return System.String.contains(self,s)})){matches=GiveEasy.Shared.Extensions.num_regex.matches(self);$t=Bridge.getEnumerator(matches);try{while($t.moveNext())if(match=Bridge.cast($t.Current,System.Text.RegularExpressions.Match),value={},System.Decimal.tryParse(match.getGroups().get(1).getValue(),null,value))return value.v}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}return System.Decimal.lift(null)},plural:function(self,count,multisuffix,singlesuffix){return(multisuffix===void 0&&(multisuffix="s"),singlesuffix===void 0&&(singlesuffix=""),count===1)?(self||"")+(singlesuffix||""):(self||"")+(multisuffix||"")},get:function(T,self,key,$default){$default===void 0&&($default=Bridge.getDefaultValue(T));var temp={};return self["System$Collections$Generic$IDictionary$2$System$String$"+Bridge.getTypeAlias(T)+"$tryGetValue"](key,temp)?temp.v:$default},isNumericType:function(t){return Bridge.referenceEquals(t,System.Int32)||Bridge.referenceEquals(t,System.UInt32)||Bridge.referenceEquals(t,System.Int64)||Bridge.referenceEquals(t,System.UInt64)||Bridge.referenceEquals(t,System.Double)||Bridge.referenceEquals(t,System.Single)||Bridge.referenceEquals(t,System.Decimal)||Bridge.referenceEquals(t,System.Int16)||Bridge.referenceEquals(t,System.UInt16)||Bridge.referenceEquals(t,System.SByte)||Bridge.referenceEquals(t,System.Byte)}}}});Bridge.ns("GiveEasy.Shared.Extensions",$asm.$);Bridge.apply($asm.$.GiveEasy.Shared.Extensions,{f1:function(x){return System.String.isNullOrWhiteSpace(x)?"":encodeURIComponent(x)},f2:function(c){return System.Linq.Enumerable.from(System.String.split(c,[61].map(function(i){return String.fromCharCode(i)}))).firstOrDefault(null,null)},f3:function(c){var $t;return decodeURIComponent(($t=System.Linq.Enumerable.from(System.String.split(c,[61].map(function(i){return String.fromCharCode(i)}))).lastOrDefault(null,null),$t!=null?$t:""))}});Bridge.define("GiveEasy.Shared.HttpRequestException",{inherits:[System.Exception],fields:{code:0},ctors:{ctor:function(code,message){message===void 0&&(message="");this.$initialize();System.Exception.ctor.call(this,message);this.code=code}},methods:{statusCode:function(){return this.code}}});Bridge.define("GiveEasy.Shared.IAppealTitle",{$kind:"interface"});Bridge.define("GiveEasy.Shared.ICustomPageTitle",{$kind:"interface"});Bridge.define("GiveEasy.Shared.IReceiptTitle",{$kind:"interface"});Bridge.define("GiveEasy.Shared.ViewExtensions",{statics:{methods:{hostUrl:function(url){return System.String.format("{0}{1}","https://giveeasy.org",url)},toSeoFriendly:function(title){return GiveEasy.Shared.Extensions.toSeoFriendly(title)}}}});Bridge.define("UIComponents.IKeyProps",{$kind:"interface"});Bridge.define("UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState",{$kind:"nested enum",statics:{fields:{ready:0,startSave:1,saving:2,error:3}}});Bridge.define("UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState",{$kind:"nested enum",statics:{fields:{ready:0,startSave:1,saving:2,error:3}}});Bridge.define("UIComponents.Apps.AppealEditor.PageEditorApp.SaveState",{$kind:"nested enum",statics:{fields:{ready:0,startSave:1,saving:2,error:3}}});Bridge.define("UIComponents.Apps.AppealEditor.PageEditorApp.ServiceEndpointRequest",{$kind:"nested class",props:{charityId:0,UUID:null,html:null}});Bridge.define("UIComponents.Components.Configurable.IConfigControl",{$kind:"interface"});Bridge.define("UIComponents.Apps.DonateForm.ButtonForm.Props",{$kind:"nested class",props:{isDisabled:null,buttons:null,items:null}});Bridge.define("UIComponents.Apps.DonateForm.ButtonForm.SubmitRequest",{$kind:"nested class",fields:{items:null}});Bridge.define("UIComponents.Components.Form.ISubmitForm",{$kind:"interface"});Bridge.define("UIComponents.Apps.DonateForm.EwaySecurePaymentForm.Props",{$kind:"nested class",props:{formAttributes:null,onSubmit:null,fields:null,accessCode:null,label:null,disabled:!1},ctors:{init:function(){this.label="Submit"},ctor:function(accessCode){this.$initialize();this.accessCode=accessCode}}});Bridge.define("UIComponents.Apps.DonateForm.TokenForm.Props",{$kind:"nested class",props:{formAttributes:null,onSubmit:null,card:null,label:null,disabled:!1},ctors:{init:function(){this.card=new GiveEasy.Shared.Data.CardInfo;this.label="Submit"}}});Bridge.define("UIComponents.Apps.ProgressWidget.AppealSelect.Props",{$kind:"nested class",props:{initial:null,onUpdate:null}});Bridge.define("UIComponents.Apps.ProgressWidget.DonationQuery",{statics:{methods:{oDataUrl:function(query){var baseurl=GiveEasy.Shared.Extensions.urlTLD(UIComponents.XBrowser.documentURI()),url=System.String.format("{0}/odata/donation",[baseurl]),filter=UIComponents.Apps.ProgressWidget.DonationQuery.filter(query);return(url||"")+(System.String.format("?$apply={0}/{1}",filter,"aggregate(amount with sum as Total)")||"")},filter:function(query){var clauses=new(System.Collections.Generic.List$1(System.String).ctor),filter="filter(",clause1=Bridge.toArray(System.Linq.Enumerable.from(query.appealTitles).select($asm.$.UIComponents.Apps.ProgressWidget.DonationQuery.f1)).join(" or ");return clauses.add(clause1),clauses.add(System.String.format("charityid eq {0}",[Bridge.box(query.charityId,System.Int32)])),clauses.add(System.String.format("(transaction eq 'Success') or (transaction eq 'Pledge')",null)),filter=(filter||"")+(Bridge.toArray(System.Linq.Enumerable.from(clauses).select($asm.$.UIComponents.Apps.ProgressWidget.DonationQuery.f2)).join(" and ")||""),(filter||"")+")"}}},props:{appealTitles:null,charityId:0},ctors:{init:function(){this.appealTitles=System.Array.init([],System.String)}}});Bridge.ns("UIComponents.Apps.ProgressWidget.DonationQuery",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.ProgressWidget.DonationQuery,{f1:function(a){return System.String.format("(appealtitle eq '{0}')",[a])},f2:function(x){return System.String.format("({0})",[x])}});Bridge.definei("UIComponents.Dispatchers.ContextDispatcher.IContextState$1",function(){return{inherits:[Bridge.React.IDispatcherAction],$kind:"nested interface",$variance:[1]}});Bridge.define("UIComponents.Apps.ProgressWidgetApp.ProgressStyle",{$kind:"nested enum",statics:{fields:{"default":0,horizontal:1}}});Bridge.define("UIComponents.Apps.SearchWidget.SearchInput.Props",{$kind:"nested class",props:{value:null,onChange:null,onBlur:null,placeholder:null}});Bridge.define("UIComponents.Apps.SearchWidget.SearchWidgetApp.Props",{$kind:"nested class",props:{doSearch:null,placeholder:null}});Bridge.define("UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult}}},fields:{id:null,title:null,url:null,snippet:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([5572150057,this.id,this.title,this.url,this.snippet])},equals:function(o){return Bridge.is(o,UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult)?Bridge.equals(this.id,o.id)&&Bridge.equals(this.title,o.title)&&Bridge.equals(this.url,o.url)&&Bridge.equals(this.snippet,o.snippet):!1},$clone:function(to){var s=to||new UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult;return s.id=this.id,s.title=this.title,s.url=this.url,s.snippet=this.snippet,s}}});Bridge.define("UIComponents.Components.Tooltips.ITooltip",{$kind:"interface"});Bridge.define("UIComponents.Components.Configurable.BannerStyle",{$kind:"enum",statics:{fields:{contain:0,cropHorizontal:1,cropVertical:2,cover:3}},$flags:!0});Bridge.define("UIComponents.Components.Configurable.ConfigState",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Configurable.ConfigState}}},fields:{active:!1,button:null,panel:null},ctors:{$ctor1:function(button,panel,active){active===void 0&&(active=!1);this.$initialize();this.active=active;this.button=button;this.panel=panel},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([3676785421,this.active,this.button,this.panel])},equals:function(o){return Bridge.is(o,UIComponents.Components.Configurable.ConfigState)?Bridge.equals(this.active,o.active)&&Bridge.equals(this.button,o.button)&&Bridge.equals(this.panel,o.panel):!1},$clone:function(to){var s=to||new UIComponents.Components.Configurable.ConfigState;return s.active=this.active,s.button=this.button,s.panel=this.panel,s}}});Bridge.define("UIComponents.Components.Configurable.ConfigUtils",{statics:{methods:{setInputDefault:function(form,inputname,value){var input=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLInputElement,form)).where(function(i){return Bridge.referenceEquals(i.name,inputname)}).singleOrDefault(null,null);return input!=null&&(input.value=value,input.placeholder=value,input.defaultValue=value),input}}}});Bridge.define("UIComponents.Components.Containers.SimpleCarouselContainer.Props",{$kind:"nested class"});Bridge.define("UIComponents.Components.Elements.LeaderboardPanel.Props",{$kind:"nested class",fields:{newState:null},props:{oDataUrl:null,appealTitle:null,charityId:0,canShow:!1},ctors:{init:function(){this.newState=new UIComponents.Components.Elements.LeaderboardPanel.State}}});Bridge.define("UIComponents.Components.Form.Buttons.EventButton.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Form.Buttons.EventButton.State}}},methods:{$clone:function(){return this}}});Bridge.define("UIComponents.Components.Form.Editor.HasValidatorAttribute",{inherits:[System.Attribute],statics:{methods:{validatorFactory:function(propstype,args){args===void 0&&(args=[]);var label=Bridge.Reflection.applyConstructor(propstype,args);return Bridge.as(label,UIComponents.IValidator)}}},props:{validator:null},ctors:{ctor:function(propstype,args){args===void 0&&(args=[]);this.$initialize();System.Attribute.ctor.call(this);this.validator=UIComponents.Components.Form.Editor.HasValidatorAttribute.validatorFactory(propstype,args)}}});Bridge.define("UIComponents.Components.Form.Editor.InputForAttribute",{inherits:[System.Attribute],statics:{methods:{labelFactory:function(propstype,args){args===void 0&&(args=[]);var label=Bridge.Reflection.applyConstructor(propstype,args);return Bridge.as(label,UIComponents.IKeyProps)}}},fields:{inputType:"button",inputLabel:null,sortOrder:0,selectOptions:null},events:{onChanged:null},props:{disabled:!1},ctors:{init:function(){this.inputType="text";this.selectOptions=new(System.Collections.Generic.Dictionary$2(System.Object,System.String));Bridge.event(this,"onChanged",$asm.$.UIComponents.Components.Form.Editor.InputForAttribute.f1)},ctor:function(inputtype,disabled,order,inputlabel){disabled===void 0&&(disabled=!1);order===void 0&&(order=2147483647);inputlabel===void 0&&(inputlabel=null);var $t;this.$initialize();System.Attribute.ctor.call(this);this.inputType=inputtype;this.disabled=disabled;System.String.isNullOrWhiteSpace(inputlabel)||(this.inputLabel=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=inputlabel,$t));this.sortOrder=order},$ctor1:function(inputtype,disabled,order,labeltype,labelargs){var label,helplabel;labelargs===void 0&&(labelargs=[]);UIComponents.Components.Form.Editor.InputForAttribute.ctor.call(this,inputtype,disabled,order);label=UIComponents.Components.Form.Editor.InputForAttribute.labelFactory(labeltype,labelargs);this.disabled&&(helplabel=Bridge.as(label,UIComponents.Components.Form.Labels.HelpLabel.Props),helplabel!=null&&(helplabel.onClicked=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Form.Editor.InputForAttribute.f2)));this.inputLabel=label},$ctor2:function(selectenumtype,disabled,order,labeltype,labelargs){var $t,val;labelargs===void 0&&(labelargs=[]);UIComponents.Components.Form.Editor.InputForAttribute.$ctor1.call(this,"text",disabled,order,labeltype,labelargs);$t=Bridge.getEnumerator(System.Enum.getValues(selectenumtype));try{while($t.moveNext())val=$t.Current,this.selectOptions.add(System.Enum.getName(selectenumtype,val),System.Enum.getName(selectenumtype,val))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}}});Bridge.ns("UIComponents.Components.Form.Editor.InputForAttribute",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Form.Editor.InputForAttribute,{f1:function(){},f2:function(e){this.disabled=!e.clicked;this.onChanged(this)}});Bridge.define("UIComponents.CustInput.FieldConfig",{$kind:"nested class",props:{customField:null},ctors:{ctor:function(){this.$initialize();this.customField=Bridge.Reflection.getTypeName(UIComponents.CustInput)}}});Bridge.define("UIComponents.Components.Form.SubmitEventArgs",{fields:{fields:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin",{statics:{methods:{menuButton:function(key,onClick){return{key:key,className:"ae-button ae-button-bridge",onClick:function(){onClick()},data:{type:"button-embed"}}},menuIcon:function(key,iconUrl){return{key:System.String.format("{0}",[key]),className:System.String.format("ae-icon-{0}",[key]),style:{backgroundImage:System.String.format("url('{0}')",[iconUrl]),backgroundPosition:"0px 0px",backgroundSize:"24px",width:"24px",height:"24px"}}},registerPlugin:function(P,plugin,alloyhandle){var $ctor=plugin["UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$"+Bridge.getTypeAlias(P)+"$builder"]();$ctor.key=plugin["UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$"+Bridge.getTypeAlias(P)+"$pluginKey"];alloyhandle.Buttons[plugin["UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$"+Bridge.getTypeAlias(P)+"$pluginKey"]]=Bridge.toPlain($ctor)}}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal.Props",{$kind:"nested class",props:{open:!1,widgetData:null,onUpdate:null,onSubmit:null,onClose:null,appealData:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState",{$kind:"nested enum",statics:{fields:{initial:0,"static":1,widget:2}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType",{$kind:"nested enum",statics:{fields:{facebook:0,twitter:1}}});Bridge.define("UIComponents.Components.ProgressBar.Props",{$kind:"nested class",props:{isVertical:!1,fraction:System.Decimal(0),style:null,backgroundColor:null,contextName:null}});Bridge.define("UIComponents.Components.Tooltips.Hint",{$kind:"enum",statics:{fields:{none:0,advanced:1,intermediate:2,beginner:4,hover:8,open:16,always:32}},$flags:!0});Bridge.define("UIComponents.Dispatchers.EventDispatcher",{fields:{_callbacks:null,_executingCallbacks:null,_finishedCallbacks:null,_isDispatching:!1,_currentAction:null},props:{isDispatching:{get:function(){return this._isDispatching}}},ctors:{init:function(){this._callbacks=new(System.Collections.Generic.Dictionary$2(Bridge.React.DispatchToken,Function));this._executingCallbacks=new(System.Collections.Generic.HashSet$1(Bridge.React.DispatchToken).ctor);this._finishedCallbacks=new(System.Collections.Generic.HashSet$1(Bridge.React.DispatchToken).ctor);this._isDispatching=!1}},methods:{dispatch:function(action){var $t,callback;if(action==null)throw new System.ArgumentNullException("action");if(this._isDispatching)throw new System.InvalidOperationException("Cannot dispatch while already dispatching.");this._isDispatching=!0;this._currentAction=action;this._executingCallbacks.clear();this._finishedCallbacks.clear();$t=Bridge.getEnumerator(this._callbacks);try{while($t.moveNext())(callback=$t.Current,this._finishedCallbacks.contains(callback.key))||(this._executingCallbacks.add(callback.key),callback.value(this._currentAction),this._executingCallbacks.remove(callback.key),this._finishedCallbacks.add(callback.key))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}this._isDispatching=!1;this._currentAction=null;this._finishedCallbacks.clear()},receive:function(callback){if(Bridge.staticEquals(callback,null))throw new System.ArgumentNullException("callback");if(this._isDispatching)throw new System.InvalidOperationException("Cannot register a dispatch token while dispatching.");var token=new Bridge.React.DispatchToken;return this._callbacks.add(token,callback),token},unregister:function(token){if(token==null)throw new System.ArgumentNullException("token");if(!this._callbacks.containsKey(token))throw new System.ArgumentException("","token");if(this._isDispatching)throw new System.InvalidOperationException("Cannot unregister a dispatch token while dispatching.");this._callbacks.remove(token)},waitFor:function(tokens){tokens===void 0&&(tokens=[]);this.waitFor$1(tokens)},waitFor$1:function(tokens){var $t,token;if(tokens==null)throw new System.ArgumentNullException("tokens");if(!System.Linq.Enumerable.from(tokens).all(Bridge.fn.bind(this,$asm.$.UIComponents.Dispatchers.EventDispatcher.f1)))throw new System.ArgumentException("All given tokens must be registered with this dispatcher.","tokens");if(!this._isDispatching)throw new System.InvalidOperationException("Can only call WaitFor while dispatching.");if(System.Linq.Enumerable.from(tokens).any(Bridge.fn.bind(this,$asm.$.UIComponents.Dispatchers.EventDispatcher.f2)))throw new System.ArgumentException("None of the tokens can have its callback already executing.","tokens");$t=Bridge.getEnumerator(tokens,Bridge.React.DispatchToken);try{while($t.moveNext())(token=$t.Current,this._finishedCallbacks.contains(token))||(this._executingCallbacks.add(token),this._callbacks.get(token)(this._currentAction),this._executingCallbacks.remove(token),this._finishedCallbacks.add(token))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}}});Bridge.ns("UIComponents.Dispatchers.EventDispatcher",$asm.$);Bridge.apply($asm.$.UIComponents.Dispatchers.EventDispatcher,{f1:function(token){return this._callbacks.containsKey(token)},f2:function(token){return this._executingCallbacks.contains(token)}});Bridge.define("UIComponents.Dispatchers.ApiRefreshDispatcher.ApiRefreshEventArgs",{inherits:[Bridge.React.IDispatcherAction],$kind:"nested class",props:{apiPath:null}});Bridge.define("UIComponents.Dispatchers.DispatcherFactory",{statics:{fields:{dispatchers:null},ctors:{init:function(){this.dispatchers=new(System.Collections.Generic.Dictionary$2(Function,UIComponents.Dispatchers.EventDispatcher))}},methods:{get:function(T){var d={v:null};return UIComponents.Dispatchers.DispatcherFactory.dispatchers.tryGetValue(T,d)?Bridge.cast(d.v,T):(d.v=Bridge.as(Bridge.createInstance(T),T),UIComponents.Dispatchers.DispatcherFactory.dispatchers.set(T,d.v),Bridge.cast(d.v,T))}}}});Bridge.define("UIComponents.Dispatchers.SubmitAction",{$kind:"enum",statics:{fields:{none:0,donateCreditCard:1,donatePayPal:2,pledge:3}}});Bridge.define("UIComponents.Dispatchers.SubmitFormDispatcher.SubmitFormDispatcherArgs",{inherits:[Bridge.React.IDispatcherAction],$kind:"nested class",fields:{action:0}});Bridge.define("UIComponents.Dispatchers.UpdateFieldDispatcher.UpdateFieldEventArgs",{inherits:[Bridge.React.IDispatcherAction],$kind:"nested class",props:{name:null,value:null,scrollIntoView:!1}});Bridge.define("UIComponents.Extensions.ComponentExtensions",{statics:{fields:{propsCtors:null,hTMLCtors:null},ctors:{init:function(){this.propsCtors=$asm.$.UIComponents.Extensions.ComponentExtensions.f25(new(System.Collections.Generic.Dictionary$2(System.String,Function)));this.hTMLCtors=$asm.$.UIComponents.Extensions.ComponentExtensions.f47(new(System.Collections.Generic.Dictionary$2(System.String,Function)))}},methods:{fromProps:function(P,type,props,children){if(children===void 0&&(children=[]),System.String.isNullOrWhiteSpace(type))return null;var name=UIComponents.Extensions.ComponentExtensions.typeKey(type);return UIComponents.Extensions.ComponentExtensions.propsCtors.get(name)(props,children)},fromElement:function(E,type,element,children){if(children===void 0&&(children=[]),System.String.isNullOrWhiteSpace(type))return null;var name=UIComponents.Extensions.ComponentExtensions.typeKey(type);return UIComponents.Extensions.ComponentExtensions.hTMLCtors.get(name)(element,children)},typeKey:function(type){return System.Linq.Enumerable.from(System.String.replaceAll(type.toLowerCase(),"+props","").split(".")).last()},typeKey$1:function(type){return UIComponents.Extensions.ComponentExtensions.typeKey(Bridge.Reflection.getTypeFullName(type))},updateState:function(P,S,self,Fn){var $t,state=self.state.value,newstate=Bridge.createInstance(S),i;$t=Bridge.getEnumerator(Object.keys(state));try{while($t.moveNext())i=$t.Current,state.hasOwnProperty(i)&&(newstate[i]=state[i])}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}Fn(newstate);self.setWrappedStateAsync(newstate)}}}});Bridge.ns("UIComponents.Extensions.ComponentExtensions",$asm.$);Bridge.apply($asm.$.UIComponents.Extensions.ComponentExtensions,{f1:function(x,c){return Bridge.React.PureComponent$1(UIComponents.Layout.FlexColumns.Props).op_Implicit(new UIComponents.Layout.FlexColumns(Bridge.cast(x,UIComponents.Layout.FlexColumns.Props),c))},f2:function(x,c){return Bridge.React.PureComponent$1(UIComponents.Layout.FlexRows.Props).op_Implicit(new UIComponents.Layout.FlexRows(Bridge.cast(x,UIComponents.Layout.FlexRows.Props),c))},f3:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.CustInput.Props).op_Implicit(new UIComponents.CustPostcodeInput(Bridge.cast(x,UIComponents.CustPostcodeInput.Props),c))},f4:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.CustInput.Props).op_Implicit(new UIComponents.CustNumberInput(Bridge.cast(x,UIComponents.CustNumberInput.Props),c))},f5:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.CustInput.Props).op_Implicit(new UIComponents.CustTextInput(Bridge.cast(x,UIComponents.CustTextInput.Props),c))},f6:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.CustInput.Props).op_Implicit(new UIComponents.CustInput(Bridge.cast(x,UIComponents.CustInput.Props),c))},f7:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.CustInput.Props).op_Implicit(new UIComponents.DonationAmountInput(Bridge.cast(x,UIComponents.DonationAmountInput.Props),c))},f8:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.CustInput.Props).op_Implicit(new UIComponents.Components.Form.Fields.CommentMessageInput(Bridge.cast(x,UIComponents.Components.Form.Fields.CommentMessageInput.Props),c))},f9:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.CustInput.Props).op_Implicit(new UIComponents.Components.Form.Fields.CustSelectInput(Bridge.cast(x,UIComponents.Components.Form.Fields.CustSelectInput.Props),c))},f10:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.Components.Form.Buttons.EventButton.Props).op_Implicit(new UIComponents.Components.Form.Buttons.EventButton(Bridge.cast(x,UIComponents.Components.Form.Buttons.EventButton.Props),c))},f11:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(new UIComponents.FormInput(Bridge.cast(x,UIComponents.FormInput.Props),c))},f12:function(x,c){return Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(new UIComponents.FormInputHasIcons(Bridge.cast(x,UIComponents.FormInputHasIcons.Props),c))},f13:function(x,c){return Bridge.React.PureComponent$1(UIComponents.Components.Form.Labels.FormLabel.Props).op_Implicit(new UIComponents.Components.Form.Labels.FormLabel(Bridge.cast(x,UIComponents.Components.Form.Labels.FormLabel.Props),c))},f14:function(x,c){return Bridge.React.Component$2(UIComponents.Components.Form.Labels.HelpLabel.Props,UIComponents.Components.Form.Labels.HelpLabel.State).op_Implicit(new UIComponents.Components.Form.Labels.HelpLabel(Bridge.cast(x,UIComponents.Components.Form.Labels.HelpLabel.Props),c))},f15:function(x,c){return Bridge.React.PureComponent$1(UIComponents.Components.Form.Labels.TNCLabel.Props).op_Implicit(new UIComponents.Components.Form.Labels.TNCLabel(Bridge.cast(x,UIComponents.Components.Form.Labels.TNCLabel.Props),c))},f16:function(x){return Bridge.React.StatelessComponent$1(UIComponents.DropdownList.Props).op_Implicit(new UIComponents.DropdownList(Bridge.cast(x,UIComponents.DropdownList.Props)))},f17:function(x){return Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(Bridge.cast(x,UIComponents.Components.IconButton.Props)))},f18:function(x){return Bridge.React.StatelessComponent$1(UIComponents.InfoModal.Props).op_Implicit(new UIComponents.InfoModal(Bridge.cast(x,UIComponents.InfoModal.Props)))},f19:function(x){return Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(new UIComponents.ConfirmModal(Bridge.cast(x,UIComponents.ConfirmModal.Props)))},f20:function(x){return Bridge.React.StatelessComponent$1(UIComponents.IframeModal.Props).op_Implicit(new UIComponents.IframeModal(Bridge.cast(x,UIComponents.IframeModal.Props)))},f21:function(x,c){return Bridge.React.Component$2(UIComponents.Apps.DonateForm.DonateFormApp.Props,UIComponents.Apps.DonateForm.DonateFormApp.State).op_Implicit(new UIComponents.Apps.DonateForm.DonateFormApp(Bridge.cast(x,UIComponents.Apps.DonateForm.DonateFormApp.Props),c))},f22:function(x,c){return Bridge.React.Component$2(UIComponents.Apps.ProgressWidgetApp.Props,UIComponents.Apps.ProgressWidgetApp.State).op_Implicit(new UIComponents.Apps.ProgressWidgetApp(Bridge.cast(x,UIComponents.Apps.ProgressWidgetApp.Props),c))},f23:function(x,c){return Bridge.React.Component$2(UIComponents.Apps.CountdownWidgetApp.Props,UIComponents.Apps.CountdownWidgetApp.State).op_Implicit(new UIComponents.Apps.CountdownWidgetApp(Bridge.cast(x,UIComponents.Apps.CountdownWidgetApp.Props),c))},f24:function(x,c){return Bridge.React.Component$2(UIComponents.Apps.TrackingWidgetApp.Props,UIComponents.Apps.TrackingWidgetApp.State).op_Implicit(new UIComponents.Apps.TrackingWidgetApp(Bridge.cast(x,UIComponents.Apps.TrackingWidgetApp.Props),c))},f25:function(_o1){return _o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("FlexColumns"),$asm.$.UIComponents.Extensions.ComponentExtensions.f1),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("FlexRows"),$asm.$.UIComponents.Extensions.ComponentExtensions.f2),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustPostcodeInput"),$asm.$.UIComponents.Extensions.ComponentExtensions.f3),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustNumberInput"),$asm.$.UIComponents.Extensions.ComponentExtensions.f4),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustTextInput"),$asm.$.UIComponents.Extensions.ComponentExtensions.f5),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustInput"),$asm.$.UIComponents.Extensions.ComponentExtensions.f6),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("DonationAmountInput"),$asm.$.UIComponents.Extensions.ComponentExtensions.f7),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("CommentMessageInput"),$asm.$.UIComponents.Extensions.ComponentExtensions.f8),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustSelectInput"),$asm.$.UIComponents.Extensions.ComponentExtensions.f9),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("EventButton"),$asm.$.UIComponents.Extensions.ComponentExtensions.f10),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("FormInput"),$asm.$.UIComponents.Extensions.ComponentExtensions.f11),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("FormInputHasIcons"),$asm.$.UIComponents.Extensions.ComponentExtensions.f12),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("FormLabel"),$asm.$.UIComponents.Extensions.ComponentExtensions.f13),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("HelpLabel"),$asm.$.UIComponents.Extensions.ComponentExtensions.f14),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("TNCLabel"),$asm.$.UIComponents.Extensions.ComponentExtensions.f15),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("DropdownList"),$asm.$.UIComponents.Extensions.ComponentExtensions.f16),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("IconButton"),$asm.$.UIComponents.Extensions.ComponentExtensions.f17),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("InfoModal"),$asm.$.UIComponents.Extensions.ComponentExtensions.f18),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("ConfirmModal"),$asm.$.UIComponents.Extensions.ComponentExtensions.f19),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("IframeModal"),$asm.$.UIComponents.Extensions.ComponentExtensions.f20),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("DonateFormApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f21),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("ProgressWidgetApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f22),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("CountdownWidgetApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f23),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey("TrackingWidgetApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f24),_o1},f26:function(e,c){var $t;return Bridge.React.StatelessComponent$1(UIComponents.Apps.SearchWidget.KnowledgebaseSearch.Props).op_Implicit(new UIComponents.Apps.SearchWidget.KnowledgebaseSearch(($t=new UIComponents.Apps.SearchWidget.KnowledgebaseSearch.Props,$t.inner=e,$t),c))},f27:function(e){var $t;return Bridge.React.Component$2(UIComponents.Apps.AppealEditor.PageEditorApp.Props,UIComponents.Apps.AppealEditor.PageEditorApp.State).op_Implicit(new UIComponents.Apps.AppealEditor.PageEditorApp(($t=new UIComponents.Apps.AppealEditor.PageEditorApp.Props,$t.inner=e,$t)))},f28:function(e){var $t;return Bridge.React.Component$2(UIComponents.Apps.AppealEditor.AppealEditorApp.Props,UIComponents.Apps.AppealEditor.AppealEditorApp.State).op_Implicit(new UIComponents.Apps.AppealEditor.AppealEditorApp(($t=new UIComponents.Apps.AppealEditor.AppealEditorApp.Props,$t.inner=e,$t)))},f29:function(e){var $t;return Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EmailEditorApp.Props,UIComponents.Apps.AppealEditor.EmailEditorApp.State).op_Implicit(new UIComponents.Apps.AppealEditor.EmailEditorApp(($t=new UIComponents.Apps.AppealEditor.EmailEditorApp.Props,$t.inner=e,$t)))},f30:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Apps.DonateForm.DonateFormApp.Props,UIComponents.Apps.DonateForm.DonateFormApp.State).op_Implicit(new UIComponents.Apps.DonateForm.DonateFormApp(($t=new UIComponents.Apps.DonateForm.DonateFormApp.Props,$t.inner=e,$t),c))},f31:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp(($t=new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,$t.inner=e,$t),c))},f32:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Apps.ProgressWidgetApp.Props,UIComponents.Apps.ProgressWidgetApp.State).op_Implicit(new UIComponents.Apps.ProgressWidgetApp(($t=new UIComponents.Apps.ProgressWidgetApp.Props,$t.inner=e,$t),c))},f33:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Apps.CountdownWidgetApp.Props,UIComponents.Apps.CountdownWidgetApp.State).op_Implicit(new UIComponents.Apps.CountdownWidgetApp(($t=new UIComponents.Apps.CountdownWidgetApp.Props,$t.inner=e,$t),c))},f34:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Apps.TrackingWidgetApp.Props,UIComponents.Apps.TrackingWidgetApp.State).op_Implicit(new UIComponents.Apps.TrackingWidgetApp(($t=new UIComponents.Apps.TrackingWidgetApp.Props,$t.inner=e,$t),c))},f35:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).op_Implicit(new UIComponents.Apps.AppealEditor.EditableTileContainer(($t=new UIComponents.Apps.AppealEditor.EditableTileContainer.Props,$t.inner=e,$t),c))},f36:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.SimpleModalContainer.Props,UIComponents.SimpleModalContainer.State).op_Implicit(new UIComponents.SimpleModalContainer(($t=new UIComponents.SimpleModalContainer.Props,$t.inner=e,$t),c))},f37:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.IframeModalContainer.Props,UIComponents.IframeModalContainer.State).op_Implicit(new UIComponents.IframeModalContainer(($t=new UIComponents.IframeModalContainer.Props,$t.inner=e,$t),c))},f38:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.ChromeOnlyModalContainer.Props,UIComponents.ChromeOnlyModalContainer.State).op_Implicit(new UIComponents.ChromeOnlyModalContainer(($t=new UIComponents.ChromeOnlyModalContainer.Props,$t.inner=e,$t),c))},f39:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Apps.DonateForm.FormComplete.Props,UIComponents.Apps.DonateForm.FormComplete.State).op_Implicit(new UIComponents.Apps.DonateForm.FormComplete(($t=new UIComponents.Apps.DonateForm.FormComplete.Props,$t.inner=e,$t),c))},f40:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Apps.DonateForm.TextPrefill.Props,UIComponents.Apps.DonateForm.TextPrefill.State).op_Implicit(new UIComponents.Apps.DonateForm.TextPrefill(($t=new UIComponents.Apps.DonateForm.TextPrefill.Props,$t.inner=e,$t),c))},f41:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Services.Handlebars.ContextTemplate.Props,UIComponents.Services.Handlebars.ContextTemplate.State).op_Implicit(new UIComponents.Services.Handlebars.ContextTemplate(($t=new UIComponents.Services.Handlebars.ContextTemplate.Props,$t.inner=e,$t),c))},f42:function(e,c){return Bridge.React.Component$2(UIComponents.SimpleForm.Props,UIComponents.SimpleForm.State).op_Implicit(new UIComponents.SimpleForm(new UIComponents.SimpleForm.Props,c))},f43:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Collections.ODataCollection$2.Props$1(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext,ViewModels.ReactContext.AppealTitleContext),UIComponents.Collections.ODataCollection$2.State(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext)).op_Implicit(new UIComponents.Apps.AppealEditor.AppealUL(($t=new(UIComponents.Collections.ODataCollection$2.Props$1(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext,ViewModels.ReactContext.AppealTitleContext)),$t.inner=e,$t),c))},f44:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Collections.ODataCollection$2.Props$1(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext,ViewModels.ReactContext.TagSetContext),UIComponents.Collections.ODataCollection$2.State(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext)).op_Implicit(new UIComponents.Collections.TagSetTable(($t=new(UIComponents.Collections.ODataCollection$2.Props$1(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext,ViewModels.ReactContext.TagSetContext)),$t.inner=e,$t),c))},f45:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Collections.ODataCollection$2.Props$1(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext,ViewModels.ReactContext.PageTitleContext),UIComponents.Collections.ODataCollection$2.State(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext)).op_Implicit(new UIComponents.Apps.AppealEditor.ThankyouPageUL(($t=new(UIComponents.Collections.ODataCollection$2.Props$1(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext,ViewModels.ReactContext.PageTitleContext)),$t.inner=e,$t),c))},f46:function(e,c){var $t;return Bridge.React.Component$2(UIComponents.Collections.ODataCollection$2.Props$1(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext,ViewModels.ReactContext.ReceiptTitleContext),UIComponents.Collections.ODataCollection$2.State(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext)).op_Implicit(new UIComponents.Apps.AppealEditor.ReceiptUL(($t=new(UIComponents.Collections.ODataCollection$2.Props$1(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext,ViewModels.ReactContext.ReceiptTitleContext)),$t.inner=e,$t),c))},f47:function(_o2){return _o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("KnowledgebaseSearch"),$asm.$.UIComponents.Extensions.ComponentExtensions.f26),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("PageEditorApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f27),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("AppealEditorApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f28),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("EmailEditorApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f29),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("DonateFormApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f30),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("EmbedWidgetApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f31),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("ProgressWidgetApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f32),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("CountdownWidgetApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f33),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("TrackingWidgetApp"),$asm.$.UIComponents.Extensions.ComponentExtensions.f34),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("EditableTileContainer"),$asm.$.UIComponents.Extensions.ComponentExtensions.f35),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("SimpleModalContainer"),$asm.$.UIComponents.Extensions.ComponentExtensions.f36),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("IframeModalContainer"),$asm.$.UIComponents.Extensions.ComponentExtensions.f37),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("ChromeOnlyModalContainer"),$asm.$.UIComponents.Extensions.ComponentExtensions.f38),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("FormComplete"),$asm.$.UIComponents.Extensions.ComponentExtensions.f39),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("TextPrefill"),$asm.$.UIComponents.Extensions.ComponentExtensions.f40),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("ContextTemplate"),$asm.$.UIComponents.Extensions.ComponentExtensions.f41),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("SimpleForm"),$asm.$.UIComponents.Extensions.ComponentExtensions.f42),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("AppealUL"),$asm.$.UIComponents.Extensions.ComponentExtensions.f43),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("TagSetTable"),$asm.$.UIComponents.Extensions.ComponentExtensions.f44),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("ThankyouPageUL"),$asm.$.UIComponents.Extensions.ComponentExtensions.f45),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("ReceiptUL"),$asm.$.UIComponents.Extensions.ComponentExtensions.f46),_o2}});Bridge.define("UIComponents.FieldEditor.Props",{$kind:"nested class",fields:{disabled:!1,targetField:null},props:{key:null,fieldEditorAttributes:null,onSave:null,onRemove:null,label:null},ctors:{init:function(){this.label="Save"}}});Bridge.define("UIComponents.IValidator",{$kind:"interface"});Bridge.define("UIComponents.IContainerPropsExtensions",{statics:{fields:{PREFIX:null},ctors:{init:function(){this.PREFIX="wrap-"}},methods:{innerElements$1:function(T,self,attribute){return attribute===void 0&&(attribute=""),UIComponents.IContainerPropsExtensions.innerElements(T,self.UIComponents$IContainerProps$inner,attribute)},innerElements:function(T){return new(Bridge.GeneratorEnumerable$1(T))(Bridge.fn.bind(this,function(T,self,attribute){var $step=0,children,$t,element,$t1,child,$t2,element1,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(T))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:attribute===void 0&&(attribute="");children=self.children;$t=Bridge.getEnumerator(System.Linq.Enumerable.from(children).ofType(T).where(function(e){return System.String.isNullOrWhiteSpace(attribute)||e.hasAttribute(attribute)}));$step=1;continue;case 1:if($t.moveNext()){element=$t.Current;$step=2;continue}$step=6;continue;case 2:if(element!=null){$step=3;continue}$step=5;continue;case 3:return $enumerator.current=element,$step=4,!0;case 4:$step=5;continue;case 5:$step=1;continue;case 6:$t1=Bridge.getEnumerator(children);$step=7;continue;case 7:if($t1.moveNext()){child=$t1.Current;$step=8;continue}$step=15;continue;case 8:$t2=Bridge.getEnumerator(UIComponents.IContainerPropsExtensions.innerElements(T,child,attribute),T);$step=9;continue;case 9:if($t2.moveNext()){element1=$t2.Current;$step=10;continue}$step=14;continue;case 10:if(element1!=null){$step=11;continue}$step=13;continue;case 11:return $enumerator.current=element1,$step=12,!0;case 12:$step=13;continue;case 13:$step=9;continue;case 14:$step=7;continue;case 15:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator},arguments))},isEditable:function(self){return self.UIComponents$IContainerProps$inner==null?!0:System.Linq.Enumerable.from(document.getElementsByTagName("AppealEditorApp")).any()},createInnerComponent:function(self){var $t;return System.String.isNullOrWhiteSpace(self.UIComponents$IContainerProps$innerID)&&(self.UIComponents$IContainerProps$innerID="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||"")),React.createElement("div",Bridge.React.fixAttr({id:self.UIComponents$IContainerProps$innerID,dangerouslySetInnerHTML:($t=new Bridge.React.RawHtml,$t.__html=self.UIComponents$IContainerProps$inner.innerHTML,$t)}),null)},unwrapElement:function(self){for(var $t,$t1,el=self,wrappedElement=el.firstElementChild,i=0;i<100&&wrappedElement!=null&&(el.hasAttribute("data-reactroot")||($t1=($t=el.id,$t!=null?$t:""),System.String.indexOf($t1,UIComponents.IContainerPropsExtensions.PREFIX,0,$t1.length,4))===0);i=i+1|0)el=wrappedElement,wrappedElement=el.firstElementChild;return el},getInnerElement:function(self){return document.getElementById(self.UIComponents$IContainerProps$innerID)}}}});Bridge.define("UIComponents.Ready",{statics:{ctors:{init:function(){Bridge.ready(this.go)}},methods:{go:function(){var $t,$t1,type,elements,element,component;$t=Bridge.getEnumerator(UIComponents.Extensions.ComponentExtensions.hTMLCtors.getKeys(),System.String);try{while($t.moveNext()){type=$t.Current;elements=document.getElementsByTagName(type);$t1=Bridge.getEnumerator(elements);try{while($t1.moveNext()){if(element=$t1.Current,System.Array.contains(UIComponents.Extensions.ComponentExtensions.hTMLCtors.getKeys(),element.parentElement.tagName.toLowerCase(),System.String)||(component=UIComponents.Extensions.ComponentExtensions.fromElement(Bridge.global.HTMLElement,type,element),ReactDOM.render(component,element)),Bridge.referenceEquals(type.toLowerCase(),"AppealEditorApp".toLowerCase()))return;if(Bridge.referenceEquals(type.toLowerCase(),"EmailEditorApp".toLowerCase()))return;if(Bridge.referenceEquals(type.toLowerCase(),"PageEditorApp".toLowerCase()))return}}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$dispose()}}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}UIComponents.Services.Handlebars.HandlebarsTemplate.handlebarsReady()}}},$entryPoint:!0});Bridge.define("UIComponents.SaveEventArgs",{fields:{attributes:null}});Bridge.define("UIComponents.Services.Alloy.AlloyEditor",{statics:{methods:{makeEditable:function(editable,parent,parentProps){var alloyhandle=AlloyEditor,settings,embedwidgetcontainerplugin;UIComponents.Services.Alloy.AlloyEditor.fixGrammarly(editable);settings=new UIComponents.Services.Alloy.Settings.AppealSettings;Bridge.referenceEquals(parentProps.editorType,"email")?settings=new UIComponents.Services.Alloy.Settings.EmailSettings:Bridge.referenceEquals(parentProps.editorType,"custom_page")&&(settings=new UIComponents.Services.Alloy.Settings.ThanksSettings);var config=settings.config(),editor=AlloyEditor.editable(editable,config),reloadParent=function(){window.requestAnimationFrame(function(){parent.changeState($asm.$.UIComponents.Services.Alloy.AlloyEditor.f1)})};return UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.registerPlugin(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props,new UIComponents.Components.Plugins.AlloyMenu.EmbedYoutubePlugin,alloyhandle),UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.registerPlugin(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props,new UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlockPlugin,alloyhandle),UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.registerPlugin(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props,new UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlockPlugin,alloyhandle),UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.registerPlugin(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props,new UIComponents.Components.Plugins.AlloyMenu.InsertReadMorePlugin,alloyhandle),UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.registerPlugin(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props,new UIComponents.Components.Plugins.AlloyMenu.EmbedProgressBarPlugin(function(p){p.reloadParent=reloadParent}),alloyhandle),embedwidgetcontainerplugin=new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainerPlugin(function(p){p.reloadParent=reloadParent}),UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.registerPlugin(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props,embedwidgetcontainerplugin,alloyhandle),UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.registerPlugin(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props,new UIComponents.Components.Plugins.AlloyMenu.InsertSocialButtonPlugin,alloyhandle),UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.registerPlugin(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props,new UIComponents.Components.Plugins.AlloyMenu.InsertAmountButtonPlugin,alloyhandle),UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.registerPlugin(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props,new UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButtonPlugin,alloyhandle),editor},fixGrammarly:function(editable){editable.setAttribute("data-gramm","false");editable.setAttribute("data-gramm-editor","false");editable.setAttribute("data-gramm_editor","false")},deleteImage:function(id){var myobj=document.getElementById(id);myobj.remove()},setupFocusEditor:function(editable,parentProps){var instance=UIComponents.Services.Alloy.AlloyEditor.editorInstance(editable),doFocus,doPlugins;if(instance!=null){doFocus=function(){var inner=instance.element.getChild(0),ckeditor=CKEDITOR,selectionData;instance.focus();selectionData=instance.getSelectionData();document.execCommand("selectAll",!1,selectionData);instance.selectionChange(!0)};instance.on("instanceReady",doFocus);doPlugins=function(){var doWidgets=function(evt){evt.data.draggable=!1;instance.widgets.registered.ae_embed.draggable=!1};instance.widgets.on("instanceCreated",doWidgets)};instance.on("dataReady",doPlugins);var doImageCheckBeforeAdd=$asm.$.UIComponents.Services.Alloy.AlloyEditor.f2,doImageCheckAfterAdded=$asm.$.UIComponents.Services.Alloy.AlloyEditor.f3,reproduceId=function(evt){var $t,parser=new DOMParser,pastedHtml=parser.parseFromString(evt.data.dataValue,"text/html"),pastedHtmlBody=pastedHtml.body.getElementsByTagName("*"),index=0,e,newId;$t=Bridge.getEnumerator(pastedHtmlBody);try{while($t.moveNext())e=$t.Current,System.String.isNullOrEmpty(e.id)||(newId="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||""),pastedHtmlBody[index].id=newId,index=index+1|0)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}evt.data.dataValue=pastedHtml.body.innerHTML};instance.on("beforeImageAdd",doImageCheckBeforeAdd);if(Bridge.referenceEquals(parentProps.editorType,"email"))instance.on("imageAdd",doImageCheckAfterAdded);instance.on("paste",reproduceId)}},editorInstance:function(editable){var ckeditor=CKEDITOR;return ckeditor.instances[editable.id]},removeEditable:function(editable){var ed,id,element;editable!=null&&(ed=editable,ed!=null&&(id=ed._editor.name,element=document.getElementById(id),(ed!=null&&ed._editorUIElement!=null?ed._editorUIElement.parent:null)!=null&&ed.destroy(),element.removeAttribute("contenteditable"),element.removeAttribute("contentEditable")))}}}});Bridge.ns("UIComponents.Services.Alloy.AlloyEditor",$asm.$);Bridge.apply($asm.$.UIComponents.Services.Alloy.AlloyEditor,{f1:function(s){s.isEditable=!1},f2:function(x){x.data.imageFiles.size>1024e3&&(window.alert("Large images load slowly for mobile donors. Please choose a smaller image (less than 1MB)!"),x.cancel())},f3:function(x){var javascriptImageElement=x.data.el,randomNumber=(new System.Random.ctor).next$1(100),imageId="topImageUploaded"+randomNumber,reader;javascriptImageElement.setAttribute("id",imageId);reader=new FileReader;reader.readAsDataURL(x.data.file);reader.onload=function(){var image=new Image;image.src=Bridge.toString(reader.result);image.onload=function(z){var imageElement=z.target,height=imageElement.height,width=imageElement.width;(width>600||height>200)&&(UIComponents.Services.Alloy.AlloyEditor.deleteImage(imageId),window.alert("Please upload the image with width less than 600px and height less than 200px."))}}}});Bridge.define("UIComponents.Services.Alloy.Settings.BaseSettings",{statics:{methods:{fontSizes:function(){return"Tiny/8px;Small/10px;Medium/12px;Large/16px;XLarge/20px;XXLarge/28px;Huge/36px;Gargantuan/48px;2% Flex/2vmin;3% Flex/3vmin;5% Flex/5vmin"},fontName:function(){return"Arial/Arial, Helvetica, sans-serif;Courier New/Courier New, Courier, monospace;Georgia/Georgia, serif;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma/Tahoma, Geneva, sans-serif;Times New Roman/Times New Roman, Times, serif;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva, sans-serif;Comic Sans MS/Comic Sans MS, cursive"},fontStyle:function(){return{element:"span",styles:JSON.parse('{ "font-family" : "#(family)"}'),overrides:Bridge.toArray(System.Array.init([{element:"font",attributes:{face:""}}],System.Object))}},textStyle:function(alloyhandle){return Bridge.toArray(System.Array.init([{name:"link",buttons:Bridge.toPlain(System.Array.init(["linkEdit"],System.String)),test:alloyhandle.SelectionTest.link},{name:"image",buttons:Bridge.toPlain(System.Array.init(["imageLeft","imageCenter","imageRight","link"],System.String)),test:alloyhandle.SelectionTest.image},{name:"text",buttons:Bridge.toPlain(System.Array.init(["bold","italic","underline","ul","ol","paragraphLeft","paragraphCenter","paragraphRight","link","Font","FontSize","BGColor","TextColor"],System.String)),test:alloyhandle.SelectionTest.text}],System.Object))},toolbars:function(alloyhandle){var selections=UIComponents.Services.Alloy.Settings.BaseSettings.textStyle(alloyhandle);return{add:{buttons:Bridge.toArray(System.Array.init(["image","embed","hline","insert_amountbutton","insert_layoutbutton","embed_youtube","insert_readmore","insert_socialbutton","background_box","embed_widgetcontainer","embed_progressbar"],System.String)),tabIndex:2},styles:{selections:selections,tabIndex:1}}},htmlButtons:function(){return Bridge.toArray(System.Array.init([{name:"progress_raised",html:"<span><span class='editor-progress-status' contenteditable='false'>$<\/span><\/span>",title:"Progress Status",icon:"progress_raised.png"},{name:"progress_goal",html:"<span><span class='editor-campaign-total' contenteditable='false'>$<\/span><\/span>",title:"Progress Goal",icon:"progress_goal.png"},{name:"background_box",html:"<span><div data-background-color data-max-height='800px' contenteditable='false' data-widget='true'><div class='box' style='background-color: #eee;' contenteditable='true'><span><p>Your Content Goes Here<\/p><\/span><\/div><\/div><p>&nbsp;<\/p><\/span>",title:"Coloured Box",icon:"background_box.png"}],System.Object))}}},methods:{config:function(){var alloyhandle=AlloyEditor;return{toolbars:UIComponents.Services.Alloy.Settings.BaseSettings.toolbars(alloyhandle),embedUrlTemplate:"https://iframe.ly/api/oembed?url={url}&callback={callback}&api_key=05be79137ab4ae672dcf7d",imageScaleResize:"scale",extraPlugins:alloyhandle.Core.ATTRS.extraPlugins.value+",htmlbuttons,font,panelbutton,colorbutton,colordialog",fontSize_sizes:UIComponents.Services.Alloy.Settings.BaseSettings.fontSizes(),font_names:UIComponents.Services.Alloy.Settings.BaseSettings.fontName(),htmlbuttons:UIComponents.Services.Alloy.Settings.BaseSettings.htmlButtons(),autoParagraph:!1,forceEnterMode:!0,forcePasteAsPlainText:!0,pasteFromWordRemoveStyles:!0,pasteFromWordRemoveFontStyles:!0}}}});Bridge.define("UIComponents.Services.Handlebars.HandlebarsTemplate",{statics:{fields:{lookupLowerCase:null,javascriptHelpers:null},ctors:{init:function(){this.lookupLowerCase="\nfunction CICompiler() {\n  Handlebars.JavaScriptCompiler.apply(this, arguments);\n}\nCICompiler.prototype = new Handlebars.JavaScriptCompiler();\n\nCICompiler.prototype.compiler = CICompiler\nCICompiler.prototype.nameLookup = function(parent, name, type) {\n  if (type === 'context') {\n    return this.source.functionCall('helpers.lookupLowerCase', '', [parent, JSON.stringify(name)])\n  } else {\n    return Handlebars.JavaScriptCompiler.prototype.nameLookup.call(this, parent, name, type);\n  }\n}\n\nvar env = Handlebars.create();\nenv.registerHelper('lookupLowerCase', function(parent, name) {\n  try {\n    return parent[name.toString().toLowerCase()];\n  } catch(e) {\n    (console.error || console.log).call(console, e.stack || e);\n  }\n  return '';\n});\n\nenv.JavaScriptCompiler = CICompiler;\nWindow.HB = env;\n";this.javascriptHelpers="\nvar env = Window.HB;\n"}},methods:{compile:function(innerHTML){var HANDLEBARS=Window.HB,template=HANDLEBARS.compile(innerHTML);return function(context){return template(Bridge.unbox(Bridge.toPlain(Bridge.unbox(context))))}},handlebarsReady:function(){var $t,init=function(){var $t,$t1,evt=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.ContextDispatcher),meta=System.Linq.Enumerable.from(document.getElementsByTagName("meta")).firstOrDefault($asm.$.UIComponents.Services.Handlebars.HandlebarsTemplate.f1,null),templateContext,k,kv;if(meta!=null){templateContext=Newtonsoft.Json.JsonConvert.DeserializeObject(meta.getAttribute("props"),System.Object);$t=Bridge.getEnumerator(Object.getOwnPropertyNames(Bridge.unbox(templateContext)));try{while($t.moveNext())k=$t.Current,evt.invoke(Bridge.global.UIComponents.Services.Handlebars.HandlebarsTemplate.QueryParams,new UIComponents.Services.Handlebars.HandlebarsTemplate.QueryParams(k,templateContext[k]))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}$t1=Bridge.getEnumerator(UIComponents.XBrowser.getQueryParams(),System.Collections.Generic.KeyValuePair$2(System.String,System.String));try{while($t1.moveNext())kv=$t1.Current,evt.invoke(Bridge.global.UIComponents.Services.Handlebars.HandlebarsTemplate.QueryParams,new UIComponents.Services.Handlebars.HandlebarsTemplate.QueryParams(kv.key,kv.value))}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$dispose()}},count=0,hbhidden=System.Linq.Enumerable.from(document.getElementsByClassName("hbhidden")).toArray(),element,component;$t=Bridge.getEnumerator(hbhidden);try{while($t.moveNext()){element=$t.Current;count===0&&UIComponents.Services.Handlebars.HandlebarsTemplate.configureHB();try{component=UIComponents.Extensions.ComponentExtensions.fromElement(Bridge.global.HTMLElement,"ContextTemplate",element);(count=count+1|0)>=hbhidden.length?ReactDOM.render(component,element,init):ReactDOM.render(component,element)}catch(ex){ex=System.Exception.create(ex);Bridge.Console.log(ex)}}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}},configureHB:function(){eval(UIComponents.Services.Handlebars.HandlebarsTemplate.lookupLowerCase);eval("H.registerHelpers(Window.HB);");UIComponents.Services.Handlebars.HandlebarsTemplate.hBRegister("round",UIComponents.Services.Handlebars.HandlebarsTemplate.round);UIComponents.Services.Handlebars.HandlebarsTemplate.hBRegister$1("divide",UIComponents.Services.Handlebars.HandlebarsTemplate.divide);eval(UIComponents.Services.Handlebars.HandlebarsTemplate.javascriptHelpers)},atof:function(a){var stra=System.String.format("{0}",[a]),n={};return(stra=System.String.replaceAll(stra,",",""),System.Decimal.tryParse(stra,null,n))?n.v:System.Decimal(0)},round:function(x){return System.String.format("{0:n0}",[UIComponents.Services.Handlebars.HandlebarsTemplate.atof(x).floor()])},divide:function(numerator,denominator){var d=UIComponents.Services.Handlebars.HandlebarsTemplate.atof(denominator);return d.ne(System.Decimal(0))?System.String.format("{0:n2}",[UIComponents.Services.Handlebars.HandlebarsTemplate.atof(numerator).div(d)]):"0.00"},hBRegister:function(helperName,helper){var env=eval("Window.HB");env.registerHelper(helperName,helper)},hBRegister$1:function(helperName,helper){var env=eval("Window.HB");env.registerHelper(helperName,helper)}}}});Bridge.ns("UIComponents.Services.Handlebars.HandlebarsTemplate",$asm.$);Bridge.apply($asm.$.UIComponents.Services.Handlebars.HandlebarsTemplate,{f1:function(e){return System.String.equals(e.getAttribute("name"),"TemplateContext",5)}});Bridge.define("UIComponents.Services.HttpRequest",{statics:{methods:{isSuccessCode:function(code){return code>=400?!1:code%200<100||code===301||code===302||code===304},requestAsync:function(url){return UIComponents.Services.HttpRequest.requestAsync$1(FormData,url)},requestAsync$1:function(T,url,verb,withCredentials,data,OnOpen){var tcs,request,body;return verb===void 0&&(verb="GET"),withCredentials===void 0&&(withCredentials=!0),data===void 0&&(data=Bridge.getDefaultValue(T)),OnOpen===void 0&&(OnOpen=null),tcs=new System.Threading.Tasks.TaskCompletionSource,request=new XMLHttpRequest,request.open(verb,url,!0),Bridge.staticEquals(OnOpen,null)?null:OnOpen(request),request.onerror=function(){UIComponents.Services.HttpRequest.complete(url,tcs,request)},request.onreadystatechange=function(){request.readyState===4&&UIComponents.Services.HttpRequest.complete(url,tcs,request)},body=null,System.String.equals(verb,"GET",5)||(body=data),UIComponents.Services.HttpRequest.serializeAndSend(body,request,withCredentials),tcs.task},requestODataAsync:function(url,OnOpen,bearerToken){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,request,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:OnOpen===void 0&&(OnOpen=null);bearerToken===void 0&&(bearerToken=null);$task1=UIComponents.Services.HttpRequest.requestObjectAsync(Bridge.global.FormData,url,"GET",null,function(r){bearerToken!=null&&(r.withCredentials=!0,r.setRequestHeader("Authorization",System.String.format("Bearer {0}",[bearerToken])));Bridge.staticEquals(OnOpen,null)?null:OnOpen(r)});$step=1;$task1.continueWith($asyncBody);return;case 1:$taskResult1=$task1.getAwaitedResult();request=$taskResult1;$tcs.setResult(request);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},parseODataResponse:function(T,request){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,result,odata,values,oex,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=request;$step=1;$task1.continueWith($asyncBody);return;case 1:if($taskResult1=$task1.getAwaitedResult(),result=$taskResult1,UIComponents.Services.HttpRequest.isSuccessCode(result.status))try{odata=JSON.parse(result.responseText);values=JSON.stringify(odata.value);$tcs.setResult(Newtonsoft.Json.JsonConvert.DeserializeObject(values,System.Array.type(T)));return}catch(ex){ex=System.Exception.create(ex);System.Console.WriteLine(ex);throw ex;}else try{oex=UIComponents.Services.HttpRequest.parseError(GiveEasy.Shared.ODataException,result);throw oex;}catch(ex1){ex1=System.Exception.create(ex1);System.Console.WriteLine(ex1);throw new System.Exception(System.String.format("Unknown Error {0}",[ex1]));}$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},requestObjectAsync:function(T,url,verb,data,OnOpen){return verb===void 0&&(verb="GET"),data===void 0&&(data=Bridge.getDefaultValue(T)),OnOpen===void 0&&(OnOpen=null),UIComponents.Services.HttpRequest.requestAsync$1(T,url,verb,!0,data,function(r){r.overrideMimeType("application/json");r.setRequestHeader("Content-Type","application/json");Bridge.staticEquals(OnOpen,null)?null:OnOpen(r)})},complete:function(url,tcs,request){var ex,oex;if(UIComponents.Services.HttpRequest.isSuccessCode(request.status))tcs.setResult(request);else{ex=new GiveEasy.Shared.HttpRequestException(request.status,System.String.format("{0} responded with {1}: {2}",url,Bridge.box(request.status,System.UInt16),request.statusText));try{oex=UIComponents.Services.HttpRequest.parseError(GiveEasy.Shared.ODataException,request);tcs.setException(oex)}catch($e1){$e1=System.Exception.create($e1);tcs.setException(ex)}}},parseError:function(E,request){var odata=JSON.parse(request.responseText);return odata.error.code=request.status,Newtonsoft.Json.JsonConvert.DeserializeObject(odata.error,E)},serializeAndSend:function(data,request,withCredentials){if(withCredentials===void 0&&(withCredentials=!0),request.withCredentials=withCredentials,data==null)request.send();else if(Bridge.is(data,FormData))UIComponents.Services.HttpRequest.sendForm(Bridge.cast(data,FormData),request);else{var str=Newtonsoft.Json.JsonConvert.SerializeObject(data);UIComponents.Services.HttpRequest.sendString(str,request)}},sendForm:function(data,request){request.send(data)},sendString:function(data,request){request.send(data)},xRequestAsync:function(origin,url,verb,data){var $t,frame,tcs;return verb===void 0&&(verb="GET"),data===void 0&&(data=null),frame=($t=document.createElement("iframe"),$t.src=origin,$t),tcs=new System.Threading.Tasks.TaskCompletionSource,frame.onload=Bridge.fn.combine(frame.onload,function(){var request=new XMLHttpRequest;request.open(verb,url,!0);request.onreadystatechange=function(){request.readyState===4&&(request.status===200||request.status===304?tcs.setResult(request):tcs.setException(new System.Exception(System.String.format("{0} responded with {1}: {2}",url,Bridge.box(request.status,System.UInt16),request.statusText))))};request.send(data)}),tcs.task}}}});Bridge.define("UIComponents.Services.ReactBuilder",{statics:{fields:{attributeignore:null,attributemap:null},ctors:{init:function(){this.attributeignore=System.Array.init(["class","length","tabindex","title"],System.String);this.attributemap=$asm.$.UIComponents.Services.ReactBuilder.f1(new(System.Collections.Generic.Dictionary$2(System.String,System.String)))}},methods:{dangerouslyCopyAttributes:function(T,x,y){var $t,$t1,n,name;$t=Bridge.getEnumerator(x);try{while($t.moveNext())n=$t.Current,name={v:n.nodeName},UIComponents.Services.ReactBuilder.attributemap.tryGetValue(name.v.toLowerCase(),name),name.v=($t1=name.v,$t1!=null?$t1:n.nodeName),System.String.contains(name.v,"$")||System.Array.contains(UIComponents.Services.ReactBuilder.attributeignore,name.v.toLowerCase(),System.String)||(y[name.v]=n.nodeValue,Bridge.referenceEquals(name.v,"contentEditable")&&(y.suppressContentEditableWarning=Bridge.box(!0,System.Boolean,System.Boolean.toString)))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return y},copyStyle:function(source,destination){var $t,k,c;$t=Bridge.getEnumerator(Object.keys(source));try{while($t.moveNext())k=$t.Current,c=k.charCodeAt(0),System.Char.isNumber(c)||System.String.startsWith(k,"webkit")||System.Array.contains(UIComponents.Services.ReactBuilder.attributeignore,k.toLowerCase(),System.String)||!source.hasOwnProperty(k)||(destination[k]=Bridge.unbox(source[k]))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return destination},convert:function(htmlElement,tag,id,key,children){var $t,style,dom,attrs,reactsyle,img,ampstr,parser;if(key===void 0&&(key=""),children===void 0&&(children=[]),System.Array.contains(UIComponents.Extensions.ComponentExtensions.hTMLCtors.getKeys(),tag,System.String))return UIComponents.Extensions.ComponentExtensions.fromElement(Bridge.global.HTMLElement,tag,htmlElement,children);if(Bridge.referenceEquals(tag,"style"))return style={},style.dangerouslySetInnerHTML=($t=new Bridge.React.RawHtml,$t.__html=htmlElement.innerHTML,$t),React.createElement("style",Bridge.React.fixAttr(style),null);if(dom=React.DOM,attrs={className:System.String.isNullOrWhiteSpace(htmlElement.className)?null:htmlElement.className},attrs=UIComponents.Services.ReactBuilder.dangerouslyCopyAttributes(Bridge.global.System.Object,htmlElement.attributes,attrs),attrs.id=id,(Bridge.referenceEquals(tag,"strong")||Bridge.referenceEquals(tag,"em")||Bridge.referenceEquals(tag,"u"))&&(attrs.id=null),attrs.key=key,reactsyle={},htmlElement.style!=null&&(attrs.style=UIComponents.Services.ReactBuilder.copyStyle(htmlElement.style,reactsyle)),Bridge.referenceEquals(tag,"img"))return img={src:Bridge.cast(htmlElement,HTMLImageElement).src,style:reactsyle,key:key},React.createElement("img",Bridge.React.fixAttr(img),null);if(System.Array.contains(System.Array.init(["noscript"],System.String),tag,System.String)){for(ampstr=htmlElement.innerHTML;System.String.contains(ampstr,"&amp;");)ampstr=System.String.replaceAll(ampstr,"&amp;","&");return parser=(new DOMParser).parseFromString(ampstr,"text/html"),attrs.dangerouslySetInnerHTML=($t=new Bridge.React.RawHtml,$t.__html=parser.documentElement.textContent,$t),React.createElement("noscript",Bridge.React.fixAttr(attrs),null)}if(System.Array.contains(System.Array.init(["meta","link","input","br","hr"],System.String),tag,System.String))return dom[tag](attrs);if(!System.Array.contains(Object.keys(dom),tag,System.String))return attrs.dangerouslySetInnerHTML=($t=new Bridge.React.RawHtml,$t.__html=htmlElement.outerHTML,$t),React.createElement("div",Bridge.React.fixAttr(attrs),null);if(System.Linq.Enumerable.from(children).any())try{return dom[tag](attrs,children)}catch($e1){return $e1=System.Exception.create($e1),React.createElement.apply(React,["div",Bridge.React.fixAttr(attrs)].concat(children))}else{attrs.dangerouslySetInnerHTML=($t=new Bridge.React.RawHtml,$t.__html=htmlElement.innerHTML,$t);try{return dom[tag](attrs)}catch(ex){return ex=System.Exception.create(ex),System.Console.WriteLine(ex),React.createElement("div",Bridge.React.fixAttr(attrs),null)}}},convertTextNodes:function(inner){var nn,i,n,text;if(inner==null)return inner;if(nn=inner.childNodes,System.Linq.Enumerable.from(nn).any($asm.$.UIComponents.Services.ReactBuilder.f2)&&System.Linq.Enumerable.from(nn).count()!==System.Linq.Enumerable.from(inner.children).count()&&System.Linq.Enumerable.from(nn).count()>1)for(i=0;i<nn.length;i=i+1|0)if(n=nn.item(i),n.nodeType===3&&n.textContent.trim().length>0){if(System.Linq.Enumerable.from(n.childNodes).any())continue;if(Bridge.referenceEquals(n.textContent,"&#8203;")||Bridge.referenceEquals(n.textContent,"​"))continue;text=document.createElement("span");text.innerHTML=n.textContent;inner.replaceChild(text,n)}return inner},parseHTML:function(html){if(System.String.isNullOrWhiteSpace(html))return React.createElement("div",Bridge.React.fixAttr({}),"");var parser=new DOMParser,document=parser.parseFromString(html,"text/html"),key=Bridge.toString(Bridge.getHashCode(html));return UIComponents.Services.ReactBuilder.convert(document.body,"div",key,key)}}}});Bridge.ns("UIComponents.Services.ReactBuilder",$asm.$);Bridge.apply($asm.$.UIComponents.Services.ReactBuilder,{f1:function(_o1){return _o1.add("for","htmlFor"),_o1.add("htmlfor","htmlFor"),_o1.add("defaultchecked","defaultChecked"),_o1.add("contenteditable","contentEditable"),_o1.add("onchange","onChange"),_o1.add("spellcheck","spellCheck"),_o1.add("colspan","colSpan"),_o1},f2:function(n){return n.nodeType===3}});Bridge.define("UIComponents.SimpleForm.Props",{$kind:"nested class",fields:{disabled:!1},props:{formAttributes:null,onSubmit:null,fields:null,label:null,submitStyle:null},ctors:{init:function(){this.label="Submit"}}});Bridge.define("UIComponents.SimpleList$1.Props",function(){return{$kind:"nested class",props:{value:null,options:null,onSelect:null}}});Bridge.define("UIComponents.Validation",{$kind:"enum",statics:{fields:{none:0,fail:1,pass:2,warn:3}}});Bridge.define("UIComponents.WebBrowser",{$kind:"enum",statics:{fields:{unknown:0,chrome:1,safari:2,firefox:3,IE:4,edge:5,facebookIOS:6,facebookAndroid:7}}});Bridge.define("UIComponents.XBrowser",{statics:{fields:{vGASizes:null,rootAppType$1:null},props:{client:{get:function(){var nav=window.navigator,ua=nav.userAgent;return System.String.contains(ua,"FBAN")||System.String.contains(nav.userAgent,"FBAV")?System.String.contains(ua,"iphone")?UIComponents.WebBrowser.facebookIOS:UIComponents.WebBrowser.facebookAndroid:Bridge.Browser.isIE||System.Linq.Enumerable.from(System.Array.init(["internet","explorer"],System.String)).any(function(s){return System.String.contains(nav.appName.toLowerCase(),s)})?UIComponents.WebBrowser.IE:System.String.contains(ua.toLowerCase(),"trident")?UIComponents.WebBrowser.IE:System.String.contains(ua.toLowerCase(),"firefox")||Bridge.Browser.isFF10||Bridge.Browser.isFF3_0||Bridge.Browser.isFF3_5||Bridge.Browser.isFF3_6||Bridge.Browser.isFF4||Bridge.Browser.isFF5?UIComponents.WebBrowser.firefox:Bridge.Browser.isSafari||new System.Text.RegularExpressions.Regex.ctor("^((?!chrome|android).)*safari").matches(ua.toLowerCase()).getCount()>0?UIComponents.WebBrowser.safari:UIComponents.WebBrowser.unknown}}},ctors:{init:function(){this.vGASizes=System.Array.init([180,360,640,720,900,960,1080,1280,1440,1600,1920],System.UInt32)}},methods:{documentURI:function(){var $t;return $t=document.baseURI,$t!=null?$t:document.URL},deselectAll:function(){document.getSelection()!=null&&document.getSelection().removeAllRanges()},scrollIntoCenter:function(el){var rect=el.getBoundingClientRect(),top=Bridge.Int.clip32(rect.top),middle=top-(Bridge.Int.div(window.innerHeight,2)|0)|0;document.body.scrollTop=document.body.scrollTop+middle|0;document.documentElement.scrollTop=document.documentElement.scrollTop+middle|0},rGB2Hex:function(x,alpha){if(alpha===void 0&&(alpha=!1),!System.String.isNullOrWhiteSpace(x)){if(System.String.indexOf(x,"rgb(",0,x.length,4)===0){var re=new System.Text.RegularExpressions.Regex.ctor("(\\d+)",4),rgb=System.Linq.Enumerable.from(re.matches(x)).select(function(x){return Bridge.cast(x,System.Text.RegularExpressions.Match)});return rgb.aggregate("#",$asm.$.UIComponents.XBrowser.f1)}if(!alpha)return x.substr(0,7)}return x},vGAPx:function(x){var $t,size;$t=Bridge.getEnumerator(UIComponents.XBrowser.vGASizes);try{while($t.moveNext())if(size=$t.Current,System.Int64(size).gte(System.Int64(x)))return size}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return 1920},browserNotSupported:function(feature,notsupported){var $t,name,client;return(notsupported===void 0&&(notsupported=[]),name="",client=UIComponents.XBrowser.client,client===UIComponents.WebBrowser.IE?name="Internet Explorer":client===UIComponents.WebBrowser.safari?name="Safari":client===UIComponents.WebBrowser.firefox&&(name="Firefox"),System.Array.contains(notsupported,client,Bridge.global.UIComponents.WebBrowser))?Bridge.React.StatelessComponent$1(UIComponents.InfoModal.Props).op_Implicit(new UIComponents.InfoModal(($t=new UIComponents.InfoModal.Props,$t.active=!0,$t.title=System.String.format("{0} Not Supported",[name]),$t.message=System.String.format("Sorry, {0} with {1} isn't supported. For the best experience, please use Chrome.\n\nDon't worry though - your supporters can donate on any browser!",feature,name),$t.onClose=$asm.$.UIComponents.XBrowser.f2,$t))):null},getQueryParams:function(){var param=new(System.Collections.Generic.Dictionary$2(System.String,System.String)),url=document.URL,query;return System.String.contains(url,"?")&&(query=System.Linq.Enumerable.from(url.split("?")).last(),param=GiveEasy.Shared.Extensions.fromQueryParams(query)),param},rootAppType:function(){var $t,type;if(UIComponents.XBrowser.rootAppType$1!=null)return UIComponents.XBrowser.rootAppType$1;UIComponents.XBrowser.rootAppType$1;$t=Bridge.getEnumerator(System.Array.init([UIComponents.Apps.AppealEditor.AppealEditorApp,UIComponents.Apps.AppealEditor.EmailEditorApp,UIComponents.Apps.AppealEditor.PageEditorApp],Function));try{while($t.moveNext())type=$t.Current,System.Linq.Enumerable.from(document.getElementsByTagName("AppealEditorApp")).any()&&(UIComponents.XBrowser.rootAppType$1=UIComponents.Apps.AppealEditor.AppealEditorApp)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return UIComponents.XBrowser.rootAppType$1},isMobile:function(breakpoint){return breakpoint===void 0&&(breakpoint=720),document.body.clientWidth<breakpoint},spinnerDataURL:function(){return"<style>@keyframes spinning-circle {\n  0% {\n    stroke-dashoffset: 0;\n    stroke-dasharray: 150.6 100.4;\n  }\n  50% {\n    stroke-dasharray: 1 250;\n  }\n  100% {\n    stroke-dashoffset: 502;\n    stroke-dasharray: 150.6 100.4;\n  }\n}\n\n.spinner__circle {\n  animation: 2s linear spinning-circle infinite;\n}<\/style>\n<svg class='spinner' width='300px' height='300px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'>\n      < rect class='spinner__rect' x='0' y='0' width='100' height='100' fill='none'><\/rect>\n      <circle class='spinner__circle' cx='50' cy='50' r='40' stroke='#999999' fill='none' stroke-width='6' stroke-linecap='round'>\n      <\/circle>\n<\/svg>"}}}});Bridge.ns("UIComponents.XBrowser",$asm.$);Bridge.apply($asm.$.UIComponents.XBrowser,{f1:function(a,d){return System.String.format("{0}{1:X2}",a,Bridge.box(System.Int32.parse(d.getValue()),System.Int32))},f2:function(){window.history.back()}});Bridge.define("ViewModels.AppealGroup",{props:{key:null,appealKey:null,appealTitle:null,title:null,name:{get:function(){return this.title}},path:{get:function(){return this.name}},owner:null,goal:System.Decimal(0),goalCurrency:null,description:null}});Bridge.define("ViewModels.AppealPage",{props:{donationInfo:null,html:null}});Bridge.define("ViewModels.CustomPage",{props:{meta:null,html:null}});Bridge.define("ViewModels.EmailSettingsModel",{props:{title:null,subject:null,sender:null,recepients:null}});Bridge.define("ViewModels.FromSettingsModel",{props:{allowOnceOff:!1,allowWeekly:!1,allowFortnightly:!1,allowMonthly:!1,displayStyle:null,defaultFrequency:null,defaultAmount:null,donationButtonColor:null}});Bridge.define("ViewModels.ThankYouEmailPage",{props:{meta:null,html:null}});Bridge.define("GiveEasy.Shared.ClientException",{inherits:[GiveEasy.Shared.ViewModelException],props:{inputErrors:null},ctors:{ctor:function(friendlyMessage,innerException,inputerrors){innerException===void 0&&(innerException=null);inputerrors===void 0&&(inputerrors=[]);this.$initialize();GiveEasy.Shared.ViewModelException.ctor.call(this,friendlyMessage,innerException);this.inputErrors=inputerrors}}});Bridge.define("GiveEasy.Shared.IDonation",{inherits:[GiveEasy.Shared.IReceipt],$kind:"interface"});Bridge.define("GiveEasy.Shared.Data.ReceiptInfo",{inherits:[GiveEasy.Shared.IReceipt],$kind:"struct",statics:{methods:{getDefaultValue:function(){return new GiveEasy.Shared.Data.ReceiptInfo}}},fields:{_firstName:null,_lastName:null,_company:null,_country:null},props:{amount:System.Decimal(0),firstName:{get:function(){return System.String.isNullOrWhiteSpace(this._firstName)?System.String.isNullOrWhiteSpace(this.company)?"":this.company:this.alphanum(this._firstName)},set:function(value){this._firstName=value}},lastName:{get:function(){return System.String.isNullOrWhiteSpace(this._lastName)?System.String.isNullOrWhiteSpace(this.company)?"":this.company:this.alphanum(this._lastName)},set:function(value){this._lastName=value}},company:{get:function(){return this.alphanum(this._company)},set:function(value){this._company=value}},countryCode:{get:function(){var $t;return($t=this._country,$t!=null?$t:"").toUpperCase()},set:function(value){this._country=value}},email:null,phone:null,iPv4:null,issuedTo:{get:function(){return[this.firstName,this.lastName].join(" ").trim().toUpperCase()}}},alias:["amount","GiveEasy$Shared$IReceipt$amount","firstName","GiveEasy$Shared$IReceipt$firstName","lastName","GiveEasy$Shared$IReceipt$lastName","email","GiveEasy$Shared$IReceipt$email"],ctors:{$ctor1:function(amount){GiveEasy.Shared.Data.ReceiptInfo.ctor.call(this);this._country="";this._lastName="";this._firstName="";this.amount=amount;this.firstName="";this.lastName="";this.company="";this.email="";this.phone="";this.iPv4=""},ctor:function(){this.$initialize()}},methods:{alphanum:function(input){if(System.String.isNullOrEmpty(input))return"";var urldecode=decodeURI(input);return System.String.fromCharArray(System.Linq.Enumerable.from(urldecode).where($asm.$.GiveEasy.Shared.Data.ReceiptInfo.f1).toArray(System.Char))},getHashCode:function(){return Bridge.addHash([2940681257,this._firstName,this._lastName,this._company,this._country,this.amount,this.email,this.phone,this.iPv4])},equals:function(o){return Bridge.is(o,GiveEasy.Shared.Data.ReceiptInfo)?Bridge.equals(this._firstName,o._firstName)&&Bridge.equals(this._lastName,o._lastName)&&Bridge.equals(this._company,o._company)&&Bridge.equals(this._country,o._country)&&Bridge.equals(this.amount,o.amount)&&Bridge.equals(this.email,o.email)&&Bridge.equals(this.phone,o.phone)&&Bridge.equals(this.iPv4,o.iPv4):!1},$clone:function(to){var s=to||new GiveEasy.Shared.Data.ReceiptInfo;return s._firstName=this._firstName,s._lastName=this._lastName,s._company=this._company,s._country=this._country,s.amount=this.amount,s.email=this.email,s.phone=this.phone,s.iPv4=this.iPv4,s}}});Bridge.ns("GiveEasy.Shared.Data.ReceiptInfo",$asm.$);Bridge.apply($asm.$.GiveEasy.Shared.Data.ReceiptInfo,{f1:function(c){return System.Char.isDigit(c)||System.Char.isLetter(c)||System.Char.isWhiteSpace(String.fromCharCode(c))}});Bridge.define("GiveEasy.Shared.ODataException",{inherits:[GiveEasy.Shared.HttpRequestException],props:{message$1:{get:function(){var $t,$t1,$t2;return $t=($t1=this.innerException)!=null?$t1.Message:null,$t!=null?$t:($t2=this.message,$t2!=null?$t2:Bridge.ensureBaseProperty(this,"Message").$System$Exception$Message)},set:function(value){this.message=value}},innerException:{get:function(){return this.innererror},set:function(value){this.innererror=Bridge.as(value,GiveEasy.Shared.ODataException)}},innererror:null,message:null,type:null,stacktrace:null},ctors:{ctor:function(code){this.$initialize();GiveEasy.Shared.HttpRequestException.ctor.call(this,code)}}});Bridge.define("GiveEasy.Shared.RedirectException",{inherits:[GiveEasy.Shared.ViewModelException],props:{alternateUrl:null},ctors:{ctor:function(friendlyMessage,innerException,alternateUrl){innerException===void 0&&(innerException=null);alternateUrl===void 0&&(alternateUrl="");var $t;this.$initialize();GiveEasy.Shared.ViewModelException.ctor.call(this,friendlyMessage,innerException);this.alternateUrl=($t=alternateUrl,$t!=null?$t:"")}}});Bridge.define("GiveEasy.Shared.ServerException",{inherits:[GiveEasy.Shared.ViewModelException],props:{internalErrors:null},ctors:{ctor:function(friendlyMessage,innerException,internalerrors){innerException===void 0&&(innerException=null);internalerrors===void 0&&(internalerrors=[]);this.$initialize();GiveEasy.Shared.ViewModelException.ctor.call(this,friendlyMessage,innerException);this.internalErrors=internalerrors}}});Bridge.define("UIComponents.IContainerProps",{inherits:[UIComponents.IKeyProps],$kind:"interface"});Bridge.define("UIComponents.AutoProps",{inherits:[UIComponents.IKeyProps],fields:{_key:null},props:{key:{get:function(){var $t;return $t=this._key,$t!=null?$t:GiveEasy.Shared.Extensions.localKey(this)},set:function(value){this._key=value}}},alias:["key","UIComponents$IKeyProps$key"]});Bridge.definei("UIComponents.Components.Configurable.IConfigControl$1",function(){return{inherits:[UIComponents.Components.Configurable.IConfigControl],$kind:"interface",$variance:[2]}});Bridge.define("UIComponents.Apps.ClockControl.CountdownData",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{countdown_date:null,countdown_hide_on_pass:!1,countdown_hide_until_pass:!1,countdown_color:null,key:{get:function(){return"countdownData"}}},alias:["key","UIComponents$IKeyProps$key"],ctors:{init:function(){this.countdown_date=System.DateTime.getDefaultValue()}}});Bridge.define("UIComponents.Apps.DonateForm.ButtonForm.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.DonateForm.ButtonForm.State}}},fields:{iframe:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.iframe])},equals:function(o){return Bridge.is(o,UIComponents.Apps.DonateForm.ButtonForm.State)?Bridge.equals(this.iframe,o.iframe):!1},$clone:function(to){var s=to||new UIComponents.Apps.DonateForm.ButtonForm.State;return s.iframe=this.iframe,s}}});Bridge.define("UIComponents.Apps.DonateForm.ButtonSubmitForm",{inherits:[UIComponents.Components.Form.ISubmitForm],statics:{methods:{isDisabled:function(vfields){var isValid=System.Linq.Enumerable.from(vfields).aggregate(!0,$asm.$.UIComponents.Apps.DonateForm.ButtonSubmitForm.f1);return!isValid||System.Linq.Enumerable.from(vfields).all($asm.$.UIComponents.Apps.DonateForm.ButtonSubmitForm.f2)}}},props:{onSubmit:null,buttons:null,items:null,isDisabled:null},alias:["onSubmit","UIComponents$Components$Form$ISubmitForm$onSubmit","render","UIComponents$Components$Form$ISubmitForm$render"],ctors:{ctor:function(buttons,isDisabled,items){this.$initialize();this.isDisabled=isDisabled;this.items=items;this.buttons=buttons}},methods:{render:function(){var $t,props=($t=new UIComponents.Apps.DonateForm.ButtonForm.Props,$t.buttons=this.buttons,$t.items=this.items,$t.isDisabled=this.isDisabled,$t);return Bridge.React.Component$2(UIComponents.Apps.DonateForm.ButtonForm.Props,UIComponents.Apps.DonateForm.ButtonForm.State).op_Implicit(new UIComponents.Apps.DonateForm.ButtonForm(props))}}});Bridge.ns("UIComponents.Apps.DonateForm.ButtonSubmitForm",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.DonateForm.ButtonSubmitForm,{f1:function(k,valid){return!!(k&valid!==UIComponents.Validation.fail)},f2:function(f){return f===UIComponents.Validation.none}});Bridge.define("UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State}}},fields:{submitted:!1,CVN:0,cardNumber:null,card:null},ctors:{init:function(){this.card=new GiveEasy.Shared.Data.CardInfo},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.submitted,this.CVN,this.cardNumber,this.card])},equals:function(o){return Bridge.is(o,UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State)?Bridge.equals(this.submitted,o.submitted)&&Bridge.equals(this.CVN,o.CVN)&&Bridge.equals(this.cardNumber,o.cardNumber)&&Bridge.equals(this.card,o.card):!1},$clone:function(to){var s=to||new UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State;return s.submitted=this.submitted,s.CVN=this.CVN,s.cardNumber=this.cardNumber,s.card=this.card.$clone(),s}}});Bridge.define("UIComponents.Apps.DonateForm.TokenForm.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.DonateForm.TokenForm.State}}},props:{submitted:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.submitted])},equals:function(o){return Bridge.is(o,UIComponents.Apps.DonateForm.TokenForm.State)?Bridge.equals(this.submitted,o.submitted):!1},$clone:function(to){var s=to||new UIComponents.Apps.DonateForm.TokenForm.State;return s.submitted=this.submitted,s}}});Bridge.define("UIComponents.Apps.DonateForm.TokenSubmitForm",{inherits:[UIComponents.Components.Form.ISubmitForm],statics:{methods:{getFormAction:function(){var url=window.location,subdomain=System.Linq.Enumerable.from(System.String.split(url.host,[46].map(function(i){return String.fromCharCode(i)}))).firstOrDefault(null,null),action="";return System.String.isNullOrWhiteSpace(subdomain)||(action=System.String.format("/Charity/Appeal/AppealSubmit/{0}{1}",subdomain,url.pathname)),action}}},props:{payment:null,fields:null,items:null,shortToken:null,isDisabled:null,onSubmit:null},alias:["onSubmit","UIComponents$Components$Form$ISubmitForm$onSubmit","render","UIComponents$Components$Form$ISubmitForm$render"],ctors:{init:function(){this.payment=new GiveEasy.Shared.Data.CardInfo},ctor:function(shortToken,payment,isDisabled,items){this.$initialize();this.isDisabled=isDisabled;this.shortToken=shortToken;this.items=items;this.payment=payment.$clone()}},methods:{render:function(){var $t,$t1,disabled=this.isDisabled(),baseurl=UIComponents.Apps.DonateForm.TokenSubmitForm.getFormAction(),url,props;return this.items.set("t",this.shortToken),url=System.String.format("{0}?{1}",baseurl,GiveEasy.Shared.Extensions.asQueryParams(System.String,this.items)),props=($t=new UIComponents.Apps.DonateForm.TokenForm.Props,$t.formAttributes={className:"column tokenform",style:{padding:"0"},method:"POST",action:url},$t.label="Confirm Donation",$t.card=($t1=new GiveEasy.Shared.Data.CardInfo,$t1.truncatedPan=this.payment.truncatedPan,$t1.expiryMonth=this.payment.expiryMonth,$t1.expiryYear=this.payment.expiryYear,$t1),$t.disabled=disabled,$t.onSubmit=this.onSubmit,$t),React.createElement("div",Bridge.React.fixAttr({style:{margin:"0px 15px 15px",display:"block"}}),Bridge.React.Component$2(UIComponents.Apps.DonateForm.TokenForm.Props,UIComponents.Apps.DonateForm.TokenForm.State).op_Implicit(new UIComponents.Apps.DonateForm.TokenForm(props)))}}});Bridge.define("UIComponents.Apps.ProgressWidget.AppealSelect.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.ProgressWidget.AppealSelect.State}}},fields:{open:!1,titles:null,query:null,bearerToken:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.open,this.titles,this.query,this.bearerToken])},equals:function(o){return Bridge.is(o,UIComponents.Apps.ProgressWidget.AppealSelect.State)?Bridge.equals(this.open,o.open)&&Bridge.equals(this.titles,o.titles)&&Bridge.equals(this.query,o.query)&&Bridge.equals(this.bearerToken,o.bearerToken):!1},$clone:function(to){var s=to||new UIComponents.Apps.ProgressWidget.AppealSelect.State;return s.open=this.open,s.titles=this.titles,s.query=this.query,s.bearerToken=this.bearerToken,s}}});Bridge.define("UIComponents.Apps.ProgressWidgetApp.TargetContext",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.ProgressWidgetApp.TargetContext}}},fields:{goal:null,raised:null,percent:System.Decimal(0)},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([5622155931,this.goal,this.raised,this.percent])},equals:function(o){return Bridge.is(o,UIComponents.Apps.ProgressWidgetApp.TargetContext)?Bridge.equals(this.goal,o.goal)&&Bridge.equals(this.raised,o.raised)&&Bridge.equals(this.percent,o.percent):!1},$clone:function(to){var s=to||new UIComponents.Apps.ProgressWidgetApp.TargetContext;return s.goal=this.goal,s.raised=this.raised,s.percent=this.percent,s}}});Bridge.define("UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{contextname:null,barcolor:null,goal:System.Decimal(0),offset:System.Decimal(0),appealtitle:null,bearertoken:null,horizontal:!1,query:null,key:{get:function(){return"ProgressWidgetData"}}},alias:["key","UIComponents$IKeyProps$key"],ctors:{ctor:function(contextName){this.$initialize();this.contextname=contextName},$ctor1:function(state){this.$initialize();this.contextname=state.contextName;this.appealtitle=state.appealTitle;this.bearertoken=state.bearerToken;this.query=state.query;this.barcolor=state.barColor;this.goal=state.max;this.offset=System.Convert.toDecimal(state.amountOffset);this.horizontal=state.appearance===UIComponents.Apps.ProgressWidgetApp.ProgressStyle.horizontal}}});Bridge.define("UIComponents.Apps.SearchWidget.SearchInput",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.Apps.SearchWidget.SearchInput.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.Apps.SearchWidget.SearchInput.Props).ctor.call(this,props,children)}},methods:{render:function(){var input=React.createElement("input",Bridge.React.fixAttr({className:"input is-rounded is-info",type:"text",value:this.unwrappedProps.value,placeholder:this.unwrappedProps.placeholder,onChange:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.SearchWidget.SearchInput.f1),onBlur:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.SearchWidget.SearchInput.f2)}));return React.createElement("div",Bridge.React.fixAttr({className:"field"}),React.createElement("p",Bridge.React.fixAttr({className:"control has-icons-left"}),input,React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-left"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-search",style:{color:"#000000"}}),null))))}}});Bridge.ns("UIComponents.Apps.SearchWidget.SearchInput",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.SearchWidget.SearchInput,{f1:function(e){this.unwrappedProps.onChange(e.currentTarget.value)},f2:function(){window.setTimeout(this.unwrappedProps.onBlur,500)}});Bridge.define("UIComponents.Apps.SearchWidget.SearchWidgetApp.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.SearchWidget.SearchWidgetApp.State}}},fields:{searchTerm:null,items:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.searchTerm,this.items])},equals:function(o){return Bridge.is(o,UIComponents.Apps.SearchWidget.SearchWidgetApp.State)?Bridge.equals(this.searchTerm,o.searchTerm)&&Bridge.equals(this.items,o.items):!1},$clone:function(to){var s=to||new UIComponents.Apps.SearchWidget.SearchWidgetApp.State;return s.searchTerm=this.searchTerm,s.items=this.items,s}}});Bridge.define("UIComponents.Collections.TagSetTD.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:{get:function(){return this.item.key}},item:null,context:null,update:null},alias:["key","UIComponents$IKeyProps$key"],ctors:{init:function(){this.item=new(System.Collections.Generic.KeyValuePair$2(System.String,System.String))},ctor:function(context){this.$initialize();this.context=context}}});Bridge.define("UIComponents.Components.Containers.SimpleCarouselContainer.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Containers.SimpleCarouselContainer.State}}},methods:{$clone:function(){return this}}});Bridge.define("UIComponents.Components.Elements.LeaderboardPanel.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Elements.LeaderboardPanel.State}}},fields:{numberOfGroup:0,iframeGroupModal:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.numberOfGroup,this.iframeGroupModal])},equals:function(o){return Bridge.is(o,UIComponents.Components.Elements.LeaderboardPanel.State)?Bridge.equals(this.numberOfGroup,o.numberOfGroup)&&Bridge.equals(this.iframeGroupModal,o.iframeGroupModal):!1},$clone:function(to){var s=to||new UIComponents.Components.Elements.LeaderboardPanel.State;return s.numberOfGroup=this.numberOfGroup,s.iframeGroupModal=this.iframeGroupModal,s}}});Bridge.define("UIComponents.Components.Form.Buttons.ButtonEditor.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{initial:null,key:null,onSave:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Form.Editor.Editor$1.State",function(T){return{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(UIComponents.Components.Form.Editor.Editor$1.State(T))}}},fields:{fields:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.fields])},equals:function(o){return Bridge.is(o,UIComponents.Components.Form.Editor.Editor$1.State(T))?Bridge.equals(this.fields,o.fields):!1},$clone:function(to){var s=to||new(UIComponents.Components.Form.Editor.Editor$1.State(T));return s.fields=this.fields,s}}}});Bridge.define("UIComponents.Components.Form.Editor.Editor$1.Props",function(T){return{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{initial:Bridge.getDefaultValue(T),key:null,onUpdate:null,onDelete:null},alias:["key","UIComponents$IKeyProps$key"]}});Bridge.define("UIComponents.Components.Form.Fields.CustSelectInput.Props.CustSelectConfig",{inherits:[UIComponents.CustInput.FieldConfig],$kind:"nested class",props:{options:null},ctors:{init:function(){this.options=""}}});Bridge.define("UIComponents.Components.Form.FlexForm.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",fields:{disabled:!1},props:{key:null,formAttributes:null,onSubmit:null,fields:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",fields:{editor:null,tabKey:null,trigger:null,cancelExclusive:null,renderExclusive:!1,requestExclusive:null,expanded:!1,toggleDropdown:null},props:{key:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal.Props).ctor.call(this,props,children)}},methods:{render:function(){return Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(this.confirmmodal())},confirmmodal:function(){var $t,propseditor=new(UIComponents.Components.Form.Editor.EditorColumn$1(UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData)),$t.initial=this.unwrappedProps.widgetData,$t.onUpdate=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal.f1),$t)),appealselect=new UIComponents.Apps.ProgressWidget.AppealSelect(($t=new UIComponents.Apps.ProgressWidget.AppealSelect.Props,$t.initial=this.unwrappedProps.appealData,$t.onUpdate=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal.f2),$t)),disabled=!1,label="Insert";return System.String.isNullOrWhiteSpace(this.unwrappedProps.widgetData.bearertoken)&&(disabled=!0,label="Loading...",System.String.isNullOrWhiteSpace(this.unwrappedProps.widgetData.appealtitle)&&(label="Select an Appeal")),new UIComponents.ConfirmModal(($t=new UIComponents.ConfirmModal.Props,$t.key="AppealDialogModal",$t.title="Insert a Progress Bar Widget",$t.active=this.unwrappedProps.open,$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal.f3),$t.onClose=this.unwrappedProps.onClose,$t.confirmDisabled=disabled,$t.confirmLabel=label,$t),[React.createElement("div",Bridge.React.fixAttr({key:"selectType",className:"column",style:{color:"#000",margin:"auto"}}),Bridge.React.Component$2(UIComponents.Apps.ProgressWidget.AppealSelect.Props,UIComponents.Apps.ProgressWidget.AppealSelect.State).op_Implicit(appealselect)),Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData)).op_Implicit$1(propseditor)])}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal,{f1:function(x){var appealtitle=this.unwrappedProps.widgetData.appealtitle,bearertoken=this.unwrappedProps.widgetData.bearertoken,query=this.unwrappedProps.widgetData.query;this.unwrappedProps.widgetData=x;this.unwrappedProps.widgetData.query=query;this.unwrappedProps.widgetData.appealtitle=appealtitle;this.unwrappedProps.widgetData.bearertoken=bearertoken},f2:function(t){var $t1;this.unwrappedProps.widgetData.bearertoken=t.bearerToken;this.unwrappedProps.widgetData.query=t.query;($t1=this.unwrappedProps)!=null?$t1.onUpdate(this.unwrappedProps.widgetData):null},f3:function(){this.unwrappedProps.onSubmit(this.unwrappedProps.widgetData)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:null,active:!1,onClose:null,editor:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:null,active:!1,onClose:null,editor:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:null,active:!1,onClose:null,editor:null,reloadParent:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:null,active:!1,onClose:null,editor:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:null,active:!1,onClose:null,editor:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:null,active:!1,onClose:null,editor:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:null,active:!1,onClose:null,editor:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:null,active:!1,onClose:null,editor:null},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.SocialButtonData",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{type:0,shareurl:null,key:{get:function(){return"SocialButtonData"}}},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Components.ProgressBar",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.Components.ProgressBar.Props)],statics:{methods:{invert:function(fraction){return System.Decimal.max(System.Decimal(1).sub(fraction),System.Decimal(0))}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.Components.ProgressBar.Props).ctor.call(this,props,children)}},methods:{render:function(){var minor="3em",major=System.String.format("{0}%",[UIComponents.Components.ProgressBar.invert(this.unwrappedProps.fraction).mul(System.Decimal(100))]),h=this.unwrappedProps.isVertical?major:minor,w=this.unwrappedProps.isVertical?"100%":major,hmax=this.unwrappedProps.isVertical?"100%":minor,r1="0",r2="0",radius=this.unwrappedProps.isVertical?System.String.format("{0} {1} {2} {3}",r1,r1,r2,r2):System.String.format("{0} {1} {2} {3}",r2,r1,r1,r2),icon_handle=React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",style:{left:"0",top:"0",maxHeight:"1px",maxWidth:"1px"},data:{id:System.String.format("icon-handle-{0}",[this.unwrappedProps.contextName])}}),null),inner=React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",style:{height:h,width:w,right:0,left:"initial",backgroundColor:"#eee",borderRadius:radius,boxShadow:"inset 0px 0px 3px #333"}}),icon_handle),outerStyle=this.unwrappedProps.style||{},outer;return outerStyle.height=hmax,outerStyle.width="100%",outerStyle.minWidth="8em",outerStyle.marginLeft="auto",outerStyle.marginRight="auto",outerStyle.position="relative",outerStyle.boxShadow="inset 0px 0px 3px #333",outerStyle.borderRadius="0px",this.unwrappedProps.isVertical&&(outerStyle.minHeight="240px"),outer=React.createElement("div",Bridge.React.fixAttr({style:outerStyle,className:"progress progress-bar-vertical progress-bar"}),inner),React.createElement("div",Bridge.React.fixAttr({key:GiveEasy.Shared.Extensions.localKey(this.unwrappedProps),style:{width:"100%",height:"100%"}}),outer)}}});Bridge.define("UIComponents.Dispatchers.ApiRefreshDispatcher",{inherits:[UIComponents.Dispatchers.EventDispatcher],methods:{invoke:function(ApiRefreshEventArgs,evt){this.dispatch(evt)},add:function(ApiRefreshEventArgs,callback){return this.receive(Bridge.cast(callback,Function))}}});Bridge.define("UIComponents.Dispatchers.ContextDispatcher",{inherits:[UIComponents.Dispatchers.EventDispatcher],methods:{invoke:function(TagDispatcherArgs,evt){this.dispatch(evt)},add:function(IContextState,callback){return this.receive(Bridge.cast(callback,Function))}}});Bridge.define("UIComponents.Dispatchers.SubmitFormDispatcher",{inherits:[UIComponents.Dispatchers.EventDispatcher],methods:{invoke:function(SubmitFormDispatcherArgs,evt){this.dispatch(evt)},add:function(SubmitFormDispatcherArgs,callback){return this.receive(Bridge.cast(callback,Function))}}});Bridge.define("UIComponents.Dispatchers.UpdateFieldDispatcher",{inherits:[UIComponents.Dispatchers.EventDispatcher],methods:{invoke:function(UpdateFieldEventArgs,evt){this.dispatch(evt)},add:function(UpdateFieldEventArgs,callback){return this.receive(Bridge.cast(callback,Function))}}});Bridge.define("UIComponents.DonationAmountInput.Props.DonationAmountConfig",{inherits:[UIComponents.CustInput.FieldConfig],$kind:"nested class",props:{multiplier:System.Decimal(0)},ctors:{init:function(){this.multiplier=System.Decimal(1)}}});Bridge.define("UIComponents.DropdownList.SelectedItem.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{key:null,onClick:null,isSelected:!1},alias:["key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.FieldEditor",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.FieldEditor.Props)],statics:{fields:{custInputTypeOptions:null},ctors:{init:function(){this.custInputTypeOptions=$asm.$.UIComponents.FieldEditor.f1(new(System.Collections.Generic.Dictionary$2(System.Object,System.String)))}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.FieldEditor.Props).ctor.call(this,props,children)}},methods:{editorFields:function(){return new(Bridge.GeneratorEnumerable$1(Object))(Bridge.fn.bind(this,function(){var $step=0,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(Object))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return $enumerator.current=Bridge.as(this.unwrappedProps.targetField,UIComponents.CustProps).buildEditor(Bridge.fn.bind(this,$asm.$.UIComponents.FieldEditor.f2)),$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},render:function(){var formattrs=this.unwrappedProps.fieldEditorAttributes||{className:"column is-full-mobile"},canRemove=!Bridge.referenceEquals(this.unwrappedProps.targetField.UIComponents$IKeyProps$key.toLowerCase(),"amount"),editorRows=this.editorFields();return React.createElement("div",Bridge.React.fixAttr({key:System.String.format("{0}-container",[this.unwrappedProps.label]),style:{display:"flex",justifyContent:"space-between",alignItems:"center",margin:"24px 0"}}),React.createElement("div",Bridge.React.fixAttr({className:"",key:System.String.format("{0}-sub1",[this.unwrappedProps.label])}),System.Linq.Enumerable.from(editorRows).toArray()),React.createElement("input",Bridge.React.fixAttr({value:"Remove ",type:"button",disabled:!canRemove,data:{tooltip:"Remove this field"},className:System.String.format("button is-danger",null),style:{marginLeft:"5px"},onClick:Bridge.fn.bind(this,$asm.$.UIComponents.FieldEditor.f3)})))}}});Bridge.ns("UIComponents.FieldEditor",$asm.$);Bridge.apply($asm.$.UIComponents.FieldEditor,{f1:function(_o1){return _o1.add(UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.CustTextInput),"Text"),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.CustNumberInput),"Number"),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.CustPostcodeInput),"Postcode"),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.DonationAmountInput),"Amount"),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.Components.Form.Fields.CommentMessageInput),"Message"),_o1.add(UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.Components.Form.Fields.CustSelectInput),"SelectBox"),_o1},f2:function(){this.unwrappedProps.onSave(new UIComponents.SaveEventArgs)},f3:function(){var $t;if(window.confirm("Are you sure that you want to remove field: "+(this.unwrappedProps.targetField.UIComponents$IKeyProps$key||"")))this.unwrappedProps.onRemove(($t=new UIComponents.SaveEventArgs,$t.attributes=Bridge.cast(this.unwrappedProps.targetField,UIComponents.CustInput.Props),$t))}});Bridge.define("UIComponents.FormValidator.BasicEmail",{inherits:[UIComponents.IValidator],$kind:"nested class",statics:{methods:{basicEmail:function(form){var $t;return System.String.isNullOrWhiteSpace(form.value)?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.none,$t):System.Linq.Enumerable.from(form.value).count($asm.$.UIComponents.FormValidator.BasicEmail.f1)===1&&System.String.indexOf(form.value,String.fromCharCode(46))>0&&!System.String.endsWith(form.value,".")?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.pass,$t):($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message="A valid email address is required",$t)}}},props:{invoke:{get:function(){return UIComponents.FormValidator.BasicEmail.basicEmail}}},alias:["invoke","UIComponents$IValidator$invoke"]});Bridge.ns("UIComponents.FormValidator.BasicEmail",$asm.$);Bridge.apply($asm.$.UIComponents.FormValidator.BasicEmail,{f1:function(c){return c===64}});Bridge.define("UIComponents.FormValidator.DoesNotContain",{inherits:[UIComponents.IValidator],$kind:"nested class",statics:{methods:{minLength:function(form,forbidden){var $t;return(forbidden===void 0&&(forbidden=[]),System.Linq.Enumerable.from(forbidden).any(function(s){return System.String.contains(form.value,s)}))?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=System.String.format("{0} must not contain {{{1}}}",form.label,forbidden.join(",")),$t):($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.pass,$t)}}},fields:{forbidden:null},props:{invoke:{get:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.FormValidator.DoesNotContain.f1)}}},alias:["invoke","UIComponents$IValidator$invoke"],ctors:{ctor:function(forbidden){forbidden===void 0&&(forbidden=[]);this.$initialize();this.forbidden=forbidden}}});Bridge.ns("UIComponents.FormValidator.DoesNotContain",$asm.$);Bridge.apply($asm.$.UIComponents.FormValidator.DoesNotContain,{f1:function(f){return UIComponents.FormValidator.DoesNotContain.minLength(f,this.forbidden)}});Bridge.define("UIComponents.FormValidator.ExactLength",{inherits:[UIComponents.IValidator],$kind:"nested class",statics:{methods:{minLength:function(form,length){var $t;return System.String.isNullOrWhiteSpace(form.value)?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=System.String.format("{0} is required",[form.label]),$t):form.value.length!==length?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=System.String.format("{0} must be exactly {1} {2}",form.label,Bridge.box(length,System.Int32),GiveEasy.Shared.Extensions.plural("character",length)),$t):($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.pass,$t)}}},fields:{length:0},props:{invoke:{get:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.FormValidator.ExactLength.f1)}}},alias:["invoke","UIComponents$IValidator$invoke"],ctors:{ctor:function(length){this.$initialize();this.length=length}}});Bridge.ns("UIComponents.FormValidator.ExactLength",$asm.$);Bridge.apply($asm.$.UIComponents.FormValidator.ExactLength,{f1:function(f){return UIComponents.FormValidator.ExactLength.minLength(f,this.length)}});Bridge.define("UIComponents.FormValidator.GreaterOrEqual",{inherits:[UIComponents.IValidator],$kind:"nested class",statics:{methods:{greaterOrEqual:function(form,num){var $t,msg=System.String.format("{0} must be at least {1:0.00}",form.label,num),val;return System.String.isNullOrWhiteSpace(form.value)?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=msg,$t):(val={v:System.Decimal(0)},System.Decimal.tryParse(form.value,null,val),$t=new UIComponents.FormValidator.Props,$t.valid=val.v.gte(num)?UIComponents.Validation.pass:UIComponents.Validation.fail,$t.message=msg,$t)}}},fields:{num:System.Decimal(0)},props:{invoke:{get:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.FormValidator.GreaterOrEqual.f1)}}},alias:["invoke","UIComponents$IValidator$invoke"],ctors:{ctor:function(num){this.$initialize();this.num=num}}});Bridge.ns("UIComponents.FormValidator.GreaterOrEqual",$asm.$);Bridge.apply($asm.$.UIComponents.FormValidator.GreaterOrEqual,{f1:function(f){return UIComponents.FormValidator.GreaterOrEqual.greaterOrEqual(f,this.num)}});Bridge.define("UIComponents.FormValidator.IsChecked",{inherits:[UIComponents.IValidator],$kind:"nested class",statics:{methods:{isChecked:function(form){var $t,msg=System.String.format("{0} is required",[form.label]),check;return System.String.isNullOrWhiteSpace(form.value)?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=msg,$t):(check={v:!1},System.Boolean.tryParse(form.value,check),$t=new UIComponents.FormValidator.Props,$t.valid=check.v?UIComponents.Validation.pass:UIComponents.Validation.fail,$t.message=msg,$t)}}},props:{invoke:{get:function(){return UIComponents.FormValidator.IsChecked.isChecked}}},alias:["invoke","UIComponents$IValidator$invoke"]});Bridge.define("UIComponents.FormValidator.IsNumber",{inherits:[UIComponents.IValidator],$kind:"nested class",statics:{methods:{isNumber:function(form){var $t,msg=System.String.format("{0} must be a number",[form.label]),val;return System.String.isNullOrWhiteSpace(form.value)?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.none,$t):(val={v:System.Decimal(0)},!System.Decimal.tryParse(form.value,null,val))?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=msg,$t):($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.pass,$t)}}},props:{invoke:{get:function(){return UIComponents.FormValidator.IsNumber.isNumber}}},alias:["invoke","UIComponents$IValidator$invoke"]});Bridge.define("UIComponents.FormValidator.LowerCaseOnly",{inherits:[UIComponents.IValidator],$kind:"nested class",statics:{methods:{lowerCaseOnly:function(form){var $t,msg=System.String.format("{0} should only have lowercase characters",[form.label]);return System.String.isNullOrWhiteSpace(form.value)?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.none,$t):System.Linq.Enumerable.from(form.value).all($asm.$.UIComponents.FormValidator.LowerCaseOnly.f1)?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.pass,$t):($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=msg,$t)}}},props:{invoke:{get:function(){return UIComponents.FormValidator.LowerCaseOnly.lowerCaseOnly}}},alias:["invoke","UIComponents$IValidator$invoke"]});Bridge.ns("UIComponents.FormValidator.LowerCaseOnly",$asm.$);Bridge.apply($asm.$.UIComponents.FormValidator.LowerCaseOnly,{f1:function(c){return Bridge.isLower(c)||!System.Char.isLetter(c)}});Bridge.define("UIComponents.FormValidator.MinLength",{inherits:[UIComponents.IValidator],$kind:"nested class",statics:{methods:{minLength:function(form,length){var $t;return System.String.isNullOrWhiteSpace(form.value)?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=System.String.format("{0} is required",[form.label]),$t):form.value.length<length?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=System.String.format("{0} must be at least {1} {2}",form.label,Bridge.box(length,System.Int32),GiveEasy.Shared.Extensions.plural("character",length)),$t):($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.pass,$t)}}},fields:{length:0},props:{invoke:{get:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.FormValidator.MinLength.f1)}}},alias:["invoke","UIComponents$IValidator$invoke"],ctors:{ctor:function(length){this.$initialize();this.length=length}}});Bridge.ns("UIComponents.FormValidator.MinLength",$asm.$);Bridge.apply($asm.$.UIComponents.FormValidator.MinLength,{f1:function(f){return UIComponents.FormValidator.MinLength.minLength(f,this.length)}});Bridge.define("UIComponents.FormValidator.NotBlank",{inherits:[UIComponents.IValidator],$kind:"nested class",statics:{methods:{notBlank:function(form){var $t;return System.String.isNullOrWhiteSpace(form.value)?($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.fail,$t.message=System.String.format("{0} is required",[form.label]),$t):($t=new UIComponents.FormValidator.Props,$t.valid=UIComponents.Validation.pass,$t)}}},props:{invoke:{get:function(){return UIComponents.FormValidator.NotBlank.notBlank}}},alias:["invoke","UIComponents$IValidator$invoke"]});Bridge.define("UIComponents.Layout.FlexColumns.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{properties:null,items:null,key:null},alias:["key","UIComponents$IKeyProps$key"],ctors:{init:function(){this.items=new(System.Collections.Generic.Dictionary$2(System.String,System.Object))},ctor:function(key,children){var $t,i,c;children===void 0&&(children=[]);this.$initialize();this.key=key;i=0;$t=Bridge.getEnumerator(children);try{while($t.moveNext())c=$t.Current,this.items.System$Collections$Generic$IDictionary$2$System$String$System$Object$add(System.String.format("{0}",[Bridge.box(Bridge.identity(i,i=i+1|0),System.Int32)]),c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}}});Bridge.define("UIComponents.Layout.FlexRows.Props",{inherits:[UIComponents.IKeyProps],$kind:"nested class",props:{properties:null,items:null,key:null},alias:["key","UIComponents$IKeyProps$key"],ctors:{init:function(){this.items=new(System.Collections.Generic.Dictionary$2(System.String,System.Object))},ctor:function(key,children){var $t,i,c;children===void 0&&(children=[]);this.$initialize();this.key=key;i=0;$t=Bridge.getEnumerator(children);try{while($t.moveNext())c=$t.Current,this.items.System$Collections$Generic$IDictionary$2$System$String$System$Object$add(System.String.format("{0}",[Bridge.box(Bridge.identity(i,i=i+1|0),System.Int32)]),c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}}});Bridge.define("UIComponents.Services.Alloy.Settings.AppealSettings",{inherits:[UIComponents.Services.Alloy.Settings.BaseSettings]});Bridge.define("UIComponents.Services.Alloy.Settings.EmailSettings",{inherits:[UIComponents.Services.Alloy.Settings.BaseSettings],statics:{methods:{toolbarsForMail:function(alloyhandle){var selections=UIComponents.Services.Alloy.Settings.BaseSettings.textStyle(alloyhandle);return{add:{buttons:Bridge.toArray(System.Array.init(["image","embed","hline","embed_infor_block"],System.String)),tabIndex:2},styles:{selections:selections,tabIndex:1}}}}},methods:{config:function(){var config=UIComponents.Services.Alloy.Settings.BaseSettings.prototype.config.call(this);return config.htmlbuttons=System.Array.init(0,null,System.Object),config}}});Bridge.define("UIComponents.Services.Alloy.Settings.ThanksSettings",{inherits:[UIComponents.Services.Alloy.Settings.BaseSettings],statics:{methods:{toolbarsForCustomPage:function(alloyhandle){var selections=UIComponents.Services.Alloy.Settings.BaseSettings.textStyle(alloyhandle);return{add:{buttons:Bridge.toArray(System.Array.init(["image","embed","hline","embed_youtube","embed_prefill_block"],System.String)),tabIndex:2},styles:{selections:selections,tabIndex:1}}}}},methods:{config:function(){var config=UIComponents.Services.Alloy.Settings.BaseSettings.prototype.config.call(this);return config.htmlbuttons=System.Array.init(0,null,System.Object),config}}});Bridge.define("UIComponents.Services.Handlebars.HandlebarsTemplate.QueryParams",{inherits:[UIComponents.Dispatchers.ContextDispatcher.IContextState$1(System.Object)],$kind:"nested class",fields:{context:null},props:{contextName:null},alias:["contextName",["UIComponents$Dispatchers$ContextDispatcher$IContextState$1$System$Object$contextName","UIComponents$Dispatchers$ContextDispatcher$IContextState$1$contextName"],"updateContext",["UIComponents$Dispatchers$ContextDispatcher$IContextState$1$System$Object$updateContext","UIComponents$Dispatchers$ContextDispatcher$IContextState$1$updateContext"]],ctors:{init:function(){this.contextName=""},ctor:function(name,value){this.$initialize();this.contextName=name;this.context=value}},methods:{updateContext:function(){return this.context}}});Bridge.define("UIComponents.SimpleForm.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.SimpleForm.State}}},props:{submitted:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.submitted])},equals:function(o){return Bridge.is(o,UIComponents.SimpleForm.State)?Bridge.equals(this.submitted,o.submitted):!1},$clone:function(to){var s=to||new UIComponents.SimpleForm.State;return s.submitted=this.submitted,s}}});Bridge.define("UIComponents.SimpleList$1",function(T){return{inherits:[Bridge.React.StatelessComponent$1(UIComponents.SimpleList$1.Props(T))],ctors:{ctor:function(props){this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.SimpleList$1.Props(T)).ctor.call(this,props)}},methods:{render:function(){return React.createElement("select",Bridge.React.fixAttr({className:"select is-large",multiple:!1,value:this.unwrappedProps.value,onChange:Bridge.fn.bind(this,$asm.$.UIComponents.SimpleList$1.f1)}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(this.unwrappedProps.options.getKeys()).select($asm.$.UIComponents.SimpleList$1.f2)).toArray())}}}});Bridge.ns("UIComponents.SimpleList$1",$asm.$);Bridge.apply($asm.$.UIComponents.SimpleList$1,{f1:function(e){this.unwrappedProps.onSelect(e)},f2:function(i){return React.createElement("option",Bridge.React.fixAttr({key:i}),i)}});Bridge.define("ViewModels.DonateFormModel",{inherits:[GiveEasy.Shared.IAppealTitle],props:{charityId:0,charityName:null,title:null,payment:null,payPalAccount:null,context:null,isCharityApplicationApproved:!1,isPayPalAuthorized:!1,payPalClientId:null,payPalMode:null,payPalReturnUrl:null,groupTitle:null,groupKey:null,contextKey:null},alias:["charityId","GiveEasy$Shared$IAppealTitle$charityId","title","GiveEasy$Shared$IAppealTitle$title"],ctors:{init:function(){this.context=new ViewModels.ReactContext.AppealTitleContext}}});Bridge.define("ViewModels.EmailTemplateMetaModel",{inherits:[GiveEasy.Shared.ICustomPageTitle],props:{charityId:0,charityName:null,title:null,compoundUUID:null,context:null,tagSetContext:null},alias:["title","GiveEasy$Shared$ICustomPageTitle$title"],ctors:{init:function(){this.context=new ViewModels.ReactContext.ReceiptTitleContext}}});Bridge.define("ViewModels.PageMetaModel",{inherits:[GiveEasy.Shared.ICustomPageTitle,GiveEasy.Shared.IAppealTitle],props:{charityId:0,charityName:null,charitySlug:null,UUID:null,title:null,appealKey:null,context:null,tagSetContext:null},alias:["charityId","GiveEasy$Shared$IAppealTitle$charityId","title","GiveEasy$Shared$IAppealTitle$title","title","GiveEasy$Shared$ICustomPageTitle$title"],ctors:{init:function(){this.context=new ViewModels.ReactContext.PageTitleContext}}});Bridge.define("GiveEasy.Shared.Data.DonationInfo",{inherits:[GiveEasy.Shared.IDonation],$kind:"struct",statics:{methods:{getDefaultValue:function(){return new GiveEasy.Shared.Data.DonationInfo}}},props:{givingId:System.Int64(0),charityId:0,email:null,firstName:null,lastName:null,amount:System.Decimal(0),currency:null,transaction:0,appealTitle:null,appealKey:null,creationUtcTime:null,modificationUtcTime:null,isTaxDeductible:!1},alias:["givingId","GiveEasy$Shared$IDonation$givingId","charityId","GiveEasy$Shared$IDonation$charityId","email","GiveEasy$Shared$IReceipt$email","firstName","GiveEasy$Shared$IReceipt$firstName","lastName","GiveEasy$Shared$IReceipt$lastName","amount","GiveEasy$Shared$IReceipt$amount","currency","GiveEasy$Shared$IDonation$currency","appealTitle","GiveEasy$Shared$IDonation$appealTitle","appealKey","GiveEasy$Shared$IDonation$appealKey"],ctors:{init:function(){this.creationUtcTime=System.DateTime.getDefaultValue();this.modificationUtcTime=System.DateTime.getDefaultValue()},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([5356406529,this.givingId,this.charityId,this.email,this.firstName,this.lastName,this.amount,this.currency,this.transaction,this.appealTitle,this.appealKey,this.creationUtcTime,this.modificationUtcTime,this.isTaxDeductible])},equals:function(o){return Bridge.is(o,GiveEasy.Shared.Data.DonationInfo)?Bridge.equals(this.givingId,o.givingId)&&Bridge.equals(this.charityId,o.charityId)&&Bridge.equals(this.email,o.email)&&Bridge.equals(this.firstName,o.firstName)&&Bridge.equals(this.lastName,o.lastName)&&Bridge.equals(this.amount,o.amount)&&Bridge.equals(this.currency,o.currency)&&Bridge.equals(this.transaction,o.transaction)&&Bridge.equals(this.appealTitle,o.appealTitle)&&Bridge.equals(this.appealKey,o.appealKey)&&Bridge.equals(this.creationUtcTime,o.creationUtcTime)&&Bridge.equals(this.modificationUtcTime,o.modificationUtcTime)&&Bridge.equals(this.isTaxDeductible,o.isTaxDeductible):!1},$clone:function(to){var s=to||new GiveEasy.Shared.Data.DonationInfo;return s.givingId=this.givingId,s.charityId=this.charityId,s.email=this.email,s.firstName=this.firstName,s.lastName=this.lastName,s.amount=this.amount,s.currency=this.currency,s.transaction=this.transaction,s.appealTitle=this.appealTitle,s.appealKey=this.appealKey,s.creationUtcTime=this.creationUtcTime,s.modificationUtcTime=this.modificationUtcTime,s.isTaxDeductible=this.isTaxDeductible,s}}});Bridge.define("UIComponents.Apps.AppealEditor.AppealEditorApp.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{key:null,innerID:null,inner:null,meta:null,savingProcess:0},alias:["key","UIComponents$IKeyProps$key","innerID","UIComponents$IContainerProps$innerID","inner","UIComponents$IContainerProps$inner"]});Bridge.define("UIComponents.Apps.AppealEditor.AppealLI.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{collection:null,item:null,context:null,create:null},ctors:{init:function(){this.context=new ViewModels.ReactContext.AppealTitleContext},ctor:function(context){this.$initialize();UIComponents.AutoProps.ctor.call(this);this.context=context.$clone()}}});Bridge.define("UIComponents.Collections.ODataCollection$2.State",function(T,C){return{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(UIComponents.Collections.ODataCollection$2.State(T,C))}}},fields:{didLoad:!1,items:null},props:{newItem:Bridge.getDefaultValue(T)},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.didLoad,this.items,this.newItem])},equals:function(o){return Bridge.is(o,UIComponents.Collections.ODataCollection$2.State(T,C))?Bridge.equals(this.didLoad,o.didLoad)&&Bridge.equals(this.items,o.items)&&Bridge.equals(this.newItem,o.newItem):!1},$clone:function(to){var s=to||new(UIComponents.Collections.ODataCollection$2.State(T,C));return s.didLoad=this.didLoad,s.items=this.items,s.newItem=this.newItem,s}}}});Bridge.define("ViewModels.AppealTitle",{inherits:[GiveEasy.Shared.IAppealTitle],props:{UUID:null,charityId:0,appealKey:null,title:null,created:null},alias:["charityId","GiveEasy$Shared$IAppealTitle$charityId","title","GiveEasy$Shared$IAppealTitle$title"],ctors:{init:function(){this.created=System.DateTime.getDefaultValue();this.created=System.DateTime.getNow()}},methods:{equals:function(obj){var other=Bridge.as(obj,ViewModels.AppealTitle);return other!=null?this.charityId===other.charityId&&System.String.equals(this.title,other.title,3):!1},getHashCode:function(){return System.String.isNullOrEmpty(this.title)?Bridge.getHashCode(this.charityId):Bridge.getHashCode(this.charityId)^Bridge.getHashCode(this.title)}}});Bridge.define("UIComponents.Collections.ODataCollection$2.Props$1",function(T,C,U){return{inherits:[UIComponents.IContainerProps],$kind:"nested class",fields:{context:Bridge.getDefaultValue(U)},props:{key:null,oDataSrc:null,filter:null,template:Bridge.getDefaultValue(T),inner:null,innerID:null},alias:["key","UIComponents$IKeyProps$key","inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID"]}});Bridge.define("UIComponents.Apps.AppealEditor.EditableTileContainer.Props",{inherits:[UIComponents.AutoProps,UIComponents.IContainerProps],$kind:"nested class",props:{canShow:!1,innerID:null,inner:null},alias:["innerID","UIComponents$IContainerProps$innerID","inner","UIComponents$IContainerProps$inner"]});Bridge.define("UIComponents.Apps.AppealEditor.EmailEditorApp.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{key:null,innerID:null,inner:null,meta:null,infor:null,savingProcess:0},alias:["key","UIComponents$IKeyProps$key","innerID","UIComponents$IContainerProps$innerID","inner","UIComponents$IContainerProps$inner"]});Bridge.define("UIComponents.Apps.AppealEditor.ReceiptLI.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{collection:null,item:null,options:null,context:null,create:null},ctors:{init:function(){this.context=new ViewModels.ReactContext.ReceiptTitleContext},ctor:function(context){this.$initialize();UIComponents.AutoProps.ctor.call(this);this.context=context.$clone()}}});Bridge.define("UIComponents.Apps.AppealEditor.ThankyouPageLI.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{collection:null,item:null,options:null,context:null,create:null},ctors:{init:function(){this.context=new ViewModels.ReactContext.PageTitleContext},ctor:function(context){this.$initialize();UIComponents.AutoProps.ctor.call(this);this.context=context.$clone()}}});Bridge.define("UIComponents.Apps.AppealEditor.PageEditorApp.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{key:null,innerID:null,inner:null,meta:null,savingProcess:0},alias:["key","UIComponents$IKeyProps$key","innerID","UIComponents$IContainerProps$innerID","inner","UIComponents$IContainerProps$inner"]});Bridge.define("ViewModels.ReceiptTitle",{inherits:[GiveEasy.Shared.IReceiptTitle],props:{UUID:null,charityId:0,receiptKey:null,title:null,created:null,appealUUID:null},alias:["charityId","GiveEasy$Shared$IReceiptTitle$charityId","title","GiveEasy$Shared$IReceiptTitle$title"],ctors:{init:function(){this.created=System.DateTime.getDefaultValue();this.created=System.DateTime.getNow()}}});Bridge.define("ViewModels.ThankyouPageTitle",{inherits:[GiveEasy.Shared.ICustomPageTitle],props:{UUID:null,thankyouPageKey:null,title:null,created:null,appealUUID:null},alias:["title","GiveEasy$Shared$ICustomPageTitle$title"],ctors:{init:function(){this.created=System.DateTime.getDefaultValue();this.created=System.DateTime.getNow()}}});Bridge.define("UIComponents.Apps.CountdownWidgetApp.Props",{inherits:[UIComponents.IKeyProps,UIComponents.IContainerProps],$kind:"nested class",fields:{newState:null},props:{inner:null,innerID:null,key:{get:function(){return Bridge.toString(Bridge.getHashCode(this.newState))}}},alias:["inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID","key","UIComponents$IKeyProps$key"],ctors:{init:function(){var $t;this.newState=new UIComponents.Apps.CountdownWidgetApp.State;this.newState=($t=new UIComponents.Apps.CountdownWidgetApp.State,$t.targetDate=System.DateTime.getToday(),$t)}}});Bridge.define("UIComponents.Apps.DonateForm.ButtonForm",{inherits:[Bridge.React.Component$2(UIComponents.Apps.DonateForm.ButtonForm.Props,UIComponents.Apps.DonateForm.ButtonForm.State)],statics:{fields:{retryHours:0},ctors:{init:function(){this.retryHours=1}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.DonateForm.ButtonForm.Props,UIComponents.Apps.DonateForm.ButtonForm.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Apps.DonateForm.ButtonForm.State,$t.iframe=null,$t},render:function(){var $t,form=React.createElement("div",Bridge.React.fixAttr({className:"field",style:{margin:"1em"}}),React.createElement("div",Bridge.React.fixAttr({id:"donate-form-actions",className:"control"}),System.Linq.Enumerable.from(this.unwrappedProps.buttons).toArray())),modal=null;return this.unwrappedState.iframe!=null&&(modal=new UIComponents.Modal(($t=new UIComponents.Modal.Props,$t.active=!0,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.ButtonForm.f2),$t.hasBackgroundCloseButton=!0,$t),[this.unwrappedState.iframe])),React.createElement("div",Bridge.React.fixAttr({}),form,Bridge.React.StatelessComponent$1(UIComponents.Modal.Props).op_Implicit$1(modal))},componentDidMount:function(){var SubmitForm=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.SubmitFormDispatcher);SubmitForm.add(UIComponents.Dispatchers.SubmitFormDispatcher.SubmitFormDispatcherArgs,Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.ButtonForm.f3));Bridge.React.Component$2(UIComponents.Apps.DonateForm.ButtonForm.Props,UIComponents.Apps.DonateForm.ButtonForm.State).prototype.componentDidMount.call(this)},donatePledge:function(items){var $step=0,$task1,$tcs=new System.Threading.Tasks.TaskCompletionSource,amount,confirmModal,$t,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:amount=items.get("amount");confirmModal=new UIComponents.ConfirmModal(($t=new UIComponents.ConfirmModal.Props,$t.key="modal",$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,function(){var $step=0,$task1,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=this.completePledge(items);$step=1;$task1.continueWith($asyncBody,!0);return;case 1:$task1.getAwaitedResult();return;default:return}}},arguments);$asyncBody()}),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.ButtonForm.f5),$t.title=System.String.format("Please Confirm Your Donation",null),$t.message=System.String.format("Are you sure you want to pledge to donate ${0}?",[amount]),$t));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.Props,Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.State,this,function(s){s.iframe=Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(confirmModal)});$task1=System.Threading.Tasks.Task.delay(1);$step=1;$task1.continueWith($asyncBody);return;case 1:$task1.getAwaitedResult();$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},completePledge:function(items){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,amount,baseurl,url,result,$t,thanksModal,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:amount=items.get("amount");items.set("transaction","Pledge");baseurl=GiveEasy.Shared.Extensions.urlTLD(UIComponents.XBrowser.documentURI());url=System.String.format("{0}/odata/paymentinfo/GiveEasy.CreatePledge",[baseurl]);items.set("app_key","AxEppXJU99KGBJWBCt6mdDq3QsmW0B0O");$task1=UIComponents.Services.HttpRequest.requestObjectAsync(Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.SubmitRequest,url,"POST",($t=new UIComponents.Apps.DonateForm.ButtonForm.SubmitRequest,$t.items=items,$t));$step=1;$task1.continueWith($asyncBody);return;case 1:$taskResult1=$task1.getAwaitedResult();result=$taskResult1;UIComponents.Services.HttpRequest.isSuccessCode(result.status)&&(thanksModal=new UIComponents.InfoModal(($t=new UIComponents.InfoModal.Props,$t.active=!0,$t.title="Your Pledge Was Successful!",$t.message=System.String.format("Thanks! Your pledge of ${0} has been received! A representative will be in contact shortly.",[amount]),$t.onClose=$asm.$.UIComponents.Apps.DonateForm.ButtonForm.f6,$t.cancelLabel="Done!",$t)),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.Props,Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.State,this,function(s){s.iframe=Bridge.React.StatelessComponent$1(UIComponents.InfoModal.Props).op_Implicit(thanksModal)}));$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},donatePaypal:function(items){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,baseurl,url,newtab,result,$t,payinfo,innerID,iframe,ex,message,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4],$step);switch($step){case 0:baseurl=GiveEasy.Shared.Extensions.urlTLD(UIComponents.XBrowser.documentURI());url=System.String.format("{0}/odata/paymentinfo/GiveEasy.CreatePayPal",[baseurl]);newtab=window.open("");newtab.document.body.innerHTML="<div style='\n    display: inline-block;\n            position: fixed;\n            top: 0;\n            bottom: 0;\n            left: 0;\n            right: 0;\n            width: 300px;\n            height: 300px;\n            margin: auto;'>"+(UIComponents.XBrowser.spinnerDataURL()||"")+"<h3>Please complete your payment in the PayPal window<\/h3><\/div>";$step=1;continue;case 1:items.set("app_key","AxEppXJU99KGBJWBCt6mdDq3QsmW0B0O");$task1=UIComponents.Services.HttpRequest.requestObjectAsync(Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.SubmitRequest,url,"POST",($t=new UIComponents.Apps.DonateForm.ButtonForm.SubmitRequest,$t.items=items,$t));$step=2;$task1.continueWith($asyncBody);return;case 2:if($taskResult1=$task1.getAwaitedResult(),result=$taskResult1,UIComponents.Services.HttpRequest.isSuccessCode(result.status))payinfo=Newtonsoft.Json.JsonConvert.DeserializeObject(result.responseText,GiveEasy.Shared.Data.PaymentInfo),innerID="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||""),iframe=React.createElement("iframe",Bridge.React.fixAttr({sandbox:"allow-forms allow-popups allow-same-origin allow-scripts",id:innerID,src:(System.String.format("data:text/html,",null)||"")+(UIComponents.XBrowser.spinnerDataURL()||"")+" <h3 style='color: white'>Please complete your payment in the PayPal window<\/h3>",style:{width:"inherit",height:"inherit",minWidth:"inherit",minHeight:"inherit"}}),null),newtab.focus(),newtab.location.href=payinfo.paymentURL,System.Threading.Tasks.Task.run(Bridge.fn.bind(this,function(){return this.checkResultLoop(payinfo.paymentID,payinfo.resultURL)})),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.Props,Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.State,this,function(s){s.iframe=iframe});else throw new GiveEasy.Shared.HttpRequestException(result.status,result.statusText);$step=4;continue;case 3:message=($t="PayPal "+(ex.Message||""),$t!=null?$t:"Failure");window.alert((System.String.format("Sorry, we were unable to process your donation. Please try a different payment.\n",null)||"")+(message||""));$async_e=null;$step=4;continue;case 4:$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=2){ex=$async_e;$step=3;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},checkResultLoop:function(payKey,resultUrl){var $step=0,$task1,$task2,$taskResult2,$task3,$tcs=new System.Threading.Tasks.TaskCompletionSource,baseurl,url,i,response,result,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4,5,6,7,9,10],$step);switch($step){case 0:baseurl=GiveEasy.Shared.Extensions.urlTLD(UIComponents.XBrowser.documentURI());url=System.String.format("{0}/donate/PayPalResult?payKey={1}",baseurl,payKey);i=0;$step=1;continue;case 1:if(i<3600){$step=2;continue}$step=10;continue;case 2:$task1=System.Threading.Tasks.Task.delay(1e3);$step=3;$task1.continueWith($asyncBody);return;case 3:$task1.getAwaitedResult();$step=4;continue;case 4:$task2=UIComponents.Services.HttpRequest.requestObjectAsync(GiveEasy.Shared.Data.PaymentInfo,url);$step=5;$task2.continueWith($asyncBody);return;case 5:$taskResult2=$task2.getAwaitedResult();response=$taskResult2;UIComponents.Services.HttpRequest.isSuccessCode(response.status)&&(result=Newtonsoft.Json.JsonConvert.DeserializeObject(response.responseText,System.Object),result!=null&&result.success&&(window.location.href=resultUrl));$step=8;continue;case 6:$task3=System.Threading.Tasks.Task.delay(1e3);$step=7;$task3.continueWith($asyncBody);return;case 7:$task3.getAwaitedResult();$async_e=null;$step=8;continue;case 9:i=i+1|0;$step=1;continue;case 10:$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=4&&$step<=5){$step=6;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},donateWithIframe:function(items){var baseurl=GiveEasy.Shared.Extensions.urlTLD(UIComponents.XBrowser.documentURI()),url=System.String.format("{0}/donate/IframePage?\n{1}\n&app_key=AxEppXJU99KGBJWBCt6mdDq3QsmW0B0O\n&result_url={2}/donate/desktop/callback&isPayPal=false",baseurl,GiveEasy.Shared.Extensions.asQueryParams(System.String,items),baseurl),innerID="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||""),iframe=React.createElement("iframe",Bridge.React.fixAttr({id:innerID,src:url,style:{width:"inherit",height:"inherit",minWidth:"inherit",minHeight:"inherit"}}),null);window.addEventListener("message",Bridge.fn.bind(this,function(e){e.preventDefault();this.processResultMessage(e,baseurl)}));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.Props,Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.State,this,function(s){s.iframe=iframe})},processResultMessage:function(e,baseurl){var data=e.data,code=data.Code,codenum={v:99},message;if(System.Int32.tryParse(code,codenum)){if(codenum.v===0){var amount=System.Decimal(data.Amount),refid=data.RefId,sign=data.Sign,href="/donate/desktop/success?amount="+amount+"&refid="+(refid||"")+"&sign="+(sign||"");return window.location.href=System.String.format("{0}{1}",baseurl,href),GiveEasy.Shared.Data.TransactionStatus.success}message=data.Message||"Payment Failure";window.alert((System.String.format("Sorry, we were unable to process your donation. Please try again.\n",null)||"")+(message||""));this.setWrappedStateAsync(this.unwrappedState.$clone())}return GiveEasy.Shared.Data.TransactionStatus.unpaid}}});Bridge.ns("UIComponents.Apps.DonateForm.ButtonForm",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.DonateForm.ButtonForm,{f1:function(s){s.iframe=null},f2:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.Props,Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.State,this,$asm.$.UIComponents.Apps.DonateForm.ButtonForm.f1)},f3:function(evt){var isdisabled=this.unwrappedProps.isDisabled(),items;isdisabled||(items=this.unwrappedProps.items,evt.action===UIComponents.Dispatchers.SubmitAction.donateCreditCard?this.donateWithIframe(items):evt.action===UIComponents.Dispatchers.SubmitAction.pledge&&this.donatePledge(items))},f4:function(s){s.iframe=null},f5:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.Props,Bridge.global.UIComponents.Apps.DonateForm.ButtonForm.State,this,$asm.$.UIComponents.Apps.DonateForm.ButtonForm.f4)},f6:function(){window.location.reload(!0)}});Bridge.define("UIComponents.Apps.DonateForm.DonateFormApp.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",fields:{newState:null},props:{key:{get:function(){var $t;return $t=this.innerID,$t!=null?$t:"DonateFormApp"}},isEditing:!1,appeal:null,inner:null,innerID:null,canShow:!1,formModel:null},alias:["key","UIComponents$IKeyProps$key","inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID"],ctors:{init:function(){this.newState=new UIComponents.Apps.DonateForm.DonateFormApp.State}}});Bridge.define("UIComponents.Apps.DonateForm.EwaySecurePaymentForm",{inherits:[Bridge.React.Component$2(UIComponents.Apps.DonateForm.EwaySecurePaymentForm.Props,UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State)],statics:{methods:{formatExpiry:function(number){return System.Nullable.hasValue(number)?Bridge.toString(System.Nullable.getValue(number)):""}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.DonateForm.EwaySecurePaymentForm.Props,UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State,$t.submitted=!1,$t},render:function(){var $t,FieldComponents=System.Linq.Enumerable.from(this.unwrappedProps.fields).select($asm.$.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.f1).toList(Object),fields=Bridge.React.ReactElementList.empty,i,split,formattrs;$t=Bridge.getEnumerator(FieldComponents);try{while($t.moveNext())i=$t.Current,fields=fields.add(i)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return split=React.createElement("div",Bridge.React.fixAttr({key:"EwaySecurePaymentForm",style:{margin:"5px 15px 15px"}}),React.createElement("label",Bridge.React.fixAttr({className:"label"}),"Payment Information"),React.createElement("input",Bridge.React.fixAttr({key:"EWAY_ACCESSCODE",className:"input",type:"hidden",value:this.unwrappedProps.accessCode})),React.createElement("input",Bridge.React.fixAttr({key:"EWAY_CARDEXPIRYMONTH",className:"input",type:"hidden",value:UIComponents.Apps.DonateForm.EwaySecurePaymentForm.formatExpiry(this.unwrappedState.card.expiryMonth)})),React.createElement("input",Bridge.React.fixAttr({key:"EWAY_CARDEXPIRYYEAR",className:"input",type:"hidden",value:UIComponents.Apps.DonateForm.EwaySecurePaymentForm.formatExpiry(this.unwrappedState.card.expiryYear)})),React.createElement("p",Bridge.React.fixAttr({className:"field has-addons has-addons"}),React.createElement("input",Bridge.React.fixAttr({key:"EWAY_CARDNUMBER",className:"input",type:"text",onChange:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.f2),value:this.unwrappedState.cardNumber})),React.createElement("input",Bridge.React.fixAttr({key:"expiry",className:"input",style:{width:"5rem",color:"#333333"},type:"text",onChange:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.f3),value:System.String.format("{0:D2}/{1:D2}",Bridge.box(this.unwrappedState.card.expiryMonth,System.Int32,System.Nullable.toString,System.Nullable.getHashCode),Bridge.box(System.Nullable.mod(this.unwrappedState.card.expiryYear,100),System.Int32,System.Nullable.toString,System.Nullable.getHashCode))})))),fields=fields.add(split),formattrs=this.unwrappedProps.formAttributes||{className:"column"},React.createElement("div",Bridge.React.fixAttr({className:"columns"}),React.createElement("form",Bridge.React.fixAttr(formattrs),React.createElement("div",Bridge.React.fixAttr(null),System.Linq.Enumerable.from(fields).toArray()),React.createElement("div",Bridge.React.fixAttr({className:"field",style:{margin:"1em"}}),React.createElement("div",Bridge.React.fixAttr({className:"control columns"}),React.createElement("div",Bridge.React.fixAttr({className:"column"}),React.createElement("input",Bridge.React.fixAttr({value:this.unwrappedProps.label,type:"submit",className:System.String.format("button is-large is-success",null),disabled:this.unwrappedProps.disabled||this.unwrappedState.submitted,onClick:this.submitFormAction()})))))))},parseExpiry:function(text){var parts=System.String.split(text,[47].map(function(i){return String.fromCharCode(i)})),mm=System.Linq.Enumerable.from(parts).firstOrDefault(null,null),yy=System.Linq.Enumerable.from(parts).lastOrDefault(null,null),m={},y={};System.Int32.tryParse(mm,m)&&UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.Props,Bridge.global.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State,this,function(s){s.card.expiryMonth=m.v});System.Int32.tryParse(yy,y)&&UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.Props,Bridge.global.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State,this,function(s){s.card.expiryYear=y.v})},submitFormAction:function(){return Bridge.fn.bind(this,function(e){var $t,$t1,isValid=!0,f;$t=Bridge.getEnumerator(this.unwrappedProps.fields,UIComponents.FormField.FieldProps);try{while($t.moveNext())f=$t.Current,f.valid=UIComponents.FormValidator.validate(Bridge.global.UIComponents.FormField.FieldProps,f.validators,f),isValid=!!(isValid&f.valid!==UIComponents.Validation.fail)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}if(isValid)this.unwrappedProps.onSubmit(($t1=new UIComponents.Components.Form.SubmitEventArgs,$t1.fields=System.Linq.Enumerable.from(this.unwrappedProps.fields).toDictionary($asm.$.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.f4,$asm.$.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.f5,System.String,System.String),$t1));else e.preventDefault(),this.setWrappedStateAsync(($t1=new UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State,$t1.submitted=!1,$t1))})}}});Bridge.ns("UIComponents.Apps.DonateForm.EwaySecurePaymentForm",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.DonateForm.EwaySecurePaymentForm,{f1:function(p){return UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.FormField.FieldProps,Bridge.Reflection.getTypeFullName(Bridge.getType(p)),p)},f2:function(e){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.Props,Bridge.global.UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State,this,function(s){s.cardNumber=e.currentTarget.value})},f3:function(e){this.parseExpiry(e.currentTarget.value)},f4:function(x){return x.name},f5:function(x){return x.value}});Bridge.define("UIComponents.Apps.DonateForm.FormComplete.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",fields:{updateField:null},props:{inner:null,canShow:!1,innerID:null,key:null},alias:["inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID","key","UIComponents$IKeyProps$key"],ctors:{init:function(){this.updateField=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.UpdateFieldDispatcher)}}});Bridge.define("UIComponents.Apps.DonateForm.TextPrefill.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{inner:null,canShow:!1,innerID:null,key:null},alias:["inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID","key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Apps.DonateForm.TokenForm",{inherits:[Bridge.React.Component$2(UIComponents.Apps.DonateForm.TokenForm.Props,UIComponents.Apps.DonateForm.TokenForm.State)],statics:{methods:{changePayment:function(url){var parts=url.split("?"),hostpath=System.Linq.Enumerable.from(parts).firstOrDefault(null,null),query=System.Linq.Enumerable.from(parts).lastOrDefault(null,null),param=GiveEasy.Shared.Extensions.fromQueryParams(query),redirect;param.System$Collections$Generic$IDictionary$2$System$String$System$String$setItem("t","");redirect=System.String.format("{0}?{1}",hostpath,GiveEasy.Shared.Extensions.asQueryParams(System.String,param));window.location.assign(redirect)}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.DonateForm.TokenForm.Props,UIComponents.Apps.DonateForm.TokenForm.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Apps.DonateForm.TokenForm.State,$t.submitted=!1,$t},render:function(){var $t,fields=Bridge.React.ReactElementList.empty,panStyle={color:"#333333"},expStyle={width:"4em",color:"#333333"},split,formattrs,attrs;return document.body.clientWidth<=375&&(panStyle.fontSize="14px",expStyle.fontSize="14px"),split=React.createElement("div",Bridge.React.fixAttr({key:"payment_info"}),React.createElement("label",Bridge.React.fixAttr({className:"label"}),"Token for Card"),React.createElement("div",Bridge.React.fixAttr({className:"field has-addons has-addons"}),React.createElement("input",Bridge.React.fixAttr({key:"truncatedpan",style:panStyle,className:"input disabled",disabled:!0,type:"text",value:this.unwrappedProps.card.truncatedPan})),React.createElement("input",Bridge.React.fixAttr({key:"expiry",className:"input disabled",disabled:!0,style:expStyle,type:"text",value:System.String.format("{0:D2}/{1:D2}",Bridge.box(this.unwrappedProps.card.expiryMonth,System.Int32,System.Nullable.toString,System.Nullable.getHashCode),Bridge.box(System.Nullable.mod(this.unwrappedProps.card.expiryYear,100),System.Int32,System.Nullable.toString,System.Nullable.getHashCode))})))),fields=fields.add(split),formattrs=this.unwrappedProps.formAttributes||{className:"column"},attrs={className:System.String.format("button is-large is-success",null),style:{margin:"auto",marginBottom:"0.25em",width:"100%"}},attrs.disabled=this.unwrappedProps.disabled,React.createElement("form",Bridge.React.fixAttr(formattrs),split,React.createElement("div",Bridge.React.fixAttr({className:"field",style:{margin:"1em"}}),Bridge.React.PureComponent$1(UIComponents.Layout.FlexColumns.Props).op_Implicit(new UIComponents.Layout.FlexColumns(($t=new UIComponents.Layout.FlexColumns.Props("tokenForm"),$t.properties={className:"is-multiline is-centered",style:{width:"100%",margin:"auto"}},$t),[Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit$1(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes=attrs,$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.TokenForm.f1),$t),[this.unwrappedProps.label])),Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit$1(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:System.String.format("button is-large is-info",null),style:{margin:"auto",marginBottom:"0.25em",width:"100%"}},$t.onClick=$asm.$.UIComponents.Apps.DonateForm.TokenForm.f2,$t),["Change Card Details"]))]))))},submitFormAction:function(){var form=Bridge.as(System.Linq.Enumerable.from(document.getElementsByClassName("tokenform")).first(),HTMLFormElement);form.submit()}}});Bridge.ns("UIComponents.Apps.DonateForm.TokenForm",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.DonateForm.TokenForm,{f1:function(){this.submitFormAction()},f2:function(){UIComponents.Apps.DonateForm.TokenForm.changePayment(document.URL)}});Bridge.define("UIComponents.Apps.ProgressWidget.AppealSelect",{inherits:[Bridge.React.Component$2(UIComponents.Apps.ProgressWidget.AppealSelect.Props,UIComponents.Apps.ProgressWidget.AppealSelect.State)],statics:{methods:{loadBearerToken:function(url){var $step=0,$task1,$taskResult1,$task2,$taskResult2,$tcs=new System.Threading.Tasks.TaskCompletionSource,bearerToken,request,value,response,header,$t,$t1,tok,ex,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([1,2,3,4,5],$step);switch($step){case 1:bearerToken="";request=UIComponents.Services.HttpRequest.requestODataAsync(url,null,bearerToken);$task1=UIComponents.Services.HttpRequest.parseODataResponse(UIComponents.Apps.ProgressWidgetApp.State,request);$step=2;$task1.continueWith($asyncBody);return;case 2:$taskResult1=$task1.getAwaitedResult();value=$taskResult1;$task2=request;$step=3;$task2.continueWith($asyncBody);return;case 3:if($taskResult2=$task2.getAwaitedResult(),response=$taskResult2,value!=null){header=($t=response.getResponseHeader("Authorization"),$t!=null?$t:($t1=response.getResponseHeader("x-amzn-remapped-authorization"),$t1!=null?$t1:""));tok=System.Linq.Enumerable.from(System.String.split(header,[32].map(function(i){return String.fromCharCode(i)}))).lastOrDefault(null,null);$tcs.setResult(tok);return}$step=5;continue;case 4:System.Console.WriteLine(ex);$async_e=null;$step=5;continue;case 5:$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=3){ex=$async_e;$step=4;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},loadAppealTitles:function(charityId){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,baseurl,url,titles,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:baseurl=GiveEasy.Shared.Extensions.urlTLD(UIComponents.XBrowser.documentURI());url=System.String.format("{0}/odata/appealtitle?$filter=CharityId eq {1} &$orderby=Created desc",baseurl,Bridge.box(charityId,System.Int32));$task1=UIComponents.Services.HttpRequest.parseODataResponse(ViewModels.AppealTitle,UIComponents.Services.HttpRequest.requestODataAsync(url));$step=1;$task1.continueWith($asyncBody);return;case 1:$taskResult1=$task1.getAwaitedResult();titles=$taskResult1;$tcs.setResult(titles);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.ProgressWidget.AppealSelect.Props,UIComponents.Apps.ProgressWidget.AppealSelect.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t,newstate=($t=new UIComponents.Apps.ProgressWidget.AppealSelect.State,$t.bearerToken="",$t.open=!1,$t.titles=System.Linq.Enumerable.empty(),$t.query=new UIComponents.Apps.ProgressWidget.DonationQuery,$t);return System.Threading.Tasks.Task.run(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f1)),newstate.$clone()},publishUpdate:function(query){var $step=0,$task1,$taskResult1,$task2,$tcs=new System.Threading.Tasks.TaskCompletionSource,url,token,newstate,$t,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4],$step);switch($step){case 0:url=UIComponents.Apps.ProgressWidget.DonationQuery.oDataUrl(query);$task1=UIComponents.Apps.ProgressWidget.AppealSelect.loadBearerToken(url);$step=1;$task1.continueWith($asyncBody);return;case 1:if($taskResult1=$task1.getAwaitedResult(),token=$taskResult1,!System.String.isNullOrWhiteSpace(token)){$step=2;continue}$step=4;continue;case 2:newstate=($t=new UIComponents.Apps.ProgressWidget.AppealSelect.State,$t.query=query,$t.bearerToken=token,$t.open=!1,$t.titles=this.unwrappedState.titles,$t);this.unwrappedProps.onUpdate(newstate.$clone());$task2=this.setWrappedStateAsync(newstate.$clone());$step=3;$task2.continueWith($asyncBody);return;case 3:$task2.getAwaitedResult();$step=4;continue;case 4:$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},setOptions:function(charityId){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,titles,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=UIComponents.Apps.ProgressWidget.AppealSelect.loadAppealTitles(charityId);$step=1;$task1.continueWith($asyncBody);return;case 1:$taskResult1=$task1.getAwaitedResult();titles=$taskResult1;$tcs.setResult(System.Linq.Enumerable.from(titles).select($asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f2));return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},render:function(){var $t,msg=System.String.format("Show Total for {0} : {1}",GiveEasy.Shared.Extensions.plural("Appeal",System.Linq.Enumerable.from(this.unwrappedState.query.appealTitles).count()),this.unwrappedState.query.appealTitles.join("; ")),btn,appealkeyinput,dict;return System.Linq.Enumerable.from(this.unwrappedState.query.appealTitles).any()||(msg="Choose an Appeal..."),btn=new UIComponents.Components.Form.Buttons.SimpleButton(($t=new UIComponents.Components.Form.Buttons.SimpleButton.Props,$t.attributes={className:"button is-white"},$t.key="title-btn",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f4),$t),[msg]),appealkeyinput=($t=new UIComponents.DropdownList.Props,$t.key="title-drop",$t.anchor=Bridge.React.StatelessComponent$1(UIComponents.Components.Form.Buttons.SimpleButton.Props).op_Implicit(btn),$t.isActive=this.unwrappedState.open,$t.items=$asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f5(new(System.Collections.Generic.Dictionary$2(System.String,System.Object))),$t.selected=System.Array.init(["Loading"],System.String),$t),this.unwrappedState.titles!=null&&System.Linq.Enumerable.from(this.unwrappedState.titles).any()&&(dict=System.Linq.Enumerable.from(this.unwrappedState.titles).toDictionary($asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f6,$asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f7,System.String,System.String),appealkeyinput=($t=new UIComponents.DropdownList.Props,$t.key="title-drop",$t.anchor=Bridge.React.StatelessComponent$1(UIComponents.Components.Form.Buttons.SimpleButton.Props).op_Implicit(btn),$t.isActive=this.unwrappedState.open,$t.items=System.Linq.Enumerable.from(this.unwrappedState.titles).toDictionary($asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f6,$asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f7,System.String,Bridge.global.System.Object),$t.selected=System.Linq.Enumerable.from(this.unwrappedState.query.appealTitles).select($asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f8),$t),appealkeyinput.update=Bridge.fn.bind(this,function(x){var $t1,titles=System.Linq.Enumerable.from(x).select(function(i){return dict.get(i)}).toArray(System.String),query=($t1=new UIComponents.Apps.ProgressWidget.DonationQuery,$t1.charityId=this.unwrappedProps.initial.GiveEasy$Shared$IAppealTitle$charityId,$t1.appealTitles=titles,$t1);this.publishUpdate(query)})),Bridge.React.StatelessComponent$1(UIComponents.DropdownList.Props).op_Implicit(new UIComponents.DropdownList(appealkeyinput))}}});Bridge.ns("UIComponents.Apps.ProgressWidget.AppealSelect",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.ProgressWidget.AppealSelect,{f1:function(){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,titles,$t1,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=UIComponents.Apps.ProgressWidget.AppealSelect.loadAppealTitles(this.unwrappedProps.initial.GiveEasy$Shared$IAppealTitle$charityId);$step=1;$task1.continueWith($asyncBody);return;case 1:$taskResult1=$task1.getAwaitedResult();titles=$taskResult1;this.setWrappedState(($t1=new UIComponents.Apps.ProgressWidget.AppealSelect.State,$t1.bearerToken=this.unwrappedState.bearerToken,$t1.open=this.unwrappedState.open,$t1.titles=titles,$t1.query=this.unwrappedState.query,$t1));$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},f2:function(t){return t.title},f3:function(s){s.open=!s.open},f4:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.ProgressWidget.AppealSelect.Props,Bridge.global.UIComponents.Apps.ProgressWidget.AppealSelect.State,this,$asm.$.UIComponents.Apps.ProgressWidget.AppealSelect.f3)},f5:function(_o1){return _o1.add("Loading","Loading"),_o1},f6:function(s){return s.appealKey},f7:function(s){return s.title},f8:function(x){return GiveEasy.Shared.Extensions.toLowerFragment(x)}});Bridge.define("UIComponents.Apps.ProgressWidgetApp.Props",{inherits:[UIComponents.IKeyProps,UIComponents.IContainerProps],$kind:"nested class",fields:{newState:null},props:{inner:null,innerID:null,key:{get:function(){return this.innerID}}},alias:["inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID","key","UIComponents$IKeyProps$key"],ctors:{init:function(){this.newState=new UIComponents.Apps.ProgressWidgetApp.State}}});Bridge.define("UIComponents.Apps.SearchWidget.KnowledgebaseSearch.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{inner:null,innerID:null,key:null},alias:["inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID","key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.Apps.SearchWidget.SearchWidgetApp",{inherits:[Bridge.React.Component$2(UIComponents.Apps.SearchWidget.SearchWidgetApp.Props,UIComponents.Apps.SearchWidget.SearchWidgetApp.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.SearchWidget.SearchWidgetApp.Props,UIComponents.Apps.SearchWidget.SearchWidgetApp.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Apps.SearchWidget.SearchWidgetApp.State,$t.items=new(System.Collections.Generic.List$1(UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult).ctor),$t.searchTerm="",$t},render:function(){var $t,$t1,search=new UIComponents.Apps.SearchWidget.SearchInput(($t=new UIComponents.Apps.SearchWidget.SearchInput.Props,$t.value=this.unwrappedState.searchTerm,$t.placeholder=this.unwrappedProps.placeholder,$t.onChange=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.SearchWidget.SearchWidgetApp.f1),$t.onBlur=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.SearchWidget.SearchWidgetApp.f2),$t)),results=Bridge.React.ReactElementList.empty,o,title,html,menu,dropdown;$t=Bridge.getEnumerator(this.unwrappedState.items,UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult);try{while($t.moveNext())o=$t.Current.$clone(),title=o.title,title.length>48&&(title=System.String.fromCharArray(System.Linq.Enumerable.from(title).take(48).toArray(System.Char))),html=System.String.format("<strong>{0} <\/strong> <small>...{1}<\/small>",title,o.snippet),results=results.add(React.createElement("a",Bridge.React.fixAttr({key:o.id,className:"dropdown-item",target:"_blank",href:o.url.getAbsoluteUri(),dangerouslySetInnerHTML:($t1=new Bridge.React.RawHtml,$t1.__html=html,$t1)}),null))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return menu=React.createElement("div",Bridge.React.fixAttr({}),null),System.Linq.Enumerable.from(results).any()&&(menu=React.createElement("div",Bridge.React.fixAttr({className:"dropdown-menu",style:{width:"max-content",border:"none",padding:0}}),React.createElement("div",Bridge.React.fixAttr({className:"dropdown-content"}),System.Linq.Enumerable.from(results).toArray()))),dropdown=React.createElement("div",Bridge.React.fixAttr({className:"dropdown is-active is-overlay"}),React.createElement("div",Bridge.React.fixAttr({className:"dropdown-trigger"}),Bridge.React.StatelessComponent$1(UIComponents.Apps.SearchWidget.SearchInput.Props).op_Implicit(search)),menu),React.createElement("div",Bridge.React.fixAttr({style:{margin:".25em"}}),dropdown)},componentDidUpdateWrapped:function(previousProps,previousState){Bridge.referenceEquals(this.unwrappedState.searchTerm,previousState.searchTerm)||window.setTimeout(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.SearchWidget.SearchWidgetApp.f3),1);Bridge.React.Component$2(UIComponents.Apps.SearchWidget.SearchWidgetApp.Props,UIComponents.Apps.SearchWidget.SearchWidgetApp.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())},updateItems:function(items){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.SearchWidget.SearchWidgetApp.Props,Bridge.global.UIComponents.Apps.SearchWidget.SearchWidgetApp.State,this,function(s){s.items=items})}}});Bridge.ns("UIComponents.Apps.SearchWidget.SearchWidgetApp",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.SearchWidget.SearchWidgetApp,{f1:function(x){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.SearchWidget.SearchWidgetApp.Props,Bridge.global.UIComponents.Apps.SearchWidget.SearchWidgetApp.State,this,function(s){s.searchTerm=x})},f2:function(){this.updateItems(new(System.Collections.Generic.List$1(UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult).ctor))},f3:function(){this.unwrappedProps.doSearch(this.unwrappedState.searchTerm,Bridge.fn.cacheBind(this,this.updateItems))}});Bridge.define("UIComponents.Apps.TrackingWidgetApp.Props",{inherits:[UIComponents.IKeyProps,UIComponents.IContainerProps],$kind:"nested class",fields:{newState:null},props:{inner:null,innerID:null,key:{get:function(){return Bridge.toString(Bridge.getHashCode(this.newState))}}},alias:["inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID","key","UIComponents$IKeyProps$key"],ctors:{init:function(){var $t;this.newState=new UIComponents.Apps.TrackingWidgetApp.State;this.newState=($t=new UIComponents.Apps.TrackingWidgetApp.State,$t.textContent="",$t)}}});Bridge.define("UIComponents.ChromeOnlyModalContainer.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{key:null,active:!1,inner:null,innerID:null,innerComponent:null,openButton:null,closeButtons:null},alias:["key","UIComponents$IKeyProps$key","inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID"]});Bridge.define("ViewModels.ReactContext.TagSetContext",{props:{propertyNames:null,schemaUUID:null},ctors:{init:function(){this.schemaUUID=new System.Guid},ctor:function(schema,propertynames){this.$initialize();this.schemaUUID=schema;this.propertyNames=propertynames}}});Bridge.define("UIComponents.Collections.TagSetTD.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Collections.TagSetTD.State}}},fields:{active:!1,tempValue:null,modal:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active,this.tempValue,this.modal])},equals:function(o){return Bridge.is(o,UIComponents.Collections.TagSetTD.State)?Bridge.equals(this.active,o.active)&&Bridge.equals(this.tempValue,o.tempValue)&&Bridge.equals(this.modal,o.modal):!1},$clone:function(to){var s=to||new UIComponents.Collections.TagSetTD.State;return s.active=this.active,s.tempValue=this.tempValue,s.modal=this.modal,s}}});Bridge.define("UIComponents.Components.Configurable.TileWrapper.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",statics:{methods:{fromElement:function(unwrapped){var $t,$t1,can_edit=unwrapped.hasAttribute("data-edit"),can_not_edit=unwrapped.hasAttribute("data-tile-lock"),editor_type=unwrapped.getAttribute("data-editor-type"),can_move=unwrapped.hasAttribute("data-margin"),can_widget=unwrapped.hasAttribute("data-widget"),can_track=Bridge.referenceEquals(unwrapped.tagName.toLowerCase(),UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.Apps.TrackingWidgetApp)),can_form=Bridge.referenceEquals(unwrapped.tagName.toLowerCase(),UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.Apps.DonateForm.DonateFormApp)),controls=System.Linq.Enumerable.from(UIComponents.Components.Configurable.TileWrapper.Props.attachControls(unwrapped)).toList(Bridge.global.UIComponents.Components.Configurable.IConfigControl),wrapperclass=UIComponents.Components.Configurable.TileWrapper.Props.getWrapperClass(unwrapped);return $t=new UIComponents.Components.Configurable.TileWrapper.Props,$t.wrapperClassName=wrapperclass,$t.controls=controls,$t.canEdit=can_edit,$t.canNotEdit=can_not_edit,$t.editorType=($t1=editor_type,$t1!=null?$t1:""),$t.canMove=can_move,$t.canWidget=!1,$t.canForm=can_form,$t.canTrack=can_track,$t},getWrapperClass:function(unwrapped){var wrapperclass="";return System.String.contains(unwrapped.className,"tile")&&(wrapperclass="tile"),wrapperclass},attachControls:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.Components.Configurable.IConfigControl))(Bridge.fn.bind(this,function(unwrapped){var $step=0,widget_type,formControls,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.Components.Configurable.IConfigControl))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:if(unwrapped.hasAttribute("data-background-image")){$step=1;continue}$step=4;continue;case 1:return $enumerator.current=new UIComponents.Components.Configurable.BackgroundImageControl(unwrapped.firstElementChild),$step=2,!0;case 2:return $enumerator.current=new UIComponents.Components.Configurable.BackgroundSizeControl(unwrapped.firstElementChild),$step=3,!0;case 3:$step=4;continue;case 4:if(unwrapped.hasAttribute("data-background-color")){$step=5;continue}$step=7;continue;case 5:return $enumerator.current=new UIComponents.Components.Configurable.BackgroundColorControl(unwrapped.firstElementChild),$step=6,!0;case 6:$step=7;continue;case 7:if(Bridge.referenceEquals(unwrapped.tagName.toLowerCase(),"formcomplete")){$step=8;continue}$step=10;continue;case 8:return $enumerator.current=new UIComponents.Components.Configurable.FormCompleteControl(unwrapped),$step=9,!0;case 9:$step=10;continue;case 10:if(unwrapped.hasAttribute("data-text-prefill")){$step=11;continue}$step=13;continue;case 11:return $enumerator.current=new UIComponents.Components.Configurable.TextPrefillControl(unwrapped),$step=12,!0;case 12:$step=13;continue;case 13:if(unwrapped.hasAttribute("data-off-auto")){$step=14;continue}$step=16;continue;case 14:return $enumerator.current=new UIComponents.Components.Configurable.TextCutoffControl(unwrapped),$step=15,!0;case 15:$step=16;continue;case 16:if(unwrapped.hasAttribute("data-email-config"),widget_type=unwrapped.tagName.toLowerCase(),Bridge.referenceEquals(widget_type,UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.Apps.ProgressWidgetApp))){$step=17;continue}$step=19;continue;case 17:return $enumerator.current=new UIComponents.Apps.ProgressWidgetControl(unwrapped),$step=18,!0;case 18:$step=19;continue;case 19:if(Bridge.referenceEquals(widget_type,UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.Apps.CountdownWidgetApp))){$step=20;continue}$step=22;continue;case 20:return $enumerator.current=new UIComponents.Apps.ClockControl(unwrapped),$step=21,!0;case 21:$step=22;continue;case 22:if(Bridge.referenceEquals(widget_type,UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.Apps.TrackingWidgetApp))){$step=23;continue}$step=25;continue;case 23:return $enumerator.current=new UIComponents.Apps.TrackingControl(unwrapped),$step=24,!0;case 24:$step=25;continue;case 25:if(Bridge.referenceEquals(widget_type,UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.Apps.DonateForm.DonateFormApp))){$step=26;continue}$step=33;continue;case 26:return formControls=new(System.Collections.Generic.List$1(UIComponents.Components.Configurable.IConfigControl).ctor),$enumerator.current=new UIComponents.Components.Configurable.FrequencyControl("Once Off"),$step=27,!0;case 27:return $enumerator.current=new UIComponents.Components.Configurable.FrequencyControl("Weekly"),$step=28,!0;case 28:return $enumerator.current=new UIComponents.Components.Configurable.FrequencyControl("Fortnightly"),$step=29,!0;case 29:return $enumerator.current=new UIComponents.Components.Configurable.FrequencyControl("Monthly"),$step=30,!0;case 30:return $enumerator.current=new UIComponents.Components.Configurable.FrequencyDefaultControl("Default Frequency"),$step=31,!0;case 31:return $enumerator.current=new UIComponents.Components.Configurable.FormFieldsControl(unwrapped),$step=32,!0;case 32:$step=33;continue;case 33:if(unwrapped.hasAttribute("data-is-hidden")){$step=34;continue}$step=36;continue;case 34:return $enumerator.current=new UIComponents.Components.Configurable.MobileVisibilityControl(unwrapped),$step=35,!0;case 35:$step=36;continue;case 36:if(unwrapped.hasAttribute("data-max-height")){$step=37;continue}$step=39;continue;case 37:return $enumerator.current=new UIComponents.Components.Configurable.MaxHeightControl(unwrapped),$step=38,!0;case 38:$step=39;continue;case 39:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator},arguments))}}},fields:{onChildUpdated:null},props:{wrappedId:null,canShow:!1,canMove:!1,canEdit:!1,canNotEdit:!1,editorType:null,canWidget:!1,canForm:!1,canTrack:!1,wrapperClassName:null,controls:null},ctors:{init:function(){this.wrapperClassName=""}}});Bridge.define("UIComponents.Components.Containers.SimpleCarouselContainer",{inherits:[Bridge.React.Component$2(UIComponents.Components.Containers.SimpleCarouselContainer.Props,UIComponents.Components.Containers.SimpleCarouselContainer.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Containers.SimpleCarouselContainer.Props,UIComponents.Components.Containers.SimpleCarouselContainer.State).ctor.call(this,props,children)}},methods:{render:function(){throw new System.NotImplementedException;}}});Bridge.define("UIComponents.Components.Elements.LeaderboardPanel",{inherits:[Bridge.React.Component$2(UIComponents.Components.Elements.LeaderboardPanel.Props,UIComponents.Components.Elements.LeaderboardPanel.State)],statics:{fields:{retryHours:0},ctors:{init:function(){this.retryHours=6}}},fields:{_isMounted:!1},ctors:{init:function(){this._isMounted=!1},ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Elements.LeaderboardPanel.Props,UIComponents.Components.Elements.LeaderboardPanel.State).ctor.call(this,props,children)}},methods:{componentDidMount:function(){this._isMounted=!0;System.Linq.Enumerable.from(document.getElementsByTagName("AppealEditorApp")).any()&&System.Threading.Tasks.Task.run(Bridge.fn.cacheBind(this,this.refreshLoop));Bridge.React.Component$2(UIComponents.Components.Elements.LeaderboardPanel.Props,UIComponents.Components.Elements.LeaderboardPanel.State).prototype.componentDidMount.call(this)},render:function(){var $t,$t1,apiUrl=GiveEasy.Shared.Extensions.apiUrl(window.location.href),leftHeader=React.createElement("div",Bridge.React.fixAttr({className:"column"}),React.createElement("span",Bridge.React.fixAttr({className:"icon has-text-info"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-users"}),null)),React.createElement("span",Bridge.React.fixAttr({style:{fontSize:"larger"}}),"Teams")),rightHeader=React.createElement("div",Bridge.React.fixAttr({className:"column"}),React.createElement("div",Bridge.React.fixAttr({className:"has-text-right"}),React.createElement("button",Bridge.React.fixAttr({className:"button is-info",onClick:Bridge.fn.bind(this,function(){var createGroupUrl=System.String.format("{0}Campaigns/Groups/Create?appeal={1}&charityid={2}",apiUrl,GiveEasy.Shared.Extensions.toLowerFragment(this.unwrappedProps.appealTitle),Bridge.box(this.unwrappedProps.charityId,System.Int32)),iframe_modal=this.groupModal("add_group","",createGroupUrl,!0,650,550);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Elements.LeaderboardPanel.Props,Bridge.global.UIComponents.Components.Elements.LeaderboardPanel.State,this,function(s){s.iframeGroupModal=iframe_modal})})}),"Add a new team"))),header=React.createElement("div",Bridge.React.fixAttr({className:"columns is-mobile is-vcentered"}),leftHeader,rightHeader),leftBar=React.createElement("div",Bridge.React.fixAttr({className:"column is-one-quarter"}),React.createElement("progress",Bridge.React.fixAttr({className:"progress",value:0,max:100}),null)),rightBar=React.createElement("div",Bridge.React.fixAttr({className:"column is-three-quarters"}),React.createElement("progress",Bridge.React.fixAttr({className:"progress",value:0,max:100}),null)),body=React.createElement("div",Bridge.React.fixAttr({className:"columns is-multiline is-mobile"}),leftBar,rightBar,leftBar,rightBar,leftBar,rightBar),leftFooter=React.createElement("div",Bridge.React.fixAttr({className:"column"}),React.createElement("div",Bridge.React.fixAttr({className:"icon-text has-text-right"}),React.createElement("span",null,System.String.format("You've added {0} {1}",Bridge.box(this.unwrappedState.numberOfGroup,System.Int32),this.unwrappedState.numberOfGroup===1?"team":"teams")))),rightFooter=React.createElement("div",Bridge.React.fixAttr({className:"column is-three-fifths"}),React.createElement("div",Bridge.React.fixAttr({className:"has-text-right"}),React.createElement("button",Bridge.React.fixAttr({className:"button is-info is-inverted",onClick:Bridge.fn.bind(this,function(){var manageGroupUrl=System.String.format("{0}Campaigns/Groups/Manage?appeal={1}&charityid={2}",apiUrl,GiveEasy.Shared.Extensions.toLowerFragment(this.unwrappedProps.appealTitle),Bridge.box(this.unwrappedProps.charityId,System.Int32)),iframe_modal=this.groupModal("manage_group","",manageGroupUrl,!1,586,640);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Elements.LeaderboardPanel.Props,Bridge.global.UIComponents.Components.Elements.LeaderboardPanel.State,this,function(s){s.iframeGroupModal=iframe_modal})})}),React.createElement("span",Bridge.React.fixAttr({className:"icon"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-cog"}),null)),React.createElement("span",null,"Manage teams")))),footer=React.createElement("div",Bridge.React.fixAttr({className:"columns is-mobile is-vcentered"}),leftFooter,rightFooter),leaderBoardPanel=React.createElement("div",Bridge.React.fixAttr({id:"leaderBoardPanel",key:"leaderBoardPanel"}),React.createElement("div",Bridge.React.fixAttr({style:{backgroundColor:"white"}}),React.createElement("br",Bridge.React.fixAttr({}),null)),React.createElement("div",Bridge.React.fixAttr({style:{padding:"1.25rem",backgroundColor:"rgb(245, 245, 245)"}}),header,body,footer),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t=this.unwrappedState.iframeGroupModal)!=null&&($t1=Bridge.getType($t))!=null?Bridge.Reflection.getTypeFullName($t1):null,this.unwrappedState.iframeGroupModal));return this.unwrappedState.numberOfGroup>0&&this.unwrappedProps.canShow?leaderBoardPanel:React.createElement("div",Bridge.React.fixAttr({id:"leaderBoardPanelPlaceHolder",key:"leaderBoardPanelPlaceHolder"}),null)},refreshLoop:function(){var $step=0,$task1,$taskResult1,$task2,$task3,$tcs=new System.Threading.Tasks.TaskCompletionSource,retrySeconds,i,period,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4,5,6,7,9,10],$step);switch($step){case 0:retrySeconds=21600;i=0;$step=1;continue;case 1:if(i<retrySeconds&&this._isMounted){$step=2;continue}$step=10;continue;case 2:period=15;$step=3;continue;case 3:i=i+period|0;$task1=this.refreshAsync();$step=4;$task1.continueWith($asyncBody);return;case 4:$taskResult1=$task1.getAwaitedResult();$task2=System.Threading.Tasks.Task.delay(Bridge.Int.mul(period,1e3));$step=5;$task2.continueWith($asyncBody);return;case 5:$task2.getAwaitedResult();$step=8;continue;case 6:$task3=System.Threading.Tasks.Task.delay(1e3);$step=7;$task3.continueWith($asyncBody);return;case 7:$task3.getAwaitedResult();$async_e=null;$step=8;continue;case 9:i=i+1|0;$step=1;continue;case 10:$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=3&&$step<=5){$step=6;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},refreshAsync:function(){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,url,groupTotal,$t,ex,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4],$step);switch($step){case 0:url=this.unwrappedProps.oDataUrl;$step=1;continue;case 1:$task1=this.tryQuery(url);$step=2;$task1.continueWith($asyncBody);return;case 2:$taskResult1=$task1.getAwaitedResult();groupTotal=$taskResult1;this._isMounted&&this.setWrappedState(($t=new UIComponents.Components.Elements.LeaderboardPanel.State,$t.iframeGroupModal=this.unwrappedState.iframeGroupModal,$t.numberOfGroup=groupTotal,$t));$step=4;continue;case 3:System.Console.WriteLine(ex);$async_e=null;$step=4;continue;case 4:$tcs.setResult(this.unwrappedState.$clone());return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=2){ex=$async_e;$step=3;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},tryQuery:function(url){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,value,ex,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([1,2,3,4],$step);switch($step){case 1:$task1=UIComponents.Services.HttpRequest.parseODataResponse(ViewModels.AppealGroup,UIComponents.Services.HttpRequest.requestODataAsync(url,null));$step=2;$task1.continueWith($asyncBody);return;case 2:if($taskResult1=$task1.getAwaitedResult(),value=$taskResult1,value!=null){$tcs.setResult(System.Linq.Enumerable.from(value).count());return}$step=4;continue;case 3:System.Console.WriteLine(ex);$async_e=null;$step=4;continue;case 4:$tcs.setResult(0);return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=2){ex=$async_e;$step=3;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},groupModal:function(key,title,iframeSrc,scrolling,iframeHeight,iframeWidth){var $t;return $t=new UIComponents.IframeModal.Props,$t.key=key,$t.active=!0,$t.title=title,$t.iframeSrc=iframeSrc,$t.scrolling=scrolling,$t.iframeHeight=iframeHeight,$t.iframeWidth=iframeWidth,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Elements.LeaderboardPanel.f2),$t},componentWillUnmount:function(){this._isMounted=!1;Bridge.React.Component$2(UIComponents.Components.Elements.LeaderboardPanel.Props,UIComponents.Components.Elements.LeaderboardPanel.State).prototype.componentWillUnmount.call(this)}}});Bridge.ns("UIComponents.Components.Elements.LeaderboardPanel",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Elements.LeaderboardPanel,{f1:function(s){s.iframeGroupModal=null},f2:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Elements.LeaderboardPanel.Props,Bridge.global.UIComponents.Components.Elements.LeaderboardPanel.State,this,$asm.$.UIComponents.Components.Elements.LeaderboardPanel.f1)}});Bridge.define("UIComponents.Components.Form.Buttons.ButtonEditor.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Form.Buttons.ButtonEditor.State}}},fields:{selected:null,buttonProps:null,editorRows:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.selected,this.buttonProps,this.editorRows])},equals:function(o){return Bridge.is(o,UIComponents.Components.Form.Buttons.ButtonEditor.State)?Bridge.equals(this.selected,o.selected)&&Bridge.equals(this.buttonProps,o.buttonProps)&&Bridge.equals(this.editorRows,o.editorRows):!1},$clone:function(to){var s=to||new UIComponents.Components.Form.Buttons.ButtonEditor.State;return s.selected=this.selected,s.buttonProps=this.buttonProps,s.editorRows=this.editorRows,s}}});Bridge.define("UIComponents.Components.Form.Buttons.EventButton.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",fields:{_color:null,_background:null},props:{label:null,textColour:{get:function(){return UIComponents.XBrowser.rGB2Hex(this._color)},set:function(value){this._color=value}},buttonColour:{get:function(){return UIComponents.XBrowser.rGB2Hex(this._background)},set:function(value){this._background=value}},onClick:0,disabled:!1}});Bridge.define("UIComponents.Components.Form.Buttons.SimpleButton.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{attributes:null,onClick:null}});Bridge.define("UIComponents.Components.Form.Buttons.SingleButton.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{attributes:null,onClick:null}});Bridge.define("UIComponents.Components.Form.Editor.Editor$1",function(T){return{inherits:[Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(T),UIComponents.Components.Form.Editor.Editor$1.State(T))],statics:{methods:{parseColor:function(field){var color=UIComponents.XBrowser.rGB2Hex(field.value);return System.String.startsWith(color,"#")||(color="#FFFFFF"),color},parseDateTime:function(value){return System.String.isNullOrEmpty(value)?System.DateTime.format(System.DateTime.getNow(),"yyyy-MM-ddTHH:mm"):System.DateTime.format(System.DateTime.toLocalTime(System.DateTime.parse(value)),"yyyy-MM-ddTHH:mm")}}},props:{columns:0,itemProps:Bridge.getDefaultValue(T)},ctors:{init:function(){this.columns=0},ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(T),UIComponents.Components.Form.Editor.Editor$1.State(T)).ctor.call(this,props,children)}},methods:{getFieldProps:function(p){var $t,$t1,$t2,newProps=this.itemProps,value=Bridge.toString(($t=Bridge.Reflection.midel(p.g,newProps)(),$t!=null?$t:"")),field=($t1=new UIComponents.FormInput.Props(p.n,Bridge.identity(this.columns,($t2=this.columns+1|0,this.columns=$t2,$t2))),$t1.key=System.String.format("{0}",[p.n]),$t1.value=value,$t1),ifattr,valattrs,attr;if(field.update=Bridge.fn.bind(this,function(x){this.updateItemProps(p,x);field.type==="datetime-local"&&(field.value=x);field.valid=UIComponents.FormValidator.validate(Bridge.global.UIComponents.FormInput.Props,field.validators,field)}),ifattr=System.Linq.Enumerable.from(System.Attribute.getCustomAttributes(p,UIComponents.Components.Form.Editor.InputForAttribute,!0)).ofType(UIComponents.Components.Form.Editor.InputForAttribute).firstOrDefault(null,null),ifattr!=null){ifattr.addonChanged(function(e){field.disabled=e.disabled;field.update(field.value)});field.label=ifattr.inputLabel||($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label=p.n,$t1);field.type=ifattr.inputType;field.sortOrder=ifattr.sortOrder;ifattr.inputType==="color"?(field.value=UIComponents.Components.Form.Editor.Editor$1(T).parseColor(field),field.placeholder=field.value):ifattr.inputType==="datetime-local"?field.value=UIComponents.Components.Form.Editor.Editor$1(T).parseDateTime(value):ifattr.selectOptions.count>0&&(field.selectDict=ifattr.selectOptions);field.disabled=ifattr.disabled;valattrs=System.Linq.Enumerable.from(System.Attribute.getCustomAttributes(p,UIComponents.Components.Form.Editor.HasValidatorAttribute,!0)).ofType(UIComponents.Components.Form.Editor.HasValidatorAttribute);$t1=Bridge.getEnumerator(valattrs);try{while($t1.moveNext())attr=$t1.Current,field.validators.add(attr.validator)}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$dispose()}}else field.type="hidden";return field},updateItemProps:function(p,x){var $t,$t1,fields=this.unwrappedState.fields,fp=fields.get(p),temp,temp1;fp.type==="checkbox"?(temp={v:!1},System.Boolean.tryParse(x,temp),Bridge.Reflection.midel(p.s,this.itemProps)(temp.v)):fp.type==="datetime-local"?(temp1={v:System.DateTime.getUtcNow()},System.DateTime.tryParse(x,null,temp1),temp1.v=System.DateTime.toUniversalTime(temp1.v),Bridge.Reflection.midel(p.s,this.itemProps)(temp1.v)):GiveEasy.Shared.Extensions.isNumericType(p.rt)?Bridge.Reflection.midel(p.s,this.itemProps)(x):Bridge.Reflection.midel(p.s,this.itemProps)(x);fp.value=Bridge.toString(($t=Bridge.Reflection.midel(p.g,this.itemProps)(),$t!=null?$t:""));this.setWrappedStateAsync(($t1=new(UIComponents.Components.Form.Editor.Editor$1.State(T)),$t1.fields=fields,$t1));this.unwrappedProps.onUpdate(this.itemProps)},createFormInputProps:function(){var $t,forminputprops=new(System.Collections.Generic.Dictionary$2(System.Reflection.PropertyInfo,UIComponents.FormInput.Props)),names=new(System.Collections.Generic.List$1(System.String).ctor),t=T,properties=Bridge.Reflection.getMembers(t,16,20),p,fp;properties.reverse();$t=Bridge.getEnumerator(properties);try{while($t.moveNext())(p=$t.Current,fp=this.getFieldProps(p),names.contains(fp.key))||(names.add(fp.key),fp.type!=="hidden"&&forminputprops.add(p,fp))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return forminputprops},constructorStateInitialiser:function(){var $t;return this.itemProps=this.unwrappedProps.initial,this.itemProps==null&&(this.itemProps=Bridge.createInstance(T)),$t=new(UIComponents.Components.Form.Editor.Editor$1.State(T)),$t.fields=this.createFormInputProps(),$t},removeBtn:function(){var style={borderRadius:"3px"};return Bridge.staticEquals(this.unwrappedProps.onDelete,null)&&(style={display:"none"}),React.createElement("div",Bridge.React.fixAttr({key:"removeBtn",className:"control editor-default-button",style:style}),React.createElement("input",Bridge.React.fixAttr({value:"Remove",type:"submit",className:System.String.format("button is-danger",null),onClick:Bridge.fn.bind(this,function(e){e.preventDefault();this.unwrappedProps.onDelete(this.unwrappedProps.initial)})})))}}}});Bridge.define("UIComponents.FormField.FieldProps",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{name:null,label:null,value:null,sortOrder:0,update:null,processing:null,valid:0,validators:null,disabled:!1,selectDict:null,data:null},ctors:{init:function(){this.update=$asm.$.UIComponents.FormField.FieldProps.f1;this.processing=$asm.$.UIComponents.FormField.FieldProps.f1;this.valid=UIComponents.Validation.none;this.validators=new(System.Collections.Generic.List$1(UIComponents.IValidator).ctor)},ctor:function(name,order){if(this.$initialize(),UIComponents.AutoProps.ctor.call(this),System.String.isNullOrWhiteSpace(name))throw new System.ArgumentNullException("name","FormFields must have a Name so the value can be submitted");this.sortOrder=order;this.name=name;this.key=name}}});Bridge.ns("UIComponents.FormField.FieldProps",$asm.$);Bridge.apply($asm.$.UIComponents.FormField.FieldProps,{f1:function(){}});Bridge.define("UIComponents.Components.Form.FlexForm",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.Components.Form.FlexForm.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.Components.Form.FlexForm.Props).ctor.call(this,props,children)}},methods:{components:function(){var $t,$t1,FieldComponents=System.Linq.Enumerable.from(this.unwrappedProps.fields).orderBy($asm.$.UIComponents.Components.Form.FlexForm.f1).select($asm.$.UIComponents.Components.Form.FlexForm.f2).toList(Object),children=new(System.Collections.Generic.List$1(System.Object).ctor),e,e1;$t=Bridge.getEnumerator(FieldComponents);try{while($t.moveNext())e=$t.Current,children.add(e)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}$t1=Bridge.getEnumerator(this.children);try{while($t1.moveNext())e1=$t1.Current,children.add(e1)}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$dispose()}return children}}});Bridge.ns("UIComponents.Components.Form.FlexForm",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Form.FlexForm,{f1:function(p){return p.sortOrder},f2:function(p){return UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.FormField.FieldProps,Bridge.Reflection.getTypeFullName(Bridge.getType(p)),p)}});Bridge.define("UIComponents.Components.Form.Labels.FormLabel.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{label:null,attributes:null},ctors:{ctor:function(){this.$initialize();UIComponents.AutoProps.ctor.call(this)},$ctor1:function(label){this.$initialize();UIComponents.AutoProps.ctor.call(this);this.label=label}},methods:{toString:function(){var $t;return $t=this.label,$t!=null?$t:""}}});Bridge.define("UIComponents.Components.Form.Labels.HelpLabel.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",fields:{onClicked:null},props:{label:null,title:null,message:null,attributes:null},ctors:{init:function(){this.onClicked=$asm.$.UIComponents.Components.Form.Labels.HelpLabel.Props.f1},ctor:function(){this.$initialize();UIComponents.AutoProps.ctor.call(this)},$ctor1:function(label,title,message){title===void 0&&(title="Need Help?");message===void 0&&(message="Contact theteam@giveeasy.org if you have questions!");this.$initialize();UIComponents.AutoProps.ctor.call(this);this.label=label;this.title=title;this.message=message}},methods:{toString:function(){var $t;return $t=this.label,$t!=null?$t:""}}});Bridge.ns("UIComponents.Components.Form.Labels.HelpLabel.Props",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Form.Labels.HelpLabel.Props,{f1:function(){}});Bridge.define("UIComponents.Components.IconButton.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{attributes:null,icon:null,onClick:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props",{inherits:[UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props],$kind:"nested class",props:{plugin:null,key$1:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props",{inherits:[UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props],$kind:"nested class",props:{plugin:null,key$1:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props",{inherits:[UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props],$kind:"nested class",props:{plugin:null,key$1:null,reloadParent:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props",{inherits:[UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props],$kind:"nested class",props:{plugin:null,key$1:null,reloadParent:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props",{inherits:[UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props],$kind:"nested class",props:{plugin:null,key$1:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props",{inherits:[UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props],$kind:"nested class",props:{plugin:null,key$1:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props",{inherits:[UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props],$kind:"nested class",props:{plugin:null,key$1:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props",{inherits:[UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props],$kind:"nested class",props:{plugin:null,key$1:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props",{inherits:[UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props],$kind:"nested class",props:{plugin:null,key$1:null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State}}},fields:{embedInfor:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.embedInfor])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State)?Bridge.equals(this.embedInfor,o.embedInfor):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State;return s.embedInfor=this.embedInfor,s}}});Bridge.definei("UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1",function(){return{$kind:"interface"}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State}}},fields:{embedInfor:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.embedInfor])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State)?Bridge.equals(this.embedInfor,o.embedInfor):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State;return s.embedInfor=this.embedInfor,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{inner:null,innerID:null,key:null,type:null},alias:["inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID","key","UIComponents$IKeyProps$key"],ctors:{init:function(){this.type="ProgressWidgetApp"}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State}}},fields:{open:!1,selected:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.open,this.selected])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State)?Bridge.equals(this.open,o.open)&&Bridge.equals(this.selected,o.selected):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State;return s.open=this.open,s.selected=this.selected,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State}}},fields:{embedUrl:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.embedUrl])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State)?Bridge.equals(this.embedUrl,o.embedUrl):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State;return s.embedUrl=this.embedUrl,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State}}},fields:{label:null,amount:null,styleOption:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.label,this.amount,this.styleOption])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State)?Bridge.equals(this.label,o.label)&&Bridge.equals(this.amount,o.amount)&&Bridge.equals(this.styleOption,o.styleOption):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State;return s.label=this.label,s.amount=this.amount,s.styleOption=this.styleOption,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State}}},fields:{isVertical:!1,col:0,row:0},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.isVertical,this.col,this.row])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State)?Bridge.equals(this.isVertical,o.isVertical)&&Bridge.equals(this.col,o.col)&&Bridge.equals(this.row,o.row):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State;return s.isVertical=this.isVertical,s.col=this.col,s.row=this.row,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State}}},fields:{innerText:null,mobileOnly:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.innerText,this.mobileOnly])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State)?Bridge.equals(this.innerText,o.innerText)&&Bridge.equals(this.mobileOnly,o.mobileOnly):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State;return s.innerText=this.innerText,s.mobileOnly=this.mobileOnly,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State}}},fields:{data:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.data])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State)?Bridge.equals(this.data,o.data):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State;return s.data=this.data,s}}});Bridge.define("UIComponents.Modal.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{active:!1,onSubmit:null,onClose:null,hasBackgroundCloseButton:!1}});Bridge.define("UIComponents.DropdownList.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{anchor:null,items:null,selected:null,update:null,isActive:!1},ctors:{init:function(){this.items=new(System.Collections.Generic.Dictionary$2(System.String,System.Object));this.selected=new(System.Collections.Generic.List$1(System.String).ctor);this.update=$asm.$.UIComponents.DropdownList.Props.f1}}});Bridge.ns("UIComponents.DropdownList.Props",$asm.$);Bridge.apply($asm.$.UIComponents.DropdownList.Props,{f1:function(){}});Bridge.define("UIComponents.DropdownList.SelectedItem",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.DropdownList.SelectedItem.Props)],$kind:"nested class",ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.DropdownList.SelectedItem.Props).ctor.call(this,props,children)}},methods:{render:function(){var style;return style=this.unwrappedProps.isSelected?{cursor:"pointer",background:"inherit",filter:"brightness(75%)"}:{cursor:"pointer",background:"inherit"},React.createElement("span",Bridge.React.fixAttr({key:this.unwrappedProps.key,className:"dropdown-item",onClick:Bridge.fn.bind(this,$asm.$.UIComponents.DropdownList.SelectedItem.f1),style:style}),React.createElement.apply(React,["span",Bridge.React.fixAttr({style:{}})].concat(this.children)))}}});Bridge.ns("UIComponents.DropdownList.SelectedItem",$asm.$);Bridge.apply($asm.$.UIComponents.DropdownList.SelectedItem,{f1:function(){this.unwrappedProps.onClick(this.unwrappedProps.key)}});Bridge.define("UIComponents.FormValidator.Props",{inherits:[UIComponents.AutoProps],$kind:"nested class",props:{valid:0,message:null}});Bridge.define("UIComponents.IframeModalContainer.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{key:null,active:!1,inner:null,innerID:null,innerComponent:null,openButton:null,closeButtons:null},alias:["key","UIComponents$IKeyProps$key","inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID"]});Bridge.define("UIComponents.Layout.FlexColumns",{inherits:[Bridge.React.PureComponent$1(UIComponents.Layout.FlexColumns.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.PureComponent$1(UIComponents.Layout.FlexColumns.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,items=new(System.Collections.Generic.Dictionary$2(System.String,System.Object))(this.unwrappedProps.items),i=System.Array.getCount(this.unwrappedProps.items,System.Collections.Generic.KeyValuePair$2(System.String,System.Object)),c,columns,attrs;$t=Bridge.getEnumerator(this.children);try{while($t.moveNext())c=$t.Current,items.add(System.String.format("{0}",[Bridge.box(Bridge.identity(i,i=i+1|0),System.Int32)]),c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return columns=System.Linq.Enumerable.from(items).select($asm.$.UIComponents.Layout.FlexColumns.f1),attrs=this.unwrappedProps.properties||{className:"is-centered is-marginless is-paddingless"},attrs.className+=" columns",React.createElement("div",Bridge.React.fixAttr(attrs),System.Linq.Enumerable.from(columns).toArray())}}});Bridge.ns("UIComponents.Layout.FlexColumns",$asm.$);Bridge.apply($asm.$.UIComponents.Layout.FlexColumns,{f1:function(kv){return React.createElement("div",Bridge.React.fixAttr({key:kv.key,className:"column is-marginless is-paddingless",style:{position:"relative"}}),kv.value)}});Bridge.define("UIComponents.Layout.FlexRows",{inherits:[Bridge.React.PureComponent$1(UIComponents.Layout.FlexRows.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.PureComponent$1(UIComponents.Layout.FlexRows.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,items=new(System.Collections.Generic.Dictionary$2(System.String,System.Object))(this.unwrappedProps.items),i=System.Array.getCount(this.unwrappedProps.items,System.Collections.Generic.KeyValuePair$2(System.String,System.Object)),c,rows;$t=Bridge.getEnumerator(this.children);try{while($t.moveNext())c=$t.Current,items.add(System.String.format("{0}",[Bridge.box(Bridge.identity(i,i=i+1|0),System.Int32)]),c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return rows=System.Linq.Enumerable.from(items).select($asm.$.UIComponents.Layout.FlexRows.f1),React.createElement("div",Bridge.React.fixAttr(this.unwrappedProps.properties),System.Linq.Enumerable.from(rows).toArray())}}});Bridge.ns("UIComponents.Layout.FlexRows",$asm.$);Bridge.apply($asm.$.UIComponents.Layout.FlexRows,{f1:function(kv){return React.createElement("div",Bridge.React.fixAttr({key:kv.key,className:"columns is-marginless is-paddingless",style:{position:"relative"}}),React.createElement("div",Bridge.React.fixAttr({className:"column is-marginless is-paddingless"}),kv.value))}});Bridge.define("UIComponents.Services.Handlebars.ContextTemplate.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{inner:null,innerID:null,key:null},alias:["inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID","key","UIComponents$IKeyProps$key"]});Bridge.define("UIComponents.SimpleForm",{inherits:[Bridge.React.Component$2(UIComponents.SimpleForm.Props,UIComponents.SimpleForm.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.SimpleForm.Props,UIComponents.SimpleForm.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.SimpleForm.State,$t.submitted=!1,$t},render:function(){var FieldComponents=System.Linq.Enumerable.from(this.unwrappedProps.fields).select($asm.$.UIComponents.SimpleForm.f1).toList(Object),formattrs=this.unwrappedProps.formAttributes||{className:"column is-full-mobile"};return React.createElement("div",Bridge.React.fixAttr({key:"0",className:"columns"}),React.createElement("form",Bridge.React.fixAttr(formattrs),React.createElement("div",Bridge.React.fixAttr({key:"0"}),System.Linq.Enumerable.from(FieldComponents).toArray()),React.createElement("span",Bridge.React.fixAttr({key:"1",className:"row"}),React.createElement("div",Bridge.React.fixAttr({className:"control editor-default-button",style:{borderRadius:"3px"}}),React.createElement("input",Bridge.React.fixAttr({value:this.unwrappedProps.label,type:"submit",className:(System.String.format("button is-large",null)||"")+((this.unwrappedState.submitted?" is-loading is-active":"")||""),style:this.unwrappedProps.submitStyle||{},disabled:this.unwrappedProps.disabled||this.unwrappedState.submitted,onClick:Bridge.fn.bind(this,function(e){var $t,$t1,isValid,f;System.String.isNullOrWhiteSpace(this.unwrappedProps.formAttributes.Action)&&e.preventDefault();isValid=!0;$t=Bridge.getEnumerator(this.unwrappedProps.fields,UIComponents.FormField.FieldProps);try{while($t.moveNext())f=$t.Current,f.valid=UIComponents.FormValidator.validate(Bridge.global.UIComponents.FormField.FieldProps,f.validators,f),isValid=!!(isValid&f.valid!==UIComponents.Validation.fail)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}if(isValid){this.setWrappedStateAsync(($t1=new UIComponents.SimpleForm.State,$t1.submitted=!0,$t1));this.unwrappedProps.onSubmit(($t1=new UIComponents.Components.Form.SubmitEventArgs,$t1.fields=System.Linq.Enumerable.from(this.unwrappedProps.fields).toDictionary($asm.$.UIComponents.SimpleForm.f2,$asm.$.UIComponents.SimpleForm.f3,System.String,System.String),$t1))}else this.setWrappedStateAsync(($t1=new UIComponents.SimpleForm.State,$t1.submitted=!1,$t1))})}))))))}}});Bridge.ns("UIComponents.SimpleForm",$asm.$);Bridge.apply($asm.$.UIComponents.SimpleForm,{f1:function(p){return UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.FormField.FieldProps,Bridge.Reflection.getTypeFullName(Bridge.getType(p)),p)},f2:function(x){return x.name},f3:function(x){return x.value}});Bridge.define("UIComponents.SimpleModalContainer.Props",{inherits:[UIComponents.IContainerProps],$kind:"nested class",props:{key:null,active:!1,inner:null,innerID:null,innerComponent:null,openButton:null,closeButtons:null},alias:["key","UIComponents$IKeyProps$key","inner","UIComponents$IContainerProps$inner","innerID","UIComponents$IContainerProps$innerID"]});Bridge.define("UIComponents.Apps.AppealEditor.AppealEditorApp.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.AppealEditor.AppealEditorApp.State}}},fields:{saveTask:null,saveState:0,isPublished:!1,hideControls:!1,modal:null,iframeGroupModal:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.saveTask,this.saveState,this.isPublished,this.hideControls,this.modal,this.iframeGroupModal])},equals:function(o){return Bridge.is(o,UIComponents.Apps.AppealEditor.AppealEditorApp.State)?Bridge.equals(this.saveTask,o.saveTask)&&Bridge.equals(this.saveState,o.saveState)&&Bridge.equals(this.isPublished,o.isPublished)&&Bridge.equals(this.hideControls,o.hideControls)&&Bridge.equals(this.modal,o.modal)&&Bridge.equals(this.iframeGroupModal,o.iframeGroupModal):!1},$clone:function(to){var s=to||new UIComponents.Apps.AppealEditor.AppealEditorApp.State;return s.saveTask=this.saveTask,s.saveState=this.saveState,s.isPublished=this.isPublished,s.hideControls=this.hideControls,s.modal=this.modal,s.iframeGroupModal=this.iframeGroupModal,s}}});Bridge.define("UIComponents.Apps.AppealEditor.AppealLI.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.AppealEditor.AppealLI.State}}},fields:{modal:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.modal])},equals:function(o){return Bridge.is(o,UIComponents.Apps.AppealEditor.AppealLI.State)?Bridge.equals(this.modal,o.modal):!1},$clone:function(to){var s=to||new UIComponents.Apps.AppealEditor.AppealLI.State;return s.modal=this.modal,s}}});Bridge.define("UIComponents.Collections.ODataCollection$2",function(T,C){return{inherits:[Bridge.React.Component$2(UIComponents.Collections.ODataCollection$2.Props$1(T,C,C),UIComponents.Collections.ODataCollection$2.State(T,C))],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Collections.ODataCollection$2.Props$1(T,C,C),UIComponents.Collections.ODataCollection$2.State(T,C)).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t,s;this.unwrappedProps.innerID="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||"");var datasrc=this.unwrappedProps.inner.getAttribute("data-src"),datafilter=this.unwrappedProps.inner.getAttribute("data-filter"),datatemplate=this.unwrappedProps.inner.getAttribute("data-template");return this.unwrappedProps.template=Newtonsoft.Json.JsonConvert.DeserializeObject(datatemplate,T),System.String.isNullOrWhiteSpace(datafilter)||(this.unwrappedProps.filter=datafilter),this.unwrappedProps.oDataSrc=datasrc,s=this.refreshAsync(),$t=new(UIComponents.Collections.ODataCollection$2.State(T,C)),$t.items=new(System.Collections.Generic.List$1(T).ctor),$t},refreshAsync:function(){var $step=0,$task1,$taskResult1,$task2,$tcs=new System.Threading.Tasks.TaskCompletionSource,url,items,newstate,$t,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2],$step);switch($step){case 0:url=this.unwrappedProps.oDataSrc;System.String.isNullOrWhiteSpace(this.unwrappedProps.filter)||(url=(url||"")+(System.String.format("?{0}",[this.unwrappedProps.filter])||""));$task1=UIComponents.Services.HttpRequest.parseODataResponse(T,UIComponents.Services.HttpRequest.requestODataAsync(url,null,""));$step=1;$task1.continueWith($asyncBody);return;case 1:$taskResult1=$task1.getAwaitedResult();items=$taskResult1;newstate=($t=new(UIComponents.Collections.ODataCollection$2.State(T,C)),$t.items=System.Linq.Enumerable.from(items).toList(T),$t.newItem=Bridge.getDefaultValue(T),$t.didLoad=!0,$t);$task2=this.setWrappedStateAsync(newstate.$clone());$step=2;$task2.continueWith($asyncBody);return;case 2:$task2.getAwaitedResult();$tcs.setResult(this.unwrappedState.$clone());return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},create:function(item){var $step=0,$task1,$taskResult1,$task2,$taskResult2,$tcs=new System.Threading.Tasks.TaskCompletionSource,result,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4],$step);switch($step){case 0:$task1=UIComponents.Services.HttpRequest.requestObjectAsync(T,this.unwrappedProps.oDataSrc,"POST",item);$step=1;$task1.continueWith($asyncBody);return;case 1:if($taskResult1=$task1.getAwaitedResult(),result=$taskResult1,UIComponents.Services.HttpRequest.isSuccessCode(result.status)){$step=2;continue}$step=4;continue;case 2:$task2=this.refreshAsync();$step=3;$task2.continueWith($asyncBody);return;case 3:$taskResult2=$task2.getAwaitedResult();$step=4;continue;case 4:$tcs.setResult(result);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},update:function(item){var $step=0,$task1,$taskResult1,$task2,$taskResult2,$tcs=new System.Threading.Tasks.TaskCompletionSource,result,$t,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4],$step);switch($step){case 0:$task1=UIComponents.Services.HttpRequest.requestObjectAsync(T,this.unwrappedProps.oDataSrc,"PUT",item);$step=1;$task1.continueWith($asyncBody);return;case 1:if($taskResult1=$task1.getAwaitedResult(),result=$taskResult1,UIComponents.Services.HttpRequest.isSuccessCode(result.status)){$step=2;continue}$step=4;continue;case 2:$task2=this.refreshAsync();$step=3;$task2.continueWith($asyncBody);return;case 3:$taskResult2=$task2.getAwaitedResult();UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.ApiRefreshDispatcher).invoke(Bridge.global.UIComponents.Dispatchers.ApiRefreshDispatcher.ApiRefreshEventArgs,($t=new UIComponents.Dispatchers.ApiRefreshDispatcher.ApiRefreshEventArgs,$t.apiPath=this.unwrappedProps.oDataSrc,$t));$step=4;continue;case 4:$tcs.setResult(result);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},"delete":function(item,qparams,altsrc){var $step=0,$task1,$taskResult1,$task2,$taskResult2,$tcs=new System.Threading.Tasks.TaskCompletionSource,src,$t,result,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4],$step);switch($step){case 0:qparams===void 0&&(qparams="");altsrc===void 0&&(altsrc=null);src=($t=altsrc,$t!=null?$t:this.unwrappedProps.oDataSrc);$task1=UIComponents.Services.HttpRequest.requestObjectAsync(T,(src||"")+(qparams||""),"DELETE",item);$step=1;$task1.continueWith($asyncBody);return;case 1:if($taskResult1=$task1.getAwaitedResult(),result=$taskResult1,UIComponents.Services.HttpRequest.isSuccessCode(result.status)){$step=2;continue}$step=4;continue;case 2:$task2=this.refreshAsync();$step=3;$task2.continueWith($asyncBody);return;case 3:$taskResult2=$task2.getAwaitedResult();$step=4;continue;case 4:$tcs.setResult(result);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},"new":function(newitem){var $t;this.setWrappedStateAsync(($t=new(UIComponents.Collections.ODataCollection$2.State(T,C)),$t.items=this.unwrappedState.items,$t.newItem=newitem,$t))}}}});Bridge.define("ViewModels.ReactContext.AppealTitleContext",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new ViewModels.ReactContext.AppealTitleContext}}},props:{appealUUID:null,urlBase:null},ctors:{init:function(){this.appealUUID=new System.Guid},ctor:function(){this.$initialize()}},methods:{appealUrl:function(title){return System.String.format("{0}/{1}",System.String.trimEnd(this.urlBase,[47]),System.String.trimStart(GiveEasy.Shared.Extensions.toLowerFragment(title.GiveEasy$Shared$IAppealTitle$title)))},getHashCode:function(){return Bridge.addHash([6301887485,this.appealUUID,this.urlBase])},equals:function(o){return Bridge.is(o,ViewModels.ReactContext.AppealTitleContext)?Bridge.equals(this.appealUUID,o.appealUUID)&&Bridge.equals(this.urlBase,o.urlBase):!1},$clone:function(to){var s=to||new ViewModels.ReactContext.AppealTitleContext;return s.appealUUID=this.appealUUID,s.urlBase=this.urlBase,s}}});Bridge.define("UIComponents.Apps.AppealEditor.EditableTileContainer.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.AppealEditor.EditableTileContainer.State}}},fields:{componentChildren:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.componentChildren])},equals:function(o){return Bridge.is(o,UIComponents.Apps.AppealEditor.EditableTileContainer.State)?Bridge.equals(this.componentChildren,o.componentChildren):!1},$clone:function(to){var s=to||new UIComponents.Apps.AppealEditor.EditableTileContainer.State;return s.componentChildren=this.componentChildren,s}}});Bridge.define("UIComponents.Apps.AppealEditor.EmailEditorApp.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.AppealEditor.EmailEditorApp.State}}},fields:{saveTask:null,saveState:0,isPublished:!1,hideControls:!1,modal:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.saveTask,this.saveState,this.isPublished,this.hideControls,this.modal])},equals:function(o){return Bridge.is(o,UIComponents.Apps.AppealEditor.EmailEditorApp.State)?Bridge.equals(this.saveTask,o.saveTask)&&Bridge.equals(this.saveState,o.saveState)&&Bridge.equals(this.isPublished,o.isPublished)&&Bridge.equals(this.hideControls,o.hideControls)&&Bridge.equals(this.modal,o.modal):!1},$clone:function(to){var s=to||new UIComponents.Apps.AppealEditor.EmailEditorApp.State;return s.saveTask=this.saveTask,s.saveState=this.saveState,s.isPublished=this.isPublished,s.hideControls=this.hideControls,s.modal=this.modal,s}}});Bridge.define("UIComponents.Apps.AppealEditor.ReceiptLI.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.AppealEditor.ReceiptLI.State}}},fields:{appealUUID:null,modal:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.appealUUID,this.modal])},equals:function(o){return Bridge.is(o,UIComponents.Apps.AppealEditor.ReceiptLI.State)?Bridge.equals(this.appealUUID,o.appealUUID)&&Bridge.equals(this.modal,o.modal):!1},$clone:function(to){var s=to||new UIComponents.Apps.AppealEditor.ReceiptLI.State;return s.appealUUID=this.appealUUID,s.modal=this.modal,s}}});Bridge.define("UIComponents.Apps.AppealEditor.ThankyouPageLI.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.AppealEditor.ThankyouPageLI.State}}},fields:{appealUUID:null,modal:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.appealUUID,this.modal])},equals:function(o){return Bridge.is(o,UIComponents.Apps.AppealEditor.ThankyouPageLI.State)?Bridge.equals(this.appealUUID,o.appealUUID)&&Bridge.equals(this.modal,o.modal):!1},$clone:function(to){var s=to||new UIComponents.Apps.AppealEditor.ThankyouPageLI.State;return s.appealUUID=this.appealUUID,s.modal=this.modal,s}}});Bridge.define("UIComponents.Apps.AppealEditor.PageEditorApp.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.AppealEditor.PageEditorApp.State}}},fields:{saveTask:null,saveState:0,isPublished:!1,hideControls:!1,modal:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.saveTask,this.saveState,this.isPublished,this.hideControls,this.modal])},equals:function(o){return Bridge.is(o,UIComponents.Apps.AppealEditor.PageEditorApp.State)?Bridge.equals(this.saveTask,o.saveTask)&&Bridge.equals(this.saveState,o.saveState)&&Bridge.equals(this.isPublished,o.isPublished)&&Bridge.equals(this.hideControls,o.hideControls)&&Bridge.equals(this.modal,o.modal):!1},$clone:function(to){var s=to||new UIComponents.Apps.AppealEditor.PageEditorApp.State;return s.saveTask=this.saveTask,s.saveState=this.saveState,s.isPublished=this.isPublished,s.hideControls=this.hideControls,s.modal=this.modal,s}}});Bridge.define("ViewModels.ReactContext.ReceiptTitleContext",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new ViewModels.ReactContext.ReceiptTitleContext}}},props:{urlBase:null},ctors:{ctor:function(){this.$initialize()}},methods:{reviewPageUrl:function(title){return System.String.format("{0}/{1}?review=true",System.String.trimEnd(this.urlBase,[47]),System.String.trimStart(GiveEasy.Shared.Extensions.toLowerFragment(title.GiveEasy$Shared$IReceiptTitle$title)))},getHashCode:function(){return Bridge.addHash([6780563916,this.urlBase])},equals:function(o){return Bridge.is(o,ViewModels.ReactContext.ReceiptTitleContext)?Bridge.equals(this.urlBase,o.urlBase):!1},$clone:function(to){var s=to||new ViewModels.ReactContext.ReceiptTitleContext;return s.urlBase=this.urlBase,s}}});Bridge.define("ViewModels.ReactContext.PageTitleContext",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new ViewModels.ReactContext.PageTitleContext}}},props:{urlBase:null,urlPath:null,charitySlug:null},ctors:{ctor:function(){this.$initialize()}},methods:{serviceThanksUrl:function(path){path===void 0&&(path="");var u=System.String.replaceAll(this.urlBase,this.urlPath,"");return System.String.format("{0}/Portal/Thanks/{1}",System.String.trimEnd(u,[47]),path)},reviewPageUrl:function(title,draft){return draft?System.String.format("{0}features/thanks/draft/{1}/{2}",GiveEasy.Shared.Extensions.apiUrl(this.urlBase),this.charitySlug,title.GiveEasy$Shared$ICustomPageTitle$title):System.String.format("{0}features/thanks/{1}/{2}",GiveEasy.Shared.Extensions.apiUrl(this.urlBase),this.charitySlug,title.GiveEasy$Shared$ICustomPageTitle$title)},getHashCode:function(){return Bridge.addHash([7327675261,this.urlBase,this.urlPath,this.charitySlug])},equals:function(o){return Bridge.is(o,ViewModels.ReactContext.PageTitleContext)?Bridge.equals(this.urlBase,o.urlBase)&&Bridge.equals(this.urlPath,o.urlPath)&&Bridge.equals(this.charitySlug,o.charitySlug):!1},$clone:function(to){var s=to||new ViewModels.ReactContext.PageTitleContext;return s.urlBase=this.urlBase,s.urlPath=this.urlPath,s.charitySlug=this.charitySlug,s}}});Bridge.define("UIComponents.Apps.ClockControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Apps.CountdownWidgetApp.Props)],fields:{changed:!1},events:{onUpdate:null},props:{value:null,key:{get:function(){return"ClockControl"}}},alias:["key","UIComponents$Components$Configurable$IConfigControl$key","addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Apps$CountdownWidgetApp$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"],"update","UIComponents$Components$Configurable$IConfigControl$update","control","UIComponents$Components$Configurable$IConfigControl$control"],ctors:{init:function(){this.changed=!1},ctor:function(inner){var $t,utcTime;this.$initialize();this.addonUpdate($asm.$.UIComponents.Apps.ClockControl.f1);try{this.value=($t=new UIComponents.Apps.ClockControl.CountdownData,$t.countdown_date=System.DateTime.getToday(),$t.countdown_hide_on_pass=!1,$t.countdown_hide_until_pass=!1,$t);utcTime=System.String.isNullOrEmpty(inner.getAttribute("data-targetdate"))?System.DateTime.getUtcNow():System.DateTime.toUniversalTime(System.DateTime.parse(inner.getAttribute("data-targetdate")));this.value.countdown_date=utcTime;this.value.countdown_hide_on_pass=System.String.isNullOrEmpty(inner.getAttribute("data-hideonpass"))?!1:System.Boolean.parse(inner.getAttribute("data-hideonpass"));this.value.countdown_hide_until_pass=System.String.isNullOrEmpty(inner.getAttribute("data-hideuntilpass"))?!1:System.Boolean.parse(inner.getAttribute("data-hideuntilpass"));this.value.countdown_color=System.String.isNullOrEmpty(inner.getAttribute("data-textcolor"))?"":inner.getAttribute("data-textcolor")}catch(ex){ex=System.Exception.create(ex);System.Console.WriteLine(ex)}}},methods:{update$2:function(props){return props},update$1:function(props){return props.newState.targetDate=this.value.countdown_date,props.newState.hideOnPass=this.value.countdown_hide_on_pass,props.newState.hideUntilPass=this.value.countdown_hide_until_pass,props.newState.textColor=this.value.countdown_color,props},update:function(props){var p=Bridge.as(props,UIComponents.Apps.CountdownWidgetApp.Props);return p!=null?this.update$1(p):props},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,input,$t,kind,classname,style,attrs,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return input=new(UIComponents.Components.Form.Editor.EditorColumn$1(UIComponents.Apps.ClockControl.CountdownData))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Apps.ClockControl.CountdownData)),$t.initial=this.value,$t.onUpdate=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.ClockControl.f2),$t)),kind="is-success",this.changed&&(kind="is-danger"),classname=System.String.format("button is-small {0}",[kind]),style={margin:"5px 15px 15px"},attrs={className:classname,style:style},$enumerator.current=new UIComponents.Layout.FlexRows.Props("forumEditor",[Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Apps.ClockControl.CountdownData),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.Apps.ClockControl.CountdownData)).op_Implicit$1(input)]),$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))}}});Bridge.ns("UIComponents.Apps.ClockControl",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.ClockControl,{f1:function(){},f2:function(){this.changed=!0;this.onUpdate(this,null)}});Bridge.define("UIComponents.Apps.CountdownWidgetApp.State",{$kind:"nested struct",statics:{methods:{fromElement:function(inner){var $t,targetDate=inner.getAttribute("data-targetdate"),s=($t=new UIComponents.Apps.CountdownWidgetApp.State,$t.targetDate=System.String.isNullOrWhiteSpace(targetDate)?System.DateTime.getNow():System.DateTime.parse(targetDate),$t.hideOnPass=System.String.isNullOrEmpty(inner.getAttribute("data-hideonpass"))?!1:System.Boolean.parse(inner.getAttribute("data-hideonpass")),$t.hideUntilPass=System.String.isNullOrEmpty(inner.getAttribute("data-hideuntilpass"))?!1:System.Boolean.parse(inner.getAttribute("data-hideuntilpass")),$t.textColor=System.String.isNullOrEmpty(inner.getAttribute("data-textcolor"))?"":inner.getAttribute("data-textcolor"),$t);return s.$clone()},getDefaultValue:function(){return new UIComponents.Apps.CountdownWidgetApp.State}}},fields:{isCounting:!1,hideOnPass:!1,hideUntilPass:!1,textColor:null,targetDate:null},props:{widget:{get:function(){return!0}}},ctors:{init:function(){this.targetDate=System.DateTime.getDefaultValue()},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.isCounting,this.hideOnPass,this.hideUntilPass,this.textColor,this.targetDate])},equals:function(o){return Bridge.is(o,UIComponents.Apps.CountdownWidgetApp.State)?Bridge.equals(this.isCounting,o.isCounting)&&Bridge.equals(this.hideOnPass,o.hideOnPass)&&Bridge.equals(this.hideUntilPass,o.hideUntilPass)&&Bridge.equals(this.textColor,o.textColor)&&Bridge.equals(this.targetDate,o.targetDate):!1},$clone:function(to){var s=to||new UIComponents.Apps.CountdownWidgetApp.State;return s.isCounting=this.isCounting,s.hideOnPass=this.hideOnPass,s.hideUntilPass=this.hideUntilPass,s.textColor=this.textColor,s.targetDate=this.targetDate,s}}});Bridge.define("UIComponents.Apps.DonateForm.DonateFormApp.State",{$kind:"nested struct",statics:{methods:{fromElement:function(props){var $t,fields=UIComponents.Apps.DonateForm.DonateFormApp.defaultFields(props.appeal),buttons,input;return fields=System.Linq.Enumerable.from(fields).select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.State.f1).union(UIComponents.Apps.DonateForm.DonateFormApp.getFormFields(props.inner),new UIComponents.FormField.FieldComparer).distinct(new UIComponents.FormField.FieldComparer),buttons=UIComponents.Components.Form.Buttons.EventButton.getButtons(props.inner).filter($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.State.f2),input=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLInputElement,props.inner)).where($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.State.f3).firstOrDefault(null,null),$t=new UIComponents.Apps.DonateForm.DonateFormApp.State,$t.eventButtons=buttons,$t.fields=fields,$t},getDefaultValue:function(){return new UIComponents.Apps.DonateForm.DonateFormApp.State}}},fields:{eventButtons:null,fields:null,submit:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.eventButtons,this.fields,this.submit])},equals:function(o){return Bridge.is(o,UIComponents.Apps.DonateForm.DonateFormApp.State)?Bridge.equals(this.eventButtons,o.eventButtons)&&Bridge.equals(this.fields,o.fields)&&Bridge.equals(this.submit,o.submit):!1},$clone:function(to){var s=to||new UIComponents.Apps.DonateForm.DonateFormApp.State;return s.eventButtons=this.eventButtons,s.fields=this.fields,s.submit=this.submit,s}}});Bridge.ns("UIComponents.Apps.DonateForm.DonateFormApp.State",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.State,{f1:function(i){return i},f2:function(b){return b.onClick!==UIComponents.Dispatchers.SubmitAction.donatePayPal},f3:function(x){return x.type==="submit"}});Bridge.define("UIComponents.Apps.DonateForm.FormComplete.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.DonateForm.FormComplete.State}}},fields:{inner:null,innerComponent:null,amount:System.Decimal(0)},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.inner,this.innerComponent,this.amount])},equals:function(o){return Bridge.is(o,UIComponents.Apps.DonateForm.FormComplete.State)?Bridge.equals(this.inner,o.inner)&&Bridge.equals(this.innerComponent,o.innerComponent)&&Bridge.equals(this.amount,o.amount):!1},$clone:function(to){var s=to||new UIComponents.Apps.DonateForm.FormComplete.State;return s.inner=this.inner,s.innerComponent=this.innerComponent,s.amount=this.amount,s}}});Bridge.define("UIComponents.Apps.DonateForm.TextPrefill.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Apps.DonateForm.TextPrefill.State}}},fields:{inner:null,innerComponent:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.inner,this.innerComponent])},equals:function(o){return Bridge.is(o,UIComponents.Apps.DonateForm.TextPrefill.State)?Bridge.equals(this.inner,o.inner)&&Bridge.equals(this.innerComponent,o.innerComponent):!1},$clone:function(to){var s=to||new UIComponents.Apps.DonateForm.TextPrefill.State;return s.inner=this.inner,s.innerComponent=this.innerComponent,s}}});Bridge.define("UIComponents.Apps.ProgressWidgetApp.State",{inherits:[UIComponents.Dispatchers.ContextDispatcher.IContextState$1(UIComponents.Apps.ProgressWidgetApp.TargetContext)],$kind:"nested struct",statics:{methods:{fromElement:function(inner){var $t,$t1,$t2,$t3,$t4,$t5,s=($t=new UIComponents.Apps.ProgressWidgetApp.State,$t.contextName=($t1=inner.getAttribute("data-contextname"),$t1!=null?$t1:"bar"),$t.appealTitle=($t2=inner.getAttribute("data-appealtitle"),$t2!=null?$t2:""),$t.max=System.Decimal(($t3=inner.getAttribute("data-max"),$t3!=null?$t3:"100")),$t.oDataUrl=inner.getAttribute("data-odataurl"),$t.query=new UIComponents.Apps.ProgressWidget.DonationQuery,$t.bearerToken=($t4=inner.getAttribute("data-bearertoken"),$t4!=null?$t4:""),$t.barColor=($t5=inner.getAttribute("data-barcolor"),$t5!=null?$t5:"#922"),$t),queryStr,query,offset,appearence;try{queryStr=inner.getAttribute("data-querystring");query=Newtonsoft.Json.JsonConvert.DeserializeObject(queryStr,UIComponents.Apps.ProgressWidget.DonationQuery);s.query=query;s.oDataUrl=UIComponents.Apps.ProgressWidget.DonationQuery.oDataUrl(s.query)}catch(ex){ex=System.Exception.create(ex);System.Console.WriteLine(ex)}return offset={v:System.Decimal(0)},s.amountOffset=System.Decimal(0),System.Decimal.tryParse(inner.getAttribute("data-amountoffset"),null,offset)&&(s.amountOffset=offset.v),appearence={v:UIComponents.Apps.ProgressWidgetApp.ProgressStyle.default},System.Int16.tryParse(inner.getAttribute("data-appearance"),appearence)&&(s.appearance=appearence.v),s.$clone()},getDefaultValue:function(){return new UIComponents.Apps.ProgressWidgetApp.State}}},fields:{_total:System.Decimal(0),display:System.Decimal(0),max:System.Decimal(0),barColor:null,appealTitle:null,oDataUrl:null,bearerToken:null,amountOffset:System.Decimal(0),appearance:0},props:{total:{get:function(){return this.amountOffset.add(this._total)},set:function(value){this._total=value}},widget:{get:function(){return!0}},contextName:null,query:null},alias:["contextName",["UIComponents$Dispatchers$ContextDispatcher$IContextState$1$UIComponents$Apps$ProgressWidgetApp$TargetContext$contextName","UIComponents$Dispatchers$ContextDispatcher$IContextState$1$contextName"],"updateContext",["UIComponents$Dispatchers$ContextDispatcher$IContextState$1$UIComponents$Apps$ProgressWidgetApp$TargetContext$updateContext","UIComponents$Dispatchers$ContextDispatcher$IContextState$1$updateContext"]],ctors:{ctor:function(){this.$initialize()}},methods:{updateContext:function(){var $t;return $t=new UIComponents.Apps.ProgressWidgetApp.TargetContext,$t.goal=System.String.format("{0:n0}",[this.max]),$t.raised=System.String.format("{0:n0}",[this.display]),$t.percent=System.Decimal(100).mul(this.display).div(this.max).floor(),$t},getHashCode:function(){return Bridge.addHash([1952543928,this._total,this.display,this.max,this.barColor,this.appealTitle,this.oDataUrl,this.bearerToken,this.amountOffset,this.appearance,this.contextName,this.query])},equals:function(o){return Bridge.is(o,UIComponents.Apps.ProgressWidgetApp.State)?Bridge.equals(this._total,o._total)&&Bridge.equals(this.display,o.display)&&Bridge.equals(this.max,o.max)&&Bridge.equals(this.barColor,o.barColor)&&Bridge.equals(this.appealTitle,o.appealTitle)&&Bridge.equals(this.oDataUrl,o.oDataUrl)&&Bridge.equals(this.bearerToken,o.bearerToken)&&Bridge.equals(this.amountOffset,o.amountOffset)&&Bridge.equals(this.appearance,o.appearance)&&Bridge.equals(this.contextName,o.contextName)&&Bridge.equals(this.query,o.query):!1},$clone:function(to){var s=to||new UIComponents.Apps.ProgressWidgetApp.State;return s._total=this._total,s.display=this.display,s.max=this.max,s.barColor=this.barColor,s.appealTitle=this.appealTitle,s.oDataUrl=this.oDataUrl,s.bearerToken=this.bearerToken,s.amountOffset=this.amountOffset,s.appearance=this.appearance,s.contextName=this.contextName,s.query=this.query,s}}});Bridge.define("UIComponents.Apps.ProgressWidgetControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Apps.ProgressWidgetApp.Props)],events:{onUpdate:null},props:{key:{get:function(){return"ProgressWidgetControl"}},value:null},alias:["key","UIComponents$Components$Configurable$IConfigControl$key","addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Apps$ProgressWidgetApp$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{ctor:function(inner){this.$initialize();this.addonUpdate($asm.$.UIComponents.Apps.ProgressWidgetControl.f1);try{var state=UIComponents.Apps.ProgressWidgetApp.State.fromElement(inner);this.value=new UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData.$ctor1(state.$clone());state.query.charityId===0&&window.alert("Oops! Your Live Thermometer Bar has been mis-configurated. Please remove it and add a different one.")}catch(ex){ex=System.Exception.create(ex);System.Console.WriteLine(ex)}}},methods:{control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,input,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return input=new(UIComponents.Components.Form.Editor.EditorColumn$1(UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData)),$t.initial=this.value,$t.onUpdate=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.ProgressWidgetControl.f2),$t)),$enumerator.current=new UIComponents.Layout.FlexRows.Props("widgetDataEditor",[Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData)).op_Implicit$1(input)]),$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update$3:function(T,props){return props},update$2:function(props){return props},update:function(innerprops){var p=Bridge.as(innerprops,UIComponents.Apps.ProgressWidgetApp.Props);return p!=null?this.update$1(p):innerprops},update$1:function(props){var p=props||new UIComponents.Apps.ProgressWidgetApp.Props;return p.newState.contextName=this.value.contextname,p.newState.appealTitle=this.value.appealtitle,p.newState.bearerToken=this.value.bearertoken,p.newState.query=this.value.query,p.newState.max=System.Convert.toDecimal(this.value.goal),p.newState.amountOffset=System.Convert.toDecimal(this.value.offset),p.newState.barColor=this.value.barcolor,p.newState.appearance=this.value.horizontal?UIComponents.Apps.ProgressWidgetApp.ProgressStyle.horizontal:UIComponents.Apps.ProgressWidgetApp.ProgressStyle.default,p}}});Bridge.ns("UIComponents.Apps.ProgressWidgetControl",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.ProgressWidgetControl,{f1:function(){},f2:function(v){this.value=v;this.onUpdate(this,null)}});Bridge.define("UIComponents.Apps.SearchWidget.KnowledgebaseSearch",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.Apps.SearchWidget.KnowledgebaseSearch.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.Apps.SearchWidget.KnowledgebaseSearch.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t;return React.createElement("div",Bridge.React.fixAttr({}),Bridge.React.Component$2(UIComponents.Apps.SearchWidget.SearchWidgetApp.Props,UIComponents.Apps.SearchWidget.SearchWidgetApp.State).op_Implicit(new UIComponents.Apps.SearchWidget.SearchWidgetApp(($t=new UIComponents.Apps.SearchWidget.SearchWidgetApp.Props,$t.doSearch=Bridge.fn.cacheBind(this,this.doSearch),$t.placeholder="Search Knowledgebase",$t))))},readResult:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult))(Bridge.fn.bind(this,function(results){var $step=0,$t,r,$t1,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:$t=Bridge.getEnumerator(results);$step=1;continue;case 1:if($t.moveNext()){r=$t.Current;$step=2;continue}$step=4;continue;case 2:return $enumerator.current=($t1=new UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult,$t1.id=System.String.format("{0}",[r.id]),$t1.url=new System.Uri(r.html_url),$t1.title=r.title,$t1.snippet=r.snippet,$t1),$step=3,!0;case 3:$step=1;continue;case 4:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator},arguments))},doSearch:function(query,callback){var url=System.String.format("https://giveeasy.zendesk.com/api/v2/help_center/articles/search.json?query={0}",[query]),items=UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.FormData,url,"GET",!1,null,null).continueWith(Bridge.fn.bind(this,function(x){if(x.exception==null){var response=JSON.parse(x.getResult().responseText),results=response.results,list=this.readResult(results);callback(list)}}))}}});Bridge.define("UIComponents.Apps.TrackingControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Apps.TrackingWidgetApp.Props)],events:{onUpdate:null},props:{value:null,key:{get:function(){return"TrackingControl"}}},alias:["key","UIComponents$Components$Configurable$IConfigControl$key","addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Apps$TrackingWidgetApp$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"],"update","UIComponents$Components$Configurable$IConfigControl$update","control","UIComponents$Components$Configurable$IConfigControl$control"],ctors:{ctor:function(inner){var $t;this.$initialize();this.addonUpdate($asm.$.UIComponents.Apps.TrackingControl.f1);this.value=($t=inner!=null?inner.innerHTML:null,$t!=null?$t:"")}},methods:{update$2:function(props){return props},update$1:function(props){return props.newState.textContent=this.value,props},update:function(props){var p=Bridge.as(props,UIComponents.Apps.TrackingWidgetApp.Props);return p!=null?this.update$1(p):props},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,txTracking,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return txTracking=new UIComponents.FormInput.Props(this.key,0),txTracking.key="inputBox"+(this.key||""),txTracking.type="text",txTracking.isMultiLine=!0,txTracking.value=this.value,txTracking.update=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.TrackingControl.f2),txTracking.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label="Tracking Code",$t),txTracking.placeholder="Tracking code example:\n<script>\n  (function(i, s, o, g, r, a, m){\n                i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function(){\n                    (i[r].q = i[r].q ||[]).push(arguments)},i[r].l = 1 * new Date(); a = s.createElement(o),\n  m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)\n        })(window, document,'script','//www.google-analytics.com/analytics.js','ga');\n\n            ga('create', 'UA-xxxxxxxx-x', 'xxxxxx.com');\n            ga('send', 'pageview');\n<\/script>",$enumerator.current=txTracking,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))}}});Bridge.ns("UIComponents.Apps.TrackingControl",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.TrackingControl,{f1:function(){},f2:function(x){this.value=x;this.onUpdate(this,null)}});Bridge.define("UIComponents.Apps.TrackingWidgetApp.State",{$kind:"nested struct",statics:{methods:{fromElement:function(inner){var $t,innerText=inner.innerHTML,s=($t=new UIComponents.Apps.TrackingWidgetApp.State,$t.textContent=innerText,$t);return s.$clone()},getDefaultValue:function(){return new UIComponents.Apps.TrackingWidgetApp.State}}},fields:{textContent:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.textContent])},equals:function(o){return Bridge.is(o,UIComponents.Apps.TrackingWidgetApp.State)?Bridge.equals(this.textContent,o.textContent):!1},$clone:function(to){var s=to||new UIComponents.Apps.TrackingWidgetApp.State;return s.textContent=this.textContent,s}}});Bridge.define("UIComponents.ChromeOnlyModalContainer.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.ChromeOnlyModalContainer.State}}},fields:{isActive:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.isActive])},equals:function(o){return Bridge.is(o,UIComponents.ChromeOnlyModalContainer.State)?Bridge.equals(this.isActive,o.isActive):!1},$clone:function(to){var s=to||new UIComponents.ChromeOnlyModalContainer.State;return s.isActive=this.isActive,s}}});Bridge.define("UIComponents.Collections.TagSetTD",{inherits:[Bridge.React.Component$2(UIComponents.Collections.TagSetTD.Props,UIComponents.Collections.TagSetTD.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Collections.TagSetTD.Props,UIComponents.Collections.TagSetTD.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Collections.TagSetTD.State,$t.active=!1,$t.tempValue=this.unwrappedProps.item.value,$t},submit:function(newvalue){var kv=new(System.Collections.Generic.KeyValuePair$2(System.String,System.String))(this.unwrappedProps.key,newvalue);this.unwrappedProps.update(kv);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Collections.TagSetTD.Props,Bridge.global.UIComponents.Collections.TagSetTD.State,this,$asm.$.UIComponents.Collections.TagSetTD.f1)},render:function(){var $t,$t1,p,input,form,modal;return this.unwrappedState.active?(input=($t=new UIComponents.FormInput.Props(this.unwrappedProps.item.key,1),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="",$t1.attributes={className:"label hidden"},$t1),$t.type="text",$t.value=this.unwrappedState.tempValue,$t.key=this.unwrappedProps.key,$t),input.update=Bridge.fn.bind(this,function(str){input.value=str;UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Collections.TagSetTD.Props,Bridge.global.UIComponents.Collections.TagSetTD.State,this,function(s){s.tempValue=str})}),form=new UIComponents.SimpleForm(($t=new UIComponents.SimpleForm.Props,$t.formAttributes={action:""},$t.fields=System.Array.init([input],UIComponents.FormInput.Props),$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Collections.TagSetTD.f4),$t)),modal=new UIComponents.ConfirmModal(($t=new UIComponents.ConfirmModal.Props,$t.key=this.unwrappedProps.key,$t.title="Update Record",$t.message=System.String.format("Modify the value of {0}? Warning: This will overwrite the original data!",[this.unwrappedProps.key]),$t.active=this.unwrappedState.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Collections.TagSetTD.f6),$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Collections.TagSetTD.f7),$t),[React.createElement("div",Bridge.React.fixAttr({key:this.unwrappedProps.item.key,className:"column"}),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(new UIComponents.FormInput(input)))]),React.createElement("td",Bridge.React.fixAttr({key:this.unwrappedProps.item.key}),Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(modal))):(p=React.createElement("a",Bridge.React.fixAttr({onClick:Bridge.fn.bind(this,$asm.$.UIComponents.Collections.TagSetTD.f3)}),React.createElement("p",null,this.unwrappedProps.item.value)),React.createElement("td",Bridge.React.fixAttr({key:this.unwrappedProps.item.key}),p))},_input:function(){var $t,$t1;return React.createElement("div",Bridge.React.fixAttr({className:"field has-addons"}),React.createElement("p",Bridge.React.fixAttr({className:"control"}),React.createElement("input",Bridge.React.fixAttr({className:"input is-small is-expanded",type:"text",placeholder:"Title",value:($t=($t1=this.unwrappedProps)!=null?$t1.item.value:null,$t!=null?$t:""),onChange:Bridge.fn.bind(this,$asm.$.UIComponents.Collections.TagSetTD.f8),onBlur:Bridge.fn.bind(this,$asm.$.UIComponents.Collections.TagSetTD.f9)}))))}}});Bridge.ns("UIComponents.Collections.TagSetTD",$asm.$);Bridge.apply($asm.$.UIComponents.Collections.TagSetTD,{f1:function(s){s.active=!1},f2:function(s){s.active=!s.active},f3:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Collections.TagSetTD.Props,Bridge.global.UIComponents.Collections.TagSetTD.State,this,$asm.$.UIComponents.Collections.TagSetTD.f2)},f4:function(){this.submit(this.unwrappedState.tempValue)},f5:function(s){s.active=!1;s.tempValue=this.unwrappedProps.item.value},f6:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Collections.TagSetTD.Props,Bridge.global.UIComponents.Collections.TagSetTD.State,this,Bridge.fn.bind(this,$asm.$.UIComponents.Collections.TagSetTD.f5))},f7:function(){this.submit(this.unwrappedState.tempValue)},f8:function(e){var $t2;this.unwrappedProps.item=new(System.Collections.Generic.KeyValuePair$2(System.String,System.String))(this.unwrappedProps.item.key,($t2=e.currentTarget.value,$t2!=null?$t2:""))},f9:function(){this.unwrappedProps.update(this.unwrappedProps.item)}});Bridge.define("UIComponents.Components.Configurable.BackgroundColorControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],fields:{_value:null},events:{onUpdate:null},props:{key:{get:function(){return"backgroundColor"}},value:{get:function(){return this._value},set:function(value){this._value=this.convert2Hex(value)}}},alias:["addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","key","UIComponents$Components$Configurable$IConfigControl$key","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{init:function(){this._value=""},ctor:function(inner){this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.BackgroundColorControl.f1);this.value=inner.style.backgroundColor}},methods:{apply:function(target){for(var i=0;i<4&&target!=null;i=i+1|0){if(!System.String.isNullOrWhiteSpace(target.style.backgroundColor)){target.style.backgroundColor=this.value;return}target=target.firstElementChild}},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,bgcolour,$t,$t1,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return bgcolour=new UIComponents.FormInput.Props(this.key,0),bgcolour.key="inputBox"+(this.key||""),bgcolour.type="color",bgcolour.value=($t=this.value,$t!=null?$t:""),bgcolour.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.BackgroundColorControl.f2),bgcolour.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="Background ",$t1),$enumerator.current=bgcolour,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},convert2Hex:function(x){return UIComponents.XBrowser.rGB2Hex(x)},update:function(props){var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){var target=document.getElementById(props.wrappedId).firstElementChild;return this.apply(target.firstElementChild),props}}});Bridge.ns("UIComponents.Components.Configurable.BackgroundColorControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.BackgroundColorControl,{f1:function(){},f2:function(x){this.value=x;this.onUpdate(this,null)}});Bridge.define("UIComponents.Components.Configurable.BackgroundImageControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props),UIComponents.Components.Tooltips.ITooltip],statics:{methods:{toInt:function(self){var value={v:0};return System.Int32.tryParse(self,value)?value.v:null},figureElement:function(target){return System.Linq.Enumerable.from(target.children).where($asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f1).singleOrDefault($asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f2,null)}}},fields:{top:0,left:0,dragStartX:0,dragStartY:0},events:{onUpdate:null},props:{width:0,height:0,key:{get:function(){return"backgroundImage"}},value:null,fraction:0},alias:["key","UIComponents$Components$Configurable$IConfigControl$key","addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","control","UIComponents$Components$Configurable$IConfigControl$control","display","UIComponents$Components$Tooltips$ITooltip$display","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{ctor:function(inner){var $t,img;this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f3);this.fraction=0;this.value=System.String.replaceAll(System.String.replaceAll(inner.style.backgroundImage,'url("',""),'")',"");img=($t=new Image,$t.src=this.value,$t.onload=Bridge.fn.bind(this,function(e){var pos=this.nativeOffset(inner);this.left=System.Convert.toInt32(System.Decimal(Bridge.Int.mul(e.currentTarget.naturalWidth,pos.item1-50|0)).div(System.Decimal(100)));this.top=System.Convert.toInt32(System.Decimal(Bridge.Int.mul(e.currentTarget.naturalHeight,pos.item2-50|0)).div(System.Decimal(100)));this.apply(inner)}),$t)}},methods:{nativeOffset:function(inner){var $t,$t1,leftpct={v:0},toppct={v:0},re=new System.Text.RegularExpressions.Regex.ctor("(\\d+)",4),matches;return System.String.isNullOrWhiteSpace(inner!=null&&inner.style!=null?inner.style.backgroundPosition:null)||(matches=System.Linq.Enumerable.from(re.matches(inner.style.backgroundPosition)).select(function(x){return Bridge.cast(x,System.Text.RegularExpressions.Match)}),System.Int32.tryParse(($t=matches.firstOrDefault(null,null))!=null?$t.getValue():null,leftpct),System.Int32.tryParse(($t1=matches.lastOrDefault(null,null))!=null?$t1.getValue():null,toppct)),{item1:leftpct.v,item2:toppct.v}},apply:function(target){var $t,img=($t=new Image,$t.src=this.value,$t),figure,n;if(img.style.visibility="hidden",figure=UIComponents.Components.Configurable.BackgroundImageControl.figureElement(target),figure!=null){$t=Bridge.getEnumerator(figure.childNodes);try{while($t.moveNext())n=$t.Current,figure.removeChild(n)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}figure.appendChild(img);figure.style.maxHeight="400px";figure.style.minHeight="40px";figure.style.height="initial"}figure.style.maxHeight="400px";figure.style.minHeight="40px";figure.style.height="initial";figure.style.display="block";var pos=this.nativeOffset(target),leftpct=pos.item1-50|0,toppct=pos.item2-50|0;if(img.naturalWidth>0&&img.naturalHeight>0){var screenwidth=this.width,screenheight=this.height,bgsize=UIComponents.Components.Configurable.BackgroundSizeControl.tryParse(target.style.backgroundSize);(bgsize===UIComponents.Components.Configurable.BannerStyle.contain||bgsize===UIComponents.Components.Configurable.BannerStyle.cropVertical)&&(screenwidth=img.naturalWidth>>>0);(bgsize===UIComponents.Components.Configurable.BannerStyle.contain||bgsize===UIComponents.Components.Configurable.BannerStyle.cropHorizontal)&&(screenheight=img.naturalHeight>>>0);Bridge.Int.mul(this.dragStartX,this.dragStartY)!==0&&(leftpct=System.Int64.clip32(System.Int64.max(System.Int64.min(System.Int64(50),System.Int64(Bridge.Int.mul(100,this.left)).div(System.Int64(screenwidth))),System.Int64(-50))),toppct=System.Int64.clip32(System.Int64.max(System.Int64.min(System.Int64(50),System.Int64(Bridge.Int.mul(100,this.top)).div(System.Int64(screenheight))),System.Int64(-50))));this.top=System.Decimal.toInt(System.Decimal(screenheight).mul(System.Decimal(toppct).div(System.Decimal(100))),System.Int32);this.left=System.Decimal.toInt(System.Decimal(screenwidth).mul(System.Decimal(leftpct).div(System.Decimal(100))),System.Int32)}target.style.backgroundImage="url("+(this.value||"")+")";target.style.backgroundPosition=System.String.format("{0}% {1}%",Bridge.box(leftpct+50|0,System.Int32),Bridge.box(toppct+50|0,System.Int32));target.style.backgroundRepeat="no-repeat";this.width=Math.min(UIComponents.XBrowser.vGAPx(target.clientWidth),1290);this.height=Math.min(UIComponents.XBrowser.vGAPx(target.clientHeight),400)},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,bgImage,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return bgImage=new UIComponents.FormInput.Props(this.key,1),bgImage.key="fileInput"+(this.key||""),bgImage.type="file",bgImage.value="",bgImage.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f4),bgImage.processing=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f5),bgImage.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("Banner Image [{0}pixels x {1}pixels min]",Bridge.box(this.width,System.UInt32),Bridge.box(this.height,System.UInt32)),$t),$enumerator.current=bgImage,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},enterDrag:function(e){this.dragStartX=e.screenX+this.left|0;this.dragStartY=e.screenY+this.top|0},exitDrag:function(){this.dragStartX=this.left;this.dragStartY=this.top},recenter:function(xdelta,ydelta){var old=System.String.format("{0}x{1}",Bridge.box(this.left,System.Int32),Bridge.box(this.top,System.Int32));if(this.dragStartX!==this.left&&(this.left=System.Convert.toInt32(Bridge.box(xdelta,System.Int32))),this.dragStartY!==this.top&&(this.top=System.Convert.toInt32(Bridge.box(ydelta,System.Int32))),!Bridge.referenceEquals(System.String.format("{0}x{1}",Bridge.box(this.left,System.Int32),Bridge.box(this.top,System.Int32)),old)){UIComponents.XBrowser.deselectAll();this.onUpdate(this,null)}},display:function(level){var $t,label=React.createElement("div",Bridge.React.fixAttr({}),null),overlay;return(System.Enum.hasFlag(level,Bridge.box(UIComponents.Components.Tooltips.Hint.open,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint)))&&(label=React.createElement("div",Bridge.React.fixAttr({style:{position:"absolute",top:"15%",left:"15%",opacity:".90"}}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-arrows",$t.onClick=$asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f6,$t),[React.createElement("p",null,"Drag to Reposition")])))),overlay=React.createElement("div",Bridge.React.fixAttr({key:System.String.format("{0}x{1}",Bridge.box(this.width,System.UInt32),Bridge.box(this.height,System.UInt32)),className:"is-overlay",style:{pointerEvents:"none"}}),label),this.fraction>0)?React.createElement("div",Bridge.React.fixAttr({className:"has-text-centered",key:System.String.format("{0}",[Bridge.box(this.fraction,System.Double,System.Double.format,System.Double.getHashCode)]),style:{pointerEvents:"none",display:"flex",position:"absolute",left:0,top:0,width:"100%"}}),Bridge.React.StatelessComponent$1(UIComponents.Components.ProgressBar.Props).op_Implicit$1(new UIComponents.Components.ProgressBar(($t=new UIComponents.Components.ProgressBar.Props,$t.fraction=System.Decimal(this.fraction,null,System.Double),$t))),React.createElement("div",Bridge.React.fixAttr({className:"is-overlay has-text-white"}),System.String.format("Uploading {0:0.0}%",[Bridge.box(this.fraction*100,System.Double,System.Double.format,System.Double.getHashCode)]))):(System.Enum.hasFlag(level,Bridge.box(UIComponents.Components.Tooltips.Hint.open,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint)))&&(overlay=React.createElement("div",Bridge.React.fixAttr({key:System.String.format("{0}x{1}",Bridge.box(this.left,System.Int32),Bridge.box(this.top,System.Int32)),onMouseDown:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f7),onMouseUp:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f8),onMouseLeave:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f8),onMouseMove:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.BackgroundImageControl.f9),className:"is-overlay",style:{width:"100%",height:"100%",opacity:"1",backgroundColor:"rgba(255, 255, 255, .15)"}}),React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"Dims"}),React.createElement("div",Bridge.React.fixAttr({key:System.String.format("{0}x{1}",Bridge.box(this.width,System.UInt32),Bridge.box(this.height,System.UInt32)),className:"is-overlay",style:{pointerEvents:"none",display:"flex",top:"50%",left:"50%",opacity:".5",transform:"translate(-50%, -50%)"}}),React.createElement("p",Bridge.React.fixAttr({style:{fontSize:this.height*.25}}),System.String.format("{0}x{1}",Bridge.box(this.width,System.UInt32),Bridge.box(this.height,System.UInt32))))),React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"Frame",data:{tooltip:"Note: Put text and important details in the centre so they are visible on smaller screens!"}}),System.Linq.Enumerable.from(this.frame()).toArray()),label)),overlay)},frame:function(){return new(Bridge.GeneratorEnumerable$1(Object))(Bridge.fn.bind(this,function(){var $step=0,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(Object))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Frame",style:{pointerEvents:"none",display:"block",position:"absolute",top:0,left:0,width:"100%",height:"100%",clipPath:"polygon(\n-100% -100%,\n-100% 200%,\n200% 200%,\n200% -100%,\n-100% -100%,\n15% 15%,\n85% 15%,\n85% 85%,\n15% 85%,\n15% 15%\n)",background:"repeating-linear-gradient(\n    -45deg,\n    rgba(200, 200, 0, 0.2),\n    rgba(200, 200, 0, 0.2) 20px,\n    rgba(0, 0, 0, 0.3) 20px,\n    rgba(0, 0, 0, 0.3) 40px\n)"}}),null),$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){var target=document.getElementById(props.wrappedId).firstElementChild;return this.apply(target.firstElementChild),props}}});Bridge.ns("UIComponents.Components.Configurable.BackgroundImageControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.BackgroundImageControl,{f1:function(e){return Bridge.referenceEquals(e.tagName.toLowerCase(),"figure")},f2:function(e){return System.String.contains(e.className,"image")},f3:function(){},f4:function(x){this.value=x;this.fraction=0;this.onUpdate(this,null)},f5:function(message){var f={v:0};System.Int32.tryParse(message,f)&&(f.v<100?this.fraction=f.v/100:f.v=0);this.onUpdate(this,null)},f6:function(){},f7:function(e){this.enterDrag(e)},f8:function(){this.exitDrag()},f9:function(e){e.buttons>0&&this.recenter(Bridge.Int.mul(-1,this.dragStartX-e.screenX|0),this.dragStartY-e.screenY|0)}});Bridge.define("UIComponents.Components.Configurable.BackgroundSizeControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],statics:{methods:{xlabel:function(){return"Crop left and right to fill device screen width"},ylabel:function(){return"Crop top and bottom to fill device screen height"},tryParse:function(s){return System.String.indexOf(s,"contain",0,s.length,5)>=0?UIComponents.Components.Configurable.BannerStyle.contain:System.String.indexOf(s,"cover",0,s.length,5)>=0?UIComponents.Components.Configurable.BannerStyle.cover:System.String.indexOf(s,"auto",0,s.length,5)===0?UIComponents.Components.Configurable.BannerStyle.cropHorizontal:UIComponents.Components.Configurable.BannerStyle.cropVertical}}},events:{onUpdate:null},props:{key:{get:function(){return"backgroundSize"}},value:0},alias:["key","UIComponents$Components$Configurable$IConfigControl$key","addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{ctor:function(inner){this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.BackgroundSizeControl.f1);this.value=UIComponents.Components.Configurable.BackgroundSizeControl.tryParse(inner.style.backgroundSize)}},methods:{apply:function(target){target.style.backgroundSize=this.value===UIComponents.Components.Configurable.BannerStyle.contain?"contain":this.value===UIComponents.Components.Configurable.BannerStyle.cover?"cover":this.value===UIComponents.Components.Configurable.BannerStyle.cropHorizontal?"auto 100%":"100% auto"},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,cropx,$t,cropy,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return cropx=this.ctrl(UIComponents.Components.Configurable.BannerStyle.cropHorizontal),cropx.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("{0}",[UIComponents.Components.Configurable.BackgroundSizeControl.xlabel()]),$t),$enumerator.current=cropx,$step=1,!0;case 1:return cropy=this.ctrl(UIComponents.Components.Configurable.BannerStyle.cropVertical),cropy.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("{0}",[UIComponents.Components.Configurable.BackgroundSizeControl.ylabel()]),$t),$enumerator.current=cropy,$step=2,!0;case 2:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},ctrl:function(s){var crop=new UIComponents.FormInput.Props(System.String.format("{0}-{1}",this.key,Bridge.box(s,UIComponents.Components.Configurable.BannerStyle,System.Enum.toStringFn(UIComponents.Components.Configurable.BannerStyle))),4);return crop.type="checkbox",crop.value=System.Boolean.toString(System.Enum.hasFlag(this.value,Bridge.box(s,UIComponents.Components.Configurable.BannerStyle,System.Enum.toStringFn(UIComponents.Components.Configurable.BannerStyle)))),crop.update=Bridge.fn.bind(this,function(x){var $t,$t1,temp={v:System.Enum.hasFlag(this.value,Bridge.box(s,UIComponents.Components.Configurable.BannerStyle,System.Enum.toStringFn(UIComponents.Components.Configurable.BannerStyle)))};System.Boolean.tryParse(x,temp);this.value=temp.v?($t=this.value|s,this.value=$t,$t):($t1=this.value&~s,this.value=$t1,$t1);this.onUpdate(this,null)}),crop},update:function(props){var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){var target=document.getElementById(props.wrappedId).firstElementChild;return this.apply(target.firstElementChild),props}}});Bridge.ns("UIComponents.Components.Configurable.BackgroundSizeControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.BackgroundSizeControl,{f1:function(){}});Bridge.define("UIComponents.Components.Configurable.EmailRecepientControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],events:{onUpdate:null},props:{key:{get:function(){return"emailRecepientControl"}},value:null},alias:["addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","key","UIComponents$Components$Configurable$IConfigControl$key","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{ctor:function(){var $t,target,settingsModel;this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.EmailRecepientControl.f1);target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).firstOrDefault($asm.$.UIComponents.Components.Configurable.EmailRecepientControl.f2,null);settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(target.getAttribute("data-email-settings"),ViewModels.EmailSettingsModel);this.value=($t=settingsModel.recepients,$t!=null?$t:"Dear ")}},methods:{apply:function(){var atarget=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.EmailRecepientControl.f2),settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(atarget.getAttribute("data-email-settings"),ViewModels.EmailSettingsModel);settingsModel.recepients=this.value;atarget.setAttribute("data-email-settings",JSON.stringify(settingsModel))},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,receiverText,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return receiverText=new UIComponents.FormInput.Props(this.key,0),receiverText.key="inputBox"+(this.key||""),receiverText.type="text",receiverText.value=this.value,receiverText.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.EmailRecepientControl.f3),receiverText.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label="Email Recepients",$t),$enumerator.current=receiverText,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){var target=document.getElementById(props.wrappedId).firstElementChild;return this.apply(target.firstElementChild),props}}});Bridge.ns("UIComponents.Components.Configurable.EmailRecepientControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.EmailRecepientControl,{f1:function(){},f2:function(e){return System.String.equals(e.getAttribute("name"),"EmailSettings",5)},f3:function(x){if(!Bridge.referenceEquals(x,this.value)){this.value=x;this.onUpdate(this,null)}}});Bridge.define("UIComponents.Components.Configurable.EmailSenderControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],events:{onUpdate:null},props:{key:{get:function(){return"emailSenderControl"}},value:null},alias:["addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","key","UIComponents$Components$Configurable$IConfigControl$key","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{ctor:function(){var $t,target,settingsModel;this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.EmailSenderControl.f1);target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).firstOrDefault($asm.$.UIComponents.Components.Configurable.EmailSenderControl.f2,null);settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(target.getAttribute("data-email-settings"),ViewModels.EmailSettingsModel);this.value=($t=settingsModel.sender,$t!=null?$t:"The Team At Giveeasy")}},methods:{apply:function(){var atarget=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.EmailSenderControl.f2),settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(atarget.getAttribute("data-email-settings"),ViewModels.EmailSettingsModel);settingsModel.sender=this.value;atarget.setAttribute("data-email-settings",JSON.stringify(settingsModel))},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,senderText,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return senderText=new UIComponents.FormInput.Props(this.key,0),senderText.key="inputBox"+(this.key||""),senderText.type="text",senderText.value=this.value,senderText.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.EmailSenderControl.f3),senderText.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label="Email Sender",$t),$enumerator.current=senderText,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){var target=document.getElementById(props.wrappedId).firstElementChild;return this.apply(target.firstElementChild),props}}});Bridge.ns("UIComponents.Components.Configurable.EmailSenderControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.EmailSenderControl,{f1:function(){},f2:function(e){return System.String.equals(e.getAttribute("name"),"EmailSettings",5)},f3:function(x){if(!Bridge.referenceEquals(x,this.value)){this.value=x;this.onUpdate(this,null)}}});Bridge.define("UIComponents.Components.Configurable.EmailSubjectControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],events:{onUpdate:null},props:{key:{get:function(){return"emailSubjectControl"}},value:null},alias:["addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","key","UIComponents$Components$Configurable$IConfigControl$key","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{ctor:function(){var $t,target,settingsModel;this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.EmailSubjectControl.f1);target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).firstOrDefault($asm.$.UIComponents.Components.Configurable.EmailSubjectControl.f2,null);settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(target.getAttribute("data-email-settings"),ViewModels.EmailSettingsModel);this.value=($t=settingsModel.subject,$t!=null?$t:"Donation Receipt")}},methods:{apply:function(){var atarget=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.EmailSubjectControl.f2),settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(atarget.getAttribute("data-email-settings"),ViewModels.EmailSettingsModel);settingsModel.subject=this.value;atarget.setAttribute("data-email-settings",JSON.stringify(settingsModel))},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,subjectText,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return subjectText=new UIComponents.FormInput.Props(this.key,0),subjectText.key="inputBox"+(this.key||""),subjectText.type="text",subjectText.value=this.value,subjectText.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.EmailSubjectControl.f3),subjectText.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label="Email Subject",$t),$enumerator.current=subjectText,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){var target=document.getElementById(props.wrappedId).firstElementChild;return this.apply(target.firstElementChild),props}}});Bridge.ns("UIComponents.Components.Configurable.EmailSubjectControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.EmailSubjectControl,{f1:function(){},f2:function(e){return System.String.equals(e.getAttribute("name"),"EmailSettings",5)},f3:function(x){if(!Bridge.referenceEquals(x,this.value)){this.value=x;this.onUpdate(this,null)}}});Bridge.define("UIComponents.Components.Configurable.FormCompleteControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props),UIComponents.Components.Tooltips.ITooltip],events:{onUpdate:null},props:{key:{get:function(){return"formComplete"}},value:System.Decimal(0),style:null},alias:["addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","key","UIComponents$Components$Configurable$IConfigControl$key","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"],"display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(inner){var $t;this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.FormCompleteControl.f1);this.value=System.Decimal(inner.getAttribute("data-amount"));this.style=($t=inner.getAttribute("data-boxstyle"),$t!=null?$t:"")}},methods:{apply:function(target){var $t,currentStyle;target.setAttribute("data-amount",this.value.toString());currentStyle=($t=target.getAttribute("data-boxstyle"),$t!=null?$t:"");Bridge.referenceEquals(currentStyle.toLowerCase(),this.style.toLowerCase())||target.setAttribute("data-boxstyle",this.style)},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,inAmount,$t,dropStyle,options,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return inAmount=new UIComponents.FormInput.Props((this.key||"")+"Amount",0),inAmount.key="inputBox"+(this.key||""),inAmount.type="number",inAmount.value=this.value.toString(),inAmount.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FormCompleteControl.f2),inAmount.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label="Amount ",$t),$enumerator.current=inAmount,$step=1,!0;case 1:dropStyle=new UIComponents.FormInput.Props((this.key||"")+"Style",2);dropStyle.type="text";options=$asm.$.UIComponents.Components.Configurable.FormCompleteControl.f3(new(System.Collections.Generic.Dictionary$2(System.Object,System.String)));dropStyle.selectDict=options;dropStyle.value=Bridge.toString(this.style);dropStyle.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FormCompleteControl.f4);dropStyle.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("Amount box style: ",null),$t);default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){var target=document.getElementById(props.wrappedId).firstElementChild;return this.apply(target),props},display:function(level,props){var tooltip=null,twp=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props),elm,count;return twp!=null&&System.Enum.hasFlag(level,Bridge.box(UIComponents.Components.Tooltips.Hint.hover,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint)))&&(tooltip=new $asm.$AnonymousType$1(System.String.format("Click the * icon to edit the value amount and click the pencil icon to edit the the text being displayed",null))),elm=document.getElementById(twp.wrappedId),(elm!=null&&elm.firstElementChild!=null?elm.firstElementChild.textContent:null)!=null&&Bridge.referenceEquals(this.style,"small")&&(count=elm.firstElementChild.textContent.trim().length,count>16&&(tooltip=new $asm.$AnonymousType$1(System.String.format("Warning!!! Putting more than 16 character in such small box will not look good on mobile.",null)))),React.createElement("div",Bridge.React.fixAttr({className:"is-overlay tooltip-show",key:"ITooltip",style:{width:"100%",height:"1px"},data:tooltip}),null)}}});Bridge.define("$AnonymousType$1",$asm,{$kind:"anonymous",ctors:{ctor:function(tooltip){this.tooltip=tooltip}},methods:{equals:function(o){return Bridge.is(o,$asm.$AnonymousType$1)?Bridge.equals(this.tooltip,o.tooltip):!1},getHashCode:function(){return Bridge.addHash([7550196186,this.tooltip])},toJSON:function(){return{tooltip:this.tooltip}}},statics:{methods:{$metadata:function(){return{m:[{a:2,n:"tooltip",t:16,rt:System.String,g:{a:2,n:"get_tooltip",t:8,rt:System.String,fg:"tooltip"},fn:"tooltip"}]}}}}});Bridge.ns("UIComponents.Components.Configurable.FormCompleteControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.FormCompleteControl,{f1:function(){},f2:function(x){this.value=System.Decimal(x);this.onUpdate(this,null)},f3:function(_o1){return _o1.add("small","Simple"),_o1.add("medium","Bit More Text"),_o1.add("large","Text and Image"),_o1},f4:function(x){this.style=x;this.onUpdate(this,null)}});Bridge.define("UIComponents.Components.Configurable.FormFieldsControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Apps.DonateForm.DonateFormApp.Props),UIComponents.Components.Tooltips.ITooltip],events:{onUpdate:null},props:{inner:null,key:{get:function(){return"appealkey-ctrl"}},eventButtons:null,extraFields:null,listFieldEditor:null,selectedType:null,newFieldName:null,paypalEmail:null},alias:["key","UIComponents$Components$Configurable$IConfigControl$key","addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","display","UIComponents$Components$Tooltips$ITooltip$display","control","UIComponents$Components$Configurable$IConfigControl$control","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Apps$DonateForm$DonateFormApp$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"],"update","UIComponents$Components$Configurable$IConfigControl$update"],ctors:{ctor:function(inner){var fields,buttons;this.$initialize();this.inner=inner;fields=System.Linq.Enumerable.from(UIComponents.Apps.DonateForm.DonateFormApp.getFormFields(inner)).toList(Bridge.global.UIComponents.FormInput.Props);this.extraFields=System.Linq.Enumerable.from(fields).toList(Bridge.global.UIComponents.FormInput.Props);buttons=UIComponents.Components.Form.Buttons.EventButton.getButtons(inner.parentElement.parentElement).filter($asm.$.UIComponents.Components.Configurable.FormFieldsControl.f1);this.eventButtons=System.Linq.Enumerable.from(buttons).toList(Bridge.global.UIComponents.Components.Form.Buttons.EventButton.Props);this.selectedType="Text";this.newFieldName=""}},methods:{display:function(){return React.createElement("div",Bridge.React.fixAttr({}),null)},control:function(){return null},banner:function(){var $t,b=$asm.$.UIComponents.Components.Configurable.FormFieldsControl.f2,meta=UIComponents.Apps.AppealEditor.AppealEditorApp.getDonationFormModelOrDefault(),defaultFields=UIComponents.Apps.DonateForm.DonateFormApp.defaultFields(meta),afType=this.fieldTypeSelect(),afDisplay=new UIComponents.FormInput.Props(System.String.format("AddCustField-display",null),2),fieldsList,fieldButtons;return afDisplay.type="text",afDisplay.key="form-config-"+(System.String.format("AddCustField-display",null)||""),afDisplay.isMandatory=!0,afDisplay.value=this.newFieldName,afDisplay.validators.add(new UIComponents.FormValidator.NotBlank),afDisplay.update=Bridge.fn.bind(this,function(x){afDisplay.value=x;this.newFieldName=x;afDisplay.valid=UIComponents.FormValidator.validate(Bridge.global.UIComponents.FormInput.Props,afDisplay.validators,afDisplay);this.onUpdate(this,null)}),afDisplay.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("Display Name",null),$t),fieldsList=new(System.Collections.Generic.List$1(System.Collections.Generic.List$1(UIComponents.CustInput.Props)).ctor),fieldButtons=new(System.Collections.Generic.List$1(UIComponents.Components.IconButton).ctor),this.listFieldEditor=System.Linq.Enumerable.from(this.extraFields).where(function(f){return!System.Linq.Enumerable.from(defaultFields).any(function(df){return Bridge.referenceEquals(df.key,f.key)})}).select(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FormFieldsControl.f6)).toList(UIComponents.FieldEditor),React.createElement("div",Bridge.React.fixAttr({key:System.String.format("form-fields-sub-1",null)}),React.createElement("hr",Bridge.React.fixAttr({style:{color:"#E0E0E0"}}),null),React.createElement("div",Bridge.React.fixAttr({style:{textAlign:"left",color:"#002847",padding:"0px",fontWeight:"bold",marginBottom:"16px"}}),"Extra Form Fields"),React.createElement("div",Bridge.React.fixAttr({style:{color:"#000"},key:System.String.format("form-fields-sub-2",null)}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(this.listFieldEditor).select($asm.$.UIComponents.Components.Configurable.FormFieldsControl.f7)).toArray()),React.createElement("div",Bridge.React.fixAttr({style:{color:"#002847"}}),System.Linq.Enumerable.from(this.listFieldEditor).count()===0?"Click the (+) below to add your first custom field":""),React.createElement("div",Bridge.React.fixAttr({style:{display:"flex",alignItems:"center",columnGap:"16px",marginLeft:"3px"},key:System.String.format("AddCustField-container",null)}),React.createElement("div",Bridge.React.fixAttr({style:{margin:"5px 0 15px"}}),React.createElement("div",null,UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.FormInput.Props,Bridge.Reflection.getTypeFullName(Bridge.getType(afType)),afType))),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.FormInput.Props,Bridge.Reflection.getTypeFullName(Bridge.getType(afDisplay)),afDisplay),React.createElement("div",Bridge.React.fixAttr({style:{marginTop:"15px"}}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-plus-circle",$t.onClick=Bridge.fn.bind(this,function(){var fieldCode,iCounter,addField;if(afDisplay.valid=UIComponents.FormValidator.validate(Bridge.global.UIComponents.FormInput.Props,afDisplay.validators,afDisplay),afDisplay.valid!==UIComponents.Validation.fail)if(fieldCode=System.Text.RegularExpressions.Regex.replace(this.newFieldName,"[^0-9a-zA-Z]+",""),fieldCode=System.String.startsWith(fieldCode,"custom_")?fieldCode:"custom_"+(fieldCode||""),System.Linq.Enumerable.from(this.extraFields).any(function(p){return System.String.equals(fieldCode,p.name,5)}))window.alert(System.String.format("There is already a field named {0}, please try another name.",[fieldCode]));else{iCounter=System.Linq.Enumerable.from(this.extraFields).count();addField=this.createNewCustomField(b,fieldCode,iCounter);this.extraFields=System.Linq.Enumerable.from(this.extraFields).select($asm.$.UIComponents.Components.Configurable.FormFieldsControl.f8).union(function(_o1){return _o1.add(addField),_o1}(new(System.Collections.Generic.List$1(UIComponents.CustInput.Props).ctor)),new UIComponents.FormField.FieldComparer);this.onUpdate(this,null)}}),$t))))),React.createElement("hr",Bridge.React.fixAttr({style:{color:"#E0E0E0"}}),null),this.payPalMerchantActivation(),React.createElement("hr",Bridge.React.fixAttr({style:{color:"#E0E0E0"}}),null),React.createElement("div",Bridge.React.fixAttr({}),Bridge.React.Component$2(UIComponents.Components.Form.Buttons.ButtonEditor.Props,UIComponents.Components.Form.Buttons.ButtonEditor.State).op_Implicit(new UIComponents.Components.Form.Buttons.ButtonEditor(($t=new UIComponents.Components.Form.Buttons.ButtonEditor.Props,$t.key="ButtonEditor",$t.initial=this.eventButtons,$t.onSave=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FormFieldsControl.f9),$t)))))},fieldTypeSelect:function(){var $t,input=new UIComponents.FormInput.Props(System.String.format("AddCustField-type",null),1),options;return input.type="text",input.key="form-config-"+(System.String.format("AddCustField-type",null)||""),options=new(System.Collections.Generic.Dictionary$2(System.Object,System.String))(UIComponents.FieldEditor.custInputTypeOptions),System.Linq.Enumerable.from(this.extraFields).any($asm.$.UIComponents.Components.Configurable.FormFieldsControl.f10)&&options.remove(UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.Components.Form.Fields.CommentMessageInput)),System.Linq.Enumerable.from(this.extraFields).any($asm.$.UIComponents.Components.Configurable.FormFieldsControl.f11)&&options.remove(UIComponents.Extensions.ComponentExtensions.typeKey$1(UIComponents.DonationAmountInput)),input.selectDict=options,input.value=Bridge.toString(System.Linq.Enumerable.from(UIComponents.FieldEditor.custInputTypeOptions).first(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FormFieldsControl.f12)).key),input.update=Bridge.fn.bind(this,function(x){input.value=x;this.selectedType=UIComponents.FieldEditor.custInputTypeOptions.get(x);this.newFieldName=this.selectedType;Bridge.referenceEquals(this.selectedType,"Message")&&(this.newFieldName="Leave a Comment?");this.onUpdate(this,null)}),input.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("Add A Custom Field: ",null),$t),input},createNewCustomField:function(b,fieldCode,iCounter){var $t;return UIComponents.CustInput.toCustInputProps.get(UIComponents.Extensions.ComponentExtensions.typeKey(Bridge.toString(System.Linq.Enumerable.from(UIComponents.FieldEditor.custInputTypeOptions).first(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FormFieldsControl.f12)).key)))(($t=new UIComponents.CustInput.Props.ctor(System.String.format("{0}",[fieldCode]),iCounter),$t.name=this.newFieldName,$t.textLabel=this.newFieldName,$t.label=b(System.String.format("{0}",[this.newFieldName]),""),$t.key=System.String.format("{0}",[fieldCode]),$t.value="",$t.placeholder=System.String.format("{0}",[this.newFieldName]),$t.isMandatory=!1,$t))},payPalMerchantActivation:function(){var $t;return Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.key="formconfig-link-to-activate-paypal",$t.attributes={className:"button",name:"formconfig-link-to-paypal"},$t.onClick=$asm.$.UIComponents.Components.Configurable.FormFieldsControl.f13,$t),["Edit PayPal Settings"]))},updateButtons:function(newButtons){this.eventButtons=System.Linq.Enumerable.from(newButtons).toList(Bridge.global.UIComponents.Components.Form.Buttons.EventButton.Props);this.onUpdate(this,null)},update$1:function(props){var $t,p=props||($t=new UIComponents.Apps.DonateForm.DonateFormApp.Props,$t.appeal=UIComponents.Apps.AppealEditor.AppealEditorApp.getDonationFormModelOrDefault(),$t.formModel=UIComponents.Apps.DonateForm.DonateFormApp.getFromSettingsModelOrDefault(),$t);return p.newState.eventButtons=this.eventButtons,p.isEditing=!0,p.newState.fields=System.Linq.Enumerable.from(this.extraFields).toList(Bridge.global.UIComponents.FormInput.Props),p},update:function(innerprops){var p=Bridge.as(innerprops,UIComponents.Apps.DonateForm.DonateFormApp.Props);return p!=null?this.update$1(p):innerprops}}});Bridge.ns("UIComponents.Components.Configurable.FormFieldsControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.FormFieldsControl,{f1:function(b){return b.onClick!==UIComponents.Dispatchers.SubmitAction.donatePayPal},f2:function(n,h){var $t;return $t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=n,$t.attributes={className:" "+(h||"")},$t},f3:function(){this.onUpdate(this,null)},f4:function(cf){return cf},f5:function(e){this.extraFields=System.Linq.Enumerable.from(this.extraFields).where(function(cf){return!Bridge.referenceEquals(cf.key,e.attributes.key)}).select($asm.$.UIComponents.Components.Configurable.FormFieldsControl.f4);this.onUpdate(this,null)},f6:function(f){var $t1;return new UIComponents.FieldEditor(($t1=new UIComponents.FieldEditor.Props,$t1.fieldEditorAttributes={className:"column",style:{padding:"0 2rem 2em"}},$t1.key=System.String.format("field-editor-{0}",[f.key]),$t1.label=this.key,$t1.targetField=f,$t1.disabled=!1,$t1.onSave=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FormFieldsControl.f3),$t1.onRemove=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FormFieldsControl.f5),$t1))},f7:function(f){return Bridge.React.StatelessComponent$1(UIComponents.FieldEditor.Props).op_Implicit(f)},f8:function(i){return i},f9:function(e){this.updateButtons(e)},f10:function(f){return System.String.equals("Message",f.name,5)},f11:function(f){return System.String.endsWith(f.name,"amount")},f12:function(kv){return Bridge.referenceEquals(kv.value,this.selectedType)},f13:function(){window.open("/Account/Portal")}});Bridge.define("UIComponents.Components.Configurable.FrequencyControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],fields:{_key:null},events:{onUpdate:null},props:{key:{get:function(){return this._key}},value:!1,_target:null,_settingsModel:null},alias:["key","UIComponents$Components$Configurable$IConfigControl$key","addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{init:function(){this._key="frequencyControl"},ctor:function(key){this.$initialize();this._key=key;this._target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.FrequencyControl.f1);this._settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(this._target.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel);Bridge.referenceEquals(key,"Once Off")?this.value=this._settingsModel.allowOnceOff:Bridge.referenceEquals(key,"Weekly")?this.value=this._settingsModel.allowWeekly:Bridge.referenceEquals(key,"Fortnightly")?this.value=this._settingsModel.allowFortnightly:Bridge.referenceEquals(key,"Monthly")&&(this.value=this._settingsModel.allowMonthly)}},methods:{apply:function(){this._target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.FrequencyControl.f1);this._settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(this._target.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel);Bridge.referenceEquals(this.key,"Once Off")?this._settingsModel.allowOnceOff=this.value:Bridge.referenceEquals(this.key,"Weekly")?this._settingsModel.allowWeekly=this.value:Bridge.referenceEquals(this.key,"Fortnightly")?this._settingsModel.allowFortnightly=this.value:Bridge.referenceEquals(this.key,"Monthly")&&(this._settingsModel.allowMonthly=this.value);this._settingsModel.displayStyle="tabbar";this._target.setAttribute("data-frequency-settings",JSON.stringify(this._settingsModel));var selectElement=System.Linq.Enumerable.from(document.getElementsByName("giving_frequency")).ofType(HTMLElement).firstOrDefault(null,null);Bridge.referenceEquals(this._settingsModel.displayStyle,"tabbar")&&(selectElement=document.getElementById("giving_frequency_container"));selectElement!=null&&Bridge.equals(selectElement.style.display,"none")&&(this._settingsModel.allowFortnightly||this._settingsModel.allowMonthly||this._settingsModel.allowWeekly)&&(selectElement.style.display="block")},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,fqCheck,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return fqCheck=new UIComponents.FormInput.Props(this.key,1),fqCheck.type="checkbox",fqCheck.key="form-config-"+(this.key||""),fqCheck.value=System.Boolean.toString(this.value),fqCheck.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FrequencyControl.f2),fqCheck.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("{0}",[this.key]),$t),$enumerator.current=fqCheck,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){this.apply();var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){this.apply();var target=document.getElementById(props.wrappedId).firstElementChild;return props}}});Bridge.ns("UIComponents.Components.Configurable.FrequencyControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.FrequencyControl,{f1:function(e){return System.String.equals(e.getAttribute("name"),"FromSettings",5)},f2:function(x){var temp,iRun;this._target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.FrequencyControl.f1);this._settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(this._target.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel);temp={v:!0};System.Boolean.tryParse(x,temp);this.value=temp.v;iRun=0;this._settingsModel.allowOnceOff&&(iRun=iRun+1|0);this._settingsModel.allowWeekly&&(iRun=iRun+1|0);this._settingsModel.allowFortnightly&&(iRun=iRun+1|0);this._settingsModel.allowMonthly&&(iRun=iRun+1|0);iRun<=0&&!this.value&&(this.value=!0);this.onUpdate(this,null)}});Bridge.define("UIComponents.Components.Configurable.FrequencyDefaultControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Apps.DonateForm.DonateFormApp.Props)],fields:{_key:null},events:{onUpdate:null},props:{key:{get:function(){return this._key}},value:null,_settingsModel:null,_target:null},alias:["key","UIComponents$Components$Configurable$IConfigControl$key","addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","control","UIComponents$Components$Configurable$IConfigControl$control","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Apps$DonateForm$DonateFormApp$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"],"update","UIComponents$Components$Configurable$IConfigControl$update"],ctors:{init:function(){this._key="frequencyDefaultControl"},ctor:function(key){var $t;this.$initialize();this._key=key;this._target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.FrequencyDefaultControl.f1);this._settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(this._target.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel);this.value=($t=this._settingsModel.defaultFrequency,$t!=null?$t:"1")}},methods:{apply:function(){this._target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.FrequencyDefaultControl.f1);this._settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(this._target.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel);this._settingsModel.defaultFrequency=this.value;this._target.setAttribute("data-frequency-settings",JSON.stringify(this._settingsModel));var selectElement=System.Linq.Enumerable.from(document.getElementsByName("giving_frequency")).ofType(HTMLElement).firstOrDefault(null,null);selectElement!=null&&selectElement.focus()},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,fqDefault,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return fqDefault=new UIComponents.FormInput.Props(this.key,0),fqDefault.type="text",fqDefault.key="form-config-"+(this.key||""),fqDefault.selectDict=new(System.Collections.Generic.Dictionary$2(System.Object,System.String)),fqDefault.selectDict.add("1","Once Off"),fqDefault.selectDict.add("2","Weekly"),fqDefault.selectDict.add("3","Fortnightly"),fqDefault.selectDict.add("4","Monthly"),fqDefault.value=this.value,fqDefault.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FrequencyDefaultControl.f2),fqDefault.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("{0}",[this.key]),$t),$enumerator.current=fqDefault,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update$1:function(props){var $t,p;return this.apply(),p=props||($t=new UIComponents.Apps.DonateForm.DonateFormApp.Props,$t.appeal=UIComponents.Apps.AppealEditor.AppealEditorApp.getDonationFormModelOrDefault(),$t.formModel=UIComponents.Apps.DonateForm.DonateFormApp.getFromSettingsModelOrDefault(),$t),p.isEditing=!0,p.formModel.defaultFrequency=this.value,p},update:function(innerprops){var p=Bridge.as(innerprops,UIComponents.Apps.DonateForm.DonateFormApp.Props);return(this.apply(),p!=null)?this.update$1(p):innerprops}}});Bridge.ns("UIComponents.Components.Configurable.FrequencyDefaultControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.FrequencyDefaultControl,{f1:function(e){return System.String.equals(e.getAttribute("name"),"FromSettings",5)},f2:function(x){this.value=x;this.onUpdate(this,null)}});Bridge.define("UIComponents.Components.Configurable.FrequencyStyleControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],fields:{_key:null},events:{onUpdate:null},props:{key:{get:function(){return this._key}},value:null,_target:null,_settingsModel:null},alias:["key","UIComponents$Components$Configurable$IConfigControl$key","addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{init:function(){this._key="frequencyStyleControl"},ctor:function(key){var $t;this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.FrequencyStyleControl.f1);this._key=key;this._target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.FrequencyStyleControl.f2);this._settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(this._target.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel);this.value=($t=this._settingsModel.displayStyle,$t!=null?$t:"select")}},methods:{apply:function(){this._target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Components.Configurable.FrequencyStyleControl.f2);this._settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(this._target.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel);this._settingsModel.displayStyle=this.value;this._target.setAttribute("data-frequency-settings",JSON.stringify(this._settingsModel));var selectElement=System.Linq.Enumerable.from(document.getElementsByName("giving_frequency")).ofType(HTMLElement).firstOrDefault(null,null),containerEle=document.getElementById("giving_frequency_container");containerEle!=null&&Bridge.equals(containerEle.style.display,"none")&&(containerEle.style.display="block",containerEle.style.display="none");selectElement!=null&&Bridge.equals(selectElement.style.display,"none")&&(selectElement.style.display="block",selectElement.style.display="none")},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,fqStyle,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return fqStyle=new UIComponents.FormInput.Props(this.key,1),fqStyle.type="text",fqStyle.key="form-config-"+(this.key||""),fqStyle.selectDict=new(System.Collections.Generic.Dictionary$2(System.Object,System.String)),fqStyle.selectDict.add("tabbar","Buttons"),fqStyle.selectDict.add("select","Select Box"),fqStyle.value=this.value,fqStyle.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.FrequencyStyleControl.f3),fqStyle.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("{0}",[this.key]),$t),$enumerator.current=fqStyle,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){this.apply();var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){return this.apply(),props}}});Bridge.ns("UIComponents.Components.Configurable.FrequencyStyleControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.FrequencyStyleControl,{f1:function(){},f2:function(e){return System.String.equals(e.getAttribute("name"),"FromSettings",5)},f3:function(x){this.value=x;this.onUpdate(this,null)}});Bridge.define("UIComponents.Components.Configurable.MaxHeightControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],fields:{maxHeight:0},events:{onUpdate:null},props:{key:{get:function(){return"maxHeightControl"}}},alias:["addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","key","UIComponents$Components$Configurable$IConfigControl$key","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{ctor:function(inner){this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.MaxHeightControl.f1);var currentValue={v:0};Bridge.referenceEquals(inner.getAttribute("data-max-height"),"")||System.Int32.tryParse(inner.getAttribute("data-max-height"),currentValue);this.maxHeight=currentValue.v}},methods:{apply:function(target){var wrapped=target.firstElementChild,upper=wrapped.parentElement;this.maxHeight<=0?(wrapped.style.maxHeight="none",wrapped.style.overflowY="inherit"):(wrapped.style.maxHeight=this.maxHeight+"px",wrapped.style.overflowY="auto");wrapped.className=System.String.replaceAll(wrapped.className,"max-height-wraper","").trim();wrapped.className=System.String.format("{0} max-height-wraper",[wrapped.className]);wrapped.setAttribute("data-max-height",Bridge.toString(this.maxHeight))},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,heightctrl,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return heightctrl=new UIComponents.FormInput.Props("maxHeight",10),heightctrl.type="number",heightctrl.value=Bridge.toString(this.maxHeight),heightctrl.placeholder="e.g.: 600px",heightctrl.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.MaxHeightControl.f2),heightctrl.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("Max Height Allowance (in pixel - px), choose 0 for unlimited height",null),$t),$enumerator.current=heightctrl,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){return props},update$1:function(props){var target=document.getElementById(props.wrappedId);return this.apply(target),props}}});Bridge.ns("UIComponents.Components.Configurable.MaxHeightControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.MaxHeightControl,{f1:function(){},f2:function(x){this.maxHeight=System.Int32.parse(x);this.onUpdate(this,null)}});Bridge.define("UIComponents.Components.Configurable.MobileVisibilityControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props),UIComponents.Components.Tooltips.ITooltip],fields:{hideMobile:!1,hideDesktop:!1},events:{onUpdate:null},props:{key:{get:function(){return"mobileVisibilityControl"}}},alias:["addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","key","UIComponents$Components$Configurable$IConfigControl$key","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"],"display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(inner){this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.MobileVisibilityControl.f1);this.parseClassName(inner.className)}},methods:{parseClassName:function(cls){this.hideMobile=System.String.contains(cls,"is-hidden-mobile");this.hideDesktop=System.String.contains(cls,"is-hidden-tablet")},apply:function(target){var wrapped=target.firstElementChild;wrapped.className=System.String.replaceAll(wrapped.className,"is-hidden-mobile","").trim();this.hideMobile&&(wrapped.className=System.String.format("{0} is-hidden-mobile",[wrapped.className]));wrapped.className=System.String.replaceAll(wrapped.className,"is-hidden-tablet","").trim();this.hideDesktop?(wrapped.className=System.String.format("{0} is-hidden-tablet",[wrapped.className]),target.className=System.String.format("is-editor ge-hidden-desktop-wrap",null)):target.className=System.String.replaceAll(target.className,"ge-hidden-desktop-wrap","")},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,mobilectrl,$t,desktopctrl,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return mobilectrl=new UIComponents.FormInput.Props("hideMobile",10),mobilectrl.type="checkbox",mobilectrl.value=System.Boolean.toString(this.hideMobile),mobilectrl.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.MobileVisibilityControl.f2),mobilectrl.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("Hide tile on mobile",null),$t),$enumerator.current=mobilectrl,$step=1,!0;case 1:return desktopctrl=new UIComponents.FormInput.Props("hideDesktop",11),desktopctrl.type="checkbox",desktopctrl.value=System.Boolean.toString(this.hideDesktop),desktopctrl.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.MobileVisibilityControl.f3),desktopctrl.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("Hide tile on desktop",null),$t),$enumerator.current=desktopctrl,$step=2,!0;case 2:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){return props},update$1:function(props){var target=document.getElementById(props.wrappedId);return this.apply(target),props},display:function(level,props){var tooltip=null,twp=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props),elm,count,mstring;return twp!=null&&System.Enum.hasFlag(level,Bridge.box(UIComponents.Components.Tooltips.Hint.hover,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint)))&&!this.hideMobile?(elm=document.getElementById(twp.wrappedId),(elm!=null&&elm.firstElementChild!=null?elm.firstElementChild.textContent:null)!=null&&(count=elm.firstElementChild.textContent.length,count>900&&(tooltip=new $asm.$AnonymousType$1(System.String.format("STOP! This might be too much text for mobile screen! Consider hiding this tile on mobile.",null))))):(this.hideDesktop||this.hideMobile)&&(mstring=this.hideDesktop?"Desktop":"",mstring=(mstring||"")+((this.hideDesktop&&this.hideMobile?" and ":"")||""),mstring=(mstring||"")+((this.hideMobile?"Mobile":"")||""),tooltip=new $asm.$AnonymousType$1(System.String.format("You have hidden this tile on {0}.",[mstring]))),React.createElement("div",Bridge.React.fixAttr({className:"is-overlay tooltip-show",key:"ITooltip",style:{width:"100%",height:"1px"},data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Configurable.MobileVisibilityControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.MobileVisibilityControl,{f1:function(){},f2:function(x){var temp={v:this.hideMobile};System.Boolean.tryParse(x,temp);this.hideMobile=temp.v;this.onUpdate(this,null)},f3:function(x){var temp={v:this.hideDesktop};System.Boolean.tryParse(x,temp);this.hideDesktop=temp.v;this.onUpdate(this,null)}});Bridge.define("UIComponents.Components.Configurable.TextCutoffControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],fields:{offAuto:!1},events:{onUpdate:null},props:{key:{get:function(){return"textCutoffControlControl"}}},alias:["addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","key","UIComponents$Components$Configurable$IConfigControl$key","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{ctor:function(inner){this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.TextCutoffControl.f1);this.parseClassName(inner)}},methods:{parseClassName:function(cls){var temp={v:this.offAuto};System.Boolean.tryParse(cls.getAttribute("data-off-auto"),temp);this.offAuto=temp.v},apply:function(target){var $t,$t1,$t2,$t3,readmore,lenth;target.firstElementChild.setAttribute("data-off-auto",System.Boolean.toString(this.offAuto));this.offAuto===!1&&(readmore=System.Linq.Enumerable.from(target.getElementsByTagName("input")).firstOrDefault($asm.$.UIComponents.Components.Configurable.TextCutoffControl.f2,null),(target!=null&&($t=System.Linq.Enumerable.from(target.getElementsByTagName("article")).firstOrDefault(null,null))!=null?$t.textContent:null)!=null&&(readmore==null?this.insertReadmore(target):readmore.hasAttribute("data-auto-cutoff")&&this.shouldArrange(target)&&this.insertReadmore(target)));lenth=($t1=System.Linq.Enumerable.from(target.getElementsByTagName("article")).firstOrDefault(null,null))!=null&&$t1.textContent!=null?$t1.textContent.length:null;(System.Nullable.lt(lenth,500)||this.offAuto===!0||System.Linq.Enumerable.from(target.getElementsByTagName("input")).firstOrDefault($asm.$.UIComponents.Components.Configurable.TextCutoffControl.f3,null)!=null)&&(($t2=System.Linq.Enumerable.from(target.getElementsByTagName("input")).firstOrDefault($asm.$.UIComponents.Components.Configurable.TextCutoffControl.f4,null))!=null?$t2.remove():null,($t3=System.Linq.Enumerable.from(target.getElementsByTagName("label")).firstOrDefault($asm.$.UIComponents.Components.Configurable.TextCutoffControl.f4,null))!=null?$t3.remove():null)},shouldArrange:function(target){var $t,$t1,$t2,count=System.Linq.Enumerable.from(target.getElementsByTagName("article")).first().textContent.length,iRun,parent,item;if(count<=500)return!1;iRun=0;parent=System.Linq.Enumerable.from(target.getElementsByTagName("article")).first();$t=Bridge.getEnumerator(parent.children);try{while($t.moveNext()){if(item=$t.Current,iRun=iRun+item.textContent.length|0,Bridge.referenceEquals(item.tagName.toLowerCase(),"input")&&item.hasAttribute("data-more-mobile")&&iRun<200)return($t1=System.Linq.Enumerable.from(target.getElementsByTagName("input")).firstOrDefault($asm.$.UIComponents.Components.Configurable.TextCutoffControl.f4,null))!=null?$t1.remove():null,($t2=System.Linq.Enumerable.from(target.getElementsByTagName("label")).firstOrDefault($asm.$.UIComponents.Components.Configurable.TextCutoffControl.f4,null))!=null?$t2.remove():null,!0;if(iRun>200)return!1}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return!1},insertReadmore:function(target){var $t,count=System.Linq.Enumerable.from(target.getElementsByTagName("article")).first().textContent.length,iRun,parent,item,input,label;if(count>500){iRun=0;parent=System.Linq.Enumerable.from(target.getElementsByTagName("article")).first();$t=Bridge.getEnumerator(parent.children);try{while($t.moveNext())if(item=$t.Current,iRun=iRun+item.textContent.length|0,iRun>200&&item.nextSibling!=null){input=document.createElement("input");input.setAttribute("id","readmore-"+(target.firstElementChild.id||""));input.setAttribute("data-more-mobile","");input.setAttribute("data-auto-cutoff","");input.setAttribute("type","checkbox");input.setAttribute("style","display: none;");label=document.createElement("label");label.setAttribute("for","readmore-"+(target.firstElementChild.id||""));label.setAttribute("data-more-mobile","");label.setAttribute("data-auto-cutoff","");label.setAttribute("style","position: relative;display: inline-block;text-align: center;user-select: none;cursor: pointer;width: 100%;");label.textContent="Click to Read More...";parent.insertBefore(label,item.nextSibling);parent.insertBefore(input,item.nextSibling);break}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,mobilectrl,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return mobilectrl=new UIComponents.FormInput.Props("offAuto",10),mobilectrl.type="checkbox",mobilectrl.value=System.Boolean.toString(this.offAuto),mobilectrl.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TextCutoffControl.f5),mobilectrl.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("Disable Giveeasy Auto Formating in Mobile",null),$t),$enumerator.current=mobilectrl,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){return props},update$1:function(props){var target=document.getElementById(props.wrappedId);return this.apply(target),props}}});Bridge.ns("UIComponents.Components.Configurable.TextCutoffControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.TextCutoffControl,{f1:function(){},f2:function(e){return e.hasAttribute("data-more-mobile")},f3:function(e){return e.hasAttribute("data-more-mobile")&&!e.hasAttribute("data-auto-cutoff")},f4:function(e){return e.hasAttribute("data-more-mobile")&&e.hasAttribute("data-auto-cutoff")},f5:function(x){var temp={v:this.offAuto};System.Boolean.tryParse(x,temp);this.offAuto=temp.v;this.onUpdate(this,null)}});Bridge.define("UIComponents.Components.Configurable.TextPrefillControl",{inherits:[UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)],fields:{value:null},events:{onUpdate:null},props:{key:{get:function(){return"textPrefill"}}},alias:["addonUpdate","UIComponents$Components$Configurable$IConfigControl$addonUpdate","removeonUpdate","UIComponents$Components$Configurable$IConfigControl$removeonUpdate","key","UIComponents$Components$Configurable$IConfigControl$key","control","UIComponents$Components$Configurable$IConfigControl$control","update","UIComponents$Components$Configurable$IConfigControl$update","update$1",["UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1"]],ctors:{ctor:function(inner){this.$initialize();this.addonUpdate($asm.$.UIComponents.Components.Configurable.TextPrefillControl.f1);this.value=inner.style.backgroundColor}},methods:{apply:function(target){target.firstElementChild.innerHTML=target.getAttribute("data-text-prefill").length>0?"{{{"+(target.getAttribute("data-text-prefill")||"")+"}}}":""},control:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){var $step=0,bgcolour,$t,$t1,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.IKeyProps))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return bgcolour=new UIComponents.FormInput.Props(this.key,0),bgcolour.key="inputBox"+(this.key||""),bgcolour.type="text",bgcolour.value=($t=this.value,$t!=null?$t:""),bgcolour.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TextPrefillControl.f2),bgcolour.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="Background ",$t1),$enumerator.current=null,$step=1,!0;case 1:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},update:function(props){var tw=Bridge.as(props,UIComponents.Components.Configurable.TileWrapper.Props);return tw!=null?this.update$1(tw):props},update$1:function(props){var target=document.getElementById(props.wrappedId);return this.apply(target.firstElementChild),props}}});Bridge.ns("UIComponents.Components.Configurable.TextPrefillControl",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.TextPrefillControl,{f1:function(){},f2:function(x){this.value=x;this.onUpdate(this,null)}});Bridge.define("UIComponents.Components.Configurable.TileWrapper.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Configurable.TileWrapper.State}}},fields:{editor:null,marginTop:0,marginLeft:0,isEditable:!1,show:!1,change:!1,hover:!1,tileParents:0,newProps:null,child:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.editor,this.marginTop,this.marginLeft,this.isEditable,this.show,this.change,this.hover,this.tileParents,this.newProps,this.child])},equals:function(o){return Bridge.is(o,UIComponents.Components.Configurable.TileWrapper.State)?Bridge.equals(this.editor,o.editor)&&Bridge.equals(this.marginTop,o.marginTop)&&Bridge.equals(this.marginLeft,o.marginLeft)&&Bridge.equals(this.isEditable,o.isEditable)&&Bridge.equals(this.show,o.show)&&Bridge.equals(this.change,o.change)&&Bridge.equals(this.hover,o.hover)&&Bridge.equals(this.tileParents,o.tileParents)&&Bridge.equals(this.newProps,o.newProps)&&Bridge.equals(this.child,o.child):!1},$clone:function(to){var s=to||new UIComponents.Components.Configurable.TileWrapper.State;return s.editor=this.editor,s.marginTop=this.marginTop,s.marginLeft=this.marginLeft,s.isEditable=this.isEditable,s.show=this.show,s.change=this.change,s.hover=this.hover,s.tileParents=this.tileParents,s.newProps=this.newProps,s.child=this.child,s}}});Bridge.define("UIComponents.Components.Form.Buttons.ButtonEditor",{inherits:[Bridge.React.Component$2(UIComponents.Components.Form.Buttons.ButtonEditor.Props,UIComponents.Components.Form.Buttons.ButtonEditor.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Form.Buttons.ButtonEditor.Props,UIComponents.Components.Form.Buttons.ButtonEditor.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Components.Form.Buttons.ButtonEditor.State,$t.buttonProps=this.unwrappedProps.initial,$t.editorRows=new(System.Collections.Generic.List$1(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Form.Buttons.EventButton.Props)).ctor),$t.selected="Pledge",$t},componentDidMount:function(){this.setWrappedStateAsync(this.refreshState(this.unwrappedProps.initial));Bridge.React.Component$2(UIComponents.Components.Form.Buttons.ButtonEditor.Props,UIComponents.Components.Form.Buttons.ButtonEditor.State).prototype.componentDidMount.call(this)},refreshState:function(buttonProps){var $t,s=this.unwrappedState.$clone(),editors,p;s.buttonProps=buttonProps;editors=new(System.Collections.Generic.List$1(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Form.Buttons.EventButton.Props)).ctor);$t=Bridge.getEnumerator(buttonProps,UIComponents.Components.Form.Buttons.EventButton.Props);try{while($t.moveNext())p=$t.Current,editors.add(this.bind(Bridge.toString(editors.Count),p))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return s.editorRows=editors,s.$clone()},bind:function(inputKey,p){var $t,editor=($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Form.Buttons.EventButton.Props)),$t.key=inputKey,$t.initial=p,$t.onUpdate=Bridge.fn.bind(this,function(e){p.textColour=e.textColour;p.label=e.label;p.buttonColour=e.buttonColour;p.onClick=e.onClick;this.unwrappedProps.onSave(this.unwrappedState.buttonProps)}),$t.onDelete=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Form.Buttons.ButtonEditor.f1),$t);return p.onClick!==UIComponents.Dispatchers.SubmitAction.pledge&&(editor.onDelete=null),editor},createControl:function(){var $t;return System.Linq.Enumerable.from(this.unwrappedState.buttonProps).any($asm.$.UIComponents.Components.Form.Buttons.ButtonEditor.f2)?null:React.createElement("div",Bridge.React.fixAttr(null),Bridge.React.StatelessComponent$1(UIComponents.Components.Form.Buttons.SimpleButton.Props).op_Implicit(new UIComponents.Components.Form.Buttons.SimpleButton(($t=new UIComponents.Components.Form.Buttons.SimpleButton.Props,$t.attributes={id:"add-pledge-btn",className:"button"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Form.Buttons.ButtonEditor.f3),$t),["Add Pledge Button"])))},render:function(){var $t,editor=this.unwrappedState.editorRows,children=new(System.Collections.Generic.List$1(System.Object).ctor),e,rows;$t=Bridge.getEnumerator(editor);try{while($t.moveNext())e=$t.Current,children.add(Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Form.Buttons.EventButton.Props),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.Components.Form.Buttons.EventButton.Props)).op_Implicit$1(new(UIComponents.Components.Form.Editor.EditorRow$1(UIComponents.Components.Form.Buttons.EventButton.Props))(e)))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return rows=React.createElement("div",Bridge.React.fixAttr(null),System.Linq.Enumerable.from(System.Linq.Enumerable.from(children).select(function(x){return Bridge.cast(x,Object)})).toArray()),Bridge.React.PureComponent$1(UIComponents.Layout.FlexRows.Props).op_Implicit(new UIComponents.Layout.FlexRows(new UIComponents.Layout.FlexRows.Props("buttonEditor",[rows,this.createControl()])))}}});Bridge.ns("UIComponents.Components.Form.Buttons.ButtonEditor",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Form.Buttons.ButtonEditor,{f1:function(e){var newButtons=System.Linq.Enumerable.from(this.unwrappedState.buttonProps).where(function(x){return!Bridge.referenceEquals(x.key,e.key)});this.unwrappedProps.onSave(newButtons);this.setWrappedStateAsync(this.refreshState(newButtons))},f2:function(p){return p.onClick===UIComponents.Dispatchers.SubmitAction.pledge},f3:function(){var $t1,newprops=($t1=new UIComponents.Components.Form.Buttons.EventButton.Props,$t1.label="Pledge Now",$t1.onClick=UIComponents.Dispatchers.SubmitAction.pledge,$t1),buttonProps=new(System.Collections.Generic.List$1(UIComponents.Components.Form.Buttons.EventButton.Props).$ctor1)(this.unwrappedState.buttonProps),s;buttonProps.add(newprops);s=this.refreshState(buttonProps);this.setWrappedStateAsync(s.$clone());this.unwrappedProps.onSave(buttonProps)}});Bridge.define("UIComponents.Components.Form.Buttons.EventButton",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.Components.Form.Buttons.EventButton.Props)],statics:{fields:{DATA_ONCLICK:null},ctors:{init:function(){this.DATA_ONCLICK="data-onclick"}},methods:{getButtons:function(inner){var $t,$t1,$t2,$t3,anchors=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLAnchorElement,inner,UIComponents.Components.Form.Buttons.EventButton.DATA_ONCLICK)).toArray(),buttonprops=System.Linq.Enumerable.from(anchors).where($asm.$.UIComponents.Components.Form.Buttons.EventButton.f1).select($asm.$.UIComponents.Components.Form.Buttons.EventButton.f2).toArray(UIComponents.Components.Form.Buttons.EventButton.Props),defaultbuttons=System.Array.init([($t=new UIComponents.Components.Form.Buttons.EventButton.Props,$t.label="Donate with Credit Card",$t.onClick=UIComponents.Dispatchers.SubmitAction.donateCreditCard,$t)],UIComponents.Components.Form.Buttons.EventButton.Props),action,submit,b;$t=Bridge.getEnumerator(System.Array.init([UIComponents.Dispatchers.SubmitAction.donateCreditCard],UIComponents.Dispatchers.SubmitAction));try{while($t.moveNext())action={v:$t.Current},System.Linq.Enumerable.from(buttonprops).firstOrDefault(function($me,action){return function(b){return b.onClick===action.v}}(this,action),null)==null&&buttonprops.push(System.Linq.Enumerable.from(defaultbuttons).first(function($me,action){return function(b){return b.onClick===action.v}}(this,action)))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}submit=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLInputElement,inner)).firstOrDefault($asm.$.UIComponents.Components.Form.Buttons.EventButton.f3,null);$t1=Bridge.getEnumerator(defaultbuttons);try{while($t1.moveNext())b=$t1.Current,b.buttonColour=($t2=b.buttonColour,$t2!=null?$t2:submit!=null?submit.style.backgroundColor:null),b.textColour=($t3=b.textColour,$t3!=null?$t3:submit!=null?submit.style.color:null),System.String.isNullOrWhiteSpace(b.buttonColour)&&(b.textColour="#222222"),System.String.isNullOrWhiteSpace(b.textColour)&&(b.textColour="#EEEEEE")}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$dispose()}return buttonprops},fromElement:function(inner){var $t,$t1,$t2,$t3,onclick=inner.getAttribute(UIComponents.Components.Form.Buttons.EventButton.DATA_ONCLICK),clickevent={v:UIComponents.Dispatchers.SubmitAction.none},bg;return System.Enum.tryParse(Bridge.global.UIComponents.Dispatchers.SubmitAction,onclick,clickevent)||(clickevent.v=UIComponents.Dispatchers.SubmitAction.none,System.String.contains(inner.textContent,"Donate")&&(clickevent.v=UIComponents.Dispatchers.SubmitAction.donateCreditCard)),bg=($t=inner!=null&&inner.style!=null?inner.style.background:null,$t!=null?$t:($t1=inner!=null&&inner.style!=null?inner.style.backgroundColor:null,$t1!=null?$t1:"#32a8e6")),bg=UIComponents.XBrowser.rGB2Hex(bg),$t2=new UIComponents.Components.Form.Buttons.EventButton.Props,$t2.onClick=clickevent.v,$t2.label=inner.textContent,$t2.textColour=UIComponents.XBrowser.rGB2Hex(($t3=inner!=null&&inner.style!=null?inner.style.color:null,$t3!=null?$t3:"#ffffff")),$t2.buttonColour=UIComponents.XBrowser.rGB2Hex(bg),$t2}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.Components.Form.Buttons.EventButton.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,SubmitForm=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.SubmitFormDispatcher),attrs={className:System.String.format("button is-large",null),style:{margin:"auto",color:this.unwrappedProps.textColour,background:this.unwrappedProps.buttonColour,backgroundColor:this.unwrappedProps.buttonColour,marginBottom:"0.25em",width:"100%"},data:{onClick:this.unwrappedProps.onClick}};return attrs.disabled=this.unwrappedProps.disabled,Bridge.React.StatelessComponent$1(UIComponents.Components.Form.Buttons.SimpleButton.Props).op_Implicit(new UIComponents.Components.Form.Buttons.SimpleButton(($t=new UIComponents.Components.Form.Buttons.SimpleButton.Props,$t.attributes=attrs,$t.key=this.unwrappedProps.label,$t.onClick=Bridge.fn.bind(this,function(){var $t1;SubmitForm.invoke(Bridge.global.UIComponents.Dispatchers.SubmitFormDispatcher.SubmitFormDispatcherArgs,($t1=new UIComponents.Dispatchers.SubmitFormDispatcher.SubmitFormDispatcherArgs,$t1.action=this.unwrappedProps.onClick,$t1))}),$t),[this.unwrappedProps.label]))}}});Bridge.ns("UIComponents.Components.Form.Buttons.EventButton",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Form.Buttons.EventButton,{f1:function(a){return!System.String.contains(a.textContent,"Terms")&&!System.String.startsWith(a.name,"formconfig-")},f2:function(a){return UIComponents.Components.Form.Buttons.EventButton.fromElement(a)},f3:function(i){return i.type==="submit"}});Bridge.define("UIComponents.Components.Form.Buttons.EventButton.EventButtonComparer",{inherits:[System.Collections.Generic.IEqualityComparer$1(UIComponents.Components.Form.Buttons.EventButton.Props)],$kind:"nested class",alias:["equals2",["System$Collections$Generic$IEqualityComparer$1$UIComponents$Components$Form$Buttons$EventButton$Props$equals2","System$Collections$Generic$IEqualityComparer$1$equals2"],"getHashCode2",["System$Collections$Generic$IEqualityComparer$1$UIComponents$Components$Form$Buttons$EventButton$Props$getHashCode2","System$Collections$Generic$IEqualityComparer$1$getHashCode2"]],methods:{equals2:function(x,y){return x!=null&&x!=null&&System.Enum.equals(x.onClick,Bridge.box(y.onClick,UIComponents.Dispatchers.SubmitAction,System.Enum.toStringFn(UIComponents.Dispatchers.SubmitAction)),UIComponents.Dispatchers.SubmitAction)?!0:!1},getHashCode2:function(obj){return Bridge.getHashCode(obj.onClick)}}});Bridge.define("UIComponents.Components.Form.Buttons.SimpleButton",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.Components.Form.Buttons.SimpleButton.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.Components.Form.Buttons.SimpleButton.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,attrs=this.unwrappedProps.attributes||{};return attrs.key=($t=this.unwrappedProps.key,$t!=null?$t:GiveEasy.Shared.Extensions.localKey(this.unwrappedProps)),attrs.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Form.Buttons.SimpleButton.f1),React.createElement.apply(React,["a",Bridge.React.fixAttr(attrs)].concat(this.children))}}});Bridge.ns("UIComponents.Components.Form.Buttons.SimpleButton",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Form.Buttons.SimpleButton,{f1:function(){this.unwrappedProps.onClick()}});Bridge.define("UIComponents.Components.Form.Buttons.SingleButton.State",{$kind:"nested class",fields:{clicks:0}});Bridge.define("UIComponents.Components.Form.Editor.EditorColumn$1",function(T){return{inherits:[UIComponents.Components.Form.Editor.Editor$1(T)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Components.Form.Editor.Editor$1(T).ctor.call(this,props,children)}},methods:{render:function(){var $t;return Bridge.React.StatelessComponent$1(UIComponents.Components.Form.FlexForm.Props).op_Implicit(new UIComponents.Components.Form.VerticalForm(($t=new UIComponents.Components.Form.FlexForm.Props,$t.key=this.unwrappedProps.key,$t.fields=this.unwrappedState.fields.getValues(),$t),[this.removeBtn()]))}}}});Bridge.define("UIComponents.Components.Form.Editor.EditorRow$1",function(T){return{inherits:[UIComponents.Components.Form.Editor.Editor$1(T)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Components.Form.Editor.Editor$1(T).ctor.call(this,props,children)}},methods:{render:function(){var $t;return Bridge.React.StatelessComponent$1(UIComponents.Components.Form.FlexForm.Props).op_Implicit(new UIComponents.Components.Form.HorizontalForm(($t=new UIComponents.Components.Form.FlexForm.Props,$t.key=this.unwrappedProps.key,$t.fields=this.unwrappedState.fields.getValues(),$t),[this.removeBtn()]))}}}});Bridge.define("UIComponents.Components.Form.HorizontalForm",{inherits:[UIComponents.Components.Form.FlexForm],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Components.Form.FlexForm.ctor.call(this,props,children)}},methods:{render:function(){var $t,children=this.components();return React.createElement("form",Bridge.React.fixAttr({key:"0"}),Bridge.React.PureComponent$1(UIComponents.Layout.FlexColumns.Props).op_Implicit(new UIComponents.Layout.FlexColumns(($t=new UIComponents.Layout.FlexColumns.Props("0",children.toArray()),$t.properties={className:"is-centered is-vcentered"},$t))))}}});Bridge.define("UIComponents.Components.Form.Labels.FormLabel",{inherits:[Bridge.React.PureComponent$1(UIComponents.Components.Form.Labels.FormLabel.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.PureComponent$1(UIComponents.Components.Form.Labels.FormLabel.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,children=Bridge.React.ReactElementList.empty,attrs=this.unwrappedProps.attributes||{},c;attrs.key=GiveEasy.Shared.Extensions.localKey(this.unwrappedProps);children=children.add(React.createElement("label",Bridge.React.fixAttr(attrs),this.unwrappedProps.label));$t=Bridge.getEnumerator(this.children);try{while($t.moveNext())c=$t.Current,children=children.add(c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return React.createElement("span",null,System.Linq.Enumerable.from(children).toArray())}}});Bridge.define("UIComponents.Components.Form.Labels.HelpLabel.State",{$kind:"nested class",fields:{open:!1,clicked:!1}});Bridge.define("UIComponents.Components.Form.Labels.TNCLabel.Props",{inherits:[UIComponents.Components.Form.Labels.FormLabel.Props],$kind:"nested class",props:{label$1:null,href:null},ctors:{init:function(){this.label$1="Terms and Conditions";this.href="https://www.giveeasy.org/terms-and-conditions/"}},methods:{toString:function(){var $t;return $t=this.label$1,$t!=null?$t:""}}});Bridge.define("UIComponents.Components.Form.VerticalForm",{inherits:[UIComponents.Components.Form.FlexForm],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Components.Form.FlexForm.ctor.call(this,props,children)}},methods:{render:function(){var $t,children=this.components();return React.createElement("form",Bridge.React.fixAttr({key:"0"}),Bridge.React.PureComponent$1(UIComponents.Layout.FlexRows.Props).op_Implicit(new UIComponents.Layout.FlexRows(($t=new UIComponents.Layout.FlexRows.Props("0",children.toArray()),$t.properties={className:"is-centered is-vcentered"},$t))))}}});Bridge.define("UIComponents.Components.IconButton",{inherits:[Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).ctor.call(this,props,children)}},methods:{settingsIcon:function(){var $t,children=Bridge.React.ReactElementList.empty,c,attrs;children=children.add(React.createElement("span",Bridge.React.fixAttr({key:System.String.format("fa {0}",[this.unwrappedProps.icon]),className:"icon"}),React.createElement("span",Bridge.React.fixAttr({className:System.String.format("fa {0}",[this.unwrappedProps.icon])}),null)));$t=Bridge.getEnumerator(this.children);try{while($t.moveNext())c=$t.Current,children=children.add(c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return attrs=this.unwrappedProps.attributes||{className:"button is-light",style:{margin:1,textDecoration:"none"}},attrs.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.IconButton.f1),React.createElement("a",Bridge.React.fixAttr(attrs),System.Linq.Enumerable.from(children).toArray())},render:function(){return this.settingsIcon()}}});Bridge.ns("UIComponents.Components.IconButton",$asm.$);Bridge.apply($asm.$.UIComponents.Components.IconButton,{f1:function(){var $t1;($t1=this.unwrappedProps)!=null?$t1.onClick():null}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State}}},fields:{active:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State)?Bridge.equals(this.active,o.active):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State;return s.active=this.active,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State}}},fields:{active:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State)?Bridge.equals(this.active,o.active):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State;return s.active=this.active,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.State}}},fields:{active:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.State)?Bridge.equals(this.active,o.active):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.State;return s.active=this.active,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State}}},fields:{active:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State)?Bridge.equals(this.active,o.active):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State;return s.active=this.active,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State}}},fields:{active:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State)?Bridge.equals(this.active,o.active):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State;return s.active=this.active,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State}}},fields:{active:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State)?Bridge.equals(this.active,o.active):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State;return s.active=this.active,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State}}},fields:{active:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State)?Bridge.equals(this.active,o.active):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State;return s.active=this.active,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State}}},fields:{active:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State)?Bridge.equals(this.active,o.active):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State;return s.active=this.active,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State}}},fields:{active:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.active])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State)?Bridge.equals(this.active,o.active):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State;return s.active=this.active,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State)],statics:{fields:{infors:null},ctors:{init:function(){this.infors=System.Array.init(["charity_logo","giving_id","donor_name","amount","charity_name","charity_abn","charity_desc","tax_deductible_message","donor_email","appeal_name","credit_card_short","giving_frequency_name"],System.String)}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State).ctor.call(this,props,children)}},methods:{insertInfor:function(text){var ckeditor=CKEDITOR,widget=ckeditor.dom.element.createFromHtml("<textprefill data-textprefill='"+(text||"")+"'><span class='data-textprefill'>{{{"+(text||"")+"}}}<\/span><\/textprefill>");this.unwrappedProps.editor.insertElement(widget);this.unwrappedProps.onClose()},constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State,$t.embedInfor="fullname",$t},render:function(){var $t,$t1,$t2,urlKey="infor-field",input=($t=new UIComponents.FormInput.Props(urlKey,1),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="",$t1.attributes={className:"label hidden"},$t1),$t.type="text",$t.value=this.unwrappedState.embedInfor,$t.key=urlKey,$t),components,item,rdbOptions,modal;input.update=Bridge.fn.bind(this,function(s){var $t2;input.value=s;this.setWrappedStateAsync(($t2=new UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State,$t2.embedInfor=input.value,$t2))});components=Bridge.React.ReactElementList.empty;$t=Bridge.getEnumerator(UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.infors);try{while($t.moveNext())item=$t.Current,rdbOptions={v:($t1=new UIComponents.FormInput.Props(item,1),$t1.label=($t2=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t2.label=item,$t2.attributes={className:"label"},$t2),$t1.type="radio",$t1.value=item,$t1.key=item,$t1)},rdbOptions.v.update=function($me,rdbOptions){return Bridge.fn.bind($me,function(){var $t3;this.setWrappedStateAsync(($t3=new UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State,$t3.embedInfor=rdbOptions.v.value,$t3))})}(this,rdbOptions),components=components.add(Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(new UIComponents.FormInput(rdbOptions.v)))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return modal=new UIComponents.ConfirmModal(($t1=new UIComponents.ConfirmModal.Props,$t1.key=this.unwrappedProps.key,$t1.title="Insert Infor Block?",$t1.active=this.unwrappedProps.active,$t1.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.f1),$t1.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.f2),$t1),[React.createElement("div",Bridge.React.fixAttr({key:(urlKey||"")+"-components",className:"columns is-multiline"}),System.Linq.Enumerable.from(components).toArray()),React.createElement("div",Bridge.React.fixAttr({key:urlKey,className:"column"}),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(new UIComponents.FormInput(input)))]),Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(modal)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock,{f1:function(){this.unwrappedProps.onClose()},f2:function(){this.insertInfor(this.unwrappedState.embedInfor)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlockPlugin",{inherits:[UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props)],events:{onBuild:null},props:{pluginKey:{get:function(){return"embed_infor_block"}}},alias:["pluginKey","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedInforBlock$Props$pluginKey","addonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedInforBlock$Props$addonBuild","removeonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedInforBlock$Props$removeonBuild","builder","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedInforBlock$Props$builder"],methods:{builder:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlockPlugin.f1)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlockPlugin",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlockPlugin,{f1:function(props){var $t;if(!Bridge.staticEquals(this.onBuild,null))this.onBuild(props);return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock(($t=new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props,$t.key$1=this.pluginKey,$t.plugin=this,$t.editor=props.editor,$t)))}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State)],statics:{fields:{blackList:null,infors:null},ctors:{init:function(){this.blackList=System.Array.init(["compounduuid","appealkey","transaction","charityid"],System.String);this.infors=System.Array.init(["appealtitle","charity_name","amount","link","organizationname","firstname","lastname","email"],System.String)}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State).ctor.call(this,props,children)}},methods:{insertInfor:function(text){var ckeditor=CKEDITOR,widget=ckeditor.dom.element.createFromHtml("<span class=''>{{{"+(text||"")+"}}}<\/span>");this.unwrappedProps.editor.insertElement(widget);this.unwrappedProps.onClose()},constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State,$t.embedInfor="",$t},render:function(){var $t,$t1,$t2,urlKey="infor-field",input=($t=new UIComponents.FormInput.Props(urlKey,1),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="",$t1.attributes={className:"label hidden"},$t1),$t.type="text",$t.value=this.unwrappedState.embedInfor,$t.key=urlKey,$t),item,key,rdbOptions,modal;input.update=Bridge.fn.bind(this,function(s){var $t2;input.value=s;this.setWrappedStateAsync(($t2=new UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State,$t2.embedInfor=input.value,$t2))});var components=Bridge.React.ReactElementList.empty,viewmodel=UIComponents.Apps.AppealEditor.PageEditorApp.getMetaModelOrDefault(),list=new(System.Collections.Generic.List$1(System.String).ctor);viewmodel.tagSetContext!=null&&list.addRange(viewmodel.tagSetContext.propertyNames);list.addRange(UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.infors);$t=Bridge.getEnumerator(list);try{while($t.moveNext())item=$t.Current,key=item,System.String.startsWith(key,"custom_")&&(key=key.substr(7)),System.Array.contains(UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.blackList,key,System.String)||(rdbOptions={v:($t1=new UIComponents.FormInput.Props(key,1),$t1.label=($t2=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t2.label=key,$t2.attributes={className:"label"},$t2),$t1.type="radio",$t1.value=key,$t1.key=key,$t1)},rdbOptions.v.update=function($me,rdbOptions){return Bridge.fn.bind($me,function(){var $t3;this.setWrappedStateAsync(($t3=new UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State,$t3.embedInfor=rdbOptions.v.value,$t3))})}(this,rdbOptions),components=components.add(Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(new UIComponents.FormInput(rdbOptions.v))))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return modal=new UIComponents.ConfirmModal(($t1=new UIComponents.ConfirmModal.Props,$t1.key=this.unwrappedProps.key,$t1.title="Insert Infor Block?",$t1.active=this.unwrappedProps.active,$t1.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.f1),$t1.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.f2),$t1),[React.createElement("div",Bridge.React.fixAttr({key:(urlKey||"")+"-components",className:"columns is-multiline"}),System.Linq.Enumerable.from(components).toArray()),React.createElement("div",Bridge.React.fixAttr({key:urlKey,className:"column"}),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(new UIComponents.FormInput(input)))]),Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(modal)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock,{f1:function(){this.unwrappedProps.onClose()},f2:function(){var fieldCode=System.Text.RegularExpressions.Regex.replace(this.unwrappedState.embedInfor,"[^0-9a-zA-Z]+","");this.insertInfor(fieldCode)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlockPlugin",{inherits:[UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props)],events:{onBuild:null},props:{pluginKey:{get:function(){return"embed_prefill_block"}}},alias:["pluginKey","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedPrefillBlock$Props$pluginKey","addonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedPrefillBlock$Props$addonBuild","removeonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedPrefillBlock$Props$removeonBuild","builder","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedPrefillBlock$Props$builder"],methods:{builder:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlockPlugin.f1)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlockPlugin",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlockPlugin,{f1:function(props){var $t;if(!Bridge.staticEquals(this.onBuild,null))this.onBuild(props);return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock(($t=new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props,$t.key$1=this.pluginKey,$t.plugin=this,$t.editor=props.editor,$t)))}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedProgressBarPlugin",{inherits:[UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props)],events:{onBuild:null},props:{pluginKey:{get:function(){return"embed_progressbar"}}},alias:["pluginKey","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedProgressBar$Props$pluginKey","addonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedProgressBar$Props$addonBuild","removeonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedProgressBar$Props$removeonBuild","builder","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedProgressBar$Props$builder"],ctors:{ctor:function(onbuild){this.$initialize();this.addonBuild(onbuild)}},methods:{builder:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedProgressBarPlugin.f1)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedProgressBarPlugin",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedProgressBarPlugin,{f1:function(props){var $t,widgetprops=($t=new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props,$t.key$1=this.pluginKey,$t.plugin=this,$t.editor=props.editor,$t);this.onBuild(widgetprops);return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar(widgetprops))}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State}}},fields:{widgetData:null,open:!1,appealData:null,widgetID:null,widgetState:0},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.widgetData,this.open,this.appealData,this.widgetID,this.widgetState])},equals:function(o){return Bridge.is(o,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State)?Bridge.equals(this.widgetData,o.widgetData)&&Bridge.equals(this.open,o.open)&&Bridge.equals(this.appealData,o.appealData)&&Bridge.equals(this.widgetID,o.widgetID)&&Bridge.equals(this.widgetState,o.widgetState):!1},$clone:function(to){var s=to||new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State;return s.widgetData=this.widgetData,s.open=this.open,s.appealData=this.appealData,s.widgetID=this.widgetID,s.widgetState=this.widgetState,s}}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State)],statics:{fields:{widgetTypes:null},ctors:{init:function(){this.widgetTypes=$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.f1(new(System.Collections.Generic.Dictionary$2(System.String,System.Object)))}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State).ctor.call(this,props,children)}},methods:{insertHTML:function(widgetComponent){var ckeditor=CKEDITOR,p=ckeditor.dom.element.createFromHtml("<span>&nbsp;<\/span>"),typename=UIComponents.Extensions.ComponentExtensions.typeKey$1(widgetComponent),widget=ckeditor.dom.element.createFromHtml(System.String.format("<div contenteditable='false' data-widget='true' data-max-height='600'>\n<div>\n<{0}><\/{1}>\n<\/div>\n<\/div>",typename,typename));widget.id=System.String.format("w{0}",[GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())]);this.unwrappedProps.editor.insertElement(p);widget.insertBefore(p);window.requestAnimationFrame(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.f2));this.unwrappedProps.onClose()},constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State,$t.selected="Countdown Timer",$t},render:function(){var $t,btn=new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-angle-down",$t.key=this.unwrappedState.selected,$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.f4),$t),[System.String.format("  {0}",[this.unwrappedState.selected])]),widgetOptions=($t=new UIComponents.DropdownList.Props,$t.key="title-drop",$t.anchor=Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(btn),$t.isActive=this.unwrappedState.open,$t.items=System.Linq.Enumerable.from(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.widgetTypes).toDictionary($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.f5,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.f5,System.String,Bridge.global.System.Object),$t),modal;return widgetOptions.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.f6),modal=new UIComponents.ConfirmModal(($t=new UIComponents.ConfirmModal.Props,$t.key=this.unwrappedProps.key,$t.title="Insert a Widget",$t.message="A widget is an active page component that can add dynamic content to your page",$t.active=this.unwrappedProps.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.f7),$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.f8),$t),[Bridge.React.PureComponent$1(UIComponents.Layout.FlexRows.Props).op_Implicit$1(new UIComponents.Layout.FlexRows(($t=new UIComponents.Layout.FlexRows.Props("select"),$t.properties={style:{all:"unset",alignContent:"center"}},$t),[React.createElement("div",Bridge.React.fixAttr({key:"selectType",className:"column",style:{color:"#000",margin:"auto"}}),Bridge.React.StatelessComponent$1(UIComponents.DropdownList.Props).op_Implicit(new UIComponents.DropdownList(widgetOptions))),React.createElement("span",null,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.widgetTypes.get(this.unwrappedState.selected).item2)]))]),Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(modal)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer,{f1:function(_o1){return _o1.add("Countdown Timer",{item1:UIComponents.Apps.CountdownWidgetApp,item2:"Countdown Timer will display campaign duration countdown, so that donors have a sense of urgency to donate."}),_o1},f2:function(){System.Threading.Tasks.Task.run(this.unwrappedProps.reloadParent)},f3:function(s){s.open=!this.unwrappedState.open},f4:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State,this,Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.f3))},f5:function(s){return s.key},f6:function(x){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State,this,function(s){s.open=!1;s.selected=System.Linq.Enumerable.from(x).firstOrDefault(null,null)})},f7:function(){this.unwrappedProps.onClose()},f8:function(){this.insertHTML(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.widgetTypes.get(this.unwrappedState.selected).item1)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainerPlugin",{inherits:[UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props)],events:{onBuild:null},props:{pluginKey:{get:function(){return"embed_widgetcontainer"}}},alias:["pluginKey","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedWidgetContainer$Props$pluginKey","addonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedWidgetContainer$Props$addonBuild","removeonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedWidgetContainer$Props$removeonBuild","builder","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedWidgetContainer$Props$builder"],ctors:{ctor:function(onbuild){this.$initialize();this.addonBuild(onbuild)}},methods:{builder:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainerPlugin.f1)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainerPlugin",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainerPlugin,{f1:function(props){var $t,widgetprops=($t=new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props,$t.key$1=this.pluginKey,$t.plugin=this,$t.editor=props.editor,$t);this.onBuild(widgetprops);return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer(widgetprops))}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State)],statics:{fields:{vids:null},ctors:{init:function(){this.vids=System.Array.init(["https://www.youtube.com/watch?v=9bZkp7q19f0","https://www.youtube.com/watch?v=bq9ghmgqoyc","https://www.youtube.com/watch?v=dTAAsCNK7RA","https://www.youtube.com/watch?v=S2DTLbTQj0I","https://www.youtube.com/watch?v=Yocja_N5s1I","https://www.youtube.com/watch?v=CHA7UpI9Pu4"],System.String)}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State).ctor.call(this,props,children)}},methods:{insertVideo:function(url){this.unwrappedProps.editor.widgets.registered.ae_embed.draggable=!1;this.unwrappedProps.editor.execCommand("embedUrl",new $asm.$AnonymousType$2(url));this.unwrappedProps.onClose()},constructorStateInitialiser:function(){var $t,vidUrl="https://www.youtube.com/watch?v=O6a4yisAblA",n=new System.Random.ctor;return n.nextDouble()>.8&&(vidUrl=UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.vids[System.Array.index(n.next$1(UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.vids.length-1|0),UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.vids)]),$t=new UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State,$t.embedUrl=vidUrl,$t},render:function(){var $t,$t1,urlKey="url",input=($t=new UIComponents.FormInput.Props(urlKey,1),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="",$t1.attributes={className:"label hidden"},$t1),$t.type="text",$t.value=this.unwrappedState.embedUrl,$t.key=urlKey,$t),form,modal;return input.update=Bridge.fn.bind(this,function(s){var $t2;input.value=s;this.setWrappedStateAsync(($t2=new UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State,$t2.embedUrl=input.value,$t2))}),form=new UIComponents.SimpleForm(($t=new UIComponents.SimpleForm.Props,$t.formAttributes={action:""},$t.fields=System.Array.init([input],UIComponents.FormInput.Props),$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.f1),$t)),modal=new UIComponents.ConfirmModal(($t=new UIComponents.ConfirmModal.Props,$t.key=this.unwrappedProps.key,$t.title="Insert Video?",$t.active=this.unwrappedProps.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.f2),$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.f3),$t),[React.createElement("div",Bridge.React.fixAttr({key:urlKey,className:"column"}),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(new UIComponents.FormInput(input)))]),Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(modal)}}});Bridge.define("$AnonymousType$2",$asm,{$kind:"anonymous",ctors:{ctor:function(url){this.url=url}},methods:{equals:function(o){return Bridge.is(o,$asm.$AnonymousType$2)?Bridge.equals(this.url,o.url):!1},getHashCode:function(){return Bridge.addHash([7550196187,this.url])},toJSON:function(){return{url:this.url}}},statics:{methods:{$metadata:function(){return{m:[{a:2,n:"url",t:16,rt:System.String,g:{a:2,n:"get_url",t:8,rt:System.String,fg:"url"},fn:"url"}]}}}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube,{f1:function(){this.insertVideo(this.unwrappedState.embedUrl)},f2:function(){this.unwrappedProps.onClose()},f3:function(){this.insertVideo(this.unwrappedState.embedUrl)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutubePlugin",{inherits:[UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props)],events:{onBuild:null},props:{pluginKey:{get:function(){return"embed_youtube"}}},alias:["pluginKey","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedYoutube$Props$pluginKey","addonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedYoutube$Props$addonBuild","removeonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedYoutube$Props$removeonBuild","builder","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedYoutube$Props$builder"],methods:{builder:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedYoutubePlugin.f1)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutubePlugin",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedYoutubePlugin,{f1:function(props){var $t;if(!Bridge.staticEquals(this.onBuild,null))this.onBuild(props);return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube(($t=new UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props,$t.key$1=this.pluginKey,$t.plugin=this,$t.editor=props.editor,$t)))}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.Props,UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.Props,UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State).ctor.call(this,props,children)}},methods:{insertHTML:function(innertext,style,amount){var targetText,amt,widget;amount===void 0&&(amount="0");targetText=innertext;amt={v:System.Decimal(0)};System.Decimal.tryParse(amount,null,amt);var styleLevel=style,id=System.String.format("more-{0}",[GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())]),ckeditor=CKEDITOR,p=ckeditor.dom.element.createFromHtml("<span>&nbsp;<\/span>"),target=System.String.format('<div style="width:100%"><formcomplete class="tile" style="width:100%" data-amount="{0}" data-boxstyle="small" style="font-size: inherit; cursor: pointer; height: initial;"><div class="tile"><div  class="tile" style="width:100%" data-background-color><div class="button is-large" style="background-color: rgb(70, 140, 140);margin: auto auto 0.25em;color: white;width: 100%; max-width:100%"><span >{1}<\/span><\/div><\/div><\/div><\/formcomplete><\/div>',amt.v,targetText);switch(styleLevel){case"small":target=System.String.format('<div style="width:100%"><formcomplete class="tile" style="width:100%" data-amount="{0}" data-boxstyle="{1}" style="font-size: inherit; cursor: pointer; height: initial;"><div class="tile"><div  class="tile" style="width:100%" data-background-color><div class="button is-large" style="background-color: rgb(70, 140, 140);margin: auto auto 0.25em;color: white;width: 100%; max-width:100%"><span >{2}<\/span><\/div><\/div><\/div><\/formcomplete><\/div>',amt.v,styleLevel,targetText);break;case"medium":target=System.String.format('<div class="tile" style="" ><formcomplete data-amount="{0}" data-boxstyle="{1}" class="tile" style="font-size: inherit; cursor: pointer; height: initial;"><div class="tile " ><div class="tile is-parent"> <div class="tile is-child notification is-paddingless" style="box-shadow: 0 1px 4px 0px #666;"><div class="notification"><div ><article class="content"><p> <strong>Header statement here<\/strong> <\/p><p> {2}<\/p><div style="max-width:100%"><div class="tile"><div  class="tile" style="width:100%" data-background-color><div class="button is-large" style="background-color: rgb(70, 140, 140);margin: auto auto 0.25em;color: white;width: 100%; max-width:100%"><span >{3}<\/span><\/div><\/div><\/div><\/div><\/article><\/div><\/div><\/div><\/div><\/div><\/formcomplete><\/div>',amt.v,styleLevel,targetText,targetText);break;case"large":target=System.String.format('<div class="tile" style="" ><formcomplete data-amount="{0}" data-boxstyle="{1}" class="tile" style="font-size: inherit; cursor: pointer; height: initial;"><div class="tile " ><div class="tile is-parent"> <div class="tile is-child notification is-paddingless" style="box-shadow: 0 1px 4px 0px #666;"> <div data-background-image data-is-hidden><article class="appeal-header-banner" style="background-image: url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mO8+x8AAr8B3gzOjaQAAAAASUVORK5CYII=\'); background-position: center center; background-repeat: no-repeat; background-size: 100%;"><figure class="image">&nbsp;<\/figure><\/article><\/div><div class="notification"><div ><article class="content"><p> <strong>Header statement here<\/strong> <\/p><p> {2}<\/p><div class="tile"><div  class="tile" style="width:100%" data-background-color><div class="button is-large" style="background-color: rgb(70, 140, 140);margin: auto auto 0.25em;color: white;width: 100%; max-width:100%"><span >{3}<\/span><\/div><\/div><\/article><\/div><\/div><\/div><\/div><\/div><\/formcomplete><\/div>',amt.v,styleLevel,targetText,targetText)}widget=ckeditor.dom.element.createFromHtml(target);this.unwrappedProps.editor.insertElement(widget);this.unwrappedProps.onClose()},constructorStateInitialiser:function(){var $t,n=(new System.Random.ctor).next$1(100)+50|0;return $t=new UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State,$t.label=System.String.format("Just ${0} pays for a thing!",[Bridge.box(n,System.Int32)]),$t.styleOption="small",$t.amount=System.String.format("{0}",[Bridge.box(n,System.Int32)]),$t},render:function(){var $t,$t1,textKey="innertext",input=($t=new UIComponents.FormInput.Props(textKey,1),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="",$t1.attributes={className:"label hidden"},$t1),$t.type="text",$t.value=this.unwrappedState.label,$t.key=textKey,$t),inputAmount,dropStyle,options,modal;return input.update=Bridge.fn.bind(this,function(x){input.value=x;UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State,this,function(s){s.label=x})}),inputAmount=($t=new UIComponents.FormInput.Props("textKeyAmount",2),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="Amount",$t1.attributes={className:"label"},$t1),$t.type="number",$t.value=this.unwrappedState.amount,$t.key=(textKey||"")+"-amount",$t),inputAmount.update=Bridge.fn.bind(this,function(x){inputAmount.value=x;UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State,this,function(s){s.amount=x})}),dropStyle=new UIComponents.FormInput.Props(System.String.format("textKey-style",null),3),dropStyle.type="text",options=$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.f1(new(System.Collections.Generic.Dictionary$2(System.Object,System.String))),dropStyle.selectDict=options,dropStyle.value=this.unwrappedState.styleOption,dropStyle.update=Bridge.fn.bind(this,function(x){dropStyle.value=x;UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State,this,function(s){s.styleOption=x})}),dropStyle.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=System.String.format("Choose style for the amount box: ",null),$t),modal=new UIComponents.ConfirmModal(($t=new UIComponents.ConfirmModal.Props,$t.key=this.unwrappedProps.key,$t.title="Insert Amount",$t.message="This will insert a button that will set the Amount field of the donation form",$t.active=this.unwrappedProps.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.f2),$t.onSubmit=Bridge.fn.bind(this,function(){this.insertHTML(input.value,dropStyle.value,inputAmount.value)}),$t),[React.createElement("div",Bridge.React.fixAttr({key:textKey,className:"column",style:{width:"20em",margin:"auto"}}),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(new UIComponents.FormInput(input)),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(new UIComponents.FormInput(inputAmount)),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(new UIComponents.FormInput(dropStyle)))]),Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(modal)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton,{f1:function(_o1){return _o1.add("small","Simple"),_o1.add("medium","Bit More Text"),_o1.add("large","Text and Image"),_o1},f2:function(){this.unwrappedProps.onClose()}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButtonPlugin",{inherits:[UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props)],events:{onBuild:null},props:{pluginKey:{get:function(){return"insert_amountbutton"}}},alias:["pluginKey","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertAmountButton$Props$pluginKey","addonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertAmountButton$Props$addonBuild","removeonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertAmountButton$Props$removeonBuild","builder","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertAmountButton$Props$builder"],methods:{builder:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButtonPlugin.f1)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButtonPlugin",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertAmountButtonPlugin,{f1:function(props){var $t;if(!Bridge.staticEquals(this.onBuild,null))this.onBuild(props);return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton(($t=new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props,$t.key$1=this.pluginKey,$t.plugin=this,$t.editor=props.editor,$t)))}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.Props,UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.Props,UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State).ctor.call(this,props,children)}},methods:{insertHTML:function(sameWidth,col,row){var id=System.String.format("more-{0}",[GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())]),ckeditor=CKEDITOR,p=ckeditor.dom.element.createFromHtml("<span>&nbsp;<\/span>"),text="",i,x,i1,x1,widget;if(sameWidth){for(text=System.String.format('<div class="columns is-multiline">',null),i=0;i<col;i=i+1|0){for(text=(text||"")+(System.String.format('<div class="column is-vertical is-editor ge-hidden-desktop-wrap ge-layout" >',null)||""),x=0;x<row;x=x+1|0)text=(text||"")+(System.String.format('<div class="tile is-editor ge-hidden-desktop-wrap ge-layout"><span>&nbsp;<\/span><\/div>',null)||"");text=(text||"")+"<\/div>"}text=(text||"")+"<\/div>"}else{for(text=System.String.format('<div class="tile is-vertical">',null),i1=0;i1<row;i1=i1+1|0){for(text=(text||"")+(System.String.format('<div class="columns is-multiline"  >',null)||""),x1=0;x1<col;x1=x1+1|0)text=(text||"")+(System.String.format('<div class="column is-editor ge-hidden-desktop-wrap ge-layout"><span>&nbsp;<\/span><\/div>',null)||"");text=(text||"")+"<\/div>"}text=(text||"")+"<\/div>"}widget=ckeditor.dom.element.createFromHtml(text);this.unwrappedProps.editor.insertElement(p);this.unwrappedProps.editor.insertElement(widget);this.unwrappedProps.editor.insertElement(p);this.unwrappedProps.onClose()},constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State,$t.isVertical=!1,$t.col=3,$t.row=1,$t},render:function(){var $t,$t1,textKey="innertext",input=($t=new UIComponents.FormInput.Props(textKey,1),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="Force Same Width",$t1.attributes={className:"label"},$t1),$t.type="checkbox",$t.value=System.Boolean.toString(this.unwrappedState.isVertical),$t.key=textKey,$t),inCol,inRow,modal;return input.update=Bridge.fn.bind(this,function(x){input.value=x;var temp={v:!1};System.Boolean.tryParse(x,temp);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State,this,function(s){s.isVertical=temp.v})}),inCol=($t=new UIComponents.FormInput.Props((textKey||"")+"Col",2),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="Number of columns",$t1.attributes={className:"label"},$t1),$t.type="number",$t.value=Bridge.toString(this.unwrappedState.col),$t.key=(textKey||"")+"Col",$t),inCol.update=Bridge.fn.bind(this,function(x){inCol.value=x;var temp={v:0};System.Int32.tryParse(x,temp);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State,this,function(s){s.col=temp.v})}),inRow=($t=new UIComponents.FormInput.Props((textKey||"")+"Row",3),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="Number of rows",$t1.attributes={className:"label"},$t1),$t.type="number",$t.value=Bridge.toString(this.unwrappedState.row),$t.key=(textKey||"")+"Row",$t),inRow.update=Bridge.fn.bind(this,function(x){inRow.value=x;var temp={v:0};System.Int32.tryParse(x,temp);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State,this,function(s){s.row=temp.v})}),modal=new UIComponents.ConfirmModal(($t=new UIComponents.ConfirmModal.Props,$t.key=this.unwrappedProps.key,$t.title="Insert Layout",$t.message="This will insert a layout based on number of rows and cell slots for you to organise text and widget element",$t.active=this.unwrappedProps.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.f1),$t.onSubmit=Bridge.fn.bind(this,function(){this.insertHTML(System.Boolean.parse(input.value),System.Int32.parse(inCol.value),System.Int32.parse(inRow.value))}),$t),[React.createElement("div",Bridge.React.fixAttr({key:textKey,className:"column",style:{width:"20em",margin:"auto"}}),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(new UIComponents.FormInput(input)),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(new UIComponents.FormInput(inCol)),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(new UIComponents.FormInput(inRow)))]),Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(modal)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton,{f1:function(){this.unwrappedProps.onClose()}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButtonPlugin",{inherits:[UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props)],events:{onBuild:null},props:{pluginKey:{get:function(){return"insert_layoutbutton"}}},alias:["pluginKey","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertLayoutButton$Props$pluginKey","addonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertLayoutButton$Props$addonBuild","removeonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertLayoutButton$Props$removeonBuild","builder","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertLayoutButton$Props$builder"],methods:{builder:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButtonPlugin.f1)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButtonPlugin",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButtonPlugin,{f1:function(props){var $t;if(!Bridge.staticEquals(this.onBuild,null))this.onBuild(props);return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton(($t=new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props,$t.key$1=this.pluginKey,$t.plugin=this,$t.editor=props.editor,$t)))}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertReadMore",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.Props,UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.Props,UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State).ctor.call(this,props,children)}},methods:{insertHTML:function(mobileonly,text){var parent,i,attrtype,e1,e2;mobileonly===void 0&&(mobileonly=!0);text===void 0&&(text="Click to Read More...");var id=System.String.format("more-{0}",[GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())]),ckeditor=CKEDITOR,startRange=this.unwrappedProps.editor.getSelection(),p=ckeditor.dom.element.createFromHtml("<p><\/p>");for(this.unwrappedProps.editor.insertElement(p),parent=p,i=0;i<10&&System.Array.contains(System.Array.init(["p","span","li"],System.String),Bridge.cast(parent.getName(),System.String),System.String)&&!parent.getParent().hasClass("ae-editable");i=i+1|0)parent=parent.getParent();attrtype=mobileonly?"data-more-mobile":"data-more";e1=ckeditor.dom.element.createFromHtml(System.String.format("\n<input id='{0}' {1} type='checkbox' style=' \n  display: none;'>\n",id,attrtype).trim(),this.unwrappedProps.editor.document);parent.insertBeforeMe(e1);e2=ckeditor.dom.element.createFromHtml(System.String.format("\n<label {0} htmlFor='{1}' style='\n  position: relative;\n  display: inline-block;\n  text-align: center;\n  user-select: none;\n  cursor: pointer;\n  width: 100%;'>\n{2}\n<\/label>\n",attrtype,id,text).trim(),this.unwrappedProps.editor.document);parent.insertBeforeMe(e2);this.unwrappedProps.onClose()},constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State,$t.mobileOnly=!0,$t.innerText="Click to Read More...",$t},render:function(){var $t,$t1,textKey="innertext",checkKey="mobileonly",input=($t=new UIComponents.FormInput.Props(textKey,1),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="",$t1.attributes={className:"label hidden"},$t1),$t.type="text",$t.value=this.unwrappedState.innerText,$t.key=textKey,$t),check,modal;return input.update=Bridge.fn.bind(this,function(x){input.value=x;UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State,this,function(s){s.innerText=x})}),check=($t=new UIComponents.FormInput.Props(checkKey,2),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="Mobile devices only?",$t1.attributes={className:"label"},$t1),$t.type="checkbox",$t.value=System.Boolean.toString(this.unwrappedState.mobileOnly),$t.key=checkKey,$t.update=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.f1),$t),modal=new UIComponents.ConfirmModal(($t=new UIComponents.ConfirmModal.Props,$t.key=this.unwrappedProps.key,$t.title="Insert Read More Break?",$t.message="This will hide all text that immediatley follows the line. The text can be shown by clicking on the line.",$t.active=this.unwrappedProps.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.f2),$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.f3),$t),[React.createElement("div",Bridge.React.fixAttr({key:textKey,className:"column"}),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(new UIComponents.FormInput(input)),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(new UIComponents.FormInput(check)))]),Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(modal)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.InsertReadMore",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertReadMore,{f1:function(x){var temp={v:this.unwrappedState.mobileOnly};System.Boolean.tryParse(x,temp)&&UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State,this,function(s){s.mobileOnly=temp.v})},f2:function(){this.unwrappedProps.onClose()},f3:function(){this.insertHTML(this.unwrappedState.mobileOnly,this.unwrappedState.innerText)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertReadMorePlugin",{inherits:[UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props)],events:{onBuild:null},props:{pluginKey:{get:function(){return"insert_readmore"}}},alias:["pluginKey","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertReadMore$Props$pluginKey","addonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertReadMore$Props$addonBuild","removeonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertReadMore$Props$removeonBuild","builder","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertReadMore$Props$builder"],methods:{builder:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertReadMorePlugin.f1)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.InsertReadMorePlugin",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertReadMorePlugin,{f1:function(props){var $t;if(!Bridge.staticEquals(this.onBuild,null))this.onBuild(props);return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore(($t=new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props,$t.key$1=this.pluginKey,$t.plugin=this,$t.editor=props.editor,$t)))}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.Props,UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.Props,UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State).ctor.call(this,props,children)}},methods:{insertHTML:function(buttonType,shareurl){var id=System.String.format("x{0}",[GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())]),ckeditor=CKEDITOR,p=ckeditor.dom.element.createFromHtml("<span>&nbsp;<\/span>"),html=this.fbHtml(shareurl),widget;buttonType===UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType.twitter&&(html=this.twHtml(shareurl));widget=ckeditor.dom.element.createFromHtml(System.String.format("<span>{0}<\/span>",[html]));widget.id=id;this.unwrappedProps.editor.insertElement(widget);this.unwrappedProps.onClose()},constructorStateInitialiser:function(){var $t,$t1,url="{{{social_url}}}",context;return Bridge.referenceEquals(UIComponents.XBrowser.rootAppType(),UIComponents.Apps.AppealEditor.AppealEditorApp)&&(context=UIComponents.Apps.AppealEditor.AppealEditorApp.getDonationFormModelOrDefault(),url=context.context.appealUrl(context)),$t=new UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State,$t.data=($t1=new UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.SocialButtonData,$t1.type=UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType.facebook,$t1.shareurl=url,$t1),$t},render:function(){var $t,propseditor=new(UIComponents.Components.Form.Editor.EditorColumn$1(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.SocialButtonData))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.SocialButtonData)),$t.initial=this.unwrappedState.data,$t.onUpdate=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.f1),$t)),modal=new UIComponents.ConfirmModal(($t=new UIComponents.ConfirmModal.Props,$t.key=this.unwrappedProps.key,$t.title="Insert Social Sharing Button",$t.message="This will insert a button that will allow your supporters to share your appeal page",$t.active=this.unwrappedProps.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.f2),$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.f3),$t),[React.createElement("div",Bridge.React.fixAttr({key:"innertext",className:"column",style:{width:"auto",margin:"auto"}}),Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.SocialButtonData),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.SocialButtonData)).op_Implicit(propseditor))]);return Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).op_Implicit(modal)},fbHtml:function(social_url){social_url===void 0&&(social_url="{{{social_url}}}");var href=System.String.format("https://www.facebook.com/sharer/sharer.php?u={0}",[social_url]);return System.String.format("\n<a target='_blank' href='{0}'><img src='{1}'><\/a>\n",href,"https://s3-ap-southeast-2.amazonaws.com/giveeasy.org/prod/assets/templates/appeals/shared/facebook-share-button.jpg")},twHtml:function(social_url){social_url===void 0&&(social_url="{{{social_url}}}");var href=System.String.format("https://www.twitter.com/share?url={0}",[social_url]);return System.String.format("\n<a target='_blank' href='{0}'><img src='{1}'><\/a>\n",href,"https://s3-ap-southeast-2.amazonaws.com/giveeasy.org/prod/assets/templates/appeals/shared/twitter-share-button.jpg")}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton,{f1:function(x){var $t1,type={v:UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType.facebook},newdata;System.Enum.tryParse(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType,System.String.format("{0}",[Bridge.box(x.type,UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType,System.Enum.toStringFn(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType))]),type);newdata=($t1=new UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.SocialButtonData,$t1.shareurl=x.shareurl,$t1.type=type.v,$t1);this.setWrappedState(($t1=new UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State,$t1.data=newdata,$t1))},f2:function(){this.unwrappedProps.onClose()},f3:function(){this.insertHTML(this.unwrappedState.data.type,this.unwrappedState.data.shareurl)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButtonPlugin",{inherits:[UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props)],events:{onBuild:null},props:{pluginKey:{get:function(){return"insert_socialbutton"}}},alias:["pluginKey","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertSocialButton$Props$pluginKey","addonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertSocialButton$Props$addonBuild","removeonBuild","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertSocialButton$Props$removeonBuild","builder","UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertSocialButton$Props$builder"],methods:{builder:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertSocialButtonPlugin.f1)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButtonPlugin",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.InsertSocialButtonPlugin,{f1:function(props){var $t;if(!Bridge.staticEquals(this.onBuild,null))this.onBuild(props);return Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State).op_Implicit(new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton(($t=new UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props,$t.key$1=this.pluginKey,$t.plugin=this,$t.editor=props.editor,$t)))}});Bridge.define("UIComponents.InfoModal.Props",{inherits:[UIComponents.Modal.Props],$kind:"nested class",props:{title:null,cardBody:null,message:null,cancelLabel:null},ctors:{init:function(){this.title="";this.message="";this.cancelLabel=""},ctor:function(){this.$initialize();UIComponents.Modal.Props.ctor.call(this);this.title="Need Help?";this.cancelLabel="Got it!"}}});Bridge.define("UIComponents.DropdownList",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.DropdownList.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.DropdownList.Props).ctor.call(this,props,children)}},methods:{wrap:function(key,item){var $t,selected=System.Linq.Enumerable.from(this.unwrappedProps.selected).any(function(s){return System.String.equals(s,key,5)});return Bridge.React.StatelessComponent$1(UIComponents.DropdownList.SelectedItem.Props).op_Implicit(new UIComponents.DropdownList.SelectedItem(($t=new UIComponents.DropdownList.SelectedItem.Props,$t.key=key,$t.isSelected=selected,$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.DropdownList.f1),$t),[item]))},toggle:function(key){var next=new(System.Collections.Generic.List$1(System.String).$ctor1)(this.unwrappedProps.selected);return System.Linq.Enumerable.from(this.unwrappedProps.selected).contains(key)?next=new(System.Collections.Generic.List$1(System.String).$ctor1)(System.Linq.Enumerable.from(this.unwrappedProps.selected).where(function(x){return!Bridge.referenceEquals(x,key)})):next.add(key),next},render:function(){var active=this.unwrappedProps.isActive?"is-active":"",items=System.Linq.Enumerable.from(this.unwrappedProps.items).select(Bridge.fn.bind(this,$asm.$.UIComponents.DropdownList.f2));return React.createElement("div",Bridge.React.fixAttr({key:this.unwrappedProps.key,className:System.String.format("dropdown {0}",[active])}),React.createElement("div",Bridge.React.fixAttr({key:"trigger",className:"dropdown-trigger"}),this.unwrappedProps.anchor),React.createElement("div",Bridge.React.fixAttr({key:"menu",className:"dropdown-menu"}),React.createElement("div",Bridge.React.fixAttr({className:"dropdown-content",style:{overflowY:"scroll",maxHeight:"200px"}}),System.Linq.Enumerable.from(items).toArray())))}}});Bridge.ns("UIComponents.DropdownList",$asm.$);Bridge.apply($asm.$.UIComponents.DropdownList,{f1:function(x){this.unwrappedProps.update(this.toggle(x))},f2:function(kv){return this.wrap(kv.key,kv.value)}});Bridge.define("UIComponents.FormField",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).ctor.call(this,props,children)}}});Bridge.define("UIComponents.FormField.FieldComparer",{inherits:[System.Collections.Generic.IEqualityComparer$1(UIComponents.FormField.FieldProps)],$kind:"nested class",alias:["equals2",["System$Collections$Generic$IEqualityComparer$1$UIComponents$FormField$FieldProps$equals2","System$Collections$Generic$IEqualityComparer$1$equals2"],"getHashCode2",["System$Collections$Generic$IEqualityComparer$1$UIComponents$FormField$FieldProps$getHashCode2","System$Collections$Generic$IEqualityComparer$1$getHashCode2"]],methods:{equals2:function(x,y){return x!=null&&x!=null&&System.String.equals(x.name,y.name)?!0:!1},getHashCode2:function(obj){return Bridge.getHashCode(obj.name)}}});Bridge.define("UIComponents.FormValidator",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.FormValidator.Props)],statics:{methods:{validate:function(T,Validators,props){return System.Linq.Enumerable.from(Validators).any()?System.Linq.Enumerable.from(Validators).any(function(v){return v.UIComponents$IValidator$invoke(props).valid===UIComponents.Validation.fail})?UIComponents.Validation.fail:System.Linq.Enumerable.from(Validators).any(function(v){return v.UIComponents$IValidator$invoke(props).valid===UIComponents.Validation.warn})?UIComponents.Validation.warn:UIComponents.Validation.pass:UIComponents.Validation.none}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.FormValidator.Props).ctor.call(this,props,children)}}});Bridge.define("UIComponents.IframeModal.Props",{inherits:[UIComponents.Modal.Props],$kind:"nested class",props:{title:null,iframeSrc:null,scrolling:!1,iframeHeight:0,iframeWidth:0},ctors:{init:function(){this.title="";this.iframeSrc="";this.scrolling=!0;this.iframeHeight=650;this.iframeWidth=550}}});Bridge.define("UIComponents.IframeModalContainer.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.IframeModalContainer.State}}},fields:{isActive:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.isActive])},equals:function(o){return Bridge.is(o,UIComponents.IframeModalContainer.State)?Bridge.equals(this.isActive,o.isActive):!1},$clone:function(to){var s=to||new UIComponents.IframeModalContainer.State;return s.isActive=this.isActive,s}}});Bridge.define("UIComponents.Modal",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.Modal.Props)],statics:{methods:{closeButton:function(props){var $t;return $t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={key:"close",className:"button is-white has-text-dark"},$t.onClick=props.onClose,$t}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.Modal.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,classname="modal has-text-light";return this.unwrappedProps.active&&(classname=(classname||"")+" is-active"),React.createElement("div",Bridge.React.fixAttr({key:"modal-root",id:GiveEasy.Shared.Extensions.localKey(this.unwrappedProps),className:classname}),React.createElement("div",Bridge.React.fixAttr({key:"modal-background",className:"modal-background"}),null),React.createElement.apply(React,["div",Bridge.React.fixAttr({key:"modal-card",className:"modal-card",style:{width:"auto",height:"auto",minWidth:350,minHeight:450}})].concat(this.children)),Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit$1(this.unwrappedProps.hasBackgroundCloseButton?new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"modal-close"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Modal.f1),$t)):null))}}});Bridge.ns("UIComponents.Modal",$asm.$);Bridge.apply($asm.$.UIComponents.Modal,{f1:function(){var $t1;($t1=this.unwrappedProps)!=null?$t1.onClose():null}});Bridge.define("UIComponents.Services.Handlebars.ContextTemplate.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.Services.Handlebars.ContextTemplate.State}}},fields:{template:null,context:null},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.template,this.context])},equals:function(o){return Bridge.is(o,UIComponents.Services.Handlebars.ContextTemplate.State)?Bridge.equals(this.template,o.template)&&Bridge.equals(this.context,o.context):!1},$clone:function(to){var s=to||new UIComponents.Services.Handlebars.ContextTemplate.State;return s.template=this.template,s.context=this.context,s}}});Bridge.define("UIComponents.SimpleModalContainer.State",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new UIComponents.SimpleModalContainer.State}}},fields:{isActive:!1},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1952543928,this.isActive])},equals:function(o){return Bridge.is(o,UIComponents.SimpleModalContainer.State)?Bridge.equals(this.isActive,o.isActive):!1},$clone:function(to){var s=to||new UIComponents.SimpleModalContainer.State;return s.isActive=this.isActive,s}}});Bridge.define("UIComponents.Apps.AppealEditor.AppealEditorApp",{inherits:[Bridge.React.Component$2(UIComponents.Apps.AppealEditor.AppealEditorApp.Props,UIComponents.Apps.AppealEditor.AppealEditorApp.State)],statics:{fields:{donateFormModel:null},methods:{getDonationFormModelOrDefault:function(){if(UIComponents.Apps.AppealEditor.AppealEditorApp.donateFormModel!=null)return UIComponents.Apps.AppealEditor.AppealEditorApp.donateFormModel;try{var meta=System.Linq.Enumerable.from(document.getElementsByTagName("meta")).first($asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f1),viewmodel=Newtonsoft.Json.JsonConvert.DeserializeObject(meta.getAttribute("props"),ViewModels.DonateFormModel);UIComponents.Apps.AppealEditor.AppealEditorApp.donateFormModel=viewmodel}catch($e1){$e1=System.Exception.create($e1);UIComponents.Apps.AppealEditor.AppealEditorApp.donateFormModel=null}return UIComponents.Apps.AppealEditor.AppealEditorApp.donateFormModel}}},ctors:{ctor:function(props){this.$initialize();Bridge.React.Component$2(UIComponents.Apps.AppealEditor.AppealEditorApp.Props,UIComponents.Apps.AppealEditor.AppealEditorApp.State).ctor.call(this,props)}},methods:{constructorStateInitialiser:function(){var $t,timeLeft=60,timeSpent=0,tcs;return window.setInterval(Bridge.fn.bind(this,function(){timeLeft===0?(timeLeft=60,this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.saving||this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.startSave||document.getElementById("editor-save").disabled||(document.getElementById("editor-save-button").innerHTML="Auto Saving...",timeLeft=timeLeft+timeSpent|0,timeSpent=0,this.silentSave())):document.getElementById("editor-save").disabled?timeSpent=timeSpent+1|0:timeLeft=timeLeft-1|0}),1e3),tcs=new System.Threading.Tasks.TaskCompletionSource,tcs.setResult(0),$t=new UIComponents.Apps.AppealEditor.AppealEditorApp.State,$t.saveState=UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.ready,$t.hideControls=!1,$t},componentWillMount:function(){var viewmodel=UIComponents.Apps.AppealEditor.AppealEditorApp.getDonationFormModelOrDefault();UIComponents.IContainerPropsExtensions.createInnerComponent(this.unwrappedProps);this.unwrappedProps.meta=viewmodel},componentDidMount:function(){this.unwrappedProps.inner=null;Bridge.React.Component$2(UIComponents.Apps.AppealEditor.AppealEditorApp.Props,UIComponents.Apps.AppealEditor.AppealEditorApp.State).prototype.componentDidMount.call(this)},render:function(){var $t,$t1,$t2,$t3,message=UIComponents.XBrowser.browserNotSupported("creating and editing appeal pages",[UIComponents.WebBrowser.IE,UIComponents.WebBrowser.safari,UIComponents.WebBrowser.firefox]);if(message!=null)return message;var inner=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps)||this.unwrappedProps.inner.firstElementChild,tile=new UIComponents.Apps.AppealEditor.EditableTileContainer(($t=new UIComponents.Apps.AppealEditor.EditableTileContainer.Props,$t.inner=inner,$t.innerID=this.unwrappedProps.innerID,$t.canShow=!this.unwrappedState.hideControls,$t)),save_modal=this.saveElement();return React.createElement("div",Bridge.React.fixAttr({className:"columns is-vcentered"}),React.createElement("div",Bridge.React.fixAttr({className:"column"}),Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).op_Implicit$1(tile),this.controlMenu()),Bridge.React.StatelessComponent$1(UIComponents.Modal.Props).op_Implicit$1(save_modal),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t=this.unwrappedState.modal)!=null&&($t1=Bridge.getType($t))!=null?Bridge.Reflection.getTypeFullName($t1):null,this.unwrappedState.modal),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t2=this.unwrappedState.iframeGroupModal)!=null&&($t3=Bridge.getType($t2))!=null?Bridge.Reflection.getTypeFullName($t3):null,this.unwrappedState.iframeGroupModal))},controlMenu:function(){return React.createElement("div",Bridge.React.fixAttr({className:"navbar-menu columns notification is-dark is-paddingless",style:{position:"fixed",top:88,left:0,width:"calc(100% - 2px)",zIndex:"10"}}),React.createElement("div",Bridge.React.fixAttr({key:"navbar-start",className:"navbar-start"}),null),React.createElement("div",Bridge.React.fixAttr({key:"navbar-end",className:"navbar-end",style:{display:"inline-flex"}}),System.Linq.Enumerable.from(this.controlsRight()).toArray()))},controlsRight:function(){return new(Bridge.GeneratorEnumerable$1(Object))(Bridge.fn.bind(this,function(){var $step=0,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(Object))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-share-square",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f2),$t),[React.createElement("p",null,"Manage Social Preview")]))),$step=1,!0;case 1:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Add Group",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-users",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f3),$t),[React.createElement("p",null,"Add a Team")]))),$step=2,!0;case 2:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Manage Tracking Script",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-code",$t.onClick=$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f4,$t),[React.createElement("p",null,"Manage Tracking Script")]))),$step=3,!0;case 3:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Preview Desktop",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-desktop",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f5),$t),[React.createElement("p",null,"Desktop Preview")]))),$step=4,!0;case 4:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Mobile Preview",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-mobile",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f6),$t),[React.createElement("p",null,"Mobile Preview")]))),$step=5,!0;case 5:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Save Changes",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-save",$t.attributes={id:"editor-save",className:"button is-light"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f9),$t),[React.createElement("p",Bridge.React.fixAttr({id:"editor-save-button"}),"Save Draft")]))),$step=6,!0;case 6:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Publish",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-thumbs-up",$t.attributes={className:"button is-success"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f11),$t),[React.createElement("p",null,"Publish to Live")]))),$step=7,!0;case 7:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},preview:function(w,h){var tcs=this.saveDocument(),newtab=window.open(System.String.format("Loading",null),"_blank",System.String.format("width=640x, height=480px",null));tcs.continueWith(Bridge.fn.bind(this,function(){newtab.location.href=(this.unwrappedProps.meta.context.appealUrl(this.unwrappedProps.meta)||"")+"?editor_review=true";newtab.resizeTo(w,h);window.location.reload(!0)}))},saveElement:function(){var $t;return new UIComponents.Modal(($t=new UIComponents.Modal.Props,$t.active=this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.saving||this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.startSave,$t),[React.createElement("div",Bridge.React.fixAttr({className:"columns"}),React.createElement("div",Bridge.React.fixAttr({className:"column has-text-centered"}),React.createElement("h1",Bridge.React.fixAttr({className:"title is-2",style:{color:"white"}}),this.unwrappedProps.savingProcess+" %"),React.createElement("h1",Bridge.React.fixAttr({className:"title is-2",style:{color:"white"}}),this.unwrappedProps.savingProcess<100?"Saving, please wait...":"Uploading page to the cloud..."),React.createElement("figure",Bridge.React.fixAttr({style:{width:"20vw",margin:"auto"}}),Bridge.React.StatelessComponent$1(UIComponents.Components.ProgressBar.Props).op_Implicit(new UIComponents.Components.ProgressBar(($t=new UIComponents.Components.ProgressBar.Props,$t.fraction=System.Decimal(this.unwrappedProps.savingProcess).div(System.Decimal(100)),$t))))))])},saveDocument:function(toPublish){toPublish===void 0&&(toPublish=!1);var tcs=new System.Threading.Tasks.TaskCompletionSource;return UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,function(s){s.saveTask=tcs;s.saveState=UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.startSave;s.hideControls=!0;s.isPublished=toPublish;s.modal=null}),tcs.task},componentDidUpdateWrapped:function(previousProps,previousState){this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.startSave&&window.setTimeout(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f14),50);Bridge.React.Component$2(UIComponents.Apps.AppealEditor.AppealEditorApp.Props,UIComponents.Apps.AppealEditor.AppealEditorApp.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())},silentSave:function(){var $t,inner,data,html,action;document.getElementById("editor-save").disabled=!0;inner=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps)||this.unwrappedProps.inner.firstElementChild;data=new ViewModels.AppealPage;data.donationInfo=($t=new ViewModels.DonateFormModel,$t.charityId=this.unwrappedProps.meta.charityId,$t.title=this.unwrappedProps.meta.title,$t.context=this.unwrappedProps.meta.context.$clone(),$t);html=inner.innerHTML;data.html=encodeURI(html);action="/Account/Appeal/SilentSave";UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.ViewModels.AppealPage,System.String.format("{0}",[action]),"POST",!0,data,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f15).continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f17))},completeSaving:function(){var $t,pagedocument=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLDivElement,document.body,"data-document")).single(),data=new ViewModels.AppealPage,html;data.donationInfo=($t=new ViewModels.DonateFormModel,$t.charityId=this.unwrappedProps.meta.charityId,$t.title=this.unwrappedProps.meta.title,$t.context=this.unwrappedProps.meta.context.$clone(),$t);html=pagedocument.innerHTML;data.html=encodeURI(html);var tcs=this.unwrappedState.saveTask,OnProcessing=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f18),action=this.unwrappedState.isPublished?"Publish":"Save";UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.ViewModels.AppealPage,System.String.format("{0}",[action]),"POST",!0,data,function(r){r.overrideMimeType("application/json");r.setRequestHeader("Content-Type","application/json");r.upload.addEventListener("progress",function(e){Bridge.staticEquals(OnProcessing,null)?null:OnProcessing(r,e)})}).continueWith(Bridge.fn.bind(this,function(x){if(x.exception!=null)window.alert("Oops! Unexpected Error: "+(x.exception.Message||"")+"\nPlease contact administrator for help."),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f16);else{var res=JSON.parse(x.getResult().responseText);System.Boolean.parse(Bridge.toString(res.success))?(UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f20),tcs.setResult(0)):(window.alert(System.String.concat("Oops! ",res.message)),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f19))}}));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f21)},discardModal:function(key){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=key,$t.active=!0,$t.onSubmit=$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f22,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f24),$t.title=System.String.format("Discard Pending Changes",null),$t.message=System.String.format("This action will discard all your pending changes and reset to your current 'Published Version'. Do you want to proceed?",null),$t},publishModal:function(key){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=key,$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f25),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f24),$t.title=System.String.format("Publish Donation page",null),$t.message=System.String.format("Are you sure you want to Publish these changes and start receiving live donations?",null),$t},groupModal:function(key,title,iframeSrc,iframeHeight,iframeWidth){var $t;return $t=new UIComponents.IframeModal.Props,$t.key=key,$t.active=!0,$t.title=title,$t.iframeSrc=iframeSrc,$t.iframeHeight=iframeHeight,$t.iframeWidth=iframeWidth,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f27),$t}}});Bridge.ns("UIComponents.Apps.AppealEditor.AppealEditorApp",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp,{f1:function(e){return System.String.equals(e.getAttribute("name"),Bridge.Reflection.getTypeName(UIComponents.Apps.AppealEditor.AppealEditorApp),5)},f2:function(){var apiUrl=GiveEasy.Shared.Extensions.apiUrl(window.location.href);window.location.assign(System.String.format("{0}Portal/Appeal/Manage/SocialSharing?appealUUID={1}",apiUrl,this.unwrappedProps.meta.context.appealUUID))},f3:function(){var apiUrl=GiveEasy.Shared.Extensions.apiUrl(window.location.href),createGroupUrl=System.String.format("{0}Campaigns/Groups/Create?appeal={1}&charityid={2}",apiUrl,GiveEasy.Shared.Extensions.toLowerFragment(this.unwrappedProps.meta.title),Bridge.box(this.unwrappedProps.meta.charityId,System.Int32)),iframe_modal=this.groupModal("add_group","",createGroupUrl,650,550);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,function(s){s.iframeGroupModal=iframe_modal})},f4:function(){window.document.getElementById("btnTrackButton").click()},f5:function(){this.preview(window.outerWidth,window.outerHeight)},f6:function(){this.preview(375,window.outerHeight)},f7:function(s){s.saveTask=null;s.saveState=UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.ready;s.hideControls=!1},f8:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f7)},f9:function(){if(!document.getElementById("editor-save").disabled){var tcs=this.saveDocument();tcs.continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f8))}},f10:function(s){s.hideControls=!0},f11:function(){var confirm_publish=this.publishModal("Confirm Publish Model");UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f10);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,function(s){s.modal=confirm_publish})},f12:function(s){s.hideControls=!1},f13:function(){this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.startSave?this.completeSaving():this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.saving&&UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f12)},f14:function(){window.requestAnimationFrame(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f13))},f15:function(r){r.overrideMimeType("application/json");r.setRequestHeader("Content-Type","application/json")},f16:function(s){s.saveState=UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.error},f17:function(x){if(x.exception!=null)window.alert("Oops! Unexpected Error: "+(x.exception.Message||"")+"\nPlease contact administrator for help."),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f16);else{var res=JSON.parse(x.getResult().responseText);System.Boolean.parse(Bridge.toString(res.success))||(window.alert(System.String.concat("Oops! ",res.message)),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f16))}document.getElementById("editor-save").disabled=!1;document.getElementById("editor-save-button").innerHTML="Save Draft"},f18:function(sender,e){if(this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.saving){var total=System.Int32.parse(Bridge.toString(e.total))===0?100:System.Int32.parse(Bridge.toString(e.total)),loaded=System.Int32.parse(Bridge.toString(e.loaded)),percentage=Bridge.Math.round(loaded/total*100,0,6);this.unwrappedProps.savingProcess=Bridge.Int.clip32(percentage);this.setWrappedStateAsync(this.unwrappedState.$clone())}},f19:function(s){s.saveTask=null;s.saveState=UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.error;s.hideControls=!1},f20:function(s){s.saveState=UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.ready},f21:function(s){s.saveState=UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState.saving},f22:function(){window.location.search="?startFresh=true"},f23:function(s){s.modal=null},f24:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f23)},f25:function(){var newtab=window.open(System.String.format("Loading",null),"_blank",System.String.format("width=640x, height=480px",null));System.Threading.Tasks.Task.delay(100).continueWith(Bridge.fn.bind(this,function(){var tcs=this.saveDocument(!0);tcs.continueWith(Bridge.fn.bind(this,function(){var $t1,url;UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f7);newtab.location.href=this.unwrappedProps.meta.context.appealUrl(this.unwrappedProps.meta);newtab.resizeTo(window.outerWidth,window.outerHeight);url=($t1=window.location.href.split("?"))[System.Array.index(0,$t1)];window.location.href=System.String.format("{0}?uuid={1}",url,this.unwrappedProps.meta.context.appealUUID)}))}))},f26:function(s){s.iframeGroupModal=null},f27:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.AppealEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.AppealEditorApp.f26)}});Bridge.define("UIComponents.Apps.AppealEditor.AppealLI",{inherits:[Bridge.React.Component$2(UIComponents.Apps.AppealEditor.AppealLI.Props,UIComponents.Apps.AppealEditor.AppealLI.State)],events:{didUpdate:null},ctors:{init:function(){Bridge.event(this,"didUpdate",$asm.$.UIComponents.Apps.AppealEditor.AppealLI.f1)},ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.AppealEditor.AppealLI.Props,UIComponents.Apps.AppealEditor.AppealLI.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Apps.AppealEditor.AppealLI.State,$t.modal=null,$t},element:function(item){var href=this.getHref(item),attrs={href:href};return attrs["data-tooltip"]=href,React.createElement("a",Bridge.React.fixAttr(attrs),item.title)},getHref:function(item){return this.unwrappedProps.context.appealUrl(item)},catchAndAlertFor:function(U,task){var $step=0,$task1,$taskResult1,$task2,$tcs=new System.Threading.Tasks.TaskCompletionSource,result,ex,$t,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([1,2,3,4,5],$step);switch($step){case 1:$task1=task;$step=2;$task1.continueWith($asyncBody);return;case 2:$taskResult1=$task1.getAwaitedResult();result=$taskResult1;$tcs.setResult(result);return;case 3:$task2=this.setWrappedStateAsync(($t=new UIComponents.Apps.AppealEditor.AppealLI.State,$t.modal=this.errorModal(ex.message$1),$t));$step=4;$task2.continueWith($asyncBody);return;case 4:$task2.getAwaitedResult();$async_e=null;$step=5;continue;case 5:$tcs.setResult(Bridge.getDefaultValue(U));return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=2&&Bridge.is($async_e,GiveEasy.Shared.ODataException)){ex=$async_e;$step=3;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},render:function(){var $t,$t1,confirm_delete=this.deleteModal(this.unwrappedProps.item),delete_button=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.AppealLI.State,$t1.modal=confirm_delete,$t1))}),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-minus-square",style:{color:"#cc0000"}}),null))])),button=delete_button;return this.unwrappedProps.create!=null&&(button=this.unwrappedProps.create),React.createElement("li",Bridge.React.fixAttr({key:GiveEasy.Shared.Extensions.localKey(this.unwrappedProps.item)}),button,this.element(this.unwrappedProps.item),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t=this.unwrappedState.modal)!=null&&($t1=Bridge.getType($t))!=null?Bridge.Reflection.getTypeFullName($t1):null,this.unwrappedState.modal))},errorModal:function(message){var $t;return $t=new UIComponents.InfoModal.Props,$t.key=GiveEasy.Shared.Extensions.toSeoFriendly(message),$t.active=!0,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealLI.f2),$t.title=System.String.format("Operation failed",null),$t.message=message,$t},deleteModal:function(item){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=GiveEasy.Shared.Extensions.localKey(item),$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,function(){var $step=0,$task1,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=this.tryDelete(item);$step=1;$task1.continueWith($asyncBody,!0);return;case 1:$task1.getAwaitedResult();return;default:return}}},arguments);$asyncBody()}),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealLI.f2),$t.title=System.String.format("Are you sure you want to delete the alias title: {0}?",[item.title]),$t.message=System.String.format("The Tracking URL {0} will stop working. \n If you have already shared {1} with your donors, they will not be able to visit this link.",this.getHref(item),this.getHref(item)),$t},tryDelete:function(item){var $step=0,$task1,$taskResult1,$task2,$tcs=new System.Threading.Tasks.TaskCompletionSource,error_modal,$t,ex,status,$async_e,$t1,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4,5],$step);switch($step){case 0:error_modal=null;$step=1;continue;case 1:item.UUID=($t=item.UUID,$t!=null?$t:(new System.Guid.ctor).toString());$task1=this.unwrappedProps.collection.delete(item,System.String.format("(uuid='{0}',title='{1}')",item.UUID,item.title));$step=2;$task1.continueWith($asyncBody);return;case 2:$taskResult1=$task1.getAwaitedResult();$step=4;continue;case 3:status=ex.statusCode();status===412&&(error_modal=this.errorModal(System.String.format("Deleting or renaming {0} would remove the links for 1 or more Teams. Please delete all teams first.",[item.title])));$async_e=null;$step=4;continue;case 4:$task2=this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.AppealLI.State,$t1.modal=error_modal,$t1));$step=5;$task2.continueWith($asyncBody);return;case 5:$task2.getAwaitedResult();$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=2&&Bridge.is($async_e,GiveEasy.Shared.HttpRequestException)){ex=$async_e;$step=3;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task}}});Bridge.ns("UIComponents.Apps.AppealEditor.AppealLI",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.AppealLI,{f1:function(){},f2:function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.AppealLI.State,$t1.modal=null,$t1))}});Bridge.define("UIComponents.Apps.AppealEditor.AppealUL",{inherits:[UIComponents.Collections.ODataCollection$2(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Collections.ODataCollection$2(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){return this.unwrappedProps.context=Newtonsoft.Json.JsonConvert.DeserializeObject(this.unwrappedProps.inner.getAttribute("data-context"),ViewModels.ReactContext.AppealTitleContext).$clone(),UIComponents.Collections.ODataCollection$2(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext).prototype.constructorStateInitialiser.call(this)},componentDidMount:function(){var UpdateField=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.ApiRefreshDispatcher);UpdateField.add(UIComponents.Dispatchers.UpdateFieldDispatcher.UpdateFieldEventArgs,Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealUL.f1));UIComponents.Collections.ODataCollection$2(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext).prototype.componentDidMount.call(this)},"delete":function(item,qparams,altsrc){if(qparams===void 0&&(qparams=""),altsrc===void 0&&(altsrc=null),!System.String.isNullOrWhiteSpace(altsrc))return UIComponents.Collections.ODataCollection$2(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext).prototype.delete.call(this,item,qparams,altsrc);var baseurl=window.location.href,apiurl=GiveEasy.Shared.Extensions.apiUrl(baseurl),p1=System.Linq.Enumerable.from(this.unwrappedProps.oDataSrc.split("//")).last(),i1=System.String.indexOf(p1,String.fromCharCode(47)),path=p1.substr(i1),src=(System.String.trimEnd(apiurl,[47])||"")+(path||"");return UIComponents.Collections.ODataCollection$2(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext).prototype.delete.call(this,item,qparams,src)},render:function(){var $t,$t1,createbutton=new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.AppealUL.f2),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-plus-square",style:{color:"#00bfe7"}}),null))]),items=Bridge.React.ReactElementList.empty,n=0,i;$t=Bridge.getEnumerator(this.unwrappedState.items);try{while($t.moveNext())i=$t.Current,items=items.add(Bridge.React.Component$2(UIComponents.Apps.AppealEditor.AppealLI.Props,UIComponents.Apps.AppealEditor.AppealLI.State).op_Implicit(new UIComponents.Apps.AppealEditor.AppealLI(($t1=new UIComponents.Apps.AppealEditor.AppealLI.Props(this.unwrappedProps.context.$clone()),$t1.item=i,$t1.collection=this,$t1.create=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(n===0?createbutton:null),$t1)))),n=n+1|0}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return this.unwrappedState.newItem!=null&&(items=items.add(Bridge.React.Component$2(UIComponents.Apps.AppealEditor.AppealLI.Props,UIComponents.Apps.AppealEditor.AppealLI.State).op_Implicit(new UIComponents.Apps.AppealEditor.NewAppealLI(($t1=new UIComponents.Apps.AppealEditor.AppealLI.Props(this.unwrappedProps.context.$clone()),$t1.key=this.unwrappedProps.innerID,$t1.item=this.unwrappedState.newItem,$t1.collection=this,$t1))))),React.createElement("ul",null,System.Linq.Enumerable.from(items).toArray())}}});Bridge.ns("UIComponents.Apps.AppealEditor.AppealUL",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.AppealUL,{f1:function(){var $step=0,$task1,$taskResult1,evt,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=this.refreshAsync();$step=1;$task1.continueWith($asyncBody,!0);return;case 1:$taskResult1=$task1.getAwaitedResult();return;default:return}}},arguments);$asyncBody()},f2:function(){this.new(this.unwrappedProps.template)}});Bridge.define("UIComponents.Apps.AppealEditor.EditableTileContainer",{inherits:[Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State)],statics:{methods:{buildElement:function(e,p){var $t,wrapped;return((e.firstElementChild!=null?e.firstElementChild.firstElementChild:null)!=null&&e.firstElementChild.firstElementChild.hasAttribute("data-reactroot")&&(e=e.firstElementChild),wrapped=new UIComponents.Apps.AppealEditor.EditableTileContainer(($t=new UIComponents.Apps.AppealEditor.EditableTileContainer.Props,$t.inner=e,$t.innerID=e.id,$t.canShow=p.canShow,$t)),System.Linq.Enumerable.from(p.controls).any()||p.canEdit||p.canMove||p.canNotEdit)?Bridge.React.Component$2(UIComponents.Components.Configurable.TileWrapper.Props,UIComponents.Components.Configurable.TileWrapper.State).op_Implicit(new UIComponents.Components.Configurable.TileWrapper(p,[Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).op_Implicit$1(wrapped)])):Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).op_Implicit(wrapped)},construct:function(props,children){var $t,$t1;children===void 0&&(children=[]);var tag=($t=props!=null&&($t1=props.inner)!=null&&$t1.tagName!=null?$t1.tagName.toLowerCase():null,$t!=null?$t:"div"),key=System.String.format("{0}_{1}",props.innerID,Bridge.box(props.canShow,System.Boolean,System.Boolean.toString)),id=props.innerID,htmlElement=props.inner;return UIComponents.Services.ReactBuilder.convert(htmlElement,tag,id,key,children)}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).ctor.call(this,props,children)}},methods:{componentWillMount:function(){var $t;this.unwrappedProps.innerID=($t=this.unwrappedProps.innerID,$t!=null?$t:"x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||""));Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).prototype.componentWillMount.call(this)},constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Apps.AppealEditor.EditableTileContainer.State,$t.componentChildren=new(System.Collections.Generic.List$1(System.Object).ctor),$t},componentDidMount:function(){var $t,components=new(System.Collections.Generic.List$1(System.Object).ctor),inner=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps);inner!=null&&(System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLElement,inner)).any(function(e){return Bridge.referenceEquals(e.id,inner.id)})||components.addRange(System.Linq.Enumerable.from(this.convertToReact(inner)).toList(Bridge.global.System.Object)));this.setWrappedState(($t=new UIComponents.Apps.AppealEditor.EditableTileContainer.State,$t.componentChildren=components,$t))},convertToReact:function(){return new(Bridge.GeneratorEnumerable$1(System.Object))(Bridge.fn.bind(this,function(inner){var $step=0,cc,uniqueids,$t,c,child,unwrapped,twprops,id,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(System.Object))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:inner=UIComponents.Services.ReactBuilder.convertTextNodes(inner);cc=inner.children||new HTMLCollection;uniqueids=new(System.Collections.Generic.HashSet$1(System.String).ctor);$t=Bridge.getEnumerator(cc);$step=1;continue;case 1:if($t.moveNext()){c=$t.Current;$step=2;continue}$step=4;continue;case 2:return unwrapped=UIComponents.IContainerPropsExtensions.unwrapElement(c),twprops=UIComponents.Components.Configurable.TileWrapper.Props.fromElement(unwrapped),twprops.canShow=this.unwrappedProps.canShow,child=unwrapped,id=child.id,(System.String.isNullOrWhiteSpace(id)||uniqueids.contains(id))&&(child.id="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||"")),uniqueids.add(child.id),$enumerator.current={item1:child,item2:twprops},$step=3,!0;case 3:$step=1;continue;case 4:return!1;default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator},arguments))},render:function(){var $t,components=this.unwrappedState.componentChildren,els=System.Linq.Enumerable.from(components).select(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EditableTileContainer.f2)),elements=els.select($asm.$.UIComponents.Apps.AppealEditor.EditableTileContainer.f3).toArray(System.Object);return UIComponents.Apps.AppealEditor.EditableTileContainer.construct(($t=new UIComponents.Apps.AppealEditor.EditableTileContainer.Props,$t.inner=this.unwrappedProps.inner,$t.innerID=this.unwrappedProps.innerID,$t.canShow=this.unwrappedProps.canShow,$t),elements)}}});Bridge.ns("UIComponents.Apps.AppealEditor.EditableTileContainer",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.EditableTileContainer,{f1:function(){this.componentDidMount()},f2:function(c){var e=document.getElementById(c.item1.id)||c.item1,p=c.item2;return p.canShow=this.unwrappedProps.canShow,(System.Linq.Enumerable.from(p.controls).any()||p.canEdit)&&(p.onChildUpdated=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EditableTileContainer.f1)),UIComponents.Apps.AppealEditor.EditableTileContainer.buildElement(e,p)},f3:function(c){return Bridge.cast(c,System.Object)}});Bridge.define("UIComponents.Apps.AppealEditor.EmailEditorApp",{inherits:[Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EmailEditorApp.Props,UIComponents.Apps.AppealEditor.EmailEditorApp.State)],statics:{methods:{getInforOrDefault:function(){try{var meta=System.Linq.Enumerable.from(document.getElementsByTagName("meta")).first($asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f1);return Newtonsoft.Json.JsonConvert.DeserializeObject(meta.getAttribute("props"),ViewModels.EmailTemplateMetaModel)}catch($e1){return $e1=System.Exception.create($e1),new ViewModels.EmailTemplateMetaModel}},getEmailSettingsModelOrDefault:function(){try{var config=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f2);return Newtonsoft.Json.JsonConvert.DeserializeObject(config.getAttribute("data-email-settings"),ViewModels.EmailSettingsModel)}catch($e1){return $e1=System.Exception.create($e1),new ViewModels.EmailSettingsModel}}}},ctors:{ctor:function(props){this.$initialize();Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EmailEditorApp.Props,UIComponents.Apps.AppealEditor.EmailEditorApp.State).ctor.call(this,props)}},methods:{constructorStateInitialiser:function(){var $t,tcs=new System.Threading.Tasks.TaskCompletionSource;return tcs.setResult(0),$t=new UIComponents.Apps.AppealEditor.EmailEditorApp.State,$t.saveState=UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.ready,$t.hideControls=!1,$t},componentWillMount:function(){var viewmodel=UIComponents.Apps.AppealEditor.EmailEditorApp.getEmailSettingsModelOrDefault(),viewinfor=UIComponents.Apps.AppealEditor.EmailEditorApp.getInforOrDefault();UIComponents.IContainerPropsExtensions.createInnerComponent(this.unwrappedProps);this.unwrappedProps.meta=viewmodel;this.unwrappedProps.infor=viewinfor},componentDidMount:function(){this.unwrappedProps.inner=null;Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EmailEditorApp.Props,UIComponents.Apps.AppealEditor.EmailEditorApp.State).prototype.componentDidMount.call(this)},render:function(){var $t,$t1,message=UIComponents.XBrowser.browserNotSupported("creating and editing receipt pages",[UIComponents.WebBrowser.IE,UIComponents.WebBrowser.safari,UIComponents.WebBrowser.firefox]),timeLeft,timeSpent;if(message!=null)return message;timeLeft=60;timeSpent=0;window.setInterval(Bridge.fn.bind(this,function(){timeLeft===0?(timeLeft=60,this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.saving||this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.startSave||document.getElementById("editor-save").disabled||(document.getElementById("editor-save-button").innerHTML="Auto Saving...",timeLeft=timeLeft+timeSpent|0,timeSpent=0,this.silentSave())):document.getElementById("editor-save").disabled?timeSpent=timeSpent+1|0:timeLeft=timeLeft-1|0}),1e3);var inner=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps)||this.unwrappedProps.inner.firstElementChild,tile=new UIComponents.Apps.AppealEditor.EditableTileContainer(($t=new UIComponents.Apps.AppealEditor.EditableTileContainer.Props,$t.inner=inner,$t.innerID=this.unwrappedProps.innerID,$t.canShow=!this.unwrappedState.hideControls,$t)),save_modal=this.saveElement();return React.createElement("div",Bridge.React.fixAttr({className:"columns is-vcentered"}),React.createElement("div",Bridge.React.fixAttr({className:"column"}),Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).op_Implicit$1(tile),this.controlMenu()),Bridge.React.StatelessComponent$1(UIComponents.Modal.Props).op_Implicit$1(save_modal),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t=this.unwrappedState.modal)!=null&&($t1=Bridge.getType($t))!=null?Bridge.Reflection.getTypeFullName($t1):null,this.unwrappedState.modal))},controlMenu:function(){return React.createElement("div",Bridge.React.fixAttr({className:"navbar-menu columns notification is-dark is-paddingless",style:{position:"fixed",top:88,left:0,width:"calc(100% - 2px)"}}),React.createElement("div",Bridge.React.fixAttr({key:"navbar-start",className:"navbar-start"}),null),React.createElement("div",Bridge.React.fixAttr({key:"navbar-end",className:"navbar-end"}),System.Linq.Enumerable.from(this.controlsRight()).toArray()))},controlsRight:function(){return new(Bridge.GeneratorEnumerable$1(Object))(Bridge.fn.bind(this,function(){var $step=0,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(Object))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Preview Draft",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-envelope",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f3),$t),[React.createElement("p",null,"Send Current Version")]))),$step=1,!0;case 1:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Save Changes",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-save",$t.attributes={id:"editor-save",className:"button is-light"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f6),$t),[React.createElement("p",Bridge.React.fixAttr({id:"editor-save-button"}),"Save Draft")]))),$step=2,!0;case 2:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Publish",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-thumbs-up",$t.attributes={className:"button is-success"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f8),$t),[React.createElement("p",null,"Publish to Live")]))),$step=3,!0;case 3:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},preview:function(isDraft){var person=window.prompt("Please enter your email address","sample@email.com"),tcs;person!=null&&(tcs=this.saveDocument(),tcs.continueWith(Bridge.fn.bind(this,function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f4);var fd=new FormData;fd.append("email",person);fd.append("isDraft",System.Boolean.toString(isDraft));fd.append("title",this.unwrappedProps.infor.title);fd.append("uuid",this.unwrappedProps.infor.compoundUUID);UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.FormData,System.String.format("Sample",null),"POST",!0,fd,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f9).continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f11))})))},saveElement:function(){var $t;return new UIComponents.Modal(($t=new UIComponents.Modal.Props,$t.active=this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.saving||this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.startSave,$t),[React.createElement("div",Bridge.React.fixAttr({className:"columns"}),React.createElement("div",Bridge.React.fixAttr({className:"column has-text-centered"}),React.createElement("h1",Bridge.React.fixAttr({className:"title is-2",style:{color:"white"}}),this.unwrappedProps.savingProcess+" %"),React.createElement("h1",Bridge.React.fixAttr({className:"title is-2",style:{color:"white"}}),this.unwrappedProps.savingProcess<100?"Saving, please wait...":"Uploading receipt to the cloud..."),React.createElement("figure",Bridge.React.fixAttr({style:{width:"20vw",margin:"auto"}}),Bridge.React.StatelessComponent$1(UIComponents.Components.ProgressBar.Props).op_Implicit(new UIComponents.Components.ProgressBar(($t=new UIComponents.Components.ProgressBar.Props,$t.fraction=System.Decimal(this.unwrappedProps.savingProcess).div(System.Decimal(100)),$t))))))])},saveDocument:function(toPublish){toPublish===void 0&&(toPublish=!1);var tcs=new System.Threading.Tasks.TaskCompletionSource;return UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,function(s){s.saveTask=tcs;s.saveState=UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.startSave;s.hideControls=!0;s.isPublished=toPublish;s.modal=null}),tcs.task},componentDidUpdateWrapped:function(previousProps,previousState){this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.startSave&&window.setTimeout(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f14),50);Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EmailEditorApp.Props,UIComponents.Apps.AppealEditor.EmailEditorApp.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())},silentSave:function(){var $t,inner,data,html,action;document.getElementById("editor-save").disabled=!0;inner=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps)||this.unwrappedProps.inner.firstElementChild;data=new ViewModels.ThankYouEmailPage;data.meta=($t=new ViewModels.EmailTemplateMetaModel,$t.charityId=this.unwrappedProps.infor.charityId,$t.title=this.unwrappedProps.infor.title,$t.compoundUUID=this.unwrappedProps.infor.compoundUUID,$t);html=inner.innerHTML;data.html=encodeURI(html);action="SilentSave";UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.ViewModels.ThankYouEmailPage,System.String.format("{0}",[action]),"POST",!0,data,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f15).continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f16))},completeSaving:function(){var $t,pagedocument=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLDivElement,document.body,"data-document")).single(),data=new ViewModels.ThankYouEmailPage,html;data.meta=($t=new ViewModels.EmailTemplateMetaModel,$t.charityId=this.unwrappedProps.infor.charityId,$t.title=this.unwrappedProps.infor.title,$t.compoundUUID=this.unwrappedProps.infor.compoundUUID,$t);html=pagedocument.innerHTML;data.html=encodeURI(html);var tcs=this.unwrappedState.saveTask,OnProcessing=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f17),action=this.unwrappedState.isPublished?"Publish":"Save";UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.ViewModels.ThankYouEmailPage,System.String.format("{0}",[action]),"POST",!0,data,function(r){r.overrideMimeType("application/json");r.setRequestHeader("Content-Type","application/json");r.upload.addEventListener("progress",function(e){Bridge.staticEquals(OnProcessing,null)?null:OnProcessing(r,e)})}).continueWith(Bridge.fn.bind(this,function(x){if(x.exception!=null)window.alert("Oops! Unexpected Error: "+(x.exception.Message||"")+"\nPlease contact administrator for help."),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f10);else{var res=JSON.parse(x.getResult().responseText);System.Boolean.parse(Bridge.toString(res.success))?(UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f18),tcs.setResult(0)):(window.alert(System.String.concat("Oops! ",res.message)),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f10),tcs.setResult(0))}}));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f19)},discardModal:function(key){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=key,$t.active=!0,$t.onSubmit=$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f20,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f22),$t.title=System.String.format("Discard Pending Changes",null),$t.message=System.String.format("This action will discard all your pending changes and reset to your current 'Published Version'. Do you want to proceed?",null),$t},publishModal:function(key){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=key,$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f25),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f22),$t.title=System.String.format("Publish Receipt Template",null),$t.message=System.String.format("Are you sure you want to Publish these changes and start receiving live donations?",null),$t}}});Bridge.ns("UIComponents.Apps.AppealEditor.EmailEditorApp",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp,{f1:function(e){return System.String.equals(e.getAttribute("name"),Bridge.Reflection.getTypeName(UIComponents.Apps.AppealEditor.EmailEditorApp),5)},f2:function(e){return System.String.equals(e.getAttribute("name"),"EmailSettings",5)},f3:function(){this.preview(!0)},f4:function(s){s.saveTask=null;s.saveState=UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.ready;s.hideControls=!1},f5:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f4)},f6:function(){if(!document.getElementById("editor-save").disabled){var tcs=this.saveDocument();tcs.continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f5))}},f7:function(s){s.hideControls=!0},f8:function(){var confirm_publish=this.publishModal("Confirm Publish Model");UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f7);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,function(s){s.modal=confirm_publish})},f9:function(r){r.overrideMimeType("application/json")},f10:function(s){s.saveState=UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.error},f11:function(y){if(y.exception!=null)window.alert("Oops! Unexpected Error: "+(y.exception.Message||"")+"\nPlease contact administrator for help."),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f10);else{var res=JSON.parse(y.getResult().responseText);System.Boolean.parse(Bridge.toString(res.success))?UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f4):(window.alert(System.String.concat("Oops! ",res.message)),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f10))}},f12:function(s){s.hideControls=!1},f13:function(){this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.startSave?this.completeSaving():this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.saving&&UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f12)},f14:function(){window.requestAnimationFrame(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f13))},f15:function(r){r.overrideMimeType("application/json");r.setRequestHeader("Content-Type","application/json")},f16:function(x){if(x.exception!=null)window.alert("Oops! Unexpected Error: "+(x.exception.Message||"")+"\nPlease contact administrator for help."),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f10);else{var res=JSON.parse(x.getResult().responseText);System.Boolean.parse(Bridge.toString(res.success))||(window.alert(System.String.concat("Oops! ",res.message)),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f10))}document.getElementById("editor-save").disabled=!1;document.getElementById("editor-save-button").innerHTML="Save Draft"},f17:function(sender,e){if(this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.saving){var total=System.Int32.parse(Bridge.toString(e.total))===0?100:System.Int32.parse(Bridge.toString(e.total)),loaded=System.Int32.parse(Bridge.toString(e.loaded)),percentage=Bridge.Math.round(loaded/total*100,0,6);this.unwrappedProps.savingProcess=Bridge.Int.clip32(percentage);this.setWrappedStateAsync(this.unwrappedState.$clone())}},f18:function(s){s.saveState=UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.ready},f19:function(s){s.saveState=UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState.saving},f20:function(){window.location.search="?startFresh=true"},f21:function(s){s.modal=null},f22:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f21)},f23:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.EmailEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f4)},f24:function(){var tcs=this.saveDocument(!0);tcs.continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f23))},f25:function(){System.Threading.Tasks.Task.delay(100).continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.EmailEditorApp.f24))}});Bridge.define("UIComponents.Apps.AppealEditor.ReceiptLI",{inherits:[Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ReceiptLI.Props,UIComponents.Apps.AppealEditor.ReceiptLI.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ReceiptLI.Props,UIComponents.Apps.AppealEditor.ReceiptLI.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Apps.AppealEditor.ReceiptLI.State,$t.modal=null,$t.appealUUID=this.unwrappedProps.item.appealUUID,$t},element:function(item){var href=this.getHref(item);return React.createElement("span",null,item.title)},getHref:function(item){return this.unwrappedProps.context.reviewPageUrl(item)},catchAndAlertFor:function(U,task){var $step=0,$task1,$taskResult1,$task2,$tcs=new System.Threading.Tasks.TaskCompletionSource,ex,$t,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([1,2,3,4,5],$step);switch($step){case 1:$task1=task;$step=2;$task1.continueWith($asyncBody);return;case 2:$taskResult1=$task1.getAwaitedResult();$tcs.setResult($taskResult1);return;case 3:$task2=this.setWrappedStateAsync(($t=new UIComponents.Apps.AppealEditor.ReceiptLI.State,$t.modal=this.errorModal(ex.message$1),$t));$step=4;$task2.continueWith($asyncBody);return;case 4:$task2.getAwaitedResult();$async_e=null;$step=5;continue;case 5:$tcs.setResult(Bridge.getDefaultValue(U));return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=2&&Bridge.is($async_e,GiveEasy.Shared.ODataException)){ex=$async_e;$step=3;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},render:function(){var $t,$t1,confirm_delete=this.deleteModal(this.unwrappedProps.item),delete_button=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.ReceiptLI.State,$t1.modal=confirm_delete,$t1))}),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-minus-square",style:{color:"#cc0000"}}),null))])),button=delete_button;return React.createElement("li",Bridge.React.fixAttr({key:GiveEasy.Shared.Extensions.localKey(this.unwrappedProps.item),className:"layout-grouping layout-grouping--tiny"}),this.unwrappedProps.create!=null?this.unwrappedProps.create:null,this.element(this.unwrappedProps.item),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t=this.unwrappedState.modal)!=null&&($t1=Bridge.getType($t))!=null?Bridge.Reflection.getTypeFullName($t1):null,this.unwrappedState.modal))},errorModal:function(message){var $t;return $t=new UIComponents.InfoModal.Props,$t.key=GiveEasy.Shared.Extensions.toSeoFriendly(message),$t.active=!0,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.ReceiptLI.f1),$t.title=System.String.format("Operation failed",null),$t.message=message,$t},deleteModal:function(item){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=GiveEasy.Shared.Extensions.localKey(item),$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,function(){var $step=0,$task1,$taskResult1,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=this.catchAndAlertFor(Bridge.global.XMLHttpRequest,this.unwrappedProps.collection.delete(item));$step=1;$task1.continueWith($asyncBody,!0);return;case 1:$taskResult1=$task1.getAwaitedResult();return;default:return}}},arguments);$asyncBody()}),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.ReceiptLI.f1),$t.title=System.String.format("Are you sure you want to delete the alias title: {0}?",[item.title]),$t.message=System.String.format("The Tracking URL {0} will stop working. \n If you have already shared {1} with your donors, they will not be able to visit this link.",this.getHref(item),this.getHref(item)),$t}}});Bridge.ns("UIComponents.Apps.AppealEditor.ReceiptLI",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.ReceiptLI,{f1:function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.ReceiptLI.State,$t1.modal=null,$t1))}});Bridge.define("UIComponents.Apps.AppealEditor.ThankyouPageLI",{inherits:[Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ThankyouPageLI.Props,UIComponents.Apps.AppealEditor.ThankyouPageLI.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ThankyouPageLI.Props,UIComponents.Apps.AppealEditor.ThankyouPageLI.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Apps.AppealEditor.ThankyouPageLI.State,$t.modal=null,$t.appealUUID=this.unwrappedProps.item.appealUUID,$t},element:function(item){var href=this.getHref(item),attrs={href:href};return attrs["data-tooltip"]=href,React.createElement("a",Bridge.React.fixAttr(attrs),item.title)},getHref:function(item){return this.unwrappedProps.context.reviewPageUrl(item,!1)},catchAndAlertFor:function(U,task){var $step=0,$task1,$taskResult1,$task2,$tcs=new System.Threading.Tasks.TaskCompletionSource,ex,$t,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([1,2,3,4,5],$step);switch($step){case 1:$task1=task;$step=2;$task1.continueWith($asyncBody);return;case 2:$taskResult1=$task1.getAwaitedResult();$tcs.setResult($taskResult1);return;case 3:$task2=this.setWrappedStateAsync(($t=new UIComponents.Apps.AppealEditor.ThankyouPageLI.State,$t.modal=this.errorModal(ex.message$1),$t));$step=4;$task2.continueWith($asyncBody);return;case 4:$task2.getAwaitedResult();$async_e=null;$step=5;continue;case 5:$tcs.setResult(Bridge.getDefaultValue(U));return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=2&&Bridge.is($async_e,GiveEasy.Shared.ODataException)){ex=$async_e;$step=3;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},render:function(){var $t,$t1,confirm_delete=this.deleteModal(this.unwrappedProps.item),delete_button=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button icon is-white is-small"},$t.onClick=Bridge.fn.bind(this,function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.ThankyouPageLI.State,$t1.modal=confirm_delete,$t1))}),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-minus-square",style:{color:"#cc0000"}}),null))])),button=delete_button;return React.createElement("li",Bridge.React.fixAttr({key:GiveEasy.Shared.Extensions.localKey(this.unwrappedProps.item),className:"layout-grouping layout-grouping--tiny"}),this.unwrappedProps.create!=null?this.unwrappedProps.create:null,this.element(this.unwrappedProps.item),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t=this.unwrappedState.modal)!=null&&($t1=Bridge.getType($t))!=null?Bridge.Reflection.getTypeFullName($t1):null,this.unwrappedState.modal))},errorModal:function(message){var $t;return $t=new UIComponents.InfoModal.Props,$t.key=GiveEasy.Shared.Extensions.toSeoFriendly(message),$t.active=!0,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.ThankyouPageLI.f1),$t.title=System.String.format("Operation failed",null),$t.message=message,$t},deleteModal:function(item){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=GiveEasy.Shared.Extensions.localKey(item),$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,function(){var $step=0,$task1,$taskResult1,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=this.catchAndAlertFor(Bridge.global.XMLHttpRequest,this.unwrappedProps.collection.delete(item));$step=1;$task1.continueWith($asyncBody,!0);return;case 1:$taskResult1=$task1.getAwaitedResult();return;default:return}}},arguments);$asyncBody()}),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.ThankyouPageLI.f1),$t.title=System.String.format("Are you sure you want to delete the alias title: {0}?",[item.title]),$t.message=System.String.format("The Tracking URL {0} will stop working. \n If you have already shared {1} with your donors, they will not be able to visit this link.",this.getHref(item),this.getHref(item)),$t}}});Bridge.ns("UIComponents.Apps.AppealEditor.ThankyouPageLI",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.ThankyouPageLI,{f1:function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.ThankyouPageLI.State,$t1.modal=null,$t1))}});Bridge.define("UIComponents.Apps.AppealEditor.PageEditorApp",{inherits:[Bridge.React.Component$2(UIComponents.Apps.AppealEditor.PageEditorApp.Props,UIComponents.Apps.AppealEditor.PageEditorApp.State)],statics:{methods:{getMetaModelOrDefault:function(){try{var meta=System.Linq.Enumerable.from(document.getElementsByTagName("meta")).first($asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f1);return Newtonsoft.Json.JsonConvert.DeserializeObject(meta.getAttribute("props"),ViewModels.PageMetaModel)}catch($e1){return $e1=System.Exception.create($e1),null}}}},ctors:{ctor:function(props){this.$initialize();Bridge.React.Component$2(UIComponents.Apps.AppealEditor.PageEditorApp.Props,UIComponents.Apps.AppealEditor.PageEditorApp.State).ctor.call(this,props)}},methods:{constructorStateInitialiser:function(){var $t,tcs=new System.Threading.Tasks.TaskCompletionSource;return tcs.setResult(0),$t=new UIComponents.Apps.AppealEditor.PageEditorApp.State,$t.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.ready,$t.hideControls=!1,$t},componentWillMount:function(){var viewmodel=UIComponents.Apps.AppealEditor.PageEditorApp.getMetaModelOrDefault();UIComponents.IContainerPropsExtensions.createInnerComponent(this.unwrappedProps);this.unwrappedProps.meta=viewmodel},componentDidMount:function(){this.unwrappedProps.inner=null;var timeLeft=60,timeSpent=0;window.setInterval(Bridge.fn.bind(this,function(){timeLeft===0?(timeLeft=60,this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.saving||this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.startSave||this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.error||document.getElementById("editor-save").disabled||(document.getElementById("editor-save-button").innerHTML="Auto Saving...",timeLeft=timeLeft+timeSpent|0,timeSpent=0,this.silentSave())):document.getElementById("editor-save").disabled?timeSpent=timeSpent+1|0:timeLeft=timeLeft-1|0}),1e3);Bridge.React.Component$2(UIComponents.Apps.AppealEditor.PageEditorApp.Props,UIComponents.Apps.AppealEditor.PageEditorApp.State).prototype.componentDidMount.call(this)},render:function(){var $t,$t1,message=UIComponents.XBrowser.browserNotSupported("creating and editing pages",[UIComponents.WebBrowser.IE,UIComponents.WebBrowser.safari,UIComponents.WebBrowser.firefox]);if(message!=null)return message;var inner=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps)||this.unwrappedProps.inner.firstElementChild,tile=new UIComponents.Apps.AppealEditor.EditableTileContainer(($t=new UIComponents.Apps.AppealEditor.EditableTileContainer.Props,$t.inner=inner,$t.innerID=this.unwrappedProps.innerID,$t.canShow=!this.unwrappedState.hideControls,$t)),save_modal=this.saveElement();return React.createElement("div",Bridge.React.fixAttr({className:"columns is-vcentered"}),React.createElement("div",Bridge.React.fixAttr({className:"column"}),Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).op_Implicit$1(tile),this.controlMenu()),Bridge.React.StatelessComponent$1(UIComponents.Modal.Props).op_Implicit$1(save_modal),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t=this.unwrappedState.modal)!=null&&($t1=Bridge.getType($t))!=null?Bridge.Reflection.getTypeFullName($t1):null,this.unwrappedState.modal))},controlMenu:function(){return React.createElement("div",Bridge.React.fixAttr({className:"navbar-menu columns notification is-dark is-paddingless",style:{position:"fixed",top:88,left:0,width:"calc(100% - 2px)"}}),React.createElement("div",Bridge.React.fixAttr({key:"navbar-start",className:"navbar-start"}),null),React.createElement("div",Bridge.React.fixAttr({key:"navbar-end",className:"navbar-end"}),System.Linq.Enumerable.from(this.controlsRight()).toArray()))},controlsRight:function(){return new(Bridge.GeneratorEnumerable$1(Object))(Bridge.fn.bind(this,function(){var $step=0,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(Object))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Manage Tracking Script",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-code",$t.onClick=$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f2,$t),[React.createElement("p",null,"Manage Tracking Script")]))),$step=1,!0;case 1:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Preview Desktop",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-desktop",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f3),$t),[React.createElement("p",null,"Desktop Preview")]))),$step=2,!0;case 2:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Mobile Preview",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-mobile",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f4),$t),[React.createElement("p",null,"Mobile Preview")]))),$step=3,!0;case 3:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Save Changes",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-save",$t.attributes={id:"editor-save",className:"button is-light"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f7),$t),[React.createElement("p",Bridge.React.fixAttr({id:"editor-save-button"}),"Save Draft")]))),$step=4,!0;case 4:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Publish",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-thumbs-up",$t.attributes={className:"button is-success"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f9),$t),[React.createElement("p",null,"Publish to Live")]))),$step=5,!0;case 5:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},preview:function(w,h){var tcs=this.saveDocument(),newtab=window.open(System.String.format("Loading",null),"_blank",System.String.format("width=640x, height=480px",null));tcs.continueWith(Bridge.fn.bind(this,function(){newtab.location.href=this.unwrappedProps.meta.context.reviewPageUrl(this.unwrappedProps.meta,!0);newtab.resizeTo(w,h);window.location.reload(!0)}))},saveElement:function(){var $t;return new UIComponents.Modal(($t=new UIComponents.Modal.Props,$t.active=this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.saving||this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.startSave,$t),[React.createElement("div",Bridge.React.fixAttr({className:"columns"}),React.createElement("div",Bridge.React.fixAttr({className:"column has-text-centered"}),React.createElement("h1",Bridge.React.fixAttr({className:"title is-2",style:{color:"white"}}),this.unwrappedProps.savingProcess+" %"),React.createElement("h1",Bridge.React.fixAttr({className:"title is-2",style:{color:"white"}}),this.unwrappedProps.savingProcess<100?"Saving, please wait...":"Uploading page to the cloud..."),React.createElement("figure",Bridge.React.fixAttr({style:{width:"20vw",margin:"auto"}}),Bridge.React.StatelessComponent$1(UIComponents.Components.ProgressBar.Props).op_Implicit(new UIComponents.Components.ProgressBar(($t=new UIComponents.Components.ProgressBar.Props,$t.fraction=System.Decimal(this.unwrappedProps.savingProcess).div(System.Decimal(100)),$t))))))])},saveDocument:function(toPublish){toPublish===void 0&&(toPublish=!1);var tcs=new System.Threading.Tasks.TaskCompletionSource;return UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,function(s){s.saveTask=tcs;s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.startSave;s.hideControls=!0;s.isPublished=toPublish;s.modal=null}),tcs.task},componentDidUpdateWrapped:function(previousProps,previousState){this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.startSave&&window.setTimeout(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f12),50);Bridge.React.Component$2(UIComponents.Apps.AppealEditor.PageEditorApp.Props,UIComponents.Apps.AppealEditor.PageEditorApp.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())},silentSave:function(){document.getElementById("editor-save").disabled=!0;var inner=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps)||this.unwrappedProps.inner.firstElementChild,html=inner.innerHTML,data=this.getSaveRequestData(Bridge.toString(this.unwrappedProps.meta.charityId),Bridge.toString(this.unwrappedProps.meta.UUID),this.unwrappedProps.meta.appealKey,encodeURI(html)),endpoint=this.unwrappedProps.meta.context.serviceThanksUrl("SilentSave");UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.FormData,endpoint,"POST",!0,data,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f13).continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f15))},completeSaving:function(){var pagedocument=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLDivElement,document.body,"data-document")).single(),html=pagedocument.innerHTML,data=this.getSaveRequestData(Bridge.toString(this.unwrappedProps.meta.charityId),Bridge.toString(this.unwrappedProps.meta.UUID),this.unwrappedProps.meta.appealKey,encodeURI(html)),tcs=this.unwrappedState.saveTask,OnProcessing=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f16),action=this.unwrappedState.isPublished?"Publish":"Save",endpoint=this.unwrappedProps.meta.context.serviceThanksUrl(action);UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.FormData,endpoint,"POST",!0,data,function(r){r.upload.addEventListener("progress",function(e){Bridge.staticEquals(OnProcessing,null)?null:OnProcessing(r,e)})}).continueWith(Bridge.fn.bind(this,function(x){if(x.exception!=null){window.alert("Oops! Unexpected Error: "+(x.exception.Message||"")+"\nPlease contact administrator for help.");UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f14);return}var res=JSON.parse(x.getResult().responseText);if(System.Boolean.parse(Bridge.toString(res.success))){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f17);tcs.setResult(0);return}if(res.loginUrl==null){window.alert(System.String.concat("Oops! ",res.message));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f18);return}UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,Bridge.fn.bind(this,function(s){s.saveTask=null;s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.error;s.hideControls=!1;s.modal=this.sessionExpiredModal("session-expired-modal",Bridge.toString(res.loginUrl))}))}));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f19)},getSaveRequestData:function(charityId,uuid,appealKey,html){var data=new FormData;return data.append("CharityId",charityId),data.append("UUID",uuid),data.append("Html",html),data.append("Path",appealKey),data},discardModal:function(key){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=key,$t.active=!0,$t.onSubmit=$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f20,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f22),$t.title=System.String.format("Discard Pending Changes",null),$t.message=System.String.format("This action will discard all your pending changes and reset to your current 'Published Version'. Do you want to proceed?",null),$t},sessionExpiredModal:function(key,loginUrl){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=key,$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,function(){window.open(loginUrl,"_blank",System.String.format("width=640x, height=480px",null));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f23)}),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f22),$t.title=System.String.format("Your session has expired",null),$t.message=System.String.format("Please log in below.",null),$t.confirmLabel="Log in",$t},publishModal:function(key){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=key,$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f26),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f22),$t.title=System.String.format("Publish this page",null),$t.message=System.String.format("Are you sure you want to Publish these changes and start using it in live environment?",null),$t}}});Bridge.ns("UIComponents.Apps.AppealEditor.PageEditorApp",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.PageEditorApp,{f1:function(e){return System.String.equals(e.getAttribute("name"),Bridge.Reflection.getTypeName(UIComponents.Apps.AppealEditor.PageEditorApp),5)},f2:function(){window.document.getElementById("btnTrackButton").click()},f3:function(){this.preview(window.outerWidth,window.outerHeight)},f4:function(){this.preview(375,window.outerHeight)},f5:function(s){s.saveTask=null;s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.ready;s.hideControls=!1},f6:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f5)},f7:function(){if(!document.getElementById("editor-save").disabled){var tcs=this.saveDocument();tcs.continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f6))}},f8:function(s){s.hideControls=!0},f9:function(){var confirm_publish=this.publishModal("Confirm Publish Model");UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f8);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,function(s){s.modal=confirm_publish})},f10:function(s){s.hideControls=!1},f11:function(){this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.startSave?this.completeSaving():this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.saving&&UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f10)},f12:function(){window.requestAnimationFrame(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f11))},f13:function(){},f14:function(s){s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.error},f15:function(x){if(document.getElementById("editor-save").disabled=!1,document.getElementById("editor-save-button").innerHTML="Save Draft",x.exception!=null){window.alert(System.String.format("Oops! Unexpected Error: {0}\nPlease contact administrator for help.",[x.exception.Message]));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f14);return}var res=JSON.parse(x.getResult().responseText);if(!System.Boolean.parse(Bridge.toString(res.success))){if(res.loginUrl==null){window.alert(System.String.concat("Oops! ",res.message));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f14);return}UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,Bridge.fn.bind(this,function(s){s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.error;s.modal=this.sessionExpiredModal("session-expired-modal",Bridge.toString(res.loginUrl))}))}},f16:function(sender,e){if(this.unwrappedState.saveState===UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.saving){var total=System.Int32.parse(Bridge.toString(e.total))===0?100:System.Int32.parse(Bridge.toString(e.total)),loaded=System.Int32.parse(Bridge.toString(e.loaded)),percentage=Bridge.Math.round(loaded/total*100,0,6);this.unwrappedProps.savingProcess=Bridge.Int.clip32(percentage);this.setWrappedStateAsync(this.unwrappedState.$clone())}},f17:function(s){s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.ready},f18:function(s){s.saveTask=null;s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.error;s.hideControls=!1},f19:function(s){s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.saving},f20:function(){window.location.search="?startFresh=true"},f21:function(s){s.modal=null},f22:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f21)},f23:function(s){s.modal=null;s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.ready},f24:function(s){s.saveTask=null;s.saveState=UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.ready;s.hideControls=!0},f25:function(){if(this.unwrappedState.saveState!==UIComponents.Apps.AppealEditor.PageEditorApp.SaveState.error){var newtab=window.open(System.String.format("Loading",null),"_blank",System.String.format("width=640x, height=480px",null));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.Props,Bridge.global.UIComponents.Apps.AppealEditor.PageEditorApp.State,this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f24);newtab.location.href=this.unwrappedProps.meta.context.reviewPageUrl(this.unwrappedProps.meta,!1);newtab.resizeTo(window.outerWidth,window.outerHeight);window.location.reload(!0)}},f26:function(){var tcs=this.saveDocument(!0);tcs.continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.PageEditorApp.f25))}});Bridge.define("UIComponents.Apps.AppealEditor.ReceiptUL",{inherits:[UIComponents.Collections.ODataCollection$2(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Collections.ODataCollection$2(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){return this.unwrappedProps.context=Newtonsoft.Json.JsonConvert.DeserializeObject(this.unwrappedProps.inner.getAttribute("data-context"),ViewModels.ReactContext.ReceiptTitleContext).$clone(),UIComponents.Collections.ODataCollection$2(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext).prototype.constructorStateInitialiser.call(this)},render:function(){var $t,$t1,$t2,editbutton=new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.ReceiptUL.f1),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-edit",style:{color:"#00bfe7"}}),null))]),items=Bridge.React.ReactElementList.empty,i,options,optionsList;$t=Bridge.getEnumerator(this.unwrappedState.items);try{while($t.moveNext())i=$t.Current,items=items.add(Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ReceiptLI.Props,UIComponents.Apps.AppealEditor.ReceiptLI.State).op_Implicit(new UIComponents.Apps.AppealEditor.ReceiptLI(($t1=new UIComponents.Apps.AppealEditor.ReceiptLI.Props(this.unwrappedProps.context.$clone()),$t1.item=i,$t1.collection=this,$t1.create=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(this.unwrappedState.newItem!=null?null:editbutton),$t1))))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return System.Linq.Enumerable.from(items).count()===0&&this.unwrappedState.didLoad&&(items=items.add(Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ReceiptLI.Props,UIComponents.Apps.AppealEditor.ReceiptLI.State).op_Implicit(new UIComponents.Apps.AppealEditor.ReceiptLI(($t1=new UIComponents.Apps.AppealEditor.ReceiptLI.Props(this.unwrappedProps.context.$clone()),$t1.item=($t2=new ViewModels.ReceiptTitle,$t2.appealUUID=this.unwrappedProps.template.appealUUID,$t2.charityId=this.unwrappedProps.template.charityId,$t2.receiptKey="default",$t2.title="Default",$t2),$t1.collection=this,$t1.create=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(this.unwrappedState.newItem!=null?null:editbutton),$t1))))),this.unwrappedState.newItem!=null&&(options=this.unwrappedProps.inner.getAttribute("data-options"),optionsList=Newtonsoft.Json.JsonConvert.DeserializeObject(options,System.Collections.Generic.List$1(ViewModels.ReceiptTitle)),items=items.add(Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ReceiptLI.Props,UIComponents.Apps.AppealEditor.ReceiptLI.State).op_Implicit(new UIComponents.Apps.AppealEditor.NewReceiptLI(($t1=new UIComponents.Apps.AppealEditor.ReceiptLI.Props(this.unwrappedProps.context.$clone()),$t1.key=this.unwrappedProps.innerID,$t1.item=this.unwrappedState.newItem,$t1.collection=this,$t1.options=optionsList,$t1))))),React.createElement("div",Bridge.React.fixAttr({className:""}),React.createElement("ul",null,System.Linq.Enumerable.from(items).toArray()))}}});Bridge.ns("UIComponents.Apps.AppealEditor.ReceiptUL",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.ReceiptUL,{f1:function(){this.new(this.unwrappedProps.template)}});Bridge.define("UIComponents.Apps.AppealEditor.ThankyouPageUL",{inherits:[UIComponents.Collections.ODataCollection$2(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Collections.ODataCollection$2(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){return this.unwrappedProps.context=Newtonsoft.Json.JsonConvert.DeserializeObject(this.unwrappedProps.inner.getAttribute("data-context"),ViewModels.ReactContext.PageTitleContext).$clone(),UIComponents.Collections.ODataCollection$2(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext).prototype.constructorStateInitialiser.call(this)},render:function(){var $t,$t1,$t2,editbutton=new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.ThankyouPageUL.f1),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-edit",style:{color:"#00bfe7"}}),null))]),items=Bridge.React.ReactElementList.empty,i,options,optionsList;$t=Bridge.getEnumerator(this.unwrappedState.items);try{while($t.moveNext())i=$t.Current,items=items.add(Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ThankyouPageLI.Props,UIComponents.Apps.AppealEditor.ThankyouPageLI.State).op_Implicit(new UIComponents.Apps.AppealEditor.ThankyouPageLI(($t1=new UIComponents.Apps.AppealEditor.ThankyouPageLI.Props(this.unwrappedProps.context.$clone()),$t1.item=i,$t1.collection=this,$t1.create=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(this.unwrappedState.newItem!=null?null:editbutton),$t1))))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return System.Linq.Enumerable.from(items).count()===0&&this.unwrappedState.didLoad&&(items=items.add(Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ThankyouPageLI.Props,UIComponents.Apps.AppealEditor.ThankyouPageLI.State).op_Implicit(new UIComponents.Apps.AppealEditor.ThankyouPageLI(($t1=new UIComponents.Apps.AppealEditor.ThankyouPageLI.Props(this.unwrappedProps.context.$clone()),$t1.item=($t2=new ViewModels.ThankyouPageTitle,$t2.appealUUID=this.unwrappedProps.template.appealUUID,$t2.thankyouPageKey="default",$t2.title="Default",$t2),$t1.collection=this,$t1.create=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(this.unwrappedState.newItem!=null?null:editbutton),$t1))))),this.unwrappedState.newItem!=null&&(options=this.unwrappedProps.inner.getAttribute("data-options"),optionsList=Newtonsoft.Json.JsonConvert.DeserializeObject(options,System.Collections.Generic.List$1(ViewModels.ThankyouPageTitle)),items=items.add(Bridge.React.Component$2(UIComponents.Apps.AppealEditor.ThankyouPageLI.Props,UIComponents.Apps.AppealEditor.ThankyouPageLI.State).op_Implicit(new UIComponents.Apps.AppealEditor.NewThankyouPageLI(($t1=new UIComponents.Apps.AppealEditor.ThankyouPageLI.Props(this.unwrappedProps.context.$clone()),$t1.key=this.unwrappedProps.innerID,$t1.item=this.unwrappedState.newItem,$t1.collection=this,$t1.options=optionsList,$t1))))),React.createElement("div",Bridge.React.fixAttr({className:""}),React.createElement("ul",null,System.Linq.Enumerable.from(items).toArray()))}}});Bridge.ns("UIComponents.Apps.AppealEditor.ThankyouPageUL",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.ThankyouPageUL,{f1:function(){this.new(this.unwrappedProps.template)}});Bridge.define("UIComponents.Apps.CountdownWidgetApp",{inherits:[Bridge.React.Component$2(UIComponents.Apps.CountdownWidgetApp.Props,UIComponents.Apps.CountdownWidgetApp.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.CountdownWidgetApp.Props,UIComponents.Apps.CountdownWidgetApp.State).ctor.call(this,props,children)}},methods:{render:function(){var $t,currentDate=System.DateTime.getNow(),span=System.DateTime.subdd(this.unwrappedState.targetDate,currentDate),shouldHide=!1,status="will start";this.unwrappedState.hideOnPass&&System.TimeSpan.lt(span,System.TimeSpan.zero)&&(shouldHide=!0);this.unwrappedState.hideUntilPass&&System.TimeSpan.gt(span,System.TimeSpan.zero)&&(shouldHide=!0);System.TimeSpan.lt(span,System.TimeSpan.zero)&&(status="completed",span=System.TimeSpan.neg(span));var colorString=($t=this.unwrappedState.textColor,$t!=null?$t:"#ffffff"),display=this.toPrettyFormat(span,colorString),div=React.createElement("div",Bridge.React.fixAttr({className:"media "+((shouldHide?"ge-hidden-desktop-wrap":"")||"")}),React.createElement("div",Bridge.React.fixAttr({className:"media-content count-clock "+((shouldHide?"is-hidden-mobile is-hidden-tablet":"")||"")}),display)),dueText=React.createElement("div",Bridge.React.fixAttr({className:"media"}),React.createElement("div",Bridge.React.fixAttr({className:"media-content count-clock"}),React.createElement("div",Bridge.React.fixAttr({className:"content has-text-centered date"}),React.createElement("p",null,System.String.format("This campaign {0} on",[status])),React.createElement("span",null,System.String.format("{0}",[System.DateTime.format(System.DateTime.toLocalTime(this.unwrappedState.targetDate),"dd MMM yyyy HH:mm")]))))),attrs={key:this.unwrappedProps.key,style:{width:"100%",height:"100%",color:colorString},contentEditable:"false",data:Bridge.toPlain(this.unwrappedState.$clone())};return attrs.suppressContentEditableWarning=!0,React.createElement("countdownwidgetapp",Bridge.React.fixAttr(attrs),div)},constructorStateInitialiser:function(){var newstate=this.unwrappedProps.newState.$clone();return UIComponents.IContainerPropsExtensions.isEditable(this.unwrappedProps)&&(this.unwrappedProps.innerID="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||"")),newstate=this.refreshState(this.unwrappedProps),newstate.$clone()},componentDidMount:function(){this.checkCounter();Bridge.React.Component$2(UIComponents.Apps.CountdownWidgetApp.Props,UIComponents.Apps.CountdownWidgetApp.State).prototype.componentDidMount.call(this)},checkCounter:function(){if(!Bridge.equals(this.unwrappedState,null)&&!this.unwrappedState.isCounting&&!UIComponents.IContainerPropsExtensions.isEditable(this.unwrappedProps)){var counter=window.setInterval(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.CountdownWidgetApp.f2),1e3);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.CountdownWidgetApp.Props,Bridge.global.UIComponents.Apps.CountdownWidgetApp.State,this,$asm.$.UIComponents.Apps.CountdownWidgetApp.f3)}},toPrettyFormat:function(span,color){var hrs=span.getHours()+Bridge.Int.mul(span.getDays(),24)|0;return React.createElement("div",Bridge.React.fixAttr({className:"clock-container"}),React.createElement("div",Bridge.React.fixAttr({style:{display:"flex",margin:"auto"}}),span.getDays()<=0?null:React.createElement("div",Bridge.React.fixAttr({className:"clock-col "+((hrs<=72?"is-hidden-mobile":"")||"")}),React.createElement("span",Bridge.React.fixAttr({className:"clock-separator",style:{backgroundColor:color}})," "),React.createElement("p",Bridge.React.fixAttr({className:"clock-day clock-timer"}),System.Int32.format(span.getDays(),"00")),React.createElement("p",Bridge.React.fixAttr({className:"clock-label"}),"Day"+((span.getDays()!==1?"s":"")||"")),React.createElement("span",Bridge.React.fixAttr({className:"clock-separator",style:{backgroundColor:color}})," ")),React.createElement("div",Bridge.React.fixAttr({className:"clock-col "+((hrs<=72?"is-hidden-mobile":"")||"")}),React.createElement("span",Bridge.React.fixAttr({className:"clock-separator",style:{backgroundColor:color}})," "),React.createElement("p",Bridge.React.fixAttr({className:"clock-hours clock-timer"}),System.Int32.format(span.getHours(),"00")),React.createElement("p",Bridge.React.fixAttr({className:"clock-label"}),"Hour"+((span.getHours()!==1?"s":"")||"")),React.createElement("span",Bridge.React.fixAttr({className:"clock-separator",style:{backgroundColor:color}})," ")),hrs<=0||hrs>72?null:React.createElement("div",Bridge.React.fixAttr({className:"clock-col is-hidden-tablet"}),React.createElement("span",Bridge.React.fixAttr({className:"clock-separator",style:{backgroundColor:color}})," "),React.createElement("p",Bridge.React.fixAttr({className:"clock-hours clock-timer"}),System.Int32.format(hrs,"00")),React.createElement("p",Bridge.React.fixAttr({className:"clock-label"}),"Hour"+((hrs!==1?"s":"")||"")),React.createElement("span",Bridge.React.fixAttr({className:"clock-separator",style:{backgroundColor:color}})," ")),React.createElement("div",Bridge.React.fixAttr({className:"clock-col"}),React.createElement("span",Bridge.React.fixAttr({className:"clock-separator",style:{backgroundColor:color}})," "),React.createElement("p",Bridge.React.fixAttr({className:"clock-minutes clock-timer"}),System.Int32.format(span.getMinutes(),"00")),React.createElement("p",Bridge.React.fixAttr({className:"clock-label"}),"Minute"+((span.getMinutes()!==1?"s":"")||"")),React.createElement("span",Bridge.React.fixAttr({className:"clock-separator",style:{backgroundColor:color}})," ")),React.createElement("div",Bridge.React.fixAttr({className:"clock-col "+((hrs>72?"is-hidden-mobile":"")||"")}),React.createElement("p",Bridge.React.fixAttr({className:"clock-seconds clock-timer"}),System.Int32.format(span.getSeconds(),"00")),React.createElement("p",Bridge.React.fixAttr({className:"clock-label"}),"Second"+((span.getSeconds()!==1?"s":"")||"")))))},componentWillReceivePropsWrapped:function(nextProps){var newstate=this.refreshState(nextProps);this.setWrappedStateAsync(newstate.$clone());Bridge.React.Component$2(UIComponents.Apps.CountdownWidgetApp.Props,UIComponents.Apps.CountdownWidgetApp.State).prototype.componentWillReceivePropsWrapped.call(this,nextProps)},refreshState:function(nextProps){var newstate=nextProps.newState.$clone();return this.unwrappedProps.inner!=null&&(newstate=UIComponents.Apps.CountdownWidgetApp.State.fromElement(this.unwrappedProps.inner)),newstate.$clone()}}});Bridge.ns("UIComponents.Apps.CountdownWidgetApp",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.CountdownWidgetApp,{f1:function(s){s.targetDate=this.unwrappedState.targetDate},f2:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.CountdownWidgetApp.Props,Bridge.global.UIComponents.Apps.CountdownWidgetApp.State,this,Bridge.fn.bind(this,$asm.$.UIComponents.Apps.CountdownWidgetApp.f1))},f3:function(s){s.isCounting=!0}});Bridge.define("UIComponents.Apps.DonateForm.DonateFormApp",{inherits:[Bridge.React.Component$2(UIComponents.Apps.DonateForm.DonateFormApp.Props,UIComponents.Apps.DonateForm.DonateFormApp.State)],statics:{methods:{getFromSettingsModelOrDefault:function(){try{var config=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f1);return Newtonsoft.Json.JsonConvert.DeserializeObject(config.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel)}catch($e1){return $e1=System.Exception.create($e1),new ViewModels.FromSettingsModel}},fieldInputType:function(i,l,n){var $t,$t1,newprops=new UIComponents.FormInput.Props(i.getAttribute("name"),n),custprops,amountprops,min,multiplier;return(newprops.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=l,$t.attributes={},$t),newprops.type=i.type,newprops.isHidden=i.type==="hidden",newprops.value=($t=i.value,$t!=null?$t:($t1=i.defaultValue,$t1!=null?$t1:"")),newprops.placeholder=i.placeholder,newprops.isMandatory=i.required,i.hasAttribute("data-customField")||Bridge.referenceEquals(i.name,"amount"))?(custprops=new UIComponents.CustInput.Props.$ctor2(newprops),custprops.textLabel=l,custprops.config=new UIComponents.CustInput.FieldConfig,Bridge.referenceEquals(i.name,"amount"))?(amountprops=new UIComponents.DonationAmountInput.Props.$ctor1(custprops),min={v:System.Decimal(5)},System.Decimal.tryParse(i.min,null,min)&&(amountprops.min=min.v),i.hasAttribute("data-multiplier")&&(multiplier={v:System.Decimal(1)},System.Decimal.tryParse(i.getAttribute("data-multiplier"),null,multiplier)&&(amountprops.multiplier=multiplier.v)),amountprops):UIComponents.CustInput.toCustInputProps.get(UIComponents.Extensions.ComponentExtensions.typeKey(i.getAttribute("data-customField")))(custprops):newprops},fieldElementType:function(i,l,n){var $t,$t1,newprops,area,client,dropDown,selectprops;return Bridge.is(i,HTMLInputElement)?UIComponents.Apps.DonateForm.DonateFormApp.fieldInputType(Bridge.as(i,HTMLInputElement),l,n):(newprops=new UIComponents.CustInput.Props.ctor(i.getAttribute("name"),n),newprops.label=($t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=l,$t.attributes={},$t),newprops.textLabel=l,newprops.value=($t=i.textContent,$t!=null?$t:($t1=i.defaultValue,$t1!=null?$t1:"")),newprops.config=new UIComponents.CustInput.FieldConfig,area=Bridge.as(i,HTMLTextAreaElement),area!=null)?(client=UIComponents.XBrowser.client,newprops.placeholder=area.placeholder,client===UIComponents.WebBrowser.IE&&Bridge.referenceEquals(newprops.value,"Leave a Comment?")&&(newprops.value=""),newprops.isMandatory=area.required,new UIComponents.Components.Form.Fields.CommentMessageInput.Props.$ctor1(newprops)):(dropDown=Bridge.as(i,HTMLSelectElement),dropDown!=null)?(newprops.isMandatory=dropDown.required,newprops.value=dropDown.value,selectprops=new UIComponents.Components.Form.Fields.CustSelectInput.Props.$ctor1(newprops),selectprops.options=i.getAttribute("data-options"),selectprops):newprops},getFormFields:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.FormInput.Props))(Bridge.fn.bind(this,function(inner){var $step=0,controls,items1,items,allFields,$t,c,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.FormInput.Props))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:controls=UIComponents.IContainerPropsExtensions.innerElements(HTMLElement,inner);items1=System.Linq.Enumerable.from(controls).where($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f2);items=items1.select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f3);allFields=items.where($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f4).select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f5).toList(UIComponents.FormInput.Props);$t=Bridge.getEnumerator(allFields);$step=1;continue;case 1:if($t.moveNext()){c=$t.Current;$step=2;continue}$step=4;continue;case 2:return $enumerator.current=c,$step=3,!0;case 3:$step=1;continue;case 4:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator},arguments))},defaultFields:function(Appeal){var b=$asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f6;return function(_o1){var $t,$t1;return _o1.add(($t=new UIComponents.FormInput.Props("giving_frequency",0),$t.label=b("Frequency","hidden"),$t.type="text",$t.isMandatory=!0,$t)),_o1.add(($t=new UIComponents.FormInput.Props("firstname",2),$t.label=b("First Name",""),$t.type="text",$t.value="",$t.placeholder="First Name",$t.isMandatory=!0,$t)),_o1.add(($t=new UIComponents.FormInput.Props("lastname",3),$t.label=b("Last Name",""),$t.type="text",$t.value="",$t.placeholder="Last Name",$t.isMandatory=!0,$t)),_o1.add(($t=new UIComponents.FormInput.Props("email",4),$t.label=b("Email",""),$t.type="email",$t.value="",$t.placeholder="Email",$t.isMandatory=!0,$t)),_o1.add(($t=new UIComponents.FormInput.Props("terms",999),$t.label=($t1=new UIComponents.Components.Form.Labels.TNCLabel.Props,$t1.label$1="Terms and Conditions",$t1.attributes={},$t1),$t.type="checkbox",$t.value=System.Boolean.toString(!0),$t.placeholder=System.Boolean.toString(!0),$t.isMandatory=!0,$t)),_o1.add(($t=new UIComponents.FormInput.Props("charityid",994),$t.label=b("Charity Id","hidden"),$t.type="hidden",$t.value=Bridge.toString(Appeal.charityId),$t.isMandatory=!0,$t)),_o1.add(($t=new UIComponents.FormInput.Props("appealtitle",995),$t.label=b("Appeal Title","hidden"),$t.type="hidden",$t.value=Appeal.title,$t.isMandatory=!0,$t)),_o1.add(($t=new UIComponents.FormInput.Props("context_key",996),$t.label=b("Appeal Context","hidden"),$t.type="hidden",$t.value=Appeal.contextKey,$t.isMandatory=!1,$t)),_o1.add(($t=new UIComponents.FormInput.Props("group_title",997),$t.label=b("Group Title","hidden"),$t.type="hidden",$t.value=Appeal.groupTitle,$t.isMandatory=!1,$t)),_o1.add(($t=new UIComponents.FormInput.Props("group_key",998),$t.label=b("Group Key","hidden"),$t.type="hidden",$t.value=Appeal.groupKey,$t.isMandatory=!1,$t)),_o1}(new(System.Collections.Generic.List$1(UIComponents.FormInput.Props).ctor))},isDisabled:function(vfields){var isValid=System.Linq.Enumerable.from(vfields).aggregate(!0,$asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f7);return!isValid||System.Linq.Enumerable.from(vfields).all($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f8)},fieldComponents:function(fields){var fieldProps=System.Linq.Enumerable.from(fields).distinct(new UIComponents.FormField.FieldComparer).orderBy($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f9).toList(UIComponents.FormField.FieldProps);return System.Linq.Enumerable.from(fieldProps).select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f10).toList(Object)}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.DonateForm.DonateFormApp.Props,UIComponents.Apps.DonateForm.DonateFormApp.State).ctor.call(this,props,children)}},methods:{initFields:function(){return new(Bridge.GeneratorEnumerable$1(UIComponents.FormInput.Props))(Bridge.fn.bind(this,function(fields){var $step=0,$t,f,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(UIComponents.FormInput.Props))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:$t=Bridge.getEnumerator(fields,UIComponents.FormInput.Props);$step=1;continue;case 1:if($t.moveNext()){f={v:$t.Current};$step=2;continue}$step=4;continue;case 2:return f.v.key=f.v.name.toLowerCase(),f.v.update=function($me,f){return Bridge.fn.bind($me,function(str){f.v.value=str;f.v.valid=UIComponents.FormValidator.validate(Bridge.global.UIComponents.FormInput.Props,f.v.validators,f.v);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.DonateFormApp.Props,Bridge.global.UIComponents.Apps.DonateForm.DonateFormApp.State,this,Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f11))})}(this,f),$enumerator.current=f.v,$step=3,!0;case 3:$step=1;continue;case 4:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator},arguments))},constructorStateInitialiser:function(){var $t,meta=System.Linq.Enumerable.from(document.getElementsByTagName("meta")).first($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f12),viewmodel=Newtonsoft.Json.JsonConvert.DeserializeObject(meta.getAttribute("props"),ViewModels.DonateFormModel),config,newstate,defaultfields,fields,f,notBlank;this.unwrappedProps.appeal=viewmodel;this.unwrappedProps.appeal.payment=System.Nullable.lift1("$clone",viewmodel.payment);config=System.Linq.Enumerable.from(document.getElementsByTagName("data")).first($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f1);this.unwrappedProps.formModel=Newtonsoft.Json.JsonConvert.DeserializeObject(config.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel);newstate=this.unwrappedProps.newState.$clone();newstate.fields!=null?(defaultfields=UIComponents.Apps.DonateForm.DonateFormApp.defaultFields(this.unwrappedProps.appeal),newstate.fields=System.Linq.Enumerable.from(defaultfields).select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f13).union(newstate.fields,new UIComponents.FormField.FieldComparer).toList(UIComponents.FormInput.Props)):this.unwrappedProps.inner!=null&&(this.unwrappedProps.innerID="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||""),newstate=UIComponents.Apps.DonateForm.DonateFormApp.State.fromElement(this.unwrappedProps));fields=newstate.fields;fields=System.Linq.Enumerable.from(this.initFields(fields)).toList(Bridge.global.UIComponents.FormInput.Props);$t=Bridge.getEnumerator(fields,UIComponents.FormInput.Props);try{while($t.moveNext())f=$t.Current,notBlank=new UIComponents.FormValidator.NotBlank,f.isMandatory&&!System.Linq.Enumerable.from(f.validators).any($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f14)&&f.validators.add(notBlank),f.type==="email"&&f.validators.add(new UIComponents.FormValidator.BasicEmail),f.type==="checkbox"&&f.isMandatory&&f.validators.add(new UIComponents.FormValidator.IsChecked),Bridge.referenceEquals(f.name,"giving_frequency")&&(f.value=this.unwrappedProps.formModel.defaultFrequency),f.valid=UIComponents.Validation.none}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return newstate.fields=fields,newstate.submit=Bridge.fn.cacheBind(this,this.switchPaymentForm),newstate.$clone()},componentDidMount:function(){var UpdateField=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.UpdateFieldDispatcher),SubmitForm;UpdateField.add(UIComponents.Dispatchers.UpdateFieldDispatcher.UpdateFieldEventArgs,Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f15));SubmitForm=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.SubmitFormDispatcher);SubmitForm.add(UIComponents.Dispatchers.SubmitFormDispatcher.SubmitFormDispatcherArgs,Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f17));this.prefillInputs(this.unwrappedState.fields);Bridge.React.Component$2(UIComponents.Apps.DonateForm.DonateFormApp.Props,UIComponents.Apps.DonateForm.DonateFormApp.State).prototype.componentDidMount.call(this)},updateField:function(evt){var $t,fields=System.Linq.Enumerable.from(this.unwrappedState.fields).toList(Bridge.global.UIComponents.FormInput.Props),f,el;System.Linq.Enumerable.from(fields).where(function(f){return Bridge.referenceEquals(f.name,evt.name)}).any()||fields.add(($t=new UIComponents.FormInput.Props(evt.name,fields.Count+1|0),$t.type="hidden",$t.value=evt.value,$t));$t=Bridge.getEnumerator(System.Linq.Enumerable.from(fields).where(function(f){return Bridge.referenceEquals(f.name,evt.name)}));try{while($t.moveNext())f=$t.Current,f.value=evt.value,Bridge.referenceEquals(f.name,"amount")&&System.Decimal(evt.value).equalsT(System.Decimal(0))&&(f.value="")}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}evt.scrollIntoView&&!System.Linq.Enumerable.from(document.getElementsByTagName("AppealEditorApp")).any()&&(el=Bridge.as(System.Linq.Enumerable.from(document.getElementsByName(evt.name)).firstOrDefault(null,null),HTMLElement),window.setTimeout(function(){el!=null&&UIComponents.XBrowser.scrollIntoCenter(el)},10));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.DonateFormApp.Props,Bridge.global.UIComponents.Apps.DonateForm.DonateFormApp.State,this,function(s){s.fields=fields})},collectFormItems:function(){var $t,items=System.Linq.Enumerable.from(this.unwrappedState.fields).toDictionary($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f18,$asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f19,System.String,System.String),match=System.Linq.Enumerable.from(this.unwrappedState.fields).ofType(UIComponents.DonationAmountInput.Props).firstOrDefault(null,null),uri,commentinfo,kv;match!=null&&items.set("multiplier",match.multiplier.toString());uri=new System.Uri(UIComponents.XBrowser.documentURI());items.set("source_url",System.Linq.Enumerable.from(System.String.split(uri.getAbsoluteUri(),[63].map(function(i){return String.fromCharCode(i)}))).firstOrDefault(null,null));commentinfo=($t=new GiveEasy.Shared.Data.Comments.CommentInfo,$t.canonicalUrl=System.String.format("https://giveeasy.org/{0}",[this.unwrappedProps.appeal.context.appealUUID]),$t.isAnonymous=Bridge.referenceEquals(GiveEasy.Shared.Extensions.get(System.String,items,"comment_anonymous","false"),System.Boolean.toString(!0)),$t.userMessage=GiveEasy.Shared.Extensions.get(System.String,items,"message",""),$t);$t=Bridge.getEnumerator(commentinfo.items,System.Collections.Generic.KeyValuePair$2(System.String,System.Object));try{while($t.moveNext())kv=$t.Current,items.set(kv.key,System.String.format("{0}",[kv.value]))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return items},componentWillReceivePropsWrapped:function(nextProps){var $t,$t1,newstate,defaultfields,fields,f;if((nextProps!=null?nextProps.formModel:null)!=null){if(newstate=($t=nextProps!=null?nextProps.newState:null,$t!=null?$t:this.unwrappedProps.newState),newstate.fields!=null?Bridge.referenceEquals(newstate.fields,this.unwrappedState.fields)?newstate.fields=this.unwrappedState.fields:(defaultfields=UIComponents.Apps.DonateForm.DonateFormApp.defaultFields(this.unwrappedProps.appeal),newstate.fields=System.Linq.Enumerable.from(defaultfields).select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f13).union(newstate.fields,new UIComponents.FormField.FieldComparer).toList(UIComponents.FormInput.Props)):this.unwrappedProps.inner!=null&&(newstate=UIComponents.Apps.DonateForm.DonateFormApp.State.fromElement(this.unwrappedProps)),!Bridge.referenceEquals(nextProps.formModel.defaultAmount,this.unwrappedProps.formModel.defaultAmount)||!Bridge.referenceEquals(newstate.fields,this.unwrappedState.fields)||!Bridge.referenceEquals(nextProps.formModel.defaultFrequency,this.unwrappedProps.formModel.defaultFrequency)){fields=newstate.fields;$t1=Bridge.getEnumerator(fields,UIComponents.FormInput.Props);try{while($t1.moveNext())f=$t1.Current,Bridge.referenceEquals(f.name,"giving_frequency")&&(f.value=nextProps.formModel.defaultFrequency)}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$dispose()}newstate.fields=System.Linq.Enumerable.from(fields).toList(Bridge.global.UIComponents.FormInput.Props)}newstate.submit=Bridge.fn.cacheBind(this,this.switchPaymentForm);this.setWrappedStateAsync(newstate.$clone());Bridge.React.Component$2(UIComponents.Apps.DonateForm.DonateFormApp.Props,UIComponents.Apps.DonateForm.DonateFormApp.State).prototype.componentWillReceivePropsWrapped.call(this,nextProps)}},prefillInputs:function(fields){var $t,$t1,$t2,anyprefill=!1,param=UIComponents.XBrowser.getQueryParams(),f,f1,v;$t=Bridge.getEnumerator(fields,UIComponents.FormInput.Props);try{while($t.moveNext())f=$t.Current,f.key=f.name.toLowerCase(),param.System$Collections$Generic$IDictionary$2$System$String$System$String$containsKey(f.key)&&(anyprefill=!0,f.value=decodeURIComponent(param.System$Collections$Generic$IDictionary$2$System$String$System$String$getItem(f.key)),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.DonateFormApp.Props,Bridge.global.UIComponents.Apps.DonateForm.DonateFormApp.State,this,function(s){s.fields=fields}))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}System.Linq.Enumerable.from(fields).single($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f20).value=Bridge.toString(this.unwrappedProps.appeal.charityId);System.Linq.Enumerable.from(fields).single($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f21).value=($t1=this.unwrappedProps.appeal.title,$t1!=null?$t1:"");$t2=Bridge.getEnumerator(fields,UIComponents.FormInput.Props);try{while($t2.moveNext())f1=$t2.Current,f1.valid=UIComponents.Validation.none,anyprefill&&(v=UIComponents.FormValidator.validate(Bridge.global.UIComponents.FormInput.Props,f1.validators,f1),v!==UIComponents.Validation.fail&&(f1.valid=v))}finally{Bridge.is($t2,System.IDisposable)&&$t2.System$IDisposable$dispose()}},render:function(){var $t,fields=React.createElement("div",Bridge.React.fixAttr({id:"donate-form-fields"}),System.Linq.Enumerable.from(UIComponents.Apps.DonateForm.DonateFormApp.fieldComponents(this.unwrappedState.fields)).toArray()),form=this.paymentForm(),padding="5px 15px 15px";document.body.clientWidth<720&&(padding="1px");var apiUrl=GiveEasy.Shared.Extensions.apiUrl(window.location.href),oDataUrl=System.String.format("{0}odata/groups?$apply=filter(tolower(AppealTitle) eq tolower('{1}'))",apiUrl,this.unwrappedProps.appeal.title),leaderBoardPanelDiv=new UIComponents.Components.Elements.LeaderboardPanel(($t=new UIComponents.Components.Elements.LeaderboardPanel.Props,$t.charityId=this.unwrappedProps.appeal.charityId,$t.appealTitle=this.unwrappedProps.appeal.title,$t.oDataUrl=oDataUrl,$t.canShow=this.unwrappedProps.canShow,$t)),donateFormBlocker=React.createElement("div",Bridge.React.fixAttr({key:(this.unwrappedProps.key||"")+"_idiotproofer",className:"notification is-black",style:{cursor:"not-allowed",pointerEvents:"all",display:"flex",position:"absolute",top:0,left:0,width:"100%",height:"100%",opacity:"0.5"}}),null),donateForm=React.createElement("div",Bridge.React.fixAttr({style:{padding:padding,display:"block"}}),fields,form),blockedDonateForm=React.createElement("div",Bridge.React.fixAttr({style:{position:"relative"}}),donateForm,donateFormBlocker),isAppealEditor=System.Linq.Enumerable.from(document.getElementsByTagName("AppealEditorApp")).any(),donationForm=isAppealEditor&&this.unwrappedProps.canShow?React.createElement("div",Bridge.React.fixAttr({}),blockedDonateForm,Bridge.React.Component$2(UIComponents.Components.Elements.LeaderboardPanel.Props,UIComponents.Components.Elements.LeaderboardPanel.State).op_Implicit$1(leaderBoardPanelDiv)):React.createElement("div",Bridge.React.fixAttr({}),donateForm,Bridge.React.Component$2(UIComponents.Components.Elements.LeaderboardPanel.Props,UIComponents.Components.Elements.LeaderboardPanel.State).op_Implicit$1(leaderBoardPanelDiv));return React.createElement("donateformapp",Bridge.React.fixAttr({key:this.unwrappedProps.innerID}),donationForm)},paymentForm:function(){var $t,vfields=System.Linq.Enumerable.from(this.unwrappedState.fields).where($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f22).toArray(UIComponents.FormInput.Props),disabled=UIComponents.Apps.DonateForm.DonateFormApp.isDisabled(System.Linq.Enumerable.from(vfields).select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f23)),charityId=($t=System.Linq.Enumerable.from(this.unwrappedState.fields).firstOrDefault($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f24,null))!=null?$t.value:null,form=this.unwrappedState.submit();return form.UIComponents$Components$Form$ISubmitForm$render()},revalidate:function(){var $t,vfields=System.Linq.Enumerable.from(this.unwrappedState.fields).toArray(),f;$t=Bridge.getEnumerator(vfields);try{while($t.moveNext())f=$t.Current,System.Linq.Enumerable.from(f.validators).any()&&(f.valid=UIComponents.FormValidator.validate(Bridge.global.UIComponents.FormInput.Props,f.validators,f))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return vfields},constructEventButtons:function(disabled){var btnprops=System.Linq.Enumerable.from(this.unwrappedState.eventButtons).select(function(b){return b.disabled=disabled,b}),buttons=btnprops.select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f25).toList(Object),paypalButtonContainer=React.createElement("div",Bridge.React.fixAttr({id:"paypal-button-container",data:{disabled:disabled}}),null),digitalWalletButtonContainer=React.createElement("div",Bridge.React.fixAttr({id:"digitalwallet-button-container",data:{disabled:disabled}}),null);return buttons.insert(1,paypalButtonContainer),buttons.insert(2,digitalWalletButtonContainer),buttons},switchPaymentForm:function(){var $t,$t1,buttons=this.constructEventButtons(UIComponents.Apps.DonateForm.DonateFormApp.isDisabled(System.Linq.Enumerable.from(this.unwrappedState.fields).select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f23))),param=UIComponents.XBrowser.getQueryParams();return param.System$Collections$Generic$IDictionary$2$System$String$System$String$containsKey("t")&&(($t=this.unwrappedProps)!=null&&($t1=$t.appeal)!=null?$t1.payment:null)!=null&&!Bridge.referenceEquals(GiveEasy.Shared.Extensions.get(System.String,param,".nopay",""),"card2")?new UIComponents.Apps.DonateForm.TokenSubmitForm(param.System$Collections$Generic$IDictionary$2$System$String$System$String$getItem("t"),System.Nullable.getValue(this.unwrappedProps.appeal.payment),Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f27),this.collectFormItems()):new UIComponents.Apps.DonateForm.ButtonSubmitForm(buttons,Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f27),this.collectFormItems())}}});Bridge.define("$AnonymousType$3",$asm,{$kind:"anonymous",ctors:{ctor:function(label,input){this.label=label;this.input=input}},methods:{equals:function(o){return Bridge.is(o,$asm.$AnonymousType$3)?Bridge.equals(this.label,o.label)&&Bridge.equals(this.input,o.input):!1},getHashCode:function(){return Bridge.addHash([7550196188,this.label,this.input])},toJSON:function(){return{label:this.label,input:this.input}}},statics:{methods:{$metadata:function(){return{m:[{a:2,n:"Input",t:16,rt:HTMLElement,g:{a:2,n:"get_Input",t:8,rt:HTMLElement,fg:"input"},fn:"input"},{a:2,n:"Label",t:16,rt:HTMLLabelElement,g:{a:2,n:"get_Label",t:8,rt:HTMLLabelElement,fg:"label"},fn:"label"}]}}}}});Bridge.ns("UIComponents.Apps.DonateForm.DonateFormApp",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.DonateForm.DonateFormApp,{f1:function(e){return System.String.equals(e.getAttribute("name"),"FromSettings",5)},f2:function(f){return System.String.contains(f.className,"field")&&!System.String.startsWith(f.title,"form-config-")&&!System.String.startsWith(f.title,"giving_frequency")},f3:function(f){return new $asm.$AnonymousType$3(System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLLabelElement,f)).firstOrDefault(null,null),System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLSelectElement,f)).firstOrDefault(null,null)||System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLTextAreaElement,f)).firstOrDefault(null,null)||Bridge.as(System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLInputElement,f)).firstOrDefault(null,null),HTMLElement))},f4:function(i){return i.label!=null&&i.input!=null&&!Bridge.referenceEquals(i.input.getAttribute("data-canconfig"),"false")},f5:function(i,n){return UIComponents.Apps.DonateForm.DonateFormApp.fieldElementType(i.input,i.label.textContent,n)},f6:function(n,h){var $t;return $t=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t.label=n,$t.attributes={className:" "+(h||"")},$t},f7:function(k,valid){return!!(k&valid!==UIComponents.Validation.fail)},f8:function(f){return f===UIComponents.Validation.none},f9:function(f){return f.sortOrder},f10:function(p){return UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.FormField.FieldProps,Bridge.Reflection.getTypeFullName(Bridge.getType(p)),p)},f11:function(s){s.fields=this.unwrappedState.fields},f12:function(e){return System.String.equals(e.getAttribute("name"),Bridge.Reflection.getTypeName(UIComponents.Apps.DonateForm.DonateFormApp),5)},f13:function(i){return i},f14:function(v){return Bridge.referenceEquals(Bridge.getType(v),UIComponents.FormValidator.NotBlank)},f15:function(evt){this.updateField(evt)},f16:function(s){s.fields=this.revalidate()},f17:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.DonateForm.DonateFormApp.Props,Bridge.global.UIComponents.Apps.DonateForm.DonateFormApp.State,this,Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f16))},f18:function(x){return x.name},f19:function(x){return x.value},f20:function(x){return Bridge.referenceEquals(x.key,"charityid")},f21:function(x){return Bridge.referenceEquals(x.key,"appealtitle")},f22:function(f){return System.Linq.Enumerable.from(f.validators).any()},f23:function(f){return UIComponents.FormValidator.validate(Bridge.global.UIComponents.FormInput.Props,f.validators,f)},f24:function(f){return Bridge.referenceEquals(f.name,"charityid")},f25:function(b){return UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.Components.Form.Buttons.EventButton.Props,Bridge.Reflection.getTypeFullName(Bridge.getType(b)),b,[b.label])},f26:function(f){return f.valid},f27:function(){return UIComponents.Apps.DonateForm.DonateFormApp.isDisabled(System.Linq.Enumerable.from(this.revalidate()).select($asm.$.UIComponents.Apps.DonateForm.DonateFormApp.f26))}});Bridge.define("UIComponents.Apps.DonateForm.FormComplete",{inherits:[Bridge.React.Component$2(UIComponents.Apps.DonateForm.FormComplete.Props,UIComponents.Apps.DonateForm.FormComplete.State)],statics:{methods:{formatAmount:function(input){var num={v:System.Decimal(0)};return System.Decimal.tryParse(input,null,num)&&num.v.decimalPlaces()>0?Bridge.Int.format(num.v,"0.00"):input}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.DonateForm.FormComplete.Props,UIComponents.Apps.DonateForm.FormComplete.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t,amt=this.fromElement(this.unwrappedProps.inner),el=this.unwrappedProps.inner.firstElementChild,cpt=React.createElement("span",Bridge.React.fixAttr({className:"tile",dangerouslySetInnerHTML:($t=new Bridge.React.RawHtml,$t.__html=el.innerHTML,$t)}),null);return $t=new UIComponents.Apps.DonateForm.FormComplete.State,$t.inner=this.unwrappedProps.inner,$t.amount=amt,$t.innerComponent=cpt,$t},render:function(){var $t,amt=this.fromElement(this.unwrappedState.inner),tile=new UIComponents.Apps.AppealEditor.EditableTileContainer(($t=new UIComponents.Apps.AppealEditor.EditableTileContainer.Props,$t.inner=this.unwrappedProps.inner.firstElementChild,$t.innerID=this.unwrappedProps.innerID,$t.canShow=!0,$t));return React.createElement("formcomplete",Bridge.React.fixAttr({onClick:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.DonateForm.FormComplete.f1),className:"tile",style:{fontSize:"inherit",cursor:"pointer",height:"initial"},id:this.unwrappedProps.innerID,data:{amount:amt}}),Bridge.referenceEquals(UIComponents.XBrowser.rootAppType(),UIComponents.Apps.AppealEditor.AppealEditorApp)?Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).op_Implicit(tile):this.unwrappedState.innerComponent)},fromElement:function(inner){var amt={v:System.Decimal(0)},el,attr;try{amt.v=this.unwrappedState.amount}catch($e1){$e1=System.Exception.create($e1);amt.v=System.Decimal(0)}return el=(inner!=null?System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLElement,inner,"data-amount")).firstOrDefault(null,null):null)||inner,el!=null&&(attr=el.getAttribute("data-amount"),System.Decimal.tryParse(attr,null,amt)),amt.v},fillAmount:function(){var $t;System.Linq.Enumerable.from(document.getElementsByTagName("AppealEditorApp")).any()||this.unwrappedProps.updateField.invoke(Bridge.global.UIComponents.Dispatchers.UpdateFieldDispatcher.UpdateFieldEventArgs,($t=new UIComponents.Dispatchers.UpdateFieldDispatcher.UpdateFieldEventArgs,$t.name="amount",$t.value=UIComponents.Apps.DonateForm.FormComplete.formatAmount(this.unwrappedState.amount.toString()),$t.scrollIntoView=!0,$t))}}});Bridge.ns("UIComponents.Apps.DonateForm.FormComplete",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.DonateForm.FormComplete,{f1:function(){this.fillAmount()}});Bridge.define("UIComponents.Apps.DonateForm.TextPrefill",{inherits:[Bridge.React.Component$2(UIComponents.Apps.DonateForm.TextPrefill.Props,UIComponents.Apps.DonateForm.TextPrefill.State)],statics:{fields:{dataKey:null},ctors:{init:function(){this.dataKey="data-textprefill"}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.DonateForm.TextPrefill.Props,UIComponents.Apps.DonateForm.TextPrefill.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t,el=this.unwrappedProps.inner,inner=this.unwrappedProps.inner,cpt;return el.getAttribute(UIComponents.Apps.DonateForm.TextPrefill.dataKey)!=null&&System.Linq.Enumerable.from(inner.getElementsByClassName(UIComponents.Apps.DonateForm.TextPrefill.dataKey)).firstOrDefault(null,null)!=null&&(System.Linq.Enumerable.from(inner.getElementsByClassName(UIComponents.Apps.DonateForm.TextPrefill.dataKey)).firstOrDefault(null,null).innerHTML="{{{"+(this.fromElement(inner)||"")+"}}}"),cpt=React.createElement("span",Bridge.React.fixAttr({className:"tile",dangerouslySetInnerHTML:($t=new Bridge.React.RawHtml,$t.__html=inner.innerHTML,$t)}),null),$t=new UIComponents.Apps.DonateForm.TextPrefill.State,$t.inner=this.unwrappedProps.inner,$t.innerComponent=cpt,$t},render:function(){var $t,content=this.unwrappedProps.inner.firstElementChild,tile;return System.Linq.Enumerable.from(content.getElementsByClassName(UIComponents.Apps.DonateForm.TextPrefill.dataKey)).firstOrDefault(null,null)!=null&&(System.Linq.Enumerable.from(content.getElementsByClassName(UIComponents.Apps.DonateForm.TextPrefill.dataKey)).firstOrDefault(null,null).innerHTML="{{{"+(this.fromElement(this.unwrappedState.inner)||"")+"}}}"),tile=new UIComponents.Apps.AppealEditor.EditableTileContainer(($t=new UIComponents.Apps.AppealEditor.EditableTileContainer.Props,$t.inner=content,$t.innerID=this.unwrappedProps.innerID,$t.canShow=!0,$t)),React.createElement("TextPrefill",Bridge.React.fixAttr({data:{textprefill:this.fromElement(this.unwrappedState.inner)}}),System.Linq.Enumerable.from(document.getElementsByTagName("EmailEditorApp")).any()?Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).op_Implicit(tile):this.unwrappedState.innerComponent)},fromElement:function(inner){if(System.String.isNullOrWhiteSpace(inner!=null?inner.textContent:null)){if(!System.String.isNullOrEmpty(inner!=null?inner.getAttribute(UIComponents.Apps.DonateForm.TextPrefill.dataKey):null))return inner.getAttribute(UIComponents.Apps.DonateForm.TextPrefill.dataKey)}else{var innerText=System.Linq.Enumerable.from(inner.getElementsByTagName("textprefill")).firstOrDefault(null,null);if(innerText!=null)return this.fromElement(innerText);if(!System.String.isNullOrEmpty(inner!=null?inner.getAttribute(UIComponents.Apps.DonateForm.TextPrefill.dataKey):null))return inner.getAttribute(UIComponents.Apps.DonateForm.TextPrefill.dataKey)}return""}}});Bridge.define("UIComponents.Apps.ProgressWidgetApp",{inherits:[Bridge.React.Component$2(UIComponents.Apps.ProgressWidgetApp.Props,UIComponents.Apps.ProgressWidgetApp.State)],statics:{fields:{retryHours:0},ctors:{init:function(){this.retryHours=6}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.ProgressWidgetApp.Props,UIComponents.Apps.ProgressWidgetApp.State).ctor.call(this,props,children)}},methods:{fraction:function(){var max=System.Decimal.max(this.unwrappedState.max,System.Decimal(1)),total=System.Decimal.max(this.unwrappedState.display,System.Decimal(0));return total.div(max)},constructorStateInitialiser:function(){var newstate=this.unwrappedProps.newState.$clone();return this.unwrappedProps.inner!=null&&(newstate.total=System.Decimal((new System.Random.ctor).next$1(System.Decimal.toInt(newstate.max,System.Int32))),this.unwrappedProps.innerID="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||""),newstate=UIComponents.Apps.ProgressWidgetApp.State.fromElement(this.unwrappedProps.inner)),newstate.$clone()},refreshLoop:function(){var $step=0,$task1,$taskResult1,$task2,$task3,$tcs=new System.Threading.Tasks.TaskCompletionSource,retrySeconds,i,period,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4,5,6,7,9,10],$step);switch($step){case 0:retrySeconds=21600;i=0;$step=1;continue;case 1:if(i<retrySeconds){$step=2;continue}$step=10;continue;case 2:period=i<120?3:9;$step=3;continue;case 3:i=i+period|0;$task1=this.refreshAsync();$step=4;$task1.continueWith($asyncBody);return;case 4:$taskResult1=$task1.getAwaitedResult();$task2=System.Threading.Tasks.Task.delay(Bridge.Int.mul(period,1e3));$step=5;$task2.continueWith($asyncBody);return;case 5:$task2.getAwaitedResult();$step=8;continue;case 6:$task3=System.Threading.Tasks.Task.delay(1e3);$step=7;$task3.continueWith($asyncBody);return;case 7:$task3.getAwaitedResult();$async_e=null;$step=8;continue;case 9:i=i+1|0;$step=1;continue;case 10:$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=3&&$step<=5){$step=6;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},refreshDisplay:function(){var $step=0,$task1,$task2,$task3,$task4,$task5,$tcs=new System.Threading.Tasks.TaskCompletionSource,sw,last,i,newstate,i1,newstate1,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],$step);switch($step){case 0:$task1=System.Threading.Tasks.Task.delay(1e3);$step=1;$task1.continueWith($asyncBody);return;case 1:$task1.getAwaitedResult();sw=System.Diagnostics.Stopwatch.startNew();last=System.Int64(0);i=0;$step=2;continue;case 2:if(i<120){$step=3;continue}$step=9;continue;case 3:if(last=sw.milliseconds(),this.unwrappedState.display.lt(this.unwrappedState.total)){$step=4;continue}$step=6;continue;case 4:newstate=this.unwrappedState.$clone();newstate.display=this.unwrappedState.total.div(System.Decimal(120)).mul(System.Decimal(i));$task2=this.setWrappedStateAsync(newstate.$clone());$step=5;$task2.continueWith($asyncBody);return;case 5:$task2.getAwaitedResult();$step=6;continue;case 6:$task3=System.Threading.Tasks.Task.delay(System.Int64.clip32(System.Int64(100).sub(System.Int64.max(sw.milliseconds().sub(last),System.Int64(10)))));$step=7;$task3.continueWith($asyncBody);return;case 7:$task3.getAwaitedResult();$step=8;continue;case 8:i=i+1|0;$step=2;continue;case 9:i1=0;$step=10;continue;case 10:if(i1<2147483647){$step=11;continue}$step=17;continue;case 11:if(this.unwrappedState.display.lt(this.unwrappedState.total)){$step=12;continue}$step=14;continue;case 12:newstate1=this.unwrappedState.$clone();newstate1.display=this.unwrappedState.total;$task4=this.setWrappedStateAsync(newstate1.$clone());$step=13;$task4.continueWith($asyncBody);return;case 13:$task4.getAwaitedResult();$step=14;continue;case 14:$task5=System.Threading.Tasks.Task.delay(2e3);$step=15;$task5.continueWith($asyncBody);return;case 15:$task5.getAwaitedResult();$step=16;continue;case 16:i1=i1+1|0;$step=10;continue;case 17:$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){$async_e=System.Exception.create($async_e1);$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},componentDidMount:function(){System.Linq.Enumerable.from(document.getElementsByTagName("AppealEditorApp")).any()||System.Threading.Tasks.Task.run(Bridge.fn.cacheBind(this,this.refreshLoop));System.Threading.Tasks.Task.run(Bridge.fn.cacheBind(this,this.refreshDisplay));Bridge.React.Component$2(UIComponents.Apps.ProgressWidgetApp.Props,UIComponents.Apps.ProgressWidgetApp.State).prototype.componentDidMount.call(this)},tryQuery:function(url){var $step=0,$task1,$taskResult1,$tcs=new System.Threading.Tasks.TaskCompletionSource,value,total,ex,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([1,2,3,4],$step);switch($step){case 1:$task1=UIComponents.Services.HttpRequest.parseODataResponse(UIComponents.Apps.ProgressWidgetApp.State,UIComponents.Services.HttpRequest.requestODataAsync(url,null,this.unwrappedState.bearerToken));$step=2;$task1.continueWith($asyncBody);return;case 2:if($taskResult1=$task1.getAwaitedResult(),value=$taskResult1,value!=null&&System.Linq.Enumerable.from(value).any()){total=value!=null?System.Linq.Enumerable.from(value).firstOrDefault(null,new UIComponents.Apps.ProgressWidgetApp.State).total:System.Decimal.lift(null);$tcs.setResult(total);return}$step=4;continue;case 3:System.Console.WriteLine(ex);$async_e=null;$step=4;continue;case 4:$tcs.setResult(System.Decimal.lift(null));return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=2){ex=$async_e;$step=3;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},refreshAsync:function(){var $step=0,$task1,$taskResult1,$task2,$taskResult2,$tcs=new System.Threading.Tasks.TaskCompletionSource,url,multiurl,total,total1,total2,ex,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4,5],$step);switch($step){case 0:url=this.unwrappedState.oDataUrl;multiurl=System.String.replaceAll(System.String.replaceAll(url,"filter(","filter(multiplier gt 1 and "),"aggregate(amount with sum as Total)","aggregate((amount mul (multiplier sub (multiplier div multiplier))) with sum as Total)");$step=1;continue;case 1:total=System.Decimal(0);$task1=this.tryQuery(url);$step=2;$task1.continueWith($asyncBody);return;case 2:$taskResult1=$task1.getAwaitedResult();total1=$taskResult1;$task2=this.tryQuery(multiurl);$step=3;$task2.continueWith($asyncBody);return;case 3:$taskResult2=$task2.getAwaitedResult();total2=$taskResult2;System.Nullable.liftne("ne",total1,System.Decimal.lift(null))&&(total=System.Nullable.getValue(total1),System.Nullable.liftne("ne",total2,System.Decimal.lift(null))&&(total=total.add(System.Nullable.getValue(total2))));UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Apps.ProgressWidgetApp.Props,Bridge.global.UIComponents.Apps.ProgressWidgetApp.State,this,function(s){s.total=total});$step=5;continue;case 4:System.Console.WriteLine(ex);$async_e=null;$step=5;continue;case 5:$tcs.setResult(this.unwrappedState.$clone());return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=3){ex=$async_e;$step=4;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},render:function(){var $t,$t1,is_vertical=this.unwrappedState.appearance===UIComponents.Apps.ProgressWidgetApp.ProgressStyle.default&&document.body.clientWidth>=720,widget=new UIComponents.Components.ProgressBar(($t=new UIComponents.Components.ProgressBar.Props,$t.contextName=($t1=this.unwrappedState.contextName,$t1!=null?$t1:"bar"),$t.isVertical=is_vertical,$t.fraction=this.fraction(),$t.style={backgroundColor:this.unwrappedState.barColor},$t)),wrap=React.createElement("div",Bridge.React.fixAttr({className:"columns",style:{color:this.unwrappedState.barColor,width:"100%",height:"100%",margin:"0"}}),React.createElement("div",Bridge.React.fixAttr({className:(System.String.format("column ",null)||"")+((is_vertical?"is-narrow":"")||""),style:{marginLeft:"auto",marginRight:"auto",height:"100%",marginBottom:"1.5em",marginTop:"0.5em"},data:{id:System.String.format("icon-container-{0}",[this.unwrappedState.contextName])}}),React.createElement("div",Bridge.React.fixAttr({style:{width:"100%",height:"100%",padding:"1em",position:"relative",marginLeft:"auto",marginRight:"auto",marginBottom:"-3em",marginTop:"2em",display:"flex"},data:{id:System.String.format("icon-target-{0}",[this.unwrappedState.contextName])}}),Bridge.React.StatelessComponent$1(UIComponents.Components.ProgressBar.Props).op_Implicit(widget)))),stateattrs=this.unwrappedState,attrs;return stateattrs.QueryString=Newtonsoft.Json.JsonConvert.SerializeObject(this.unwrappedState.query),attrs={key:($t=this.unwrappedProps.key,$t!=null?$t:"ProgressWidgetApp"),style:{width:"100%",height:"100%"},contentEditable:"false",data:Bridge.toPlain(stateattrs)},attrs.suppressContentEditableWarning=!0,React.createElement("progresswidgetapp",Bridge.React.fixAttr(attrs),wrap)},componentWillReceivePropsWrapped:function(nextProps){var newstate=this.unwrappedProps.newState.$clone();this.unwrappedProps.inner!=null?newstate=UIComponents.Apps.ProgressWidgetApp.State.fromElement(this.unwrappedProps.inner):newstate.total=System.Decimal(System.Decimal.toInt(newstate.max.div(System.Decimal(2)),System.Int32)).add(newstate.amountOffset);this.setWrappedStateAsync(newstate.$clone());Bridge.React.Component$2(UIComponents.Apps.ProgressWidgetApp.Props,UIComponents.Apps.ProgressWidgetApp.State).prototype.componentWillReceivePropsWrapped.call(this,nextProps)},componentDidUpdateWrapped:function(previousProps,previousState){var evt=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.ContextDispatcher);evt.invoke(Bridge.global.UIComponents.Apps.ProgressWidgetApp.State,this.unwrappedState.$clone());Bridge.React.Component$2(UIComponents.Apps.ProgressWidgetApp.Props,UIComponents.Apps.ProgressWidgetApp.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())}}});Bridge.define("UIComponents.Apps.TrackingWidgetApp",{inherits:[Bridge.React.Component$2(UIComponents.Apps.TrackingWidgetApp.Props,UIComponents.Apps.TrackingWidgetApp.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Apps.TrackingWidgetApp.Props,UIComponents.Apps.TrackingWidgetApp.State).ctor.call(this,props,children)}},methods:{render:function(){var $t,attrs={key:this.unwrappedProps.key,className:"ge-hidden-desktop-wrap",dangerouslySetInnerHTML:($t=new Bridge.React.RawHtml,$t.__html=this.unwrappedState.textContent,$t),contentEditable:"false"};return attrs.suppressContentEditableWarning=!0,React.createElement("TrackingWidgetApp",Bridge.React.fixAttr(attrs),null)},constructorStateInitialiser:function(){var newstate=this.unwrappedProps.newState.$clone();return UIComponents.IContainerPropsExtensions.isEditable(this.unwrappedProps)&&(this.unwrappedProps.innerID="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||"")),newstate=this.refreshState(this.unwrappedProps),newstate.$clone()},componentWillMount:function(){Bridge.React.Component$2(UIComponents.Apps.TrackingWidgetApp.Props,UIComponents.Apps.TrackingWidgetApp.State).prototype.componentWillMount.call(this)},componentWillReceivePropsWrapped:function(nextProps){var newstate=this.refreshState(nextProps);this.setWrappedStateAsync(newstate.$clone());Bridge.React.Component$2(UIComponents.Apps.TrackingWidgetApp.Props,UIComponents.Apps.TrackingWidgetApp.State).prototype.componentWillReceivePropsWrapped.call(this,nextProps)},componentDidUpdateWrapped:function(previousProps,previousState){Bridge.React.Component$2(UIComponents.Apps.TrackingWidgetApp.Props,UIComponents.Apps.TrackingWidgetApp.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())},refreshState:function(nextProps){var newstate=nextProps.newState.$clone();return this.unwrappedProps.inner!=null&&(newstate=UIComponents.Apps.TrackingWidgetApp.State.fromElement(this.unwrappedProps.inner)),newstate.$clone()}}});Bridge.define("UIComponents.ChromeOnlyModalContainer",{inherits:[Bridge.React.Component$2(UIComponents.ChromeOnlyModalContainer.Props,UIComponents.ChromeOnlyModalContainer.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.ChromeOnlyModalContainer.Props,UIComponents.ChromeOnlyModalContainer.State).ctor.call(this,props,children)}},methods:{componentDidMount:function(){this.update()},componentDidUpdateWrapped:function(previousProps,previousState){this.update();Bridge.React.Component$2(UIComponents.ChromeOnlyModalContainer.Props,UIComponents.ChromeOnlyModalContainer.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())},update:function(){var $t,modal=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps),button,target;this.unwrappedProps.openButton=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLAnchorElement,modal,"open")).first();this.unwrappedProps.openButton.onclick=Bridge.fn.bind(this,$asm.$.UIComponents.ChromeOnlyModalContainer.f1);this.unwrappedProps.closeButtons=UIComponents.IContainerPropsExtensions.innerElements(HTMLAnchorElement,modal,"close");$t=Bridge.getEnumerator(this.unwrappedProps.closeButtons,HTMLAnchorElement);try{while($t.moveNext())button=$t.Current,button.onclick=Bridge.fn.combine(button.onclick,Bridge.fn.bind(this,$asm.$.UIComponents.ChromeOnlyModalContainer.f2))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}target=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLDivElement,modal,"view")).first();target.className=System.String.replaceAll(target.className,"is-active","").trim();this.unwrappedState.isActive&&(target.className=(target.className||"")+" is-active");Bridge.React.Component$2(UIComponents.ChromeOnlyModalContainer.Props,UIComponents.ChromeOnlyModalContainer.State).prototype.componentDidMount.call(this)},constructorStateInitialiser:function(){var $t,modal,target;return(this.unwrappedProps.innerComponent=UIComponents.IContainerPropsExtensions.createInnerComponent(this.unwrappedProps),modal=this.unwrappedProps.inner,target=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLDivElement,modal,"view")).first(),System.String.contains(target.className,"is-active"))?($t=new UIComponents.ChromeOnlyModalContainer.State,$t.isActive=!0,$t):($t=new UIComponents.ChromeOnlyModalContainer.State,$t.isActive=this.unwrappedProps.active,$t)},render:function(){if(this.unwrappedState.isActive){var message=UIComponents.XBrowser.browserNotSupported("creating appeal pages",[UIComponents.WebBrowser.IE,UIComponents.WebBrowser.safari,UIComponents.WebBrowser.firefox]);if(message!=null)return message}return this.unwrappedProps.innerComponent}}});Bridge.ns("UIComponents.ChromeOnlyModalContainer",$asm.$);Bridge.apply($asm.$.UIComponents.ChromeOnlyModalContainer,{f1:function(){var $t;document.documentElement.style.overflow="hidden";this.setWrappedState(($t=new UIComponents.ChromeOnlyModalContainer.State,$t.isActive=!0,$t))},f2:function(){var $t1;document.documentElement.style.overflow=null;this.setWrappedState(($t1=new UIComponents.ChromeOnlyModalContainer.State,$t1.isActive=!1,$t1))}});Bridge.define("UIComponents.Collections.TagSetTable",{inherits:[UIComponents.Collections.ODataCollection$2(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Collections.ODataCollection$2(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){return this.unwrappedProps.context=Newtonsoft.Json.JsonConvert.DeserializeObject(this.unwrappedProps.inner.getAttribute("data-context"),ViewModels.ReactContext.TagSetContext),UIComponents.Collections.ODataCollection$2(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext).prototype.constructorStateInitialiser.call(this)},modify:function(property,id){var $t,items=this.unwrappedState.items,updated=new(System.Collections.Generic.List$1(System.Collections.Generic.Dictionary$2(System.String,System.String)).ctor),item;$t=Bridge.getEnumerator(items);try{while($t.moveNext())item=$t.Current,Bridge.referenceEquals(item.get("compounduuid"),id)&&(item.set(property.key,property.value),this.update(item)),updated.add(item)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Collections.ODataCollection$2.Props$1(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext,ViewModels.ReactContext.TagSetContext),Bridge.global.UIComponents.Collections.ODataCollection$2.State(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext),this,function(s){s.items=updated}),updated},td:function(kv,id){var $t,value=Bridge.toString(kv.value);return Bridge.React.Component$2(UIComponents.Collections.TagSetTD.Props,UIComponents.Collections.TagSetTD.State).op_Implicit(new UIComponents.Collections.TagSetTD(($t=new UIComponents.Collections.TagSetTD.Props(this.unwrappedProps.context),$t.item=kv,$t.update=Bridge.fn.bind(this,function(prop){this.modify(prop,id)}),$t)))},tr:function(item){var uuid=item.get("compounduuid"),rows=System.Linq.Enumerable.from(this.unwrappedProps.context.propertyNames).select(function(p){return new(System.Collections.Generic.KeyValuePair$2(System.String,System.String))(p,item.containsKey(p)?item.get(p):"")});return React.createElement("tr",Bridge.React.fixAttr({key:uuid}),System.Linq.Enumerable.from(rows.select(Bridge.fn.bind(this,function(x){return this.td(x,uuid)}))).toArray())},thead:function(keys){return React.createElement("thead",Bridge.React.fixAttr({}),React.createElement("tr",null,System.Linq.Enumerable.from(System.Linq.Enumerable.from(keys).select($asm.$.UIComponents.Collections.TagSetTable.f1)).toArray()))},tbody:function(items){var rows=System.Linq.Enumerable.from(items).select(Bridge.fn.bind(this,$asm.$.UIComponents.Collections.TagSetTable.f2));return React.createElement("tbody",Bridge.React.fixAttr({}),System.Linq.Enumerable.from(rows).toArray())},render:function(){return React.createElement("table",Bridge.React.fixAttr({className:"table is-striped is-narrow is-hoverable is-fullwidth table-container"}),this.thead(this.unwrappedProps.context.propertyNames),this.tbody(this.unwrappedState.items))}}});Bridge.ns("UIComponents.Collections.TagSetTable",$asm.$);Bridge.apply($asm.$.UIComponents.Collections.TagSetTable,{f1:function(x){return React.createElement("th",Bridge.React.fixAttr({key:x}),x)},f2:function(x){return this.tr(x)}});Bridge.define("UIComponents.Components.Configurable.TileWrapper",{inherits:[Bridge.React.Component$2(UIComponents.Components.Configurable.TileWrapper.Props,UIComponents.Components.Configurable.TileWrapper.State)],statics:{methods:{countEditableParentTiles:function(target){for(var left,p,editableparents=0,parent=target.parentElement,i=0;i<10&&parent!=null;i=i+1|0)left=parent.getBoundingClientRect().left,Math.abs(left-target.getBoundingClientRect().left)<.5&&(p=UIComponents.Components.Configurable.TileWrapper.Props.fromElement(parent),(p.canEdit||p.canForm)&&(editableparents=editableparents+1|0),editableparents=editableparents+System.Linq.Enumerable.from(p.controls).count()|0),parent=parent.parentElement;return editableparents}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Configurable.TileWrapper.Props,UIComponents.Components.Configurable.TileWrapper.State).ctor.call(this,props,children)}},methods:{updateEditor:function(previousState){var $t,is_edit=this.unwrappedState.isEditable&&this.unwrappedProps.canShow,was_edit=previousState.isEditable,editor=this.unwrappedState.editor,target=document.getElementById(this.unwrappedProps.wrappedId).firstElementChild,editable=target!=null?target.firstElementChild:null,eds,ed;if(editable==null)return target;if(!this.unwrappedProps.canShow){editable.removeAttribute("contenteditable");eds=UIComponents.IContainerPropsExtensions.innerElements(Element,editable,"contenteditable");$t=Bridge.getEnumerator(eds,Element);try{while($t.moveNext())ed=$t.Current,ed.removeAttribute("contenteditable"),ed.removeAttribute("contentEditable")}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}return is_edit&&!was_edit?window.requestAnimationFrame(Bridge.fn.bind(this,function(){var el=UIComponents.Services.Alloy.AlloyEditor.makeEditable(editable,this,this.unwrappedProps);UIComponents.Services.Alloy.AlloyEditor.setupFocusEditor(editable,this.unwrappedProps);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,function(s){s.editor=el;s.isEditable=!0})})):editor!=null&&is_edit===!1&&this.resetEditor(),target},changeState:function(Fn){return UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,Fn),this.unwrappedState.$clone()},resetEditor:function(){window.requestAnimationFrame(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f2))},applyControls:function(target){var $t,c;$t=Bridge.getEnumerator(System.Linq.Enumerable.from(this.unwrappedProps.controls).ofType(UIComponents.Components.Configurable.IConfigControl$1(UIComponents.Components.Configurable.TileWrapper.Props)));try{while($t.moveNext())c=$t.Current,c[Bridge.geti(c,"UIComponents$Components$Configurable$IConfigControl$1$UIComponents$Components$Configurable$TileWrapper$Props$update$1","UIComponents$Components$Configurable$IConfigControl$1$update$1")](this.unwrappedProps)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}this.unwrappedProps.canMove&&(target.style.marginTop=(Bridge.toString(this.unwrappedState.marginTop)||"")+"px",target.style.marginLeft=(Bridge.toString(this.unwrappedState.marginLeft)||"")+"px")},confbtn:function(){var $t;return new UIComponents.Components.Configurable.ConfigState.$ctor1(Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-cog",$t.attributes=this.unwrappedProps.canTrack?{className:"button is-light",id:"btnTrackButton",style:{display:"none"}}:{className:"button is-light"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f4),$t))),this.unwrappedProps.canForm?this.configFormFields():this.configMenus(),this.unwrappedState.show&&this.unwrappedProps.canShow)},movebtn:function(goBottom,goRight){var $t;return new UIComponents.Components.Configurable.ConfigState.$ctor1(Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-chevron-"+((goBottom>0?"down":goBottom<0?"up":goRight>0?"right":"left")||""),$t.onClick=Bridge.fn.bind(this,function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,function(s){s.marginTop=s.marginTop+Bridge.Int.mul(10,goBottom)|0;s.marginLeft=s.marginLeft+Bridge.Int.mul(10,goRight)|0})}),$t.attributes={className:"button",style:goBottom<0?{top:0,right:"40px",position:"absolute",height:40,width:40,lineHeight:"40px",borderRadius:"4px",border:"none",display:"block"}:{marginTop:"40px",marginRight:"40px",height:40,width:40,lineHeight:"40px",borderRadius:"4px",border:"none",display:"block"}},$t))),null,this.unwrappedProps.canMove)},editbtn:function(){var $t;return new UIComponents.Components.Configurable.ConfigState.$ctor1(Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon=this.unwrappedState.isEditable?"fa-check":"fa-pencil",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f6),$t))),null,this.unwrappedState.isEditable)},lockbtn:function(){var $t;return new UIComponents.Components.Configurable.ConfigState.$ctor1(Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-lock",$t.onClick=$asm.$.UIComponents.Components.Configurable.TileWrapper.f7,$t),[React.createElement("p",null,"This block is required for charity donation in Australia")])),null,this.unwrappedState.show&&this.unwrappedProps.canShow)},widgetOptions:function(){return new(Bridge.GeneratorEnumerable$1(Object))(Bridge.fn.bind(this,function(){var $step=0,$t,$async_e,$enumerator=new(Bridge.GeneratorEnumerator$1(Object))(Bridge.fn.bind(this,function(){try{for(;;)switch($step){case 0:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Countdown Timer",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-clock",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f9),$t),[React.createElement("p",null,"Change Widget to Countdown Timer")]))),$step=1,!0;case 1:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Donation Form",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-list-alt",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f11),$t),[React.createElement("p",null,"Change Widget to Donation Form")]))),$step=2,!0;case 2:return $enumerator.current=React.createElement("div",Bridge.React.fixAttr({key:"Progress Thermometer",className:"navbar-item"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-thermometer-half",$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f13),$t),[React.createElement("p",null,"Change Widget to Progress Thermometer")]))),$step=3,!0;case 3:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},widgetbtn:function(){var $t,$t1,$t2,active=this.unwrappedState.change&&this.unwrappedProps.canShow,list=Bridge.React.ReactElementList.empty,w;$t=Bridge.getEnumerator(this.widgetOptions(),Object);try{while($t.moveNext())w=$t.Current,list=list.add(w)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return new UIComponents.Components.Configurable.ConfigState.$ctor1(Bridge.React.StatelessComponent$1(UIComponents.DropdownList.Props).op_Implicit(new UIComponents.DropdownList(($t1=new UIComponents.DropdownList.Props,$t1.isActive=active,$t1.anchor=Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit(new UIComponents.Components.IconButton(($t2=new UIComponents.Components.IconButton.Props,$t2.icon="fa-cubes",$t2.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f15),$t2))),$t1.items=System.Linq.Enumerable.from(list).toDictionary($asm.$.UIComponents.Components.Configurable.TileWrapper.f16,$asm.$.UIComponents.Components.Configurable.TileWrapper.f17,System.String,Bridge.global.System.Object),$t1))),null,active)},configMenus:function(){var FieldComponents=System.Linq.Enumerable.from(this.unwrappedProps.controls).selectMany($asm.$.UIComponents.Components.Configurable.TileWrapper.f18).select($asm.$.UIComponents.Components.Configurable.TileWrapper.f19).toList(Object);return React.createElement("div",Bridge.React.fixAttr({className:"control-menu ae-ui ae-toolbars",key:System.String.format("control-menu",null),style:{display:"flex",width:"100%",position:"absolute",top:"25%",left:"25%"}}),React.createElement("div",Bridge.React.fixAttr({key:System.String.format("control-menu-sub-1",null),className:"ae-toolbar-styles ae-arrow-box ae-arrow-box-top ae-toolbar-transition alloy-editor-visible",style:{flex:"0 0 auto",width:"25rem",minWidth:"15rem",zIndex:"1"}}),React.createElement("div",Bridge.React.fixAttr({key:System.String.format("control-menu-sub-2",null)}),React.createElement("div",Bridge.React.fixAttr({style:{color:"#000"},key:System.String.format("control-menu-sub-3",null)}),System.Linq.Enumerable.from(FieldComponents).toArray()),React.createElement("button",Bridge.React.fixAttr({className:"delete",style:{position:"absolute",top:"0.5em",right:"0.5em"},onClick:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f21)}),null))))},configFormFields:function(){var FieldComponents1=System.Linq.Enumerable.from(this.unwrappedProps.controls).selectMany($asm.$.UIComponents.Components.Configurable.TileWrapper.f22).toList(Object),form=document.body,formControl=Bridge.as(System.Linq.Enumerable.from(this.unwrappedProps.controls).where($asm.$.UIComponents.Components.Configurable.TileWrapper.f23).firstOrDefault(null,null),UIComponents.Components.Configurable.FormFieldsControl),FieldComponents2;return form!=null&&formControl!=null&&(FieldComponents2=formControl.banner(),FieldComponents1.add(FieldComponents2)),React.createElement("div",Bridge.React.fixAttr({style:{alignItems:"center",backgroundColor:"rgb(0 0 0 / 70%)",display:"flex",height:"100vh",justifyContent:"center",left:"0",position:"fixed",top:"0",width:"100%",zIndex:"99"}}),React.createElement("div",Bridge.React.fixAttr({className:"",key:System.String.format("control-fields-menu",null),style:{backgroundColor:"#FFF",color:"#002847",width:"80%",height:"90%",padding:"24px 36px",position:"relative",overflowY:"auto"}}),React.createElement("div",Bridge.React.fixAttr({className:"title",style:{textAlign:"left",color:"#002847",marginBottom:"0"}}),"Donation Form"),React.createElement("hr",Bridge.React.fixAttr({style:{backgroundColor:"#002847",margin:"16px 0"}}),null),React.createElement("div",Bridge.React.fixAttr({className:"",style:{textAlign:"left",color:"#002847",padding:"0px",fontWeight:"bold"}}),"Regular Giving Options"),React.createElement("div",Bridge.React.fixAttr({style:{color:"#002847"},key:System.String.format("control-fields-menu-sub-3",null)}),System.Linq.Enumerable.from(FieldComponents1).toArray()),React.createElement("button",Bridge.React.fixAttr({className:"delete",style:{position:"absolute",top:"16px",right:"16px"},onClick:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f21)}),null)))},buildInner:function(){var $t,innerprops=this.unwrappedState.newProps,wrapper,target;return(innerprops==null&&(innerprops=this.applyConfigControls(UIComponents.Apps.DonateForm.DonateFormApp.Props,innerprops,($t=new UIComponents.Apps.DonateForm.DonateFormApp.Props,$t.appeal=UIComponents.Apps.AppealEditor.AppealEditorApp.getDonationFormModelOrDefault(),$t.formModel=UIComponents.Apps.DonateForm.DonateFormApp.getFromSettingsModelOrDefault(),$t.inner=document.getElementById(this.unwrappedProps.wrappedId),$t.canShow=this.unwrappedProps.canShow,$t))),innerprops==null&&(innerprops=this.applyConfigControls(UIComponents.Apps.ProgressWidgetApp.Props,innerprops,new UIComponents.Apps.ProgressWidgetApp.Props)),innerprops==null&&(innerprops=this.applyConfigControls(UIComponents.Apps.CountdownWidgetApp.Props,innerprops,new UIComponents.Apps.CountdownWidgetApp.Props)),innerprops==null&&(innerprops=this.applyConfigControls(UIComponents.Apps.TrackingWidgetApp.Props,innerprops,new UIComponents.Apps.TrackingWidgetApp.Props)),innerprops==null)?this.unwrappedState.child:(wrapper=document.getElementById(this.unwrappedProps.wrappedId),wrapper!=null&&(target=wrapper.firstElementChild,target!=null))?UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,Bridge.Reflection.getTypeFullName(Bridge.getType(innerprops)),innerprops):this.unwrappedState.child},applyConfigControls:function(T,innerprops,newprops){var $t,ctrls=System.Linq.Enumerable.from(this.unwrappedProps.controls).ofType(UIComponents.Components.Configurable.IConfigControl$1(T)),c;if(ctrls.any()){innerprops=newprops;$t=Bridge.getEnumerator(ctrls);try{while($t.moveNext())c=$t.Current,innerprops=c.UIComponents$Components$Configurable$IConfigControl$update(innerprops)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}return innerprops},componentWillUnmount:function(){if(this.unwrappedState.editor!=null){var editor=this.unwrappedState.editor;try{UIComponents.Services.Alloy.AlloyEditor.removeEditable(editor)}catch(ex){ex=System.Exception.create(ex);System.Console.WriteLine(ex)}}Bridge.React.Component$2(UIComponents.Components.Configurable.TileWrapper.Props,UIComponents.Components.Configurable.TileWrapper.State).prototype.componentWillUnmount.call(this)},componentWillMount:function(){this.unwrappedProps.wrappedId=System.String.format("{0}x{1}",UIComponents.IContainerPropsExtensions.PREFIX,GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid()));Bridge.React.Component$2(UIComponents.Components.Configurable.TileWrapper.Props,UIComponents.Components.Configurable.TileWrapper.State).prototype.componentWillMount.call(this)},constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Components.Configurable.TileWrapper.State,$t.hover=!1,$t.show=!1,$t.change=!1,$t.isEditable=!1,$t.editor=null,$t.newProps=null,$t.child=System.Linq.Enumerable.from(this.children).ofType(Object).single(),$t},componentDidMount:function(){var $t,target=document.getElementById(this.unwrappedProps.wrappedId).firstElementChild,top=0,left=0,editableparents,c;!0&&(editableparents=UIComponents.Components.Configurable.TileWrapper.countEditableParentTiles(target),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,function(s){s.tileParents=editableparents}));this.unwrappedProps.canMove&&(top=System.Int32.parse(System.String.isNullOrEmpty(target.style.getPropertyValue("margin-top"))?"0":System.String.replaceAll(System.String.replaceAll(target.style.marginTop,"px",""),"%","")),left=System.Int32.parse(System.String.isNullOrEmpty(target.style.getPropertyValue("margin-left"))?"0":System.String.replaceAll(System.String.replaceAll(target.style.marginLeft,"px",""),"%","")),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,function(s){s.marginTop=top;s.marginLeft=left}));this.applyControls(target);$t=Bridge.getEnumerator(this.unwrappedProps.controls,UIComponents.Components.Configurable.IConfigControl);try{while($t.moveNext())c=$t.Current,c.UIComponents$Components$Configurable$IConfigControl$addonUpdate(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f27))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}Bridge.React.Component$2(UIComponents.Components.Configurable.TileWrapper.Props,UIComponents.Components.Configurable.TileWrapper.State).prototype.componentDidMount.call(this)},componentDidUpdateWrapped:function(previousProps,previousState){var is_changed=this.unwrappedState.newProps!=null,was_changed=previousState.newProps!=null,widgetname,cmpt,target;if(is_changed&&!was_changed)widgetname=UIComponents.Extensions.ComponentExtensions.typeKey$1(Bridge.getType(this.unwrappedState.newProps)),cmpt=React.createElement("div",Bridge.React.fixAttr({key:GiveEasy.Shared.Extensions.localKey(this.unwrappedState.newProps)}),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,widgetname,this.unwrappedState.newProps)),UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,function(s){s.child=cmpt});else if(was_changed)this.unwrappedProps.onChildUpdated(this,null);else target=this.updateEditor(previousState.$clone()),this.applyControls(target);Bridge.React.Component$2(UIComponents.Components.Configurable.TileWrapper.Props,UIComponents.Components.Configurable.TileWrapper.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())},render:function(){var buttons=new(System.Collections.Generic.List$1(UIComponents.Components.Configurable.ConfigState).ctor),moveButtons=new(System.Collections.Generic.List$1(UIComponents.Components.Configurable.ConfigState).ctor);return this.unwrappedProps.canEdit&&buttons.add(this.editbtn()),this.unwrappedProps.canNotEdit&&buttons.add(this.lockbtn()),System.Linq.Enumerable.from(this.unwrappedProps.controls).any()&&buttons.add(this.confbtn()),this.unwrappedProps.canWidget&&buttons.add(this.widgetbtn()),this.unwrappedProps.canMove&&(moveButtons.add(this.movebtn(-1,0)),moveButtons.add(this.movebtn(1,0))),this.wrapEditable(moveButtons.toArray(),buttons.toArray())},wrapEditable:function(moveControls,controls){var $t,$t1,help,tips,control;controls===void 0&&(controls=[]);var hoverpanel=React.createElement("span",Bridge.React.fixAttr({key:"hover-panel"+((this.unwrappedProps.canTrack?"-track":"")||""),className:"notification is-dark hover-panel",style:{padding:1,position:"absolute",top:0,left:System.String.format("{0}px",[Bridge.box(Bridge.Int.mul(this.unwrappedState.tileParents,40),System.Int32)]),opacity:this.unwrappedState.isEditable?".3":".9",marginTop:"-15px",display:"block"}}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(controls).where($asm.$.UIComponents.Components.Configurable.TileWrapper.f28).select($asm.$.UIComponents.Components.Configurable.TileWrapper.f29)).toArray()),hoverpanel_move=React.createElement("span",Bridge.React.fixAttr({key:"hover-panel-move",className:"notification hover-panel",style:{padding:1,position:"absolute",top:0,right:0,opacity:".8",backgroundColor:"transparent",marginTop:"15px",display:"block"}}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(moveControls).where($asm.$.UIComponents.Components.Configurable.TileWrapper.f28).select($asm.$.UIComponents.Components.Configurable.TileWrapper.f29)).toArray()),components=Bridge.React.ReactElementList.empty,inner=this.buildInner();if(components=components.add(inner),this.unwrappedProps.canShow){help=UIComponents.Components.Tooltips.Hint.always;this.unwrappedState.hover&&(help|=UIComponents.Components.Tooltips.Hint.hover);this.unwrappedState.show&&(help|=UIComponents.Components.Tooltips.Hint.open);$t=Bridge.getEnumerator(System.Linq.Enumerable.from(System.Linq.Enumerable.from(this.unwrappedProps.controls).toList(Bridge.global.UIComponents.Components.Configurable.IConfigControl)).ofType(UIComponents.Components.Tooltips.ITooltip));try{while($t.moveNext())tips=$t.Current,components=components.add(tips.UIComponents$Components$Tooltips$ITooltip$display(help,this.unwrappedProps))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}}$t1=Bridge.getEnumerator(System.Linq.Enumerable.from(controls).where($asm.$.UIComponents.Components.Configurable.TileWrapper.f30));try{while($t1.moveNext())control=$t1.Current.$clone(),components=components.add(control.panel)}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$dispose()}return this.unwrappedState.hover?(System.Linq.Enumerable.from(controls).count()>0&&(components=components.add(hoverpanel)),System.Linq.Enumerable.from(moveControls).count()>0&&(components=components.add(hoverpanel_move))):this.unwrappedProps.canTrack&&this.unwrappedProps.canShow&&System.Linq.Enumerable.from(controls).count()>0&&(components=components.add(hoverpanel)),React.createElement("div",Bridge.React.fixAttr({key:GiveEasy.Shared.Extensions.localKey(this.unwrappedProps),id:this.unwrappedProps.wrappedId,className:this.unwrappedProps.wrapperClassName,style:{position:"relative",width:"100%"},onMouseOver:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f32),onMouseLeave:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f34)}),System.Linq.Enumerable.from(components).toArray())}}});Bridge.ns("UIComponents.Components.Configurable.TileWrapper",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Configurable.TileWrapper,{f1:function(s){s.editor=null;s.isEditable=!1},f2:function(){UIComponents.Services.Alloy.AlloyEditor.removeEditable(this.unwrappedState.editor);UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f1);this.unwrappedProps.onChildUpdated(this,null)},f3:function(s){s.show=!s.show},f4:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f3)},f5:function(s){s.isEditable=!s.isEditable},f6:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f5)},f7:function(){},f8:function(s){s.newProps=new UIComponents.Apps.CountdownWidgetApp.Props},f9:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f8)},f10:function(s){s.newProps=new UIComponents.Apps.DonateForm.DonateFormApp.Props},f11:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f10)},f12:function(s){s.newProps=new UIComponents.Apps.ProgressWidgetApp.Props},f13:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f12)},f14:function(s){s.change=!s.change},f15:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f14)},f16:function(){return GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())},f17:function(kv){return Bridge.cast(kv,System.Object)},f18:function(c){return c.UIComponents$Components$Configurable$IConfigControl$control()},f19:function(p){return UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,Bridge.Reflection.getTypeFullName(Bridge.getType(p)),p)},f20:function(s){s.show=!1},f21:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f20)},f22:function(c){return System.Linq.Enumerable.from(c.UIComponents$Components$Configurable$IConfigControl$control()).select($asm.$.UIComponents.Components.Configurable.TileWrapper.f19)},f23:function(c){return Bridge.is(c,UIComponents.Components.Configurable.FormFieldsControl)},f24:function(s){s.show=s.show?!0:!1},f25:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f24)},f26:function(){System.Threading.Tasks.Task.run(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f25))},f27:function(){window.requestAnimationFrame(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f26))},f28:function(x){return x.button!=null},f29:function(x){return x.button},f30:function(x){return x.active},f31:function(s){s.hover=!0},f32:function(){this.unwrappedState.hover||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f31)},f33:function(s){s.hover=!1},f34:function(){this.unwrappedState.hover&&UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Configurable.TileWrapper.Props,Bridge.global.UIComponents.Components.Configurable.TileWrapper.State,this,$asm.$.UIComponents.Components.Configurable.TileWrapper.f33)}});Bridge.define("UIComponents.Components.Form.Buttons.SingleButton",{inherits:[Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Components.Form.Buttons.SingleButton.State,$t.clicks=0,$t},render:function(){var $t,attrs=this.unwrappedProps.attributes||{};return attrs.key=($t=this.unwrappedProps.key,$t!=null?$t:GiveEasy.Shared.Extensions.localKey(this.unwrappedProps)),attrs.onClick=Bridge.fn.bind(this,function(){var $t1;attrs.disabled||this.unwrappedState.clicks<=0&&(this.setWrappedState(($t1=new UIComponents.Components.Form.Buttons.SingleButton.State,$t1.clicks=this.unwrappedState.clicks+1|0,$t1)),this.unwrappedProps.onClick())}),this.unwrappedState.clicks>0&&(attrs.className=System.String.concat(attrs.className," is-loading")),React.createElement.apply(React,["a",Bridge.React.fixAttr(attrs)].concat(this.children))}}});Bridge.define("UIComponents.Components.Form.Labels.HelpLabel",{inherits:[Bridge.React.Component$2(UIComponents.Components.Form.Labels.HelpLabel.Props,UIComponents.Components.Form.Labels.HelpLabel.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Form.Labels.HelpLabel.Props,UIComponents.Components.Form.Labels.HelpLabel.State).ctor.call(this,props,children)}},methods:{helpButton:function(){var $t,modal=($t=new UIComponents.InfoModal.Props,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Form.Labels.HelpLabel.f1),$t.active=this.unwrappedState.open,$t.title=this.unwrappedProps.title,$t.message=this.unwrappedProps.message,$t),attrs={key:"help",className:System.String.format("",null),style:{margin:"2px",marginLeft:"1em"},onClick:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Form.Labels.HelpLabel.f2)},help=React.createElement("a",Bridge.React.fixAttr({key:System.String.format("fa {0}",["fa-question"]),className:"icon"}),React.createElement("i",Bridge.React.fixAttr({className:System.String.format("fa fa-question-circle",null),style:{color:"yellow",textDecoration:"none"}}),null));return this.unwrappedState.open?Bridge.React.StatelessComponent$1(UIComponents.InfoModal.Props).op_Implicit(new UIComponents.InfoModal(modal)):React.createElement("span",Bridge.React.fixAttr(attrs),help)},constructorStateInitialiser:function(){var $t;return $t=new UIComponents.Components.Form.Labels.HelpLabel.State,$t.open=!1,$t.clicked=!1,$t},render:function(){var $t,children=Bridge.React.ReactElementList.empty,lattrs=this.unwrappedProps.attributes||{},style,c;lattrs.key=GiveEasy.Shared.Extensions.localKey(this.unwrappedProps);style={margin:"auto"};children=children.add(React.createElement("span",Bridge.React.fixAttr({style:style,key:1}),React.createElement("label",Bridge.React.fixAttr(lattrs),this.unwrappedProps.label)));children=children.add(React.createElement("span",Bridge.React.fixAttr({style:style,key:2}),this.helpButton()));$t=Bridge.getEnumerator(this.children);try{while($t.moveNext())c=$t.Current,children=children.add(c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return React.createElement("div",Bridge.React.fixAttr({key:GiveEasy.Shared.Extensions.localKey(this.unwrappedProps),style:{verticalAlign:"middle"}}),System.Linq.Enumerable.from(children).toArray())}}});Bridge.ns("UIComponents.Components.Form.Labels.HelpLabel",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Form.Labels.HelpLabel,{f1:function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Components.Form.Labels.HelpLabel.State,$t1.open=!1,$t1.clicked=this.unwrappedState.clicked,$t1))},f2:function(){var $t1,newstate=($t1=new UIComponents.Components.Form.Labels.HelpLabel.State,$t1.open=!this.unwrappedState.open,$t1.clicked=!0,$t1);this.unwrappedProps.onClicked(newstate);this.setWrappedStateAsync(newstate)}});Bridge.define("UIComponents.Components.Form.Labels.TNCLabel",{inherits:[Bridge.React.PureComponent$1(UIComponents.Components.Form.Labels.TNCLabel.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.PureComponent$1(UIComponents.Components.Form.Labels.TNCLabel.Props).ctor.call(this,props,children)}},methods:{render:function(){return React.createElement("span",Bridge.React.fixAttr({key:"tncspan",className:"is-small",style:{fontSize:"0.75rem",margin:"0.125rem"}}),"I have read and understood these ",React.createElement("a",Bridge.React.fixAttr({onClick:Bridge.fn.bind(this,$asm.$.UIComponents.Components.Form.Labels.TNCLabel.f1)}),"Terms and Conditions")," in their entirety and agree to be bound by them.")}}});Bridge.ns("UIComponents.Components.Form.Labels.TNCLabel",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Form.Labels.TNCLabel,{f1:function(e){e.preventDefault();window.open(this.unwrappedProps.href,"_blank")}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State),UIComponents.Components.Tooltips.ITooltip],alias:["display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State).ctor.call(this,props,children)}},methods:{setModal:function(){this.unwrappedState.active||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.f1)},render:function(){var $t;return React.createElement("button",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuButton(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedInforBlock$Props$pluginKey,Bridge.fn.cacheBind(this,this.setModal))),React.createElement("span",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuIcon(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedInforBlock$Props$pluginKey,"/node_modules/alloyeditor/dist/alloy-editor/plugins/htmlbuttons/fields.png?t=GAGE")),null),Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State).op_Implicit$1(new UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock(($t=new UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.Props,$t.key=System.String.format("modal-{0}-{1}",this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedInforBlock$Props$pluginKey,Bridge.box(this.unwrappedState.active,System.Boolean,System.Boolean.toString)),$t.active=this.unwrappedState.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.f3),$t.editor=this.unwrappedProps.editor._editor,$t))),this.display(UIComponents.Components.Tooltips.Hint.always,this.unwrappedProps))},display:function(){var tooltip=new $asm.$AnonymousType$1(System.String.format("Embed pre-fill information block for email",null));return React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"ITooltip",data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock,{f1:function(s){s.active=!0},f2:function(s){s.active=!1},f3:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.f2)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State),UIComponents.Components.Tooltips.ITooltip],alias:["display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State).ctor.call(this,props,children)}},methods:{setModal:function(){this.unwrappedState.active||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.f1)},render:function(){var $t;return React.createElement("button",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuButton(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedPrefillBlock$Props$pluginKey,Bridge.fn.cacheBind(this,this.setModal))),React.createElement("span",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuIcon(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedPrefillBlock$Props$pluginKey,"/node_modules/alloyeditor/dist/alloy-editor/plugins/htmlbuttons/fields.png?t=GAGE")),null),Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State).op_Implicit$1(new UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock(($t=new UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.Props,$t.key=System.String.format("modal-{0}-{1}",this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedPrefillBlock$Props$pluginKey,Bridge.box(this.unwrappedState.active,System.Boolean,System.Boolean.toString)),$t.active=this.unwrappedState.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.f3),$t.editor=this.unwrappedProps.editor._editor,$t))),this.display(UIComponents.Components.Tooltips.Hint.always,this.unwrappedProps))},display:function(){var tooltip=new $asm.$AnonymousType$1(System.String.format("Embed pre-fill information block for page",null));return React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"ITooltip",data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock,{f1:function(s){s.active=!0},f2:function(s){s.active=!1},f3:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.f2)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.State),UIComponents.Components.Tooltips.ITooltip],alias:["display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.State).ctor.call(this,props,children)}},methods:{setModal:function(){this.unwrappedState.active||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.f1)},insertWidgetHTML:function(widgetapp){var widgetappname=Bridge.Reflection.getTypeName(widgetapp),ckeditor=CKEDITOR,p=ckeditor.dom.element.createFromHtml("<span>&nbsp;<\/span>"),widget=ckeditor.dom.element.createFromHtml(System.String.format("<div contenteditable='false' data-widget='true'>\n<div>\n<{0}><\/{1}>\n<\/div>\n<\/div>",widgetappname,widgetappname)),editor;widget.id=System.String.format("w{0}",[GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())]);editor=this.unwrappedProps.editor._editor;editor.insertElement(p);widget.insertBefore(p);window.requestAnimationFrame(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.f2))},render:function(){return React.createElement("button",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuButton(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedProgressBar$Props$pluginKey,Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.f3))),React.createElement("span",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuIcon(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedProgressBar$Props$pluginKey,"/node_modules/alloyeditor/dist/alloy-editor/plugins/htmlbuttons/progress_raised.png?t=GAGE")),null))},display:function(){var tooltip=new $asm.$AnonymousType$1(System.String.format("Insert a Progress Bar",null));return React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"ITooltip",data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar,{f1:function(s){s.active=!0},f2:function(){System.Threading.Tasks.Task.run(this.unwrappedProps.reloadParent)},f3:function(){this.insertWidgetHTML(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State),UIComponents.Components.Tooltips.ITooltip],alias:["display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State).ctor.call(this,props,children)}},methods:{setModal:function(){this.unwrappedState.active||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.f1)},render:function(){var $t;return React.createElement("button",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuButton(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedWidgetContainer$Props$pluginKey,Bridge.fn.cacheBind(this,this.setModal))),React.createElement("span",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuIcon(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedWidgetContainer$Props$pluginKey,"/node_modules/alloyeditor/dist/alloy-editor/plugins/htmlbuttons/widgetbutton.png?t=GAGE")),null),Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State).op_Implicit$1(new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer(($t=new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.Props,$t.key=System.String.format("modal-{0}-{1}",this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedWidgetContainer$Props$pluginKey,Bridge.box(this.unwrappedState.active,System.Boolean,System.Boolean.toString)),$t.active=this.unwrappedState.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.f3),$t.reloadParent=this.unwrappedProps.reloadParent,$t.editor=this.unwrappedProps.editor._editor,$t))),this.display(UIComponents.Components.Tooltips.Hint.always,this.unwrappedProps))},display:function(){var tooltip=new $asm.$AnonymousType$1(System.String.format("Insert a Widget Container",null));return React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"ITooltip",data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer,{f1:function(s){s.active=!0},f2:function(s){s.active=!1},f3:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.f2)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State),UIComponents.Components.Tooltips.ITooltip],alias:["display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State).ctor.call(this,props,children)}},methods:{setModal:function(){this.unwrappedState.active||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.f1)},render:function(){var $t;return React.createElement("button",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuButton(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedYoutube$Props$pluginKey,Bridge.fn.cacheBind(this,this.setModal))),React.createElement("span",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuIcon(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedYoutube$Props$pluginKey,"/node_modules/alloyeditor/dist/alloy-editor/plugins/htmlbuttons/youtube.png?t=GAGE")),null),Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State).op_Implicit$1(new UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube(($t=new UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.Props,$t.key=System.String.format("modal-{0}-{1}",this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonEmbedYoutube$Props$pluginKey,Bridge.box(this.unwrappedState.active,System.Boolean,System.Boolean.toString)),$t.active=this.unwrappedState.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.f3),$t.editor=this.unwrappedProps.editor._editor,$t))),this.display(UIComponents.Components.Tooltips.Hint.always,this.unwrappedProps))},display:function(){var tooltip=new $asm.$AnonymousType$1(System.String.format("Embed a video from YouTube",null));return React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"ITooltip",data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube,{f1:function(s){s.active=!0},f2:function(s){s.active=!1},f3:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.f2)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State),UIComponents.Components.Tooltips.ITooltip],alias:["display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State).ctor.call(this,props,children)}},methods:{setModal:function(){this.unwrappedState.active||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.f1)},render:function(){var $t;return React.createElement("button",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuButton(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertAmountButton$Props$pluginKey,Bridge.fn.cacheBind(this,this.setModal))),React.createElement("span",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuIcon(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertAmountButton$Props$pluginKey,"/node_modules/alloyeditor/dist/alloy-editor/plugins/htmlbuttons/amountbutton.png?t=GAGE")),null),Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.Props,UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State).op_Implicit$1(new UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton(($t=new UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.Props,$t.key=System.String.format("modal-{0}-{1}",this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertAmountButton$Props$pluginKey,Bridge.box(this.unwrappedState.active,System.Boolean,System.Boolean.toString)),$t.active=this.unwrappedState.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.f3),$t.editor=this.unwrappedProps.editor._editor,$t))),this.display(UIComponents.Components.Tooltips.Hint.always,this.unwrappedProps))},display:function(){var tooltip=new $asm.$AnonymousType$1(System.String.format("Insert a Quick Amount",null));return React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"ITooltip",data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton,{f1:function(s){s.active=!0},f2:function(s){s.active=!1},f3:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.f2)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State),UIComponents.Components.Tooltips.ITooltip],alias:["display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State).ctor.call(this,props,children)}},methods:{setModal:function(){this.unwrappedState.active||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.f1)},render:function(){var $t;return React.createElement("button",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuButton(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertLayoutButton$Props$pluginKey,Bridge.fn.cacheBind(this,this.setModal))),React.createElement("span",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuIcon(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertLayoutButton$Props$pluginKey,"/node_modules/alloyeditor/dist/alloy-editor/plugins/htmlbuttons/layoutbutton.png?t=GAGE")),null),Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.Props,UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State).op_Implicit$1(new UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton(($t=new UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.Props,$t.key=System.String.format("modal-{0}-{1}",this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertLayoutButton$Props$pluginKey,Bridge.box(this.unwrappedState.active,System.Boolean,System.Boolean.toString)),$t.active=this.unwrappedState.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.f3),$t.editor=this.unwrappedProps.editor._editor,$t))),this.display(UIComponents.Components.Tooltips.Hint.always,this.unwrappedProps))},display:function(){var tooltip=new $asm.$AnonymousType$1(System.String.format("Insert a Frame Layout",null));return React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"ITooltip",data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton,{f1:function(s){s.active=!0},f2:function(s){s.active=!1},f3:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.f2)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State),UIComponents.Components.Tooltips.ITooltip],alias:["display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State).ctor.call(this,props,children)}},methods:{setModal:function(){this.unwrappedState.active||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.f1)},render:function(){var $t;return React.createElement("button",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuButton(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertReadMore$Props$pluginKey,Bridge.fn.cacheBind(this,this.setModal))),React.createElement("span",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuIcon(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertReadMore$Props$pluginKey,"/node_modules/alloyeditor/dist/alloy-editor/plugins/htmlbuttons/readmore.png?t=GAGE")),null),Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.Props,UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State).op_Implicit$1(new UIComponents.Components.Plugins.AlloyMenu.InsertReadMore(($t=new UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.Props,$t.key=System.String.format("modal-{0}-{1}",this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertReadMore$Props$pluginKey,Bridge.box(this.unwrappedState.active,System.Boolean,System.Boolean.toString)),$t.active=this.unwrappedState.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.f3),$t.editor=this.unwrappedProps.editor._editor,$t))),this.display(UIComponents.Components.Tooltips.Hint.always,this.unwrappedProps))},display:function(){var tooltip=new $asm.$AnonymousType$1(System.String.format("Insert Read More Line",null));return React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"ITooltip",data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore,{f1:function(s){s.active=!0},f2:function(s){s.active=!1},f3:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.f2)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State),UIComponents.Components.Tooltips.ITooltip],alias:["display","UIComponents$Components$Tooltips$ITooltip$display"],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props,UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State).ctor.call(this,props,children)}},methods:{setModal:function(){this.unwrappedState.active||UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.f1)},render:function(){var $t;return React.createElement("button",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuButton(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertSocialButton$Props$pluginKey,Bridge.fn.cacheBind(this,this.setModal))),React.createElement("span",Bridge.React.fixAttr(UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.menuIcon(this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertSocialButton$Props$pluginKey,"/node_modules/alloyeditor/dist/alloy-editor/plugins/htmlbuttons/socialbutton.png?t=GAGE")),null),Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.Props,UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State).op_Implicit$1(new UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton(($t=new UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.Props,$t.key=System.String.format("modal-{0}-{1}",this.unwrappedProps.plugin.UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$UIComponents$Components$Plugins$AlloyMenu$ButtonInsertSocialButton$Props$pluginKey,Bridge.box(this.unwrappedState.active,System.Boolean,System.Boolean.toString)),$t.active=this.unwrappedState.active,$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.f3),$t.editor=this.unwrappedProps.editor._editor,$t))),this.display(UIComponents.Components.Tooltips.Hint.always,this.unwrappedProps))},display:function(){var tooltip=new $asm.$AnonymousType$1(System.String.format("Insert a Social Sharing Button",null));return React.createElement("div",Bridge.React.fixAttr({className:"is-overlay",key:"ITooltip",data:tooltip}),null)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton,{f1:function(s){s.active=!0},f2:function(s){s.active=!1},f3:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.f2)}});Bridge.define("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp",{inherits:[Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State).ctor.call(this,props,children)}},methods:{componentWillMount:function(){var $t;this.unwrappedProps.innerID=($t=this.unwrappedProps.innerID,$t!=null?$t:"x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||""));Bridge.React.Component$2(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State).prototype.componentWillMount.call(this)},constructorStateInitialiser:function(){var $t,widgetprops=($t=new UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData.ctor("bar"),$t.appealtitle="",$t.bearertoken="",$t.query=new UIComponents.Apps.ProgressWidget.DonationQuery,$t.barcolor="rgb(99, 99, 200)",$t.goal=System.Decimal(1e4),$t.offset=System.Decimal(0),$t.horizontal=!0,$t),viewmodel=UIComponents.Apps.AppealEditor.AppealEditorApp.getDonationFormModelOrDefault();return viewmodel==null&&(viewmodel=UIComponents.Apps.AppealEditor.PageEditorApp.getMetaModelOrDefault()),$t=new UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State,$t.widgetID="x"+(GiveEasy.Shared.Extensions.toBase64(System.Guid.newGuid())||""),$t.widgetState=UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState.initial,$t.widgetData=widgetprops,$t.appealData=viewmodel,$t.open=!1,$t},render:function(){var $t,$t1,inner,queryStr,query;if(this.unwrappedState.widgetState!==UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState.static||System.String.isNullOrWhiteSpace(($t=this.unwrappedState.widgetData)!=null?$t.bearertoken:null)){if(this.unwrappedState.widgetState===UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState.widget&&(inner=document.getElementById(this.unwrappedState.widgetID),inner!=null))try{return queryStr=inner.getAttribute("data-querystring"),query=Newtonsoft.Json.JsonConvert.DeserializeObject(queryStr,UIComponents.Apps.ProgressWidget.DonationQuery),Bridge.React.Component$2(UIComponents.Apps.AppealEditor.EditableTileContainer.Props,UIComponents.Apps.AppealEditor.EditableTileContainer.State).op_Implicit(new UIComponents.Apps.AppealEditor.EditableTileContainer(($t1=new UIComponents.Apps.AppealEditor.EditableTileContainer.Props,$t1.canShow=!0,$t1.inner=inner,$t1)))}catch(ex){ex=System.Exception.create(ex);System.Console.WriteLine(ex)}}else return window.setTimeout(Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.f2),500),this.widgetStaticElement(this.unwrappedState.widgetID);return this.widgetSelectModal()},widgetStaticElement:function(elementId){var $t,$t1,p=this.unwrappedState.widgetData,widget=new UIComponents.Apps.ProgressWidgetApp(($t=new UIComponents.Apps.ProgressWidgetApp.Props,$t.newState=($t1=new UIComponents.Apps.ProgressWidgetApp.State,$t1.contextName=p.contextname,$t1.amountOffset=System.Convert.toDecimal(p.offset),$t1.max=p.goal,$t1.appealTitle=p.appealtitle,$t1.bearerToken=p.bearertoken,$t1.query=p.query,$t1.barColor=p.barcolor,$t1.appearance=p.horizontal?UIComponents.Apps.ProgressWidgetApp.ProgressStyle.horizontal:UIComponents.Apps.ProgressWidgetApp.ProgressStyle.default,$t1),$t));return React.createElement("div",Bridge.React.fixAttr({id:elementId}),Bridge.React.Component$2(UIComponents.Apps.ProgressWidgetApp.Props,UIComponents.Apps.ProgressWidgetApp.State).op_Implicit(widget))},widgetSelectModal:function(){var $t,modal=new UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal(($t=new UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal.Props,$t.appealData=this.unwrappedState.appealData,$t.onSubmit=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.f3),$t.onUpdate=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.f4),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.f6),$t.open=this.unwrappedState.open,$t.widgetData=this.unwrappedState.widgetData,$t)),btn=React.createElement("div",Bridge.React.fixAttr({style:{all:"unset"}}),React.createElement("div",Bridge.React.fixAttr({contentEditable:"false"}),Bridge.React.PureComponent$1(UIComponents.Components.IconButton.Props).op_Implicit$1(new UIComponents.Components.IconButton(($t=new UIComponents.Components.IconButton.Props,$t.icon="fa-plus-circle",$t.attributes={className:"button is-large is-danger",style:{whiteSpace:"normal",height:"auto",boxShadow:"0 4px 8px 0 rgba(0,0,0,0.32), 0 2px 4px 0 rgba(0, 0, 0, 0.28)"}},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.f8),$t),[React.createElement("span",null,System.String.format("Click Here to Setup a Progress Bar",null))])),Bridge.React.StatelessComponent$1(UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal.Props).op_Implicit$1(modal))),attrs={key:System.String.format("{0}",["EmbedWidgetApp"]),style:{width:"100%",height:"100%"},contentEditable:"false"};return attrs.suppressContentEditableWarning=!0,React.createElement("embedwidgetapp",Bridge.React.fixAttr(attrs),btn)}}});Bridge.ns("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp,{f1:function(s){s.widgetState=UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState.widget},f2:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.f1)},f3:function(d){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State,this,function(s){s.open=!1;s.widgetState=UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState.static;s.widgetData=d})},f4:function(d){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State,this,function(s){s.widgetData=d})},f5:function(s){s.open=!1},f6:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.f5)},f7:function(s){s.open=!0},f8:function(){UIComponents.Extensions.ComponentExtensions.updateState(Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props,Bridge.global.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State,this,$asm.$.UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.f7)}});Bridge.define("UIComponents.ConfirmModal.Props",{inherits:[UIComponents.InfoModal.Props],$kind:"nested class",props:{confirmDisabled:!1,confirmLabel:null},ctors:{ctor:function(){this.$initialize();UIComponents.InfoModal.Props.ctor.call(this);this.title="Are you sure?";this.cancelLabel="Cancel";this.confirmLabel="Confirm";this.confirmDisabled=!1}}});Bridge.define("UIComponents.FormField$1",function(){return{inherits:[UIComponents.FormField],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.FormField.ctor.call(this,props,children)}}}});Bridge.define("UIComponents.IframeModal",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.IframeModal.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.IframeModal.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,headerStyle=System.String.isNullOrWhiteSpace(this.unwrappedProps.title)?{padding:"5",borderBottom:"0",backgroundColor:"#F2F2F2"}:{borderBottom:"0",backgroundColor:"#F2F2F2"};return Bridge.React.StatelessComponent$1(UIComponents.Modal.Props).op_Implicit(new UIComponents.Modal(this.unwrappedProps,[React.createElement("div",Bridge.React.fixAttr({className:"content"}),React.createElement("header",Bridge.React.fixAttr({className:"modal-card-head",style:headerStyle}),React.createElement("p",Bridge.React.fixAttr({className:"modal-card-title"}),($t=this.unwrappedProps)!=null?$t.title:null),React.createElement("a",Bridge.React.fixAttr({id:"iframeModalCloseButton",className:"delete",onClick:Bridge.fn.bind(this,$asm.$.UIComponents.IframeModal.f1)}),null)),React.createElement("section",Bridge.React.fixAttr({className:"notification",style:{padding:"0"}}),React.createElement("iframe",Bridge.React.fixAttr({id:"iframeModal",src:this.unwrappedProps.iframeSrc,scrolling:this.unwrappedProps.scrolling?"yes":"no",frameborder:"0",height:this.unwrappedProps.iframeHeight,width:this.unwrappedProps.iframeWidth}),null)))]))}}});Bridge.ns("UIComponents.IframeModal",$asm.$);Bridge.apply($asm.$.UIComponents.IframeModal,{f1:function(){var $t1;($t1=this.unwrappedProps)!=null?$t1.onClose():null}});Bridge.define("UIComponents.IframeModalContainer",{inherits:[Bridge.React.Component$2(UIComponents.IframeModalContainer.Props,UIComponents.IframeModalContainer.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.IframeModalContainer.Props,UIComponents.IframeModalContainer.State).ctor.call(this,props,children)}},methods:{componentDidMount:function(){this.update()},componentDidUpdateWrapped:function(previousProps,previousState){this.update();Bridge.React.Component$2(UIComponents.IframeModalContainer.Props,UIComponents.IframeModalContainer.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())},update:function(){var $t,modal=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps),button,target,body,iframe;this.unwrappedProps.openButton=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLAnchorElement,modal,"open")).first();this.unwrappedProps.openButton.onclick=Bridge.fn.bind(this,$asm.$.UIComponents.IframeModalContainer.f1);this.unwrappedProps.closeButtons=UIComponents.IContainerPropsExtensions.innerElements(HTMLAnchorElement,modal,"close");$t=Bridge.getEnumerator(this.unwrappedProps.closeButtons,HTMLAnchorElement);try{while($t.moveNext())button=$t.Current,button.onclick=Bridge.fn.combine(button.onclick,Bridge.fn.bind(this,$asm.$.UIComponents.IframeModalContainer.f2))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}target=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLDivElement,modal,"view")).first();target.className=System.String.replaceAll(target.className,"is-active","").trim();body=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLDivElement,modal,"modal-body")).first();iframe=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLIFrameElement,body)).first();this.unwrappedState.isActive?(target.className=(target.className||"")+" is-active",iframe.src=body.getAttribute("src")):iframe.src="";Bridge.React.Component$2(UIComponents.IframeModalContainer.Props,UIComponents.IframeModalContainer.State).prototype.componentDidMount.call(this)},constructorStateInitialiser:function(){var $t;return this.unwrappedProps.innerComponent=UIComponents.IContainerPropsExtensions.createInnerComponent(this.unwrappedProps),$t=new UIComponents.IframeModalContainer.State,$t.isActive=!1,$t},render:function(){return this.unwrappedProps.innerComponent}}});Bridge.ns("UIComponents.IframeModalContainer",$asm.$);Bridge.apply($asm.$.UIComponents.IframeModalContainer,{f1:function(){var $t;this.setWrappedState(($t=new UIComponents.IframeModalContainer.State,$t.isActive=!0,$t))},f2:function(){var $t1;this.setWrappedState(($t1=new UIComponents.IframeModalContainer.State,$t1.isActive=!1,$t1))}});Bridge.define("UIComponents.InfoModal",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.InfoModal.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.InfoModal.Props).ctor.call(this,props,children)}},methods:{render:function(){var body=this.unwrappedProps.cardBody||{className:"notification is-info content"},message=UIComponents.Services.ReactBuilder.parseHTML(this.unwrappedProps.message),div=React.createElement("div",Bridge.React.fixAttr(body),React.createElement("p",Bridge.React.fixAttr({key:"title",className:"subtitle"}),this.unwrappedProps.title),React.createElement("div",Bridge.React.fixAttr({key:"message",style:{width:"33vw",margin:"1em"}}),message),Bridge.React.PureComponent$1(UIComponents.Layout.FlexColumns.Props).op_Implicit$1(new UIComponents.Layout.FlexColumns(new UIComponents.Layout.FlexColumns.Props(this.unwrappedProps.key,[Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit$1(new UIComponents.Components.Form.Buttons.SingleButton(UIComponents.Modal.closeButton(this.unwrappedProps),[this.unwrappedProps.cancelLabel]))]))));return Bridge.React.StatelessComponent$1(UIComponents.Modal.Props).op_Implicit(new UIComponents.Modal(Bridge.as(this.unwrappedProps,UIComponents.Modal.Props),[div]))}}});Bridge.define("UIComponents.Services.Handlebars.ContextTemplate",{inherits:[Bridge.React.Component$2(UIComponents.Services.Handlebars.ContextTemplate.Props,UIComponents.Services.Handlebars.ContextTemplate.State)],statics:{methods:{getDefaultParts:function(left,right){if(System.String.isNullOrEmpty(right))return System.String.isNullOrWhiteSpace(left)?new(System.Collections.Generic.KeyValuePair$2(System.String,System.String))("",""):new(System.Collections.Generic.KeyValuePair$2(System.String,System.String))(left,"");var fallback=System.String.fromCharArray(System.Linq.Enumerable.from(right).takeWhile($asm.$.UIComponents.Services.Handlebars.ContextTemplate.f1).toArray(System.Char)),name=System.String.fromCharArray(System.Linq.Enumerable.from(left).reverse().takeWhile($asm.$.UIComponents.Services.Handlebars.ContextTemplate.f2).reverse().toArray(System.Char));return new(System.Collections.Generic.KeyValuePair$2(System.String,System.String))(name,fallback)}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.Services.Handlebars.ContextTemplate.Props,UIComponents.Services.Handlebars.ContextTemplate.State).ctor.call(this,props,children)}},methods:{constructorStateInitialiser:function(){var $t,$t1,context={},template=null,innerText,pairs,pair,parts,p;try{this.unwrappedProps.inner.className=System.String.replaceAll(this.unwrappedProps.inner.className,"hbhidden","");this.unwrappedProps.inner.style.display="inline-block";innerText=System.String.replaceAll(this.decodeHtml(this.unwrappedProps.inner.innerHTML),"hbhidden","");pairs=System.String.split(innerText,[32,123,125].map(function(i){return String.fromCharCode(i)}));$t=Bridge.getEnumerator(pairs);try{while($t.moveNext())pair=$t.Current,parts=System.String.split(pair,[124].map(function(i){return String.fromCharCode(i)})),parts.length>1&&(p=UIComponents.Services.Handlebars.ContextTemplate.getDefaultParts(System.Linq.Enumerable.from(parts).firstOrDefault(null,null),System.Linq.Enumerable.from(parts).lastOrDefault(null,null)),innerText=System.String.replaceAll(innerText,pair,p.key),context[p.key.toLowerCase()]=p.value)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}template=UIComponents.Services.Handlebars.HandlebarsTemplate.compile(innerText)}catch(ex){ex=System.Exception.create(ex);System.Console.WriteLine(ex)}return $t1=new UIComponents.Services.Handlebars.ContextTemplate.State,$t1.template=template,$t1.context=context,$t1},decodeHtml:function(innertext){var txt=document.createElement("textarea");return txt.innerHTML=innertext,txt.value},componentDidMount:function(){var evt=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.ContextDispatcher),context=this.unwrappedState.context;evt.add(UIComponents.Dispatchers.ContextDispatcher.IContextState$1(System.Object),Bridge.fn.bind(this,function(d){var $t;d!=null&&(context[d[Bridge.geti(d,"UIComponents$Dispatchers$ContextDispatcher$IContextState$1$System$Object$contextName","UIComponents$Dispatchers$ContextDispatcher$IContextState$1$contextName")].toLowerCase()]=Bridge.unbox(d[Bridge.geti(d,"UIComponents$Dispatchers$ContextDispatcher$IContextState$1$System$Object$updateContext","UIComponents$Dispatchers$ContextDispatcher$IContextState$1$updateContext")]()),this.setWrappedStateAsync(($t=new UIComponents.Services.Handlebars.ContextTemplate.State,$t.template=this.unwrappedState.template,$t.context=context,$t)))}));Bridge.React.Component$2(UIComponents.Services.Handlebars.ContextTemplate.Props,UIComponents.Services.Handlebars.ContextTemplate.State).prototype.componentDidMount.call(this)},render:function(){if(!Bridge.staticEquals(this.unwrappedState.template,null)){var inner=this.unwrappedState.template(this.unwrappedState.context);return UIComponents.Services.ReactBuilder.parseHTML(inner)}return UIComponents.Services.ReactBuilder.convert(this.unwrappedProps.inner,this.unwrappedProps.inner.tagName,this.unwrappedProps.inner.id)}}});Bridge.ns("UIComponents.Services.Handlebars.ContextTemplate",$asm.$);Bridge.apply($asm.$.UIComponents.Services.Handlebars.ContextTemplate,{f1:function(c){return c!==125},f2:function(c){return c!==32&&c!==123}});Bridge.define("UIComponents.SimpleModalContainer",{inherits:[Bridge.React.Component$2(UIComponents.SimpleModalContainer.Props,UIComponents.SimpleModalContainer.State)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.Component$2(UIComponents.SimpleModalContainer.Props,UIComponents.SimpleModalContainer.State).ctor.call(this,props,children)}},methods:{componentDidMount:function(){this.update()},componentDidUpdateWrapped:function(previousProps,previousState){this.update();Bridge.React.Component$2(UIComponents.SimpleModalContainer.Props,UIComponents.SimpleModalContainer.State).prototype.componentDidUpdateWrapped.call(this,previousProps,previousState.$clone())},update:function(){var $t,modal=UIComponents.IContainerPropsExtensions.getInnerElement(this.unwrappedProps),button,target;this.unwrappedProps.openButton=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLAnchorElement,modal,"open")).first();this.unwrappedProps.openButton.onclick=Bridge.fn.bind(this,$asm.$.UIComponents.SimpleModalContainer.f1);this.unwrappedProps.closeButtons=UIComponents.IContainerPropsExtensions.innerElements(HTMLAnchorElement,modal,"close");$t=Bridge.getEnumerator(this.unwrappedProps.closeButtons,HTMLAnchorElement);try{while($t.moveNext())button=$t.Current,button.onclick=Bridge.fn.combine(button.onclick,Bridge.fn.bind(this,$asm.$.UIComponents.SimpleModalContainer.f2))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}target=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLDivElement,modal,"view")).first();target.className=System.String.replaceAll(target.className,"is-active","").trim();this.unwrappedState.isActive&&(target.className=(target.className||"")+" is-active");Bridge.React.Component$2(UIComponents.SimpleModalContainer.Props,UIComponents.SimpleModalContainer.State).prototype.componentDidMount.call(this)},constructorStateInitialiser:function(){var $t,modal,target;return(this.unwrappedProps.innerComponent=UIComponents.IContainerPropsExtensions.createInnerComponent(this.unwrappedProps),modal=this.unwrappedProps.inner,target=System.Linq.Enumerable.from(UIComponents.IContainerPropsExtensions.innerElements(HTMLDivElement,modal,"view")).first(),System.String.contains(target.className,"is-active"))?($t=new UIComponents.SimpleModalContainer.State,$t.isActive=!0,$t):($t=new UIComponents.SimpleModalContainer.State,$t.isActive=this.unwrappedProps.active,$t)},render:function(){return this.unwrappedProps.innerComponent}}});Bridge.ns("UIComponents.SimpleModalContainer",$asm.$);Bridge.apply($asm.$.UIComponents.SimpleModalContainer,{f1:function(){var $t;this.setWrappedState(($t=new UIComponents.SimpleModalContainer.State,$t.isActive=!0,$t))},f2:function(){var $t1;this.setWrappedState(($t1=new UIComponents.SimpleModalContainer.State,$t1.isActive=!1,$t1))}});Bridge.define("UIComponents.SpanValidator",{inherits:[UIComponents.FormValidator],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.FormValidator.ctor.call(this,props,children)}},methods:{render:function(){var $t,style={margin:0,lineHeight:"1rem"},message=($t=this.unwrappedProps.message,$t!=null?$t:"OK"),classname="help";return this.unwrappedProps.valid===UIComponents.Validation.fail?classname=(classname||"")+" is-danger":this.unwrappedProps.valid===UIComponents.Validation.warn?classname=(classname||"")+" is-warning":style.display="none",React.createElement("p",Bridge.React.fixAttr({className:classname,style:style}),message)}}});Bridge.define("UIComponents.Apps.AppealEditor.NewAppealLI",{inherits:[UIComponents.Apps.AppealEditor.AppealLI],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Apps.AppealEditor.AppealLI.ctor.call(this,props,children)}},methods:{updateModal:function(item){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=GiveEasy.Shared.Extensions.localKey(item),$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,function(){var $step=0,$task1,$taskResult1,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=this.catchAndAlertFor(Bridge.global.XMLHttpRequest,this.unwrappedProps.collection.update(item));$step=1;$task1.continueWith($asyncBody,!0);return;case 1:$taskResult1=$task1.getAwaitedResult();return;default:return}}},arguments);$asyncBody()}),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewAppealLI.f1),$t.title=System.String.format("{0} is in use. Do you want to move it?",[item.title]),$t.message=System.String.format("The title '{0}' is linked to another appeal. Do you want to try and unlink it?",[item.title]),$t},tryCreate:function(item){var $step=0,$task1,$taskResult1,$task2,$tcs=new System.Threading.Tasks.TaskCompletionSource,update_modal,$t,ex,status,$t1,$async_e,$asyncBody=Bridge.fn.bind(this,function(){try{for(;;){$step=System.Array.min([0,1,2,3,4,5],$step);switch($step){case 0:update_modal=null;$step=1;continue;case 1:item.UUID=($t=item.UUID,$t!=null?$t:(new System.Guid.ctor).toString());$task1=this.unwrappedProps.collection.create(item);$step=2;$task1.continueWith($asyncBody);return;case 2:$taskResult1=$task1.getAwaitedResult();$step=4;continue;case 3:status=ex.statusCode();status===409&&(update_modal=this.updateModal(item));status===412&&(update_modal=($t1=new UIComponents.InfoModal.Props,$t1.key=item.UUID,$t1.active=!0,$t1.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewAppealLI.f2),$t1.title=System.String.format("Operation failed",null),$t1.message=System.String.format("Changing or renaming {0} might remove the links for 1 or more Teams. Please delete all teams first.",[item.title]),$t1));$async_e=null;$step=4;continue;case 4:$task2=this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.AppealLI.State,$t1.modal=update_modal,$t1));$step=5;$task2.continueWith($asyncBody);return;case 5:$task2.getAwaitedResult();$tcs.setResult(null);return;default:$tcs.setResult(null);return}}}catch($async_e1){if($async_e=System.Exception.create($async_e1),$step>=1&&$step<=2&&Bridge.is($async_e,GiveEasy.Shared.HttpRequestException)){ex=$async_e;$step=3;$asyncBody();return}$tcs.setException($async_e)}},arguments);return $asyncBody(),$tcs.task},render:function(){var $t,$t1,$t2,$t3,$t4,deletebutton=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewAppealLI.f3),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-minus-square",style:{color:"#cc0000"}}),null))])),savebutton=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewAppealLI.f4),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-check",style:{color:"#22cc00"}}),null))])),callout=this.validationMessage();return React.createElement("li",Bridge.React.fixAttr({key:this.unwrappedProps.key}),React.createElement("div",Bridge.React.fixAttr(null),React.createElement("div",Bridge.React.fixAttr({className:"field has-addons"}),React.createElement("p",Bridge.React.fixAttr({className:"control"}),deletebutton),React.createElement("p",Bridge.React.fixAttr({className:"control"}),React.createElement("input",Bridge.React.fixAttr({className:"input is-small is-expanded",type:"text",placeholder:"Title",value:($t=($t1=this.unwrappedProps)!=null&&($t2=$t1.item)!=null?$t2.title:null,$t!=null?$t:""),onChange:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewAppealLI.f5),maxLength:64}))),React.createElement("p",Bridge.React.fixAttr({className:"control"}),savebutton)),callout,UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t3=this.unwrappedState.modal)!=null&&($t4=Bridge.getType($t3))!=null?Bridge.Reflection.getTypeFullName($t4):null,this.unwrappedState.modal)))},validationMessage:function(){var message=System.String.format("{0}",[this.unwrappedProps.item.appealKey]),style={padding:".5em"};return message.length<30&&(style.display="none"),React.createElement("div",Bridge.React.fixAttr({className:"popover"}),React.createElement("div",Bridge.React.fixAttr({className:"popover__pane popover__pane--fixed"}),React.createElement("p",null,message),React.createElement("div",Bridge.React.fixAttr({className:"notification is-warning",style:style}),System.String.format("Hint: To make it easier for your donors to find you, consider using a shorter appeal title!",null))))}}});Bridge.ns("UIComponents.Apps.AppealEditor.NewAppealLI",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.NewAppealLI,{f1:function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.AppealLI.State,$t1.modal=null,$t1))},f2:function(){var $t2;this.setWrappedStateAsync(($t2=new UIComponents.Apps.AppealEditor.AppealLI.State,$t2.modal=null,$t2))},f3:function(){this.unwrappedProps.collection.new(null)},f4:function(){var $step=0,$task1,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=this.tryCreate(this.unwrappedProps.item);$step=1;$task1.continueWith($asyncBody,!0);return;case 1:$task1.getAwaitedResult();return;default:return}}},arguments);$asyncBody()},f5:function(e){var $t3;this.unwrappedProps.item.title=($t3=e.currentTarget.value,$t3!=null?$t3:"");this.unwrappedProps.collection.new(this.unwrappedProps.item)}});Bridge.define("UIComponents.Apps.AppealEditor.NewReceiptLI",{inherits:[UIComponents.Apps.AppealEditor.ReceiptLI],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Apps.AppealEditor.ReceiptLI.ctor.call(this,props,children)}},methods:{updateModal:function(item){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=GiveEasy.Shared.Extensions.localKey(item),$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,function(){var $step=0,$task1,$taskResult1,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=this.catchAndAlertFor(Bridge.global.XMLHttpRequest,this.unwrappedProps.collection.update(item));$step=1;$task1.continueWith($asyncBody,!0);return;case 1:$taskResult1=$task1.getAwaitedResult();return;default:return}}},arguments);$asyncBody()}),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewReceiptLI.f1),$t.title=System.String.format("{0} is in use. Do you want to move it?",[item.title]),$t.message=System.String.format("The title '{0}' is linked to another appeal. Do you want to try and unlink it?",[item.title]),$t},tryAssign:function(item){var $t,fd=new FormData;fd.append("EmailUUID",($t=item.UUID,$t!=null?$t:System.Linq.Enumerable.from(this.unwrappedProps.options).firstOrDefault(null,null).UUID));fd.append("AppealUUID",item.appealUUID);UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.FormData,System.String.format("EmailTemplate/Assign",null),"POST",!0,fd,$asm.$.UIComponents.Apps.AppealEditor.NewReceiptLI.f2).continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewReceiptLI.f3))},render:function(){var $t,$t1,deletebutton=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewReceiptLI.f4),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-minus-square",style:{color:"#cc0000"}}),null))])),savebutton=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewReceiptLI.f5),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-check",style:{color:"#22cc00"}}),null))]));return React.createElement("li",Bridge.React.fixAttr({key:this.unwrappedProps.key}),React.createElement("div",Bridge.React.fixAttr(null),React.createElement("div",Bridge.React.fixAttr({className:"field has-addons"}),React.createElement("p",Bridge.React.fixAttr({className:"control"}),deletebutton),React.createElement("p",Bridge.React.fixAttr({className:"control"}),React.createElement("div",Bridge.React.fixAttr({className:"field control select is-info"}),React.createElement("select",Bridge.React.fixAttr({className:"",multiple:!1,value:this.unwrappedProps.item.receiptKey,onClick:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewReceiptLI.f6),onChange:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewReceiptLI.f7)}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(this.unwrappedProps.options).select($asm.$.UIComponents.Apps.AppealEditor.NewReceiptLI.f8)).toArray()))),React.createElement("p",Bridge.React.fixAttr({className:"control"}),savebutton)),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t=this.unwrappedState.modal)!=null&&($t1=Bridge.getType($t))!=null?Bridge.Reflection.getTypeFullName($t1):null,this.unwrappedState.modal)))}}});Bridge.ns("UIComponents.Apps.AppealEditor.NewReceiptLI",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.NewReceiptLI,{f1:function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.ReceiptLI.State,$t1.modal=null,$t1))},f2:function(r){r.overrideMimeType("application/json")},f3:function(y){if(y.exception!=null)window.alert("Oops! Unexpected Error: "+(y.exception.Message||"")+"\nPlease contact administrator for help.");else{var res=JSON.parse(y.getResult().responseText);System.Boolean.parse(Bridge.toString(res.success))||window.alert(System.String.concat("Oops! ",res.message))}this.unwrappedProps.collection.refreshAsync()},f4:function(){this.unwrappedProps.collection.new(null)},f5:function(){this.tryAssign(this.unwrappedProps.item)},f6:function(e){var appealUUID=this.unwrappedProps.item.appealUUID;this.unwrappedProps.item=System.Linq.Enumerable.from(this.unwrappedProps.options).firstOrDefault(function(o){return Bridge.referenceEquals(o.receiptKey,e.currentTarget.value)},null);this.unwrappedProps.item.appealUUID=appealUUID},f7:function(e){var appealUUID=this.unwrappedProps.item.appealUUID;this.unwrappedProps.item=System.Linq.Enumerable.from(this.unwrappedProps.options).firstOrDefault(function(o){return Bridge.referenceEquals(o.receiptKey,e.currentTarget.value)},null);this.unwrappedProps.item.appealUUID=appealUUID},f8:function(i){return React.createElement("option",Bridge.React.fixAttr({key:i.receiptKey,value:i.receiptKey}),i.title)}});Bridge.define("UIComponents.Apps.AppealEditor.NewThankyouPageLI",{inherits:[UIComponents.Apps.AppealEditor.ThankyouPageLI],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.Apps.AppealEditor.ThankyouPageLI.ctor.call(this,props,children)}},methods:{updateModal:function(item){var $t;return $t=new UIComponents.ConfirmModal.Props,$t.key=GiveEasy.Shared.Extensions.localKey(item),$t.active=!0,$t.onSubmit=Bridge.fn.bind(this,function(){var $step=0,$task1,$taskResult1,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1],$step);switch($step){case 0:$task1=this.catchAndAlertFor(Bridge.global.XMLHttpRequest,this.unwrappedProps.collection.update(item));$step=1;$task1.continueWith($asyncBody,!0);return;case 1:$taskResult1=$task1.getAwaitedResult();return;default:return}}},arguments);$asyncBody()}),$t.onClose=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewThankyouPageLI.f1),$t.title=System.String.format("{0} is in use. Do you want to move it?",[item.title]),$t.message=System.String.format("The title '{0}' is linked to another appeal. Do you want to try and unlink it?",[item.title]),$t},tryAssign:function(item){var $t,fd=new FormData,url;fd.append("PageUUID",($t=item.UUID,$t!=null?$t:System.Linq.Enumerable.from(this.unwrappedProps.options).firstOrDefault(null,null).UUID));fd.append("AppealUUID",item.appealUUID);url=this.unwrappedProps.context.serviceThanksUrl("Assign");UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.FormData,System.String.format("{0}",[url]),"POST",!1,fd,$asm.$.UIComponents.Apps.AppealEditor.NewThankyouPageLI.f2).continueWith(Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewThankyouPageLI.f3))},render:function(){var $t,$t1,deletebutton=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewThankyouPageLI.f4),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-minus-square",style:{color:"#cc0000"}}),null))])),savebutton=Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit(new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.attributes={className:"button is-white is-small"},$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewThankyouPageLI.f5),$t),[React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-marginless"}),React.createElement("i",Bridge.React.fixAttr({className:"fa fa-check",style:{color:"#22cc00"}}),null))]));return React.createElement("li",Bridge.React.fixAttr({key:this.unwrappedProps.key}),React.createElement("div",Bridge.React.fixAttr(null),React.createElement("div",Bridge.React.fixAttr({className:"field has-addons"}),React.createElement("p",Bridge.React.fixAttr({className:"control"}),deletebutton),React.createElement("p",Bridge.React.fixAttr({className:"control"}),React.createElement("div",Bridge.React.fixAttr({className:"field control select is-info"}),React.createElement("select",Bridge.React.fixAttr({className:"",multiple:!1,value:this.unwrappedProps.item.thankyouPageKey,onClick:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewThankyouPageLI.f6),onChange:Bridge.fn.bind(this,$asm.$.UIComponents.Apps.AppealEditor.NewThankyouPageLI.f7)}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(this.unwrappedProps.options).select($asm.$.UIComponents.Apps.AppealEditor.NewThankyouPageLI.f8)).toArray()))),React.createElement("p",Bridge.React.fixAttr({className:"control"}),savebutton)),UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,($t=this.unwrappedState.modal)!=null&&($t1=Bridge.getType($t))!=null?Bridge.Reflection.getTypeFullName($t1):null,this.unwrappedState.modal)))}}});Bridge.ns("UIComponents.Apps.AppealEditor.NewThankyouPageLI",$asm.$);Bridge.apply($asm.$.UIComponents.Apps.AppealEditor.NewThankyouPageLI,{f1:function(){var $t1;this.setWrappedStateAsync(($t1=new UIComponents.Apps.AppealEditor.ThankyouPageLI.State,$t1.modal=null,$t1))},f2:function(r){r.overrideMimeType("application/json")},f3:function(y){if(y.exception!=null)window.alert("Oops! Unexpected Error: "+(y.exception.Message||"")+"\nPlease contact administrator for help.");else{var res=y.getResult().status;res!==204&&window.alert(System.String.concat("Oops! ",res.message))}this.unwrappedProps.collection.refreshAsync()},f4:function(){this.unwrappedProps.collection.new(null)},f5:function(){this.tryAssign(this.unwrappedProps.item)},f6:function(e){var appealUUID=this.unwrappedProps.item.appealUUID;this.unwrappedProps.item=System.Linq.Enumerable.from(this.unwrappedProps.options).firstOrDefault(function(o){return Bridge.referenceEquals(o.thankyouPageKey,e.currentTarget.value)},null);this.unwrappedProps.item.appealUUID=appealUUID},f7:function(e){var appealUUID=this.unwrappedProps.item.appealUUID;this.unwrappedProps.item=System.Linq.Enumerable.from(this.unwrappedProps.options).firstOrDefault(function(o){return Bridge.referenceEquals(o.thankyouPageKey,e.currentTarget.value)},null);this.unwrappedProps.item.appealUUID=appealUUID},f8:function(i){return React.createElement("option",Bridge.React.fixAttr({key:i.thankyouPageKey,value:i.thankyouPageKey}),i.title)}});Bridge.define("UIComponents.FormInput.Props",{inherits:[UIComponents.FormField.FieldProps],$kind:"nested class",props:{placeholder:null,isMandatory:!1,isHidden:!1,type:"button",extraAttributes:null,isMultiLine:!1},ctors:{ctor:function(name,order){this.$initialize();UIComponents.FormField.FieldProps.ctor.call(this,name,order)}}});Bridge.define("UIComponents.ConfirmModal",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props)],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.ConfirmModal.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,components=System.Array.init([React.createElement("p",Bridge.React.fixAttr({key:Bridge.getHashCode(this.unwrappedProps.message)}),this.unwrappedProps.message)],Object),body,attrs,confirm,div;return components.push.apply(components,System.Linq.Enumerable.from(this.children).select(function(x){return Bridge.cast(x,Object)}).toArray(Object)),body=this.unwrappedProps.cardBody||{className:"notification is-info content"},attrs={className:"button is-success"},attrs.disabled=this.unwrappedProps.confirmDisabled,confirm=new UIComponents.Components.Form.Buttons.SingleButton(($t=new UIComponents.Components.Form.Buttons.SingleButton.Props,$t.key="submit",$t.attributes=attrs,$t.onClick=Bridge.fn.bind(this,$asm.$.UIComponents.ConfirmModal.f1),$t),[this.unwrappedProps.confirmLabel]),div=React.createElement("div",Bridge.React.fixAttr(body),React.createElement("p",Bridge.React.fixAttr({key:"title",className:"subtitle"}),this.unwrappedProps.title),React.createElement("div",Bridge.React.fixAttr({key:"message",style:{width:"33vw"}}),System.Linq.Enumerable.from(components).toArray()),Bridge.React.PureComponent$1(UIComponents.Layout.FlexColumns.Props).op_Implicit$1(new UIComponents.Layout.FlexColumns(new UIComponents.Layout.FlexColumns.Props(this.unwrappedProps.key,[Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit$1(confirm),Bridge.React.Component$2(UIComponents.Components.Form.Buttons.SingleButton.Props,UIComponents.Components.Form.Buttons.SingleButton.State).op_Implicit$1(new UIComponents.Components.Form.Buttons.SingleButton(UIComponents.Modal.closeButton(this.unwrappedProps),[this.unwrappedProps.cancelLabel]))])))),Bridge.React.StatelessComponent$1(UIComponents.Modal.Props).op_Implicit(new UIComponents.Modal(Bridge.as(this.unwrappedProps,UIComponents.Modal.Props),[div]))}}});Bridge.ns("UIComponents.ConfirmModal",$asm.$);Bridge.apply($asm.$.UIComponents.ConfirmModal,{f1:function(){this.unwrappedProps.confirmDisabled||this.unwrappedProps.onSubmit()}});Bridge.define("UIComponents.CustProps",{inherits:[UIComponents.FormInput.Props],props:{textLabel:null},ctors:{init:function(){this.textLabel=""},ctor:function(name,order){this.$initialize();UIComponents.FormInput.Props.ctor.call(this,name,order)}}});Bridge.define("UIComponents.FormInput",{inherits:[UIComponents.FormField$1(UIComponents.FormInput.Props)],statics:{fields:{inputClass:null},ctors:{init:function(){this.inputClass=$asm.$.UIComponents.FormInput.f1(new(System.Collections.Generic.Dictionary$2(String,System.String)))}},methods:{onUpdate:function(P,props){return function(evt){var el=evt.currentTarget,value=el.value,fd,viewmodel,OnProcessing;if(props.type==="checkbox"&&(value=System.Boolean.toString(el.checked)),props.type==="file"&&System.Linq.Enumerable.from(el.files).any()){fd=new FormData;fd.append("fileImage",el.files[0]);try{if(viewmodel=UIComponents.Apps.AppealEditor.AppealEditorApp.getDonationFormModelOrDefault(),viewmodel.title.trim().length>0)fd.append("title",viewmodel.title),fd.append("uuid",viewmodel.context.appealUUID.toString());else{window.alert("Oops!  Appeal title is empty! Please contact our administrator for assistance");return}}catch(ex){ex=System.Exception.create(ex);window.alert("Oops!  Cannot find appeal title");System.Console.WriteLine(System.String.format("Uploading error: {0} {1}",ex.Message,ex.StackTrace));return}OnProcessing=function(sender,e){var total=System.Int32.parse(Bridge.toString(e.total))===0?100:System.Int32.parse(Bridge.toString(e.total)),loaded=System.Int32.parse(Bridge.toString(e.loaded)),percentage=Bridge.Math.round(loaded/total*100,0,6);props.processing(System.String.format("{0}",[Bridge.box(percentage,System.Double,System.Double.format,System.Double.getHashCode)]))};UIComponents.Services.HttpRequest.requestAsync$1(Bridge.global.FormData,System.String.format("UploadImage",null),"POST",!0,fd,function(r){r.overrideMimeType("application/json");r.upload.addEventListener("progress",function(e){Bridge.staticEquals(OnProcessing,null)?null:OnProcessing(r,e)})}).continueWith(function(x){if(x.exception!=null)window.alert("Oops! Unexpected Error: "+(x.exception.Message||"")+"\nPlease contact administrator for help.");else{var res=JSON.parse(x.getResult().responseText);System.Boolean.parse(Bridge.toString(res.success))?props.update(Bridge.toString(res.url)):window.alert(System.String.concat("Oops! ",res.message))}});return}System.String.equals(value,props.value,4)||props.update(value)}},control:function(P,props){var $t,$t1,$t2,check={v:!1},validators,style,cls,target,settingsModel,myDict,defaultFre,displayStyle,freqContainer,inputattributes,inputattributes1;System.Boolean.tryParse(props.value,check);validators=System.Linq.Enumerable.from(props.validators).select(function(v){return v.UIComponents$IValidator$invoke(props)}).toList(UIComponents.FormValidator.Props);style="";switch(props.valid){case UIComponents.Validation.fail:style=(style||"")+" is-danger";break;case UIComponents.Validation.pass:style=(style||"")+" is-success"}return cls={v:""},UIComponents.FormInput.inputClass.tryGetValue(props.type,cls),Bridge.referenceEquals(props.name,"giving_frequency")?(target=System.Linq.Enumerable.from(document.getElementsByTagName("data")).firstOrDefault($asm.$.UIComponents.FormInput.f2,null),settingsModel=($t=new ViewModels.FromSettingsModel,$t.allowOnceOff=!0,$t),target!=null&&(settingsModel=Newtonsoft.Json.JsonConvert.DeserializeObject(target.getAttribute("data-frequency-settings"),ViewModels.FromSettingsModel)),myDict=new(System.Collections.Generic.Dictionary$2(System.String,System.String)),settingsModel.allowOnceOff&&myDict.add("1","Once Off"),settingsModel.allowWeekly&&myDict.add("2","Weekly"),settingsModel.allowFortnightly&&myDict.add("3","Fortnightly"),settingsModel.allowMonthly&&myDict.add("4","Monthly"),myDict.count===0&&myDict.add("1","Once Off"),System.Linq.Enumerable.from(myDict).count()===1?props.value=System.Linq.Enumerable.from(myDict).first().key:System.Linq.Enumerable.from(myDict).any(function(o){return Bridge.referenceEquals(o.key,props.value)})||(defaultFre=settingsModel.defaultFrequency!=null?settingsModel.defaultFrequency:"1",props.value=System.Linq.Enumerable.from(myDict).any(function(o){return Bridge.referenceEquals(o.key,defaultFre)})?defaultFre:System.Linq.Enumerable.from(myDict).first().key),displayStyle=settingsModel.displayStyle!=null?settingsModel.displayStyle:"select",Bridge.referenceEquals(displayStyle,"tabbar")?(freqContainer=React.createElement("div",Bridge.React.fixAttr({key:(props.name||"")+"_container2_tabbar",id:(props.name||"")+"_container",className:"segmented-button is-desktop-only",style:{display:System.Linq.Enumerable.from(myDict).count()===1&&System.Linq.Enumerable.from(myDict).any($asm.$.UIComponents.FormInput.f3)?"none":"block"},onFocus:function(){props.update(props.value)}}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(myDict.getKeys()).select(function(i){return React.createElement("span",Bridge.React.fixAttr({key:"tab"+(i||""),className:"tab",id:"tab-"+(i||"")}),React.createElement("label",Bridge.React.fixAttr({htmlFor:(props.name||"")+"_"+(i||""),className:Bridge.referenceEquals(props.value,i)?"selected":""}),myDict.get(i)),React.createElement("input",Bridge.React.fixAttr({className:"",key:(props.name||"")+"_"+(i||""),name:props.name,type:"radio",id:(props.name||"")+"_"+(i||""),checked:Bridge.referenceEquals(props.value,i),value:i,onChange:function(e){props.update(e.currentTarget.value)}})))})).toArray()),React.createElement("span",Bridge.React.fixAttr({key:(props.name||"")+"_container1_tabbar"}),freqContainer,React.createElement("select",Bridge.React.fixAttr({className:"select is-mobile-only",key:props.name,name:props.name,style:{display:System.Linq.Enumerable.from(myDict).count()===1&&System.Linq.Enumerable.from(myDict).any($asm.$.UIComponents.FormInput.f3)?"none":"block"},id:props.name,multiple:!1,value:props.value,onFocus:function(e){props.update(e.currentTarget.value)},onChange:function(e){props.update(e.currentTarget.value)}}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(myDict.getKeys()).select(function(i){return React.createElement("option",Bridge.React.fixAttr({key:i,value:i}),myDict.get(i))})).toArray()))):React.createElement("select",Bridge.React.fixAttr({className:"select",key:props.name,name:props.name,style:{display:System.Linq.Enumerable.from(myDict).count()===1&&System.Linq.Enumerable.from(myDict).any($asm.$.UIComponents.FormInput.f3)?"none":"block"},id:props.name,multiple:!1,value:props.value,onFocus:function(e){props.update(e.currentTarget.value)},onChange:function(e){props.update(e.currentTarget.value)}}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(myDict.getKeys()).select(function(i){return React.createElement("option",Bridge.React.fixAttr({key:i,value:i}),myDict.get(i))})).toArray())):props.selectDict!=null?React.createElement("select",Bridge.React.fixAttr({disabled:Bridge.referenceEquals(props.value.toLowerCase(),Bridge.Reflection.getTypeName(UIComponents.DonationAmountInput).toLowerCase()),className:"select",style:{borderBottomLeftRadius:"3px",borderBottomRightRadius:"3px",borderTopLeftRadius:"3px",borderTopRightRadius:"3px",width:"100%"},key:props.name,name:props.name,data:props.data,id:props.name,multiple:!1,required:props.isMandatory,value:props.value,onChange:function(e){props.update(e.currentTarget.value)}}),System.Linq.Enumerable.from(System.Linq.Enumerable.from(props.selectDict.getKeys()).select(function(i){return React.createElement("option",Bridge.React.fixAttr({key:Bridge.toString(i),value:Bridge.toString(i)}),props.selectDict.get(i))})).toArray()):props.isMultiLine?(inputattributes={},inputattributes.disabled=props.disabled,inputattributes.key=props.name,inputattributes.name=props.name,inputattributes.className=System.String.format("{0} {1}",cls.v,style).trim(),inputattributes.defaultValue=props.value,inputattributes.placeholder=($t=props.placeholder,$t!=null?$t:""),inputattributes.onChange=function(e){props.update(e.currentTarget.value)},inputattributes.onInput=function(e){props.update(e.currentTarget.value)},inputattributes.onSubmit=function(e){props.update(e.currentTarget.value)},inputattributes.required=props.isMandatory,inputattributes.data=props.data,inputattributes.rows=10,inputattributes.style={height:200},React.createElement("textarea",Bridge.React.fixAttr(inputattributes))):(inputattributes1=props.extraAttributes||{},inputattributes1.disabled=props.disabled,inputattributes1.key="main-input-"+(props.name||""),inputattributes1.name=props.name,inputattributes1.className=System.String.format("{0} {1}",cls.v,style).trim(),inputattributes1.type=props.type,inputattributes1.value=($t1=props.value,$t1!=null?$t1:""),inputattributes1.checked=check.v,inputattributes1.placeholder=($t2=props.placeholder,$t2!=null?$t2:""),inputattributes1.onChange=UIComponents.FormInput.onUpdate(P,props),inputattributes1.onInput=UIComponents.FormInput.onUpdate(P,props),inputattributes1.onSubmit=UIComponents.FormInput.onUpdate(P,props),inputattributes1.required=props.isMandatory,inputattributes1.data=props.data,React.createElement("input",Bridge.React.fixAttr(inputattributes1)))},field:function(P,props,label,control){var fstyle={},validators,vdiv;return props.type==="hidden"&&(fstyle.display="none"),validators=System.Linq.Enumerable.from(props.validators).select(function(v){return v.UIComponents$IValidator$invoke(props)}).toList(UIComponents.FormValidator.Props),vdiv=React.createElement("div",Bridge.React.fixAttr({key:"validators"}),Bridge.React.toReactElementArray(System.Linq.Enumerable.from(validators).select($asm.$.UIComponents.FormInput.f4))),props.type==="checkbox"?React.createElement("span",Bridge.React.fixAttr({key:"group-"+(props.key||""),className:"field",style:fstyle}),control,label,props.valid!==UIComponents.Validation.none?vdiv:null):React.createElement("div",Bridge.React.fixAttr({key:"group-"+(props.key||""),title:props.key,className:"field",style:fstyle}),label,props.isMandatory&&!Bridge.referenceEquals(props.name,"giving_frequency")&&props.selectDict==null?React.createElement("span",Bridge.React.fixAttr({key:"star",style:{color:"red"}}),"*"):null,control,props.valid!==UIComponents.Validation.none?vdiv:null)}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.FormField$1(UIComponents.FormInput.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,_props=Bridge.as(this.unwrappedProps,UIComponents.FormInput.Props),label=React.createElement("div",Bridge.React.fixAttr({}),null),control,children,c;try{label=UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,Bridge.Reflection.getTypeFullName(Bridge.getType(this.unwrappedProps.label)),this.unwrappedProps.label)}catch(ex){ex=System.Exception.create(ex);System.Console.WriteLine(ex)}control=React.createElement("span",Bridge.React.fixAttr({key:"control_parent_span"+(_props.name||""),className:"control"}),UIComponents.FormInput.control(Bridge.global.UIComponents.FormInput.Props,_props));children=Bridge.React.ReactElementList.empty;children=children.add(UIComponents.FormInput.field(Bridge.global.UIComponents.FormInput.Props,_props,label,control));$t=Bridge.getEnumerator(System.Linq.Enumerable.from(this.children).ofType(Object));try{while($t.moveNext())c=$t.Current,children=children.add(c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return React.createElement("div",Bridge.React.fixAttr({style:_props.selectDict!=null?null:{marginLeft:15,marginRight:15,marginBottom:15,marginTop:5,display:_props.type==="checkbox"?"inline-block":"block"},key:"control_parent"+(_props.name||""),title:"control_parent"+(_props.name||"")}),System.Linq.Enumerable.from(children).toArray())}}});Bridge.ns("UIComponents.FormInput",$asm.$);Bridge.apply($asm.$.UIComponents.FormInput,{f1:function(_o1){return _o1.add("text","input"),_o1.add("email","input"),_o1.add("number","input"),_o1.add("checkbox","checkbox"),_o1.add("hidden","hidden"),_o1},f2:function(e){return System.String.equals(e.getAttribute("name"),"FromSettings",5)},f3:function(o){return Bridge.referenceEquals(o.key,"1")},f4:function(v){return new UIComponents.SpanValidator(v)}});Bridge.define("UIComponents.FormInputHasIcons.Props",{inherits:[UIComponents.FormInput.Props],$kind:"nested class",props:{left:null},ctors:{ctor:function(name,order){this.$initialize();UIComponents.FormInput.Props.ctor.call(this,name,order)}}});Bridge.define("UIComponents.CustInput.Props",{inherits:[UIComponents.CustProps],$kind:"nested class",statics:{methods:{setName:function(name){return name=GiveEasy.Shared.Extensions.toSeoFriendly(name),System.String.startsWith(name,"custom_")?name:"custom_"+(name||"")}}},props:{fieldType:null,config:null},ctors:{init:function(){this.fieldType="Custom";this.config=new UIComponents.CustInput.FieldConfig},ctor:function(name,order){this.$initialize();UIComponents.CustProps.ctor.call(this,UIComponents.CustInput.Props.setName(name),order)},$ctor2:function(p){UIComponents.CustInput.Props.ctor.call(this,p.name,p.sortOrder);this.label=p.label;this.value=p.value;this.placeholder=p.placeholder;this.isMandatory=p.isMandatory;this.isHidden=p.isHidden},$ctor1:function(p){UIComponents.CustInput.Props.$ctor2.call(this,Bridge.as(p,UIComponents.FormInput.Props));this.fieldType=UIComponents.FieldEditor.custInputTypeOptions.get(UIComponents.Extensions.ComponentExtensions.typeKey$1(Bridge.getType(this)));this.textLabel=p.textLabel}},methods:{buildEditor:function(OnUpdate){var $t,element=new(UIComponents.Components.Form.Editor.EditorRow$1(UIComponents.CustInput.Props))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.CustInput.Props)),$t.key=this.fieldType,$t.onUpdate=function(e){var $t1;e.name=UIComponents.CustInput.Props.setName(e.textLabel);e.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label=e.textLabel,$t1);OnUpdate(e)},$t.initial=this,$t));return Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.CustInput.Props),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.CustInput.Props)).op_Implicit(element)}}});Bridge.define("UIComponents.FormInputHasIcons",{inherits:[UIComponents.FormField$1(UIComponents.FormInputHasIcons.Props)],statics:{methods:{icon:function(P,props){return React.createElement("span",Bridge.React.fixAttr({className:"icon is-small is-left",key:System.String.format("{0}-left",[props.key])}),React.createElement("i",Bridge.React.fixAttr({className:props.left,style:{color:"#333"}}),null))}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.FormField$1(UIComponents.FormInputHasIcons.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,_props=Bridge.as(this.unwrappedProps,UIComponents.FormInputHasIcons.Props),control=React.createElement("span",Bridge.React.fixAttr({key:"control_parent_span"+(_props.name||""),className:"control has-icons-left"}),UIComponents.FormInput.control(Bridge.global.UIComponents.FormInputHasIcons.Props,_props),UIComponents.FormInputHasIcons.icon(Bridge.global.UIComponents.FormInputHasIcons.Props,_props)),children=Bridge.React.ReactElementList.empty,c;children=children.add(control);$t=Bridge.getEnumerator(System.Linq.Enumerable.from(this.children).ofType(Object));try{while($t.moveNext())c=$t.Current,children=children.add(c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return React.createElement("div",Bridge.React.fixAttr({}),System.Linq.Enumerable.from(children).toArray())}}});Bridge.define("UIComponents.CustInput",{inherits:[Bridge.React.StatelessComponent$1(UIComponents.CustInput.Props)],statics:{fields:{inputClass:null,toCustInputProps:null},ctors:{init:function(){this.inputClass=$asm.$.UIComponents.CustInput.f1(new(System.Collections.Generic.Dictionary$2(String,System.String)));this.toCustInputProps=$asm.$.UIComponents.CustInput.f8(new(System.Collections.Generic.Dictionary$2(System.String,Function)))}},methods:{field:function(P,props,label,control){var fstyle={},validators,vdiv;return props.isHidden&&(fstyle.display="none"),validators=System.Linq.Enumerable.from(props.validators).select(function(v){return v.UIComponents$IValidator$invoke(props)}).toList(UIComponents.FormValidator.Props),vdiv=React.createElement("div",Bridge.React.fixAttr(null),Bridge.React.toReactElementArray(System.Linq.Enumerable.from(validators).select($asm.$.UIComponents.CustInput.f9))),React.createElement("div",Bridge.React.fixAttr({key:"cover-"+(props.key||""),title:props.key,className:"field",style:fstyle}),label,control,props.valid!==UIComponents.Validation.none?vdiv:null)}}},ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();Bridge.React.StatelessComponent$1(UIComponents.CustInput.Props).ctor.call(this,props,children)}},methods:{render:function(){var $t,label=React.createElement("div",Bridge.React.fixAttr({}),null),control,children,c;try{label=UIComponents.Extensions.ComponentExtensions.fromProps(Bridge.global.UIComponents.IKeyProps,Bridge.Reflection.getTypeFullName(Bridge.getType(this.unwrappedProps.label)),this.unwrappedProps.label,[this.unwrappedProps.isMandatory?React.createElement("span",Bridge.React.fixAttr({style:{color:"red"}}),"*"):null])}catch(ex){ex=System.Exception.create(ex);System.Console.WriteLine(ex)}control=React.createElement("span",Bridge.React.fixAttr({key:"control_parent_span"+(this.unwrappedProps.name||""),className:"control"}),this.control(Bridge.global.UIComponents.CustInput.Props,this.unwrappedProps));children=Bridge.React.ReactElementList.empty;children=children.add(UIComponents.CustInput.field(Bridge.global.UIComponents.CustInput.Props,this.unwrappedProps,label,control));$t=Bridge.getEnumerator(System.Linq.Enumerable.from(this.children).ofType(Object));try{while($t.moveNext())c=$t.Current,children=children.add(c)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$dispose()}return React.createElement("div",Bridge.React.fixAttr({style:{marginLeft:15,marginRight:15,marginBottom:15,marginTop:5},key:"control_parent"+(this.unwrappedProps.name||""),title:"control_parent"+(this.unwrappedProps.name||"")}),System.Linq.Enumerable.from(children).toArray())},onUpdate:function(P,props){return function(evt){var el=evt.currentTarget,value=el.value;props.update(value)}},getInputType:function(){return this.unwrappedProps.type},control:function(P,props){var $t,inputType=this.getInputType(),style="",cls;switch(props.valid){case UIComponents.Validation.fail:style=(style||"")+" is-danger";break;case UIComponents.Validation.pass:style=(style||"")+" is-success"}return cls={v:""},UIComponents.CustInput.inputClass.tryGetValue(inputType,cls),props.config.customField=Bridge.Reflection.getTypeName(UIComponents.CustInput),React.createElement("input",Bridge.React.fixAttr({disabled:props.disabled,key:"main-input-"+(props.fieldType||""),name:props.fieldType,className:System.String.format("{0} {1}",cls.v,style).trim(),type:props.isHidden?"hidden":inputType,value:props.value,placeholder:($t=props.placeholder,$t!=null?$t:""),onChange:this.onUpdate(P,props),onInput:this.onUpdate(P,props),onSubmit:this.onUpdate(P,props),required:props.isMandatory,data:Bridge.toPlain(props.config)}))}}});Bridge.ns("UIComponents.CustInput",$asm.$);Bridge.apply($asm.$.UIComponents.CustInput,{f1:function(_o1){return _o1.add("text","input"),_o1.add("email","input"),_o1.add("number","input"),_o1.add("checkbox","checkbox"),_o1.add("hidden","hidden"),_o1},f2:function(p){return new UIComponents.Components.Form.Fields.CustSelectInput.Props.$ctor1(p)},f3:function(p){return new UIComponents.Components.Form.Fields.CommentMessageInput.Props.$ctor1(p)},f4:function(p){return new UIComponents.DonationAmountInput.Props.$ctor1(p)},f5:function(p){return new UIComponents.CustPostcodeInput.Props.$ctor1(p)},f6:function(p){return new UIComponents.CustNumberInput.Props.$ctor1(p)},f7:function(p){return new UIComponents.CustTextInput.Props.$ctor1(p)},f8:function(_o2){return _o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustSelectInput"),$asm.$.UIComponents.CustInput.f2),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("CommentMessageInput"),$asm.$.UIComponents.CustInput.f3),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("DonationAmountInput"),$asm.$.UIComponents.CustInput.f4),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustPostcodeInput"),$asm.$.UIComponents.CustInput.f5),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustNumberInput"),$asm.$.UIComponents.CustInput.f6),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustTextInput"),$asm.$.UIComponents.CustInput.f7),_o2.add(UIComponents.Extensions.ComponentExtensions.typeKey("CustInput"),$asm.$.UIComponents.CustInput.f7),_o2},f9:function(v){return new UIComponents.SpanValidator(v)}});Bridge.define("UIComponents.CustTextInput.Props",{inherits:[UIComponents.CustInput.Props],$kind:"nested class",ctors:{ctor:function(name,order){var $t;this.$initialize();UIComponents.CustInput.Props.ctor.call(this,name,order);this.config=($t=new UIComponents.CustInput.FieldConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.CustTextInput),$t)},$ctor1:function(p){var $t;this.$initialize();UIComponents.CustInput.Props.$ctor1.call(this,p);this.config=($t=new UIComponents.CustInput.FieldConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.CustTextInput),$t)}},methods:{buildEditor:function(OnUpdate){var $t,element=new(UIComponents.Components.Form.Editor.EditorRow$1(UIComponents.CustTextInput.Props))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.CustTextInput.Props)),$t.key=this.fieldType,$t.onUpdate=function(e){var $t1;e.name=UIComponents.CustInput.Props.setName(e.textLabel);e.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label=e.textLabel,$t1);OnUpdate(e)},$t.initial=this,$t));return Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.CustTextInput.Props),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.CustTextInput.Props)).op_Implicit(element)}}});Bridge.define("UIComponents.CustNumberInput.Props",{inherits:[UIComponents.CustInput.Props],$kind:"nested class",ctors:{ctor:function(name,order){var $t;this.$initialize();UIComponents.CustInput.Props.ctor.call(this,name,order);this.config=($t=new UIComponents.CustInput.FieldConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.CustNumberInput),$t);this.isHidden||this.validators.add(new UIComponents.FormValidator.IsNumber)},$ctor1:function(p){var $t;this.$initialize();UIComponents.CustInput.Props.$ctor1.call(this,p);this.config=($t=new UIComponents.CustInput.FieldConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.CustNumberInput),$t);p.isHidden||this.validators.add(new UIComponents.FormValidator.IsNumber)}},methods:{buildEditor:function(OnUpdate){var $t,element=new(UIComponents.Components.Form.Editor.EditorRow$1(UIComponents.CustNumberInput.Props))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.CustNumberInput.Props)),$t.key=this.fieldType,$t.onUpdate=function(e){var $t1;e.name=UIComponents.CustInput.Props.setName(e.textLabel);e.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label=e.textLabel,$t1);OnUpdate(e)},$t.initial=this,$t));return Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.CustNumberInput.Props),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.CustNumberInput.Props)).op_Implicit(element)}}});Bridge.define("UIComponents.CustTextInput",{inherits:[UIComponents.CustInput],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.CustInput.ctor.call(this,props,children)}},methods:{getInputType:function(){return"text"},onUpdate:function(P,props){var _props=Bridge.as(props,UIComponents.CustTextInput.Props);return function(evt){var el=evt.currentTarget,value=el.value;props.update(value)}},control:function(P,props){var $t,$t1,_props=Bridge.as(props,UIComponents.CustTextInput.Props),inputType=this.getInputType(),style="",cls;switch(_props.valid){case UIComponents.Validation.fail:style=(style||"")+" is-danger";break;case UIComponents.Validation.pass:style=(style||"")+" is-success"}return cls={v:""},UIComponents.CustInput.inputClass.tryGetValue(inputType,cls),_props.config.customField=Bridge.Reflection.getTypeName(UIComponents.CustTextInput),React.createElement("input",Bridge.React.fixAttr({disabled:_props.disabled,key:"main-input-"+(_props.fieldType||""),name:_props.name,className:System.String.format("{0} {1}",cls.v,style).trim(),type:_props.isHidden?"hidden":inputType,value:($t=_props.value,$t!=null?$t:""),placeholder:($t1=props.placeholder,$t1!=null?$t1:""),onChange:this.onUpdate(Bridge.global.UIComponents.CustTextInput.Props,_props),onInput:this.onUpdate(Bridge.global.UIComponents.CustTextInput.Props,_props),onSubmit:this.onUpdate(Bridge.global.UIComponents.CustTextInput.Props,_props),required:_props.isMandatory,data:Bridge.toPlain(_props.config)}))}}});Bridge.define("UIComponents.Components.Form.Fields.CommentMessageInput.Props",{inherits:[UIComponents.CustTextInput.Props],$kind:"nested class",props:{value$1:{get:function(){return""}},isMandatory$1:{get:function(){return!1}},isHidden$1:{get:function(){return!1}},isAnonymous:!1},ctors:{init:function(){this.isAnonymous=!1},ctor:function(){var $t;this.$initialize();UIComponents.CustTextInput.Props.ctor.call(this,"message",1);this.sortOrder=99;this.name="message";this.config=($t=new UIComponents.CustInput.FieldConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.Components.Form.Fields.CommentMessageInput),$t)},$ctor1:function(p){var $t;this.$initialize();UIComponents.CustTextInput.Props.$ctor1.call(this,p);this.fieldType="message";this.key="message";this.sortOrder=99;this.name="message";this.config=($t=new UIComponents.CustInput.FieldConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.Components.Form.Fields.CommentMessageInput),$t)}},methods:{buildEditor:function(OnUpdate){var $t,element=new(UIComponents.Components.Form.Editor.EditorRow$1(UIComponents.Components.Form.Fields.CommentMessageInput.Props))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Form.Fields.CommentMessageInput.Props)),$t.key=this.fieldType,$t.onUpdate=function(e){var $t1;e.name=UIComponents.CustInput.Props.setName(e.textLabel);e.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label=e.textLabel,$t1);OnUpdate(e)},$t.initial=this,$t));return Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Form.Fields.CommentMessageInput.Props),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.Components.Form.Fields.CommentMessageInput.Props)).op_Implicit(element)}}});Bridge.define("UIComponents.Components.Form.Fields.CustSelectInput.Props",{inherits:[UIComponents.CustTextInput.Props],$kind:"nested class",props:{options:null,placeholder$1:null,isHidden$1:{get:function(){return!1}}},ctors:{ctor:function(name,order){var $t;this.$initialize();UIComponents.CustTextInput.Props.ctor.call(this,name,order);this.config=($t=new UIComponents.Components.Form.Fields.CustSelectInput.Props.CustSelectConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.CustTextInput),$t)},$ctor1:function(p){this.$initialize();UIComponents.CustTextInput.Props.$ctor1.call(this,p);this.config=Bridge.as(p.config,UIComponents.Components.Form.Fields.CustSelectInput.Props.CustSelectConfig)||new UIComponents.Components.Form.Fields.CustSelectInput.Props.CustSelectConfig;this.config.customField=Bridge.Reflection.getTypeName(UIComponents.Components.Form.Fields.CustSelectInput)}},methods:{buildEditor:function(OnUpdate){var $t,element=new(UIComponents.Components.Form.Editor.EditorRow$1(UIComponents.Components.Form.Fields.CustSelectInput.Props))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Form.Fields.CustSelectInput.Props)),$t.key=this.fieldType,$t.onUpdate=function(e){var $t1;e.name=UIComponents.CustInput.Props.setName(e.textLabel);e.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label=e.textLabel,$t1);OnUpdate(e)},$t.initial=this,$t));return Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Form.Fields.CustSelectInput.Props),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.Components.Form.Fields.CustSelectInput.Props)).op_Implicit(element)}}});Bridge.define("UIComponents.CustNumberInput",{inherits:[UIComponents.CustInput],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.CustInput.ctor.call(this,props,children)}},methods:{getInputType:function(){return"number"},onUpdate:function(P,props){var _props=Bridge.as(props,UIComponents.CustNumberInput.Props);return function(evt){var el=evt.currentTarget,value=el.value;props.update(value)}},control:function(P,props){var $t,_props=Bridge.as(props,UIComponents.CustNumberInput.Props),inputType=this.getInputType(),style="",cls;switch(_props.valid){case UIComponents.Validation.fail:style=(style||"")+" is-danger";break;case UIComponents.Validation.pass:style=(style||"")+" is-success"}return cls={v:""},UIComponents.CustInput.inputClass.tryGetValue(inputType,cls),_props.config.customField=Bridge.Reflection.getTypeName(UIComponents.CustNumberInput),React.createElement("input",Bridge.React.fixAttr({disabled:_props.disabled,key:"main-input-"+(_props.fieldType||""),name:_props.name,className:System.String.format("{0} {1}",cls.v,style).trim(),type:_props.isHidden?"hidden":inputType,value:_props.value,placeholder:($t=_props.placeholder,$t!=null?$t:""),onChange:this.onUpdate(Bridge.global.UIComponents.CustNumberInput.Props,_props),onInput:this.onUpdate(Bridge.global.UIComponents.CustNumberInput.Props,_props),onSubmit:this.onUpdate(Bridge.global.UIComponents.CustNumberInput.Props,_props),required:_props.isMandatory,data:Bridge.toPlain(_props.config)}))}}});Bridge.define("UIComponents.CustPostcodeInput.Props",{inherits:[UIComponents.CustNumberInput.Props],$kind:"nested class",ctors:{ctor:function(name,order){var $t;this.$initialize();UIComponents.CustNumberInput.Props.ctor.call(this,name,order);this.config=($t=new UIComponents.CustInput.FieldConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.CustPostcodeInput),$t)},$ctor1:function(p){var $t;this.$initialize();UIComponents.CustNumberInput.Props.$ctor1.call(this,p);this.config=($t=new UIComponents.CustInput.FieldConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.CustPostcodeInput),$t)}}});Bridge.define("UIComponents.DonationAmountInput.Props",{inherits:[UIComponents.CustNumberInput.Props],$kind:"nested class",fields:{_min:System.Decimal(0),_multiplier:System.Decimal(0)},props:{placeholder$1:null,isMandatory$1:{get:function(){return!0}},isHidden$1:{get:function(){return!1}},min:{get:function(){return this._min},set:function(value){this._min=System.Decimal.max(value,System.Decimal(1));this.validators.add(new UIComponents.FormValidator.GreaterOrEqual(this.min))}},multiplier:{get:function(){return this._multiplier},set:function(value){this._multiplier=System.Decimal.max(value,System.Decimal(1))}}},ctors:{init:function(){this._min=System.Decimal(5);this._multiplier=System.Decimal(1)},ctor:function(){var $t;this.$initialize();UIComponents.CustNumberInput.Props.ctor.call(this,"amount",1);this.sortOrder=1;this.config=($t=new UIComponents.DonationAmountInput.Props.DonationAmountConfig,$t.customField=Bridge.Reflection.getTypeName(UIComponents.DonationAmountInput),$t);this.name="amount";this.validators.add(new UIComponents.FormValidator.NotBlank)},$ctor1:function(p){this.$initialize();UIComponents.CustNumberInput.Props.$ctor1.call(this,p);this.fieldType="amount";this.key="amount";this.sortOrder=1;this.config=Bridge.as(p.config,UIComponents.DonationAmountInput.Props.DonationAmountConfig)||new UIComponents.DonationAmountInput.Props.DonationAmountConfig;this.config.customField=Bridge.Reflection.getTypeName(UIComponents.DonationAmountInput);this.name="amount";this.validators.add(new UIComponents.FormValidator.NotBlank)}},methods:{buildEditor:function(OnUpdate){var $t,element=new(UIComponents.Components.Form.Editor.EditorRow$1(UIComponents.DonationAmountInput.Props))(($t=new(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.DonationAmountInput.Props)),$t.key=this.fieldType,$t.onUpdate=function(e){var $t1;e.name=UIComponents.CustInput.Props.setName(e.textLabel);e.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label=e.textLabel,$t1);OnUpdate(e)},$t.initial=this,$t));return Bridge.React.Component$2(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.DonationAmountInput.Props),UIComponents.Components.Form.Editor.Editor$1.State(UIComponents.DonationAmountInput.Props)).op_Implicit(element)}}});Bridge.define("UIComponents.Components.Form.Fields.CommentMessageInput",{inherits:[UIComponents.CustTextInput],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.CustTextInput.ctor.call(this,props,children)}},methods:{control:function(){var $t,$t1,UpdateField=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.UpdateFieldDispatcher),_props=this.unwrappedProps,style="textarea",anon,textarea;switch(_props.valid){case UIComponents.Validation.fail:style=(style||"")+" is-danger";break;case UIComponents.Validation.pass:style=(style||"")+" is-success"}return _props.config.customField=Bridge.Reflection.getTypeName(UIComponents.Components.Form.Fields.CommentMessageInput),anon=new UIComponents.FormInput(($t=new UIComponents.FormInput.Props("comment_anonymous",0),$t.label=($t1=new UIComponents.Components.Form.Labels.FormLabel.Props.ctor,$t1.label="Donate Anonymously?",$t1.attributes={className:"is-small",style:{fontSize:"0.75rem",margin:"0.125rem"}},$t1),$t.type="checkbox",$t.value=System.Boolean.toString(_props.isMandatory),$t.update=function(x){var $t2,b={v:!1};System.Boolean.tryParse(x,b);_props.isMandatory=b.v;_props.update(_props.value);UpdateField.invoke(Bridge.global.UIComponents.Dispatchers.UpdateFieldDispatcher.UpdateFieldEventArgs,($t2=new UIComponents.Dispatchers.UpdateFieldDispatcher.UpdateFieldEventArgs,$t2.name="comment_anonymous",$t2.value=System.Boolean.toString(b.v),$t2))},$t.placeholder=System.Boolean.toString(!1),$t.data=new $asm.$AnonymousType$4(!1),$t)),textarea=React.createElement("div",Bridge.React.fixAttr({}),React.createElement("textarea",Bridge.React.fixAttr({className:style,rows:3,name:_props.fieldType,value:_props.value,placeholder:_props.placeholder,onChange:function(e){_props.update(e.currentTarget.value)},onInput:function(e){_props.update(e.currentTarget.value)},onSubmit:function(e){_props.update(e.currentTarget.value)},disabled:_props.disabled,data:_props.config})),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(anon)),textarea}}});Bridge.define("$AnonymousType$4",$asm,{$kind:"anonymous",ctors:{ctor:function(canconfig){this.canconfig=canconfig}},methods:{equals:function(o){return Bridge.is(o,$asm.$AnonymousType$4)?Bridge.equals(this.canconfig,o.canconfig):!1},getHashCode:function(){return Bridge.addHash([7550196189,this.canconfig])},toJSON:function(){return{canconfig:this.canconfig}}},statics:{methods:{$metadata:function(){return{m:[{a:2,n:"canconfig",t:16,rt:System.Boolean,g:{a:2,n:"get_canconfig",t:8,rt:System.Boolean,fg:"canconfig",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"canconfig"}]}}}}});Bridge.define("UIComponents.Components.Form.Fields.CustSelectInput",{inherits:[UIComponents.CustTextInput],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.CustTextInput.ctor.call(this,props,children)}},methods:{onUpdate$1:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.Components.Form.Fields.CustSelectInput.f1)},control:function(){var $t,$t1,$t2,$t3,UpdateField=UIComponents.Dispatchers.DispatcherFactory.get(UIComponents.Dispatchers.UpdateFieldDispatcher),inputType=this.getInputType(),_props=Bridge.as(this.unwrappedProps,UIComponents.Components.Form.Fields.CustSelectInput.Props),style="select",config,selectItems,item,input;switch(_props.valid){case UIComponents.Validation.fail:style=(style||"")+" is-danger";break;case UIComponents.Validation.pass:style=(style||"")+" is-success"}config=Bridge.as(_props.config,UIComponents.Components.Form.Fields.CustSelectInput.Props.CustSelectConfig);config.customField=Bridge.Reflection.getTypeName(UIComponents.Components.Form.Fields.CustSelectInput);config.options=($t=_props.options,$t!=null?$t:"");selectItems=new(System.Collections.Generic.Dictionary$2(System.Object,System.String));$t1=Bridge.getEnumerator(config.options.split(";"));try{while($t1.moveNext())item=$t1.Current,selectItems.add(item.trim(),item.trim())}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$dispose()}return input=new UIComponents.FormInput(($t2=new UIComponents.FormInput.Props(_props.name,_props.sortOrder),$t2.disabled=_props.disabled,$t2.key="main-input-"+(_props.fieldType||""),$t2.name=_props.name,$t2.type=inputType,$t2.value=_props.value,$t2.placeholder=($t3=_props.placeholder$1,$t3!=null?$t3:""),$t2.update=this.onUpdate$1(),$t2.selectDict=selectItems,$t2.isMandatory=_props.isMandatory,$t2.data=Bridge.toPlain(config),$t2)),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(input)}}});Bridge.ns("UIComponents.Components.Form.Fields.CustSelectInput",$asm.$);Bridge.apply($asm.$.UIComponents.Components.Form.Fields.CustSelectInput,{f1:function(s){var value=s;this.unwrappedProps.update(value)}});Bridge.define("UIComponents.CustPostcodeInput",{inherits:[UIComponents.CustNumberInput],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.CustNumberInput.ctor.call(this,props,children)}},methods:{getInputType:function(){return"number"},onUpdate:function(P,props){var _props=Bridge.as(props,UIComponents.CustPostcodeInput.Props);return function(evt){var el=evt.currentTarget,value=el.value.length>4?_props.value:el.value;props.update(value)}},control:function(P,props){var $t,_props=Bridge.as(props,UIComponents.CustPostcodeInput.Props),inputType=this.getInputType(),style="",cls;switch(_props.valid){case UIComponents.Validation.fail:style=(style||"")+" is-danger";break;case UIComponents.Validation.pass:style=(style||"")+" is-success"}return cls={v:""},UIComponents.CustInput.inputClass.tryGetValue(inputType,cls),_props.config.customField=Bridge.Reflection.getTypeName(UIComponents.CustPostcodeInput),React.createElement("input",Bridge.React.fixAttr({disabled:_props.disabled,key:"main-input-"+(_props.fieldType||""),name:_props.name,className:System.String.format("{0} {1}",cls.v,style).trim(),type:_props.isHidden?"hidden":inputType,value:_props.value,placeholder:($t=_props.placeholder,$t!=null?$t:""),onChange:this.onUpdate(Bridge.global.UIComponents.CustPostcodeInput.Props,_props),onInput:this.onUpdate(Bridge.global.UIComponents.CustPostcodeInput.Props,_props),onSubmit:this.onUpdate(Bridge.global.UIComponents.CustPostcodeInput.Props,_props),required:_props.isMandatory,data:Bridge.toPlain(_props.config)}))}}});Bridge.define("UIComponents.DonationAmountInput",{inherits:[UIComponents.CustNumberInput],ctors:{ctor:function(props,children){children===void 0&&(children=[]);this.$initialize();UIComponents.CustNumberInput.ctor.call(this,props,children)}},methods:{getInputType:function(){return"number"},onUpdate$1:function(){return Bridge.fn.bind(this,$asm.$.UIComponents.DonationAmountInput.f1)},control:function(P,props){var $t,$t1,_props=Bridge.as(props,UIComponents.DonationAmountInput.Props),inputType=this.getInputType(),style="",config,input,value;switch(_props.valid){case UIComponents.Validation.fail:style=(style||"")+" is-danger";break;case UIComponents.Validation.pass:style=(style||"")+" is-success"}return(config=Bridge.as(_props.config,UIComponents.DonationAmountInput.Props.DonationAmountConfig),config.customField=Bridge.Reflection.getTypeName(UIComponents.DonationAmountInput),config.multiplier=_props.multiplier,input=new UIComponents.FormInputHasIcons(($t=new UIComponents.FormInputHasIcons.Props("amount",1),$t.left="fa fa-usd",$t.disabled=_props.disabled,$t.key="main-input-"+(_props.fieldType||""),$t.name=_props.fieldType,$t.type=inputType,$t.value=_props.value,$t.placeholder=($t1=_props.placeholder$1,$t1!=null?$t1:""),$t.update=this.onUpdate$1(),$t.isMandatory=!0,$t.extraAttributes={min:_props.min.toString()},$t.data=Bridge.toPlain(config),$t)),value={v:System.Decimal(0)},System.Decimal.tryParse(_props.value,null,value),_props.multiplier.gt(System.Decimal(1)))?React.createElement("div",Bridge.React.fixAttr({className:"field has-addons"}),Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit$1(input),React.createElement("p",Bridge.React.fixAttr({className:"control",title:"form-config-multi"}),React.createElement("span",Bridge.React.fixAttr({className:"button is-static"}),System.String.format("Matched x{0} = ${1}",_props.multiplier,value.v.mul(_props.multiplier))))):Bridge.React.StatelessComponent$1(UIComponents.FormField.FieldProps).op_Implicit(input)}}});Bridge.ns("UIComponents.DonationAmountInput",$asm.$);Bridge.apply($asm.$.UIComponents.DonationAmountInput,{f1:function(s){var value=s;this.unwrappedProps.update(value)}})});Bridge.assembly("UIComponents",function(){"use strict";var $m=Bridge.setMetadata,$n=[System,ViewModels.ReactContext,ViewModels,GiveEasy.Shared,System.Collections.Generic,System.Text.RegularExpressions,GiveEasy.Shared.Data,GiveEasy.Shared.Data.Comments,UIComponents,UIComponents.Components.Form.Buttons,System.Threading.Tasks,UIComponents.Services.Handlebars,UIComponents.Components.Configurable,UIComponents.Layout,Bridge.React,UIComponents.Dispatchers,UIComponents.Collections,UIComponents.Components,UIComponents.Components.Tooltips,UIComponents.Components.Plugins.AlloyMenu,UIComponents.Apps,UIComponents.Components.Containers,UIComponents.Components.Form,UIComponents.Components.Form.Editor,System.Reflection,UIComponents.Components.Form.Labels,UIComponents.Components.Form.Fields,UIComponents.Components.Elements,UIComponents.Apps.DonateForm,UIComponents.Apps.ProgressWidget,UIComponents.Apps.SearchWidget,UIComponents.Apps.AppealEditor];$m("ViewModels.AppealGroup",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealKey",t:16,rt:$n[0].String,g:{a:2,n:"get_AppealKey",t:8,rt:$n[0].String,fg:"appealKey"},s:{a:2,n:"set_AppealKey",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealKey"},fn:"appealKey"},{a:2,n:"AppealTitle",t:16,rt:$n[0].String,g:{a:2,n:"get_AppealTitle",t:8,rt:$n[0].String,fg:"appealTitle"},s:{a:2,n:"set_AppealTitle",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealTitle"},fn:"appealTitle"},{a:2,n:"Description",t:16,rt:$n[0].String,g:{a:2,n:"get_Description",t:8,rt:$n[0].String,fg:"description"},s:{a:2,n:"set_Description",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"description"},fn:"description"},{a:2,n:"Goal",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_Goal",t:8,rt:$n[0].Decimal,fg:"goal"},s:{a:2,n:"set_Goal",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"goal"},fn:"goal"},{a:2,n:"GoalCurrency",t:16,rt:$n[0].String,g:{a:2,n:"get_GoalCurrency",t:8,rt:$n[0].String,fg:"goalCurrency"},s:{a:2,n:"set_GoalCurrency",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"goalCurrency"},fn:"goalCurrency"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"Name",t:16,rt:$n[0].String,g:{a:2,n:"get_Name",t:8,rt:$n[0].String,fg:"name"},fn:"name"},{a:2,n:"Owner",t:16,rt:$n[0].String,g:{a:2,n:"get_Owner",t:8,rt:$n[0].String,fg:"owner"},s:{a:2,n:"set_Owner",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"owner"},fn:"owner"},{a:2,n:"Path",t:16,rt:$n[0].String,g:{a:2,n:"get_Path",t:8,rt:$n[0].String,fg:"path"},fn:"path"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"}]}});$m("ViewModels.EmailSettingsModel",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Recepients",t:16,rt:$n[0].String,g:{a:2,n:"get_Recepients",t:8,rt:$n[0].String,fg:"recepients"},s:{a:2,n:"set_Recepients",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"recepients"},fn:"recepients"},{a:2,n:"Sender",t:16,rt:$n[0].String,g:{a:2,n:"get_Sender",t:8,rt:$n[0].String,fg:"sender"},s:{a:2,n:"set_Sender",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"sender"},fn:"sender"},{a:2,n:"Subject",t:16,rt:$n[0].String,g:{a:2,n:"get_Subject",t:8,rt:$n[0].String,fg:"subject"},s:{a:2,n:"set_Subject",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"subject"},fn:"subject"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"}]}});$m("ViewModels.EmailTemplateMetaModel",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"charityId",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CharityId",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"charityId"},fn:"charityId"},{a:2,n:"CharityName",t:16,rt:$n[0].String,g:{a:2,n:"get_CharityName",t:8,rt:$n[0].String,fg:"charityName"},s:{a:2,n:"set_CharityName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"charityName"},fn:"charityName"},{a:2,n:"CompoundUUID",t:16,rt:$n[0].String,g:{a:2,n:"get_CompoundUUID",t:8,rt:$n[0].String,fg:"compoundUUID"},s:{a:2,n:"set_CompoundUUID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"compoundUUID"},fn:"compoundUUID"},{a:2,n:"Context",t:16,rt:$n[1].ReceiptTitleContext,g:{a:2,n:"get_Context",t:8,rt:$n[1].ReceiptTitleContext,fg:"context"},s:{a:2,n:"set_Context",t:8,p:[$n[1].ReceiptTitleContext],rt:$n[0].Void,fs:"context"},fn:"context"},{a:2,n:"TagSetContext",t:16,rt:$n[1].TagSetContext,g:{a:2,n:"get_TagSetContext",t:8,rt:$n[1].TagSetContext,fg:"tagSetContext"},s:{a:2,n:"set_TagSetContext",t:8,p:[$n[1].TagSetContext],rt:$n[0].Void,fs:"tagSetContext"},fn:"tagSetContext"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"}]}});$m("ViewModels.PageMetaModel",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealKey",t:16,rt:$n[0].String,g:{a:2,n:"get_AppealKey",t:8,rt:$n[0].String,fg:"appealKey"},s:{a:2,n:"set_AppealKey",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealKey"},fn:"appealKey"},{a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"charityId",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CharityId",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"charityId"},fn:"charityId"},{a:2,n:"CharityName",t:16,rt:$n[0].String,g:{a:2,n:"get_CharityName",t:8,rt:$n[0].String,fg:"charityName"},s:{a:2,n:"set_CharityName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"charityName"},fn:"charityName"},{a:2,n:"CharitySlug",t:16,rt:$n[0].String,g:{a:2,n:"get_CharitySlug",t:8,rt:$n[0].String,fg:"charitySlug"},s:{a:2,n:"set_CharitySlug",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"charitySlug"},fn:"charitySlug"},{a:2,n:"Context",t:16,rt:$n[1].PageTitleContext,g:{a:2,n:"get_Context",t:8,rt:$n[1].PageTitleContext,fg:"context"},s:{a:2,n:"set_Context",t:8,p:[$n[1].PageTitleContext],rt:$n[0].Void,fs:"context"},fn:"context"},{a:2,n:"TagSetContext",t:16,rt:$n[1].TagSetContext,g:{a:2,n:"get_TagSetContext",t:8,rt:$n[1].TagSetContext,fg:"tagSetContext"},s:{a:2,n:"set_TagSetContext",t:8,p:[$n[1].TagSetContext],rt:$n[0].Void,fs:"tagSetContext"},fn:"tagSetContext"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"},{a:2,n:"UUID",t:16,rt:$n[0].String,g:{a:2,n:"get_UUID",t:8,rt:$n[0].String,fg:"UUID"},s:{a:2,n:"set_UUID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"UUID"},fn:"UUID"}]}});$m("ViewModels.CustomPage",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Html",t:16,rt:$n[0].String,g:{a:2,n:"get_Html",t:8,rt:$n[0].String,fg:"html"},s:{a:2,n:"set_Html",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"html"},fn:"html"},{a:2,n:"Meta",t:16,rt:$n[2].PageMetaModel,g:{a:2,n:"get_Meta",t:8,rt:$n[2].PageMetaModel,fg:"meta"},s:{a:2,n:"set_Meta",t:8,p:[$n[2].PageMetaModel],rt:$n[0].Void,fs:"meta"},fn:"meta"}]}});$m("ViewModels.ReceiptTitle",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealUUID",t:16,rt:$n[0].String,g:{a:2,n:"get_AppealUUID",t:8,rt:$n[0].String,fg:"appealUUID"},s:{a:2,n:"set_AppealUUID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealUUID"},fn:"appealUUID"},{a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"charityId",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CharityId",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"charityId"},fn:"charityId"},{a:2,n:"Created",t:16,rt:$n[0].DateTime,g:{a:2,n:"get_Created",t:8,rt:$n[0].DateTime,fg:"created",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},s:{a:2,n:"set_Created",t:8,p:[$n[0].DateTime],rt:$n[0].Void,fs:"created"},fn:"created"},{a:2,n:"ReceiptKey",t:16,rt:$n[0].String,g:{a:2,n:"get_ReceiptKey",t:8,rt:$n[0].String,fg:"receiptKey"},s:{a:2,n:"set_ReceiptKey",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"receiptKey"},fn:"receiptKey"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"},{a:2,n:"UUID",t:16,rt:$n[0].String,g:{a:2,n:"get_UUID",t:8,rt:$n[0].String,fg:"UUID"},s:{a:2,n:"set_UUID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"UUID"},fn:"UUID"},{a:1,n:"__Property__Initializer__Created",t:4,rt:$n[0].DateTime,sn:"__Property__Initializer__Created",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}}]}});$m("ViewModels.ThankyouPageTitle",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealUUID",t:16,rt:$n[0].String,g:{a:2,n:"get_AppealUUID",t:8,rt:$n[0].String,fg:"appealUUID"},s:{a:2,n:"set_AppealUUID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealUUID"},fn:"appealUUID"},{a:2,n:"Created",t:16,rt:$n[0].DateTime,g:{a:2,n:"get_Created",t:8,rt:$n[0].DateTime,fg:"created",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},s:{a:2,n:"set_Created",t:8,p:[$n[0].DateTime],rt:$n[0].Void,fs:"created"},fn:"created"},{a:2,n:"ThankyouPageKey",t:16,rt:$n[0].String,g:{a:2,n:"get_ThankyouPageKey",t:8,rt:$n[0].String,fg:"thankyouPageKey"},s:{a:2,n:"set_ThankyouPageKey",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"thankyouPageKey"},fn:"thankyouPageKey"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"},{a:2,n:"UUID",t:16,rt:$n[0].String,g:{a:2,n:"get_UUID",t:8,rt:$n[0].String,fg:"UUID"},s:{a:2,n:"set_UUID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"UUID"},fn:"UUID"},{a:1,n:"__Property__Initializer__Created",t:4,rt:$n[0].DateTime,sn:"__Property__Initializer__Created",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}}]}});$m("ViewModels.ThankYouEmailPage",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Html",t:16,rt:$n[0].String,g:{a:2,n:"get_Html",t:8,rt:$n[0].String,fg:"html"},s:{a:2,n:"set_Html",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"html"},fn:"html"},{a:2,n:"Meta",t:16,rt:$n[2].EmailTemplateMetaModel,g:{a:2,n:"get_Meta",t:8,rt:$n[2].EmailTemplateMetaModel,fg:"meta"},s:{a:2,n:"set_Meta",t:8,p:[$n[2].EmailTemplateMetaModel],rt:$n[0].Void,fs:"meta"},fn:"meta"}]}});$m("ViewModels.AppealPage",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"DonationInfo",t:16,rt:$n[2].DonateFormModel,g:{a:2,n:"get_DonationInfo",t:8,rt:$n[2].DonateFormModel,fg:"donationInfo"},s:{a:2,n:"set_DonationInfo",t:8,p:[$n[2].DonateFormModel],rt:$n[0].Void,fs:"donationInfo"},fn:"donationInfo"},{a:2,n:"Html",t:16,rt:$n[0].String,g:{a:2,n:"get_Html",t:8,rt:$n[0].String,fg:"html"},s:{a:2,n:"set_Html",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"html"},fn:"html"}]}});$m("ViewModels.AppealTitle",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"Equals",t:8,pi:[{n:"obj",pt:$n[0].Object,ps:0}],sn:"equals",rt:$n[0].Boolean,p:[$n[0].Object],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{ov:!0,a:2,n:"GetHashCode",t:8,sn:"getHashCode",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"AppealKey",t:16,rt:$n[0].String,g:{a:2,n:"get_AppealKey",t:8,rt:$n[0].String,fg:"appealKey"},s:{a:2,n:"set_AppealKey",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealKey"},fn:"appealKey"},{a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"charityId",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CharityId",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"charityId"},fn:"charityId"},{a:2,n:"Created",t:16,rt:$n[0].DateTime,g:{a:2,n:"get_Created",t:8,rt:$n[0].DateTime,fg:"created",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},s:{a:2,n:"set_Created",t:8,p:[$n[0].DateTime],rt:$n[0].Void,fs:"created"},fn:"created"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"},{a:2,n:"UUID",t:16,rt:$n[0].String,g:{a:2,n:"get_UUID",t:8,rt:$n[0].String,fg:"UUID"},s:{a:2,n:"set_UUID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"UUID"},fn:"UUID"},{a:1,n:"__Property__Initializer__Created",t:4,rt:$n[0].DateTime,sn:"__Property__Initializer__Created",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}}]}});$m("ViewModels.DonateFormModel",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"charityId",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CharityId",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"charityId"},fn:"charityId"},{a:2,n:"CharityName",t:16,rt:$n[0].String,g:{a:2,n:"get_CharityName",t:8,rt:$n[0].String,fg:"charityName"},s:{a:2,n:"set_CharityName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"charityName"},fn:"charityName"},{a:2,n:"Context",t:16,rt:$n[1].AppealTitleContext,g:{a:2,n:"get_Context",t:8,rt:$n[1].AppealTitleContext,fg:"context"},s:{a:2,n:"set_Context",t:8,p:[$n[1].AppealTitleContext],rt:$n[0].Void,fs:"context"},fn:"context"},{a:2,n:"ContextKey",t:16,rt:$n[0].String,g:{a:2,n:"get_ContextKey",t:8,rt:$n[0].String,fg:"contextKey"},s:{a:2,n:"set_ContextKey",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"contextKey"},fn:"contextKey"},{a:2,n:"GroupKey",t:16,rt:$n[0].String,g:{a:2,n:"get_GroupKey",t:8,rt:$n[0].String,fg:"groupKey"},s:{a:2,n:"set_GroupKey",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"groupKey"},fn:"groupKey"},{a:2,n:"GroupTitle",t:16,rt:$n[0].String,g:{a:2,n:"get_GroupTitle",t:8,rt:$n[0].String,fg:"groupTitle"},s:{a:2,n:"set_GroupTitle",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"groupTitle"},fn:"groupTitle"},{a:2,n:"IsCharityApplicationApproved",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsCharityApplicationApproved",t:8,rt:$n[0].Boolean,fg:"isCharityApplicationApproved",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsCharityApplicationApproved",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isCharityApplicationApproved"},fn:"isCharityApplicationApproved"},{a:2,n:"IsPayPalAuthorized",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsPayPalAuthorized",t:8,rt:$n[0].Boolean,fg:"isPayPalAuthorized",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsPayPalAuthorized",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isPayPalAuthorized"},fn:"isPayPalAuthorized"},{a:2,n:"PayPalAccount",t:16,rt:$n[0].String,g:{a:2,n:"get_PayPalAccount",t:8,rt:$n[0].String,fg:"payPalAccount"},s:{a:2,n:"set_PayPalAccount",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"payPalAccount"},fn:"payPalAccount"},{a:2,n:"PayPalClientId",t:16,rt:$n[0].String,g:{a:2,n:"get_PayPalClientId",t:8,rt:$n[0].String,fg:"payPalClientId"},s:{a:2,n:"set_PayPalClientId",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"payPalClientId"},fn:"payPalClientId"},{a:2,n:"PayPalMode",t:16,rt:$n[0].String,g:{a:2,n:"get_PayPalMode",t:8,rt:$n[0].String,fg:"payPalMode"},s:{a:2,n:"set_PayPalMode",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"payPalMode"},fn:"payPalMode"},{a:2,n:"PayPalReturnUrl",t:16,rt:$n[0].String,g:{a:2,n:"get_PayPalReturnUrl",t:8,rt:$n[0].String,fg:"payPalReturnUrl"},s:{a:2,n:"set_PayPalReturnUrl",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"payPalReturnUrl"},fn:"payPalReturnUrl"},{a:2,n:"Payment",t:16,rt:$n[0].Nullable$1(GiveEasy.Shared.Data.CardInfo),g:{a:2,n:"get_Payment",t:8,rt:$n[0].Nullable$1(GiveEasy.Shared.Data.CardInfo),fg:"payment"},s:{a:2,n:"set_Payment",t:8,p:[$n[0].Nullable$1(GiveEasy.Shared.Data.CardInfo)],rt:$n[0].Void,fs:"payment"},fn:"payment"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"}]}});$m("ViewModels.FromSettingsModel",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AllowFortnightly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_AllowFortnightly",t:8,rt:$n[0].Boolean,fg:"allowFortnightly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_AllowFortnightly",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"allowFortnightly"},fn:"allowFortnightly"},{a:2,n:"AllowMonthly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_AllowMonthly",t:8,rt:$n[0].Boolean,fg:"allowMonthly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_AllowMonthly",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"allowMonthly"},fn:"allowMonthly"},{a:2,n:"AllowOnceOff",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_AllowOnceOff",t:8,rt:$n[0].Boolean,fg:"allowOnceOff",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_AllowOnceOff",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"allowOnceOff"},fn:"allowOnceOff"},{a:2,n:"AllowWeekly",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_AllowWeekly",t:8,rt:$n[0].Boolean,fg:"allowWeekly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_AllowWeekly",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"allowWeekly"},fn:"allowWeekly"},{a:2,n:"DefaultAmount",t:16,rt:$n[0].String,g:{a:2,n:"get_DefaultAmount",t:8,rt:$n[0].String,fg:"defaultAmount"},s:{a:2,n:"set_DefaultAmount",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"defaultAmount"},fn:"defaultAmount"},{a:2,n:"DefaultFrequency",t:16,rt:$n[0].String,g:{a:2,n:"get_DefaultFrequency",t:8,rt:$n[0].String,fg:"defaultFrequency"},s:{a:2,n:"set_DefaultFrequency",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"defaultFrequency"},fn:"defaultFrequency"},{a:2,n:"DisplayStyle",t:16,rt:$n[0].String,g:{a:2,n:"get_DisplayStyle",t:8,rt:$n[0].String,fg:"displayStyle"},s:{a:2,n:"set_DisplayStyle",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"displayStyle"},fn:"displayStyle"},{a:2,n:"DonationButtonColor",t:16,rt:$n[0].String,g:{a:2,n:"get_DonationButtonColor",t:8,rt:$n[0].String,fg:"donationButtonColor"},s:{a:2,n:"set_DonationButtonColor",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"donationButtonColor"},fn:"donationButtonColor"}]}});$m("ViewModels.ReactContext.ReceiptTitleContext",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"ReviewPageUrl",t:8,pi:[{n:"title",pt:$n[3].IReceiptTitle,ps:0}],sn:"reviewPageUrl",rt:$n[0].String,p:[$n[3].IReceiptTitle]},{a:2,n:"UrlBase",t:16,rt:$n[0].String,g:{a:2,n:"get_UrlBase",t:8,rt:$n[0].String,fg:"urlBase"},s:{a:2,n:"set_UrlBase",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"urlBase"},fn:"urlBase"}]}});$m("ViewModels.ReactContext.PageTitleContext",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"ReviewPageUrl",t:8,pi:[{n:"title",pt:$n[3].ICustomPageTitle,ps:0},{n:"draft",pt:$n[0].Boolean,ps:1}],sn:"reviewPageUrl",rt:$n[0].String,p:[$n[3].ICustomPageTitle,$n[0].Boolean]},{a:2,n:"ServiceThanksUrl",t:8,pi:[{n:"path",dv:"",o:!0,pt:$n[0].String,ps:0}],sn:"serviceThanksUrl",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"CharitySlug",t:16,rt:$n[0].String,g:{a:2,n:"get_CharitySlug",t:8,rt:$n[0].String,fg:"charitySlug"},s:{a:2,n:"set_CharitySlug",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"charitySlug"},fn:"charitySlug"},{a:2,n:"UrlBase",t:16,rt:$n[0].String,g:{a:2,n:"get_UrlBase",t:8,rt:$n[0].String,fg:"urlBase"},s:{a:2,n:"set_UrlBase",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"urlBase"},fn:"urlBase"},{a:2,n:"UrlPath",t:16,rt:$n[0].String,g:{a:2,n:"get_UrlPath",t:8,rt:$n[0].String,fg:"urlPath"},s:{a:2,n:"set_UrlPath",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"urlPath"},fn:"urlPath"}]}});$m("ViewModels.ReactContext.AppealTitleContext",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealUrl",t:8,pi:[{n:"title",pt:$n[3].IAppealTitle,ps:0}],sn:"appealUrl",rt:$n[0].String,p:[$n[3].IAppealTitle]},{a:2,n:"AppealUUID",t:16,rt:$n[0].Guid,g:{a:2,n:"get_AppealUUID",t:8,rt:$n[0].Guid,fg:"appealUUID"},s:{a:2,n:"set_AppealUUID",t:8,p:[$n[0].Guid],rt:$n[0].Void,fs:"appealUUID"},fn:"appealUUID"},{a:2,n:"UrlBase",t:16,rt:$n[0].String,g:{a:2,n:"get_UrlBase",t:8,rt:$n[0].String,fg:"urlBase"},s:{a:2,n:"set_UrlBase",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"urlBase"},fn:"urlBase"}]}});$m("ViewModels.ReactContext.TagSetContext",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Guid,$n[0].Array.type(System.String)],pi:[{n:"schema",pt:$n[0].Guid,ps:0},{n:"propertynames",pt:$n[0].Array.type(System.String),ps:1}],sn:"ctor"},{a:2,n:"PropertyNames",t:16,rt:$n[0].Array.type(System.String),g:{a:2,n:"get_PropertyNames",t:8,rt:$n[0].Array.type(System.String),fg:"propertyNames"},fn:"propertyNames"},{a:2,n:"SchemaUUID",t:16,rt:$n[0].Guid,g:{a:2,n:"get_SchemaUUID",t:8,rt:$n[0].Guid,fg:"schemaUUID"},fn:"schemaUUID"}]}});$m("GiveEasy.Shared.HttpRequestException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Int32,$n[0].String],pi:[{n:"code",pt:$n[0].Int32,ps:0},{n:"message",dv:"",o:!0,pt:$n[0].String,ps:1}],sn:"ctor"},{a:2,n:"StatusCode",t:8,sn:"statusCode",rt:$n[0].Int32,box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"code",t:4,rt:$n[0].Int32,sn:"code",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("GiveEasy.Shared.ODataException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"code",pt:$n[0].Int32,ps:0}],sn:"ctor"},{a:2,n:"InnerException",t:16,rt:$n[0].Exception,g:{a:2,n:"get_InnerException",t:8,rt:$n[0].Exception,fg:"innerException"},s:{a:2,n:"set_InnerException",t:8,p:[$n[0].Exception],rt:$n[0].Void,fs:"innerException"},fn:"innerException"},{a:2,n:"Message",t:16,rt:$n[0].String,g:{a:2,n:"get_Message",t:8,rt:$n[0].String,fg:"message$1"},s:{a:2,n:"set_Message",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"message$1"},fn:"message$1"},{a:2,n:"innererror",t:16,rt:$n[3].ODataException,g:{a:2,n:"get_innererror",t:8,rt:$n[3].ODataException,fg:"innererror"},s:{a:2,n:"set_innererror",t:8,p:[$n[3].ODataException],rt:$n[0].Void,fs:"innererror"},fn:"innererror"},{a:2,n:"message",t:16,rt:$n[0].String,g:{a:2,n:"get_message",t:8,rt:$n[0].String,fg:"message"},s:{a:2,n:"set_message",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"message"},fn:"message"},{a:2,n:"stacktrace",t:16,rt:$n[0].String,g:{a:2,n:"get_stacktrace",t:8,rt:$n[0].String,fg:"stacktrace"},s:{a:2,n:"set_stacktrace",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"stacktrace"},fn:"stacktrace"},{a:2,n:"type",t:16,rt:$n[0].String,g:{a:2,n:"get_type",t:8,rt:$n[0].String,fg:"type"},s:{a:2,n:"set_type",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"type"},fn:"type"}]}});$m("GiveEasy.Shared.ViewModelException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception],pi:[{n:"friendlyMessage",pt:$n[0].String,ps:0},{n:"innerException",pt:$n[0].Exception,ps:1}],sn:"ctor"},{a:2,n:"FriendlyMessage",t:16,rt:$n[0].String,g:{a:2,n:"get_FriendlyMessage",t:8,rt:$n[0].String,fg:"friendlyMessage"},s:{a:1,n:"set_FriendlyMessage",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"friendlyMessage"},fn:"friendlyMessage"}]}});$m("GiveEasy.Shared.ClientException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception,$n[0].Array.type(System.String)],pi:[{n:"friendlyMessage",pt:$n[0].String,ps:0},{n:"innerException",dv:null,o:!0,pt:$n[0].Exception,ps:1},{n:"inputerrors",ip:!0,pt:$n[0].Array.type(System.String),ps:2}],sn:"ctor"},{a:2,n:"InputErrors",t:16,rt:$n[4].IEnumerable$1(System.String),g:{a:2,n:"get_InputErrors",t:8,rt:$n[4].IEnumerable$1(System.String),fg:"inputErrors"},s:{a:1,n:"set_InputErrors",t:8,p:[$n[4].IEnumerable$1(System.String)],rt:$n[0].Void,fs:"inputErrors"},fn:"inputErrors"}]}});$m("GiveEasy.Shared.ServerException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception,$n[0].Array.type(System.String)],pi:[{n:"friendlyMessage",pt:$n[0].String,ps:0},{n:"innerException",dv:null,o:!0,pt:$n[0].Exception,ps:1},{n:"internalerrors",ip:!0,pt:$n[0].Array.type(System.String),ps:2}],sn:"ctor"},{a:2,n:"InternalErrors",t:16,rt:$n[4].IEnumerable$1(System.String),g:{a:2,n:"get_InternalErrors",t:8,rt:$n[4].IEnumerable$1(System.String),fg:"internalErrors"},s:{a:1,n:"set_InternalErrors",t:8,p:[$n[4].IEnumerable$1(System.String)],rt:$n[0].Void,fs:"internalErrors"},fn:"internalErrors"}]}});$m("GiveEasy.Shared.RedirectException",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Exception,$n[0].String],pi:[{n:"friendlyMessage",pt:$n[0].String,ps:0},{n:"innerException",dv:null,o:!0,pt:$n[0].Exception,ps:1},{n:"alternateUrl",dv:"",o:!0,pt:$n[0].String,ps:2}],sn:"ctor"},{a:2,n:"AlternateUrl",t:16,rt:$n[0].String,g:{a:2,n:"get_AlternateUrl",t:8,rt:$n[0].String,fg:"alternateUrl"},s:{a:1,n:"set_AlternateUrl",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"alternateUrl"},fn:"alternateUrl"}]}});$m("GiveEasy.Shared.ViewExtensions",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"HostUrl",is:!0,t:8,pi:[{n:"url",pt:$n[0].String,ps:0}],sn:"hostUrl",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToSeoFriendly",is:!0,t:8,pi:[{n:"title",pt:$n[0].String,ps:0}],sn:"toSeoFriendly",rt:$n[0].String,p:[$n[0].String]}]}});$m("GiveEasy.Shared.Extensions",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"ApiUrl",is:!0,t:8,pi:[{n:"fullurl",pt:$n[0].String,ps:0},{n:"localPort",dv:51496,o:!0,pt:$n[0].Int32,ps:1}],sn:"apiUrl",rt:$n[0].String,p:[$n[0].String,$n[0].Int32]},{a:2,n:"AsQueryParams",is:!0,t:8,pi:[{n:"self",pt:$n[4].IDictionary$2(System.String,System.Object),ps:0}],tpc:1,tprm:["V"],sn:"asQueryParams",rt:$n[0].String,p:[$n[4].IDictionary$2(System.String,System.Object)]},{a:2,n:"FromQueryParams",is:!0,t:8,pi:[{n:"self",pt:$n[0].String,ps:0}],sn:"fromQueryParams",rt:$n[4].IDictionary$2(System.String,System.String),p:[$n[0].String]},{a:2,n:"Get",is:!0,t:8,pi:[{n:"self",pt:$n[4].IDictionary$2(System.String,System.Object),ps:0},{n:"key",pt:$n[0].String,ps:1},{n:"default",dv:null,o:!0,pt:System.Object,ps:2}],tpc:1,tprm:["T"],sn:"get",rt:System.Object,p:[$n[4].IDictionary$2(System.String,System.Object),$n[0].String,System.Object]},{a:2,n:"IsNumericType",is:!0,t:8,pi:[{n:"t",pt:Function,ps:0}],sn:"isNumericType",rt:$n[0].Boolean,p:[Function],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"LocalKey",is:!0,t:8,pi:[{n:"self",pt:$n[0].Object,ps:0}],sn:"localKey",rt:$n[0].String,p:[$n[0].Object]},{a:2,n:"MatchCurrency",is:!0,t:8,pi:[{n:"self",pt:$n[0].String,ps:0}],sn:"matchCurrency",rt:$n[0].Nullable$1(System.Decimal),p:[$n[0].String]},{a:2,n:"MatchCurrency",is:!0,t:8,pi:[{n:"self",pt:$n[0].String,ps:0},{n:"symbols",ip:!0,pt:$n[0].Array.type(System.String),ps:1}],sn:"matchCurrency$1",rt:$n[0].Nullable$1(System.Decimal),p:[$n[0].String,$n[0].Array.type(System.String)]},{a:2,n:"Plural",is:!0,t:8,pi:[{n:"self",pt:$n[0].String,ps:0},{n:"count",pt:$n[0].Int32,ps:1},{n:"multisuffix",dv:"s",o:!0,pt:$n[0].String,ps:2},{n:"singlesuffix",dv:"",o:!0,pt:$n[0].String,ps:3}],sn:"plural",rt:$n[0].String,p:[$n[0].String,$n[0].Int32,$n[0].String,$n[0].String]},{a:2,n:"ToBase64",is:!0,t:8,pi:[{n:"self",pt:$n[0].Guid,ps:0}],sn:"toBase64",rt:$n[0].String,p:[$n[0].Guid]},{a:2,n:"ToLowerFragment",is:!0,t:8,pi:[{n:"subject",pt:$n[0].String,ps:0}],sn:"toLowerFragment",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToSeoFriendly",is:!0,t:8,pi:[{n:"subject",pt:$n[0].String,ps:0}],sn:"toSeoFriendly",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ToURLFriendly",is:!0,t:8,pi:[{n:"target",pt:$n[0].String,ps:0}],sn:"toURLFriendly",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"UrlTLD",is:!0,t:8,pi:[{n:"fullurl",pt:$n[0].String,ps:0}],sn:"urlTLD",rt:$n[0].String,p:[$n[0].String]},{a:1,n:"num_regex",is:!0,t:4,rt:$n[5].Regex,sn:"num_regex"}]}});$m("GiveEasy.Shared.IAppealTitle",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{ab:!0,a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"GiveEasy$Shared$IAppealTitle$charityId",box:function($v){return Bridge.box($v,System.Int32)}},fn:"GiveEasy$Shared$IAppealTitle$charityId"},{ab:!0,a:2,n:"Title",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"GiveEasy$Shared$IAppealTitle$title"},fn:"GiveEasy$Shared$IAppealTitle$title"}]}});$m("GiveEasy.Shared.IReceiptTitle",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{ab:!0,a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"GiveEasy$Shared$IReceiptTitle$charityId",box:function($v){return Bridge.box($v,System.Int32)}},fn:"GiveEasy$Shared$IReceiptTitle$charityId"},{ab:!0,a:2,n:"Title",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"GiveEasy$Shared$IReceiptTitle$title"},fn:"GiveEasy$Shared$IReceiptTitle$title"}]}});$m("GiveEasy.Shared.ICustomPageTitle",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Title",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"GiveEasy$Shared$ICustomPageTitle$title"},fn:"GiveEasy$Shared$ICustomPageTitle$title"}]}});$m("GiveEasy.Shared.IDonation",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"AppealKey",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_AppealKey",t:8,rt:$n[0].String,fg:"GiveEasy$Shared$IDonation$appealKey"},fn:"GiveEasy$Shared$IDonation$appealKey"},{ab:!0,a:2,n:"AppealTitle",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_AppealTitle",t:8,rt:$n[0].String,fg:"GiveEasy$Shared$IDonation$appealTitle"},fn:"GiveEasy$Shared$IDonation$appealTitle"},{ab:!0,a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{ab:!0,a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"GiveEasy$Shared$IDonation$charityId",box:function($v){return Bridge.box($v,System.Int32)}},fn:"GiveEasy$Shared$IDonation$charityId"},{ab:!0,a:2,n:"Currency",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_Currency",t:8,rt:$n[0].String,fg:"GiveEasy$Shared$IDonation$currency"},fn:"GiveEasy$Shared$IDonation$currency"},{ab:!0,a:2,n:"GivingId",t:16,rt:$n[0].Int64,g:{ab:!0,a:2,n:"get_GivingId",t:8,rt:$n[0].Int64,fg:"GiveEasy$Shared$IDonation$givingId"},fn:"GiveEasy$Shared$IDonation$givingId"}]}});$m("GiveEasy.Shared.IReceipt",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Amount",t:16,rt:$n[0].Decimal,g:{ab:!0,a:2,n:"get_Amount",t:8,rt:$n[0].Decimal,fg:"GiveEasy$Shared$IReceipt$amount"},fn:"GiveEasy$Shared$IReceipt$amount"},{ab:!0,a:2,n:"Email",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_Email",t:8,rt:$n[0].String,fg:"GiveEasy$Shared$IReceipt$email"},fn:"GiveEasy$Shared$IReceipt$email"},{ab:!0,a:2,n:"FirstName",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_FirstName",t:8,rt:$n[0].String,fg:"GiveEasy$Shared$IReceipt$firstName"},fn:"GiveEasy$Shared$IReceipt$firstName"},{ab:!0,a:2,n:"LastName",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_LastName",t:8,rt:$n[0].String,fg:"GiveEasy$Shared$IReceipt$lastName"},fn:"GiveEasy$Shared$IReceipt$lastName"}]}});$m("GiveEasy.Shared.Data.CardInfo",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"NormalizeYear",is:!0,t:8,pi:[{n:"yy",pt:$n[0].Int32,ps:0}],sn:"normalizeYear",rt:$n[0].Int32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"TruncatePAN",is:!0,t:8,pi:[{n:"pan",pt:$n[0].String,ps:0}],sn:"truncatePAN",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"ExpiryMonth",t:16,rt:$n[0].Nullable$1(System.Int32),g:{a:2,n:"get_ExpiryMonth",t:8,rt:$n[0].Nullable$1(System.Int32),fg:"expiryMonth",box:function($v){return Bridge.box($v,System.Int32,System.Nullable.toString,System.Nullable.getHashCode)}},s:{a:2,n:"set_ExpiryMonth",t:8,p:[$n[0].Nullable$1(System.Int32)],rt:$n[0].Void,fs:"expiryMonth"},fn:"expiryMonth"},{a:2,n:"ExpiryYear",t:16,rt:$n[0].Nullable$1(System.Int32),g:{a:2,n:"get_ExpiryYear",t:8,rt:$n[0].Nullable$1(System.Int32),fg:"expiryYear",box:function($v){return Bridge.box($v,System.Int32,System.Nullable.toString,System.Nullable.getHashCode)}},s:{a:2,n:"set_ExpiryYear",t:8,p:[$n[0].Nullable$1(System.Int32)],rt:$n[0].Void,fs:"expiryYear"},fn:"expiryYear"},{a:2,n:"InternalPan",t:16,rt:$n[0].String,g:{a:2,n:"get_InternalPan",t:8,rt:$n[0].String,fg:"internalPan"},fn:"internalPan"},{a:2,n:"TruncatedPan",t:16,rt:$n[0].String,g:{a:2,n:"get_TruncatedPan",t:8,rt:$n[0].String,fg:"truncatedPan"},s:{a:2,n:"set_TruncatedPan",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"truncatedPan"},fn:"truncatedPan"},{a:1,n:"_expiryMonthValue",t:4,rt:$n[0].Nullable$1(System.Int32),sn:"_expiryMonthValue",box:function($v){return Bridge.box($v,System.Int32,System.Nullable.toString,System.Nullable.getHashCode)}},{a:1,n:"_expiryYearValue",t:4,rt:$n[0].Nullable$1(System.Int32),sn:"_expiryYearValue",box:function($v){return Bridge.box($v,System.Int32,System.Nullable.toString,System.Nullable.getHashCode)}},{a:1,n:"_truncatedPan",t:4,rt:$n[0].String,sn:"_truncatedPan"}]}});$m("GiveEasy.Shared.Data.CardInfoExtensions",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"Expires",is:!0,t:8,pi:[{n:"self",pt:$n[6].CardInfo,ps:0}],sn:"expires",rt:$n[0].DateTime,p:[$n[6].CardInfo],box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}}]}});$m("GiveEasy.Shared.Data.DonationInfo",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Amount",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_Amount",t:8,rt:$n[0].Decimal,fg:"amount"},s:{a:2,n:"set_Amount",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"amount"},fn:"amount"},{a:2,n:"AppealKey",t:16,rt:$n[0].String,g:{a:2,n:"get_AppealKey",t:8,rt:$n[0].String,fg:"appealKey"},s:{a:2,n:"set_AppealKey",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealKey"},fn:"appealKey"},{a:2,n:"AppealTitle",t:16,rt:$n[0].String,g:{a:2,n:"get_AppealTitle",t:8,rt:$n[0].String,fg:"appealTitle"},s:{a:2,n:"set_AppealTitle",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealTitle"},fn:"appealTitle"},{a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"charityId",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CharityId",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"charityId"},fn:"charityId"},{a:2,n:"CreationUtcTime",t:16,rt:$n[0].DateTime,g:{a:2,n:"get_CreationUtcTime",t:8,rt:$n[0].DateTime,fg:"creationUtcTime",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},s:{a:2,n:"set_CreationUtcTime",t:8,p:[$n[0].DateTime],rt:$n[0].Void,fs:"creationUtcTime"},fn:"creationUtcTime"},{a:2,n:"Currency",t:16,rt:$n[0].String,g:{a:2,n:"get_Currency",t:8,rt:$n[0].String,fg:"currency"},s:{a:2,n:"set_Currency",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"currency"},fn:"currency"},{a:2,n:"Email",t:16,rt:$n[0].String,g:{a:2,n:"get_Email",t:8,rt:$n[0].String,fg:"email"},s:{a:2,n:"set_Email",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"email"},fn:"email"},{a:2,n:"FirstName",t:16,rt:$n[0].String,g:{a:2,n:"get_FirstName",t:8,rt:$n[0].String,fg:"firstName"},s:{a:2,n:"set_FirstName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"firstName"},fn:"firstName"},{a:2,n:"GivingId",t:16,rt:$n[0].Int64,g:{a:2,n:"get_GivingId",t:8,rt:$n[0].Int64,fg:"givingId"},s:{a:2,n:"set_GivingId",t:8,p:[$n[0].Int64],rt:$n[0].Void,fs:"givingId"},fn:"givingId"},{a:2,n:"IsTaxDeductible",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsTaxDeductible",t:8,rt:$n[0].Boolean,fg:"isTaxDeductible",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsTaxDeductible",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isTaxDeductible"},fn:"isTaxDeductible"},{a:2,n:"LastName",t:16,rt:$n[0].String,g:{a:2,n:"get_LastName",t:8,rt:$n[0].String,fg:"lastName"},s:{a:2,n:"set_LastName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"lastName"},fn:"lastName"},{a:2,n:"ModificationUtcTime",t:16,rt:$n[0].DateTime,g:{a:2,n:"get_ModificationUtcTime",t:8,rt:$n[0].DateTime,fg:"modificationUtcTime",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},s:{a:2,n:"set_ModificationUtcTime",t:8,p:[$n[0].DateTime],rt:$n[0].Void,fs:"modificationUtcTime"},fn:"modificationUtcTime"},{a:2,n:"Transaction",t:16,rt:$n[6].TransactionStatus,g:{a:2,n:"get_Transaction",t:8,rt:$n[6].TransactionStatus,fg:"transaction",box:function($v){return Bridge.box($v,GiveEasy.Shared.Data.TransactionStatus,System.Enum.toStringFn(GiveEasy.Shared.Data.TransactionStatus))}},s:{a:2,n:"set_Transaction",t:8,p:[$n[6].TransactionStatus],rt:$n[0].Void,fs:"transaction"},fn:"transaction"}]}});$m("GiveEasy.Shared.Data.ReceiptInfo",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].Decimal],pi:[{n:"amount",pt:$n[0].Decimal,ps:0}],sn:"$ctor1"},{a:1,n:"alphanum",t:8,pi:[{n:"input",pt:$n[0].String,ps:0}],sn:"alphanum",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Amount",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_Amount",t:8,rt:$n[0].Decimal,fg:"amount"},s:{a:2,n:"set_Amount",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"amount"},fn:"amount"},{a:2,n:"Company",t:16,rt:$n[0].String,g:{a:2,n:"get_Company",t:8,rt:$n[0].String,fg:"company"},s:{a:2,n:"set_Company",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"company"},fn:"company"},{a:2,n:"CountryCode",t:16,rt:$n[0].String,g:{a:2,n:"get_CountryCode",t:8,rt:$n[0].String,fg:"countryCode"},s:{a:2,n:"set_CountryCode",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"countryCode"},fn:"countryCode"},{a:2,n:"Email",t:16,rt:$n[0].String,g:{a:2,n:"get_Email",t:8,rt:$n[0].String,fg:"email"},s:{a:2,n:"set_Email",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"email"},fn:"email"},{a:2,n:"FirstName",t:16,rt:$n[0].String,g:{a:2,n:"get_FirstName",t:8,rt:$n[0].String,fg:"firstName"},s:{a:2,n:"set_FirstName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"firstName"},fn:"firstName"},{a:2,n:"IPv4",t:16,rt:$n[0].String,g:{a:2,n:"get_IPv4",t:8,rt:$n[0].String,fg:"iPv4"},s:{a:2,n:"set_IPv4",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"iPv4"},fn:"iPv4"},{a:2,n:"IssuedTo",t:16,rt:$n[0].String,g:{a:2,n:"get_IssuedTo",t:8,rt:$n[0].String,fg:"issuedTo"},fn:"issuedTo"},{a:2,n:"LastName",t:16,rt:$n[0].String,g:{a:2,n:"get_LastName",t:8,rt:$n[0].String,fg:"lastName"},s:{a:2,n:"set_LastName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"lastName"},fn:"lastName"},{a:2,n:"Phone",t:16,rt:$n[0].String,g:{a:2,n:"get_Phone",t:8,rt:$n[0].String,fg:"phone"},s:{a:2,n:"set_Phone",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"phone"},fn:"phone"},{a:1,n:"_company",t:4,rt:$n[0].String,sn:"_company"},{a:1,n:"_country",t:4,rt:$n[0].String,sn:"_country"},{a:1,n:"_firstName",t:4,rt:$n[0].String,sn:"_firstName"},{a:1,n:"_lastName",t:4,rt:$n[0].String,sn:"_lastName"}]}});$m("GiveEasy.Shared.Data.PaymentInfo",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"PaymentID",t:16,rt:$n[0].String,g:{a:2,n:"get_PaymentID",t:8,rt:$n[0].String,fg:"paymentID"},s:{a:2,n:"set_PaymentID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"paymentID"},fn:"paymentID"},{a:2,n:"PaymentURL",t:16,rt:$n[0].String,g:{a:2,n:"get_PaymentURL",t:8,rt:$n[0].String,fg:"paymentURL"},s:{a:2,n:"set_PaymentURL",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"paymentURL"},fn:"paymentURL"},{a:2,n:"ResultURL",t:16,rt:$n[0].String,g:{a:2,n:"get_ResultURL",t:8,rt:$n[0].String,fg:"resultURL"},s:{a:2,n:"set_ResultURL",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"resultURL"},fn:"resultURL"},{a:2,n:"Transaction",t:16,rt:$n[6].TransactionStatus,g:{a:2,n:"get_Transaction",t:8,rt:$n[6].TransactionStatus,fg:"transaction",box:function($v){return Bridge.box($v,GiveEasy.Shared.Data.TransactionStatus,System.Enum.toStringFn(GiveEasy.Shared.Data.TransactionStatus))}},s:{a:2,n:"set_Transaction",t:8,p:[$n[6].TransactionStatus],rt:$n[0].Void,fs:"transaction"},fn:"transaction"}]}});$m("GiveEasy.Shared.Data.TransactionStatus",function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Fraud",is:!0,t:4,rt:$n[6].TransactionStatus,sn:"fraud",box:function($v){return Bridge.box($v,GiveEasy.Shared.Data.TransactionStatus,System.Enum.toStringFn(GiveEasy.Shared.Data.TransactionStatus))}},{a:2,n:"Pledge",is:!0,t:4,rt:$n[6].TransactionStatus,sn:"pledge",box:function($v){return Bridge.box($v,GiveEasy.Shared.Data.TransactionStatus,System.Enum.toStringFn(GiveEasy.Shared.Data.TransactionStatus))}},{a:2,n:"Refunded",is:!0,t:4,rt:$n[6].TransactionStatus,sn:"refunded",box:function($v){return Bridge.box($v,GiveEasy.Shared.Data.TransactionStatus,System.Enum.toStringFn(GiveEasy.Shared.Data.TransactionStatus))}},{a:2,n:"Success",is:!0,t:4,rt:$n[6].TransactionStatus,sn:"success",box:function($v){return Bridge.box($v,GiveEasy.Shared.Data.TransactionStatus,System.Enum.toStringFn(GiveEasy.Shared.Data.TransactionStatus))}},{a:2,n:"Unpaid",is:!0,t:4,rt:$n[6].TransactionStatus,sn:"unpaid",box:function($v){return Bridge.box($v,GiveEasy.Shared.Data.TransactionStatus,System.Enum.toStringFn(GiveEasy.Shared.Data.TransactionStatus))}}]}});$m("GiveEasy.Shared.Data.Comments.CommentInfo",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Update",t:8,pi:[{n:"values",pt:$n[4].IDictionary$2(System.String,System.Object),ps:0}],sn:"update",rt:$n[7].CommentInfo,p:[$n[4].IDictionary$2(System.String,System.Object)]},{a:2,n:"Items",t:16,rt:$n[4].IDictionary$2(System.String,System.Object),g:{a:2,n:"get_Items",t:8,rt:$n[4].IDictionary$2(System.String,System.Object),fg:"items"},fn:"items"},{a:2,n:"CanonicalUrl",t:4,rt:$n[0].String,sn:"canonicalUrl"},{a:2,n:"IsAnonymous",t:4,rt:$n[0].Boolean,sn:"isAnonymous",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"UserMessage",t:4,rt:$n[0].String,sn:"userMessage"}]}});$m("GiveEasy.Shared.Data.Comments.ForumInfo",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Items",t:8,sn:"items",rt:$n[4].IDictionary$2(System.String,System.Object)},{a:2,n:"Update",t:8,pi:[{n:"values",pt:$n[4].IDictionary$2(System.String,System.Object),ps:0}],sn:"update",rt:$n[7].ForumInfo,p:[$n[4].IDictionary$2(System.String,System.Object)]},{a:2,n:"comment_access_token",t:4,rt:$n[0].String,sn:"comment_access_token"},{a:2,n:"comment_forum",t:4,rt:$n[0].String,sn:"comment_forum"},{a:2,n:"comment_secret",t:4,rt:$n[0].String,sn:"comment_secret"},{a:2,n:"compounduuid",t:4,rt:$n[0].Guid,sn:"compounduuid"}]}});$m("UIComponents.ChromeOnlyModalContainer",function(){return{att:1048576,a:4,m:[{a:2,n:".ctor",t:1,p:[$n[8].ChromeOnlyModalContainer.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].ChromeOnlyModalContainer.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[8].ChromeOnlyModalContainer.Props,ps:0},{n:"previousState",pt:$n[8].ChromeOnlyModalContainer.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[8].ChromeOnlyModalContainer.Props,$n[8].ChromeOnlyModalContainer.State]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[8].ChromeOnlyModalContainer.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"Update",t:8,sn:"update",rt:$n[0].Void}]}});$m("UIComponents.ChromeOnlyModalContainer.Props",function(){return{td:$n[8].ChromeOnlyModalContainer,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"CloseButtons",t:16,rt:$n[4].IEnumerable$1(HTMLAnchorElement),g:{a:2,n:"get_CloseButtons",t:8,rt:$n[4].IEnumerable$1(HTMLAnchorElement),fg:"closeButtons"},s:{a:2,n:"set_CloseButtons",t:8,p:[$n[4].IEnumerable$1(HTMLAnchorElement)],rt:$n[0].Void,fs:"closeButtons"},fn:"closeButtons"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerComponent",t:16,rt:Object,g:{a:2,n:"get_InnerComponent",t:8,rt:Object,fg:"innerComponent"},s:{a:2,n:"set_InnerComponent",t:8,p:[Object],rt:$n[0].Void,fs:"innerComponent"},fn:"innerComponent"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OpenButton",t:16,rt:HTMLAnchorElement,g:{a:2,n:"get_OpenButton",t:8,rt:HTMLAnchorElement,fg:"openButton"},s:{a:2,n:"set_OpenButton",t:8,p:[HTMLAnchorElement],rt:$n[0].Void,fs:"openButton"},fn:"openButton"}]}});$m("UIComponents.ChromeOnlyModalContainer.State",function(){return{td:$n[8].ChromeOnlyModalContainer,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"IsActive",t:4,rt:$n[0].Boolean,sn:"isActive",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.IframeModalContainer",function(){return{att:1048576,a:4,m:[{a:2,n:".ctor",t:1,p:[$n[8].IframeModalContainer.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].IframeModalContainer.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[8].IframeModalContainer.Props,ps:0},{n:"previousState",pt:$n[8].IframeModalContainer.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[8].IframeModalContainer.Props,$n[8].IframeModalContainer.State]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[8].IframeModalContainer.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"Update",t:8,sn:"update",rt:$n[0].Void}]}});$m("UIComponents.IframeModalContainer.Props",function(){return{td:$n[8].IframeModalContainer,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"CloseButtons",t:16,rt:$n[4].IEnumerable$1(HTMLAnchorElement),g:{a:2,n:"get_CloseButtons",t:8,rt:$n[4].IEnumerable$1(HTMLAnchorElement),fg:"closeButtons"},s:{a:2,n:"set_CloseButtons",t:8,p:[$n[4].IEnumerable$1(HTMLAnchorElement)],rt:$n[0].Void,fs:"closeButtons"},fn:"closeButtons"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerComponent",t:16,rt:Object,g:{a:2,n:"get_InnerComponent",t:8,rt:Object,fg:"innerComponent"},s:{a:2,n:"set_InnerComponent",t:8,p:[Object],rt:$n[0].Void,fs:"innerComponent"},fn:"innerComponent"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OpenButton",t:16,rt:HTMLAnchorElement,g:{a:2,n:"get_OpenButton",t:8,rt:HTMLAnchorElement,fg:"openButton"},s:{a:2,n:"set_OpenButton",t:8,p:[HTMLAnchorElement],rt:$n[0].Void,fs:"openButton"},fn:"openButton"}]}});$m("UIComponents.IframeModalContainer.State",function(){return{td:$n[8].IframeModalContainer,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"IsActive",t:4,rt:$n[0].Boolean,sn:"isActive",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.IContainerProps",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Inner",t:16,rt:HTMLElement,g:{ab:!0,a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"UIComponents$IContainerProps$inner"},s:{ab:!0,a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"UIComponents$IContainerProps$inner"},fn:"UIComponents$IContainerProps$inner"},{ab:!0,a:2,n:"InnerID",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"UIComponents$IContainerProps$innerID"},s:{ab:!0,a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"UIComponents$IContainerProps$innerID"},fn:"UIComponents$IContainerProps$innerID"}]}});$m("UIComponents.IContainerPropsExtensions",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"CreateInnerComponent",is:!0,t:8,pi:[{n:"self",pt:$n[8].IContainerProps,ps:0}],sn:"createInnerComponent",rt:Object,p:[$n[8].IContainerProps]},{a:2,n:"GetInnerElement",is:!0,t:8,pi:[{n:"self",pt:$n[8].IContainerProps,ps:0}],sn:"getInnerElement",rt:HTMLElement,p:[$n[8].IContainerProps]},{a:2,n:"InnerElements",is:!0,t:8,pi:[{n:"self",pt:Element,ps:0},{n:"attribute",dv:"",o:!0,pt:$n[0].String,ps:1}],tpc:1,tprm:["T"],sn:"innerElements",rt:$n[4].IEnumerable$1(System.Object),p:[Element,$n[0].String]},{a:2,n:"InnerElements",is:!0,t:8,pi:[{n:"self",pt:$n[8].IContainerProps,ps:0},{n:"attribute",dv:"",o:!0,pt:$n[0].String,ps:1}],tpc:1,tprm:["T"],sn:"innerElements$1",rt:$n[4].IEnumerable$1(System.Object),p:[$n[8].IContainerProps,$n[0].String]},{a:2,n:"IsEditable",is:!0,t:8,pi:[{n:"self",pt:$n[8].IContainerProps,ps:0}],sn:"isEditable",rt:$n[0].Boolean,p:[$n[8].IContainerProps],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"UnwrapElement",is:!0,t:8,pi:[{n:"self",pt:HTMLElement,ps:0}],sn:"unwrapElement",rt:HTMLElement,p:[HTMLElement]},{a:2,n:"PREFIX",is:!0,t:4,rt:$n[0].String,sn:"PREFIX",ro:!0}]}});$m("UIComponents.DropdownList",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].DropdownList.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].DropdownList.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"toggle",t:8,pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"toggle",rt:$n[4].IEnumerable$1(System.String),p:[$n[0].String]},{a:1,n:"wrap",t:8,pi:[{n:"key",pt:$n[0].String,ps:0},{n:"item",pt:System.Object,ps:1}],sn:"wrap",rt:Object,p:[$n[0].String,System.Object]}]}});$m("UIComponents.DropdownList.SelectedItem",function(){return{td:$n[8].DropdownList,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].DropdownList.SelectedItem.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].DropdownList.SelectedItem.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.DropdownList.SelectedItem.Props",function(){return{td:$n[8].DropdownList.SelectedItem,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"IsSelected",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsSelected",t:8,rt:$n[0].Boolean,fg:"isSelected",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsSelected",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isSelected"},fn:"isSelected"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnClick",t:16,rt:Function,g:{a:2,n:"get_OnClick",t:8,rt:Function,fg:"onClick"},s:{a:2,n:"set_OnClick",t:8,p:[Function],rt:$n[0].Void,fs:"onClick"},fn:"onClick"}]}});$m("UIComponents.DropdownList.Props",function(){return{td:$n[8].DropdownList,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Anchor",t:16,rt:Object,g:{a:2,n:"get_Anchor",t:8,rt:Object,fg:"anchor"},s:{a:2,n:"set_Anchor",t:8,p:[Object],rt:$n[0].Void,fs:"anchor"},fn:"anchor"},{a:2,n:"IsActive",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsActive",t:8,rt:$n[0].Boolean,fg:"isActive",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsActive",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isActive"},fn:"isActive"},{a:2,n:"Items",t:16,rt:$n[4].IDictionary$2(System.String,System.Object),g:{a:2,n:"get_Items",t:8,rt:$n[4].IDictionary$2(System.String,System.Object),fg:"items"},s:{a:2,n:"set_Items",t:8,p:[$n[4].IDictionary$2(System.String,System.Object)],rt:$n[0].Void,fs:"items"},fn:"items"},{a:2,n:"Selected",t:16,rt:$n[4].IEnumerable$1(System.String),g:{a:2,n:"get_Selected",t:8,rt:$n[4].IEnumerable$1(System.String),fg:"selected"},s:{a:2,n:"set_Selected",t:8,p:[$n[4].IEnumerable$1(System.String)],rt:$n[0].Void,fs:"selected"},fn:"selected"},{a:2,n:"Update",t:16,rt:Function,g:{a:2,n:"get_Update",t:8,rt:Function,fg:"update"},s:{a:2,n:"set_Update",t:8,p:[Function],rt:$n[0].Void,fs:"update"},fn:"update"},{a:1,n:"__Property__Initializer__Items",t:4,rt:$n[4].IDictionary$2(System.String,System.Object),sn:"__Property__Initializer__Items"},{a:1,n:"__Property__Initializer__Selected",t:4,rt:$n[4].IEnumerable$1(System.String),sn:"__Property__Initializer__Selected"},{a:1,n:"__Property__Initializer__Update",t:4,rt:Function,sn:"__Property__Initializer__Update"}]}});$m("UIComponents.CustPostcodeInput",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].CustPostcodeInput.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].CustPostcodeInput.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"Control",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"control",rt:Object,p:[System.Object]},{ov:!0,a:3,n:"GetInputType",t:8,sn:"getInputType",rt:String},{ov:!0,a:3,n:"OnUpdate",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"onUpdate",rt:Function,p:[System.Object]}]}});$m("UIComponents.CustPostcodeInput.Props",function(){return{td:$n[8].CustPostcodeInput,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].CustInput.Props],pi:[{n:"p",pt:$n[8].CustInput.Props,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"order",pt:$n[0].Int32,ps:1}],sn:"ctor"}]}});$m("UIComponents.CustNumberInput",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].CustNumberInput.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].CustNumberInput.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"Control",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"control",rt:Object,p:[System.Object]},{ov:!0,a:3,n:"GetInputType",t:8,sn:"getInputType",rt:String},{ov:!0,a:3,n:"OnUpdate",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"onUpdate",rt:Function,p:[System.Object]}]}});$m("UIComponents.CustNumberInput.Props",function(){return{td:$n[8].CustNumberInput,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].CustInput.Props],pi:[{n:"p",pt:$n[8].CustInput.Props,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"order",pt:$n[0].Int32,ps:1}],sn:"ctor"},{ov:!0,a:2,n:"BuildEditor",t:8,pi:[{n:"OnUpdate",pt:Function,ps:0}],sn:"buildEditor",rt:Object,p:[Function]}]}});$m("UIComponents.CustTextInput",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].CustTextInput.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].CustTextInput.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"Control",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"control",rt:Object,p:[System.Object]},{ov:!0,a:3,n:"GetInputType",t:8,sn:"getInputType",rt:String},{ov:!0,a:3,n:"OnUpdate",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"onUpdate",rt:Function,p:[System.Object]}]}});$m("UIComponents.CustTextInput.Props",function(){return{td:$n[8].CustTextInput,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].CustInput.Props],pi:[{n:"p",pt:$n[8].CustInput.Props,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"order",pt:$n[0].Int32,ps:1}],sn:"ctor"},{ov:!0,a:2,n:"BuildEditor",t:8,pi:[{n:"OnUpdate",pt:Function,ps:0}],sn:"buildEditor",rt:Object,p:[Function]}]}});$m("UIComponents.DonationAmountInput",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].DonationAmountInput.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].DonationAmountInput.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"Control",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"control",rt:Object,p:[System.Object]},{ov:!0,a:3,n:"GetInputType",t:8,sn:"getInputType",rt:String},{a:1,n:"OnUpdate",t:8,sn:"onUpdate$1",rt:Function}]}});$m("UIComponents.DonationAmountInput.Props",function(){return{td:$n[8].DonationAmountInput,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[8].CustInput.Props],pi:[{n:"p",pt:$n[8].CustInput.Props,ps:0}],sn:"$ctor1"},{ov:!0,a:2,n:"BuildEditor",t:8,pi:[{n:"OnUpdate",pt:Function,ps:0}],sn:"buildEditor",rt:Object,p:[Function]},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("hidden",!0,6,"Hidden")],a:2,n:"IsHidden",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsHidden",t:8,rt:$n[0].Boolean,fg:"isHidden$1",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"isHidden$1"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("hidden",!0,5,"Required")],a:2,n:"IsMandatory",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsMandatory",t:8,rt:$n[0].Boolean,fg:"isMandatory$1",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"isMandatory$1"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("number",!1,2,"Minimum Amount")],a:2,n:"Min",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_Min",t:8,rt:$n[0].Decimal,fg:"min"},s:{a:2,n:"set_Min",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"min"},fn:"min"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("number",!1,10,"Matched Multiplier")],a:2,n:"Multiplier",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_Multiplier",t:8,rt:$n[0].Decimal,fg:"multiplier"},s:{a:2,n:"set_Multiplier",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"multiplier"},fn:"multiplier"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("hidden",!1,3,"Placeholder")],a:2,n:"Placeholder",t:16,rt:$n[0].String,g:{a:2,n:"get_Placeholder",t:8,rt:$n[0].String,fg:"placeholder$1"},s:{a:2,n:"set_Placeholder",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"placeholder$1"},fn:"placeholder$1"},{a:1,n:"_min",t:4,rt:$n[0].Decimal,sn:"_min"},{a:1,n:"_multiplier",t:4,rt:$n[0].Decimal,sn:"_multiplier"}]}});$m("UIComponents.DonationAmountInput.Props.DonationAmountConfig",function(){return{td:$n[8].DonationAmountInput.Props,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Multiplier",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_Multiplier",t:8,rt:$n[0].Decimal,fg:"multiplier"},s:{a:2,n:"set_Multiplier",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"multiplier"},fn:"multiplier"},{a:1,n:"__Property__Initializer__Multiplier",t:4,rt:$n[0].Decimal,sn:"__Property__Initializer__Multiplier"}]}});$m("UIComponents.FormField",function(){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,p:[$n[8].FormField.FieldProps,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].FormField.FieldProps,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"}]}});$m("UIComponents.FormField.FieldProps",function(){return{td:$n[8].FormField,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"order",pt:$n[0].Int32,ps:1}],sn:"ctor"},{a:2,n:"Data",t:16,rt:System.Object,g:{a:2,n:"get_Data",t:8,rt:System.Object,fg:"data"},s:{a:2,n:"set_Data",t:8,p:[System.Object],rt:$n[0].Void,fs:"data"},fn:"data"},{a:2,n:"Disabled",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Disabled",t:8,rt:$n[0].Boolean,fg:"disabled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Disabled",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"disabled"},fn:"disabled"},{a:2,n:"Label",t:16,rt:$n[8].IKeyProps,g:{a:2,n:"get_Label",t:8,rt:$n[8].IKeyProps,fg:"label"},s:{a:2,n:"set_Label",t:8,p:[$n[8].IKeyProps],rt:$n[0].Void,fs:"label"},fn:"label"},{a:2,n:"Name",t:16,rt:$n[0].String,g:{a:2,n:"get_Name",t:8,rt:$n[0].String,fg:"name"},s:{a:2,n:"set_Name",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"name"},fn:"name"},{a:2,n:"Processing",t:16,rt:Function,g:{a:2,n:"get_Processing",t:8,rt:Function,fg:"processing"},s:{a:2,n:"set_Processing",t:8,p:[Function],rt:$n[0].Void,fs:"processing"},fn:"processing"},{a:2,n:"SelectDict",t:16,rt:$n[4].Dictionary$2(System.Object,System.String),g:{a:2,n:"get_SelectDict",t:8,rt:$n[4].Dictionary$2(System.Object,System.String),fg:"selectDict"},s:{a:2,n:"set_SelectDict",t:8,p:[$n[4].Dictionary$2(System.Object,System.String)],rt:$n[0].Void,fs:"selectDict"},fn:"selectDict"},{a:2,n:"SortOrder",t:16,rt:$n[0].Int32,g:{a:2,n:"get_SortOrder",t:8,rt:$n[0].Int32,fg:"sortOrder",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_SortOrder",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"sortOrder"},fn:"sortOrder"},{a:2,n:"Update",t:16,rt:Function,g:{a:2,n:"get_Update",t:8,rt:Function,fg:"update"},s:{a:2,n:"set_Update",t:8,p:[Function],rt:$n[0].Void,fs:"update"},fn:"update"},{a:2,n:"Valid",t:16,rt:$n[8].Validation,g:{a:2,n:"get_Valid",t:8,rt:$n[8].Validation,fg:"valid",box:function($v){return Bridge.box($v,UIComponents.Validation,System.Enum.toStringFn(UIComponents.Validation))}},s:{a:2,n:"set_Valid",t:8,p:[$n[8].Validation],rt:$n[0].Void,fs:"valid"},fn:"valid"},{a:2,n:"Validators",t:16,rt:$n[4].List$1(UIComponents.IValidator),g:{a:2,n:"get_Validators",t:8,rt:$n[4].List$1(UIComponents.IValidator),fg:"validators"},fn:"validators"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("text",!1,2,"Default Value")],a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"},{a:1,n:"__Property__Initializer__Processing",t:4,rt:Function,sn:"__Property__Initializer__Processing"},{a:1,n:"__Property__Initializer__Update",t:4,rt:Function,sn:"__Property__Initializer__Update"},{a:1,n:"__Property__Initializer__Valid",t:4,rt:$n[8].Validation,sn:"__Property__Initializer__Valid",box:function($v){return Bridge.box($v,UIComponents.Validation,System.Enum.toStringFn(UIComponents.Validation))}},{a:1,n:"__Property__Initializer__Validators",t:4,rt:$n[4].List$1(UIComponents.IValidator),sn:"__Property__Initializer__Validators"}]}});$m("UIComponents.FormField.FieldComparer",function(){return{td:$n[8].FormField,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Equals",t:8,pi:[{n:"x",pt:$n[8].FormField.FieldProps,ps:0},{n:"y",pt:$n[8].FormField.FieldProps,ps:1}],sn:"equals2",rt:$n[0].Boolean,p:[$n[8].FormField.FieldProps,$n[8].FormField.FieldProps],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"GetHashCode",t:8,pi:[{n:"obj",pt:$n[8].FormField.FieldProps,ps:0}],sn:"getHashCode2",rt:$n[0].Int32,p:[$n[8].FormField.FieldProps],box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.FormField$1",function(P){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,p:[P,System.Array.type(System.Object)],pi:[{n:"props",pt:P,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"}]}});$m("UIComponents.IframeModal",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].IframeModal.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].IframeModal.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.IframeModal.Props",function(){return{td:$n[8].IframeModal,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"IframeHeight",t:16,rt:$n[0].Int32,g:{a:2,n:"get_IframeHeight",t:8,rt:$n[0].Int32,fg:"iframeHeight",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_IframeHeight",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"iframeHeight"},fn:"iframeHeight"},{a:2,n:"IframeSrc",t:16,rt:$n[0].String,g:{a:2,n:"get_IframeSrc",t:8,rt:$n[0].String,fg:"iframeSrc"},s:{a:2,n:"set_IframeSrc",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"iframeSrc"},fn:"iframeSrc"},{a:2,n:"IframeWidth",t:16,rt:$n[0].Int32,g:{a:2,n:"get_IframeWidth",t:8,rt:$n[0].Int32,fg:"iframeWidth",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_IframeWidth",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"iframeWidth"},fn:"iframeWidth"},{a:2,n:"Scrolling",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Scrolling",t:8,rt:$n[0].Boolean,fg:"scrolling",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Scrolling",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"scrolling"},fn:"scrolling"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"},{a:1,n:"__Property__Initializer__IframeHeight",t:4,rt:$n[0].Int32,sn:"__Property__Initializer__IframeHeight",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"__Property__Initializer__IframeSrc",t:4,rt:$n[0].String,sn:"__Property__Initializer__IframeSrc"},{a:1,n:"__Property__Initializer__IframeWidth",t:4,rt:$n[0].Int32,sn:"__Property__Initializer__IframeWidth",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"__Property__Initializer__Scrolling",t:4,rt:$n[0].Boolean,sn:"__Property__Initializer__Scrolling",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"__Property__Initializer__Title",t:4,rt:$n[0].String,sn:"__Property__Initializer__Title"}]}});$m("UIComponents.InfoModal",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].InfoModal.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].InfoModal.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.InfoModal.Props",function(){return{td:$n[8].InfoModal,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CancelLabel",t:16,rt:$n[0].String,g:{a:2,n:"get_CancelLabel",t:8,rt:$n[0].String,fg:"cancelLabel"},s:{a:2,n:"set_CancelLabel",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"cancelLabel"},fn:"cancelLabel"},{a:2,n:"CardBody",t:16,rt:System.Object,g:{a:2,n:"get_CardBody",t:8,rt:System.Object,fg:"cardBody"},s:{a:2,n:"set_CardBody",t:8,p:[System.Object],rt:$n[0].Void,fs:"cardBody"},fn:"cardBody"},{a:2,n:"Message",t:16,rt:$n[0].String,g:{a:2,n:"get_Message",t:8,rt:$n[0].String,fg:"message"},s:{a:2,n:"set_Message",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"message"},fn:"message"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"},{a:1,n:"__Property__Initializer__CancelLabel",t:4,rt:$n[0].String,sn:"__Property__Initializer__CancelLabel"},{a:1,n:"__Property__Initializer__Message",t:4,rt:$n[0].String,sn:"__Property__Initializer__Message"},{a:1,n:"__Property__Initializer__Title",t:4,rt:$n[0].String,sn:"__Property__Initializer__Title"}]}});$m("UIComponents.ConfirmModal",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].ConfirmModal.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].ConfirmModal.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.ConfirmModal.Props",function(){return{td:$n[8].ConfirmModal,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:"ConfirmDisabled",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_ConfirmDisabled",t:8,rt:$n[0].Boolean,fg:"confirmDisabled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_ConfirmDisabled",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"confirmDisabled"},fn:"confirmDisabled"},{a:2,n:"ConfirmLabel",t:16,rt:$n[0].String,g:{a:2,n:"get_ConfirmLabel",t:8,rt:$n[0].String,fg:"confirmLabel"},s:{a:2,n:"set_ConfirmLabel",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"confirmLabel"},fn:"confirmLabel"}]}});$m("UIComponents.Modal",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].Modal.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].Modal.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"CloseButton",is:!0,t:8,pi:[{n:"props",pt:$n[8].Modal.Props,ps:0}],sn:"closeButton",rt:$n[9].SingleButton.Props,p:[$n[8].Modal.Props]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Modal.Props",function(){return{td:$n[8].Modal,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"HasBackgroundCloseButton",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_HasBackgroundCloseButton",t:8,rt:$n[0].Boolean,fg:"hasBackgroundCloseButton",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_HasBackgroundCloseButton",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"hasBackgroundCloseButton"},fn:"hasBackgroundCloseButton"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"OnSubmit",t:16,rt:Function,g:{a:2,n:"get_OnSubmit",t:8,rt:Function,fg:"onSubmit"},s:{a:2,n:"set_OnSubmit",t:8,p:[Function],rt:$n[0].Void,fs:"onSubmit"},fn:"onSubmit"}]}});$m("UIComponents.CustInput",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].CustInput.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].CustInput.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{v:!0,a:3,n:"Control",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"control",rt:Object,p:[System.Object]},{a:2,n:"Field",is:!0,t:8,pi:[{n:"props",pt:System.Object,ps:0},{n:"label",pt:Object,ps:1},{n:"control",pt:Object,ps:2}],tpc:1,tprm:["P"],sn:"field",rt:Object,p:[System.Object,Object,Object]},{v:!0,a:3,n:"GetInputType",t:8,sn:"getInputType",rt:String},{v:!0,a:3,n:"OnUpdate",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"onUpdate",rt:Function,p:[System.Object]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"InputClass",is:!0,t:4,rt:$n[4].Dictionary$2(String,System.String),sn:"inputClass",ro:!0},{a:2,n:"ToCustInputProps",is:!0,t:4,rt:$n[4].Dictionary$2(System.String,Function),sn:"toCustInputProps",ro:!0}]}});$m("UIComponents.CustInput.Props",function(){return{td:$n[8].CustInput,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].CustProps],pi:[{n:"p",pt:$n[8].CustProps,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[8].FormInput.Props],pi:[{n:"p",pt:$n[8].FormInput.Props,ps:0}],sn:"$ctor2"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"order",pt:$n[0].Int32,ps:1}],sn:"ctor"},{ov:!0,a:2,n:"BuildEditor",t:8,pi:[{n:"OnUpdate",pt:Function,ps:0}],sn:"buildEditor",rt:Object,p:[Function]},{a:2,n:"setName",is:!0,t:8,pi:[{n:"name",pt:$n[0].String,ps:0}],sn:"setName",rt:$n[0].String,p:[$n[0].String]},{v:!0,a:2,n:"Config",t:16,rt:$n[8].CustInput.FieldConfig,g:{v:!0,a:2,n:"get_Config",t:8,rt:$n[8].CustInput.FieldConfig,fg:"config"},s:{v:!0,a:2,n:"set_Config",t:8,p:[$n[8].CustInput.FieldConfig],rt:$n[0].Void,fs:"config"},fn:"config"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("text",!0,0,"Field Type")],a:2,n:"FieldType",t:16,rt:$n[0].String,g:{a:2,n:"get_FieldType",t:8,rt:$n[0].String,fg:"fieldType"},s:{a:2,n:"set_FieldType",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"fieldType"},fn:"fieldType"},{a:1,n:"__Property__Initializer__Config",t:4,rt:$n[8].CustInput.FieldConfig,sn:"__Property__Initializer__Config"},{a:1,n:"__Property__Initializer__FieldType",t:4,rt:$n[0].String,sn:"__Property__Initializer__FieldType"}]}});$m("UIComponents.CustInput.FieldConfig",function(){return{td:$n[8].CustInput,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CustomField",t:16,rt:$n[0].String,g:{a:2,n:"get_CustomField",t:8,rt:$n[0].String,fg:"customField"},s:{a:2,n:"set_CustomField",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"customField"},fn:"customField"}]}});$m("UIComponents.CustProps",function(){return{att:1048705,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"order",pt:$n[0].Int32,ps:1}],sn:"ctor"},{ab:!0,a:2,n:"BuildEditor",t:8,pi:[{n:"OnUpdate",pt:Function,ps:0}],sn:"buildEditor",rt:Object,p:[Function]},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("text",!1,1,"Display Name")],a:2,n:"TextLabel",t:16,rt:$n[0].String,g:{a:2,n:"get_TextLabel",t:8,rt:$n[0].String,fg:"textLabel"},s:{a:2,n:"set_TextLabel",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"textLabel"},fn:"textLabel"},{a:1,n:"__Property__Initializer__TextLabel",t:4,rt:$n[0].String,sn:"__Property__Initializer__TextLabel"}]}});$m("UIComponents.FormInput",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].FormInput.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].FormInput.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Control",is:!0,t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"control",rt:Object,p:[System.Object]},{a:2,n:"Field",is:!0,t:8,pi:[{n:"props",pt:System.Object,ps:0},{n:"label",pt:Object,ps:1},{n:"control",pt:Object,ps:2}],tpc:1,tprm:["P"],sn:"field",rt:Object,p:[System.Object,Object,Object]},{a:1,n:"OnUpdate",is:!0,t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"onUpdate",rt:Function,p:[System.Object]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"InputClass",is:!0,t:4,rt:$n[4].Dictionary$2(String,System.String),sn:"inputClass",ro:!0}]}});$m("UIComponents.FormInput.Props",function(){return{td:$n[8].FormInput,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"order",pt:$n[0].Int32,ps:1}],sn:"ctor"},{a:2,n:"ExtraAttributes",t:16,rt:System.Object,g:{a:2,n:"get_ExtraAttributes",t:8,rt:System.Object,fg:"extraAttributes"},s:{a:2,n:"set_ExtraAttributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"extraAttributes"},fn:"extraAttributes"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("checkbox",!1,6,"Hidden")],a:2,n:"IsHidden",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsHidden",t:8,rt:$n[0].Boolean,fg:"isHidden",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsHidden",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isHidden"},fn:"isHidden"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("checkbox",!1,5,"Required")],a:2,n:"IsMandatory",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsMandatory",t:8,rt:$n[0].Boolean,fg:"isMandatory",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsMandatory",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isMandatory"},fn:"isMandatory"},{a:2,n:"IsMultiLine",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsMultiLine",t:8,rt:$n[0].Boolean,fg:"isMultiLine",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsMultiLine",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isMultiLine"},fn:"isMultiLine"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("text",!1,3,"Placeholder")],a:2,n:"Placeholder",t:16,rt:$n[0].String,g:{a:2,n:"get_Placeholder",t:8,rt:$n[0].String,fg:"placeholder"},s:{a:2,n:"set_Placeholder",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"placeholder"},fn:"placeholder"},{a:2,n:"Type",t:16,rt:String,g:{a:2,n:"get_Type",t:8,rt:String,fg:"type"},s:{a:2,n:"set_Type",t:8,p:[String],rt:$n[0].Void,fs:"type"},fn:"type"}]}});$m("UIComponents.FormInputHasIcons",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].FormInputHasIcons.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].FormInputHasIcons.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Icon",is:!0,t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"icon",rt:Object,p:[System.Object]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.FormInputHasIcons.Props",function(){return{td:$n[8].FormInputHasIcons,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"order",pt:$n[0].Int32,ps:1}],sn:"ctor"},{a:2,n:"Left",t:16,rt:$n[0].String,g:{a:2,n:"get_Left",t:8,rt:$n[0].String,fg:"left"},s:{a:2,n:"set_Left",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"left"},fn:"left"}]}});$m("UIComponents.Validation",function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Fail",is:!0,t:4,rt:$n[8].Validation,sn:"fail",box:function($v){return Bridge.box($v,UIComponents.Validation,System.Enum.toStringFn(UIComponents.Validation))}},{a:2,n:"None",is:!0,t:4,rt:$n[8].Validation,sn:"none",box:function($v){return Bridge.box($v,UIComponents.Validation,System.Enum.toStringFn(UIComponents.Validation))}},{a:2,n:"Pass",is:!0,t:4,rt:$n[8].Validation,sn:"pass",box:function($v){return Bridge.box($v,UIComponents.Validation,System.Enum.toStringFn(UIComponents.Validation))}},{a:2,n:"Warn",is:!0,t:4,rt:$n[8].Validation,sn:"warn",box:function($v){return Bridge.box($v,UIComponents.Validation,System.Enum.toStringFn(UIComponents.Validation))}}]}});$m("UIComponents.IValidator",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Invoke",t:16,rt:Function,g:{ab:!0,a:2,n:"get_Invoke",t:8,rt:Function,fg:"UIComponents$IValidator$invoke"},fn:"UIComponents$IValidator$invoke"}]}});$m("UIComponents.FormValidator",function(){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,p:[$n[8].FormValidator.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].FormValidator.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Validate",is:!0,t:8,pi:[{n:"Validators",pt:$n[4].IEnumerable$1(UIComponents.IValidator),ps:0},{n:"props",pt:System.Object,ps:1}],tpc:1,tprm:["T"],sn:"validate",rt:$n[8].Validation,p:[$n[4].IEnumerable$1(UIComponents.IValidator),System.Object],box:function($v){return Bridge.box($v,UIComponents.Validation,System.Enum.toStringFn(UIComponents.Validation))}}]}});$m("UIComponents.FormValidator.BasicEmail",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:1,n:"basicEmail",is:!0,t:8,pi:[{n:"form",pt:$n[8].FormField.FieldProps,ps:0}],sn:"basicEmail",rt:$n[8].FormValidator.Props,p:[$n[8].FormField.FieldProps]},{a:2,n:"Invoke",t:16,rt:Function,g:{a:2,n:"get_Invoke",t:8,rt:Function,fg:"invoke"},fn:"invoke"}]}});$m("UIComponents.FormValidator.NotBlank",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:1,n:"notBlank",is:!0,t:8,pi:[{n:"form",pt:$n[8].FormField.FieldProps,ps:0}],sn:"notBlank",rt:$n[8].FormValidator.Props,p:[$n[8].FormField.FieldProps]},{a:2,n:"Invoke",t:16,rt:Function,g:{a:2,n:"get_Invoke",t:8,rt:Function,fg:"invoke"},fn:"invoke"}]}});$m("UIComponents.FormValidator.MinLength",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"length",pt:$n[0].Int32,ps:0}],sn:"ctor"},{a:1,n:"minLength",is:!0,t:8,pi:[{n:"form",pt:$n[8].FormField.FieldProps,ps:0},{n:"length",pt:$n[0].Int32,ps:1}],sn:"minLength",rt:$n[8].FormValidator.Props,p:[$n[8].FormField.FieldProps,$n[0].Int32]},{a:2,n:"Invoke",t:16,rt:Function,g:{a:2,n:"get_Invoke",t:8,rt:Function,fg:"invoke"},fn:"invoke"},{a:1,n:"Length",t:4,rt:$n[0].Int32,sn:"length",ro:!0,box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.FormValidator.DoesNotContain",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Array.type(System.String)],pi:[{n:"forbidden",ip:!0,pt:$n[0].Array.type(System.String),ps:0}],sn:"ctor"},{a:1,n:"minLength",is:!0,t:8,pi:[{n:"form",pt:$n[8].FormField.FieldProps,ps:0},{n:"forbidden",ip:!0,pt:$n[0].Array.type(System.String),ps:1}],sn:"minLength",rt:$n[8].FormValidator.Props,p:[$n[8].FormField.FieldProps,$n[0].Array.type(System.String)]},{a:2,n:"Invoke",t:16,rt:Function,g:{a:2,n:"get_Invoke",t:8,rt:Function,fg:"invoke"},fn:"invoke"},{a:1,n:"Forbidden",t:4,rt:$n[0].Array.type(System.String),sn:"forbidden",ro:!0}]}});$m("UIComponents.FormValidator.LowerCaseOnly",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:1,n:"lowerCaseOnly",is:!0,t:8,pi:[{n:"form",pt:$n[8].FormField.FieldProps,ps:0}],sn:"lowerCaseOnly",rt:$n[8].FormValidator.Props,p:[$n[8].FormField.FieldProps]},{a:2,n:"Invoke",t:16,rt:Function,g:{a:2,n:"get_Invoke",t:8,rt:Function,fg:"invoke"},fn:"invoke"}]}});$m("UIComponents.FormValidator.ExactLength",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Int32],pi:[{n:"length",pt:$n[0].Int32,ps:0}],sn:"ctor"},{a:1,n:"minLength",is:!0,t:8,pi:[{n:"form",pt:$n[8].FormField.FieldProps,ps:0},{n:"length",pt:$n[0].Int32,ps:1}],sn:"minLength",rt:$n[8].FormValidator.Props,p:[$n[8].FormField.FieldProps,$n[0].Int32]},{a:2,n:"Invoke",t:16,rt:Function,g:{a:2,n:"get_Invoke",t:8,rt:Function,fg:"invoke"},fn:"invoke"},{a:1,n:"Length",t:4,rt:$n[0].Int32,sn:"length",ro:!0,box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.FormValidator.GreaterOrEqual",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].Decimal],pi:[{n:"num",pt:$n[0].Decimal,ps:0}],sn:"ctor"},{a:1,n:"greaterOrEqual",is:!0,t:8,pi:[{n:"form",pt:$n[8].FormField.FieldProps,ps:0},{n:"num",pt:$n[0].Decimal,ps:1}],sn:"greaterOrEqual",rt:$n[8].FormValidator.Props,p:[$n[8].FormField.FieldProps,$n[0].Decimal]},{a:2,n:"Invoke",t:16,rt:Function,g:{a:2,n:"get_Invoke",t:8,rt:Function,fg:"invoke"},fn:"invoke"},{a:1,n:"Num",t:4,rt:$n[0].Decimal,sn:"num",ro:!0}]}});$m("UIComponents.FormValidator.IsNumber",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:1,n:"isNumber",is:!0,t:8,pi:[{n:"form",pt:$n[8].FormField.FieldProps,ps:0}],sn:"isNumber",rt:$n[8].FormValidator.Props,p:[$n[8].FormField.FieldProps]},{a:2,n:"Invoke",t:16,rt:Function,g:{a:2,n:"get_Invoke",t:8,rt:Function,fg:"invoke"},fn:"invoke"}]}});$m("UIComponents.FormValidator.IsChecked",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:1,n:"isChecked",is:!0,t:8,pi:[{n:"form",pt:$n[8].FormField.FieldProps,ps:0}],sn:"isChecked",rt:$n[8].FormValidator.Props,p:[$n[8].FormField.FieldProps]},{a:2,n:"Invoke",t:16,rt:Function,g:{a:2,n:"get_Invoke",t:8,rt:Function,fg:"invoke"},fn:"invoke"}]}});$m("UIComponents.FormValidator.Props",function(){return{td:$n[8].FormValidator,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Message",t:16,rt:$n[0].String,g:{a:2,n:"get_Message",t:8,rt:$n[0].String,fg:"message"},s:{a:2,n:"set_Message",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"message"},fn:"message"},{a:2,n:"Valid",t:16,rt:$n[8].Validation,g:{a:2,n:"get_Valid",t:8,rt:$n[8].Validation,fg:"valid",box:function($v){return Bridge.box($v,UIComponents.Validation,System.Enum.toStringFn(UIComponents.Validation))}},s:{a:2,n:"set_Valid",t:8,p:[$n[8].Validation],rt:$n[0].Void,fs:"valid"},fn:"valid"}]}});$m("UIComponents.SpanValidator",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].FormValidator.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].FormValidator.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.SaveEventArgs",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Attributes",t:4,rt:$n[8].CustInput.Props,sn:"attributes"}]}});$m("UIComponents.FieldEditor",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].FieldEditor.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].FieldEditor.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:1,n:"EditorFields",t:8,sn:"editorFields",rt:$n[4].IEnumerable$1(Object)},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"CustInputTypeOptions",is:!0,t:4,rt:$n[4].Dictionary$2(System.Object,System.String),sn:"custInputTypeOptions",ro:!0}]}});$m("UIComponents.FieldEditor.Props",function(){return{td:$n[8].FieldEditor,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"FieldEditorAttributes",t:16,rt:System.Object,g:{a:2,n:"get_FieldEditorAttributes",t:8,rt:System.Object,fg:"fieldEditorAttributes"},s:{a:2,n:"set_FieldEditorAttributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"fieldEditorAttributes"},fn:"fieldEditorAttributes"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"Label",t:16,rt:$n[0].String,g:{a:2,n:"get_Label",t:8,rt:$n[0].String,fg:"label"},s:{a:2,n:"set_Label",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"label"},fn:"label"},{a:2,n:"OnRemove",t:16,rt:Function,g:{a:2,n:"get_OnRemove",t:8,rt:Function,fg:"onRemove"},s:{a:2,n:"set_OnRemove",t:8,p:[Function],rt:$n[0].Void,fs:"onRemove"},fn:"onRemove"},{a:2,n:"OnSave",t:16,rt:Function,g:{a:2,n:"get_OnSave",t:8,rt:Function,fg:"onSave"},s:{a:2,n:"set_OnSave",t:8,p:[Function],rt:$n[0].Void,fs:"onSave"},fn:"onSave"},{a:2,n:"Disabled",t:4,rt:$n[0].Boolean,sn:"disabled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TargetField",t:4,rt:$n[8].IKeyProps,sn:"targetField"},{a:1,n:"__Property__Initializer__Label",t:4,rt:$n[0].String,sn:"__Property__Initializer__Label"}]}});$m("UIComponents.SimpleForm",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].SimpleForm.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].SimpleForm.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[8].SimpleForm.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.SimpleForm.State",function(){return{td:$n[8].SimpleForm,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Submitted",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Submitted",t:8,rt:$n[0].Boolean,fg:"submitted",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Submitted",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"submitted"},fn:"submitted"}]}});$m("UIComponents.SimpleForm.Props",function(){return{td:$n[8].SimpleForm,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Fields",t:16,rt:$n[4].IEnumerable$1(UIComponents.FormField.FieldProps),g:{a:2,n:"get_Fields",t:8,rt:$n[4].IEnumerable$1(UIComponents.FormField.FieldProps),fg:"fields"},s:{a:2,n:"set_Fields",t:8,p:[$n[4].IEnumerable$1(UIComponents.FormField.FieldProps)],rt:$n[0].Void,fs:"fields"},fn:"fields"},{a:2,n:"FormAttributes",t:16,rt:System.Object,g:{a:2,n:"get_FormAttributes",t:8,rt:System.Object,fg:"formAttributes"},s:{a:2,n:"set_FormAttributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"formAttributes"},fn:"formAttributes"},{a:2,n:"Label",t:16,rt:$n[0].String,g:{a:2,n:"get_Label",t:8,rt:$n[0].String,fg:"label"},s:{a:2,n:"set_Label",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"label"},fn:"label"},{a:2,n:"OnSubmit",t:16,rt:Function,g:{a:2,n:"get_OnSubmit",t:8,rt:Function,fg:"onSubmit"},s:{a:2,n:"set_OnSubmit",t:8,p:[Function],rt:$n[0].Void,fs:"onSubmit"},fn:"onSubmit"},{a:2,n:"SubmitStyle",t:16,rt:System.Object,g:{a:2,n:"get_SubmitStyle",t:8,rt:System.Object,fg:"submitStyle"},s:{a:4,n:"set_SubmitStyle",t:8,p:[System.Object],rt:$n[0].Void,fs:"submitStyle"},fn:"submitStyle"},{a:2,n:"Disabled",t:4,rt:$n[0].Boolean,sn:"disabled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"__Property__Initializer__Label",t:4,rt:$n[0].String,sn:"__Property__Initializer__Label"}]}});$m("UIComponents.SimpleList$1",function(T){return{att:1048576,a:4,m:[{a:2,n:".ctor",t:1,p:[$n[8].SimpleList$1.Props(T)],pi:[{n:"props",pt:$n[8].SimpleList$1.Props(T),ps:0}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.SimpleList$1.Props",function(T){return{td:$n[8].SimpleList$1(T),att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"OnSelect",t:16,rt:Function,g:{a:2,n:"get_OnSelect",t:8,rt:Function,fg:"onSelect"},s:{a:2,n:"set_OnSelect",t:8,p:[Function],rt:$n[0].Void,fs:"onSelect"},fn:"onSelect"},{a:2,n:"Options",t:16,rt:$n[4].Dictionary$2(System.String,T),g:{a:2,n:"get_Options",t:8,rt:$n[4].Dictionary$2(System.String,T),fg:"options"},s:{a:2,n:"set_Options",t:8,p:[$n[4].Dictionary$2(System.String,T)],rt:$n[0].Void,fs:"options"},fn:"options"},{a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"}]}});$m("UIComponents.SimpleModalContainer",function(){return{att:1048576,a:4,m:[{a:2,n:".ctor",t:1,p:[$n[8].SimpleModalContainer.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[8].SimpleModalContainer.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[8].SimpleModalContainer.Props,ps:0},{n:"previousState",pt:$n[8].SimpleModalContainer.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[8].SimpleModalContainer.Props,$n[8].SimpleModalContainer.State]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[8].SimpleModalContainer.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"Update",t:8,sn:"update",rt:$n[0].Void}]}});$m("UIComponents.SimpleModalContainer.Props",function(){return{td:$n[8].SimpleModalContainer,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"CloseButtons",t:16,rt:$n[4].IEnumerable$1(HTMLAnchorElement),g:{a:2,n:"get_CloseButtons",t:8,rt:$n[4].IEnumerable$1(HTMLAnchorElement),fg:"closeButtons"},s:{a:2,n:"set_CloseButtons",t:8,p:[$n[4].IEnumerable$1(HTMLAnchorElement)],rt:$n[0].Void,fs:"closeButtons"},fn:"closeButtons"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerComponent",t:16,rt:Object,g:{a:2,n:"get_InnerComponent",t:8,rt:Object,fg:"innerComponent"},s:{a:2,n:"set_InnerComponent",t:8,p:[Object],rt:$n[0].Void,fs:"innerComponent"},fn:"innerComponent"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OpenButton",t:16,rt:HTMLAnchorElement,g:{a:2,n:"get_OpenButton",t:8,rt:HTMLAnchorElement,fg:"openButton"},s:{a:2,n:"set_OpenButton",t:8,p:[HTMLAnchorElement],rt:$n[0].Void,fs:"openButton"},fn:"openButton"}]}});$m("UIComponents.SimpleModalContainer.State",function(){return{td:$n[8].SimpleModalContainer,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"IsActive",t:4,rt:$n[0].Boolean,sn:"isActive",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.IKeyProps",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Key",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"UIComponents$IKeyProps$key"},fn:"UIComponents$IKeyProps$key"}]}});$m("UIComponents.AutoProps",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{v:!0,a:2,n:"Key",t:16,rt:$n[0].String,g:{v:!0,a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{v:!0,a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:1,n:"_key",t:4,rt:$n[0].String,sn:"_key"}]}});$m("UIComponents.WebBrowser",function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Chrome",is:!0,t:4,rt:$n[8].WebBrowser,sn:"chrome",box:function($v){return Bridge.box($v,UIComponents.WebBrowser,System.Enum.toStringFn(UIComponents.WebBrowser))}},{a:2,n:"Edge",is:!0,t:4,rt:$n[8].WebBrowser,sn:"edge",box:function($v){return Bridge.box($v,UIComponents.WebBrowser,System.Enum.toStringFn(UIComponents.WebBrowser))}},{a:2,n:"FacebookAndroid",is:!0,t:4,rt:$n[8].WebBrowser,sn:"facebookAndroid",box:function($v){return Bridge.box($v,UIComponents.WebBrowser,System.Enum.toStringFn(UIComponents.WebBrowser))}},{a:2,n:"FacebookIOS",is:!0,t:4,rt:$n[8].WebBrowser,sn:"facebookIOS",box:function($v){return Bridge.box($v,UIComponents.WebBrowser,System.Enum.toStringFn(UIComponents.WebBrowser))}},{a:2,n:"Firefox",is:!0,t:4,rt:$n[8].WebBrowser,sn:"firefox",box:function($v){return Bridge.box($v,UIComponents.WebBrowser,System.Enum.toStringFn(UIComponents.WebBrowser))}},{a:2,n:"IE",is:!0,t:4,rt:$n[8].WebBrowser,sn:"IE",box:function($v){return Bridge.box($v,UIComponents.WebBrowser,System.Enum.toStringFn(UIComponents.WebBrowser))}},{a:2,n:"Safari",is:!0,t:4,rt:$n[8].WebBrowser,sn:"safari",box:function($v){return Bridge.box($v,UIComponents.WebBrowser,System.Enum.toStringFn(UIComponents.WebBrowser))}},{a:2,n:"Unknown",is:!0,t:4,rt:$n[8].WebBrowser,sn:"unknown",box:function($v){return Bridge.box($v,UIComponents.WebBrowser,System.Enum.toStringFn(UIComponents.WebBrowser))}}]}});$m("UIComponents.XBrowser",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"BrowserNotSupported",is:!0,t:8,pi:[{n:"feature",pt:$n[0].String,ps:0},{n:"notsupported",ip:!0,pt:System.Array.type(UIComponents.WebBrowser),ps:1}],sn:"browserNotSupported",rt:Object,p:[$n[0].String,System.Array.type(UIComponents.WebBrowser)]},{a:2,n:"DeselectAll",is:!0,t:8,sn:"deselectAll",rt:$n[0].Void},{a:2,n:"DocumentURI",is:!0,t:8,sn:"documentURI",rt:$n[0].String},{a:2,n:"GetQueryParams",is:!0,t:8,sn:"getQueryParams",rt:$n[4].IDictionary$2(System.String,System.String)},{a:2,n:"IsMobile",is:!0,t:8,pi:[{n:"breakpoint",dv:720,o:!0,pt:$n[0].Int32,ps:0}],sn:"isMobile",rt:$n[0].Boolean,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"RGB2Hex",is:!0,t:8,pi:[{n:"x",pt:$n[0].String,ps:0},{n:"alpha",dv:!1,o:!0,pt:$n[0].Boolean,ps:1}],sn:"rGB2Hex",rt:$n[0].String,p:[$n[0].String,$n[0].Boolean]},{a:2,n:"RootAppType",is:!0,t:8,sn:"rootAppType",rt:Function},{a:2,n:"ScrollIntoCenter",is:!0,t:8,pi:[{n:"el",pt:HTMLElement,ps:0}],sn:"scrollIntoCenter",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"SpinnerDataURL",is:!0,t:8,sn:"spinnerDataURL",rt:$n[0].String},{a:2,n:"VGAPx",is:!0,t:8,pi:[{n:"x",pt:$n[0].Int32,ps:0}],sn:"vGAPx",rt:$n[0].UInt32,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"Client",is:!0,t:16,rt:$n[8].WebBrowser,g:{a:2,n:"get_Client",t:8,rt:$n[8].WebBrowser,fg:"client",is:!0,box:function($v){return Bridge.box($v,UIComponents.WebBrowser,System.Enum.toStringFn(UIComponents.WebBrowser))}},fn:"client"},{a:2,n:"VGASizes",is:!0,t:4,rt:$n[0].Array.type(System.UInt32),sn:"vGASizes"},{a:1,n:"rootAppType",is:!0,t:4,rt:Function,sn:"rootAppType$1"}]}});$m("UIComponents.Ready",function(){return{att:1048576,a:4,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Go",is:!0,t:8,sn:"go",rt:$n[0].Void}]}});$m("UIComponents.Services.ReactBuilder",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"Convert",is:!0,t:8,pi:[{n:"htmlElement",pt:HTMLElement,ps:0},{n:"tag",pt:$n[0].String,ps:1},{n:"id",pt:$n[0].String,ps:2},{n:"key",dv:"",o:!0,pt:$n[0].String,ps:3},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:4}],sn:"convert",rt:Object,p:[HTMLElement,$n[0].String,$n[0].String,$n[0].String,System.Array.type(System.Object)]},{a:2,n:"ConvertTextNodes",is:!0,t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"convertTextNodes",rt:HTMLElement,p:[HTMLElement]},{a:1,n:"CopyStyle",is:!0,t:8,pi:[{n:"source",pt:CSSStyleDeclaration,ps:0},{n:"destination",pt:System.Object,ps:1}],sn:"copyStyle",rt:System.Object,p:[CSSStyleDeclaration,System.Object]},{a:1,n:"DangerouslyCopyAttributes",is:!0,t:8,pi:[{n:"x",pt:NamedNodeMap,ps:0},{n:"y",pt:System.Object,ps:1}],tpc:1,tprm:["T"],sn:"dangerouslyCopyAttributes",rt:System.Object,p:[NamedNodeMap,System.Object]},{a:2,n:"ParseHTML",is:!0,t:8,pi:[{n:"html",pt:$n[0].String,ps:0}],sn:"parseHTML",rt:Object,p:[$n[0].String]},{a:1,n:"attributeignore",is:!0,t:4,rt:$n[0].Array.type(System.String),sn:"attributeignore",ro:!0},{a:1,n:"attributemap",is:!0,t:4,rt:$n[4].Dictionary$2(System.String,System.String),sn:"attributemap",ro:!0}]}});$m("UIComponents.Services.HttpRequest",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"IsSuccessCode",is:!0,t:8,pi:[{n:"code",pt:$n[0].Int32,ps:0}],sn:"isSuccessCode",rt:$n[0].Boolean,p:[$n[0].Int32],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"ParseODataResponse",is:!0,t:8,pi:[{n:"request",pt:$n[10].Task$1(XMLHttpRequest),ps:0}],tpc:1,tprm:["T"],sn:"parseODataResponse",rt:$n[10].Task$1(System.Collections.Generic.IEnumerable$1(System.Object)),p:[$n[10].Task$1(XMLHttpRequest)]},{a:2,n:"RequestAsync",is:!0,t:8,pi:[{n:"url",pt:$n[0].String,ps:0}],sn:"requestAsync",rt:$n[10].Task$1(XMLHttpRequest),p:[$n[0].String]},{a:2,n:"RequestAsync",is:!0,t:8,pi:[{n:"url",pt:$n[0].String,ps:0},{n:"verb",dv:"GET",o:!0,pt:$n[0].String,ps:1},{n:"withCredentials",dv:!0,o:!0,pt:$n[0].Boolean,ps:2},{n:"data",dv:null,o:!0,pt:System.Object,ps:3},{n:"OnOpen",dv:null,o:!0,pt:Function,ps:4}],tpc:1,tprm:["T"],sn:"requestAsync$1",rt:$n[10].Task$1(XMLHttpRequest),p:[$n[0].String,$n[0].String,$n[0].Boolean,System.Object,Function]},{a:2,n:"RequestODataAsync",is:!0,t:8,pi:[{n:"url",pt:$n[0].String,ps:0},{n:"OnOpen",dv:null,o:!0,pt:Function,ps:1},{n:"bearerToken",dv:null,o:!0,pt:$n[0].String,ps:2}],sn:"requestODataAsync",rt:$n[10].Task$1(XMLHttpRequest),p:[$n[0].String,Function,$n[0].String]},{a:2,n:"RequestObjectAsync",is:!0,t:8,pi:[{n:"url",pt:$n[0].String,ps:0},{n:"verb",dv:"GET",o:!0,pt:$n[0].String,ps:1},{n:"data",dv:null,o:!0,pt:System.Object,ps:2},{n:"OnOpen",dv:null,o:!0,pt:Function,ps:3}],tpc:1,tprm:["T"],sn:"requestObjectAsync",rt:$n[10].Task$1(XMLHttpRequest),p:[$n[0].String,$n[0].String,System.Object,Function]},{a:1,n:"SendForm",is:!0,t:8,pi:[{n:"data",pt:FormData,ps:0},{n:"request",pt:XMLHttpRequest,ps:1}],sn:"sendForm",rt:$n[0].Void,p:[FormData,XMLHttpRequest]},{a:1,n:"SendString",is:!0,t:8,pi:[{n:"data",pt:$n[0].String,ps:0},{n:"request",pt:XMLHttpRequest,ps:1}],sn:"sendString",rt:$n[0].Void,p:[$n[0].String,XMLHttpRequest]},{a:1,n:"SerializeAndSend",is:!0,t:8,pi:[{n:"data",pt:$n[0].Object,ps:0},{n:"request",pt:XMLHttpRequest,ps:1},{n:"withCredentials",dv:!0,o:!0,pt:$n[0].Boolean,ps:2}],sn:"serializeAndSend",rt:$n[0].Void,p:[$n[0].Object,XMLHttpRequest,$n[0].Boolean]},{a:2,n:"XRequestAsync",is:!0,t:8,pi:[{n:"origin",pt:$n[0].String,ps:0},{n:"url",pt:$n[0].String,ps:1},{n:"verb",dv:"GET",o:!0,pt:$n[0].String,ps:2},{n:"data",dv:null,o:!0,pt:FormData,ps:3}],sn:"xRequestAsync",rt:$n[10].Task$1(XMLHttpRequest),p:[$n[0].String,$n[0].String,$n[0].String,FormData]},{a:1,n:"complete",is:!0,t:8,pi:[{n:"url",pt:$n[0].String,ps:0},{n:"tcs",pt:$n[10].TaskCompletionSource,ps:1},{n:"request",pt:XMLHttpRequest,ps:2}],sn:"complete",rt:$n[0].Void,p:[$n[0].String,$n[10].TaskCompletionSource,XMLHttpRequest]},{a:1,n:"parseError",is:!0,t:8,pi:[{n:"request",pt:XMLHttpRequest,ps:0}],tpc:1,tprm:["E"],sn:"parseError",rt:System.Object,p:[XMLHttpRequest]}]}});$m("UIComponents.Services.Handlebars.HandlebarsTemplate",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"Compile",is:!0,t:8,pi:[{n:"innerHTML",pt:$n[0].String,ps:0}],sn:"compile",rt:Function,p:[$n[0].String]},{a:2,n:"HBRegister",is:!0,t:8,pi:[{n:"helperName",pt:$n[0].String,ps:0},{n:"helper",pt:Function,ps:1}],sn:"hBRegister",rt:$n[0].Void,p:[$n[0].String,Function]},{a:2,n:"HBRegister",is:!0,t:8,pi:[{n:"helperName",pt:$n[0].String,ps:0},{n:"helper",pt:Function,ps:1}],sn:"hBRegister$1",rt:$n[0].Void,p:[$n[0].String,Function]},{a:2,n:"HandlebarsReady",is:!0,t:8,sn:"handlebarsReady",rt:$n[0].Void},{a:1,n:"atof",is:!0,t:8,pi:[{n:"a",pt:$n[0].String,ps:0}],sn:"atof",rt:$n[0].Decimal,p:[$n[0].String]},{a:1,n:"configureHB",is:!0,t:8,sn:"configureHB",rt:$n[0].Void},{a:1,n:"divide",is:!0,t:8,pi:[{n:"numerator",pt:$n[0].String,ps:0},{n:"denominator",pt:$n[0].String,ps:1}],sn:"divide",rt:$n[0].String,p:[$n[0].String,$n[0].String]},{a:1,n:"round",is:!0,t:8,pi:[{n:"x",pt:$n[0].String,ps:0}],sn:"round",rt:$n[0].String,p:[$n[0].String]},{a:1,n:"javascriptHelpers",is:!0,t:4,rt:$n[0].String,sn:"javascriptHelpers"},{a:1,n:"lookupLowerCase",is:!0,t:4,rt:$n[0].String,sn:"lookupLowerCase"}]}});$m("UIComponents.Services.Handlebars.HandlebarsTemplate.QueryParams",function(){return{td:$n[11].HandlebarsTemplate,att:1048579,a:1,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Object],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"value",pt:$n[0].Object,ps:1}],sn:"ctor"},{a:2,n:"UpdateContext",t:8,sn:"updateContext",rt:System.Object},{a:2,n:"ContextName",t:16,rt:$n[0].String,g:{a:2,n:"get_ContextName",t:8,rt:$n[0].String,fg:"contextName"},s:{a:2,n:"set_ContextName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"contextName"},fn:"contextName"},{a:1,n:"__Property__Initializer__ContextName",t:4,rt:$n[0].String,sn:"__Property__Initializer__ContextName"},{a:1,n:"context",t:4,rt:System.Object,sn:"context",ro:!0}]}});$m("UIComponents.Services.Handlebars.ContextTemplate",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[11].ContextTemplate.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[11].ContextTemplate.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[11].ContextTemplate.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"decodeHtml",t:8,pi:[{n:"innertext",pt:$n[0].String,ps:0}],sn:"decodeHtml",rt:$n[0].String,p:[$n[0].String]},{a:1,n:"getDefaultParts",is:!0,t:8,pi:[{n:"left",pt:$n[0].String,ps:0},{n:"right",pt:$n[0].String,ps:1}],sn:"getDefaultParts",rt:$n[4].KeyValuePair$2(System.String,System.String),p:[$n[0].String,$n[0].String]}]}});$m("UIComponents.Services.Handlebars.ContextTemplate.Props",function(){return{td:$n[11].ContextTemplate,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"}]}});$m("UIComponents.Services.Handlebars.ContextTemplate.State",function(){return{td:$n[11].ContextTemplate,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Context",t:4,rt:$n[0].Object,sn:"context"},{a:2,n:"Template",t:4,rt:Function,sn:"template"}]}});$m("UIComponents.Services.Alloy.AlloyEditor",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"DeleteImage",is:!0,t:8,pi:[{n:"id",pt:$n[0].String,ps:0}],sn:"deleteImage",rt:$n[0].Void,p:[$n[0].String]},{a:2,n:"EditorInstance",is:!0,t:8,pi:[{n:"editable",pt:HTMLElement,ps:0}],sn:"editorInstance",rt:System.Object,p:[HTMLElement]},{a:2,n:"MakeEditable",is:!0,t:8,pi:[{n:"editable",pt:HTMLElement,ps:0},{n:"parent",pt:$n[12].TileWrapper,ps:1},{n:"parentProps",pt:$n[12].TileWrapper.Props,ps:2}],sn:"makeEditable",rt:HTMLElement,p:[HTMLElement,$n[12].TileWrapper,$n[12].TileWrapper.Props]},{a:2,n:"RemoveEditable",is:!0,t:8,pi:[{n:"editable",pt:HTMLElement,ps:0}],sn:"removeEditable",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"SetupFocusEditor",is:!0,t:8,pi:[{n:"editable",pt:HTMLElement,ps:0},{n:"parentProps",pt:$n[12].TileWrapper.Props,ps:1}],sn:"setupFocusEditor",rt:$n[0].Void,p:[HTMLElement,$n[12].TileWrapper.Props]},{a:1,n:"fixGrammarly",is:!0,t:8,pi:[{n:"editable",pt:HTMLElement,ps:0}],sn:"fixGrammarly",rt:$n[0].Void,p:[HTMLElement]}]}});$m("UIComponents.Services.Alloy.Settings.AppealSettings",function(){return{att:1048576,a:4,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"}]}});$m("UIComponents.Services.Alloy.Settings.BaseSettings",function(){return{att:1048704,a:4,m:[{a:3,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{v:!0,a:2,n:"Config",t:8,sn:"config",rt:System.Object},{a:1,n:"FontName",is:!0,t:8,sn:"fontName",rt:$n[0].String},{a:1,n:"FontSizes",is:!0,t:8,sn:"fontSizes",rt:$n[0].String},{a:1,n:"FontStyle",is:!0,t:8,sn:"fontStyle",rt:$n[0].Object},{a:1,n:"HtmlButtons",is:!0,t:8,sn:"htmlButtons",rt:$n[0].Array.type(System.Object)},{a:3,n:"TextStyle",is:!0,t:8,pi:[{n:"alloyhandle",pt:System.Object,ps:0}],sn:"textStyle",rt:$n[0].Object,p:[System.Object]},{a:1,n:"Toolbars",is:!0,t:8,pi:[{n:"alloyhandle",pt:System.Object,ps:0}],sn:"toolbars",rt:$n[0].Object,p:[System.Object]}]}});$m("UIComponents.Services.Alloy.Settings.EmailSettings",function(){return{att:1048576,a:4,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"Config",t:8,sn:"config",rt:System.Object},{a:1,n:"ToolbarsForMail",is:!0,t:8,pi:[{n:"alloyhandle",pt:System.Object,ps:0}],sn:"toolbarsForMail",rt:$n[0].Object,p:[System.Object]}]}});$m("UIComponents.Services.Alloy.Settings.ThanksSettings",function(){return{att:1048576,a:4,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"Config",t:8,sn:"config",rt:System.Object},{a:1,n:"ToolbarsForCustomPage",is:!0,t:8,pi:[{n:"alloyhandle",pt:System.Object,ps:0}],sn:"toolbarsForCustomPage",rt:$n[0].Object,p:[System.Object]}]}});$m("UIComponents.Layout.FlexColumns",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[13].FlexColumns.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[13].FlexColumns.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Layout.FlexColumns.Props",function(){return{td:$n[13].FlexColumns,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,System.Array.type(System.Object)],pi:[{n:"key",pt:$n[0].String,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Items",t:16,rt:$n[4].IDictionary$2(System.String,System.Object),g:{a:2,n:"get_Items",t:8,rt:$n[4].IDictionary$2(System.String,System.Object),fg:"items"},s:{a:1,n:"set_Items",t:8,p:[$n[4].IDictionary$2(System.String,System.Object)],rt:$n[0].Void,fs:"items"},fn:"items"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:1,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"Properties",t:16,rt:System.Object,g:{a:2,n:"get_Properties",t:8,rt:System.Object,fg:"properties"},s:{a:2,n:"set_Properties",t:8,p:[System.Object],rt:$n[0].Void,fs:"properties"},fn:"properties"},{a:1,n:"__Property__Initializer__Items",t:4,rt:$n[4].IDictionary$2(System.String,System.Object),sn:"__Property__Initializer__Items"}]}});$m("UIComponents.Layout.FlexRows",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[13].FlexRows.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[13].FlexRows.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Layout.FlexRows.Props",function(){return{td:$n[13].FlexRows,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,System.Array.type(System.Object)],pi:[{n:"key",pt:$n[0].String,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Items",t:16,rt:$n[4].IDictionary$2(System.String,System.Object),g:{a:2,n:"get_Items",t:8,rt:$n[4].IDictionary$2(System.String,System.Object),fg:"items"},s:{a:1,n:"set_Items",t:8,p:[$n[4].IDictionary$2(System.String,System.Object)],rt:$n[0].Void,fs:"items"},fn:"items"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:1,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"Properties",t:16,rt:System.Object,g:{a:2,n:"get_Properties",t:8,rt:System.Object,fg:"properties"},s:{a:2,n:"set_Properties",t:8,p:[System.Object],rt:$n[0].Void,fs:"properties"},fn:"properties"},{a:1,n:"__Property__Initializer__Items",t:4,rt:$n[4].IDictionary$2(System.String,System.Object),sn:"__Property__Initializer__Items"}]}});$m("UIComponents.Extensions.ComponentExtensions",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"FromElement",is:!0,t:8,pi:[{n:"type",pt:$n[0].String,ps:0},{n:"element",pt:System.Object,ps:1},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:2}],tpc:1,tprm:["E"],sn:"fromElement",rt:Object,p:[$n[0].String,System.Object,System.Array.type(System.Object)]},{a:2,n:"FromProps",is:!0,t:8,pi:[{n:"type",pt:$n[0].String,ps:0},{n:"props",pt:System.Object,ps:1},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:2}],tpc:1,tprm:["P"],sn:"fromProps",rt:Object,p:[$n[0].String,System.Object,System.Array.type(System.Object)]},{a:2,n:"TypeKey",is:!0,t:8,pi:[{n:"type",pt:$n[0].String,ps:0}],sn:"typeKey",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"TypeKey",is:!0,t:8,pi:[{n:"type",pt:Function,ps:0}],sn:"typeKey$1",rt:$n[0].String,p:[Function]},{a:2,n:"UpdateState",is:!0,t:8,pi:[{n:"self",pt:$n[14].Component$2(System.Object,System.Object),ps:0},{n:"Fn",pt:Function,ps:1}],tpc:2,tprm:["P","S"],sn:"updateState",rt:$n[0].Void,p:[$n[14].Component$2(System.Object,System.Object),Function]},{a:2,n:"HTMLCtors",is:!0,t:4,rt:$n[4].Dictionary$2(System.String,Function),sn:"hTMLCtors",ro:!0},{a:2,n:"PropsCtors",is:!0,t:4,rt:$n[4].Dictionary$2(System.String,Function),sn:"propsCtors",ro:!0}]}});$m("UIComponents.Dispatchers.EventDispatcher",function(){return{att:1048705,a:2,m:[{a:3,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ab:!0,a:2,n:"Add",t:8,pi:[{n:"callback",pt:Function,ps:0}],tpc:1,tprm:["F"],sn:"add",rt:$n[14].DispatchToken,p:[Function]},{a:3,n:"Dispatch",t:8,pi:[{n:"action",pt:$n[14].IDispatcherAction,ps:0}],sn:"dispatch",rt:$n[0].Void,p:[$n[14].IDispatcherAction]},{ab:!0,a:2,n:"Invoke",t:8,pi:[{n:"evt",pt:System.Object,ps:0}],tpc:1,tprm:["E"],sn:"invoke",rt:$n[0].Void,p:[System.Object]},{a:3,n:"Receive",t:8,pi:[{n:"callback",pt:Function,ps:0}],sn:"receive",rt:$n[14].DispatchToken,p:[Function]},{a:2,n:"Unregister",t:8,pi:[{n:"token",pt:$n[14].DispatchToken,ps:0}],sn:"unregister",rt:$n[0].Void,p:[$n[14].DispatchToken]},{a:2,n:"WaitFor",t:8,pi:[{n:"tokens",ip:!0,pt:System.Array.type(Bridge.React.DispatchToken),ps:0}],sn:"waitFor",rt:$n[0].Void,p:[System.Array.type(Bridge.React.DispatchToken)]},{a:2,n:"WaitFor",t:8,pi:[{n:"tokens",pt:$n[4].IEnumerable$1(Bridge.React.DispatchToken),ps:0}],sn:"waitFor$1",rt:$n[0].Void,p:[$n[4].IEnumerable$1(Bridge.React.DispatchToken)]},{a:2,n:"IsDispatching",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsDispatching",t:8,rt:$n[0].Boolean,fg:"isDispatching",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"isDispatching"},{a:1,n:"_callbacks",t:4,rt:$n[4].Dictionary$2(Bridge.React.DispatchToken,Function),sn:"_callbacks",ro:!0},{a:1,n:"_currentAction",t:4,rt:$n[14].IDispatcherAction,sn:"_currentAction"},{a:1,n:"_executingCallbacks",t:4,rt:$n[4].HashSet$1(Bridge.React.DispatchToken),sn:"_executingCallbacks",ro:!0},{a:1,n:"_finishedCallbacks",t:4,rt:$n[4].HashSet$1(Bridge.React.DispatchToken),sn:"_finishedCallbacks",ro:!0},{a:1,n:"_isDispatching",t:4,rt:$n[0].Boolean,sn:"_isDispatching",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Dispatchers.DispatcherFactory",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"Get",is:!0,t:8,tpc:1,tprm:["T"],sn:"get",rt:System.Object},{a:1,n:"dispatchers",is:!0,t:4,rt:$n[4].Dictionary$2(Function,UIComponents.Dispatchers.EventDispatcher),sn:"dispatchers"}]}});$m("UIComponents.Dispatchers.SubmitAction",function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"DonateCreditCard",is:!0,t:4,rt:$n[15].SubmitAction,sn:"donateCreditCard",box:function($v){return Bridge.box($v,UIComponents.Dispatchers.SubmitAction,System.Enum.toStringFn(UIComponents.Dispatchers.SubmitAction))}},{a:2,n:"DonatePayPal",is:!0,t:4,rt:$n[15].SubmitAction,sn:"donatePayPal",box:function($v){return Bridge.box($v,UIComponents.Dispatchers.SubmitAction,System.Enum.toStringFn(UIComponents.Dispatchers.SubmitAction))}},{a:2,n:"None",is:!0,t:4,rt:$n[15].SubmitAction,sn:"none",box:function($v){return Bridge.box($v,UIComponents.Dispatchers.SubmitAction,System.Enum.toStringFn(UIComponents.Dispatchers.SubmitAction))}},{a:2,n:"Pledge",is:!0,t:4,rt:$n[15].SubmitAction,sn:"pledge",box:function($v){return Bridge.box($v,UIComponents.Dispatchers.SubmitAction,System.Enum.toStringFn(UIComponents.Dispatchers.SubmitAction))}}]}});$m("UIComponents.Dispatchers.SubmitFormDispatcher",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"Add",t:8,pi:[{n:"callback",pt:Function,ps:0}],tpc:1,tprm:["SubmitFormDispatcherArgs"],sn:"add",rt:$n[14].DispatchToken,p:[Function]},{ov:!0,a:2,n:"Invoke",t:8,pi:[{n:"evt",pt:System.Object,ps:0}],tpc:1,tprm:["SubmitFormDispatcherArgs"],sn:"invoke",rt:$n[0].Void,p:[System.Object]}]}});$m("UIComponents.Dispatchers.SubmitFormDispatcher.SubmitFormDispatcherArgs",function(){return{td:$n[15].SubmitFormDispatcher,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Action",t:4,rt:$n[15].SubmitAction,sn:"action",box:function($v){return Bridge.box($v,UIComponents.Dispatchers.SubmitAction,System.Enum.toStringFn(UIComponents.Dispatchers.SubmitAction))}}]}});$m("UIComponents.Dispatchers.ContextDispatcher",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"Add",t:8,pi:[{n:"callback",pt:Function,ps:0}],tpc:1,tprm:["IContextState"],sn:"add",rt:$n[14].DispatchToken,p:[Function]},{ov:!0,a:2,n:"Invoke",t:8,pi:[{n:"evt",pt:System.Object,ps:0}],tpc:1,tprm:["TagDispatcherArgs"],sn:"invoke",rt:$n[0].Void,p:[System.Object]}]}});$m("UIComponents.Dispatchers.ContextDispatcher.IContextState$1",function(T){return{td:$n[15].ContextDispatcher,att:162,a:2,m:[{ab:!0,a:2,n:"UpdateContext",t:8,sn:"UIComponents$Dispatchers$ContextDispatcher$IContextState$1$"+Bridge.getTypeAlias(T)+"$updateContext",rt:T},{ab:!0,a:2,n:"ContextName",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_ContextName",t:8,rt:$n[0].String,fg:'"UIComponents$Dispatchers$ContextDispatcher$IContextState$1$" + Bridge.getTypeAlias(T) + "$contextName"'},s:{ab:!0,a:2,n:"set_ContextName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:'"UIComponents$Dispatchers$ContextDispatcher$IContextState$1$" + Bridge.getTypeAlias(T) + "$contextName"'},fn:'"UIComponents$Dispatchers$ContextDispatcher$IContextState$1$" + Bridge.getTypeAlias(T) + "$contextName"'}]}});$m("UIComponents.Dispatchers.ApiRefreshDispatcher",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"Add",t:8,pi:[{n:"callback",pt:Function,ps:0}],tpc:1,tprm:["ApiRefreshEventArgs"],sn:"add",rt:$n[14].DispatchToken,p:[Function]},{ov:!0,a:2,n:"Invoke",t:8,pi:[{n:"evt",pt:System.Object,ps:0}],tpc:1,tprm:["ApiRefreshEventArgs"],sn:"invoke",rt:$n[0].Void,p:[System.Object]}]}});$m("UIComponents.Dispatchers.ApiRefreshDispatcher.ApiRefreshEventArgs",function(){return{td:$n[15].ApiRefreshDispatcher,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"ApiPath",t:16,rt:$n[0].String,g:{a:2,n:"get_ApiPath",t:8,rt:$n[0].String,fg:"apiPath"},s:{a:2,n:"set_ApiPath",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"apiPath"},fn:"apiPath"}]}});$m("UIComponents.Dispatchers.UpdateFieldDispatcher",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"Add",t:8,pi:[{n:"callback",pt:Function,ps:0}],tpc:1,tprm:["UpdateFieldEventArgs"],sn:"add",rt:$n[14].DispatchToken,p:[Function]},{ov:!0,a:2,n:"Invoke",t:8,pi:[{n:"evt",pt:System.Object,ps:0}],tpc:1,tprm:["UpdateFieldEventArgs"],sn:"invoke",rt:$n[0].Void,p:[System.Object]}]}});$m("UIComponents.Dispatchers.UpdateFieldDispatcher.UpdateFieldEventArgs",function(){return{td:$n[15].UpdateFieldDispatcher,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Name",t:16,rt:$n[0].String,g:{a:2,n:"get_Name",t:8,rt:$n[0].String,fg:"name"},s:{a:2,n:"set_Name",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"name"},fn:"name"},{a:2,n:"ScrollIntoView",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_ScrollIntoView",t:8,rt:$n[0].Boolean,fg:"scrollIntoView",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_ScrollIntoView",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"scrollIntoView"},fn:"scrollIntoView"},{a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"}]}});$m("UIComponents.Collections.TagSetTable",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[16].ODataCollection$2.Props$1(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext,ViewModels.ReactContext.TagSetContext),System.Array.type(System.Object)],pi:[{n:"props",pt:$n[16].ODataCollection$2.Props$1(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext,ViewModels.ReactContext.TagSetContext),ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[16].ODataCollection$2.State(System.Collections.Generic.Dictionary$2(System.String,System.String),ViewModels.ReactContext.TagSetContext)},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"modify",t:8,pi:[{n:"property",pt:$n[4].KeyValuePair$2(System.String,System.String),ps:0},{n:"id",pt:$n[0].String,ps:1}],sn:"modify",rt:$n[4].List$1(System.Collections.Generic.Dictionary$2(System.String,System.String)),p:[$n[4].KeyValuePair$2(System.String,System.String),$n[0].String]},{a:1,n:"tbody",t:8,pi:[{n:"items",pt:$n[4].IEnumerable$1(System.Collections.Generic.Dictionary$2(System.String,System.String)),ps:0}],sn:"tbody",rt:Object,p:[$n[4].IEnumerable$1(System.Collections.Generic.Dictionary$2(System.String,System.String))]},{a:1,n:"td",t:8,pi:[{n:"kv",pt:$n[4].KeyValuePair$2(System.String,System.String),ps:0},{n:"id",pt:$n[0].String,ps:1}],sn:"td",rt:Object,p:[$n[4].KeyValuePair$2(System.String,System.String),$n[0].String]},{a:1,n:"thead",t:8,pi:[{n:"keys",pt:$n[4].IEnumerable$1(System.String),ps:0}],sn:"thead",rt:Object,p:[$n[4].IEnumerable$1(System.String)]},{a:1,n:"tr",t:8,pi:[{n:"item",pt:$n[4].Dictionary$2(System.String,System.String),ps:0}],sn:"tr",rt:Object,p:[$n[4].Dictionary$2(System.String,System.String)]}]}});$m("UIComponents.Collections.TagSetTD",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[16].TagSetTD.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[16].TagSetTD.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[16].TagSetTD.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"_input",t:8,sn:"_input",rt:Object},{a:1,n:"submit",t:8,pi:[{n:"newvalue",pt:$n[0].String,ps:0}],sn:"submit",rt:$n[0].Void,p:[$n[0].String]}]}});$m("UIComponents.Collections.TagSetTD.Props",function(){return{td:$n[16].TagSetTD,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[1].TagSetContext],pi:[{n:"context",pt:$n[1].TagSetContext,ps:0}],sn:"ctor"},{a:2,n:"Context",t:16,rt:$n[1].TagSetContext,g:{a:2,n:"get_Context",t:8,rt:$n[1].TagSetContext,fg:"context"},s:{a:2,n:"set_Context",t:8,p:[$n[1].TagSetContext],rt:$n[0].Void,fs:"context"},fn:"context"},{a:2,n:"Item",t:16,rt:$n[4].KeyValuePair$2(System.String,System.String),g:{a:2,n:"get_Item",t:8,rt:$n[4].KeyValuePair$2(System.String,System.String),fg:"item"},s:{a:2,n:"set_Item",t:8,p:[$n[4].KeyValuePair$2(System.String,System.String)],rt:$n[0].Void,fs:"item"},fn:"item"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"Update",t:16,rt:Function,g:{a:2,n:"get_Update",t:8,rt:Function,fg:"update"},s:{a:2,n:"set_Update",t:8,p:[Function],rt:$n[0].Void,fs:"update"},fn:"update"}]}});$m("UIComponents.Collections.TagSetTD.State",function(){return{td:$n[16].TagSetTD,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Modal",t:4,rt:$n[8].IKeyProps,sn:"modal"},{a:2,n:"TempValue",t:4,rt:$n[0].String,sn:"tempValue"}]}});$m("UIComponents.Collections.ODataCollection$2",function(T,C){return{att:1048705,a:2,m:[{a:3,n:".ctor",t:1,p:[$n[16].ODataCollection$2.Props$1(T,C,C),System.Array.type(System.Object)],pi:[{n:"props",pt:$n[16].ODataCollection$2.Props$1(T,C,C),ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Create",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"create",rt:$n[10].Task$1(XMLHttpRequest),p:[T]},{v:!0,a:2,n:"Delete",t:8,pi:[{n:"item",pt:T,ps:0},{n:"qparams",dv:"",o:!0,pt:$n[0].String,ps:1},{n:"altsrc",dv:null,o:!0,pt:$n[0].String,ps:2}],sn:"delete",rt:$n[10].Task$1(XMLHttpRequest),p:[T,$n[0].String,$n[0].String]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[16].ODataCollection$2.State(T,C)},{a:2,n:"New",t:8,pi:[{n:"newitem",pt:T,ps:0}],sn:"new",rt:$n[0].Void,p:[T]},{a:2,n:"RefreshAsync",t:8,sn:"refreshAsync",rt:$n[10].Task$1(UIComponents.Collections.ODataCollection$2.State(T,C))},{a:2,n:"Update",t:8,pi:[{n:"item",pt:T,ps:0}],sn:"update",rt:$n[10].Task$1(XMLHttpRequest),p:[T]}]}});$m("UIComponents.Collections.ODataCollection$2.Props$1",function(T,C,U){return{td:$n[16].ODataCollection$2(T,C),att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Filter",t:16,rt:$n[0].String,g:{a:2,n:"get_Filter",t:8,rt:$n[0].String,fg:"filter"},s:{a:2,n:"set_Filter",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"filter"},fn:"filter"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"ODataSrc",t:16,rt:$n[0].String,g:{a:2,n:"get_ODataSrc",t:8,rt:$n[0].String,fg:"oDataSrc"},s:{a:2,n:"set_ODataSrc",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"oDataSrc"},fn:"oDataSrc"},{a:2,n:"Template",t:16,rt:T,g:{a:2,n:"get_Template",t:8,rt:T,fg:"template"},s:{a:2,n:"set_Template",t:8,p:[T],rt:$n[0].Void,fs:"template"},fn:"template"},{a:2,n:"Context",t:4,rt:U,sn:"context"}]}});$m("UIComponents.Collections.ODataCollection$2.State",function(T,C){return{td:$n[16].ODataCollection$2(T,C),att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"NewItem",t:16,rt:T,g:{a:2,n:"get_NewItem",t:8,rt:T,fg:"newItem"},s:{a:2,n:"set_NewItem",t:8,p:[T],rt:$n[0].Void,fs:"newItem"},fn:"newItem"},{a:2,n:"DidLoad",t:4,rt:$n[0].Boolean,sn:"didLoad",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Items",t:4,rt:$n[4].List$1(T),sn:"items"}]}});$m("UIComponents.Components.IconButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[17].IconButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[17].IconButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"SettingsIcon",t:8,sn:"settingsIcon",rt:Object}]}});$m("UIComponents.Components.IconButton.Props",function(){return{td:$n[17].IconButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Attributes",t:16,rt:System.Object,g:{a:2,n:"get_Attributes",t:8,rt:System.Object,fg:"attributes"},s:{a:2,n:"set_Attributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"attributes"},fn:"attributes"},{a:2,n:"Icon",t:16,rt:$n[0].String,g:{a:2,n:"get_Icon",t:8,rt:$n[0].String,fg:"icon"},s:{a:2,n:"set_Icon",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"icon"},fn:"icon"},{a:2,n:"OnClick",t:16,rt:Function,g:{a:2,n:"get_OnClick",t:8,rt:Function,fg:"onClick"},s:{a:2,n:"set_OnClick",t:8,p:[Function],rt:$n[0].Void,fs:"onClick"},fn:"onClick"}]}});$m("UIComponents.Components.ProgressBar",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[17].ProgressBar.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[17].ProgressBar.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"invert",is:!0,t:8,pi:[{n:"fraction",pt:$n[0].Decimal,ps:0}],sn:"invert",rt:$n[0].Decimal,p:[$n[0].Decimal]}]}});$m("UIComponents.Components.ProgressBar.Props",function(){return{td:$n[17].ProgressBar,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"BackgroundColor",t:16,rt:$n[0].String,g:{a:2,n:"get_BackgroundColor",t:8,rt:$n[0].String,fg:"backgroundColor"},s:{a:2,n:"set_BackgroundColor",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"backgroundColor"},fn:"backgroundColor"},{a:2,n:"ContextName",t:16,rt:$n[0].String,g:{a:2,n:"get_ContextName",t:8,rt:$n[0].String,fg:"contextName"},s:{a:4,n:"set_ContextName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"contextName"},fn:"contextName"},{a:2,n:"Fraction",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_Fraction",t:8,rt:$n[0].Decimal,fg:"fraction"},s:{a:2,n:"set_Fraction",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"fraction"},fn:"fraction"},{a:2,n:"IsVertical",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsVertical",t:8,rt:$n[0].Boolean,fg:"isVertical",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsVertical",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isVertical"},fn:"isVertical"},{a:2,n:"Style",t:16,rt:System.Object,g:{a:2,n:"get_Style",t:8,rt:System.Object,fg:"style"},s:{a:2,n:"set_Style",t:8,p:[System.Object],rt:$n[0].Void,fs:"style"},fn:"style"}]}});$m("UIComponents.Components.Tooltips.Hint",function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Advanced",is:!0,t:4,rt:$n[18].Hint,sn:"advanced",box:function($v){return Bridge.box($v,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint))}},{a:2,n:"Always",is:!0,t:4,rt:$n[18].Hint,sn:"always",box:function($v){return Bridge.box($v,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint))}},{a:2,n:"Beginner",is:!0,t:4,rt:$n[18].Hint,sn:"beginner",box:function($v){return Bridge.box($v,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint))}},{a:2,n:"Hover",is:!0,t:4,rt:$n[18].Hint,sn:"hover",box:function($v){return Bridge.box($v,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint))}},{a:2,n:"Intermediate",is:!0,t:4,rt:$n[18].Hint,sn:"intermediate",box:function($v){return Bridge.box($v,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint))}},{a:2,n:"None",is:!0,t:4,rt:$n[18].Hint,sn:"none",box:function($v){return Bridge.box($v,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint))}},{a:2,n:"Open",is:!0,t:4,rt:$n[18].Hint,sn:"open",box:function($v){return Bridge.box($v,UIComponents.Components.Tooltips.Hint,System.Enum.toStringFn(UIComponents.Components.Tooltips.Hint))}}]}});$m("UIComponents.Components.Tooltips.ITooltip",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"UIComponents$Components$Tooltips$ITooltip$display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]}]}});$m("UIComponents.Components.Plugins.AlloyMenu.IAlloyPlugin$1",function(P){return{att:161,a:2,m:[{ab:!0,a:2,n:"Builder",t:8,sn:"UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$"+Bridge.getTypeAlias(P)+"$builder",rt:Function},{ab:!0,a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:'"UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$" + Bridge.getTypeAlias(P) + "$pluginKey"'},fn:'"UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$" + Bridge.getTypeAlias(P) + "$pluginKey"'},{ab:!0,a:2,n:"OnBuild",t:2,ad:{ab:!0,a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$"+Bridge.getTypeAlias(P)+"$addonBuild",rt:$n[0].Void,p:[Function]},r:{ab:!0,a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"UIComponents$Components$Plugins$AlloyMenu$IAlloyPlugin$1$"+Bridge.getTypeAlias(P)+"$removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"MenuButton",is:!0,t:8,pi:[{n:"key",pt:$n[0].String,ps:0},{n:"onClick",pt:Function,ps:1}],sn:"menuButton",rt:System.Object,p:[$n[0].String,Function]},{a:2,n:"MenuIcon",is:!0,t:8,pi:[{n:"key",pt:$n[0].String,ps:0},{n:"iconUrl",pt:$n[0].String,ps:1}],sn:"menuIcon",rt:System.Object,p:[$n[0].String,$n[0].String]},{a:2,n:"RegisterPlugin",is:!0,t:8,pi:[{n:"plugin",pt:$n[19].IAlloyPlugin$1(System.Object),ps:0},{n:"alloyhandle",pt:System.Object,ps:1}],tpc:1,tprm:["P"],sn:"registerPlugin",rt:$n[0].Void,p:[$n[19].IAlloyPlugin$1(System.Object),System.Object]}]}});$m("UIComponents.Components.Plugins.AlloyMenu.AlloyPlugin.Props",function(){return{td:$n[19].AlloyPlugin,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"cancelExclusive",t:4,rt:System.Object,sn:"cancelExclusive"},{a:2,n:"editor",t:4,rt:System.Object,sn:"editor"},{a:2,n:"expanded",t:4,rt:$n[0].Boolean,sn:"expanded",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"renderExclusive",t:4,rt:$n[0].Boolean,sn:"renderExclusive",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"requestExclusive",t:4,rt:System.Object,sn:"requestExclusive"},{a:2,n:"tabKey",t:4,rt:System.Object,sn:"tabKey"},{a:2,n:"toggleDropdown",t:4,rt:System.Object,sn:"toggleDropdown"},{a:2,n:"trigger",t:4,rt:$n[0].Object,sn:"trigger"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlockPlugin",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Builder",t:8,sn:"builder",rt:Function},{a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:"pluginKey"},fn:"pluginKey"},{a:2,n:"OnBuild",t:2,ad:{a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonBuild",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].ButtonEmbedPrefillBlock.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].ButtonEmbedPrefillBlock.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"setModal",t:8,sn:"setModal",rt:$n[0].Void}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props",function(){return{td:$n[19].ButtonEmbedPrefillBlock,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key$1"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key$1"},fn:"key$1"},{a:2,n:"Plugin",t:16,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props),g:{a:2,n:"get_Plugin",t:8,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props),fg:"plugin"},s:{a:2,n:"set_Plugin",t:8,p:[$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.Props)],rt:$n[0].Void,fs:"plugin"},fn:"plugin"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedPrefillBlock.State",function(){return{td:$n[19].ButtonEmbedPrefillBlock,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].EmbedPrefillBlock.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].EmbedPrefillBlock.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[19].EmbedPrefillBlock.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"insertInfor",t:8,pi:[{n:"text",pt:$n[0].String,ps:0}],sn:"insertInfor",rt:$n[0].Void,p:[$n[0].String]},{a:1,n:"blackList",is:!0,t:4,rt:$n[0].Array.type(System.String),sn:"blackList"},{a:1,n:"infors",is:!0,t:4,rt:$n[0].Array.type(System.String),sn:"infors"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.Props",function(){return{td:$n[19].EmbedPrefillBlock,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"editor",t:16,rt:System.Object,g:{a:2,n:"get_editor",t:8,rt:System.Object,fg:"editor"},s:{a:2,n:"set_editor",t:8,p:[System.Object],rt:$n[0].Void,fs:"editor"},fn:"editor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedPrefillBlock.State",function(){return{td:$n[19].EmbedPrefillBlock,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"embedInfor",t:4,rt:$n[0].String,sn:"embedInfor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlockPlugin",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Builder",t:8,sn:"builder",rt:Function},{a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:"pluginKey"},fn:"pluginKey"},{a:2,n:"OnBuild",t:2,ad:{a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonBuild",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].ButtonEmbedInforBlock.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].ButtonEmbedInforBlock.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"setModal",t:8,sn:"setModal",rt:$n[0].Void}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props",function(){return{td:$n[19].ButtonEmbedInforBlock,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key$1"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key$1"},fn:"key$1"},{a:2,n:"Plugin",t:16,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props),g:{a:2,n:"get_Plugin",t:8,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props),fg:"plugin"},s:{a:2,n:"set_Plugin",t:8,p:[$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.Props)],rt:$n[0].Void,fs:"plugin"},fn:"plugin"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedInforBlock.State",function(){return{td:$n[19].ButtonEmbedInforBlock,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].EmbedInforBlock.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].EmbedInforBlock.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[19].EmbedInforBlock.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"insertInfor",t:8,pi:[{n:"text",pt:$n[0].String,ps:0}],sn:"insertInfor",rt:$n[0].Void,p:[$n[0].String]},{a:1,n:"infors",is:!0,t:4,rt:$n[0].Array.type(System.String),sn:"infors"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.Props",function(){return{td:$n[19].EmbedInforBlock,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"editor",t:16,rt:System.Object,g:{a:2,n:"get_editor",t:8,rt:System.Object,fg:"editor"},s:{a:2,n:"set_editor",t:8,p:[System.Object],rt:$n[0].Void,fs:"editor"},fn:"editor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedInforBlock.State",function(){return{td:$n[19].EmbedInforBlock,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"embedInfor",t:4,rt:$n[0].String,sn:"embedInfor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedProgressBarPlugin",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[Function],pi:[{n:"onbuild",pt:Function,ps:0}],sn:"ctor"},{a:2,n:"Builder",t:8,sn:"builder",rt:Function},{a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:"pluginKey"},fn:"pluginKey"},{a:2,n:"OnBuild",t:2,ad:{a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonBuild",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].ButtonEmbedProgressBar.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].ButtonEmbedProgressBar.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"insertWidgetHTML",t:8,pi:[{n:"widgetapp",pt:Function,ps:0}],sn:"insertWidgetHTML",rt:$n[0].Void,p:[Function]},{a:1,n:"setModal",t:8,sn:"setModal",rt:$n[0].Void}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props",function(){return{td:$n[19].ButtonEmbedProgressBar,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key$1"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key$1"},fn:"key$1"},{a:2,n:"Plugin",t:16,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props),g:{a:2,n:"get_Plugin",t:8,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props),fg:"plugin"},s:{a:2,n:"set_Plugin",t:8,p:[$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.Props)],rt:$n[0].Void,fs:"plugin"},fn:"plugin"},{a:2,n:"ReloadParent",t:16,rt:Function,g:{a:2,n:"get_ReloadParent",t:8,rt:Function,fg:"reloadParent"},s:{a:2,n:"set_ReloadParent",t:8,p:[Function],rt:$n[0].Void,fs:"reloadParent"},fn:"reloadParent"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedProgressBar.State",function(){return{td:$n[19].ButtonEmbedProgressBar,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].AppealDialogModal.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].AppealDialogModal.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"confirmmodal",t:8,sn:"confirmmodal",rt:$n[8].ConfirmModal}]}});$m("UIComponents.Components.Plugins.AlloyMenu.AppealDialogModal.Props",function(){return{td:$n[19].AppealDialogModal,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealData",t:16,rt:$n[3].IAppealTitle,g:{a:2,n:"get_AppealData",t:8,rt:$n[3].IAppealTitle,fg:"appealData"},s:{a:2,n:"set_AppealData",t:8,p:[$n[3].IAppealTitle],rt:$n[0].Void,fs:"appealData"},fn:"appealData"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"OnSubmit",t:16,rt:Function,g:{a:2,n:"get_OnSubmit",t:8,rt:Function,fg:"onSubmit"},s:{a:2,n:"set_OnSubmit",t:8,p:[Function],rt:$n[0].Void,fs:"onSubmit"},fn:"onSubmit"},{a:2,n:"OnUpdate",t:16,rt:Function,g:{a:2,n:"get_OnUpdate",t:8,rt:Function,fg:"onUpdate"},s:{a:2,n:"set_OnUpdate",t:8,p:[Function],rt:$n[0].Void,fs:"onUpdate"},fn:"onUpdate"},{a:2,n:"Open",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Open",t:8,rt:$n[0].Boolean,fg:"open",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Open",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"open"},fn:"open"},{a:2,n:"WidgetData",t:16,rt:$n[20].ProgressWidgetControl.ProgressWidgetData,g:{a:2,n:"get_WidgetData",t:8,rt:$n[20].ProgressWidgetControl.ProgressWidgetData,fg:"widgetData"},s:{a:2,n:"set_WidgetData",t:8,p:[$n[20].ProgressWidgetControl.ProgressWidgetData],rt:$n[0].Void,fs:"widgetData"},fn:"widgetData"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].EmbedWidgetApp.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].EmbedWidgetApp.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"App",is:!0,t:8,pi:[{n:"properties",pt:System.Object,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],tpc:0,def:function(properties,children){return React.createElement("embedwidgetapp",Bridge.React.fixAttr(properties),children)},rt:Object,p:[System.Object,System.Array.type(System.Object)]},{ov:!0,a:3,n:"ComponentWillMount",t:8,sn:"componentWillMount",rt:$n[0].Void},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[19].EmbedWidgetApp.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"WidgetSelectModal",t:8,sn:"widgetSelectModal",rt:Object},{a:1,n:"WidgetStaticElement",t:8,pi:[{n:"elementId",pt:$n[0].String,ps:0}],sn:"widgetStaticElement",rt:Object,p:[$n[0].String]}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.Props",function(){return{td:$n[19].EmbedWidgetApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"Type",t:16,rt:$n[0].String,g:{a:2,n:"get_Type",t:8,rt:$n[0].String,fg:"type"},s:{a:2,n:"set_Type",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"type"},fn:"type"},{a:1,n:"__Property__Initializer__Type",t:4,rt:$n[0].String,sn:"__Property__Initializer__Type"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState",function(){return{td:$n[19].EmbedWidgetApp,att:258,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Initial",is:!0,t:4,rt:$n[19].EmbedWidgetApp.EmbedState,sn:"initial",box:function($v){return Bridge.box($v,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState,System.Enum.toStringFn(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState))}},{a:2,n:"Static",is:!0,t:4,rt:$n[19].EmbedWidgetApp.EmbedState,sn:"static",box:function($v){return Bridge.box($v,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState,System.Enum.toStringFn(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState))}},{a:2,n:"Widget",is:!0,t:4,rt:$n[19].EmbedWidgetApp.EmbedState,sn:"widget",box:function($v){return Bridge.box($v,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState,System.Enum.toStringFn(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState))}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.State",function(){return{td:$n[19].EmbedWidgetApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealData",t:4,rt:$n[3].IAppealTitle,sn:"appealData"},{a:2,n:"Open",t:4,rt:$n[0].Boolean,sn:"open",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"WidgetData",t:4,rt:$n[20].ProgressWidgetControl.ProgressWidgetData,sn:"widgetData"},{a:2,n:"WidgetID",t:4,rt:$n[0].String,sn:"widgetID"},{a:2,n:"WidgetState",t:4,rt:$n[19].EmbedWidgetApp.EmbedState,sn:"widgetState",box:function($v){return Bridge.box($v,UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState,System.Enum.toStringFn(UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetApp.EmbedState))}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainerPlugin",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[Function],pi:[{n:"onbuild",pt:Function,ps:0}],sn:"ctor"},{a:2,n:"Builder",t:8,sn:"builder",rt:Function},{a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:"pluginKey"},fn:"pluginKey"},{a:2,n:"OnBuild",t:2,ad:{a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonBuild",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].ButtonEmbedWidgetContainer.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].ButtonEmbedWidgetContainer.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"setModal",t:8,sn:"setModal",rt:$n[0].Void}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props",function(){return{td:$n[19].ButtonEmbedWidgetContainer,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key$1"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key$1"},fn:"key$1"},{a:2,n:"Plugin",t:16,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props),g:{a:2,n:"get_Plugin",t:8,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props),fg:"plugin"},s:{a:2,n:"set_Plugin",t:8,p:[$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.Props)],rt:$n[0].Void,fs:"plugin"},fn:"plugin"},{a:2,n:"ReloadParent",t:16,rt:Function,g:{a:2,n:"get_ReloadParent",t:8,rt:Function,fg:"reloadParent"},s:{a:2,n:"set_ReloadParent",t:8,p:[Function],rt:$n[0].Void,fs:"reloadParent"},fn:"reloadParent"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedWidgetContainer.State",function(){return{td:$n[19].ButtonEmbedWidgetContainer,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].EmbedWidgetContainer.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].EmbedWidgetContainer.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[19].EmbedWidgetContainer.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"insertHTML",t:8,pi:[{n:"widgetComponent",pt:Function,ps:0}],sn:"insertHTML",rt:$n[0].Void,p:[Function]},{a:1,n:"widgetTypes",is:!0,t:4,rt:$n[4].Dictionary$2(System.String,System.Object),sn:"widgetTypes"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.Props",function(){return{td:$n[19].EmbedWidgetContainer,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"ReloadParent",t:16,rt:Function,g:{a:2,n:"get_ReloadParent",t:8,rt:Function,fg:"reloadParent"},s:{a:2,n:"set_ReloadParent",t:8,p:[Function],rt:$n[0].Void,fs:"reloadParent"},fn:"reloadParent"},{a:2,n:"editor",t:16,rt:System.Object,g:{a:2,n:"get_editor",t:8,rt:System.Object,fg:"editor"},s:{a:2,n:"set_editor",t:8,p:[System.Object],rt:$n[0].Void,fs:"editor"},fn:"editor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedWidgetContainer.State",function(){return{td:$n[19].EmbedWidgetContainer,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Open",t:4,rt:$n[0].Boolean,sn:"open",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Selected",t:4,rt:$n[0].String,sn:"selected"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButtonPlugin",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Builder",t:8,sn:"builder",rt:Function},{a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:"pluginKey"},fn:"pluginKey"},{a:2,n:"OnBuild",t:2,ad:{a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonBuild",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].ButtonInsertLayoutButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].ButtonInsertLayoutButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"setModal",t:8,sn:"setModal",rt:$n[0].Void}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props",function(){return{td:$n[19].ButtonInsertLayoutButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key$1"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key$1"},fn:"key$1"},{a:2,n:"Plugin",t:16,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props),g:{a:2,n:"get_Plugin",t:8,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props),fg:"plugin"},s:{a:2,n:"set_Plugin",t:8,p:[$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.Props)],rt:$n[0].Void,fs:"plugin"},fn:"plugin"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertLayoutButton.State",function(){return{td:$n[19].ButtonInsertLayoutButton,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].InsertLayoutButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].InsertLayoutButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[19].InsertLayoutButton.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"insertHTML",t:8,pi:[{n:"sameWidth",pt:$n[0].Boolean,ps:0},{n:"col",pt:$n[0].Int32,ps:1},{n:"row",pt:$n[0].Int32,ps:2}],sn:"insertHTML",rt:$n[0].Void,p:[$n[0].Boolean,$n[0].Int32,$n[0].Int32]}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.Props",function(){return{td:$n[19].InsertLayoutButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"editor",t:16,rt:System.Object,g:{a:2,n:"get_editor",t:8,rt:System.Object,fg:"editor"},s:{a:2,n:"set_editor",t:8,p:[System.Object],rt:$n[0].Void,fs:"editor"},fn:"editor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertLayoutButton.State",function(){return{td:$n[19].InsertLayoutButton,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Col",t:4,rt:$n[0].Int32,sn:"col",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"IsVertical",t:4,rt:$n[0].Boolean,sn:"isVertical",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Row",t:4,rt:$n[0].Int32,sn:"row",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButtonPlugin",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Builder",t:8,sn:"builder",rt:Function},{a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:"pluginKey"},fn:"pluginKey"},{a:2,n:"OnBuild",t:2,ad:{a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonBuild",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].ButtonInsertAmountButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].ButtonInsertAmountButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"setModal",t:8,sn:"setModal",rt:$n[0].Void}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props",function(){return{td:$n[19].ButtonInsertAmountButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key$1"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key$1"},fn:"key$1"},{a:2,n:"Plugin",t:16,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props),g:{a:2,n:"get_Plugin",t:8,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props),fg:"plugin"},s:{a:2,n:"set_Plugin",t:8,p:[$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.Props)],rt:$n[0].Void,fs:"plugin"},fn:"plugin"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertAmountButton.State",function(){return{td:$n[19].ButtonInsertAmountButton,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].InsertAmountButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].InsertAmountButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[19].InsertAmountButton.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"insertHTML",t:8,pi:[{n:"innertext",pt:$n[0].String,ps:0},{n:"style",pt:$n[0].String,ps:1},{n:"amount",dv:"0",o:!0,pt:$n[0].String,ps:2}],sn:"insertHTML",rt:$n[0].Void,p:[$n[0].String,$n[0].String,$n[0].String]}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.Props",function(){return{td:$n[19].InsertAmountButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"editor",t:16,rt:System.Object,g:{a:2,n:"get_editor",t:8,rt:System.Object,fg:"editor"},s:{a:2,n:"set_editor",t:8,p:[System.Object],rt:$n[0].Void,fs:"editor"},fn:"editor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertAmountButton.State",function(){return{td:$n[19].InsertAmountButton,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Amount",t:4,rt:$n[0].String,sn:"amount"},{a:2,n:"Label",t:4,rt:$n[0].String,sn:"label"},{a:2,n:"StyleOption",t:4,rt:$n[0].String,sn:"styleOption"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertReadMorePlugin",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Builder",t:8,sn:"builder",rt:Function},{a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:"pluginKey"},fn:"pluginKey"},{a:2,n:"OnBuild",t:2,ad:{a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonBuild",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].ButtonInsertReadMore.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].ButtonInsertReadMore.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"setModal",t:8,sn:"setModal",rt:$n[0].Void}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props",function(){return{td:$n[19].ButtonInsertReadMore,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key$1"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key$1"},fn:"key$1"},{a:2,n:"Plugin",t:16,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props),g:{a:2,n:"get_Plugin",t:8,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props),fg:"plugin"},s:{a:2,n:"set_Plugin",t:8,p:[$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.Props)],rt:$n[0].Void,fs:"plugin"},fn:"plugin"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertReadMore.State",function(){return{td:$n[19].ButtonInsertReadMore,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertReadMore",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].InsertReadMore.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].InsertReadMore.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[19].InsertReadMore.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"insertHTML",t:8,pi:[{n:"mobileonly",dv:!0,o:!0,pt:$n[0].Boolean,ps:0},{n:"text",dv:"Click to Read More...",o:!0,pt:$n[0].String,ps:1}],sn:"insertHTML",rt:$n[0].Void,p:[$n[0].Boolean,$n[0].String]}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.Props",function(){return{td:$n[19].InsertReadMore,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"editor",t:16,rt:System.Object,g:{a:2,n:"get_editor",t:8,rt:System.Object,fg:"editor"},s:{a:2,n:"set_editor",t:8,p:[System.Object],rt:$n[0].Void,fs:"editor"},fn:"editor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertReadMore.State",function(){return{td:$n[19].InsertReadMore,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"innerText",t:4,rt:$n[0].String,sn:"innerText"},{a:2,n:"mobileOnly",t:4,rt:$n[0].Boolean,sn:"mobileOnly",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutubePlugin",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Builder",t:8,sn:"builder",rt:Function},{a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:"pluginKey"},fn:"pluginKey"},{a:2,n:"OnBuild",t:2,ad:{a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonBuild",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].ButtonEmbedYoutube.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].ButtonEmbedYoutube.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"setModal",t:8,sn:"setModal",rt:$n[0].Void}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props",function(){return{td:$n[19].ButtonEmbedYoutube,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key$1"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key$1"},fn:"key$1"},{a:2,n:"Plugin",t:16,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props),g:{a:2,n:"get_Plugin",t:8,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props),fg:"plugin"},s:{a:2,n:"set_Plugin",t:8,p:[$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.Props)],rt:$n[0].Void,fs:"plugin"},fn:"plugin"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonEmbedYoutube.State",function(){return{td:$n[19].ButtonEmbedYoutube,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].EmbedYoutube.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].EmbedYoutube.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[19].EmbedYoutube.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"insertVideo",t:8,pi:[{n:"url",pt:$n[0].String,ps:0}],sn:"insertVideo",rt:$n[0].Void,p:[$n[0].String]},{a:1,n:"vids",is:!0,t:4,rt:$n[0].Array.type(System.String),sn:"vids"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.Props",function(){return{td:$n[19].EmbedYoutube,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"editor",t:16,rt:System.Object,g:{a:2,n:"get_editor",t:8,rt:System.Object,fg:"editor"},s:{a:2,n:"set_editor",t:8,p:[System.Object],rt:$n[0].Void,fs:"editor"},fn:"editor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.EmbedYoutube.State",function(){return{td:$n[19].EmbedYoutube,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"embedUrl",t:4,rt:$n[0].String,sn:"embedUrl"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButtonPlugin",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Builder",t:8,sn:"builder",rt:Function},{a:2,n:"PluginKey",t:16,rt:$n[0].String,g:{a:2,n:"get_PluginKey",t:8,rt:$n[0].String,fg:"pluginKey"},fn:"pluginKey"},{a:2,n:"OnBuild",t:2,ad:{a:2,n:"add_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonBuild",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnBuild",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonBuild",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].ButtonInsertSocialButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].ButtonInsertSocialButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"setModal",t:8,sn:"setModal",rt:$n[0].Void}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props",function(){return{td:$n[19].ButtonInsertSocialButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key$1"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key$1"},fn:"key$1"},{a:2,n:"Plugin",t:16,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props),g:{a:2,n:"get_Plugin",t:8,rt:$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props),fg:"plugin"},s:{a:2,n:"set_Plugin",t:8,p:[$n[19].IAlloyPlugin$1(UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.Props)],rt:$n[0].Void,fs:"plugin"},fn:"plugin"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.ButtonInsertSocialButton.State",function(){return{td:$n[19].ButtonInsertSocialButton,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[19].InsertSocialButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[19].InsertSocialButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[19].InsertSocialButton.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"fbHtml",t:8,pi:[{n:"social_url",dv:"{{{social_url}}}",o:!0,pt:$n[0].String,ps:0}],sn:"fbHtml",rt:$n[0].String,p:[$n[0].String]},{a:1,n:"insertHTML",t:8,pi:[{n:"buttonType",pt:$n[19].InsertSocialButton.ButtonType,ps:0},{n:"shareurl",pt:$n[0].String,ps:1}],sn:"insertHTML",rt:$n[0].Void,p:[$n[19].InsertSocialButton.ButtonType,$n[0].String]},{a:1,n:"twHtml",t:8,pi:[{n:"social_url",dv:"{{{social_url}}}",o:!0,pt:$n[0].String,ps:0}],sn:"twHtml",rt:$n[0].String,p:[$n[0].String]}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType",function(){return{td:$n[19].InsertSocialButton,att:258,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Facebook",is:!0,t:4,rt:$n[19].InsertSocialButton.ButtonType,sn:"facebook",box:function($v){return Bridge.box($v,UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType,System.Enum.toStringFn(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType))}},{a:2,n:"Twitter",is:!0,t:4,rt:$n[19].InsertSocialButton.ButtonType,sn:"twitter",box:function($v){return Bridge.box($v,UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType,System.Enum.toStringFn(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType))}}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.Props",function(){return{td:$n[19].InsertSocialButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Active",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Active",t:8,rt:$n[0].Boolean,fg:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Active",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"active"},fn:"active"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnClose",t:16,rt:Function,g:{a:2,n:"get_OnClose",t:8,rt:Function,fg:"onClose"},s:{a:2,n:"set_OnClose",t:8,p:[Function],rt:$n[0].Void,fs:"onClose"},fn:"onClose"},{a:2,n:"editor",t:16,rt:System.Object,g:{a:2,n:"get_editor",t:8,rt:System.Object,fg:"editor"},s:{a:2,n:"set_editor",t:8,p:[System.Object],rt:$n[0].Void,fs:"editor"},fn:"editor"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.State",function(){return{td:$n[19].InsertSocialButton,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Data",t:4,rt:$n[19].InsertSocialButton.SocialButtonData,sn:"data"}]}});$m("UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.SocialButtonData",function(){return{td:$n[19].InsertSocialButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.$ctor1("text",!1,1,UIComponents.Components.Form.Labels.HelpLabel.Props,System.Array.init(["Shared URL","Target Shared URL","<p>The URL that will be included in the post. {{{social_url}}} will attempt to automatically use the current donation page.<\/p>"],System.Object)),new UIComponents.Components.Form.Editor.HasValidatorAttribute(UIComponents.FormValidator.MinLength,System.Array.init([7],System.Object))],a:2,n:"shareurl",t:16,rt:$n[0].String,g:{a:2,n:"get_shareurl",t:8,rt:$n[0].String,fg:"shareurl"},s:{a:2,n:"set_shareurl",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"shareurl"},fn:"shareurl"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.$ctor2(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType,!1,1,UIComponents.Components.Form.Labels.HelpLabel.Props,System.Array.init(["Button Action","Social Media Action","<p>Choose the social media platform to share on<\/p>"],System.Object))],a:2,n:"type",t:16,rt:$n[19].InsertSocialButton.ButtonType,g:{a:2,n:"get_type",t:8,rt:$n[19].InsertSocialButton.ButtonType,fg:"type",box:function($v){return Bridge.box($v,UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType,System.Enum.toStringFn(UIComponents.Components.Plugins.AlloyMenu.InsertSocialButton.ButtonType))}},s:{a:2,n:"set_type",t:8,p:[$n[19].InsertSocialButton.ButtonType],rt:$n[0].Void,fs:"type"},fn:"type"}]}});$m("UIComponents.Components.Containers.SimpleCarouselContainer",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[21].SimpleCarouselContainer.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[21].SimpleCarouselContainer.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Components.Containers.SimpleCarouselContainer.Props",function(){return{td:$n[21].SimpleCarouselContainer,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"}]}});$m("UIComponents.Components.Containers.SimpleCarouselContainer.State",function(){return{td:$n[21].SimpleCarouselContainer,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"}]}});$m("UIComponents.Components.Form.ISubmitForm",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Render",t:8,sn:"UIComponents$Components$Form$ISubmitForm$render",rt:Object},{ab:!0,a:2,n:"OnSubmit",t:16,rt:Function,g:{ab:!0,a:2,n:"get_OnSubmit",t:8,rt:Function,fg:"UIComponents$Components$Form$ISubmitForm$onSubmit"},s:{ab:!0,a:2,n:"set_OnSubmit",t:8,p:[Function],rt:$n[0].Void,fs:"UIComponents$Components$Form$ISubmitForm$onSubmit"},fn:"UIComponents$Components$Form$ISubmitForm$onSubmit"}]}});$m("UIComponents.Components.Form.SubmitEventArgs",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Fields",t:4,rt:$n[4].IDictionary$2(System.String,System.String),sn:"fields"}]}});$m("UIComponents.Components.Form.FlexForm",function(){return{att:1048705,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[22].FlexForm.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[22].FlexForm.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:3,n:"Components",t:8,sn:"components",rt:$n[4].List$1(System.Object)}]}});$m("UIComponents.Components.Form.FlexForm.Props",function(){return{td:$n[22].FlexForm,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Fields",t:16,rt:$n[4].IEnumerable$1(UIComponents.FormField.FieldProps),g:{a:2,n:"get_Fields",t:8,rt:$n[4].IEnumerable$1(UIComponents.FormField.FieldProps),fg:"fields"},s:{a:2,n:"set_Fields",t:8,p:[$n[4].IEnumerable$1(UIComponents.FormField.FieldProps)],rt:$n[0].Void,fs:"fields"},fn:"fields"},{a:2,n:"FormAttributes",t:16,rt:System.Object,g:{a:2,n:"get_FormAttributes",t:8,rt:System.Object,fg:"formAttributes"},s:{a:2,n:"set_FormAttributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"formAttributes"},fn:"formAttributes"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnSubmit",t:16,rt:Function,g:{a:2,n:"get_OnSubmit",t:8,rt:Function,fg:"onSubmit"},s:{a:2,n:"set_OnSubmit",t:8,p:[Function],rt:$n[0].Void,fs:"onSubmit"},fn:"onSubmit"},{a:2,n:"Disabled",t:4,rt:$n[0].Boolean,sn:"disabled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Form.HorizontalForm",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[22].FlexForm.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[22].FlexForm.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Components.Form.VerticalForm",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[22].FlexForm.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[22].FlexForm.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Components.Form.Editor.InputForAttribute",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[String,$n[0].Boolean,$n[0].Int32,$n[0].String],pi:[{n:"inputtype",pt:String,ps:0},{n:"disabled",dv:!1,o:!0,pt:$n[0].Boolean,ps:1},{n:"order",dv:2147483647,o:!0,pt:$n[0].Int32,ps:2},{n:"inputlabel",dv:null,o:!0,pt:$n[0].String,ps:3}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[String,$n[0].Boolean,$n[0].Int32,Function,$n[0].Array.type(System.Object)],pi:[{n:"inputtype",pt:String,ps:0},{n:"disabled",pt:$n[0].Boolean,ps:1},{n:"order",pt:$n[0].Int32,ps:2},{n:"labeltype",pt:Function,ps:3},{n:"labelargs",ip:!0,pt:$n[0].Array.type(System.Object),ps:4}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[Function,$n[0].Boolean,$n[0].Int32,Function,$n[0].Array.type(System.Object)],pi:[{n:"selectenumtype",pt:Function,ps:0},{n:"disabled",pt:$n[0].Boolean,ps:1},{n:"order",pt:$n[0].Int32,ps:2},{n:"labeltype",pt:Function,ps:3},{n:"labelargs",ip:!0,pt:$n[0].Array.type(System.Object),ps:4}],sn:"$ctor2"},{a:2,n:"LabelFactory",is:!0,t:8,pi:[{n:"propstype",pt:Function,ps:0},{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],sn:"labelFactory",rt:$n[8].IKeyProps,p:[Function,$n[0].Array.type(System.Object)]},{a:2,n:"Disabled",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Disabled",t:8,rt:$n[0].Boolean,fg:"disabled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:1,n:"set_Disabled",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"disabled"},fn:"disabled"},{a:2,n:"InputLabel",t:4,rt:$n[8].IKeyProps,sn:"inputLabel",ro:!0},{a:2,n:"InputType",t:4,rt:String,sn:"inputType",ro:!0},{a:2,n:"SelectOptions",t:4,rt:$n[4].Dictionary$2(System.Object,System.String),sn:"selectOptions",ro:!0},{a:2,n:"SortOrder",t:4,rt:$n[0].Int32,sn:"sortOrder",ro:!0,box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"OnChanged",t:2,ad:{a:2,n:"add_OnChanged",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonChanged",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnChanged",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonChanged",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Form.Editor.HasValidatorAttribute",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[Function,$n[0].Array.type(System.Object)],pi:[{n:"propstype",pt:Function,ps:0},{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"ValidatorFactory",is:!0,t:8,pi:[{n:"propstype",pt:Function,ps:0},{n:"args",ip:!0,pt:$n[0].Array.type(System.Object),ps:1}],sn:"validatorFactory",rt:$n[8].IValidator,p:[Function,$n[0].Array.type(System.Object)]},{a:2,n:"Validator",t:16,rt:$n[8].IValidator,g:{a:2,n:"get_Validator",t:8,rt:$n[8].IValidator,fg:"validator"},s:{a:2,n:"set_Validator",t:8,p:[$n[8].IValidator],rt:$n[0].Void,fs:"validator"},fn:"validator"}],am:!0}});$m("UIComponents.Components.Form.Editor.Editor$1",function(T){return{att:1048705,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[23].Editor$1.Props(T),System.Array.type(System.Object)],pi:[{n:"props",pt:$n[23].Editor$1.Props(T),ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:1,n:"CreateFormInputProps",t:8,sn:"createFormInputProps",rt:$n[4].Dictionary$2(System.Reflection.PropertyInfo,UIComponents.FormInput.Props)},{a:1,n:"GetFieldProps",t:8,pi:[{n:"p",pt:$n[24].PropertyInfo,ps:0}],sn:"getFieldProps",rt:$n[8].FormInput.Props,p:[$n[24].PropertyInfo]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[23].Editor$1.State(T)},{a:1,n:"UpdateItemProps",t:8,pi:[{n:"p",pt:$n[24].PropertyInfo,ps:0},{n:"x",pt:$n[0].String,ps:1}],sn:"updateItemProps",rt:$n[0].Void,p:[$n[24].PropertyInfo,$n[0].String]},{a:1,n:"parseColor",is:!0,t:8,pi:[{n:"field",pt:$n[8].FormInput.Props,ps:0}],sn:"parseColor",rt:$n[0].String,p:[$n[8].FormInput.Props]},{a:1,n:"parseDateTime",is:!0,t:8,pi:[{n:"value",pt:$n[0].String,ps:0}],sn:"parseDateTime",rt:$n[0].String,p:[$n[0].String]},{a:3,n:"removeBtn",t:8,sn:"removeBtn",rt:Object},{a:2,n:"Columns",t:16,rt:$n[0].Int32,g:{a:2,n:"get_Columns",t:8,rt:$n[0].Int32,fg:"columns",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:1,n:"set_Columns",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"columns"},fn:"columns"},{a:2,n:"ItemProps",t:16,rt:T,g:{a:2,n:"get_ItemProps",t:8,rt:T,fg:"itemProps"},s:{a:1,n:"set_ItemProps",t:8,p:[T],rt:$n[0].Void,fs:"itemProps"},fn:"itemProps"},{a:1,n:"__Property__Initializer__Columns",t:4,rt:$n[0].Int32,sn:"__Property__Initializer__Columns",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.Components.Form.Editor.Editor$1.Props",function(T){return{td:$n[23].Editor$1(T),att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Initial",t:16,rt:T,g:{a:2,n:"get_Initial",t:8,rt:T,fg:"initial"},s:{a:2,n:"set_Initial",t:8,p:[T],rt:$n[0].Void,fs:"initial"},fn:"initial"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnDelete",t:16,rt:Function,g:{a:2,n:"get_OnDelete",t:8,rt:Function,fg:"onDelete"},s:{a:2,n:"set_OnDelete",t:8,p:[Function],rt:$n[0].Void,fs:"onDelete"},fn:"onDelete"},{a:2,n:"OnUpdate",t:16,rt:Function,g:{a:2,n:"get_OnUpdate",t:8,rt:Function,fg:"onUpdate"},s:{a:2,n:"set_OnUpdate",t:8,p:[Function],rt:$n[0].Void,fs:"onUpdate"},fn:"onUpdate"}]}});$m("UIComponents.Components.Form.Editor.Editor$1.State",function(T){return{td:$n[23].Editor$1(T),att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Fields",t:4,rt:$n[4].Dictionary$2(System.Reflection.PropertyInfo,UIComponents.FormInput.Props),sn:"fields"}]}});$m("UIComponents.Components.Form.Editor.EditorColumn$1",function(T){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[23].Editor$1.Props(T),System.Array.type(System.Object)],pi:[{n:"props",pt:$n[23].Editor$1.Props(T),ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Components.Form.Editor.EditorRow$1",function(T){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[23].Editor$1.Props(T),System.Array.type(System.Object)],pi:[{n:"props",pt:$n[23].Editor$1.Props(T),ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Components.Form.Buttons.ButtonEditor",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[9].ButtonEditor.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[9].ButtonEditor.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:1,n:"Bind",t:8,pi:[{n:"inputKey",pt:$n[0].String,ps:0},{n:"p",pt:$n[9].EventButton.Props,ps:1}],sn:"bind",rt:$n[23].Editor$1.Props(UIComponents.Components.Form.Buttons.EventButton.Props),p:[$n[0].String,$n[9].EventButton.Props]},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[9].ButtonEditor.State},{a:1,n:"RefreshState",t:8,pi:[{n:"buttonProps",pt:$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props),ps:0}],sn:"refreshState",rt:$n[9].ButtonEditor.State,p:[$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props)]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"createControl",t:8,sn:"createControl",rt:Object}]}});$m("UIComponents.Components.Form.Buttons.ButtonEditor.Props",function(){return{td:$n[9].ButtonEditor,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Initial",t:16,rt:$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props),g:{a:2,n:"get_Initial",t:8,rt:$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props),fg:"initial"},s:{a:2,n:"set_Initial",t:8,p:[$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props)],rt:$n[0].Void,fs:"initial"},fn:"initial"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"OnSave",t:16,rt:Function,g:{a:2,n:"get_OnSave",t:8,rt:Function,fg:"onSave"},s:{a:2,n:"set_OnSave",t:8,p:[Function],rt:$n[0].Void,fs:"onSave"},fn:"onSave"}]}});$m("UIComponents.Components.Form.Buttons.ButtonEditor.State",function(){return{td:$n[9].ButtonEditor,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"ButtonProps",t:4,rt:$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props),sn:"buttonProps"},{a:2,n:"EditorRows",t:4,rt:$n[4].List$1(UIComponents.Components.Form.Editor.Editor$1.Props(UIComponents.Components.Form.Buttons.EventButton.Props)),sn:"editorRows"},{a:2,n:"Selected",t:4,rt:$n[0].String,sn:"selected"}]}});$m("UIComponents.Components.Form.Buttons.EventButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[9].EventButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[9].EventButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:4,n:"FromElement",is:!0,t:8,pi:[{n:"inner",pt:HTMLAnchorElement,ps:0}],sn:"fromElement",rt:$n[9].EventButton.Props,p:[HTMLAnchorElement]},{a:2,n:"GetButtons",is:!0,t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"getButtons",rt:System.Array.type(UIComponents.Components.Form.Buttons.EventButton.Props),p:[HTMLElement]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"DATA_ONCLICK",is:!0,t:4,rt:$n[0].String,sn:"DATA_ONCLICK"}]}});$m("UIComponents.Components.Form.Buttons.EventButton.Props",function(){return{td:$n[9].EventButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("color",!1,2147483647,null)],a:2,n:"ButtonColour",t:16,rt:$n[0].String,g:{a:2,n:"get_ButtonColour",t:8,rt:$n[0].String,fg:"buttonColour"},s:{a:2,n:"set_ButtonColour",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"buttonColour"},fn:"buttonColour"},{a:2,n:"Disabled",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Disabled",t:8,rt:$n[0].Boolean,fg:"disabled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Disabled",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"disabled"},fn:"disabled"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("text",!1,2147483647,null)],a:2,n:"Label",t:16,rt:$n[0].String,g:{a:2,n:"get_Label",t:8,rt:$n[0].String,fg:"label"},s:{a:2,n:"set_Label",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"label"},fn:"label"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("text",!0,5,"Button Action")],a:2,n:"OnClick",t:16,rt:$n[15].SubmitAction,g:{a:2,n:"get_OnClick",t:8,rt:$n[15].SubmitAction,fg:"onClick",box:function($v){return Bridge.box($v,UIComponents.Dispatchers.SubmitAction,System.Enum.toStringFn(UIComponents.Dispatchers.SubmitAction))}},s:{a:2,n:"set_OnClick",t:8,p:[$n[15].SubmitAction],rt:$n[0].Void,fs:"onClick"},fn:"onClick"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("color",!1,2147483647,null)],a:2,n:"TextColour",t:16,rt:$n[0].String,g:{a:2,n:"get_TextColour",t:8,rt:$n[0].String,fg:"textColour"},s:{a:2,n:"set_TextColour",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"textColour"},fn:"textColour"},{a:1,n:"_background",t:4,rt:$n[0].String,sn:"_background"},{a:1,n:"_color",t:4,rt:$n[0].String,sn:"_color"}]}});$m("UIComponents.Components.Form.Buttons.EventButton.State",function(){return{td:$n[9].EventButton,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"}]}});$m("UIComponents.Components.Form.Buttons.EventButton.EventButtonComparer",function(){return{td:$n[9].EventButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Equals",t:8,pi:[{n:"x",pt:$n[9].EventButton.Props,ps:0},{n:"y",pt:$n[9].EventButton.Props,ps:1}],sn:"equals2",rt:$n[0].Boolean,p:[$n[9].EventButton.Props,$n[9].EventButton.Props],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"GetHashCode",t:8,pi:[{n:"obj",pt:$n[9].EventButton.Props,ps:0}],sn:"getHashCode2",rt:$n[0].Int32,p:[$n[9].EventButton.Props],box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.Components.Form.Buttons.SimpleButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[9].SimpleButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[9].SimpleButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Components.Form.Buttons.SimpleButton.Props",function(){return{td:$n[9].SimpleButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Attributes",t:16,rt:System.Object,g:{a:2,n:"get_Attributes",t:8,rt:System.Object,fg:"attributes"},s:{a:2,n:"set_Attributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"attributes"},fn:"attributes"},{a:2,n:"OnClick",t:16,rt:Function,g:{a:2,n:"get_OnClick",t:8,rt:Function,fg:"onClick"},s:{a:2,n:"set_OnClick",t:8,p:[Function],rt:$n[0].Void,fs:"onClick"},fn:"onClick"}]}});$m("UIComponents.Components.Form.Buttons.SingleButton",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[9].SingleButton.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[9].SingleButton.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[9].SingleButton.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Components.Form.Buttons.SingleButton.Props",function(){return{td:$n[9].SingleButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Attributes",t:16,rt:System.Object,g:{a:2,n:"get_Attributes",t:8,rt:System.Object,fg:"attributes"},s:{a:2,n:"set_Attributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"attributes"},fn:"attributes"},{a:2,n:"OnClick",t:16,rt:Function,g:{a:2,n:"get_OnClick",t:8,rt:Function,fg:"onClick"},s:{a:2,n:"set_OnClick",t:8,p:[Function],rt:$n[0].Void,fs:"onClick"},fn:"onClick"}]}});$m("UIComponents.Components.Form.Buttons.SingleButton.State",function(){return{td:$n[9].SingleButton,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Clicks",t:4,rt:$n[0].Int32,sn:"clicks",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.Components.Form.Labels.HelpLabel",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[25].HelpLabel.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[25].HelpLabel.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[25].HelpLabel.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"helpButton",t:8,sn:"helpButton",rt:Object}]}});$m("UIComponents.Components.Form.Labels.HelpLabel.State",function(){return{td:$n[25].HelpLabel,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Clicked",t:4,rt:$n[0].Boolean,sn:"clicked",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Open",t:4,rt:$n[0].Boolean,sn:"open",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Form.Labels.HelpLabel.Props",function(){return{td:$n[25].HelpLabel,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].String,$n[0].String],pi:[{n:"label",pt:$n[0].String,ps:0},{n:"title",dv:"Need Help?",o:!0,pt:$n[0].String,ps:1},{n:"message",dv:"Contact theteam@giveeasy.org if you have questions!",o:!0,pt:$n[0].String,ps:2}],sn:"$ctor1"},{ov:!0,a:2,n:"ToString",t:8,sn:"toString",rt:$n[0].String},{a:2,n:"Attributes",t:16,rt:System.Object,g:{a:2,n:"get_Attributes",t:8,rt:System.Object,fg:"attributes"},s:{a:2,n:"set_Attributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"attributes"},fn:"attributes"},{a:2,n:"Label",t:16,rt:$n[0].String,g:{a:2,n:"get_Label",t:8,rt:$n[0].String,fg:"label"},s:{a:2,n:"set_Label",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"label"},fn:"label"},{a:2,n:"Message",t:16,rt:$n[0].String,g:{a:2,n:"get_Message",t:8,rt:$n[0].String,fg:"message"},s:{a:2,n:"set_Message",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"message"},fn:"message"},{a:2,n:"Title",t:16,rt:$n[0].String,g:{a:2,n:"get_Title",t:8,rt:$n[0].String,fg:"title"},s:{a:2,n:"set_Title",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"title"},fn:"title"},{a:2,n:"OnClicked",t:4,rt:Function,sn:"onClicked"}]}});$m("UIComponents.Components.Form.Labels.TNCLabel",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[25].TNCLabel.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[25].TNCLabel.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Components.Form.Labels.TNCLabel.Props",function(){return{td:$n[25].TNCLabel,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{ov:!0,a:2,n:"ToString",t:8,sn:"toString",rt:$n[0].String},{a:2,n:"Href",t:16,rt:$n[0].String,g:{a:2,n:"get_Href",t:8,rt:$n[0].String,fg:"href"},s:{a:2,n:"set_Href",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"href"},fn:"href"},{a:2,n:"Label",t:16,rt:$n[0].String,g:{a:2,n:"get_Label",t:8,rt:$n[0].String,fg:"label$1"},s:{a:2,n:"set_Label",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"label$1"},fn:"label$1"},{a:1,n:"__Property__Initializer__Href",t:4,rt:$n[0].String,sn:"__Property__Initializer__Href"},{a:1,n:"__Property__Initializer__Label",t:4,rt:$n[0].String,sn:"__Property__Initializer__Label"}]}});$m("UIComponents.Components.Form.Labels.FormLabel",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[25].FormLabel.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[25].FormLabel.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Components.Form.Labels.FormLabel.Props",function(){return{td:$n[25].FormLabel,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"label",pt:$n[0].String,ps:0}],sn:"$ctor1"},{ov:!0,a:2,n:"ToString",t:8,sn:"toString",rt:$n[0].String},{a:2,n:"Attributes",t:16,rt:System.Object,g:{a:2,n:"get_Attributes",t:8,rt:System.Object,fg:"attributes"},s:{a:2,n:"set_Attributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"attributes"},fn:"attributes"},{a:2,n:"Label",t:16,rt:$n[0].String,g:{a:2,n:"get_Label",t:8,rt:$n[0].String,fg:"label"},s:{a:2,n:"set_Label",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"label"},fn:"label"}]}});$m("UIComponents.Components.Form.Fields.CustSelectInput",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[26].CustSelectInput.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[26].CustSelectInput.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"Control",t:8,pi:[{n:"newprops",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"control",rt:Object,p:[System.Object]},{a:1,n:"OnUpdate",t:8,sn:"onUpdate$1",rt:Function}]}});$m("UIComponents.Components.Form.Fields.CustSelectInput.Props",function(){return{td:$n[26].CustSelectInput,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[8].CustInput.Props],pi:[{n:"p",pt:$n[8].CustInput.Props,ps:0}],sn:"$ctor1"},{a:2,n:".ctor",t:1,p:[$n[0].String,$n[0].Int32],pi:[{n:"name",pt:$n[0].String,ps:0},{n:"order",pt:$n[0].Int32,ps:1}],sn:"ctor"},{ov:!0,a:2,n:"BuildEditor",t:8,pi:[{n:"OnUpdate",pt:Function,ps:0}],sn:"buildEditor",rt:Object,p:[Function]},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("hidden",!0,6,"Hidden")],a:2,n:"IsHidden",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsHidden",t:8,rt:$n[0].Boolean,fg:"isHidden$1",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"isHidden$1"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("text",!1,10,"Option List")],a:2,n:"Options",t:16,rt:$n[0].String,g:{a:2,n:"get_Options",t:8,rt:$n[0].String,fg:"options"},s:{a:2,n:"set_Options",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"options"},fn:"options"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("hidden",!1,3,"Placeholder")],a:2,n:"Placeholder",t:16,rt:$n[0].String,g:{a:2,n:"get_Placeholder",t:8,rt:$n[0].String,fg:"placeholder$1"},s:{a:2,n:"set_Placeholder",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"placeholder$1"},fn:"placeholder$1"}]}});$m("UIComponents.Components.Form.Fields.CustSelectInput.Props.CustSelectConfig",function(){return{td:$n[26].CustSelectInput.Props,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Options",t:16,rt:$n[0].String,g:{a:2,n:"get_Options",t:8,rt:$n[0].String,fg:"options"},s:{a:2,n:"set_Options",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"options"},fn:"options"},{a:1,n:"__Property__Initializer__Options",t:4,rt:$n[0].String,sn:"__Property__Initializer__Options"}]}});$m("UIComponents.Components.Form.Fields.CommentMessageInput",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[26].CommentMessageInput.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[26].CommentMessageInput.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"Control",t:8,pi:[{n:"newprops",pt:System.Object,ps:0}],tpc:1,tprm:["P"],sn:"control",rt:Object,p:[System.Object]}]}});$m("UIComponents.Components.Form.Fields.CommentMessageInput.Props",function(){return{td:$n[26].CommentMessageInput,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[8].CustInput.Props],pi:[{n:"p",pt:$n[8].CustInput.Props,ps:0}],sn:"$ctor1"},{ov:!0,a:2,n:"BuildEditor",t:8,pi:[{n:"OnUpdate",pt:Function,ps:0}],sn:"buildEditor",rt:Object,p:[Function]},{a:2,n:"IsAnonymous",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsAnonymous",t:8,rt:$n[0].Boolean,fg:"isAnonymous",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_IsAnonymous",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isAnonymous"},fn:"isAnonymous"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("hidden",!1,6,"Hidden")],a:2,n:"IsHidden",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsHidden",t:8,rt:$n[0].Boolean,fg:"isHidden$1",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"isHidden$1"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("hidden",!0,5,"Required")],a:2,n:"IsMandatory",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_IsMandatory",t:8,rt:$n[0].Boolean,fg:"isMandatory$1",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"isMandatory$1"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("hidden",!1,2,"Default Value")],a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,rt:$n[0].String,fg:"value$1"},fn:"value$1"},{a:1,n:"__Property__Initializer__IsAnonymous",t:4,rt:$n[0].Boolean,sn:"__Property__Initializer__IsAnonymous",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Components.Elements.LeaderboardPanel",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[27].LeaderboardPanel.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[27].LeaderboardPanel.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentWillUnmount",t:8,sn:"componentWillUnmount",rt:$n[0].Void},{a:2,n:"RefreshAsync",t:8,sn:"refreshAsync",rt:$n[10].Task$1(UIComponents.Components.Elements.LeaderboardPanel.State)},{a:1,n:"RefreshLoop",t:8,sn:"refreshLoop",rt:$n[10].Task},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"TryQuery",t:8,pi:[{n:"url",pt:$n[0].String,ps:0}],sn:"tryQuery",rt:$n[10].Task$1(System.Int32),p:[$n[0].String]},{a:1,n:"groupModal",t:8,pi:[{n:"key",pt:$n[0].String,ps:0},{n:"title",pt:$n[0].String,ps:1},{n:"iframeSrc",pt:$n[0].String,ps:2},{n:"scrolling",pt:$n[0].Boolean,ps:3},{n:"iframeHeight",pt:$n[0].Int32,ps:4},{n:"iframeWidth",pt:$n[0].Int32,ps:5}],sn:"groupModal",rt:$n[8].IframeModal.Props,p:[$n[0].String,$n[0].String,$n[0].String,$n[0].Boolean,$n[0].Int32,$n[0].Int32]},{a:1,n:"_isMounted",t:4,rt:$n[0].Boolean,sn:"_isMounted",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"retryHours",is:!0,t:4,rt:$n[0].Int32,sn:"retryHours",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.Components.Elements.LeaderboardPanel.Props",function(){return{td:$n[27].LeaderboardPanel,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealTitle",t:16,rt:$n[0].String,g:{a:2,n:"get_AppealTitle",t:8,rt:$n[0].String,fg:"appealTitle"},s:{a:2,n:"set_AppealTitle",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealTitle"},fn:"appealTitle"},{a:2,n:"CanShow",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanShow",t:8,rt:$n[0].Boolean,fg:"canShow",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanShow",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canShow"},fn:"canShow"},{a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"charityId",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CharityId",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"charityId"},fn:"charityId"},{a:2,n:"ODataUrl",t:16,rt:$n[0].String,g:{a:2,n:"get_ODataUrl",t:8,rt:$n[0].String,fg:"oDataUrl"},s:{a:2,n:"set_ODataUrl",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"oDataUrl"},fn:"oDataUrl"},{a:2,n:"NewState",t:4,rt:$n[27].LeaderboardPanel.State,sn:"newState"}]}});$m("UIComponents.Components.Elements.LeaderboardPanel.State",function(){return{td:$n[27].LeaderboardPanel,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"IframeGroupModal",t:4,rt:$n[8].IKeyProps,sn:"iframeGroupModal"},{a:2,n:"NumberOfGroup",t:4,rt:$n[0].Int32,sn:"numberOfGroup",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.Components.Configurable.FormCompleteControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"Style",t:16,rt:$n[0].String,g:{a:2,n:"get_Style",t:8,rt:$n[0].String,fg:"style"},s:{a:2,n:"set_Style",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"style"},fn:"style"},{a:2,n:"Value",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_Value",t:8,rt:$n[0].Decimal,fg:"value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"value"},fn:"value"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.EmailSubjectControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:1,n:"Value",t:16,rt:$n[0].String,g:{a:1,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:1,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.EmailSenderControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:1,n:"Value",t:16,rt:$n[0].String,g:{a:1,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:1,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.EmailRecepientControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:1,n:"Value",t:16,rt:$n[0].String,g:{a:1,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:1,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.TextCutoffControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:1,n:"ParseClassName",t:8,pi:[{n:"cls",pt:HTMLElement,ps:0}],sn:"parseClassName",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:1,n:"insertReadmore",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"insertReadmore",rt:$n[0].Void,p:[HTMLElement]},{a:1,n:"shouldArrange",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"shouldArrange",rt:$n[0].Boolean,p:[HTMLElement],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"offAuto",t:4,rt:$n[0].Boolean,sn:"offAuto",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.MaxHeightControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"maxHeight",t:4,rt:$n[0].Int32,sn:"maxHeight",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.TextPrefillControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"Value",t:4,rt:$n[0].String,sn:"value"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.FormFieldsControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{a:1,n:"PayPalMerchantActivation",t:8,sn:"payPalMerchantActivation",rt:Object},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[28].DonateFormApp.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[28].DonateFormApp.Props]},{a:2,n:"Update",t:8,pi:[{n:"innerprops",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"UpdateButtons",t:8,pi:[{n:"newButtons",pt:$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props),ps:0}],sn:"updateButtons",rt:$n[0].Void,p:[$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props)]},{a:2,n:"banner",t:8,sn:"banner",rt:Object},{a:1,n:"createNewCustomField",t:8,pi:[{n:"b",pt:Function,ps:0},{n:"fieldCode",pt:$n[0].String,ps:1},{n:"iCounter",pt:$n[0].Int32,ps:2}],sn:"createNewCustomField",rt:$n[8].CustInput.Props,p:[Function,$n[0].String,$n[0].Int32]},{a:1,n:"fieldTypeSelect",t:8,sn:"fieldTypeSelect",rt:$n[8].FormInput.Props},{a:2,n:"EventButtons",t:16,rt:$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props),g:{a:2,n:"get_EventButtons",t:8,rt:$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props),fg:"eventButtons"},s:{a:2,n:"set_EventButtons",t:8,p:[$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props)],rt:$n[0].Void,fs:"eventButtons"},fn:"eventButtons"},{a:2,n:"ExtraFields",t:16,rt:$n[4].IEnumerable$1(UIComponents.FormField.FieldProps),g:{a:2,n:"get_ExtraFields",t:8,rt:$n[4].IEnumerable$1(UIComponents.FormField.FieldProps),fg:"extraFields"},s:{a:2,n:"set_ExtraFields",t:8,p:[$n[4].IEnumerable$1(UIComponents.FormField.FieldProps)],rt:$n[0].Void,fs:"extraFields"},fn:"extraFields"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:1,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"NewFieldName",t:16,rt:$n[0].String,g:{a:2,n:"get_NewFieldName",t:8,rt:$n[0].String,fg:"newFieldName"},s:{a:2,n:"set_NewFieldName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"newFieldName"},fn:"newFieldName"},{a:2,n:"PaypalEmail",t:16,rt:$n[0].String,g:{a:2,n:"get_PaypalEmail",t:8,rt:$n[0].String,fg:"paypalEmail"},s:{a:2,n:"set_PaypalEmail",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"paypalEmail"},fn:"paypalEmail"},{a:2,n:"SelectedType",t:16,rt:$n[0].String,g:{a:2,n:"get_SelectedType",t:8,rt:$n[0].String,fg:"selectedType"},s:{a:2,n:"set_SelectedType",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"selectedType"},fn:"selectedType"},{a:2,n:"listFieldEditor",t:16,rt:$n[4].IEnumerable$1(UIComponents.FieldEditor),g:{a:2,n:"get_listFieldEditor",t:8,rt:$n[4].IEnumerable$1(UIComponents.FieldEditor),fg:"listFieldEditor"},s:{a:2,n:"set_listFieldEditor",t:8,p:[$n[4].IEnumerable$1(UIComponents.FieldEditor)],rt:$n[0].Void,fs:"listFieldEditor"},fn:"listFieldEditor"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.BackgroundColorControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:1,n:"Convert2Hex",t:8,pi:[{n:"x",pt:$n[0].String,ps:0}],sn:"convert2Hex",rt:$n[0].String,p:[$n[0].String]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"},{a:1,n:"_value",t:4,rt:$n[0].String,sn:"_value"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.BackgroundImageControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{a:2,n:"Frame",t:8,sn:"frame",rt:$n[4].IEnumerable$1(Object)},{a:1,n:"ToInt",is:!0,t:8,pi:[{n:"self",pt:$n[0].String,ps:0}],sn:"toInt",rt:$n[0].Nullable$1(System.Int32),p:[$n[0].String],box:function($v){return Bridge.box($v,System.Int32,System.Nullable.toString,System.Nullable.getHashCode)}},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:1,n:"enterDrag",t:8,pi:[{n:"e",pt:System.Object,ps:0}],sn:"enterDrag",rt:$n[0].Void,p:[System.Object]},{a:1,n:"exitDrag",t:8,sn:"exitDrag",rt:$n[0].Void},{a:1,n:"figureElement",is:!0,t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"figureElement",rt:HTMLElement,p:[HTMLElement]},{a:1,n:"nativeOffset",t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"nativeOffset",rt:$n[0].Object,p:[HTMLElement]},{a:1,n:"recenter",t:8,pi:[{n:"xdelta",pt:$n[0].Int32,ps:0},{n:"ydelta",pt:$n[0].Int32,ps:1}],sn:"recenter",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Int32]},{a:2,n:"Fraction",t:16,rt:$n[0].Double,g:{a:2,n:"get_Fraction",t:8,rt:$n[0].Double,fg:"fraction",box:function($v){return Bridge.box($v,System.Double,System.Double.format,System.Double.getHashCode)}},s:{a:2,n:"set_Fraction",t:8,p:[$n[0].Double],rt:$n[0].Void,fs:"fraction"},fn:"fraction"},{a:1,n:"Height",t:16,rt:$n[0].UInt32,g:{a:1,n:"get_Height",t:8,rt:$n[0].UInt32,fg:"height",box:function($v){return Bridge.box($v,System.UInt32)}},s:{a:1,n:"set_Height",t:8,p:[$n[0].UInt32],rt:$n[0].Void,fs:"height"},fn:"height"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"},{a:1,n:"Width",t:16,rt:$n[0].UInt32,g:{a:1,n:"get_Width",t:8,rt:$n[0].UInt32,fg:"width",box:function($v){return Bridge.box($v,System.UInt32)}},s:{a:1,n:"set_Width",t:8,p:[$n[0].UInt32],rt:$n[0].Void,fs:"width"},fn:"width"},{a:1,n:"Left",t:4,rt:$n[0].Int32,sn:"left",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"Top",t:4,rt:$n[0].Int32,sn:"top",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"dragStartX",t:4,rt:$n[0].Int32,sn:"dragStartX",box:function($v){return Bridge.box($v,System.Int32)}},{a:1,n:"dragStartY",t:4,rt:$n[0].Int32,sn:"dragStartY",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.BannerStyle",function(){return{att:257,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Contain",is:!0,t:4,rt:$n[12].BannerStyle,sn:"contain",box:function($v){return Bridge.box($v,UIComponents.Components.Configurable.BannerStyle,System.Enum.toStringFn(UIComponents.Components.Configurable.BannerStyle))}},{a:2,n:"Cover",is:!0,t:4,rt:$n[12].BannerStyle,sn:"cover",box:function($v){return Bridge.box($v,UIComponents.Components.Configurable.BannerStyle,System.Enum.toStringFn(UIComponents.Components.Configurable.BannerStyle))}},{a:2,n:"CropHorizontal",is:!0,t:4,rt:$n[12].BannerStyle,sn:"cropHorizontal",box:function($v){return Bridge.box($v,UIComponents.Components.Configurable.BannerStyle,System.Enum.toStringFn(UIComponents.Components.Configurable.BannerStyle))}},{a:2,n:"CropVertical",is:!0,t:4,rt:$n[12].BannerStyle,sn:"cropVertical",box:function($v){return Bridge.box($v,UIComponents.Components.Configurable.BannerStyle,System.Enum.toStringFn(UIComponents.Components.Configurable.BannerStyle))}}]}});$m("UIComponents.Components.Configurable.BackgroundSizeControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"TryParse",is:!0,t:8,pi:[{n:"s",pt:$n[0].String,ps:0}],sn:"tryParse",rt:$n[12].BannerStyle,p:[$n[0].String],box:function($v){return Bridge.box($v,UIComponents.Components.Configurable.BannerStyle,System.Enum.toStringFn(UIComponents.Components.Configurable.BannerStyle))}},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:1,n:"ctrl",t:8,pi:[{n:"s",pt:$n[12].BannerStyle,ps:0}],sn:"ctrl",rt:$n[8].FormInput.Props,p:[$n[12].BannerStyle]},{a:1,n:"xlabel",is:!0,t:8,sn:"xlabel",rt:$n[0].String},{a:1,n:"ylabel",is:!0,t:8,sn:"ylabel",rt:$n[0].String},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"Value",t:16,rt:$n[12].BannerStyle,g:{a:2,n:"get_Value",t:8,rt:$n[12].BannerStyle,fg:"value",box:function($v){return Bridge.box($v,UIComponents.Components.Configurable.BannerStyle,System.Enum.toStringFn(UIComponents.Components.Configurable.BannerStyle))}},s:{a:2,n:"set_Value",t:8,p:[$n[12].BannerStyle],rt:$n[0].Void,fs:"value"},fn:"value"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.IConfigControl",function(){return{att:161,a:2,m:[{ab:!0,a:2,n:"Control",t:8,sn:"UIComponents$Components$Configurable$IConfigControl$control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{ab:!0,a:2,n:"Update",t:8,pi:[{n:"innerprops",pt:$n[8].IKeyProps,ps:0}],sn:"UIComponents$Components$Configurable$IConfigControl$update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{ab:!0,a:2,n:"Key",t:16,rt:$n[0].String,g:{ab:!0,a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"UIComponents$Components$Configurable$IConfigControl$key"},fn:"UIComponents$Components$Configurable$IConfigControl$key"},{ab:!0,a:2,n:"OnUpdate",t:2,ad:{ab:!0,a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"UIComponents$Components$Configurable$IConfigControl$addonUpdate",rt:$n[0].Void,p:[Function]},r:{ab:!0,a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"UIComponents$Components$Configurable$IConfigControl$removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.IConfigControl$1",function(T){return{att:161,a:2,m:[{ab:!0,a:2,n:"Update",t:8,pi:[{n:"innerprops",pt:T,ps:0}],sn:"UIComponents$Components$Configurable$IConfigControl$1$"+Bridge.getTypeAlias(T)+"$update$1",rt:$n[8].IKeyProps,p:[T]}]}});$m("UIComponents.Components.Configurable.ConfigUtils",function(){return{att:1048961,a:2,s:!0,m:[{a:2,n:"SetInputDefault",is:!0,t:8,pi:[{n:"form",pt:HTMLElement,ps:0},{n:"inputname",pt:$n[0].String,ps:1},{n:"value",pt:$n[0].String,ps:2}],sn:"setInputDefault",rt:HTMLInputElement,p:[HTMLElement,$n[0].String,$n[0].String]}]}});$m("UIComponents.Components.Configurable.ConfigState",function(){return{att:1048841,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:".ctor",t:1,p:[Object,Object,$n[0].Boolean],pi:[{n:"button",pt:Object,ps:0},{n:"panel",pt:Object,ps:1},{n:"active",dv:!1,o:!0,pt:$n[0].Boolean,ps:2}],sn:"$ctor1"},{a:2,n:"Active",t:4,rt:$n[0].Boolean,sn:"active",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Button",t:4,rt:Object,sn:"button",ro:!0},{a:2,n:"Panel",t:4,rt:Object,sn:"panel",ro:!0}]}});$m("UIComponents.Components.Configurable.FrequencyStyleControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,sn:"apply",rt:$n[0].Void},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"},{a:1,n:"_settingsModel",t:16,rt:$n[2].FromSettingsModel,g:{a:1,n:"get__settingsModel",t:8,rt:$n[2].FromSettingsModel,fg:"_settingsModel"},s:{a:1,n:"set__settingsModel",t:8,p:[$n[2].FromSettingsModel],rt:$n[0].Void,fs:"_settingsModel"},fn:"_settingsModel"},{a:1,n:"_target",t:16,rt:HTMLElement,g:{a:1,n:"get__target",t:8,rt:HTMLElement,fg:"_target"},s:{a:1,n:"set__target",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"_target"},fn:"_target"},{a:1,n:"_key",t:4,rt:$n[0].String,sn:"_key"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.FrequencyControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,sn:"apply",rt:$n[0].Void},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"Value",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Value",t:8,rt:$n[0].Boolean,fg:"value",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Value",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"value"},fn:"value"},{a:1,n:"_settingsModel",t:16,rt:$n[2].FromSettingsModel,g:{a:1,n:"get__settingsModel",t:8,rt:$n[2].FromSettingsModel,fg:"_settingsModel"},s:{a:1,n:"set__settingsModel",t:8,p:[$n[2].FromSettingsModel],rt:$n[0].Void,fs:"_settingsModel"},fn:"_settingsModel"},{a:1,n:"_target",t:16,rt:HTMLElement,g:{a:1,n:"get__target",t:8,rt:HTMLElement,fg:"_target"},s:{a:1,n:"set__target",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"_target"},fn:"_target"},{a:1,n:"_key",t:4,rt:$n[0].String,sn:"_key"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.FrequencyDefaultControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,sn:"apply",rt:$n[0].Void},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[28].DonateFormApp.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[28].DonateFormApp.Props]},{a:2,n:"Update",t:8,pi:[{n:"innerprops",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"},{a:1,n:"_settingsModel",t:16,rt:$n[2].FromSettingsModel,g:{a:1,n:"get__settingsModel",t:8,rt:$n[2].FromSettingsModel,fg:"_settingsModel"},s:{a:1,n:"set__settingsModel",t:8,p:[$n[2].FromSettingsModel],rt:$n[0].Void,fs:"_settingsModel"},fn:"_settingsModel"},{a:1,n:"_target",t:16,rt:HTMLElement,g:{a:1,n:"get__target",t:8,rt:HTMLElement,fg:"_target"},s:{a:1,n:"set__target",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"_target"},fn:"_target"},{a:1,n:"_key",t:4,rt:$n[0].String,sn:"_key"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.MobileVisibilityControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Apply",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"apply",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Display",t:8,pi:[{n:"level",pt:$n[18].Hint,ps:0},{n:"props",pt:$n[8].IKeyProps,ps:1}],sn:"display",rt:Object,p:[$n[18].Hint,$n[8].IKeyProps]},{a:1,n:"ParseClassName",t:8,pi:[{n:"cls",pt:$n[0].String,ps:0}],sn:"parseClassName",rt:$n[0].Void,p:[$n[0].String]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"hideDesktop",t:4,rt:$n[0].Boolean,sn:"hideDesktop",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"hideMobile",t:4,rt:$n[0].Boolean,sn:"hideMobile",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Components.Configurable.TileWrapper",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[12].TileWrapper.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:1,n:"ApplyConfigControls",t:8,pi:[{n:"innerprops",pt:$n[8].IKeyProps,ps:0},{n:"newprops",pt:System.Object,ps:1}],tpc:1,tprm:["T"],sn:"applyConfigControls",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps,System.Object]},{a:1,n:"ApplyControls",t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"applyControls",rt:$n[0].Void,p:[HTMLElement]},{a:2,n:"ChangeState",t:8,pi:[{n:"Fn",pt:Function,ps:0}],sn:"changeState",rt:$n[12].TileWrapper.State,p:[Function]},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[12].TileWrapper.Props,ps:0},{n:"previousState",pt:$n[12].TileWrapper.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[12].TileWrapper.Props,$n[12].TileWrapper.State]},{ov:!0,a:3,n:"ComponentWillMount",t:8,sn:"componentWillMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentWillUnmount",t:8,sn:"componentWillUnmount",rt:$n[0].Void},{a:2,n:"ConfigFormFields",t:8,sn:"configFormFields",rt:Object},{a:2,n:"ConfigMenus",t:8,sn:"configMenus",rt:Object},{a:1,n:"CountEditableParentTiles",is:!0,t:8,pi:[{n:"target",pt:HTMLElement,ps:0}],sn:"countEditableParentTiles",rt:$n[0].Int32,p:[HTMLElement],box:function($v){return Bridge.box($v,System.Int32)}},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[12].TileWrapper.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"WrapEditable",t:8,pi:[{n:"moveControls",pt:System.Array.type(UIComponents.Components.Configurable.ConfigState),ps:0},{n:"controls",ip:!0,pt:System.Array.type(UIComponents.Components.Configurable.ConfigState),ps:1}],sn:"wrapEditable",rt:Object,p:[System.Array.type(UIComponents.Components.Configurable.ConfigState),System.Array.type(UIComponents.Components.Configurable.ConfigState)]},{a:1,n:"buildInner",t:8,sn:"buildInner",rt:Object},{a:1,n:"confbtn",t:8,sn:"confbtn",rt:$n[12].ConfigState},{a:1,n:"editbtn",t:8,sn:"editbtn",rt:$n[12].ConfigState},{a:1,n:"lockbtn",t:8,sn:"lockbtn",rt:$n[12].ConfigState},{a:1,n:"movebtn",t:8,pi:[{n:"goBottom",pt:$n[0].Int32,ps:0},{n:"goRight",pt:$n[0].Int32,ps:1}],sn:"movebtn",rt:$n[12].ConfigState,p:[$n[0].Int32,$n[0].Int32]},{a:1,n:"resetEditor",t:8,sn:"resetEditor",rt:$n[0].Void},{a:1,n:"updateEditor",t:8,pi:[{n:"previousState",pt:$n[12].TileWrapper.State,ps:0}],sn:"updateEditor",rt:HTMLElement,p:[$n[12].TileWrapper.State]},{a:1,n:"widgetOptions",t:8,sn:"widgetOptions",rt:$n[4].IEnumerable$1(Object)},{a:1,n:"widgetbtn",t:8,sn:"widgetbtn",rt:$n[12].ConfigState}]}});$m("UIComponents.Components.Configurable.TileWrapper.Props",function(){return{td:$n[12].TileWrapper,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"FromElement",is:!0,t:8,pi:[{n:"unwrapped",pt:HTMLElement,ps:0}],sn:"fromElement",rt:$n[12].TileWrapper.Props,p:[HTMLElement]},{a:1,n:"attachControls",is:!0,t:8,pi:[{n:"unwrapped",pt:HTMLElement,ps:0}],sn:"attachControls",rt:$n[4].IEnumerable$1(UIComponents.Components.Configurable.IConfigControl),p:[HTMLElement]},{a:1,n:"getWrapperClass",is:!0,t:8,pi:[{n:"unwrapped",pt:HTMLElement,ps:0}],sn:"getWrapperClass",rt:$n[0].String,p:[HTMLElement]},{a:2,n:"CanEdit",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanEdit",t:8,rt:$n[0].Boolean,fg:"canEdit",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanEdit",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canEdit"},fn:"canEdit"},{a:2,n:"CanForm",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanForm",t:8,rt:$n[0].Boolean,fg:"canForm",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanForm",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canForm"},fn:"canForm"},{a:2,n:"CanMove",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanMove",t:8,rt:$n[0].Boolean,fg:"canMove",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanMove",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canMove"},fn:"canMove"},{a:2,n:"CanNotEdit",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanNotEdit",t:8,rt:$n[0].Boolean,fg:"canNotEdit",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanNotEdit",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canNotEdit"},fn:"canNotEdit"},{a:2,n:"CanShow",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanShow",t:8,rt:$n[0].Boolean,fg:"canShow",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanShow",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canShow"},fn:"canShow"},{a:2,n:"CanTrack",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanTrack",t:8,rt:$n[0].Boolean,fg:"canTrack",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanTrack",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canTrack"},fn:"canTrack"},{a:2,n:"CanWidget",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanWidget",t:8,rt:$n[0].Boolean,fg:"canWidget",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanWidget",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canWidget"},fn:"canWidget"},{a:2,n:"Controls",t:16,rt:$n[4].IEnumerable$1(UIComponents.Components.Configurable.IConfigControl),g:{a:2,n:"get_Controls",t:8,rt:$n[4].IEnumerable$1(UIComponents.Components.Configurable.IConfigControl),fg:"controls"},s:{a:2,n:"set_Controls",t:8,p:[$n[4].IEnumerable$1(UIComponents.Components.Configurable.IConfigControl)],rt:$n[0].Void,fs:"controls"},fn:"controls"},{a:2,n:"EditorType",t:16,rt:$n[0].String,g:{a:2,n:"get_EditorType",t:8,rt:$n[0].String,fg:"editorType"},s:{a:2,n:"set_EditorType",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"editorType"},fn:"editorType"},{a:2,n:"WrappedId",t:16,rt:$n[0].String,g:{a:2,n:"get_WrappedId",t:8,rt:$n[0].String,fg:"wrappedId"},s:{a:2,n:"set_WrappedId",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"wrappedId"},fn:"wrappedId"},{a:2,n:"WrapperClassName",t:16,rt:$n[0].String,g:{a:2,n:"get_WrapperClassName",t:8,rt:$n[0].String,fg:"wrapperClassName"},s:{a:2,n:"set_WrapperClassName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"wrapperClassName"},fn:"wrapperClassName"},{a:2,n:"OnChildUpdated",t:4,rt:Function,sn:"onChildUpdated"},{a:1,n:"__Property__Initializer__WrapperClassName",t:4,rt:$n[0].String,sn:"__Property__Initializer__WrapperClassName"}]}});$m("UIComponents.Components.Configurable.TileWrapper.State",function(){return{td:$n[12].TileWrapper,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Change",t:4,rt:$n[0].Boolean,sn:"change",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Child",t:4,rt:Object,sn:"child"},{a:2,n:"Editor",t:4,rt:HTMLElement,sn:"editor"},{a:2,n:"Hover",t:4,rt:$n[0].Boolean,sn:"hover",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsEditable",t:4,rt:$n[0].Boolean,sn:"isEditable",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"MarginLeft",t:4,rt:$n[0].Int32,sn:"marginLeft",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"MarginTop",t:4,rt:$n[0].Int32,sn:"marginTop",box:function($v){return Bridge.box($v,System.Int32)}},{a:2,n:"NewProps",t:4,rt:$n[8].IKeyProps,sn:"newProps"},{a:2,n:"Show",t:4,rt:$n[0].Boolean,sn:"show",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TileParents",t:4,rt:$n[0].Int32,sn:"tileParents",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.Apps.TrackingWidgetApp",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[20].TrackingWidgetApp.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[20].TrackingWidgetApp.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"App",is:!0,t:8,pi:[{n:"properties",pt:System.Object,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],tpc:0,def:function(properties,children){return React.createElement("TrackingWidgetApp",Bridge.React.fixAttr(properties),children)},rt:Object,p:[System.Object,System.Array.type(System.Object)]},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[20].TrackingWidgetApp.Props,ps:0},{n:"previousState",pt:$n[20].TrackingWidgetApp.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[20].TrackingWidgetApp.Props,$n[20].TrackingWidgetApp.State]},{ov:!0,a:3,n:"ComponentWillMount",t:8,sn:"componentWillMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentWillReceiveProps",t:8,pi:[{n:"nextProps",pt:$n[20].TrackingWidgetApp.Props,ps:0}],sn:"componentWillReceivePropsWrapped",rt:$n[0].Void,p:[$n[20].TrackingWidgetApp.Props]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[20].TrackingWidgetApp.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"refreshState",t:8,pi:[{n:"nextProps",pt:$n[20].TrackingWidgetApp.Props,ps:0}],sn:"refreshState",rt:$n[20].TrackingWidgetApp.State,p:[$n[20].TrackingWidgetApp.Props]}]}});$m("UIComponents.Apps.TrackingWidgetApp.Props",function(){return{td:$n[20].TrackingWidgetApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"NewState",t:4,rt:$n[20].TrackingWidgetApp.State,sn:"newState"}]}});$m("UIComponents.Apps.TrackingWidgetApp.State",function(){return{td:$n[20].TrackingWidgetApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:"FromElement",is:!0,t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"fromElement",rt:$n[20].TrackingWidgetApp.State,p:[HTMLElement]},{a:2,n:"TextContent",t:4,rt:$n[0].String,sn:"textContent"}]}});$m("UIComponents.Apps.TrackingControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[20].TrackingWidgetApp.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[20].TrackingWidgetApp.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$2",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:1,n:"Value",t:16,rt:$n[0].String,g:{a:1,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:1,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Apps.CountdownWidgetApp",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[20].CountdownWidgetApp.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[20].CountdownWidgetApp.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"App",is:!0,t:8,pi:[{n:"properties",pt:System.Object,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],tpc:0,def:function(properties,children){return React.createElement("countdownwidgetapp",Bridge.React.fixAttr(properties),children)},rt:Object,p:[System.Object,System.Array.type(System.Object)]},{a:1,n:"CheckCounter",t:8,sn:"checkCounter",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentWillReceiveProps",t:8,pi:[{n:"nextProps",pt:$n[20].CountdownWidgetApp.Props,ps:0}],sn:"componentWillReceivePropsWrapped",rt:$n[0].Void,p:[$n[20].CountdownWidgetApp.Props]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[20].CountdownWidgetApp.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"ToPrettyFormat",t:8,pi:[{n:"span",pt:$n[0].TimeSpan,ps:0},{n:"color",pt:$n[0].String,ps:1}],sn:"toPrettyFormat",rt:Object,p:[$n[0].TimeSpan,$n[0].String]},{a:1,n:"refreshState",t:8,pi:[{n:"nextProps",pt:$n[20].CountdownWidgetApp.Props,ps:0}],sn:"refreshState",rt:$n[20].CountdownWidgetApp.State,p:[$n[20].CountdownWidgetApp.Props]}]}});$m("UIComponents.Apps.CountdownWidgetApp.Props",function(){return{td:$n[20].CountdownWidgetApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"NewState",t:4,rt:$n[20].CountdownWidgetApp.State,sn:"newState"}]}});$m("UIComponents.Apps.CountdownWidgetApp.State",function(){return{td:$n[20].CountdownWidgetApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:"FromElement",is:!0,t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"fromElement",rt:$n[20].CountdownWidgetApp.State,p:[HTMLElement]},{a:2,n:"Widget",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Widget",t:8,rt:$n[0].Boolean,fg:"widget",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"widget"},{a:2,n:"HideOnPass",t:4,rt:$n[0].Boolean,sn:"hideOnPass",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"HideUntilPass",t:4,rt:$n[0].Boolean,sn:"hideUntilPass",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsCounting",t:4,rt:$n[0].Boolean,sn:"isCounting",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"TargetDate",t:4,rt:$n[0].DateTime,sn:"targetDate",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},{a:2,n:"TextColor",t:4,rt:$n[0].String,sn:"textColor"}]}});$m("UIComponents.Apps.ClockControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[20].CountdownWidgetApp.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[20].CountdownWidgetApp.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$2",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:1,n:"Value",t:16,rt:$n[20].ClockControl.CountdownData,g:{a:1,n:"get_Value",t:8,rt:$n[20].ClockControl.CountdownData,fg:"value"},s:{a:1,n:"set_Value",t:8,p:[$n[20].ClockControl.CountdownData],rt:$n[0].Void,fs:"value"},fn:"value"},{a:1,n:"changed",t:4,rt:$n[0].Boolean,sn:"changed",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Apps.ClockControl.CountdownData",function(){return{td:$n[20].ClockControl,att:1048579,a:1,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("color",!1,4,"Timer text color")],a:2,n:"countdown_color",t:16,rt:$n[0].String,g:{a:2,n:"get_countdown_color",t:8,rt:$n[0].String,fg:"countdown_color"},s:{a:2,n:"set_countdown_color",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"countdown_color"},fn:"countdown_color"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("datetime-local",!1,1,"Set countdown time")],a:2,n:"countdown_date",t:16,rt:$n[0].DateTime,g:{a:2,n:"get_countdown_date",t:8,rt:$n[0].DateTime,fg:"countdown_date",box:function($v){return Bridge.box($v,System.DateTime,System.DateTime.format)}},s:{a:2,n:"set_countdown_date",t:8,p:[$n[0].DateTime],rt:$n[0].Void,fs:"countdown_date"},fn:"countdown_date"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("checkbox",!1,2,"Hide the counter after the set time is reached?")],a:2,n:"countdown_hide_on_pass",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_countdown_hide_on_pass",t:8,rt:$n[0].Boolean,fg:"countdown_hide_on_pass",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_countdown_hide_on_pass",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"countdown_hide_on_pass"},fn:"countdown_hide_on_pass"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("checkbox",!1,3,"Hide the counter before the set time?")],a:2,n:"countdown_hide_until_pass",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_countdown_hide_until_pass",t:8,rt:$n[0].Boolean,fg:"countdown_hide_until_pass",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_countdown_hide_until_pass",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"countdown_hide_until_pass"},fn:"countdown_hide_until_pass"}]}});$m("UIComponents.Apps.ProgressWidgetControl",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[HTMLElement],pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"ctor"},{a:2,n:"Control",t:8,sn:"control",rt:$n[4].IEnumerable$1(UIComponents.IKeyProps)},{a:1,n:"Update",t:8,pi:[{n:"props",pt:System.Object,ps:0}],tpc:1,tprm:["T"],sn:"update$3",rt:System.Object,p:[System.Object]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[20].ProgressWidgetApp.Props,ps:0}],sn:"update$1",rt:$n[8].IKeyProps,p:[$n[20].ProgressWidgetApp.Props]},{a:2,n:"Update",t:8,pi:[{n:"props",pt:$n[12].TileWrapper.Props,ps:0}],sn:"update$2",rt:$n[8].IKeyProps,p:[$n[12].TileWrapper.Props]},{a:2,n:"Update",t:8,pi:[{n:"innerprops",pt:$n[8].IKeyProps,ps:0}],sn:"update",rt:$n[8].IKeyProps,p:[$n[8].IKeyProps]},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:1,n:"Value",t:16,rt:$n[20].ProgressWidgetControl.ProgressWidgetData,g:{a:1,n:"get_Value",t:8,rt:$n[20].ProgressWidgetControl.ProgressWidgetData,fg:"value"},s:{a:1,n:"set_Value",t:8,p:[$n[20].ProgressWidgetControl.ProgressWidgetData],rt:$n[0].Void,fs:"value"},fn:"value"},{a:2,n:"OnUpdate",t:2,ad:{a:2,n:"add_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"addonUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_OnUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removeonUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Apps.ProgressWidgetControl.ProgressWidgetData",function(){return{td:$n[20].ProgressWidgetControl,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"contextName",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:".ctor",t:1,p:[$n[20].ProgressWidgetApp.State],pi:[{n:"state",pt:$n[20].ProgressWidgetApp.State,ps:0}],sn:"$ctor1"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"appealtitle",t:16,rt:$n[0].String,g:{a:2,n:"get_appealtitle",t:8,rt:$n[0].String,fg:"appealtitle"},s:{a:2,n:"set_appealtitle",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"appealtitle"},fn:"appealtitle"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("color",!1,2,"Bar Colour")],a:2,n:"barcolor",t:16,rt:$n[0].String,g:{a:2,n:"get_barcolor",t:8,rt:$n[0].String,fg:"barcolor"},s:{a:2,n:"set_barcolor",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"barcolor"},fn:"barcolor"},{a:2,n:"bearertoken",t:16,rt:$n[0].String,g:{a:2,n:"get_bearertoken",t:8,rt:$n[0].String,fg:"bearertoken"},s:{a:2,n:"set_bearertoken",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"bearertoken"},fn:"bearertoken"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.$ctor1("text",!0,1,UIComponents.Components.Form.Labels.HelpLabel.Props,System.Array.init(["Progress Bar Name","Progress Bar Context Name","<p>Name this object so that you can insert dynamic text in the body of your page.<\/p>\n<ul>\n<li>Insert {{{name.goal}}} in your page to show the Appeal Goal value<\/li>\n<li>Insert {{{name.raised}}} in your page to show the Amount raised so far<\/li>\n<li>Insert {{{name.percent}}} in your page to show the Percent of the goal raised so far<\/li>\n<\/ul>"],System.Object)),new UIComponents.Components.Form.Editor.HasValidatorAttribute(UIComponents.FormValidator.MinLength,System.Array.init([3],System.Object)),new UIComponents.Components.Form.Editor.HasValidatorAttribute(UIComponents.FormValidator.LowerCaseOnly,System.Array.init([],System.Object)),new UIComponents.Components.Form.Editor.HasValidatorAttribute(UIComponents.FormValidator.DoesNotContain,System.Array.init([" ","'",'"'],System.Object))],a:2,n:"contextname",t:16,rt:$n[0].String,g:{a:2,n:"get_contextname",t:8,rt:$n[0].String,fg:"contextname"},s:{a:2,n:"set_contextname",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"contextname"},fn:"contextname"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("number",!1,3,"Appeal Goal")],a:2,n:"goal",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_goal",t:8,rt:$n[0].Decimal,fg:"goal"},s:{a:2,n:"set_goal",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"goal"},fn:"goal"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("checkbox",!1,3,"Always Horizontal?")],a:2,n:"horizontal",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_horizontal",t:8,rt:$n[0].Boolean,fg:"horizontal",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_horizontal",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"horizontal"},fn:"horizontal"},{at:[new UIComponents.Components.Form.Editor.InputForAttribute.ctor("number",!1,4,"Amount Offset")],a:2,n:"offset",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_offset",t:8,rt:$n[0].Decimal,fg:"offset"},s:{a:2,n:"set_offset",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"offset"},fn:"offset"},{a:2,n:"query",t:16,rt:$n[29].DonationQuery,g:{a:2,n:"get_query",t:8,rt:$n[29].DonationQuery,fg:"query"},s:{a:2,n:"set_query",t:8,p:[$n[29].DonationQuery],rt:$n[0].Void,fs:"query"},fn:"query"}]}});$m("UIComponents.Apps.ProgressWidgetApp",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[20].ProgressWidgetApp.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[20].ProgressWidgetApp.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"App",is:!0,t:8,pi:[{n:"properties",pt:System.Object,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],tpc:0,def:function(properties,children){return React.createElement("progresswidgetapp",Bridge.React.fixAttr(properties),children)},rt:Object,p:[System.Object,System.Array.type(System.Object)]},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[20].ProgressWidgetApp.Props,ps:0},{n:"previousState",pt:$n[20].ProgressWidgetApp.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[20].ProgressWidgetApp.Props,$n[20].ProgressWidgetApp.State]},{ov:!0,a:3,n:"ComponentWillReceiveProps",t:8,pi:[{n:"nextProps",pt:$n[20].ProgressWidgetApp.Props,ps:0}],sn:"componentWillReceivePropsWrapped",rt:$n[0].Void,p:[$n[20].ProgressWidgetApp.Props]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[20].ProgressWidgetApp.State},{a:2,n:"RefreshAsync",t:8,sn:"refreshAsync",rt:$n[10].Task$1(UIComponents.Apps.ProgressWidgetApp.State)},{a:1,n:"RefreshDisplay",t:8,sn:"refreshDisplay",rt:$n[10].Task},{a:1,n:"RefreshLoop",t:8,sn:"refreshLoop",rt:$n[10].Task},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"TryQuery",t:8,pi:[{n:"url",pt:$n[0].String,ps:0}],sn:"tryQuery",rt:$n[10].Task$1(System.Nullable$1(System.Decimal)),p:[$n[0].String]},{a:1,n:"fraction",t:8,sn:"fraction",rt:$n[0].Decimal},{a:1,n:"retryHours",is:!0,t:4,rt:$n[0].Int32,sn:"retryHours",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.Apps.ProgressWidgetApp.Props",function(){return{td:$n[20].ProgressWidgetApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"NewState",t:4,rt:$n[20].ProgressWidgetApp.State,sn:"newState"}]}});$m("UIComponents.Apps.ProgressWidgetApp.ProgressStyle",function(){return{td:$n[20].ProgressWidgetApp,att:258,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Default",is:!0,t:4,rt:$n[20].ProgressWidgetApp.ProgressStyle,sn:"default",box:function($v){return Bridge.box($v,UIComponents.Apps.ProgressWidgetApp.ProgressStyle,System.Enum.toStringFn(UIComponents.Apps.ProgressWidgetApp.ProgressStyle))}},{a:2,n:"Horizontal",is:!0,t:4,rt:$n[20].ProgressWidgetApp.ProgressStyle,sn:"horizontal",box:function($v){return Bridge.box($v,UIComponents.Apps.ProgressWidgetApp.ProgressStyle,System.Enum.toStringFn(UIComponents.Apps.ProgressWidgetApp.ProgressStyle))}}]}});$m("UIComponents.Apps.ProgressWidgetApp.TargetContext",function(){return{td:$n[20].ProgressWidgetApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"goal",t:4,rt:$n[0].String,sn:"goal"},{a:2,n:"percent",t:4,rt:$n[0].Decimal,sn:"percent"},{a:2,n:"raised",t:4,rt:$n[0].String,sn:"raised"}]}});$m("UIComponents.Apps.ProgressWidgetApp.State",function(){return{td:$n[20].ProgressWidgetApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:"FromElement",is:!0,t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"fromElement",rt:$n[20].ProgressWidgetApp.State,p:[HTMLElement]},{a:2,n:"UpdateContext",t:8,sn:"updateContext",rt:$n[20].ProgressWidgetApp.TargetContext},{a:2,n:"ContextName",t:16,rt:$n[0].String,g:{a:2,n:"get_ContextName",t:8,rt:$n[0].String,fg:"contextName"},s:{a:2,n:"set_ContextName",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"contextName"},fn:"contextName"},{a:2,n:"Query",t:16,rt:$n[29].DonationQuery,g:{a:2,n:"get_Query",t:8,rt:$n[29].DonationQuery,fg:"query"},s:{a:2,n:"set_Query",t:8,p:[$n[29].DonationQuery],rt:$n[0].Void,fs:"query"},fn:"query"},{a:2,n:"Total",t:16,rt:$n[0].Decimal,g:{a:2,n:"get_Total",t:8,rt:$n[0].Decimal,fg:"total"},s:{a:2,n:"set_Total",t:8,p:[$n[0].Decimal],rt:$n[0].Void,fs:"total"},fn:"total"},{a:2,n:"Widget",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Widget",t:8,rt:$n[0].Boolean,fg:"widget",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},fn:"widget"},{a:2,n:"AmountOffset",t:4,rt:$n[0].Decimal,sn:"amountOffset"},{a:2,n:"AppealTitle",t:4,rt:$n[0].String,sn:"appealTitle"},{a:2,n:"Appearance",t:4,rt:$n[20].ProgressWidgetApp.ProgressStyle,sn:"appearance",box:function($v){return Bridge.box($v,UIComponents.Apps.ProgressWidgetApp.ProgressStyle,System.Enum.toStringFn(UIComponents.Apps.ProgressWidgetApp.ProgressStyle))}},{a:2,n:"BarColor",t:4,rt:$n[0].String,sn:"barColor"},{a:2,n:"BearerToken",t:4,rt:$n[0].String,sn:"bearerToken"},{a:2,n:"Display",t:4,rt:$n[0].Decimal,sn:"display"},{a:2,n:"Max",t:4,rt:$n[0].Decimal,sn:"max"},{a:2,n:"ODataUrl",t:4,rt:$n[0].String,sn:"oDataUrl"},{a:1,n:"_total",t:4,rt:$n[0].Decimal,sn:"_total"}]}});$m("UIComponents.Apps.DonateForm.ButtonSubmitForm",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[4].IEnumerable$1(Object),Function,$n[4].Dictionary$2(System.String,System.String)],pi:[{n:"buttons",pt:$n[4].IEnumerable$1(Object),ps:0},{n:"isDisabled",pt:Function,ps:1},{n:"items",pt:$n[4].Dictionary$2(System.String,System.String),ps:2}],sn:"ctor"},{a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"isDisabled",is:!0,t:8,pi:[{n:"vfields",pt:$n[4].IEnumerable$1(UIComponents.Validation),ps:0}],sn:"isDisabled",rt:$n[0].Boolean,p:[$n[4].IEnumerable$1(UIComponents.Validation)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Buttons",t:16,rt:$n[4].IEnumerable$1(Object),g:{a:2,n:"get_Buttons",t:8,rt:$n[4].IEnumerable$1(Object),fg:"buttons"},s:{a:2,n:"set_Buttons",t:8,p:[$n[4].IEnumerable$1(Object)],rt:$n[0].Void,fs:"buttons"},fn:"buttons"},{a:2,n:"IsDisabled",t:16,rt:Function,g:{a:2,n:"get_IsDisabled",t:8,rt:Function,fg:"isDisabled"},s:{a:2,n:"set_IsDisabled",t:8,p:[Function],rt:$n[0].Void,fs:"isDisabled"},fn:"isDisabled"},{a:2,n:"Items",t:16,rt:$n[4].Dictionary$2(System.String,System.String),g:{a:2,n:"get_Items",t:8,rt:$n[4].Dictionary$2(System.String,System.String),fg:"items"},s:{a:2,n:"set_Items",t:8,p:[$n[4].Dictionary$2(System.String,System.String)],rt:$n[0].Void,fs:"items"},fn:"items"},{a:2,n:"OnSubmit",t:16,rt:Function,g:{a:2,n:"get_OnSubmit",t:8,rt:Function,fg:"onSubmit"},s:{a:2,n:"set_OnSubmit",t:8,p:[Function],rt:$n[0].Void,fs:"onSubmit"},fn:"onSubmit"}]}});$m("UIComponents.Apps.DonateForm.ButtonForm",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[28].ButtonForm.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[28].ButtonForm.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:1,n:"CheckResultLoop",t:8,pi:[{n:"payKey",pt:$n[0].String,ps:0},{n:"resultUrl",pt:$n[0].String,ps:1}],sn:"checkResultLoop",rt:$n[10].Task,p:[$n[0].String,$n[0].String]},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{a:1,n:"DonatePaypal",t:8,pi:[{n:"items",pt:$n[4].Dictionary$2(System.String,System.String),ps:0}],sn:"donatePaypal",rt:$n[10].Task,p:[$n[4].Dictionary$2(System.String,System.String)]},{a:1,n:"DonatePledge",t:8,pi:[{n:"items",pt:$n[4].Dictionary$2(System.String,System.String),ps:0}],sn:"donatePledge",rt:$n[10].Task,p:[$n[4].Dictionary$2(System.String,System.String)]},{a:1,n:"DonateWithIframe",t:8,pi:[{n:"items",pt:$n[4].IDictionary$2(System.String,System.String),ps:0}],sn:"donateWithIframe",rt:$n[0].Void,p:[$n[4].IDictionary$2(System.String,System.String)]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[28].ButtonForm.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"completePledge",t:8,pi:[{n:"items",pt:$n[4].Dictionary$2(System.String,System.String),ps:0}],sn:"completePledge",rt:$n[10].Task,p:[$n[4].Dictionary$2(System.String,System.String)]},{a:1,n:"processResultMessage",t:8,pi:[{n:"e",pt:Event,ps:0},{n:"baseurl",pt:$n[0].String,ps:1}],sn:"processResultMessage",rt:$n[6].TransactionStatus,p:[Event,$n[0].String],box:function($v){return Bridge.box($v,GiveEasy.Shared.Data.TransactionStatus,System.Enum.toStringFn(GiveEasy.Shared.Data.TransactionStatus))}},{a:1,n:"retryHours",is:!0,t:4,rt:$n[0].Int32,sn:"retryHours",box:function($v){return Bridge.box($v,System.Int32)}}]}});$m("UIComponents.Apps.DonateForm.ButtonForm.SubmitRequest",function(){return{td:$n[28].ButtonForm,att:1048579,a:1,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"items",t:4,rt:$n[4].IEnumerable$1(System.Collections.Generic.KeyValuePair$2(System.String,System.String)),sn:"items"}]}});$m("UIComponents.Apps.DonateForm.ButtonForm.Props",function(){return{td:$n[28].ButtonForm,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Buttons",t:16,rt:$n[4].IEnumerable$1(Object),g:{a:2,n:"get_Buttons",t:8,rt:$n[4].IEnumerable$1(Object),fg:"buttons"},s:{a:2,n:"set_Buttons",t:8,p:[$n[4].IEnumerable$1(Object)],rt:$n[0].Void,fs:"buttons"},fn:"buttons"},{a:2,n:"IsDisabled",t:16,rt:Function,g:{a:2,n:"get_IsDisabled",t:8,rt:Function,fg:"isDisabled"},s:{a:2,n:"set_IsDisabled",t:8,p:[Function],rt:$n[0].Void,fs:"isDisabled"},fn:"isDisabled"},{a:2,n:"Items",t:16,rt:$n[4].Dictionary$2(System.String,System.String),g:{a:2,n:"get_Items",t:8,rt:$n[4].Dictionary$2(System.String,System.String),fg:"items"},s:{a:2,n:"set_Items",t:8,p:[$n[4].Dictionary$2(System.String,System.String)],rt:$n[0].Void,fs:"items"},fn:"items"}]}});$m("UIComponents.Apps.DonateForm.ButtonForm.State",function(){return{td:$n[28].ButtonForm,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Iframe",t:4,rt:Object,sn:"iframe"}]}});$m("UIComponents.Apps.DonateForm.EwaySecurePaymentForm",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[28].EwaySecurePaymentForm.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[28].EwaySecurePaymentForm.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[28].EwaySecurePaymentForm.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"formatExpiry",is:!0,t:8,pi:[{n:"number",pt:$n[0].Nullable$1(System.Int32),ps:0}],sn:"formatExpiry",rt:$n[0].String,p:[$n[0].Nullable$1(System.Int32)]},{a:1,n:"parseExpiry",t:8,pi:[{n:"text",pt:$n[0].String,ps:0}],sn:"parseExpiry",rt:$n[0].Void,p:[$n[0].String]},{a:1,n:"submitFormAction",t:8,sn:"submitFormAction",rt:Function}]}});$m("UIComponents.Apps.DonateForm.EwaySecurePaymentForm.State",function(){return{td:$n[28].EwaySecurePaymentForm,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CVN",t:4,rt:$n[0].UInt32,sn:"CVN",box:function($v){return Bridge.box($v,System.UInt32)}},{a:2,n:"Card",t:4,rt:$n[6].CardInfo,sn:"card"},{a:2,n:"CardNumber",t:4,rt:$n[0].String,sn:"cardNumber"},{a:2,n:"Submitted",t:4,rt:$n[0].Boolean,sn:"submitted",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}}]}});$m("UIComponents.Apps.DonateForm.EwaySecurePaymentForm.Props",function(){return{td:$n[28].EwaySecurePaymentForm,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String],pi:[{n:"accessCode",pt:$n[0].String,ps:0}],sn:"ctor"},{a:2,n:"AccessCode",t:16,rt:$n[0].String,g:{a:2,n:"get_AccessCode",t:8,rt:$n[0].String,fg:"accessCode"},s:{a:1,n:"set_AccessCode",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"accessCode"},fn:"accessCode"},{a:2,n:"Disabled",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Disabled",t:8,rt:$n[0].Boolean,fg:"disabled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Disabled",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"disabled"},fn:"disabled"},{a:2,n:"Fields",t:16,rt:$n[4].IEnumerable$1(UIComponents.FormField.FieldProps),g:{a:2,n:"get_Fields",t:8,rt:$n[4].IEnumerable$1(UIComponents.FormField.FieldProps),fg:"fields"},s:{a:2,n:"set_Fields",t:8,p:[$n[4].IEnumerable$1(UIComponents.FormField.FieldProps)],rt:$n[0].Void,fs:"fields"},fn:"fields"},{a:2,n:"FormAttributes",t:16,rt:System.Object,g:{a:2,n:"get_FormAttributes",t:8,rt:System.Object,fg:"formAttributes"},s:{a:2,n:"set_FormAttributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"formAttributes"},fn:"formAttributes"},{a:2,n:"Label",t:16,rt:$n[0].String,g:{a:2,n:"get_Label",t:8,rt:$n[0].String,fg:"label"},s:{a:2,n:"set_Label",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"label"},fn:"label"},{a:2,n:"OnSubmit",t:16,rt:Function,g:{a:2,n:"get_OnSubmit",t:8,rt:Function,fg:"onSubmit"},s:{a:2,n:"set_OnSubmit",t:8,p:[Function],rt:$n[0].Void,fs:"onSubmit"},fn:"onSubmit"},{a:1,n:"__Property__Initializer__Label",t:4,rt:$n[0].String,sn:"__Property__Initializer__Label"}]}});$m("UIComponents.Apps.DonateForm.TextPrefill",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[28].TextPrefill.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[28].TextPrefill.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"App",is:!0,t:8,pi:[{n:"properties",pt:System.Object,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],tpc:0,def:function(properties,children){return React.createElement("TextPrefill",Bridge.React.fixAttr(properties),children)},rt:Object,p:[System.Object,System.Array.type(System.Object)]},{a:1,n:"FromElement",t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"fromElement",rt:$n[0].String,p:[HTMLElement]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[28].TextPrefill.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"dataKey",is:!0,t:4,rt:$n[0].String,sn:"dataKey"}]}});$m("UIComponents.Apps.DonateForm.TextPrefill.Props",function(){return{td:$n[28].TextPrefill,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CanShow",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanShow",t:8,rt:$n[0].Boolean,fg:"canShow",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanShow",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canShow"},fn:"canShow"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"}]}});$m("UIComponents.Apps.DonateForm.TextPrefill.State",function(){return{td:$n[28].TextPrefill,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Inner",t:4,rt:HTMLElement,sn:"inner"},{a:2,n:"InnerComponent",t:4,rt:Object,sn:"innerComponent"}]}});$m("UIComponents.Apps.DonateForm.FormComplete",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[28].FormComplete.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[28].FormComplete.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"App",is:!0,t:8,pi:[{n:"properties",pt:System.Object,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],tpc:0,def:function(properties,children){return React.createElement("formcomplete",Bridge.React.fixAttr(properties),children)},rt:Object,p:[System.Object,System.Array.type(System.Object)]},{a:1,n:"FillAmount",t:8,sn:"fillAmount",rt:$n[0].Void},{a:1,n:"FromElement",t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"fromElement",rt:$n[0].Decimal,p:[HTMLElement]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[28].FormComplete.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"formatAmount",is:!0,t:8,pi:[{n:"input",pt:$n[0].String,ps:0}],sn:"formatAmount",rt:$n[0].String,p:[$n[0].String]}]}});$m("UIComponents.Apps.DonateForm.FormComplete.Props",function(){return{td:$n[28].FormComplete,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CanShow",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanShow",t:8,rt:$n[0].Boolean,fg:"canShow",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanShow",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canShow"},fn:"canShow"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"UpdateField",t:4,rt:$n[15].UpdateFieldDispatcher,sn:"updateField"}]}});$m("UIComponents.Apps.DonateForm.FormComplete.State",function(){return{td:$n[28].FormComplete,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Amount",t:4,rt:$n[0].Decimal,sn:"amount"},{a:2,n:"Inner",t:4,rt:HTMLElement,sn:"inner"},{a:2,n:"InnerComponent",t:4,rt:Object,sn:"innerComponent"}]}});$m("UIComponents.Apps.DonateForm.TokenSubmitForm",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[0].String,$n[6].CardInfo,Function,$n[4].Dictionary$2(System.String,System.String)],pi:[{n:"shortToken",pt:$n[0].String,ps:0},{n:"payment",pt:$n[6].CardInfo,ps:1},{n:"isDisabled",pt:Function,ps:2},{n:"items",pt:$n[4].Dictionary$2(System.String,System.String),ps:3}],sn:"ctor"},{a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"getFormAction",is:!0,t:8,sn:"getFormAction",rt:$n[0].String},{a:2,n:"Fields",t:16,rt:$n[4].IEnumerable$1(UIComponents.FormInput.Props),g:{a:2,n:"get_Fields",t:8,rt:$n[4].IEnumerable$1(UIComponents.FormInput.Props),fg:"fields"},s:{a:2,n:"set_Fields",t:8,p:[$n[4].IEnumerable$1(UIComponents.FormInput.Props)],rt:$n[0].Void,fs:"fields"},fn:"fields"},{a:2,n:"IsDisabled",t:16,rt:Function,g:{a:2,n:"get_IsDisabled",t:8,rt:Function,fg:"isDisabled"},s:{a:2,n:"set_IsDisabled",t:8,p:[Function],rt:$n[0].Void,fs:"isDisabled"},fn:"isDisabled"},{a:2,n:"Items",t:16,rt:$n[4].Dictionary$2(System.String,System.String),g:{a:2,n:"get_Items",t:8,rt:$n[4].Dictionary$2(System.String,System.String),fg:"items"},s:{a:2,n:"set_Items",t:8,p:[$n[4].Dictionary$2(System.String,System.String)],rt:$n[0].Void,fs:"items"},fn:"items"},{a:2,n:"OnSubmit",t:16,rt:Function,g:{a:2,n:"get_OnSubmit",t:8,rt:Function,fg:"onSubmit"},s:{a:2,n:"set_OnSubmit",t:8,p:[Function],rt:$n[0].Void,fs:"onSubmit"},fn:"onSubmit"},{a:2,n:"Payment",t:16,rt:$n[6].CardInfo,g:{a:2,n:"get_Payment",t:8,rt:$n[6].CardInfo,fg:"payment"},s:{a:2,n:"set_Payment",t:8,p:[$n[6].CardInfo],rt:$n[0].Void,fs:"payment"},fn:"payment"},{a:2,n:"ShortToken",t:16,rt:$n[0].String,g:{a:2,n:"get_ShortToken",t:8,rt:$n[0].String,fg:"shortToken"},s:{a:2,n:"set_ShortToken",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"shortToken"},fn:"shortToken"}]}});$m("UIComponents.Apps.DonateForm.TokenForm",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[28].TokenForm.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[28].TokenForm.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"ChangePayment",is:!0,t:8,pi:[{n:"url",pt:$n[0].String,ps:0}],sn:"changePayment",rt:$n[0].Void,p:[$n[0].String]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[28].TokenForm.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"submitFormAction",t:8,sn:"submitFormAction",rt:$n[0].Void}]}});$m("UIComponents.Apps.DonateForm.TokenForm.State",function(){return{td:$n[28].TokenForm,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Submitted",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Submitted",t:8,rt:$n[0].Boolean,fg:"submitted",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Submitted",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"submitted"},fn:"submitted"}]}});$m("UIComponents.Apps.DonateForm.TokenForm.Props",function(){return{td:$n[28].TokenForm,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Card",t:16,rt:$n[6].CardInfo,g:{a:2,n:"get_Card",t:8,rt:$n[6].CardInfo,fg:"card"},s:{a:2,n:"set_Card",t:8,p:[$n[6].CardInfo],rt:$n[0].Void,fs:"card"},fn:"card"},{a:2,n:"Disabled",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_Disabled",t:8,rt:$n[0].Boolean,fg:"disabled",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_Disabled",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"disabled"},fn:"disabled"},{a:2,n:"FormAttributes",t:16,rt:System.Object,g:{a:2,n:"get_FormAttributes",t:8,rt:System.Object,fg:"formAttributes"},s:{a:2,n:"set_FormAttributes",t:8,p:[System.Object],rt:$n[0].Void,fs:"formAttributes"},fn:"formAttributes"},{a:2,n:"Label",t:16,rt:$n[0].String,g:{a:2,n:"get_Label",t:8,rt:$n[0].String,fg:"label"},s:{a:2,n:"set_Label",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"label"},fn:"label"},{a:2,n:"OnSubmit",t:16,rt:Function,g:{a:2,n:"get_OnSubmit",t:8,rt:Function,fg:"onSubmit"},s:{a:2,n:"set_OnSubmit",t:8,p:[Function],rt:$n[0].Void,fs:"onSubmit"},fn:"onSubmit"},{a:1,n:"__Property__Initializer__Label",t:4,rt:$n[0].String,sn:"__Property__Initializer__Label"}]}});$m("UIComponents.Apps.DonateForm.DonateFormApp",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[28].DonateFormApp.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[28].DonateFormApp.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:2,n:"App",is:!0,t:8,pi:[{n:"properties",pt:System.Object,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],tpc:0,def:function(properties,children){return React.createElement("donateformapp",Bridge.React.fixAttr(properties),children)},rt:Object,p:[System.Object,System.Array.type(System.Object)]},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentWillReceiveProps",t:8,pi:[{n:"nextProps",pt:$n[28].DonateFormApp.Props,ps:0}],sn:"componentWillReceivePropsWrapped",rt:$n[0].Void,p:[$n[28].DonateFormApp.Props]},{a:2,n:"GetFormFields",is:!0,t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"getFormFields",rt:$n[4].IEnumerable$1(UIComponents.FormInput.Props),p:[HTMLElement]},{a:2,n:"GetFromSettingsModelOrDefault",is:!0,t:8,sn:"getFromSettingsModelOrDefault",rt:$n[2].FromSettingsModel},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[28].DonateFormApp.State},{a:1,n:"InitFields",t:8,pi:[{n:"fields",pt:$n[4].IEnumerable$1(UIComponents.FormInput.Props),ps:0}],sn:"initFields",rt:$n[4].IEnumerable$1(UIComponents.FormInput.Props),p:[$n[4].IEnumerable$1(UIComponents.FormInput.Props)]},{a:1,n:"PrefillInputs",t:8,pi:[{n:"fields",pt:$n[4].IEnumerable$1(UIComponents.FormInput.Props),ps:0}],sn:"prefillInputs",rt:$n[0].Void,p:[$n[4].IEnumerable$1(UIComponents.FormInput.Props)]},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"SwitchPaymentForm",t:8,sn:"switchPaymentForm",rt:$n[22].ISubmitForm},{a:1,n:"collectFormItems",t:8,sn:"collectFormItems",rt:$n[4].Dictionary$2(System.String,System.String)},{a:1,n:"constructEventButtons",t:8,pi:[{n:"disabled",pt:$n[0].Boolean,ps:0}],sn:"constructEventButtons",rt:$n[4].IEnumerable$1(Object),p:[$n[0].Boolean]},{a:2,n:"defaultFields",is:!0,t:8,pi:[{n:"Appeal",pt:$n[2].DonateFormModel,ps:0}],sn:"defaultFields",rt:$n[4].List$1(UIComponents.FormInput.Props),p:[$n[2].DonateFormModel]},{a:1,n:"fieldComponents",is:!0,t:8,pi:[{n:"fields",pt:$n[4].IEnumerable$1(UIComponents.FormInput.Props),ps:0}],sn:"fieldComponents",rt:$n[4].IEnumerable$1(Object),p:[$n[4].IEnumerable$1(UIComponents.FormInput.Props)]},{a:1,n:"fieldElementType",is:!0,t:8,pi:[{n:"i",pt:HTMLElement,ps:0},{n:"l",pt:$n[0].String,ps:1},{n:"n",pt:$n[0].Int32,ps:2}],sn:"fieldElementType",rt:$n[8].FormInput.Props,p:[HTMLElement,$n[0].String,$n[0].Int32]},{a:1,n:"fieldInputType",is:!0,t:8,pi:[{n:"i",pt:HTMLInputElement,ps:0},{n:"l",pt:$n[0].String,ps:1},{n:"n",pt:$n[0].Int32,ps:2}],sn:"fieldInputType",rt:$n[8].FormInput.Props,p:[HTMLInputElement,$n[0].String,$n[0].Int32]},{a:1,n:"isDisabled",is:!0,t:8,pi:[{n:"vfields",pt:$n[4].IEnumerable$1(UIComponents.Validation),ps:0}],sn:"isDisabled",rt:$n[0].Boolean,p:[$n[4].IEnumerable$1(UIComponents.Validation)],box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:1,n:"paymentForm",t:8,sn:"paymentForm",rt:Object},{a:1,n:"revalidate",t:8,sn:"revalidate",rt:System.Array.type(UIComponents.FormInput.Props)},{a:1,n:"updateField",t:8,pi:[{n:"evt",pt:$n[15].UpdateFieldDispatcher.UpdateFieldEventArgs,ps:0}],sn:"updateField",rt:$n[0].Void,p:[$n[15].UpdateFieldDispatcher.UpdateFieldEventArgs]}]}});$m("UIComponents.Apps.DonateForm.DonateFormApp.Props",function(){return{td:$n[28].DonateFormApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Appeal",t:16,rt:$n[2].DonateFormModel,g:{a:2,n:"get_Appeal",t:8,rt:$n[2].DonateFormModel,fg:"appeal"},s:{a:2,n:"set_Appeal",t:8,p:[$n[2].DonateFormModel],rt:$n[0].Void,fs:"appeal"},fn:"appeal"},{a:2,n:"CanShow",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanShow",t:8,rt:$n[0].Boolean,fg:"canShow",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanShow",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canShow"},fn:"canShow"},{a:2,n:"FormModel",t:16,rt:$n[2].FromSettingsModel,g:{a:2,n:"get_FormModel",t:8,rt:$n[2].FromSettingsModel,fg:"formModel"},s:{a:2,n:"set_FormModel",t:8,p:[$n[2].FromSettingsModel],rt:$n[0].Void,fs:"formModel"},fn:"formModel"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},fn:"key"},{a:2,n:"isEditing",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_isEditing",t:8,rt:$n[0].Boolean,fg:"isEditing",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_isEditing",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"isEditing"},fn:"isEditing"},{a:2,n:"NewState",t:4,rt:$n[28].DonateFormApp.State,sn:"newState"}]}});$m("UIComponents.Apps.DonateForm.DonateFormApp.State",function(){return{td:$n[28].DonateFormApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:4,n:"FromElement",is:!0,t:8,pi:[{n:"props",pt:$n[28].DonateFormApp.Props,ps:0}],sn:"fromElement",rt:$n[28].DonateFormApp.State,p:[$n[28].DonateFormApp.Props]},{a:2,n:"EventButtons",t:4,rt:$n[4].IEnumerable$1(UIComponents.Components.Form.Buttons.EventButton.Props),sn:"eventButtons"},{a:2,n:"Fields",t:4,rt:$n[4].IEnumerable$1(UIComponents.FormInput.Props),sn:"fields"},{a:2,n:"Submit",t:4,rt:Function,sn:"submit"}]}});$m("UIComponents.Apps.SearchWidget.SearchInput",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[30].SearchInput.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[30].SearchInput.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Apps.SearchWidget.SearchInput.Props",function(){return{td:$n[30].SearchInput,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"OnBlur",t:16,rt:Function,g:{a:2,n:"get_OnBlur",t:8,rt:Function,fg:"onBlur"},s:{a:2,n:"set_OnBlur",t:8,p:[Function],rt:$n[0].Void,fs:"onBlur"},fn:"onBlur"},{a:2,n:"OnChange",t:16,rt:Function,g:{a:2,n:"get_OnChange",t:8,rt:Function,fg:"onChange"},s:{a:2,n:"set_OnChange",t:8,p:[Function],rt:$n[0].Void,fs:"onChange"},fn:"onChange"},{a:2,n:"Placeholder",t:16,rt:$n[0].String,g:{a:2,n:"get_Placeholder",t:8,rt:$n[0].String,fg:"placeholder"},s:{a:2,n:"set_Placeholder",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"placeholder"},fn:"placeholder"},{a:2,n:"Value",t:16,rt:$n[0].String,g:{a:2,n:"get_Value",t:8,rt:$n[0].String,fg:"value"},s:{a:2,n:"set_Value",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"value"},fn:"value"}]}});$m("UIComponents.Apps.SearchWidget.KnowledgebaseSearch",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[30].KnowledgebaseSearch.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[30].KnowledgebaseSearch.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"doSearch",t:8,pi:[{n:"query",pt:$n[0].String,ps:0},{n:"callback",pt:Function,ps:1}],sn:"doSearch",rt:$n[0].Void,p:[$n[0].String,Function]},{a:1,n:"readResult",t:8,pi:[{n:"results",pt:System.Array.type(System.Object),ps:0}],sn:"readResult",rt:$n[4].IEnumerable$1(UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult),p:[System.Array.type(System.Object)]}]}});$m("UIComponents.Apps.SearchWidget.KnowledgebaseSearch.Props",function(){return{td:$n[30].KnowledgebaseSearch,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"}]}});$m("UIComponents.Apps.SearchWidget.SearchWidgetApp",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[30].SearchWidgetApp.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[30].SearchWidgetApp.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[30].SearchWidgetApp.Props,ps:0},{n:"previousState",pt:$n[30].SearchWidgetApp.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[30].SearchWidgetApp.Props,$n[30].SearchWidgetApp.State]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[30].SearchWidgetApp.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"UpdateItems",t:8,pi:[{n:"items",pt:$n[4].IEnumerable$1(UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult),ps:0}],sn:"updateItems",rt:$n[0].Void,p:[$n[4].IEnumerable$1(UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult)]}]}});$m("UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult",function(){return{td:$n[30].SearchWidgetApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Id",t:4,rt:$n[0].String,sn:"id"},{a:2,n:"Snippet",t:4,rt:$n[0].String,sn:"snippet"},{a:2,n:"Title",t:4,rt:$n[0].String,sn:"title"},{a:2,n:"Url",t:4,rt:$n[0].Uri,sn:"url"}]}});$m("UIComponents.Apps.SearchWidget.SearchWidgetApp.Props",function(){return{td:$n[30].SearchWidgetApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"DoSearch",t:16,rt:Function,g:{a:2,n:"get_DoSearch",t:8,rt:Function,fg:"doSearch"},s:{a:2,n:"set_DoSearch",t:8,p:[Function],rt:$n[0].Void,fs:"doSearch"},fn:"doSearch"},{a:2,n:"Placeholder",t:16,rt:$n[0].String,g:{a:2,n:"get_Placeholder",t:8,rt:$n[0].String,fg:"placeholder"},s:{a:2,n:"set_Placeholder",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"placeholder"},fn:"placeholder"}]}});$m("UIComponents.Apps.SearchWidget.SearchWidgetApp.State",function(){return{td:$n[30].SearchWidgetApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Items",t:4,rt:$n[4].IEnumerable$1(UIComponents.Apps.SearchWidget.SearchWidgetApp.SearchResult),sn:"items"},{a:2,n:"SearchTerm",t:4,rt:$n[0].String,sn:"searchTerm"}]}});$m("UIComponents.Apps.ProgressWidget.DonationQuery",function(){return{att:1048577,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:1,n:"Filter",is:!0,t:8,pi:[{n:"query",pt:$n[29].DonationQuery,ps:0}],sn:"filter",rt:$n[0].String,p:[$n[29].DonationQuery]},{a:2,n:"ODataUrl",is:!0,t:8,pi:[{n:"query",pt:$n[29].DonationQuery,ps:0}],sn:"oDataUrl",rt:$n[0].String,p:[$n[29].DonationQuery]},{a:2,n:"AppealTitles",t:16,rt:$n[0].Array.type(System.String),g:{a:2,n:"get_AppealTitles",t:8,rt:$n[0].Array.type(System.String),fg:"appealTitles"},s:{a:2,n:"set_AppealTitles",t:8,p:[$n[0].Array.type(System.String)],rt:$n[0].Void,fs:"appealTitles"},fn:"appealTitles"},{a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"charityId",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CharityId",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"charityId"},fn:"charityId"},{a:1,n:"__Property__Initializer__AppealTitles",t:4,rt:$n[0].Array.type(System.String),sn:"__Property__Initializer__AppealTitles"}]}});$m("UIComponents.Apps.ProgressWidget.AppealSelect",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[29].AppealSelect.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[29].AppealSelect.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[29].AppealSelect.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"loadAppealTitles",is:!0,t:8,pi:[{n:"charityId",pt:$n[0].Int32,ps:0}],sn:"loadAppealTitles",rt:$n[10].Task$1(System.Collections.Generic.IEnumerable$1(ViewModels.AppealTitle)),p:[$n[0].Int32]},{a:2,n:"loadBearerToken",is:!0,t:8,pi:[{n:"url",pt:$n[0].String,ps:0}],sn:"loadBearerToken",rt:$n[10].Task$1(System.String),p:[$n[0].String]},{a:1,n:"publishUpdate",t:8,pi:[{n:"query",pt:$n[29].DonationQuery,ps:0}],sn:"publishUpdate",rt:$n[10].Task,p:[$n[29].DonationQuery]},{a:1,n:"setOptions",t:8,pi:[{n:"charityId",pt:$n[0].Int32,ps:0}],sn:"setOptions",rt:$n[10].Task$1(System.Collections.Generic.IEnumerable$1(System.String)),p:[$n[0].Int32]}]}});$m("UIComponents.Apps.ProgressWidget.AppealSelect.Props",function(){return{td:$n[29].AppealSelect,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Initial",t:16,rt:$n[3].IAppealTitle,g:{a:2,n:"get_Initial",t:8,rt:$n[3].IAppealTitle,fg:"initial"},s:{a:2,n:"set_Initial",t:8,p:[$n[3].IAppealTitle],rt:$n[0].Void,fs:"initial"},fn:"initial"},{a:2,n:"OnUpdate",t:16,rt:Function,g:{a:2,n:"get_OnUpdate",t:8,rt:Function,fg:"onUpdate"},s:{a:2,n:"set_OnUpdate",t:8,p:[Function],rt:$n[0].Void,fs:"onUpdate"},fn:"onUpdate"}]}});$m("UIComponents.Apps.ProgressWidget.AppealSelect.State",function(){return{td:$n[29].AppealSelect,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"BearerToken",t:4,rt:$n[0].String,sn:"bearerToken"},{a:2,n:"Open",t:4,rt:$n[0].Boolean,sn:"open",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Query",t:4,rt:$n[29].DonationQuery,sn:"query"},{a:2,n:"Titles",t:4,rt:$n[4].IEnumerable$1(ViewModels.AppealTitle),sn:"titles"}]}});$m("UIComponents.Apps.AppealEditor.ReceiptUL",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[16].ODataCollection$2.Props$1(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext,ViewModels.ReactContext.ReceiptTitleContext),System.Array.type(System.Object)],pi:[{n:"props",pt:$n[16].ODataCollection$2.Props$1(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext,ViewModels.ReactContext.ReceiptTitleContext),ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[16].ODataCollection$2.State(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext)},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Apps.AppealEditor.NewReceiptLI",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[31].ReceiptLI.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[31].ReceiptLI.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"TryAssign",t:8,pi:[{n:"item",pt:$n[2].ReceiptTitle,ps:0}],sn:"tryAssign",rt:$n[0].Void,p:[$n[2].ReceiptTitle]},{a:1,n:"updateModal",t:8,pi:[{n:"item",pt:$n[2].ReceiptTitle,ps:0}],sn:"updateModal",rt:$n[8].ConfirmModal.Props,p:[$n[2].ReceiptTitle]}]}});$m("UIComponents.Apps.AppealEditor.ReceiptLI",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[31].ReceiptLI.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[31].ReceiptLI.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:1,n:"Element",t:8,pi:[{n:"item",pt:$n[2].ReceiptTitle,ps:0}],sn:"element",rt:Object,p:[$n[2].ReceiptTitle]},{a:1,n:"GetHref",t:8,pi:[{n:"item",pt:$n[2].ReceiptTitle,ps:0}],sn:"getHref",rt:$n[0].String,p:[$n[2].ReceiptTitle]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[31].ReceiptLI.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"catchAndAlertFor",t:8,pi:[{n:"task",pt:$n[10].Task$1(System.Object),ps:0}],tpc:1,tprm:["U"],sn:"catchAndAlertFor",rt:$n[10].Task$1(System.Object),p:[$n[10].Task$1(System.Object)]},{a:1,n:"deleteModal",t:8,pi:[{n:"item",pt:$n[2].ReceiptTitle,ps:0}],sn:"deleteModal",rt:$n[8].ConfirmModal.Props,p:[$n[2].ReceiptTitle]},{a:1,n:"errorModal",t:8,pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"errorModal",rt:$n[8].InfoModal.Props,p:[$n[0].String]}]}});$m("UIComponents.Apps.AppealEditor.ReceiptLI.Props",function(){return{td:$n[31].ReceiptLI,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[1].ReceiptTitleContext],pi:[{n:"context",pt:$n[1].ReceiptTitleContext,ps:0}],sn:"ctor"},{a:2,n:"Collection",t:16,rt:$n[16].ODataCollection$2(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext),g:{a:2,n:"get_Collection",t:8,rt:$n[16].ODataCollection$2(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext),fg:"collection"},s:{a:2,n:"set_Collection",t:8,p:[$n[16].ODataCollection$2(ViewModels.ReceiptTitle,ViewModels.ReactContext.ReceiptTitleContext)],rt:$n[0].Void,fs:"collection"},fn:"collection"},{a:2,n:"Context",t:16,rt:$n[1].ReceiptTitleContext,g:{a:2,n:"get_Context",t:8,rt:$n[1].ReceiptTitleContext,fg:"context"},s:{a:2,n:"set_Context",t:8,p:[$n[1].ReceiptTitleContext],rt:$n[0].Void,fs:"context"},fn:"context"},{a:2,n:"Create",t:16,rt:Object,g:{a:2,n:"get_Create",t:8,rt:Object,fg:"create"},s:{a:2,n:"set_Create",t:8,p:[Object],rt:$n[0].Void,fs:"create"},fn:"create"},{a:2,n:"Item",t:16,rt:$n[2].ReceiptTitle,g:{a:2,n:"get_Item",t:8,rt:$n[2].ReceiptTitle,fg:"item"},s:{a:2,n:"set_Item",t:8,p:[$n[2].ReceiptTitle],rt:$n[0].Void,fs:"item"},fn:"item"},{a:2,n:"Options",t:16,rt:$n[4].List$1(ViewModels.ReceiptTitle),g:{a:2,n:"get_Options",t:8,rt:$n[4].List$1(ViewModels.ReceiptTitle),fg:"options"},s:{a:2,n:"set_Options",t:8,p:[$n[4].List$1(ViewModels.ReceiptTitle)],rt:$n[0].Void,fs:"options"},fn:"options"}]}});$m("UIComponents.Apps.AppealEditor.ReceiptLI.State",function(){return{td:$n[31].ReceiptLI,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealUUID",t:4,rt:$n[0].String,sn:"appealUUID"},{a:2,n:"Modal",t:4,rt:$n[8].IKeyProps,sn:"modal"}]}});$m("UIComponents.Apps.AppealEditor.ThankyouPageUL",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[16].ODataCollection$2.Props$1(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext,ViewModels.ReactContext.PageTitleContext),System.Array.type(System.Object)],pi:[{n:"props",pt:$n[16].ODataCollection$2.Props$1(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext,ViewModels.ReactContext.PageTitleContext),ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[16].ODataCollection$2.State(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext)},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Apps.AppealEditor.NewThankyouPageLI",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[31].ThankyouPageLI.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[31].ThankyouPageLI.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"TryAssign",t:8,pi:[{n:"item",pt:$n[2].ThankyouPageTitle,ps:0}],sn:"tryAssign",rt:$n[0].Void,p:[$n[2].ThankyouPageTitle]},{a:1,n:"updateModal",t:8,pi:[{n:"item",pt:$n[2].ThankyouPageTitle,ps:0}],sn:"updateModal",rt:$n[8].ConfirmModal.Props,p:[$n[2].ThankyouPageTitle]}]}});$m("UIComponents.Apps.AppealEditor.ThankyouPageLI",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[31].ThankyouPageLI.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[31].ThankyouPageLI.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:1,n:"Element",t:8,pi:[{n:"item",pt:$n[2].ThankyouPageTitle,ps:0}],sn:"element",rt:Object,p:[$n[2].ThankyouPageTitle]},{a:1,n:"GetHref",t:8,pi:[{n:"item",pt:$n[2].ThankyouPageTitle,ps:0}],sn:"getHref",rt:$n[0].String,p:[$n[2].ThankyouPageTitle]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[31].ThankyouPageLI.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"catchAndAlertFor",t:8,pi:[{n:"task",pt:$n[10].Task$1(System.Object),ps:0}],tpc:1,tprm:["U"],sn:"catchAndAlertFor",rt:$n[10].Task$1(System.Object),p:[$n[10].Task$1(System.Object)]},{a:1,n:"deleteModal",t:8,pi:[{n:"item",pt:$n[2].ThankyouPageTitle,ps:0}],sn:"deleteModal",rt:$n[8].ConfirmModal.Props,p:[$n[2].ThankyouPageTitle]},{a:1,n:"errorModal",t:8,pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"errorModal",rt:$n[8].InfoModal.Props,p:[$n[0].String]}]}});$m("UIComponents.Apps.AppealEditor.ThankyouPageLI.Props",function(){return{td:$n[31].ThankyouPageLI,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[1].PageTitleContext],pi:[{n:"context",pt:$n[1].PageTitleContext,ps:0}],sn:"ctor"},{a:2,n:"Collection",t:16,rt:$n[16].ODataCollection$2(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext),g:{a:2,n:"get_Collection",t:8,rt:$n[16].ODataCollection$2(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext),fg:"collection"},s:{a:2,n:"set_Collection",t:8,p:[$n[16].ODataCollection$2(ViewModels.ThankyouPageTitle,ViewModels.ReactContext.PageTitleContext)],rt:$n[0].Void,fs:"collection"},fn:"collection"},{a:2,n:"Context",t:16,rt:$n[1].PageTitleContext,g:{a:2,n:"get_Context",t:8,rt:$n[1].PageTitleContext,fg:"context"},s:{a:2,n:"set_Context",t:8,p:[$n[1].PageTitleContext],rt:$n[0].Void,fs:"context"},fn:"context"},{a:2,n:"Create",t:16,rt:Object,g:{a:2,n:"get_Create",t:8,rt:Object,fg:"create"},s:{a:2,n:"set_Create",t:8,p:[Object],rt:$n[0].Void,fs:"create"},fn:"create"},{a:2,n:"Item",t:16,rt:$n[2].ThankyouPageTitle,g:{a:2,n:"get_Item",t:8,rt:$n[2].ThankyouPageTitle,fg:"item"},s:{a:2,n:"set_Item",t:8,p:[$n[2].ThankyouPageTitle],rt:$n[0].Void,fs:"item"},fn:"item"},{a:2,n:"Options",t:16,rt:$n[4].List$1(ViewModels.ThankyouPageTitle),g:{a:2,n:"get_Options",t:8,rt:$n[4].List$1(ViewModels.ThankyouPageTitle),fg:"options"},s:{a:2,n:"set_Options",t:8,p:[$n[4].List$1(ViewModels.ThankyouPageTitle)],rt:$n[0].Void,fs:"options"},fn:"options"}]}});$m("UIComponents.Apps.AppealEditor.ThankyouPageLI.State",function(){return{td:$n[31].ThankyouPageLI,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"AppealUUID",t:4,rt:$n[0].String,sn:"appealUUID"},{a:2,n:"Modal",t:4,rt:$n[8].IKeyProps,sn:"modal"}]}});$m("UIComponents.Apps.AppealEditor.PageEditorApp",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[31].PageEditorApp.Props],pi:[{n:"props",pt:$n[31].PageEditorApp.Props,ps:0}],sn:"ctor"},{a:1,n:"CompleteSaving",t:8,sn:"completeSaving",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[31].PageEditorApp.Props,ps:0},{n:"previousState",pt:$n[31].PageEditorApp.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[31].PageEditorApp.Props,$n[31].PageEditorApp.State]},{ov:!0,a:3,n:"ComponentWillMount",t:8,sn:"componentWillMount",rt:$n[0].Void},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[31].PageEditorApp.State},{a:2,n:"GetMetaModelOrDefault",is:!0,t:8,sn:"getMetaModelOrDefault",rt:$n[2].PageMetaModel},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"SaveDocument",t:8,pi:[{n:"toPublish",dv:!1,o:!0,pt:$n[0].Boolean,ps:0}],sn:"saveDocument",rt:$n[10].Task$1(System.Int32),p:[$n[0].Boolean]},{a:1,n:"SilentSave",t:8,sn:"silentSave",rt:$n[0].Void},{a:1,n:"controlMenu",t:8,sn:"controlMenu",rt:Object},{a:1,n:"controlsRight",t:8,sn:"controlsRight",rt:$n[4].IEnumerable$1(Object)},{a:1,n:"discardModal",t:8,pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"discardModal",rt:$n[8].ConfirmModal.Props,p:[$n[0].String]},{a:1,n:"getSaveRequestData",t:8,pi:[{n:"charityId",pt:$n[0].String,ps:0},{n:"uuid",pt:$n[0].String,ps:1},{n:"appealKey",pt:$n[0].String,ps:2},{n:"html",pt:$n[0].String,ps:3}],sn:"getSaveRequestData",rt:FormData,p:[$n[0].String,$n[0].String,$n[0].String,$n[0].String]},{a:1,n:"preview",t:8,pi:[{n:"w",pt:$n[0].Int32,ps:0},{n:"h",pt:$n[0].Int32,ps:1}],sn:"preview",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Int32]},{a:1,n:"publishModal",t:8,pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"publishModal",rt:$n[8].ConfirmModal.Props,p:[$n[0].String]},{a:1,n:"saveElement",t:8,sn:"saveElement",rt:$n[8].Modal},{a:1,n:"sessionExpiredModal",t:8,pi:[{n:"key",pt:$n[0].String,ps:0},{n:"loginUrl",pt:$n[0].String,ps:1}],sn:"sessionExpiredModal",rt:$n[8].ConfirmModal.Props,p:[$n[0].String,$n[0].String]}]}});$m("UIComponents.Apps.AppealEditor.PageEditorApp.SaveState",function(){return{td:$n[31].PageEditorApp,att:258,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Error",is:!0,t:4,rt:$n[31].PageEditorApp.SaveState,sn:"error",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.PageEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.PageEditorApp.SaveState))}},{a:2,n:"Ready",is:!0,t:4,rt:$n[31].PageEditorApp.SaveState,sn:"ready",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.PageEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.PageEditorApp.SaveState))}},{a:2,n:"Saving",is:!0,t:4,rt:$n[31].PageEditorApp.SaveState,sn:"saving",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.PageEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.PageEditorApp.SaveState))}},{a:2,n:"StartSave",is:!0,t:4,rt:$n[31].PageEditorApp.SaveState,sn:"startSave",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.PageEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.PageEditorApp.SaveState))}}]}});$m("UIComponents.Apps.AppealEditor.PageEditorApp.ServiceEndpointRequest",function(){return{td:$n[31].PageEditorApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CharityId",t:16,rt:$n[0].Int32,g:{a:2,n:"get_CharityId",t:8,rt:$n[0].Int32,fg:"charityId",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_CharityId",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"charityId"},fn:"charityId"},{a:2,n:"Html",t:16,rt:$n[0].String,g:{a:2,n:"get_Html",t:8,rt:$n[0].String,fg:"html"},s:{a:2,n:"set_Html",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"html"},fn:"html"},{a:2,n:"UUID",t:16,rt:$n[0].String,g:{a:2,n:"get_UUID",t:8,rt:$n[0].String,fg:"UUID"},s:{a:2,n:"set_UUID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"UUID"},fn:"UUID"}]}});$m("UIComponents.Apps.AppealEditor.PageEditorApp.Props",function(){return{td:$n[31].PageEditorApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"Meta",t:16,rt:$n[2].PageMetaModel,g:{a:2,n:"get_Meta",t:8,rt:$n[2].PageMetaModel,fg:"meta"},s:{a:4,n:"set_Meta",t:8,p:[$n[2].PageMetaModel],rt:$n[0].Void,fs:"meta"},fn:"meta"},{a:2,n:"SavingProcess",t:16,rt:$n[0].Int32,g:{a:2,n:"get_SavingProcess",t:8,rt:$n[0].Int32,fg:"savingProcess",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_SavingProcess",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"savingProcess"},fn:"savingProcess"}]}});$m("UIComponents.Apps.AppealEditor.PageEditorApp.State",function(){return{td:$n[31].PageEditorApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"HideControls",t:4,rt:$n[0].Boolean,sn:"hideControls",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsPublished",t:4,rt:$n[0].Boolean,sn:"isPublished",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Modal",t:4,rt:$n[8].IKeyProps,sn:"modal"},{a:2,n:"SaveState",t:4,rt:$n[31].PageEditorApp.SaveState,sn:"saveState",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.PageEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.PageEditorApp.SaveState))}},{a:2,n:"SaveTask",t:4,rt:$n[10].TaskCompletionSource,sn:"saveTask"}]}});$m("UIComponents.Apps.AppealEditor.EmailEditorApp",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[31].EmailEditorApp.Props],pi:[{n:"props",pt:$n[31].EmailEditorApp.Props,ps:0}],sn:"ctor"},{a:1,n:"CompleteSaving",t:8,sn:"completeSaving",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[31].EmailEditorApp.Props,ps:0},{n:"previousState",pt:$n[31].EmailEditorApp.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[31].EmailEditorApp.Props,$n[31].EmailEditorApp.State]},{ov:!0,a:3,n:"ComponentWillMount",t:8,sn:"componentWillMount",rt:$n[0].Void},{a:2,n:"GetEmailSettingsModelOrDefault",is:!0,t:8,sn:"getEmailSettingsModelOrDefault",rt:$n[2].EmailSettingsModel},{a:2,n:"GetInforOrDefault",is:!0,t:8,sn:"getInforOrDefault",rt:$n[2].EmailTemplateMetaModel},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[31].EmailEditorApp.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"SaveDocument",t:8,pi:[{n:"toPublish",dv:!1,o:!0,pt:$n[0].Boolean,ps:0}],sn:"saveDocument",rt:$n[10].Task$1(System.Int32),p:[$n[0].Boolean]},{a:1,n:"SilentSave",t:8,sn:"silentSave",rt:$n[0].Void},{a:1,n:"controlMenu",t:8,sn:"controlMenu",rt:Object},{a:1,n:"controlsRight",t:8,sn:"controlsRight",rt:$n[4].IEnumerable$1(Object)},{a:1,n:"discardModal",t:8,pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"discardModal",rt:$n[8].ConfirmModal.Props,p:[$n[0].String]},{a:1,n:"preview",t:8,pi:[{n:"isDraft",pt:$n[0].Boolean,ps:0}],sn:"preview",rt:$n[0].Void,p:[$n[0].Boolean]},{a:1,n:"publishModal",t:8,pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"publishModal",rt:$n[8].ConfirmModal.Props,p:[$n[0].String]},{a:1,n:"saveElement",t:8,sn:"saveElement",rt:$n[8].Modal}]}});$m("UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState",function(){return{td:$n[31].EmailEditorApp,att:258,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Error",is:!0,t:4,rt:$n[31].EmailEditorApp.SaveState,sn:"error",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState))}},{a:2,n:"Ready",is:!0,t:4,rt:$n[31].EmailEditorApp.SaveState,sn:"ready",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState))}},{a:2,n:"Saving",is:!0,t:4,rt:$n[31].EmailEditorApp.SaveState,sn:"saving",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState))}},{a:2,n:"StartSave",is:!0,t:4,rt:$n[31].EmailEditorApp.SaveState,sn:"startSave",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState))}}]}});$m("UIComponents.Apps.AppealEditor.EmailEditorApp.Props",function(){return{td:$n[31].EmailEditorApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Infor",t:16,rt:$n[2].EmailTemplateMetaModel,g:{a:2,n:"get_Infor",t:8,rt:$n[2].EmailTemplateMetaModel,fg:"infor"},s:{a:4,n:"set_Infor",t:8,p:[$n[2].EmailTemplateMetaModel],rt:$n[0].Void,fs:"infor"},fn:"infor"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"Meta",t:16,rt:$n[2].EmailSettingsModel,g:{a:2,n:"get_Meta",t:8,rt:$n[2].EmailSettingsModel,fg:"meta"},s:{a:4,n:"set_Meta",t:8,p:[$n[2].EmailSettingsModel],rt:$n[0].Void,fs:"meta"},fn:"meta"},{a:2,n:"SavingProcess",t:16,rt:$n[0].Int32,g:{a:2,n:"get_SavingProcess",t:8,rt:$n[0].Int32,fg:"savingProcess",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_SavingProcess",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"savingProcess"},fn:"savingProcess"}]}});$m("UIComponents.Apps.AppealEditor.EmailEditorApp.State",function(){return{td:$n[31].EmailEditorApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"HideControls",t:4,rt:$n[0].Boolean,sn:"hideControls",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IsPublished",t:4,rt:$n[0].Boolean,sn:"isPublished",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Modal",t:4,rt:$n[8].IKeyProps,sn:"modal"},{a:2,n:"SaveState",t:4,rt:$n[31].EmailEditorApp.SaveState,sn:"saveState",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.EmailEditorApp.SaveState))}},{a:2,n:"SaveTask",t:4,rt:$n[10].TaskCompletionSource,sn:"saveTask"}]}});$m("UIComponents.Apps.AppealEditor.AppealEditorApp",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[31].AppealEditorApp.Props],pi:[{n:"props",pt:$n[31].AppealEditorApp.Props,ps:0}],sn:"ctor"},{a:1,n:"CompleteSaving",t:8,sn:"completeSaving",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentDidUpdate",t:8,pi:[{n:"previousProps",pt:$n[31].AppealEditorApp.Props,ps:0},{n:"previousState",pt:$n[31].AppealEditorApp.State,ps:1}],sn:"componentDidUpdateWrapped",rt:$n[0].Void,p:[$n[31].AppealEditorApp.Props,$n[31].AppealEditorApp.State]},{ov:!0,a:3,n:"ComponentWillMount",t:8,sn:"componentWillMount",rt:$n[0].Void},{a:2,n:"GetDonationFormModelOrDefault",is:!0,t:8,sn:"getDonationFormModelOrDefault",rt:$n[2].DonateFormModel},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[31].AppealEditorApp.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"SaveDocument",t:8,pi:[{n:"toPublish",dv:!1,o:!0,pt:$n[0].Boolean,ps:0}],sn:"saveDocument",rt:$n[10].Task$1(System.Int32),p:[$n[0].Boolean]},{a:1,n:"SilentSave",t:8,sn:"silentSave",rt:$n[0].Void},{a:1,n:"controlMenu",t:8,sn:"controlMenu",rt:Object},{a:1,n:"controlsRight",t:8,sn:"controlsRight",rt:$n[4].IEnumerable$1(Object)},{a:1,n:"discardModal",t:8,pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"discardModal",rt:$n[8].ConfirmModal.Props,p:[$n[0].String]},{a:1,n:"groupModal",t:8,pi:[{n:"key",pt:$n[0].String,ps:0},{n:"title",pt:$n[0].String,ps:1},{n:"iframeSrc",pt:$n[0].String,ps:2},{n:"iframeHeight",pt:$n[0].Int32,ps:3},{n:"iframeWidth",pt:$n[0].Int32,ps:4}],sn:"groupModal",rt:$n[8].IframeModal.Props,p:[$n[0].String,$n[0].String,$n[0].String,$n[0].Int32,$n[0].Int32]},{a:1,n:"preview",t:8,pi:[{n:"w",pt:$n[0].Int32,ps:0},{n:"h",pt:$n[0].Int32,ps:1}],sn:"preview",rt:$n[0].Void,p:[$n[0].Int32,$n[0].Int32]},{a:1,n:"publishModal",t:8,pi:[{n:"key",pt:$n[0].String,ps:0}],sn:"publishModal",rt:$n[8].ConfirmModal.Props,p:[$n[0].String]},{a:1,n:"saveElement",t:8,sn:"saveElement",rt:$n[8].Modal},{a:1,n:"donateFormModel",is:!0,t:4,rt:$n[2].DonateFormModel,sn:"donateFormModel"}]}});$m("UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState",function(){return{td:$n[31].AppealEditorApp,att:258,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Error",is:!0,t:4,rt:$n[31].AppealEditorApp.SaveState,sn:"error",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState))}},{a:2,n:"Ready",is:!0,t:4,rt:$n[31].AppealEditorApp.SaveState,sn:"ready",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState))}},{a:2,n:"Saving",is:!0,t:4,rt:$n[31].AppealEditorApp.SaveState,sn:"saving",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState))}},{a:2,n:"StartSave",is:!0,t:4,rt:$n[31].AppealEditorApp.SaveState,sn:"startSave",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState))}}]}});$m("UIComponents.Apps.AppealEditor.AppealEditorApp.Props",function(){return{td:$n[31].AppealEditorApp,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"},{a:2,n:"Key",t:16,rt:$n[0].String,g:{a:2,n:"get_Key",t:8,rt:$n[0].String,fg:"key"},s:{a:2,n:"set_Key",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"key"},fn:"key"},{a:2,n:"Meta",t:16,rt:$n[2].DonateFormModel,g:{a:2,n:"get_Meta",t:8,rt:$n[2].DonateFormModel,fg:"meta"},s:{a:4,n:"set_Meta",t:8,p:[$n[2].DonateFormModel],rt:$n[0].Void,fs:"meta"},fn:"meta"},{a:2,n:"SavingProcess",t:16,rt:$n[0].Int32,g:{a:2,n:"get_SavingProcess",t:8,rt:$n[0].Int32,fg:"savingProcess",box:function($v){return Bridge.box($v,System.Int32)}},s:{a:2,n:"set_SavingProcess",t:8,p:[$n[0].Int32],rt:$n[0].Void,fs:"savingProcess"},fn:"savingProcess"}]}});$m("UIComponents.Apps.AppealEditor.AppealEditorApp.State",function(){return{td:$n[31].AppealEditorApp,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"HideControls",t:4,rt:$n[0].Boolean,sn:"hideControls",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"IframeGroupModal",t:4,rt:$n[8].IKeyProps,sn:"iframeGroupModal"},{a:2,n:"IsPublished",t:4,rt:$n[0].Boolean,sn:"isPublished",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},{a:2,n:"Modal",t:4,rt:$n[8].IKeyProps,sn:"modal"},{a:2,n:"SaveState",t:4,rt:$n[31].AppealEditorApp.SaveState,sn:"saveState",box:function($v){return Bridge.box($v,UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState,System.Enum.toStringFn(UIComponents.Apps.AppealEditor.AppealEditorApp.SaveState))}},{a:2,n:"SaveTask",t:4,rt:$n[10].TaskCompletionSource,sn:"saveTask"}]}});$m("UIComponents.Apps.AppealEditor.AppealUL",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[16].ODataCollection$2.Props$1(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext,ViewModels.ReactContext.AppealTitleContext),System.Array.type(System.Object)],pi:[{n:"props",pt:$n[16].ODataCollection$2.Props$1(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext,ViewModels.ReactContext.AppealTitleContext),ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:2,n:"Delete",t:8,pi:[{n:"item",pt:$n[2].AppealTitle,ps:0},{n:"qparams",dv:"",o:!0,pt:$n[0].String,ps:1},{n:"altsrc",dv:null,o:!0,pt:$n[0].String,ps:2}],sn:"delete",rt:$n[10].Task$1(XMLHttpRequest),p:[$n[2].AppealTitle,$n[0].String,$n[0].String]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[16].ODataCollection$2.State(ViewModels.AppealTitle,ViewModels.ReactContext.AppealTitleContext)},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object}]}});$m("UIComponents.Apps.AppealEditor.NewAppealLI",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[31].AppealLI.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[31].AppealLI.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"TryCreate",t:8,pi:[{n:"item",pt:$n[2].AppealTitle,ps:0}],sn:"tryCreate",rt:$n[10].Task,p:[$n[2].AppealTitle]},{a:1,n:"ValidationMessage",t:8,sn:"validationMessage",rt:Object},{a:1,n:"updateModal",t:8,pi:[{n:"item",pt:$n[2].AppealTitle,ps:0}],sn:"updateModal",rt:$n[8].ConfirmModal.Props,p:[$n[2].AppealTitle]}]}});$m("UIComponents.Apps.AppealEditor.AppealLI",function(){return{att:1048577,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[31].AppealLI.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[31].AppealLI.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{a:1,n:"Element",t:8,pi:[{n:"item",pt:$n[2].AppealTitle,ps:0}],sn:"element",rt:Object,p:[$n[2].AppealTitle]},{a:1,n:"GetHref",t:8,pi:[{n:"item",pt:$n[2].AppealTitle,ps:0}],sn:"getHref",rt:$n[0].String,p:[$n[2].AppealTitle]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[31].AppealLI.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:2,n:"TryDelete",t:8,pi:[{n:"item",pt:$n[2].AppealTitle,ps:0}],sn:"tryDelete",rt:$n[10].Task,p:[$n[2].AppealTitle]},{a:2,n:"catchAndAlertFor",t:8,pi:[{n:"task",pt:$n[10].Task$1(System.Object),ps:0}],tpc:1,tprm:["U"],sn:"catchAndAlertFor",rt:$n[10].Task$1(System.Object),p:[$n[10].Task$1(System.Object)]},{a:1,n:"deleteModal",t:8,pi:[{n:"item",pt:$n[2].AppealTitle,ps:0}],sn:"deleteModal",rt:$n[8].ConfirmModal.Props,p:[$n[2].AppealTitle]},{a:1,n:"errorModal",t:8,pi:[{n:"message",pt:$n[0].String,ps:0}],sn:"errorModal",rt:$n[8].InfoModal.Props,p:[$n[0].String]},{a:2,n:"DidUpdate",t:2,ad:{a:2,n:"add_DidUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"adddidUpdate",rt:$n[0].Void,p:[Function]},r:{a:2,n:"remove_DidUpdate",t:8,pi:[{n:"value",pt:Function,ps:0}],sn:"removedidUpdate",rt:$n[0].Void,p:[Function]}}]}});$m("UIComponents.Apps.AppealEditor.AppealLI.Props",function(){return{td:$n[31].AppealLI,att:1048578,a:2,m:[{a:2,n:".ctor",t:1,p:[$n[1].AppealTitleContext],pi:[{n:"context",pt:$n[1].AppealTitleContext,ps:0}],sn:"ctor"},{a:2,n:"Collection",t:16,rt:$n[31].AppealUL,g:{a:2,n:"get_Collection",t:8,rt:$n[31].AppealUL,fg:"collection"},s:{a:2,n:"set_Collection",t:8,p:[$n[31].AppealUL],rt:$n[0].Void,fs:"collection"},fn:"collection"},{a:2,n:"Context",t:16,rt:$n[1].AppealTitleContext,g:{a:2,n:"get_Context",t:8,rt:$n[1].AppealTitleContext,fg:"context"},s:{a:2,n:"set_Context",t:8,p:[$n[1].AppealTitleContext],rt:$n[0].Void,fs:"context"},fn:"context"},{a:2,n:"Create",t:16,rt:Object,g:{a:2,n:"get_Create",t:8,rt:Object,fg:"create"},s:{a:2,n:"set_Create",t:8,p:[Object],rt:$n[0].Void,fs:"create"},fn:"create"},{a:2,n:"Item",t:16,rt:$n[2].AppealTitle,g:{a:2,n:"get_Item",t:8,rt:$n[2].AppealTitle,fg:"item"},s:{a:2,n:"set_Item",t:8,p:[$n[2].AppealTitle],rt:$n[0].Void,fs:"item"},fn:"item"}]}});$m("UIComponents.Apps.AppealEditor.AppealLI.State",function(){return{td:$n[31].AppealLI,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"Modal",t:4,rt:$n[8].IKeyProps,sn:"modal"}]}});$m("UIComponents.Apps.AppealEditor.EditableTileContainer",function(){return{att:1048576,a:4,m:[{a:2,n:".ctor",t:1,p:[$n[31].EditableTileContainer.Props,System.Array.type(System.Object)],pi:[{n:"props",pt:$n[31].EditableTileContainer.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"ctor"},{ov:!0,a:3,n:"ComponentDidMount",t:8,sn:"componentDidMount",rt:$n[0].Void},{ov:!0,a:3,n:"ComponentWillMount",t:8,sn:"componentWillMount",rt:$n[0].Void},{a:1,n:"Construct",is:!0,t:8,pi:[{n:"props",pt:$n[31].EditableTileContainer.Props,ps:0},{n:"children",ip:!0,pt:System.Array.type(System.Object),ps:1}],sn:"construct",rt:Object,p:[$n[31].EditableTileContainer.Props,System.Array.type(System.Object)]},{a:1,n:"ConvertToReact",t:8,pi:[{n:"inner",pt:HTMLElement,ps:0}],sn:"convertToReact",rt:$n[4].IEnumerable$1(System.Object),p:[HTMLElement]},{ov:!0,a:3,n:"GetInitialState",t:8,sn:"constructorStateInitialiser",rt:$n[31].EditableTileContainer.State},{ov:!0,a:2,n:"Render",t:8,sn:"render",rt:Object},{a:1,n:"buildElement",is:!0,t:8,pi:[{n:"e",pt:HTMLElement,ps:0},{n:"p",pt:$n[12].TileWrapper.Props,ps:1}],sn:"buildElement",rt:Object,p:[HTMLElement,$n[12].TileWrapper.Props]}]}});$m("UIComponents.Apps.AppealEditor.EditableTileContainer.Props",function(){return{td:$n[31].EditableTileContainer,att:1048578,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"CanShow",t:16,rt:$n[0].Boolean,g:{a:2,n:"get_CanShow",t:8,rt:$n[0].Boolean,fg:"canShow",box:function($v){return Bridge.box($v,System.Boolean,System.Boolean.toString)}},s:{a:2,n:"set_CanShow",t:8,p:[$n[0].Boolean],rt:$n[0].Void,fs:"canShow"},fn:"canShow"},{a:2,n:"Inner",t:16,rt:HTMLElement,g:{a:2,n:"get_Inner",t:8,rt:HTMLElement,fg:"inner"},s:{a:2,n:"set_Inner",t:8,p:[HTMLElement],rt:$n[0].Void,fs:"inner"},fn:"inner"},{a:2,n:"InnerID",t:16,rt:$n[0].String,g:{a:2,n:"get_InnerID",t:8,rt:$n[0].String,fg:"innerID"},s:{a:2,n:"set_InnerID",t:8,p:[$n[0].String],rt:$n[0].Void,fs:"innerID"},fn:"innerID"}]}});$m("UIComponents.Apps.AppealEditor.EditableTileContainer.State",function(){return{td:$n[31].EditableTileContainer,att:1048842,a:2,m:[{a:2,isSynthetic:!0,n:".ctor",t:1,sn:"ctor"},{a:2,n:"ComponentChildren",t:4,rt:$n[4].List$1(System.Object),sn:"componentChildren"}]}})});
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAiZmlsZSI6ICJVSUNvbXBvbmVudHMubWluLmpzIiwKICAic291cmNlUm9vdCI6ICIiLAogICJzb3VyY2VzIjogW10sCiAgIm5hbWVzIjogW10sCiAgIm1hcHBpbmdzIjogIiIsCiAgInNvdXJjZXNDb250ZW50IjogW10KfQo=