function ULSnd3(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.Runtime.js";return o;} Type.registerNamespace("SP");if(typeof IEnumerator=="undefined"){var IEnumerator=function(){};IEnumerator.prototype={get_current:null,moveNext:null,reset:null};IEnumerator.registerInterface("IEnumerator")}if(typeof IEnumerable=="undefined"){var IEnumerable=function(){};IEnumerable.prototype={getEnumerator:null};IEnumerable.registerInterface("IEnumerable")}if(typeof IDisposable=="undefined"){var IDisposable=function(){};IDisposable.prototype={dispose:null};IDisposable.registerInterface("IDisposable")}if(typeof SP.Guid=="undefined"){SP.Guid=function(a){ULSnd3:;a=SP.Guid._normalizeGuidString$p(a);if(SP.Guid.isValid(a))this._m_guidString$p$0=a;else{this._m_guidString$p$0=SP.Guid._emptyGuidString$p;throw Error.argument("guidText");}};SP.Guid.get_empty=function(){ULSnd3:;if(!SP.Guid._s_empty$p)SP.Guid._s_empty$p=new SP.Guid(SP.Guid._emptyGuidString$p);return SP.Guid._s_empty$p};SP.Guid.newGuid=function(){ULSnd3:;for(var a="",c=0;c<32;c++){var b=Math.floor(Math.random()*16);switch(c){case 8:a+="-";break;case 12:b=4;a+="-";break;case 16:b=b&3|8;a+="-";break;case 20:a+="-"}a+=SP.Guid._s_hexcode$p[b]}var d=new SP.Guid(a);return d};SP.Guid.isValid=function(b){ULSnd3:;var a=new RegExp("^[{|\\(]?[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){3}[0-9a-fA-F]{12}[\\)|}]?$");return!!a.exec(b)};SP.Guid._normalizeGuidString$p=function(b){ULSnd3:;var a;a=b.replace(" ","");a=a.replace("{","");a=a.replace("}","");a=a.toLowerCase();return a};SP.Guid.prototype={_m_guidString$p$0:null,toString:function(){ULSnd3:;if(!arguments.length)return this._m_guidString$p$0;var a=arguments[0];if(a==="B")return"{"+this._m_guidString$p$0+"}";else if(a==="D")return this._m_guidString$p$0;else throw Error.argument("format");},equals:function(a){ULSnd3:;return!a?false:this._m_guidString$p$0===a.toString()},ToSerialized:function(){ULSnd3:;return this.toString()}};SP.Guid.registerClass("SP.Guid");SP.Guid._s_hexcode$p=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];SP.Guid._emptyGuidString$p="00000000-0000-0000-0000-000000000000";SP.Guid._s_empty$p=null}if(typeof SP.ScriptUtility=="undefined"){SP.ScriptUtility=function(){};SP.ScriptUtility.isNullOrEmptyString=function(a){ULSnd3:;var b=null;return a===b||typeof a==="undefined"||!a.length};SP.ScriptUtility.isNullOrUndefined=function(a){ULSnd3:;var b=null;return a===b||typeof a==="undefined"};SP.ScriptUtility.isUndefined=function(a){ULSnd3:;return typeof a==="undefined"};SP.ScriptUtility.truncateToInt=function(a){ULSnd3:;return a>0?Math.floor(a):Math.ceil(a)};SP.ScriptUtility.registerClass("SP.ScriptUtility");SP.ScriptUtility.emptyString=""}if(typeof SP.PermissionKind=="undefined"){SP.PermissionKind=function(){};SP.PermissionKind.prototype={emptyMask:0,viewListItems:1,addListItems:2,editListItems:3,deleteListItems:4,approveItems:5,openItems:6,viewVersions:7,deleteVersions:8,cancelCheckout:9,managePersonalViews:10,manageLists:12,viewFormPages:13,anonymousSearchAccessList:14,open:17,viewPages:18,addAndCustomizePages:19,applyThemeAndBorder:20,applyStyleSheets:21,viewUsageData:22,createSSCSite:23,manageSubwebs:24,createGroups:25,managePermissions:26,browseDirectories:27,browseUserInfo:28,addDelPrivateWebParts:29,updatePersonalWebParts:30,manageWeb:31,anonymousSearchAccessWebLists:32,useClientIntegration:37,useRemoteAPIs:38,manageAlerts:39,createAlerts:40,editMyUserInfo:41,enumeratePermissions:63,fullMask:65};SP.PermissionKind.registerEnum("SP.PermissionKind",false)}Type.registerNamespace("SP");SP.IWebRequestExecutorFactory=function(){};SP.IWebRequestExecutorFactory.registerInterface("SP.IWebRequestExecutorFactory");SP.ClientRequestStatus=function(){};SP.ClientRequestStatus.prototype={active:0,inProgress:1,completedSuccess:2,completedException:3};SP.ClientRequestStatus.registerEnum("SP.ClientRequestStatus",false);SP.IFromJson=function(){};SP.IFromJson.registerInterface("SP.IFromJson");SP.DateTimeKind=function(){};SP.DateTimeKind.prototype={unspecified:0,utc:1,local:2};SP.DateTimeKind.registerEnum("SP.DateTimeKind",false);SP.ArrayListEnumerator=function(a){ULSnd3:;this.$2_0=a;this.$M_0=-1;this.$2K_0=a.length;this.current=null};SP.ArrayListEnumerator.prototype={$2_0:null,$M_0:0,$2K_0:0,get_current:function(){ULSnd3:;return this.$2_0[this.$M_0]},moveNext:function(){ULSnd3:;if(this.$2K_0!==this.$2_0.length)throw Error.invalidOperation(SP.ResResources.getString("CollectionModified"));this.$M_0++;this.current=this.$2_0[this.$M_0];return this.$M_00&&!SP.ScriptUtility.isNullOrEmptyString(arguments[0])){var a=arguments[0];this.$34_0(a)}else{this.$2_0=[];this.$E_0=0}};SP.Base64EncodedByteArray.prototype={$2_0:null,$E_0:0,get_length:function(){ULSnd3:;return this.$E_0},$34_0:function(a){ULSnd3:;a=a.replace("\\u002f","/");a=a.replace("\\u002F","/");var g=new RegExp("[^A-Za-z0-9+/=]","g");a=a.replace(g,"");var h=Math.ceil((a.length+1)/4),i=Math.ceil((h*3+1)/2);this.$2_0=new Array(i);for(var c=0;c>4,p=(e&15)<<4|d>>2,q=(d&3)<<6|f;this.$19_0(this.$E_0,o);this.$E_0++;if(d!==64){this.$19_0(this.$E_0,p);this.$E_0++}if(f!==64){this.$19_0(this.$E_0,q);this.$E_0++}}},toBase64String:function(){ULSnd3:;for(var a=new Sys.StringBuilder,c=0,j=this.$E_0%3,k=this.$E_0-j,b,d,i,e,f,g,h,c=0;c>2];f=SP.Base64EncodedByteArray.$I[(b&3)<<4|(d&240)>>4];g=SP.Base64EncodedByteArray.$I[(d&15)<<2|(i&192)>>6];h=SP.Base64EncodedByteArray.$I[i&63];a.append(e);a.append(f);a.append(g);a.append(h)}switch(j){case 2:b=this.getByteAt(c);d=this.getByteAt(c+1);e=SP.Base64EncodedByteArray.$I[(b&252)>>2];f=SP.Base64EncodedByteArray.$I[(b&3)<<4|(d&240)>>4];g=SP.Base64EncodedByteArray.$I[(d&15)<<2];h=SP.Base64EncodedByteArray.$I[64];a.append(e);a.append(f);a.append(g);a.append(h);break;case 1:b=this.getByteAt(c);e=SP.Base64EncodedByteArray.$I[(b&252)>>2];f=SP.Base64EncodedByteArray.$I[(b&3)<<4];g=SP.Base64EncodedByteArray.$I[64];h=SP.Base64EncodedByteArray.$I[64];a.append(e);a.append(f);a.append(g);a.append(h)}return a.toString()},append:function(a){ULSnd3:;if(!(this.$E_0%2))this.$2_0[this.$E_0/2+1]=0;this.$19_0(this.$E_0,a);this.$E_0++},getByteAt:function(a){ULSnd3:;if(a>=this.$E_0)throw Error.argumentOutOfRange("index");var c=Math.floor(a/2),b=this.$2_0[c],d=a%2;return!d?b&255:(b&65280)>>8},setByteAt:function(a,b){ULSnd3:;if(a>=this.$E_0)throw Error.argumentOutOfRange("index");this.$19_0(a,b)},$19_0:function(c,d){ULSnd3:;var b=Math.floor(c/2),a=this.$2_0[b],e=c%2;if(!e)a=(a&65280)+(d&255);else a=(d&255)*256+(a&255);this.$2_0[b]=a},$3K_0:function(a){ULSnd3:;if(SP.ScriptUtility.isNullOrUndefined(a))return;if(SP.Base64EncodedByteArray.isInstanceOfType(a)){var b=a;this.$E_0=b.$E_0;this.$2_0=b.$2_0}},$3L_0:function(){ULSnd3:;return false}};SP.ClientObjectPropertyConditionalScope=function(b,c,a,e,d){ULSnd3:;SP.ClientObjectPropertyConditionalScope.initializeBase(this,[!b?null:b.$0_0,d]);if(!b)throw Error.argumentNull("clientObject");if(a!=="GT"&&a!=="LT"&&a!=="EQ"&&a!=="NE"&&a!=="GE"&&a!=="LE")throw Error.argumentOutOfRange("comparisonOperator");if(SP.ScriptUtility.isNullOrEmptyString(c))throw Error.argumentNull("propertyName");this.$1B_1=b;this.$X_1=c;this.$2B_1=a;this.$2U_1=e};SP.ClientObjectPropertyConditionalScope.prototype={$1B_1:null,$X_1:null,$2B_1:null,$2U_1:null,$2w_0:function(c){ULSnd3:;if(!this.$1B_1)throw SP.ConditionalScopeBase.$7();var b=new Sys.StringBuilder,a=SP.XmlWriter.create(b);a.writeStartElement("Test");a.writeStartElement("Body");a.writeStartElement(this.$2B_1);a.writeStartElement("ExpressionProperty");a.writeAttributeString("Name",this.$X_1);a.writeStartElement("ExpressionConstant");SP.DataConvert.writeValueToXmlElement(a,this.$1B_1,c);a.writeEndElement();a.writeEndElement();a.writeStartElement("ExpressionConstant");SP.DataConvert.writeValueToXmlElement(a,this.$2U_1,c);a.writeEndElement();a.writeEndElement();a.writeEndElement();a.writeEndElement();a.close();this.$1B_1=null;return b}};SP.ClientDictionaryResultHandler=function(a){ULSnd3:;this.fromJson=this.$3K_0;this.customFromJson=this.$3L_0;this.$2C_0=a};SP.ClientDictionaryResultHandler.prototype={$2C_0:null,$3K_0:function(e){ULSnd3:;if(SP.ScriptUtility.isNullOrUndefined(e))return;var f=e,b={},c=f;for(var d in c){var a={key:d,value:c[d]};if(typeof a.value!=="function"&&a.key!=="_ObjectType_")b[a.key]=a.value}SP.DataConvert.fixupTypes(null,b);this.$2C_0.setValue(b)},$3L_0:function(){ULSnd3:;return false}};SP.ClientActionInstantiateObjectPathResult=function(a){ULSnd3:;this.fromJson=this.$3K_0;this.customFromJson=this.$3L_0;this.$e_0=a};SP.ClientActionInstantiateObjectPathResult.prototype={$e_0:null,$3K_0:function(a){ULSnd3:;if(!SP.ScriptUtility.isNullOrUndefined(a)&&typeof a==="object"){var b=false;if(typeof a.IsNull==="boolean")b=a.IsNull;this.$e_0.$1J_0=b}},$3L_0:function(){ULSnd3:;return false}};SP.ClientObjectCollectionResult=function(a,b){ULSnd3:;this.fromJson=this.$3K_0;this.customFromJson=this.$3L_0;this.$0_0=a;this.$1j_0=b};SP.ClientObjectCollectionResult.prototype={$1j_0:null,$0_0:null,$3K_0:function(a){ULSnd3:;if(!SP.ScriptUtility.isNullOrUndefined(a)&&typeof a==="object")if(Array.isInstanceOfType(a))SP.DataConvert.populateArray(this.$0_0,this.$1j_0,a);else{var b=a._Child_Items_;b&&SP.DataConvert.populateArray(this.$0_0,this.$1j_0,b)}},$3L_0:function(){ULSnd3:;return false}};SP.ClientUtility=function(){};SP.ClientUtility.urlPathEncodeForXmlHttpRequest=function(a){ULSnd3:;return SP.ClientHttpUtility.$2o(a,true,true)};SP.ClientUtility.getOrCreateObjectPathForConstructor=function(d,f,a){ULSnd3:;if(!a||a.length<1)throw Error.argumentNull("args");var b=0;if(a[b]===d)b++;if(SP.ObjectPath.isInstanceOfType(a[b]))return a[b];for(var e=[],c=b;c=b)return a;if(b-a.length>=SP.DataConvert.$1y.length)throw Error.argumentOutOfRange("len");return SP.DataConvert.$1y[b-a.length]+a};SP.DataConvert.$1N=function(a){ULSnd3:;for(var c,b=0,d=0;d=65&&a.charCodeAt(d)<=90;d++)b++;if(!b)c=a;else if(b===a.length)c=a.toLowerCase();else c=a.substr(0,b).toLowerCase()+a.substr(b);return c};SP.DataConvert.$2V=function(a){ULSnd3:;return a.substr(0,1).toLowerCase()+a.substr(1)};SP.DataConvert.invokeSetProperty=function(b,d,c){ULSnd3:;var a=SP.DataConvert.$1N(d);if(b["set_"+a])b["set_"+a](c);else{a=SP.DataConvert.$2V(d);b["set_"+a](c)}};SP.DataConvert.invokeGetProperty=function(c,d){ULSnd3:;var a=SP.DataConvert.$1N(d),b;if(c["get_"+a])b=c["get_"+a]();else{a=SP.DataConvert.$2V(d);b=c["get_"+a]()}return b};SP.DataConvert.specifyDateTimeKind=function(a,b){ULSnd3:;SP.DataConvertUtil.specifyDateTimeKind(a,b)};SP.DataConvert.getDateTimeKind=function(a){ULSnd3:;return SP.DataConvertUtil.getDateTimeKind(a)};SP.DataConvert.createUnspecifiedDateTime=function(f,d,g,e,b,c,a){ULSnd3:;return SP.DataConvertUtil.createUnspecifiedDateTime(f,d,g,e,b,c,a)};SP.DataConvert.createUtcDateTime=function(a){ULSnd3:;return SP.DataConvertUtil.createUtcDateTime(a)};SP.DataConvert.createLocalDateTime=function(a){ULSnd3:;return SP.DataConvertUtil.createLocalDateTime(a)};SP.PageRequestFailedEventArgs=function(a,b){ULSnd3:;SP.PageRequestFailedEventArgs.initializeBase(this);this.$q_1=a;this.$p_1=b};SP.PageRequestFailedEventArgs.prototype={$p_1:null,$q_1:null,get_executor:function(){ULSnd3:;return this.$q_1},get_errorMessage:function(){ULSnd3:;return SP.ScriptUtility.isNullOrEmptyString(this.$p_1)?"Cannot complete the request.":this.$p_1},get_isErrorPage:function(){ULSnd3:;if(this.$q_1.get_statusCode()!==200)return true;var a=this.$q_1.getResponseHeader("SharePointError");return!SP.ScriptUtility.isNullOrEmptyString(a)?true:false}};SP.PageRequestSucceededEventArgs=function(a){ULSnd3:;SP.PageRequestSucceededEventArgs.initializeBase(this);this.$q_1=a};SP.PageRequestSucceededEventArgs.prototype={$q_1:null,get_executor:function(){ULSnd3:;return this.$q_1}};SP.PageRequest=function(){ULSnd3:;this.$$d_$3C_0=Function.createDelegate(this,this.$3C_0)};SP.PageRequest.doPost=function(f,e,d,b,c){ULSnd3:;var a=new SP.PageRequest;b&&a.add_succeeded(b);c&&a.add_failed(c);a.set_url(f);a.set_expectedContentType(d);a.post(e)};SP.PageRequest.doGet=function(e,d,b,c){ULSnd3:;var a=new SP.PageRequest;b&&a.add_succeeded(b);c&&a.add_failed(c);a.set_url(e);a.set_expectedContentType(d);a.get()};SP.PageRequest.prototype={$8_0:null,get_request:function(){ULSnd3:;if(!this.$8_0)this.$8_0=new Sys.Net.WebRequest;return this.$8_0},get_url:function(){ULSnd3:;return this.get_request().get_url()},set_url:function(a){ULSnd3:;a=SP.ClientUtility.urlPathEncodeForXmlHttpRequest(a);this.get_request().set_url(a);return a},$1e_0:null,get_expectedContentType:function(){ULSnd3:;return SP.ScriptUtility.isNullOrEmptyString(this.$1e_0)?"html":this.$1e_0},set_expectedContentType:function(a){ULSnd3:;this.$1e_0=a;return a},post:function(a){ULSnd3:;this.get_request().set_httpVerb("POST");this.get_request().set_body(a);SP.ClientRequest.$2k(this.get_request());this.get_request().add_completed(this.$$d_$3C_0);this.get_request().invoke()},"get":function(){ULSnd3:;this.get_request().set_httpVerb("GET");SP.ClientRequest.$2k(this.get_request());this.get_request().add_completed(this.$$d_$3C_0);this.get_request().invoke()},$F_0:null,get_$D_0:function(){ULSnd3:;if(!this.$F_0)this.$F_0=new Sys.EventHandlerList;return this.$F_0},add_succeeded:function(a){ULSnd3:;this.get_$D_0().addHandler("succeeded",a)},remove_succeeded:function(a){ULSnd3:;this.get_$D_0().removeHandler("succeeded",a)},add_failed:function(a){ULSnd3:;this.get_$D_0().addHandler("failed",a)},remove_failed:function(a){ULSnd3:;this.get_$D_0().removeHandler("failed",a)},$3C_0:function(c){ULSnd3:;var a=null,b=null;if(this.$F_0){b=this.$F_0.getHandler("succeeded");a=this.$F_0.getHandler("failed")}var d=SP.ClientRequest.$27(c,this.get_expectedContentType());if(d)a&&a(this,new SP.PageRequestFailedEventArgs(c,d));else b&&b(this,new SP.PageRequestSucceededEventArgs(c));this.$F_0=null}};SP.ResResources=function(){};SP.ResResources.getString=function(a){ULSnd3:;for(var d=[],c=1;c");this.$V_0=true}else{this.$1_0.append("")}Array.removeAt(this.$f_0,this.$f_0.length-1);if(this.$f_0.length>0)this.$11_0=this.$f_0[this.$f_0.length-1];else this.$11_0=null},$1A_0:function(){ULSnd3:;if(!this.$V_0){this.$1_0.append(">");this.$V_0=true}},writeAttributeString:function(a,b){ULSnd3:;if(this.$V_0)throw Error.invalidOperation();this.$1_0.append(" ");this.$1_0.append(a);this.$1_0.append('="');this.$1T_0(b,true);this.$1_0.append('"')},writeStartAttribute:function(a){ULSnd3:;if(!this.$V_0)throw Error.invalidOperation();this.$k_0=true;this.$1_0.append(" ");this.$1_0.append(a);this.$1_0.append('="')},writeEndAttribute:function(){ULSnd3:;if(!this.$k_0)throw Error.invalidOperation();this.$1_0.append('"');this.$k_0=false},writeString:function(a){ULSnd3:;if(this.$k_0){this.$1T_0(a,true);this.$1_0.append(a)}else{this.$1A_0();this.$1T_0(a,false)}},writeRaw:function(a){ULSnd3:;this.$1R_0();this.$1A_0();this.$1_0.append(a)},$1R_0:function(){ULSnd3:;if(this.$k_0)throw Error.invalidOperation();},$1T_0:function(c,d){ULSnd3:;if(SP.ScriptUtility.isNullOrEmptyString(c))return;for(var b=0;b'&",h=null;if(e===h||typeof e==="undefined"||!e.length)return"";for(d=0;d=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a>=32&&a<=95&&g.indexOf(f)<0)c+=f;else if(a<=15)c+="%0"+a.toString(16).toUpperCase();else if(a<=127)c+="%"+a.toString(16).toUpperCase()}else if(a<=2047){b=192|a>>6;c+="%"+b.toString(16).toUpperCase();b=128|a&63;c+="%"+b.toString(16).toUpperCase()}else if((a&64512)!==55296){b=224|a>>12;c+="%"+b.toString(16).toUpperCase();b=128|(a&4032)>>6;c+="%"+b.toString(16).toUpperCase();b=128|a&63;c+="%"+b.toString(16).toUpperCase()}else if(d>18;c+="%"+b.toString(16).toUpperCase();b=128|(a&258048)>>12;c+="%"+b.toString(16).toUpperCase();b=128|(a&4032)>>6;c+="%"+b.toString(16).toUpperCase();b=128|a&63;c+="%"+b.toString(16).toUpperCase()}}return c};SP.ClientConstants=function(){};SP.ClientSchemaVersions=function(){};SP.ClientErrorCodes=function(){};SP.ClientAction=function(a,b){ULSnd3:;this.$G_0=a;this.$A_0=b;this.$3_0=SP.ClientRequest.get_nextSequenceId()};SP.ClientAction.$j=function(c,b){ULSnd3:;if(c&&b)if(SP.ClientObject.isInstanceOfType(b)){var a=b;if(a&&a.$0_0&&a.$0_0!==c)throw Error.invalidOperation(SP.ResResources.getString("NotSameClientContext"));}};SP.ClientAction.$z=function(c,a){ULSnd3:;if(c&&a&&a.length>0)for(var b=0;b0){a.writeStartElement("Parameters");for(var b=0;b0){a.writeStartElement("Parameters");for(var b=0;b=0;a--)if(this.$2_1[a]===c){if(this.$2_1[a].$R_0===this)this.$2_1[a].$R_0=null;Array.removeAt(this.$2_1,a)}else if(b&&SP.ClientObject.isInstanceOfType(this.$2_1[a])&&SP.ObjectPathIdentity.isInstanceOfType(this.$2_1[a].get_path())&&b.$r_1===this.$2_1[a].get_path().$r_1){if(this.$2_1[a].$R_0===this)this.$2_1[a].$R_0=null;Array.removeAt(this.$2_1,a)}}};SP.ClientObjectList=function(c,b,a){ULSnd3:;SP.ClientObjectList.initializeBase(this,[c,b]);this.$1Y_2=a};SP.ClientObjectList.prototype={$1Y_2:null,fromJson:function(a){ULSnd3:;if(SP.ScriptUtility.isNullOrUndefined(a)){this.$2j_0();return}Array.clear(this.get_data());if(typeof a==="object"){var b;if(Array.isInstanceOfType(a))b=a;else b=a._Child_Items_;var c=[];SP.DataConvert.$1v(this.$0_0,c,b,this.$1Y_2);for(var d=0;d0&&a[0].tagName==="INPUT"){var f=a[0];b=f.value}if(!SP.ScriptUtility.isNullOrUndefined(b))g.get_headers()["X-RequestDigest"]=b};SP.ClientRequest.$27=function(b,d){ULSnd3:;var a;if(b.get_aborted()||b.get_timedOut()){if(typeof b._SPError_==="string")a=b._SPError_;else a=SP.ResResources.getString("RequestAbortedOrTimedOut");return a}if(!b.get_responseAvailable()){if(typeof b._SPError_==="string")a=b._SPError_;else a=SP.ResResources.getString("RequestUnexpectedResponse");return a}if(b.get_statusCode()!==200){a=SP.ResResources.getString("RequestUnexpectedResponseWithStatus",b.get_statusCode(),b.get_statusText());return a}if(!SP.ScriptUtility.isNullOrEmptyString(d)){var c=b.getResponseHeader("content-type");if(!c||c.toLowerCase().indexOf(d.toLowerCase())<0){a=SP.ResResources.getString("RequestUnexpectedResponse");return a}}var e=b.getResponseHeader("SharePointError");if(!SP.ScriptUtility.isNullOrEmptyString(e)){a=SP.ResResources.getString("RequestUnexpectedResponse");return a}return null};SP.ClientRequest.prototype={$0_0:null,$8_0:null,get_webRequest:function(){ULSnd3:;if(!this.$8_0){this.$8_0=new Sys.Net.WebRequest;this.$8_0.set_httpVerb("POST");this.$8_0.get_headers()["Content-Type"]="text/xml";var a=this.get_$2m_0();a=SP.ClientUtility.urlPathEncodeForXmlHttpRequest(a);this.$8_0.set_url(a);this.$8_0.set_timeout(this.$0_0.get_requestTimeout());if(this.$0_0.$x_0){var b=this.$0_0.$x_0.createWebRequestExecutor();this.$8_0.set_executor(b)}}return this.$8_0},$T_0:null,get_$2m_0:function(){ULSnd3:;if(SP.ScriptUtility.isNullOrEmptyString(this.$T_0)){this.$T_0=this.$0_0.$w_0;if(!this.$T_0.endsWith("/"))this.$T_0+="/_vti_bin/client.svc/ProcessQuery";else this.$T_0+="_vti_bin/client.svc/ProcessQuery";this.$T_0=this.$0_0.getRequestUrl(this.$T_0)}return this.$T_0},$2Y_0:function(){ULSnd3:;this.$T_0=null;var a=this.get_$2m_0();if(this.$8_0){a=SP.ClientUtility.urlPathEncodeForXmlHttpRequest(a);this.$8_0.set_url(a)}},$F_0:null,get_$D_0:function(){ULSnd3:;if(!this.$F_0)this.$F_0=new Sys.EventHandlerList;return this.$F_0},add_requestSucceeded:function(a){ULSnd3:;this.get_$D_0().addHandler("succeeded",a)},remove_requestSucceeded:function(a){ULSnd3:;this.get_$D_0().removeHandler("succeeded",a)},add_requestFailed:function(a){ULSnd3:;this.get_$D_0().addHandler("failed",a)},remove_requestFailed:function(a){ULSnd3:;this.get_$D_0().removeHandler("failed",a)},$N_0:null,$1S_0:function(a){ULSnd3:;if(this.$S_0)throw Error.create(SP.ResResources.getString("RequestHasBeenExecuted"));Array.add(this.$u_0,a);this.$N_0=a},$a_0:null,$21_0:function(a){ULSnd3:;if(!this.$a_0)this.$a_0=[];Array.add(this.$a_0,a)},$b_0:null,$2v_0:function(a){ULSnd3:;if(!this.$b_0)this.$b_0=[];Array.add(this.$b_0,a)},$1d_0:null,get_$1V_0:function(){ULSnd3:;if(!this.$1d_0)this.$1d_0=[];return this.$1d_0},$1U_0:function(){ULSnd3:;if(this.$a_0){for(var a=0;a0)throw SP.ExceptionHandlingScope.$7();a.writeEndElement();a.writeStartElement("ObjectPaths");var k={};do{var d=[],h=b.$1H_0;for(var i in h){var n={key:i,value:h[i]};SP.ScriptUtility.isUndefined(k[n.key])&&Array.add(d,n.value.$3_0)}if(!d.length)break;for(var f=0;f=1)||SP.ScriptUtility.isNullOrUndefined($v_2[0])||typeof $v_2[0]!=="object"||SP.ScriptUtility.isNullOrEmptyString($v_2[0].SchemaVersion)||SP.ScriptUtility.isNullOrEmptyString($v_2[0].LibraryVersion)){var $v_7=SP.ResResources.getString("RequestUnexpectedResponse");this.$S_0=3;this.$h_0($v_7,null,0,null,null,null,null);this.$8_0=null;return}var $v_3=$v_2[0];this.$0_0.$3H_0($v_3.SchemaVersion);this.$0_0.$3G_0($v_3.LibraryVersion);!SP.ScriptUtility.isNullOrEmptyString($v_3.TraceCorrelationId)&&this.$0_0.$3I_0($v_3.TraceCorrelationId);var $v_4=$v_3.ErrorInfo;if(!SP.ScriptUtility.isNullOrUndefined($v_4)){var $v_8=$v_4.ErrorMessage,$v_9=$v_4.ErrorStackTrace,$v_A=$v_4.ErrorCode,$v_B=$v_4.ErrorTypeName,$v_C=$v_4.ErrorValue,$v_D=$v_4.ErrorDetails,$v_E=$v_4.TraceCorrelationId;$v_D=SP.DataConvert.fixupType(this.$0_0,$v_D);this.$S_0=3;this.$8_0=null;if($v_A===SP.ClientErrorCodes.redirect&&!SP.ScriptUtility.isNullOrEmptyString($v_C)&&this.$1i_0)window.navigate($v_C);else this.$h_0($v_8,$v_9,$v_A,$v_C,$v_B,$v_D,$v_E);return}this.$0_0.$1X_0=true;try{for(var $v_F=1;$v_F<$v_2.length;$v_F+=2){var $v_G=$v_2[$v_F],$v_H=this.$15_0[$v_G.toString()],$v_I=$v_2[$v_F+1];if(!SP.ScriptUtility.isNullOrUndefined($v_H)&&!SP.ScriptUtility.isNullOrUndefined($v_I)){if(SP.ClientObject.isInstanceOfType($v_H)&&typeof $v_I==="object"){var $v_J=$v_I._ObjectType_;if(!SP.ScriptUtility.isNullOrEmptyString($v_J)){var $v_K=Type.parse($v_J);if($v_K&&$v_K!==Object.getType($v_H)){var $v_L=new $v_K(this.$0_0);$v_H.$2l_0($v_L);$v_H=$v_L}}}if(SP.IFromJson.isInstanceOfType($v_H)){var $v_M=$v_H;!$v_M.customFromJson($v_I)&&$v_M.fromJson($v_I)}Array.isInstanceOfType($v_H)&&SP.DataConvert.populateArray(this.$0_0,$v_H,$v_I)}}}finally{this.$0_0.$1X_0=false}this.$S_0=2;var $v_5=this.get_$D_0().getHandler("succeeded");$v_5&&$v_5(this,new SP.ClientRequestSucceededEventArgs(this));this.$8_0=null},$22_0:function(b,a){ULSnd3:;if(this.$S_0)throw Error.create(SP.ResResources.getString("RequestHasBeenExecuted"));this.$15_0[b.toString()]=a;if(SP.ClientObject.isInstanceOfType(a))if(a.$5_0.$L_0)this.$15_0[b.toString()]=a.$5_0.$L_0}};SP.ClientRequestEventArgs=function(a){ULSnd3:;SP.ClientRequestEventArgs.initializeBase(this);this.$8_1=a};SP.ClientRequestEventArgs.prototype={$8_1:null,get_request:function(){ULSnd3:;return this.$8_1}};SP.ClientRequestFailedEventArgs=function(h,g,e,f,d,b,c,a){ULSnd3:;SP.ClientRequestFailedEventArgs.initializeBase(this,[h]);this.$2J_2=g;this.$2Q_2=e;this.$2D_2=f;this.$2H_2=d;this.$2G_2=b;this.$2E_2=c;this.$2F_2=a};SP.ClientRequestFailedEventArgs.prototype={$2J_2:null,$2Q_2:null,$2D_2:0,$2H_2:null,$2G_2:null,$2E_2:null,$2F_2:null,get_message:function(){ULSnd3:;return this.$2J_2},get_stackTrace:function(){ULSnd3:;return this.$2Q_2},get_errorCode:function(){ULSnd3:;return this.$2D_2},get_errorValue:function(){ULSnd3:;return this.$2H_2},get_errorTypeName:function(){ULSnd3:;return this.$2G_2},get_errorDetails:function(){ULSnd3:;return this.$2E_2},get_errorTraceCorrelationId:function(){ULSnd3:;return this.$2F_2}};SP.ClientRequestSucceededEventArgs=function(a){ULSnd3:;SP.ClientRequestSucceededEventArgs.initializeBase(this,[a])};SP.FormDigestInfo=function(){};SP.FormDigestInfo.prototype={$c_0:null,get_digestValue:function(){ULSnd3:;return this.$c_0},set_digestValue:function(a){ULSnd3:;this.$c_0=a;return a},$13_0:0,get_expiration:function(){ULSnd3:;return this.$13_0},set_expiration:function(a){ULSnd3:;this.$13_0=a;return a},$1M_0:null,get_webServerRelativeUrl:function(){ULSnd3:;return this.$1M_0},set_webServerRelativeUrl:function(a){ULSnd3:;this.$1M_0=a;return a}};SP.ClientRuntimeContext=function(a){ULSnd3:;this.$1F_0={};if(!a)throw Error.argumentNull("serverRelativeUrlOrFullUrl");if(!a.startsWith("/")&&!a.toLowerCase().startsWith("http://")&&!a.toLowerCase().startsWith("https://"))throw Error.argument("serverRelativeUrlOrFullUrl");this.$w_0=a};SP.ClientRuntimeContext.prototype={$w_0:null,$2I_0:false,get_isPageUrl:function(){ULSnd3:;return this.$2I_0},set_isPageUrl:function(a){ULSnd3:;if(a&&!this.$1C_0)throw Error.invalidOperation();this.$2I_0=a;return a},get_url:function(){ULSnd3:;return this.$w_0},$1u_0:null,get_viaUrl:function(){ULSnd3:;return this.$1u_0},set_viaUrl:function(a){ULSnd3:;this.$1u_0=a;return a},getRequestUrl:function(b){ULSnd3:;var a=this.$1u_0;if(!SP.ScriptUtility.isNullOrEmptyString(a)){if(a.indexOf("?")<0)a+="?";if(!a.endsWith("?")&&!a.endsWith("&"))a+="&";a+="MS.SP.url="+SP.ClientHttpUtility.$2o(b,false,false);b=a}return b},$1C_0:false,get_formDigestHandlingEnabled:function(){ULSnd3:;return this.$1C_0},set_formDigestHandlingEnabled:function(a){ULSnd3:;this.$1C_0=a;return a},$26_0:function(){ULSnd3:;var a=this.$w_0;if(!a.endsWith("/"))a+="/";a+="_api/contextinfo";a=this.getRequestUrl(a);return a},$3B_0:function(b){ULSnd3:;if(SP.ScriptUtility.isNullOrEmptyString(b)||b.indexOf("GetContextWebInformation")<0||b.indexOf("FormDigestTimeoutSeconds")<0)return null;var c=this.parseObjectFromJsonString(b,true),d=c.d.GetContextWebInformation.FormDigestValue,e=c.d.GetContextWebInformation.FormDigestTimeoutSeconds,f=c.d.GetContextWebInformation.WebFullUrl,a=new SP.FormDigestInfo;a.$c_0=d;a.$13_0=+new Date+e*750;a.$1M_0=SP.ClientUtility.$35(f);return a},$29_0:"Javascript Library",get_applicationName:function(){ULSnd3:;return this.$29_0},set_applicationName:function(a){ULSnd3:;if(SP.ScriptUtility.isNullOrEmptyString(a)||a.length>128)throw Error.argumentOutOfRange("value");this.$29_0=a;return a},$2A_0:null,get_clientTag:function(){ULSnd3:;return this.$2A_0},set_clientTag:function(a){ULSnd3:;if(!SP.ScriptUtility.isNullOrEmptyString(a)&&a.length>32)throw Error.argumentOutOfRange("value");this.$2A_0=a;return a},$x_0:null,get_webRequestExecutorFactory:function(){ULSnd3:;return this.$x_0},set_webRequestExecutorFactory:function(a){ULSnd3:;this.$x_0=a;return a},$8_0:null,get_pendingRequest:function(){ULSnd3:;if(!this.$8_0)this.$8_0=new SP.ClientRequest(this);return this.$8_0},get_hasPendingRequest:function(){ULSnd3:;return!!this.$8_0&&!!this.$8_0.$N_0},$1X_0:false,add_executingWebRequest:function(a){ULSnd3:;this.get_$D_0().addHandler("executingwebrequest",a)},remove_executingWebRequest:function(a){ULSnd3:;this.get_$D_0().removeHandler("executingwebrequest",a)},onExecutingWebRequest:function(a){ULSnd3:;if(a&&a.$17_1){if(!SP.ScriptUtility.isNullOrEmptyString(this.$v_0))a.$17_1.get_headers().SPResponseGuid=this.$v_0;if(!SP.ScriptUtility.isNullOrEmptyString(this.get_clientTag()))a.$17_1.get_headers()["X-ClientService-ClientTag"]=this.get_clientTag()}var b=this.get_$D_0().getHandler("executingwebrequest");b&&b(this,a)},$23_0:function(a){ULSnd3:;this.onExecutingWebRequest(a)},$F_0:null,get_$D_0:function(){ULSnd3:;if(!this.$F_0)this.$F_0=new Sys.EventHandlerList;return this.$F_0},add_requestSucceeded:function(a){ULSnd3:;this.get_$D_0().addHandler("succeeded",a)},remove_requestSucceeded:function(a){ULSnd3:;this.get_$D_0().removeHandler("succeeded",a)},add_requestFailed:function(a){ULSnd3:;this.get_$D_0().addHandler("failed",a)},remove_requestFailed:function(a){ULSnd3:;this.get_$D_0().removeHandler("failed",a)},add_beginningRequest:function(a){ULSnd3:;this.get_$D_0().addHandler("beginningrequest",a)},remove_beginningRequest:function(a){ULSnd3:;this.get_$D_0().removeHandler("beginningrequest",a)},$2N_0:18e4,get_requestTimeout:function(){ULSnd3:;return this.$2N_0},set_requestTimeout:function(a){ULSnd3:;if(a>=0)this.$2N_0=a;else throw Error.argumentOutOfRange("value");return a},$2p_0:function(){ULSnd3:;var b=null,c=window._spPageContextInfo;if(c&&c.webServerRelativeUrl===this.$w_0&&!SP.ScriptUtility.isUndefined(window._spFormDigestRefreshInterval)&&!SP.ScriptUtility.isUndefined(window.g_updateFormDigestPageLoaded)){var a=document.getElementsByName("__REQUESTDIGEST");if(a&&a.length>0&&a[0].tagName==="INPUT")b=a[0]}return b},executeQueryAsync:function(f,e){ULSnd3:;var c=this.setPendingRequestToBeExecuted();if(!this.$1C_0){this.executeClientRequestAsync(c,f,e);return}if(!SP.ClientRuntimeContext.$K)SP.ClientRuntimeContext.$K={};var a=this.$26_0();a=SP.ClientUtility.urlPathEncodeForXmlHttpRequest(a);if(SP.ScriptUtility.isNullOrUndefined(SP.ClientRuntimeContext.$K[a])){var g=this.$2p_0();if(g){SP.ClientRuntimeContext.$K[a]=new SP.FormDigestInfo;SP.ClientRuntimeContext.$K[a].$c_0=g.value;SP.ClientRuntimeContext.$K[a].$13_0=g_updateFormDigestPageLoaded.getTime()+_spFormDigestRefreshInterval*.75}}var h=new Date;if(SP.ClientRuntimeContext.$K[a]&&SP.ClientRuntimeContext.$K[a].$13_0>h.getTime()){c.get_webRequest().get_headers()["X-RequestDigest"]=SP.ClientRuntimeContext.$K[a].$c_0;this.executeClientRequestAsync(c,f,e)}else{var d=new Sys.Net.WebRequest;d.set_url(a);d.set_httpVerb("POST");d.get_headers().ACCEPT="application/json;odata=verbose";d.set_timeout(this.get_requestTimeout());this.$23_0(new SP.WebRequestEventArgs(d));if(this.$x_0){var i=this.$x_0.createWebRequestExecutor();d.set_executor(i)}var b=this;d.add_completed(function(d){ULSnd3:;if(d.get_aborted()||d.get_timedOut()){var h;if(typeof d._SPError_==="string")h=d._SPError_;else h=SP.ResResources.getString("RequestAbortedOrTimedOut");b.$h_0(c,h,e)}else if(!d.get_responseAvailable()||d.get_statusCode()!==200||SP.ScriptUtility.isNullOrEmptyString(d.getResponseHeader("content-type"))||d.getResponseHeader("content-type").toLowerCase().indexOf("json")<0){var i;if(typeof d._SPError_==="string")i=d._SPError_;else i=SP.ResResources.getString("UnknownResponseData");b.$h_0(c,i,e)}else{var g=b.$3B_0(d.get_responseData());if(!g)b.$h_0(c,SP.ResResources.getString("UnknownResponseData"),e);else{var j=b.$2p_0();if(j){j.value=g.$c_0;g_updateFormDigestPageLoaded=new Date}SP.ClientRuntimeContext.$K[a]=g;c.get_webRequest().get_headers()["X-RequestDigest"]=g.$c_0;if(b.get_isPageUrl()){b.$w_0=g.$1M_0;a=b.$26_0();SP.ClientRuntimeContext.$K[a]=g;c.$2Y_0();b.$8_0&&b.$8_0.$2Y_0()}b.executeClientRequestAsync(c,f,e)}}});d.invoke()}},$h_0:function(c,a,b){ULSnd3:;if(b){if(SP.ScriptUtility.isNullOrEmptyString(a))a=SP.ResResources.getString("UnknownResponseData");b(this,new SP.ClientRequestFailedEventArgs(c,a,null,0,null,null,null,null))}},setPendingRequestToBeExecuted:function(){ULSnd3:;var a=this.get_pendingRequest();this.$8_0=null;return a},executeClientRequestAsync:function(a,b,c){ULSnd3:;if(this.$F_0){var d=this.$F_0.getHandler("beginningrequest");d&&d(this,new SP.ClientRequestEventArgs(a))}!SP.ScriptUtility.isNullOrUndefined(b)&&a.add_requestSucceeded(b);!SP.ScriptUtility.isNullOrUndefined(c)&&a.add_requestFailed(c);if(this.$F_0){var e=this.$F_0.getHandler("succeeded");e&&a.add_requestSucceeded(e);var f=this.$F_0.getHandler("failed");f&&a.add_requestFailed(f)}a.$31_0()},$1r_0:null,get_staticObjects:function(){ULSnd3:;if(!this.$1r_0)this.$1r_0={};return this.$1r_0},castTo:function(a,c){ULSnd3:;if(!a)throw Error.argumentNull("obj");SP.ClientAction.$j(this,a);var b;if(!c.inheritsFrom(SP.ClientObject))throw Error.argument("type");if(a.$0_0!==this)throw Error.invalidOperation();if(c.isInstanceOfType(a)){b=new c(this,a.get_path());b.$1Q_0(a);return b}if(a.$5_0.$L_0&&c.isInstanceOfType(a.$5_0.$L_0)){b=new c(this,a.get_path());b.$1Q_0(a);return b}if(!c.inheritsFrom(Object.getType(a)))throw Error.argument("type");if(a.$5_0.$L_0&&!c.inheritsFrom(Object.getType(a.$5_0.$L_0)))throw Error.argument("type");b=new c(this,a.get_path());b.$1Q_0(a);var d=null;if(!a.$5_0.$L_0)d=a;else d=a.$5_0.$L_0;if(d){var e=[],i=this.get_pendingRequest().$15_0,g=i;for(var h in g){var j={key:h,value:g[h]};j.value===a&&Array.add(e,j.key)}for(var f=0;f=this.$2_1.length)throw Error.argumentOutOfRange("index");return this.$2_1[a]},$3M_1:function(){ULSnd3:;var a=this.$2_1;if(!a)a=[];return new SP.ArrayListEnumerator(a)},writeToXml:function(a,c){ULSnd3:;if(this.$2_1){a.writeStartElement("Property");a.writeAttributeString("Name","_Child_Items_");a.writeAttributeString("Type","Array");for(var b=0;b=0;e--){var a=this.$0_0.get_pendingRequest().$u_0[e];if(a===this.$4_0.$1Z_0)break;var d=false;if(SP.ClientQueryInternal.isInstanceOfType(a)||SP.ClientActionExecutionScopeStart.isInstanceOfType(a)||SP.ClientActionExecutionScopeEnd.isInstanceOfType(a)||SP.ObjectIdentityQuery.isInstanceOfType(a))d=true;if(!d){var b;if(SP.ClientActionInstantiateObjectPath.isInstanceOfType(a))b=a;else b=null;if(b)if(SP.ObjectPathConstructor.isInstanceOfType(b.$G_0)||SP.ObjectPathIdentity.isInstanceOfType(b.$G_0)||SP.ObjectPathProperty.isInstanceOfType(b.$G_0)||SP.ObjectPathStaticProperty.isInstanceOfType(b.$G_0))d=true}if(!d)throw Error.create(SP.ResResources.getString("InvalidUsageOfConditionalScopeNowAllowedAction"));}},startIfTrue:function(){ULSnd3:;if(!this.$4_0||this.$4_0.$J_0||this.$Y_0)throw SP.ConditionalScopeBase.$7();var a=this.$0_0.get_pendingRequest().$N_0;if(!a)throw SP.ConditionalScopeBase.$7();if(SP.ClientActionExecutionScopeStart.isInstanceOfType(a)&&a.$4_1.$A_0==="ConditionalScope"||SP.ClientActionExecutionScopeEnd.isInstanceOfType(a)&&a.$4_1.$A_0==="IfFalseScope"){this.$Y_0=new SP.ExecutionScope(this.$0_0,"IfTrueScope",null);return this.$Y_0}throw SP.ConditionalScopeBase.$7();},startIfFalse:function(){ULSnd3:;if(!this.$4_0||this.$4_0.$J_0||this.$W_0)throw SP.ConditionalScopeBase.$7();var a=this.$0_0.get_pendingRequest().$N_0;if(!a)throw SP.ConditionalScopeBase.$7();if(SP.ClientActionExecutionScopeStart.isInstanceOfType(a)&&a.$4_1.$A_0==="ConditionalScope"||SP.ClientActionExecutionScopeEnd.isInstanceOfType(a)&&a.$4_1.$A_0==="IfTrueScope"){this.$W_0=new SP.ExecutionScope(this.$0_0,"IfFalseScope",null);return this.$W_0}throw SP.ConditionalScopeBase.$7();},get_testResult:function(){ULSnd3:;return this.$2R_0},fromJson:function(c){ULSnd3:;var b=c;if(SP.ScriptUtility.isNullOrUndefined(b))throw Error.create(SP.ResResources.getString("UnknownResponseData"));var a;a=b.Test;if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("UnknownResponseData"));this.$2R_0=a},customFromJson:function(){ULSnd3:;return false}};SP.ConditionalExecutionScope=function(b,a,c){ULSnd3:;SP.ConditionalExecutionScope.initializeBase(this,[b,"ConditionalScope",c]);if(!a)throw Error.argumentNull("scope");this.$4_1=a};SP.ConditionalExecutionScope.prototype={$4_1:null,$1z_0:function(a,b){ULSnd3:;SP.ExecutionScope.prototype.$1z_0.call(this,a,b);a.writeRaw(this.$4_1.$2S_0.toString());b.$Z_0(this.$4_1.$1s_0);if(!this.$4_1.$Y_0&&!this.$4_1.$W_0){a.writeStartElement("IfTrueScope");a.writeAttributeString("Id",SP.ClientRequest.get_nextSequenceId().toString())}},$2q_0:function(a,b){ULSnd3:;!this.$4_1.$Y_0&&!this.$4_1.$W_0&&a.writeEndElement();SP.ExecutionScope.prototype.$2q_0.call(this,a,b)}};SP.DataRetrievalWithExpressionString=function(){};SP.DataRetrievalWithExpressionString.load=function(a,b){ULSnd3:;if(!b||!b.length){a.get_$y_0().selectAllProperties();SP.ClientObjectCollection.isInstanceOfType(a)&&a.get_$y_0().get_childItemQuery().selectAllProperties()}else for(var c=0;c0){if(g)throw SP.DataRetrievalWithExpressionString.$P(a);d.selectWithAll(b)}}};SP.DataRetrievalWithExpressionString.$33=function(e,g){ULSnd3:;for(var f=e.length,b=1,c=-1,a=g+1;a0&&Array.add(f,b)}return f};SP.DataRetrievalWithExpressionString.$P=function(a){ULSnd3:;return Error.argument(null,SP.ResResources.getString("NotSupportedQueryExpressionWithExpressionDetail",a))};SP.ClientActionExecutionScopeStart=function(a,b){ULSnd3:;SP.ClientActionExecutionScopeStart.initializeBase(this,[null,b]);this.$4_1=a};SP.ClientActionExecutionScopeStart.prototype={$4_1:null,get_scope:function(){ULSnd3:;return this.$4_1},$2t_0:function(){}};SP.ClientActionExecutionScopeEnd=function(a,b){ULSnd3:;SP.ClientActionExecutionScopeEnd.initializeBase(this,[null,b]);this.$4_1=a};SP.ClientActionExecutionScopeEnd.prototype={$4_1:null,get_scope:function(){ULSnd3:;return this.$4_1},$2t_0:function(){}};SP.ExecutionScope=function(a,b,c){ULSnd3:;this.$0_0=a;this.$A_0=b;this.$3_0=SP.ClientRequest.get_nextSequenceId();this.$0_0.get_pendingRequest().get_$1V_0().push(this);this.$1Z_0=new SP.ClientActionExecutionScopeStart(this,this.$A_0);this.$0_0.get_pendingRequest().$1S_0(this.$1Z_0);this.$1c_0=c};SP.ExecutionScope.prototype={$0_0:null,$J_0:false,$A_0:null,$3_0:0,$1c_0:null,$1Z_0:null,get_id:function(){ULSnd3:;return this.$3_0},get_name:function(){ULSnd3:;return this.$A_0},dispose:function(){ULSnd3:;if(this.$J_0)throw SP.ExceptionHandlingScope.$7();this.$1c_0&&this.$1c_0();if(this.$0_0.get_pendingRequest().get_$1V_0().length>0&&this.$0_0.get_pendingRequest().get_$1V_0().pop()===this)this.$0_0.get_pendingRequest().$1S_0(new SP.ClientActionExecutionScopeEnd(this,this.$A_0));else throw SP.ExceptionHandlingScope.$7();this.$J_0=true},$1z_0:function(a){ULSnd3:;a.writeStartElement(this.$A_0);a.writeAttributeString("Id",this.$3_0.toString())},$2q_0:function(a){ULSnd3:;a.writeEndElement()}};SP.ExceptionHandlingScope=function(a){ULSnd3:;this.$$d_$30_0=Function.createDelegate(this,this.$30_0);this.fromJson=this.$3K_0;this.customFromJson=this.$3L_0;if(!a)throw Error.argumentNull("context");this.$0_0=a;this.$1l_0=SP.ClientRequest.$25};SP.ExceptionHandlingScope.$7=function(){ULSnd3:;return Error.create(SP.ResResources.getString("InvalidUsageOfExceptionHandlingScope"))};SP.ExceptionHandlingScope.prototype={$0_0:null,$2L_0:false,$1f_0:false,$p_0:null,$1q_0:null,$1l_0:0,$1n_0:null,$1m_0:null,$1I_0:null,$Q_0:null,get_$37_0:function(){ULSnd3:;return!this.$U_0?true:false},startScope:function(){ULSnd3:;if(this.$Q_0)throw SP.ExceptionHandlingScope.$7();this.$Q_0=new SP.ExceptionHandlingExecutionScope(this.$0_0,this,this.$$d_$30_0);this.$0_0.get_pendingRequest().$22_0(this.$Q_0.$3_0,this);return this.$Q_0},$30_0:function(){ULSnd3:;if(this.$U_0){if(!this.$l_0&&!this.$14_0)throw SP.ExceptionHandlingScope.$7();var a=this.$0_0.get_pendingRequest().$N_0;if(!a||!SP.ClientActionExecutionScopeEnd.isInstanceOfType(a))throw SP.ExceptionHandlingScope.$7();var b=a;if(b.$4_1.$A_0!=="CatchScope"&&b.$4_1.$A_0!=="FinallyScope")throw SP.ExceptionHandlingScope.$7();}},$U_0:null,startTry:function(){ULSnd3:;if(!this.$Q_0||this.$Q_0.$J_0||this.$U_0)throw SP.ExceptionHandlingScope.$7();var a=this.$0_0.get_pendingRequest().$N_0;if(!a||!SP.ClientActionExecutionScopeStart.isInstanceOfType(a))throw SP.ExceptionHandlingScope.$7();if(a.$4_1.$A_0!=="ExceptionHandlingScope")throw SP.ExceptionHandlingScope.$7();this.$U_0=new SP.ExecutionScope(this.$0_0,"TryScope",null);return this.$U_0},$l_0:null,startCatch:function(){ULSnd3:;if(!this.$Q_0||this.$Q_0.$J_0||!this.$U_0||!this.$U_0.$J_0||this.$l_0||this.$14_0)throw SP.ExceptionHandlingScope.$7();var a=this.$0_0.get_pendingRequest().$N_0;if(!a||!SP.ClientActionExecutionScopeEnd.isInstanceOfType(a))throw SP.ExceptionHandlingScope.$7();if(a.$4_1.$A_0!=="TryScope")throw SP.ExceptionHandlingScope.$7();this.$l_0=new SP.ExecutionScope(this.$0_0,"CatchScope",null);return this.$l_0},$14_0:null,startFinally:function(){ULSnd3:;if(!this.$Q_0||this.$Q_0.$J_0||!this.$U_0||!this.$U_0.$J_0||this.$l_0&&!this.$l_0.$J_0||this.$14_0)throw SP.ExceptionHandlingScope.$7();var a=this.$0_0.get_pendingRequest().$N_0;if(!a||!SP.ClientActionExecutionScopeEnd.isInstanceOfType(a))throw SP.ExceptionHandlingScope.$7();if(a.$4_1.$A_0!=="TryScope"&&a.$4_1.$A_0!=="CatchScope")throw SP.ExceptionHandlingScope.$7();this.$14_0=new SP.ExecutionScope(this.$0_0,"FinallyScope",null);return this.$14_0},get_processed:function(){ULSnd3:;return this.$2L_0},get_hasException:function(){ULSnd3:;return this.$1f_0},get_errorMessage:function(){ULSnd3:;return this.$p_0},get_serverStackTrace:function(){ULSnd3:;return this.$1q_0},get_serverErrorCode:function(){ULSnd3:;return this.$1l_0},get_serverErrorValue:function(){ULSnd3:;return this.$1n_0},get_serverErrorTypeName:function(){ULSnd3:;return this.$1m_0},get_serverErrorDetails:function(){ULSnd3:;return this.$1I_0},$3K_0:function(d){ULSnd3:;var c=d;if(SP.ScriptUtility.isNullOrUndefined(c))throw Error.create(SP.ResResources.getString("UnknownResponseData"));var a;a=c.HasException;if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("UnknownResponseData"));this.$1f_0=a;if(this.$1f_0){var b=c.ErrorInfo;if(SP.ScriptUtility.isNullOrUndefined(b))throw Error.create(SP.ResResources.getString("UnknownResponseData"));a=b.ErrorMessage;if(!SP.ScriptUtility.isUndefined(a))this.$p_0=a;else this.$p_0=SP.ScriptUtility.emptyString;a=b.ErrorStackTrace;if(!SP.ScriptUtility.isUndefined(a))this.$1q_0=a;else this.$1q_0=SP.ScriptUtility.emptyString;a=b.ErrorCode;if(!SP.ScriptUtility.isUndefined(a))this.$1l_0=a;a=b.ErrorValue;if(!SP.ScriptUtility.isUndefined(a))this.$1n_0=a;else this.$1n_0=SP.ScriptUtility.emptyString;a=b.ErrorTypeName;if(!SP.ScriptUtility.isUndefined(a))this.$1m_0=a;else this.$1m_0=SP.ScriptUtility.emptyString;a=b.ErrorDetails;if(!SP.ScriptUtility.isUndefined(a)){this.$1I_0=a;this.$1I_0=SP.DataConvert.fixupType(this.$0_0,this.$1I_0)}}this.$2L_0=true},$3L_0:function(){ULSnd3:;return false}};SP.ExceptionHandlingExecutionScope=function(a,b,c){ULSnd3:;SP.ExceptionHandlingExecutionScope.initializeBase(this,[a,"ExceptionHandlingScope",c]);this.$4_1=b};SP.ExceptionHandlingExecutionScope.prototype={$4_1:null,$1z_0:function(a,b){ULSnd3:;if(this.$4_1.get_$37_0()){a.writeStartElement("ExceptionHandlingScopeSimple");a.writeAttributeString("Id",this.$3_0.toString())}else SP.ExecutionScope.prototype.$1z_0.call(this,a,b)}};SP.ObjectIdentityQuery=function(a){ULSnd3:;SP.ObjectIdentityQuery.initializeBase(this,[a,null])};SP.ObjectIdentityQuery.prototype={$2t_0:function(a,b){ULSnd3:;a.writeStartElement("ObjectIdentityQuery");a.writeAttributeString("Id",this.$3_0.toString());a.writeAttributeString("ObjectPathId",this.$G_0.$3_0.toString());b.addObjectPath(this.$G_0);a.writeEndElement()}};SP.ObjectPath=function(a,c,e){ULSnd3:;if(!a)throw Error.argumentNull("context");this.$0_0=a;if(!c)this.$1G_0=SP.ClientRequest.$1W;else this.$1G_0=c.$3_0;this.$3_0=SP.ClientRequest.get_nextSequenceId();if(e){a.$20_0(this);if(!a.$1X_0){var b=new SP.ClientActionInstantiateObjectPath(this);a.addQuery(b);var d=new SP.ClientActionInstantiateObjectPathResult(this);a.addQueryIdAndResultObject(b.$3_0,d)}}this.$1J_0=false;this.$d_0=true};SP.ObjectPath.prototype={$1G_0:0,$3_0:0,$0_0:null,$1J_0:false,get_$1O_0:function(){ULSnd3:;return this.$1G_0===SP.ClientRequest.$1W?null:this.$0_0.$1F_0[this.$1G_0.toString()]},$d_0:false,$36_0:function(){},get_$2W_0:function(){ULSnd3:;return null},setPendingReplace:function(){ULSnd3:;this.$0_0.get_pendingRequest().$2v_0(this)}};SP.ObjectPathProperty=function(b,c,a){ULSnd3:;SP.ObjectPathProperty.initializeBase(this,[b,c,true]);this.$X_1=a};SP.ObjectPathProperty.prototype={$X_1:null,$2t_0:function(a,b){ULSnd3:;a.writeStartElement("Property");a.writeAttributeString("Id",this.$3_0.toString());a.writeAttributeString("ParentId",this.get_$1O_0().$3_0.toString());b.addObjectPath(this.get_$1O_0());a.writeAttributeString("Name",this.$X_1);a.writeEndElement()},get_$2W_0:function(){ULSnd3:;return SP.ResResources.getString("ObjectNameProperty",this.$X_1)}};SP.ObjectPathStaticProperty=function(b,c,a){ULSnd3:;SP.ObjectPathStaticProperty.initializeBase(this,[b,null,true]);this.$O_1=c;this.$X_1=a};SP.ObjectPathStaticProperty.prototype={$X_1:null,$O_1:null,$2t_0:function(a){ULSnd3:;a.writeStartElement("StaticProperty");a.writeAttributeString("Id",this.$3_0.toString());a.writeAttributeString("TypeId",this.$O_1);a.writeAttributeString("Name",this.$X_1);a.writeEndElement()},get_$2W_0:function(){ULSnd3:;return SP.ResResources.getString("ObjectNameProperty",this.$X_1)}};SP.ObjectPathMethod=function(a,e,d,c){ULSnd3:;SP.ObjectPathMethod.initializeBase(this,[a,e,true]);SP.ClientAction.$z(a,c);this.$s_1=d;this.$6_1=c;this.$9_1=new SP.SerializationContext(a);var b;this.$1_1=new Sys.StringBuilder;b=SP.XmlWriter.create(this.$1_1);this.$i_1(b,this.$9_1);b.close();this.$6_1=null};SP.ObjectPathMethod.prototype={$s_1:null,$9_1:null,$1_1:null,$6_1:null,$2t_0:function(a,b){ULSnd3:;a.writeRaw(this.$1_1.toString());b.$Z_0(this.$9_1)},$i_1:function(a,c){ULSnd3:;a.writeStartElement("Method");a.writeAttributeString("Id",this.$3_0.toString());a.writeAttributeString("ParentId",this.get_$1O_0().$3_0.toString());c.addObjectPath(this.get_$1O_0());a.writeAttributeString("Name",this.$s_1);if(this.$6_1&&this.$6_1.length>0){a.writeStartElement("Parameters");for(var b=0;b0){a.writeStartElement("Parameters");for(var b=0;b0){a.writeStartElement("Parameters");for(var b=0;b