1 2try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved. **/ 3(function(){ 4var w=window,i$=function(){ 5if(i$.qel){ 6return i$.qel.apply(this,arguments); 7} 8}; 9w.i$=i$; 10i$.global=w; 11if(typeof (console)=="undefined"){ 12var f=function(){ 13}; 14console={log:f,debug:f,info:f,warn:f,error:f,assert:f}; 15} 16i$.partial=function(f){ 17var _1=i$.toArray(arguments).slice(1); 18return function(){ 19var _2=_1.slice(0),_3=i$.toArray(arguments),i=0; 20for(;i<_2.length;i++){ 21if(_2[i]===undefined){ 22_2[i]=_3.shift(); 23} 24} 25_2.push.apply(_2,_3); 26return f.apply(this,_2); 27}; 28}; 29i$.scope=function(s,f){ 30var of=f; 31f=function(){ 32return (i$.isString(of)?s[of]:of).apply(s,arguments); 33}; 34return i$.partial.apply(this,i$.toArray(arguments).slice(1)); 35}; 36i$.error=function(_4,_5){ 37console.error(_5||new Error(_4)); 38}; 39i$.forEach=function(_6,f,_7){ 40if(_7==null){ 41_7=0; 42} 43for(var i=(_7>=0)?_7:0;i<_6.length;i++){ 44f(_6[i],i,_6); 45} 46}; 47i$.forIn=function(o,f){ 48for(var i in o){ 49if(Object.prototype.hasOwnProperty.call(o,i)){ 50f(o[i],i,o); 51} 52} 53}; 54i$.each=function(o,f,s){ 55if(s){ 56f=i$.scope(s,f); 57} 58if(o){ 59if(o instanceof Array||typeof o.length==="number"){ 60i$.forEach(o,f); 61}else{ 62i$.forIn(o,f); 63} 64} 65}; 66i$.some=function(a,f,s){ 67if(s){ 68f=i$.scope(s,f); 69} 70for(var i=0;i<a.length;i++){ 71if(f(a[i])){ 72return true; 73} 74} 75return false; 76}; 77i$.every=function(o,f,s){ 78if(s){ 79f=i$.scope(s,f); 80} 81return !i$.some(o,function(_8){ 82return !f(_8); 83}); 84}; 85i$.wrap=function(o,n,f){ 86var fn=o[n]; 87o[n]=function(){ 88return f.call(this,fn,arguments); 89}; 90o[n]._wrapped=fn; 91return o[n]; 92}; 93i$.unwrap=function(o,n){ 94var fn=o[n]; 95if(fn&&fn._wrapped){ 96o[n]=fn._wrapped; 97} 98return o[n]; 99}; 100i$.copyShallow=function(o){ 101var r=i$.isArrayLike(o)?[]:{}; 102i$.forIn(o,function(v,k){ 103r[k]=v; 104}); 105return r; 106}; 107var _9=function(_a,_b,_c,_d){ 108if(_c||_b[_d]===undefined){ 109_b[_d]=function(){ 110return this[_a][_d].apply(this[_a],arguments); 111}; 112} 113},_e=function(_f,_10,_11,_12){ 114if(_11||_10[_12]===undefined){ 115_10[_12]=function(){ 116return _f[_12].apply(_f,arguments); 117}; 118} 119}; 120i$.shadow=function(s,t,_13,_14){ 121i$.each(_13,i$.partial(i$.isString(s)?_9:_e,s,t,_14)); 122}; 123var _15=function(_16,c,s){ 124var i,p,ts=s||i$.global; 125for(i=0;ts!=null,i<_16.length,p=_16[i];i++){ 126if(ts[p]==null){ 127if(c){ 128ts[p]={}; 129}else{ 130ts=null; 131break; 132} 133} 134ts=ts[p]; 135} 136return ts; 137}; 138i$.fromPath=function(n,c,s){ 139var _17=n.split("."); 140return _15(_17,c,s); 141}; 142i$.toPath=function(n,v,s){ 143var _18=n.split("."),p=_18.pop(),o=_15(_18,true,s); 144o[p]=v; 145return v; 146}; 147i$.cachedFn=function(f,s){ 148var val; 149var fn=function(){ 150if(!fn.called){ 151fn.called=true; 152val=f.apply(s,arguments); 153} 154return val; 155}; 156return fn; 157}; 158i$.xhrFmts={text:function(xhr){ 159return xhr.responseText; 160},json:function(xhr){ 161return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(xhr.responseText.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+xhr.responseText+")"); 162},xml:function(xhr){ 163return xhr.responseXML; 164},javascript:function(xhr){ 165if((/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(str.replace(/"(\\.|[^"\\])*"/g,"")))){ 166throw new SyntaxError("Invalid characters in javascript object"); 167}else{ 168return eval("("+xhr.responseText+")"); 169} 170}}; 171})(); 172(function(){ 173var i$=window.i$; 174(function(ua){ 175var _19=function(_1a){ 176return parseFloat(_1a); 177},_1b=[["IE",/MSIE\s*([\S]+)*/],["FF",/Firefox\/([\S]+)*/],["Opera",/Opera[\s\/]([\S]+)*/],["Safari",/Version\/([\S]+)*[\s\S]*Safari/],["Chrome",/Chrome\/([\S]+)*/],["WebKit",/AppleWebKit\/([\S]+)*/]]; 178i$.each(_1b,function(_1c){ 179var m=_1c[1].exec(ua); 180if(m&&m.length>1){ 181i$["is"+_1c[0]]=_19(m[1]); 182} 183}); 184})(navigator.userAgent); 185var _1d=document.documentMode; 186if(_1d&&_1d!=5&&Math.floor(i$.isIE)!=_1d){ 187i$.isIE=_1d; 188} 189i$.isNode=function(o){ 190return typeof o==="object"&&typeof o.nodeType==="number"&&typeof o.nodeName==="string"; 191}; 192i$.isFunction=function(o){ 193return typeof o==="function"||o instanceof Function; 194}; 195i$.isObject=function(o){ 196return typeof o==="object"; 197}; 198i$.isArray=function(o){ 199if(typeof Array.isArray==="function"){ 200return Array.isArray(o); 201}else{ 202return Object.prototype.toString.call(o)==="[object Array]"; 203} 204}; 205i$.isString=function(o){ 206return typeof o==="string"; 207}; 208i$.isNumber=function(o){ 209return typeof o==="number"; 210}; 211i$.isBoolean=function(o){ 212return typeof o==="boolean"; 213}; 214i$.isLikeArray=function(o){ 215return o instanceof Array||typeof o.length==="number"; 216}; 217i$.toArray=function(o){ 218return Array.prototype.slice.call(o); 219}; 220if(i$.isIE){ 221var _1e=i$.toArray; 222i$.toArray=function(o){ 223try{ 224return _1e(o); 225} 226catch(err){ 227var a=new Array(o.length); 228for(var i=0;i<o.length;i++){ 229a[i]=o[i]; 230} 231return a; 232} 233}; 234} 235var _1f=(document.readyState==="complete"),_20=[],_21=[],_22=false; 236i$._initPage=function(){ 237var fn; 238_1f=true; 239if(window.detachEvent){ 240window.detachEvent("onload",i$._initPage); 241} 242while(_20.length>0){ 243if(fn=_20.shift()){ 244try{ 245fn(); 246} 247catch(err){ 248console.log(err); 249} 250} 251} 252}; 253i$._exitPage=function(){ 254var fn; 255while(_21.length>0){ 256if(fn=_21.shift()){ 257try{ 258fn(); 259} 260catch(err){ 261console.log(err); 262} 263} 264} 265}; 266i$._addEvent=function(e,f,o){ 267var w=o?o:window; 268var s=w.attachEvent?e:e.substring(2); 269var a=w.attachEvent||w.addEventListener; 270a(s,function(){ 271f.apply(w,arguments); 272},false); 273}; 274if(!_1f){ 275i$._addEvent("onload",i$._initPage); 276if(document.addEventListener){ 277document.addEventListener("DOMContentLoaded",i$._initPage,false); 278} 279} 280i$.addOnLoad=function(f,o){ 281if(o){ 282f=i$.scope(o,f); 283} 284if(_1f){ 285f(); 286}else{ 287_20.push(f); 288} 289}; 290i$.addOnUnload=function(f,o){ 291if(!_22){ 292i$._addEvent("onunload",i$._exitPage); 293_22=true; 294} 295if(o){ 296f=i$.scope(o,f); 297} 298_21.push(f); 299}; 300var mx=function(o,m){ 301for(var p in m){ 302if(m.hasOwnProperty(p)){ 303o[p]=m[p]; 304} 305} 306},mxn=function(o,m,_23){ 307i$.forEach(_23,function(p){ 308if(m.hasOwnProperty(p)){ 309o[p]=m[p]; 310} 311}); 312}; 313i$.mash=function(o){ 314i$.forEach(arguments,function(v){ 315mx(o,v); 316},1); 317return o; 318}; 319i$.mashSpec=function(n,o){ 320i$.forEach(arguments,function(v){ 321mxn(o,v,n); 322},2); 323return o; 324}; 325i$.augment=function(f){
326var r=f; 327if(f&&f.prototype){ 328f=f.prototype; 329i$.mash.apply(i$,arguments); 330} 331return r; 332}; 333i$.make=(function(){ 334var l=function(){ 335}; 336return function(o){ 337l.prototype=o; 338o=new l(); 339return i$.mash.apply(i$,arguments); 340}; 341})(); 342var _24=/^\s+/g; 343i$.trim=function(str){ 344str=str.replace(_24,""); 345var i=str.length-1; 346while(str.charAt(i)==" "||str.charAt(i)=="\t"||str.charAt(i)=="\n"||str.charAt(i)=="\r"){ 347i--; 348} 349return str.substring(0,i+1); 350}; 351var _25=i$.isArray,_26=i$.isObject; 352i$.merge=function(_27,_28,_29){ 353var _29=_29||[],v,c; 354_28=_28||i$.global; 355if(_25(_27)&&_25(_28)){ 356_28.push.apply(_28,_27); 357}else{ 358for(var x in _27){ 359if(_27.hasOwnProperty(x)){ 360v=_27[x],c=_28[x]; 361if(c!=null&&((_25(v)&&_25(c))||(_26(v)&&_26(c)))){ 362_28[x]=i$.merge(v,c,_29.concat(x)); 363}else{ 364_28[x]=v; 365} 366} 367} 368} 369return _28; 370}; 371var _2a; 372i$.isRTL=function(_2b){ 373if(!_2a){ 374_2a=i$.fromPath("ibmCfg.themeConfig.RTLMap"); 375} 376var _2c=_2a||{"iw":1,"he":1,"ar":1}; 377return (_2b.substring(0,2) in _2c); 378}; 379})(); 380 381 382}catch(e){console.log("Module 'wp_client_main': ",e);} 383try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved. **/ 384(function(){ 385var i$=window.i$; 386i$.Promise=function(){ 387this._cbs=[]; 388this._stat=-1; 389}; 390i$.promise={}; 391i$.promise.Promise=i$.Promise; 392i$.mash(i$.promise,{isPromise:function(o){ 393return o&&i$.isFunction(o.then); 394},resolved:function(o){ 395var p=new i$.Promise(); 396p.resolve(o); 397return p; 398},rejected:function(_1){ 399var p=new i$.Promise(); 400p.reject(_1); 401return p; 402},join:function(_2){ 403var _3=new i$.Promise(),_4=new Array(_2.length),_5=0,_6=false,_7=function(){ 404if(++_5>=_4.length){ 405_3[_6?"reject":"resolve"](_4); 406} 407}; 408if(_2.length>0){ 409i$.each(_2,function(p,i){ 410p.then(function(v){ 411_4[i]=v; 412_7(); 413},function(e){ 414_6=true; 415_4[i]=e; 416_7(); 417}); 418}); 419}else{ 420_3.resolve([]); 421} 422return _3; 423}}); 424i$.mash(i$,{when:function(o){ 425return i$.promise.isPromise(o)?o:i$.promise.resolved(o); 426},whenAll:function(o){ 427var a=[]; 428i$.each(arguments,function(p){ 429a.push(i$.when(p)); 430}); 431return i$.promise.join(a); 432}}); 433i$.promise.when=i$.when; 434i$.promise.whenAll=i$.whenAll; 435i$.Promise.prototype={_fin:function(v,s){ 436if(this._stat!==-1){ 437throw new Error("Promise already resolved"); 438} 439this._v=v; 440this._stat=s; 441this._cbk(); 442return this; 443},_cbk:function(){ 444var st=this._stat,_8=this._cbs,v=this._v,f; 445if(st===0){ 446if(i$.promise.isPromise(v)){ 447while(_8.length>0){ 448v.then.apply(v,_8.shift()); 449} 450} 451} 452while(_8.length>0){ 453f=_8.shift()[st]; 454if(f){ 455try{ 456f(v); 457} 458catch(err){ 459} 460} 461} 462},_delegate:function(fn){ 463var p=new i$.Promise(); 464this.then(i$.partial(fn,p),i$.scope(p,"reject")); 465return p; 466},resolve:function(v){ 467return this._fin(v,0); 468},reject:function(e){ 469return this._fin(e,1); 470},progress:function(p){ 471i$.each(this._cbs,function(_9){ 472if(_9[2]){ 473_9[2](p); 474} 475}); 476return this; 477},then:function(_a,_b,_c){ 478var p=new i$.Promise(); 479this._cbs.push([function(v){ 480try{ 481if(_a){ 482var rv=_a(v); 483if(rv!==undefined){ 484v=rv; 485} 486} 487p.resolve(v); 488} 489catch(exc){ 490p.reject(exc); 491} 492},function(e){ 493var rv=e; 494try{ 495if(_b){ 496rv=_b(e); 497if(rv===undefined){ 498rv=e; 499} 500} 501} 502catch(exc){ 503rv=exc; 504} 505p.reject(rv); 506},_c]); 507if(this._stat!==-1){ 508this._cbk(); 509} 510return p; 511},call:function(_d,_e){ 512return this._delegate(function(p,_f){ 513if(_f&&i$.isFunction(_f[_d])){ 514p.resolve(_f[_d].apply(_f,_e)); 515}else{ 516p.reject(new Error(_d+" is not a function on "+o)); 517} 518}); 519},get:function(_10){ 520return this._delegate(function(p,_11){ 521if(_11){ 522p.resolve(_11[_10]); 523}else{ 524p.reject(new Error(_11+" is null or undefined")); 525} 526}); 527}}; 528i$.onLoadPromise=new i$.Promise(); 529i$.addOnLoad(function(){ 530i$.onLoadPromise.resolve(true); 531}); 532})(); 533(function(){ 534var i$=window.i$; 535i$.getXHR=typeof XMLHttpRequest!=="undefined"?function(){ 536return new XMLHttpRequest(); 537}:function(){ 538return new ActiveXObject("MSXML2.XMLHTTP.3.0"); 539}; 540i$.toQuery=function(o){ 541var q=[]; 542var enc=encodeURIComponent; 543i$.each(o,function(v,k){ 544var key=enc(k)+"="; 545if(i$.isString(v)){ 546q.push(key+enc(v)); 547}else{ 548if(i$.isArray(v)){ 549var key=enc(k)+"="; 550i$.each(v,function(av,i){ 551q.push(key+enc(av)); 552}); 553} 554} 555}); 556return q.join("&"); 557}; 558i$.addQueryString=function(u,o){ 559if(o){ 560var p=u&&u.indexOf("?")!==-1,t=p?"&":"?"; 561u+=t+i$.toQuery(o); 562} 563return u; 564}; 565i$.fromQuery=function(q){ 566var o={}; 567var dec=decodeURIComponent; 568i$.each(q.split("&"),function(av,i){
569var p=av.split("="),k=dec(p[0]),v=dec(p[1]),cv=o[k]; 570if(cv){ 571if(!i$.isArray(cv)){ 572cv=o[k]=[cv]; 573} 574cv.push(v); 575}else{ 576o[k]=v; 577} 578}); 579return o; 580}; 581i$.xhr=function(_12,_13){ 582var _12=_12||"GET",_14=new i$.Promise(),url=_13.url||"",_15=_13.sync||false,cb=_13.callback||function(){ 583},_16=_13.responseType||"text",_17=_13.postData||null,_18=_13.timeout||null,xhr=i$.getXHR(),_19=false,_1a=false; 584var _1b=function(){ 585if(xhr.readyState===4){ 586xhr.onreadystatechange=i$.isIE<=8?new Function():null; 587var _1c=function(){ 588if(xhr.status>=400){ 589var err=new Error(xhr.status+": "+xhr.responseText); 590try{ 591cb(err,xhr); 592} 593finally{ 594if(!_19){ 595_19=true; 596_14.reject({data:err,xhr:xhr}); 597} 598} 599}else{ 600try{ 601var ret=""; 602if(i$.xhrFmts[_16]){ 603ret=i$.xhrFmts[_16](xhr); 604} 605} 606catch(err){ 607cb(err,xhr); 608return; 609} 610try{ 611cb(ret,xhr); 612} 613finally{ 614if(!_19){ 615_19=true; 616_14.resolve({data:ret,xhr:xhr}); 617} 618} 619} 620}; 621if(xhr.timeout){ 622window.setTimeout(function(){ 623if(!_1a){ 624_1c(); 625} 626},0); 627}else{ 628_1c(); 629} 630} 631}; 632if(!_15){ 633xhr.onreadystatechange=_1b; 634} 635xhr.open(_12,url,!_15); 636i$.each(_13.headers,function(v,k){ 637xhr.setRequestHeader(k,v); 638}); 639if(_18){ 640xhr.timeout=_18; 641xhr.ontimeout=function(){ 642_1a=true; 643if(!_19){ 644_19=true; 645_14.reject({data:"timeout",xhr:xhr}); 646} 647}; 648} 649xhr.send(_17); 650if(_15){ 651_1b(); 652} 653return _14; 654}; 655i$.each(["Get","Put","Post","Delete"],function(m){ 656i$["xhr"+m]=i$.partial(i$.xhr,m.toUpperCase()); 657}); 658i$.loadScript=function(_1d){ 659var _1e=document.getElementsByTagName("head")[0],_1f=document.createElement("script"),_20=new i$.Promise(),_21=false,_22=function(_23,_24){ 660_1f.onreadystatechange=_1f.onload=null; 661_21=true; 662_20[_23?"resolve":"reject"](_24); 663if(_1d.callback){ 664_1d.callback(_23,_24); 665} 666_1e.removeChild(_1f); 667_1f=null; 668}; 669_1f.type="text/javascript"; 670_1f.onreadystatechange=function(){ 671if(this.readyState==="loaded"||this.readyState==="complete"){ 672_22(true); 673} 674}; 675_1f.onload=function(){ 676_22(true); 677}; 678i$.each(_1d.scriptAttrs,function(v,k){ 679if(v!=null){ 680_1f.setAttribute(k,v); 681} 682}); 683_1f.src=_1d.url; 684_1e.appendChild(_1f); 685if(_1d.timeout){ 686setTimeout(function(){ 687if(!_21){ 688_22(false,new Error("Timeout exceeded")); 689} 690},_1d.timeout); 691} 692return _20; 693}; 694})(); 695(function(){ 696var i$=window.i$; 697if(typeof (JSON)!="undefined"&&JSON.parse){ 698i$.fromJson=function(str){ 699return JSON.parse(str); 700}; 701i$.toJson=function(obj,_25){ 702return JSON.stringify(obj,null,_25?"\t":""); 703}; 704}else{ 705i$.fromJson=function(str){ 706return eval(["(",str,")"].join("")); 707}; 708var _26=function(str){ 709return ["\"",str.replace(/[\\]/g,"\\\\").replace(/["]/g,"\\\"").replace(/[\r]/g,"\\r").replace(/[\n]/g,"\\n").replace(/[\b]/g,"\\b").replace(/[\t]/g,"\\t").replace(/[\f]/g,"\\f"),"\""].join(""); 710},_27=function(obj,p,_28,_29){ 711var ap,_2a; 712if(_28){ 713_29=_29||""; 714_2a=_29+"\t"; 715} 716if(obj===null){ 717p.push("null"); 718}else{ 719if(obj===undefined){ 720p.push("undefined"); 721}else{ 722if(i$.isBoolean(obj)||i$.isNumber(obj)){ 723p.push(obj); 724}else{ 725if(i$.isString(obj)){ 726p.push(_26(obj)); 727}else{ 728if(i$.isFunction(obj.toJson)){ 729p.push(obj.toJson()); 730}else{ 731if(i$.isArray(obj)){ 732p.push("["); 733ap=[]; 734i$.each(obj,function(el){ 735var _2b=[]; 736_27(el,_2b,_28,_2a); 737ap.push(_2b.join("")); 738}); 739if(ap.length>0){ 740if(_28){ 741p.push("\n"+_2a); 742} 743p.push(ap.join(_28?",\n"+_2a:",")); 744if(_28){ 745p.push("\n"+_29); 746} 747} 748p.push("]"); 749}else{ 750if(i$.isObject(obj)){ 751p.push("{"); 752ap=[]; 753i$.each(obj,function(el,key){ 754var _2c=[_26(key),": "]; 755_27(el,_2c,_28,_2a); 756ap.push(_2c.join("")); 757}); 758if(ap.length>0){ 759if(_28){ 760p.push("\n"+_2a); 761} 762p.push(ap.join(_28?",\n"+_2a:",")); 763if(_28){ 764p.push("\n"+_29); 765} 766} 767p.push("}"); 768} 769} 770} 771} 772} 773} 774} 775}; 776i$.toJson=function(obj,_2d){ 777var p=[]; 778_27(obj,p,_2d); 779return p.join(""); 780}; 781} 782i$.xhrFmts.json=function(xhr){ 783return i$.fromJson(xhr.responseText); 784}; 785})(); 786(function(){ 787var i$=window.i$; 788var _2e=function(){ 789this._evts={}; 790},_2f=function(_30,_31){ 791return _30._evts[_31]||(_30._evts[_31]={l:[],b:[]}); 792},add=function(_32,_33,_34,fn){ 793var e=_2f(_32,_33),c=e[_34].push(fn); 794return [_33,_34,c-1]; 795},_35=function(_36,_37){ 796var e=_2f(_36,_37[0]); 797delete e[_37[1]][_37[2]]; 798},_38=function(evt,_39,_3a){ 799var _3b=evt.b,_3a=_3a||0,b,r; 800for(var i=_3a;i<_3b.length;i++){ 801b=_3b[i]; 802if(b){ 803_39=typeof _39==="undefined"?[]:_39; 804r=b.apply(null,_39||[]); 805if(i$.promise.isPromise(r)){ 806return r.then(function(_3c){
807if(_3c!==false){ 808return _38(evt,_39,i+1); 809} 810return _3c; 811}); 812} 813} 814} 815},_3d=function(evt,_3e){ 816var _3f=evt.l,l; 817for(var i=0;i<_3f.length;i++){ 818l=_3f[i]; 819if(l){ 820l.apply(null,_3e||[]); 821} 822} 823},_40=function(_41,_42,_43){ 824var e=_2f(_41,_42); 825return i$.when(_38(e,_43)).then(function(_44){ 826if(_44!==false){ 827_3d(e,_43); 828} 829return _44; 830}); 831}; 832i$.augment(_2e,{addListener:function(_45,fn){ 833return add(this,_45,"l",fn); 834},removeListener:function(_46){ 835return _35(this,_46); 836},addBroker:function(_47,fn){ 837return add(this,_47,"b",fn); 838},removeBroker:function(_48){ 839return _35(this,_48); 840},fireEvent:function(_49,_4a){ 841return _40(this,_49,_4a); 842}}); 843var _4b=new _2e(); 844i$.each(["addListener","removeListener","addBroker","removeBroker","fireEvent"],function(n){ 845i$[n]=i$.scope(_4b,n); 846}); 847})(); 848(function(){ 849var _4c=(function(){ 850var _4d=new Map(); 851var _4e=function(){ 852this.isHCLEvent=function(_4f){ 853return _4f.match(/^HCL-.*/g); 854}; 855this.addEvent=function(_50,_51,_52){ 856if(_50&&_51){ 857if(this.isHCLEvent(_50)){ 858var _53=_4d.get(_52)||{}; 859_53[_50]=_51; 860_4d.set(_52,_53); 861} 862} 863},this.removeEvent=function(_54,_55){ 864if(_54){ 865if(this.isHCLEvent(_54)){ 866_4d["delete"](_55); 867} 868} 869},this.getEvent=function(_56,_57){ 870var _58=_4d.get(_57)||{}; 871return this.isHCLEvent(_56)?_58[_56]:null; 872}; 873}; 874return new _4e(); 875})(); 876(function(){ 877if(typeof window.CustomEvent==="function"){ 878return false; 879} 880function _59(_5a,_5b){ 881_5b=_5b||{bubbles:false,cancelable:false,detail:null}; 882var evt=document.createEvent("CustomEvent"); 883evt.initCustomEvent(_5a,_5b.bubbles,_5b.cancelable,_5b.detail); 884return evt; 885}; 886window.CustomEvent=_59; 887})(); 888var _5c=function(_5d){ 889return function(_5e,_5f,_60){ 890var _61=_5d.call(this,_5e,_5f,_60); 891if(_60&&_60.lastState&&_4c.isHCLEvent(_5e)&&_4c.getEvent(_5e,this)){ 892_5f(_4c.getEvent(_5e,this)); 893} 894return _61; 895}; 896}; 897var _62=function(_63){ 898return function(_64,_65,_66){ 899if(_4c.isHCLEvent(_64)){ 900_4c.removeEvent(_64,this); 901} 902return _63.call(this,_64,_65,_66); 903}; 904}; 905var _67=function(_68){ 906return function(_69){ 907if(_69.detail&&_4c.isHCLEvent(_69.type)){ 908_4c.addEvent(_69.type,_69,this); 909} 910return _68.call(this,_69); 911}; 912}; 913if(typeof EventTarget!="undefined"){ 914EventTarget.prototype.addEventListener=_5c(EventTarget.prototype.addEventListener); 915EventTarget.prototype.removeEventListener=_62(EventTarget.prototype.removeEventListener); 916EventTarget.prototype.dispatchEvent=_67(EventTarget.prototype.dispatchEvent); 917}else{ 918var _6a=[window,document]; 919_6a.forEach(function(_6b){ 920_6b.addEventListener=_5c(_6b.addEventListener); 921_6b.removeEventListener=_62(_6b.removeEventListener); 922_6b.dispatchEvent=_67(_6b.dispatchEvent); 923}); 924Element.prototype.addEventListener=_5c(Element.prototype.addEventListener); 925Element.prototype.removeEventListener=_5c(Element.prototype.removeEventListener); 926Element.prototype.dispatchEvent=_67(Element.prototype.dispatchEvent); 927} 928})(); 929(function(){ 930var i$=window.i$; 931var _6c=document.createElement("div"); 932i$.byId=function(id){ 933if(i$.isNode(id)){ 934return id; 935}else{ 936return document.getElementById(id); 937} 938}; 939i$.createDom=function(_6d,_6e,_6f){ 940var el=document.createElement(_6d); 941i$.each(_6e,function(v,k){ 942el.setAttribute(k,v); 943}); 944if(_6f){ 945_6f.appendChild(el); 946} 947return el; 948}; 949var _70=_6c.addEventListener?function(n){ 950return n.indexOf("on")==0?n.substr(2):n; 951}:function(n){ 952return n.indexOf("on")!=0?"on"+n:n; 953},add=_6c.addEventListener?function(_71,_72,f){ 954_71.addEventListener(_72,f,false); 955}:function(_73,_74,f){ 956_73.attachEvent(_74,f); 957},_75=_6c.removeEventListener?function(_76,_77,f){ 958_76.removeEventListener(_77,f,false); 959}:function(_78,_79,f){ 960_78.detachEvent(_79,f); 961}; 962i$.isDescendant=function(_7a,anc){ 963if(anc){ 964while(_7a){ 965if(_7a==anc){ 966return true; 967} 968_7a=_7a.parentNode; 969} 970} 971return false; 972}; 973i$.bindDomEvt=function(_7b,_7c,f){ 974_7c=_70(_7c); 975if((_7c=="mouseleave"||_7c=="mouseenter")&&!i$.isIE){ 976var fp=f; 977_7c=_7c=="mouseleave"?"mouseout":"mouseover"; 978f=function(e){ 979if(!i$.isDescendant(e.relatedTarget,_7b)){ 980return fp.call(this,e); 981} 982}; 983} 984add(_7b,_7c,f); 985return [_7b,_7c,f]; 986}; 987i$.unbindDomEvt=function(_7d){ 988if(_7d[0]){ 989_75(_7d[0],_7d[1],_7d[2]); 990} 991_7d.splice(0,3); 992}; 993if("classList" in _6c){ 994i$.mash(i$,{addClass:function(_7e,_7f){ 995_7e&&_7e.classList&&_7e.classList.add(_7f); 996},removeClass:function(_80,_81){ 997_80&&_80.classList&&_80.classList.remove(_81); 998},hasClass:function(_82,_83){ 999return _82&&_82.classList&&_82.classList.contains(_83); 1000},toggleClass:function(_84,_85){ 1001_84&&_84.classList&&_84.classList.toggle(_85); 1002}}); 1003}else{ 1004var _86=function(str,_87){ 1005if(!str){ 1006return -1; 1007} 1008var len=_87.length,i=str.indexOf(_87),_88,_89; 1009while(i>-1){ 1010_89=str.charAt(i+len); 1011_88=str.charAt(i-1); 1012if((!_89||_89==" ")&&(!_88||_88==" ")){ 1013break; 1014} 1015i=str.indexOf(_87,i+1); 1016} 1017return i; 1018}; 1019i$.mash(i$,{addClass:function(_8a,_8b){ 1020if(!_8a){ 1021return; 1022} 1023if(_86(_8a.className,_8b)<0){ 1024_8a.className+=" "+_8b; 1025} 1026},removeClass:function(_8c,_8d){ 1027if(!_8c){ 1028return; 1029} 1030var str=_8c.className,len=_8d.length,i=_86(str,_8d),val=[]; 1031if(i>-1){ 1032if(i>0){ 1033val.push(str.substring(0,i)); 1034} 1035if(str.length>i+len){ 1036val.push(str.substr(i+len)); 1037} 1038_8c.className=i$.trim(val.join()); 1039} 1040},hasClass:function(_8e,_8f){ 1041if(!_8e){ 1042return; 1043} 1044return _86(_8e.className,_8f)>-1; 1045},toggleClass:function(_90,_91){ 1046if(!_90){ 1047return; 1048} 1049i$[i$.hasClass(_90,_91)?"removeClass":"addClass"](_90,_91); 1050}}); 1051} 1052})(); 1053(function(){ 1054var i$=window.i$; 1055var _92=/([^_]+)_([^_]+)_deferred_?([\d]+)?/,_93=/alternate/i,_94=function(t){ 1056return document.getElementsByTagName(t); 1057},_95=function(){ 1058return _94("head")[0]; 1059},_96=function(url){ 1060i$.createDom("link",{rel:"stylesheet",type:"text/css",href:url},_95()); 1061return i$.promise.resolved(); 1062},_97=function(url){ 1063return i$.loadScript({url:url}); 1064},_98=function(mod){ 1065return i$.xhrGet({url:mod.url,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_99){ 1066return {mod:mod,data:_99.data}; 1067}); 1068},_9a=function(_9b){ 1069i$.each(_9b,function(_9c){ 1070var m=_9c.mod; 1071var _9d=m.node.parentNode; 1072var _9e=m.p!="head"?m.node:null; 1073var _9f=document.createDocumentFragment(),tmp=i$.createDom("div"); 1074tmp.innerHTML=_9c.data; 1075while(tmp.firstChild){ 1076_9f.appendChild(tmp.firstChild); 1077} 1078_9d.insertBefore(_9f,_9e); 1079}); 1080},_a0=function(_a1){ 1081if(_93.test(_a1.rel)){ 1082var id=_a1.id,_a2=id.match(_92); 1083if(_a2){ 1084return {node:_a1,url:_a1.href,id:id,p:_a2[1],t:_a2[2],i:_a2[3]}; 1085} 1086} 1087},_a3=function(){ 1088var m={head:[],config:[]},_a4={},_a5={length:0},_a6=_94("link"),_a7=_94("a"); 1089i$.each([_a6,_a7],function(_a8){ 1090i$.each(_a8,function(_a9){ 1091var mod=_a0(_a9); 1092if(mod&&!_a4[mod.id]){ 1093_a4[mod.id]=mod; 1094if(!_a5[mod.t]){ 1095_a5[mod.t]=[]; 1096_a5.length=_a5.length+1; 1097} 1098_a5[mod.t].push(mod); 1099} 1100}); 1101}); 1102return _a5; 1103},_aa=function(_ab){ 1104var _ac=[]; 1105var _ad=[]; 1106i$.each(_ab["markup"],function(mod){ 1107_ad.push(_98(mod)); 1108}); 1109return i$.whenAll.apply(this,_ad).then(function(_ae){ 1110_ac=_ae; 1111_ad=[]; 1112i$.each(_ab["css"],function(mod){ 1113_ad.push(_96(mod.url)); 1114}); 1115return i$.whenAll.apply(this,_ad); 1116},function(err){ 1117console.log("Error: ",err); 1118}).then(function(_af){ 1119return _b0(_ab["js"]); 1120}).then(function(){ 1121_9a(_ac); 1122}); 1123},_b0=function(_b1){ 1124var m=_b1.shift(),p; 1125if(m){ 1126p=_97(m.url); 1127} 1128return i$.when(p).then(function(){ 1129return _b1.length>0?_b0(_b1):true; 1130},function(err){ 1131console.log("Error: ",err); 1132}); 1133},_b2=false,_b3=null,_b4=false,_b5=false,_b6=new i$.Promise(),_b7=function(cbk){ 1134i$.addOnLoad(function(){ 1135if(!_b2){ 1136_b3=_a3(); 1137_b4=_b3.length>0?false:true; 1138if(_b4){ 1139_b6.resolve(); 1140} 1141_b2=true; 1142} 1143if(cbk){ 1144cbk(); 1145} 1146}); 1147}; 1148i$.modules={}; 1149i$.mash(i$.modules,{areLoaded:function(){ 1150return _b4; 1151},areLoading:function(){ 1152return _b5; 1153},loadDeferred:function(){ 1154if(_b5){ 1155return _b6; 1156} 1157var cbk=function(){ 1158if(!_b4){ 1159_b5=true; 1160_aa(_b3).then(function(){ 1161_b4=true; 1162_b5=false; 1163_b6.resolve(); 1164},function(e){ 1165_b6.reject(e); 1166}); 1167} 1168}; 1169_b7(cbk); 1170return _b6; 1171},addAfterLoaded:function(f){ 1172var cbk=function(){ 1173_b6.then(f); 1174}; 1175_b7(cbk); 1176}}); 1177var _b8=i$.addOnLoad,_b9=[]; 1178i$.addOnLoad=function(f,o){ 1179if(_b5){ 1180if(o){ 1181f=i$.scope(o,f); 1182} 1183_b9.push(f); 1184}else{ 1185_b8(f,o); 1186} 1187}; 1188i$.modules.addAfterLoaded(function(){ 1189while(_b9.length>0){ 1190if(fn=_b9.shift()){ 1191fn(); 1192} 1193} 1194}); 1195})(); 1196(function(){ 1197var i$=window.i$; 1198i$.getCookie=function(n){ 1199var cs=document.cookie.split(";"),c="",_ba=0,cn="",cv=null; 1200for(var i=0;i<cs.length;i++){ 1201c=cs[i]; 1202_ba=c.indexOf("="); 1203cn=_ba<0?null:i$.trim(c.substring(0,_ba)); 1204if(cn==n){ 1205if(c.length>1){ 1206cv=_ba<0?null:i$.trim(c.substring(_ba+1,c.length)); 1207} 1208return cv; 1209} 1210} 1211return null; 1212}; 1213i$.setCookie=function(n,v,e,p,d,s){ 1214if(!e){ 1215var m=new Date().getTime(); 1216m+=(1000*60*60*24*365*100); 1217e=new Date(m); 1218} 1219var c=n+"="+v+((e)?"; expires="+e.toGMTString():"")+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+((s)?"; secure":""); 1220document.cookie=c; 1221}; 1222i$.deleteCookie=function(n,p,d){ 1223if(i$.getCookie(n)){ 1224document.cookie=n+"="+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT"; 1225} 1226}; 1227})(); 1228 1229 1230}catch(e){console.log("Module 'wp_client_ext': ",e);} 1231try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved. **/ 1232(function(){ 1233var i$=window.i$; 1234var _1=i$.log={}; 1235var _2=[]; 1236var _3=function(_4,_5){ 1237return _4.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_6,_7,_8){ 1238var _9=_5[_7]; 1239return _9; 1240}); 1241}; 1242i$.Logger=function(_a){ 1243this.name=_a?_a:null; 1244}; 1245_1.Logger=i$.Logger; 1246i$.mash(_1,{LEVEL_TRACE:500,LEVEL_INFO:800,LEVEL_WARNING:900,LEVEL_SEVERE:1000}); 1247var _b=_1.LEVEL_INFO; 1248var _c=_1.LEVEL_WARNING; 1249var _d=_1.LEVEL_SEVERE; 1250i$.mash(_1,{getLogger:function(_e){ 1251if(!_2[_e]){ 1252_2[_e]=new i$.Logger(_e); 1253} 1254return _2[_e]; 1255},setTraceConfig:function(_f,_10){ 1256console.log("IMPORTANT: In order to enable tracing you need to configure module wp_client_tracing to be downloaded."); 1257}}); 1258i$.getLogger=i$.log.getLogger; 1259i$.setTraceConfig=i$.log.setTraceConfig; 1260i$.Logger.prototype={info:function(_11,_12,_13){ 1261this.log(_b,_11,_12,_13); 1262},warning:function(_14,_15,_16){ 1263this.log(_c,_14,_15,_16); 1264},severe:function(_17,_18,_19){ 1265this.log(_d,_17,_18,_19); 1266},log:function(_1a,_1b,_1c,_1d){ 1267if((_1d&&!i$.isArray(_1d))||_1d===false){ 1268_1d=[_1d]; 1269} 1270var _1e=this.name; 1271var _1f=_1d?_3(_1c.toString(),_1d):_1c; 1272var _20="ibmStatusBox"; 1273var _21="/portal/status"; 1274var _22=i$.fireEvent; 1275var _23=com.ibm.widgets.StatusMessage; 1276var _24=null; 1277if(_1a==_d){ 1278_24="error"; 1279}else{ 1280if(_1a==_c){ 1281_24="warning"; 1282}else{ 1283if(_1a==_b){ 1284_24="info"; 1285} 1286} 1287} 1288if(_24){ 1289_22(_21,[{message:new _23(_24,_1e+" "+_1b+": "+_1f,""),uid:_20}]); 1290} 1291}}; 1292})(); 1293 1294 1295}catch(e){console.log("Module 'wp_client_logging': ",e);} 1296try{ 1297 1298}catch(e){console.log("Module 'wp_client_tracing': ",e);} 1299try{(function(){var h=window;
1299function k(e){for(var g=l.call(arguments,1),c,b=g,d=b.length,a=[];d;)void 0===b[--d]&&a.unshift(d);c=a;return function(){for(var a=g.slice(),b=c.length;b;)a[c[--b]]=arguments[b];m.apply(a,l.call(arguments,c.length));return e.apply(void 0,a)}}function p(e,g,c){for(var b=e.split("."),d=b.length-1,a=c,f=0;f<d;){var n=b[f++],j;if(!(j=a[n]))j={},a[n]=j;a=j}b=b[f];c=k(g,c);d=a;if(!(f=d[b]))c=c(),f=d[b]=c;a=f;a.clone=k(p,e,g);return a}var q=h.Array.prototype,l=q.slice,m=q.push; 1300p("wpModules.modules",function(e){return{create:k(p,void 0,void 0,e),partial:k}},h);}()); 1301}catch(e){console.log("Module 'wp_modules': ",e);} 1302try{(function(){var g=window;function j(a,c){var b,d;for(d=c.length-1;0<=d;--d)if(b=c[d],b===a)return d;return-1}function k(a,c,b){return b.setAttribute(a,c)}function l(a,c){return c.removeAttribute(a)}function m(a,c,b){return c?b.setAttribute(a,a):b.removeAttribute(a)}function n(a,c){var b=c.className.split(" "),d=j(a,b);0>d?b.push(a):b.splice(d,1);c.className=b.join(" ");return!0}function p(a,c){var b=c.className.split(" ");0>j(a,b)?(b.push(a),c.className=b.join(" "),b=!0):b=!1;return b} 1303function q(a,c){var b=c.className.split(" "),d=j(a,b);0<=d?(b.splice(d,1),c.className=b.join(" "),b=!0):b=!1;return b}function r(a,c,b){return c?p(a,b):q(a,b)}function s(a,c){return a&&c?c.getAttribute("data-"+a):void 0}function t(a){return a?a.innerText||a.textContent:void 0}function u(a,c){var b=s(a,c),d;b&&((d=b&&c?c.ownerDocument.getElementById(b):void 0)||(d=u(b,c)));return d}function v(a,c){var b,d,e;if(w(a)){d=0;e=a.length;for(b=c;d<e&&b;)b=u(a[d++],b)}else b=u(a,c);return b} 1304function x(a,c,b){for(var d=arguments,e=2,h=d.length,f=a.createElement(c);e<h;)k(d[e++],d[e++],f);return f}function y(a){var c=a.parentNode;c&&c.removeChild(a);return a}function z(a,c,b){c.addEventListener(a,b,!1)}function A(a,c,b){c.removeEventListener(a,b,!1)}function B(a,c){var b=c||a.oninput,d,e;b&&(d=a.ownerDocument,e=b.bind(a),z("focus",a,C(z,"selectionchange",d,e)),z("blur",a,C(A,"selectionchange",d,e)));return b} 1305function D(a,c){var b=c||a.event;b&&(b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0);return!1}function E(a){for(var c=0,b=0;a;)c+=a.offsetLeft+a.clientLeft,b+=a.offsetTop+a.clientTop,a=a.offsetParent;return{x:c,y:b}}function F(a,c,b,d){var e,h,f;if(w(b)){e=0;for(h=b.length;e<h;)f=F(a,c,b[e++],d)}else f=x(a,"INPUT","type","hidden","name",d,"value",b),c.appendChild(f);return f}var G=g.wpModules.modules,C=G.partial,w=g.Array.isArray; 1306(0,G.create)("wpModules.photon.dom",function(a){var c=a.document;a=C(D,a);var b=C(x,c),c=C(F,c);return{getData:s,getNode:v,getText:t,addClass:p,removeClass:q,conditionalClass:r,toggleClass:n,setAttribute:k,conditionalAttribute:m,removeAttribute:l,createElement:b,removeElement:y,polyfillOnInput:B,cancelEvent:a,getPosition:E,addHiddenInput:c}});}()); 1307}catch(e){console.log("Module 'wp_photon_dom': ",e);} 1308try{(function(_1){ 1309"use strict"; 1310var _2="name",_3="id",_4="content",_5="meta",_6="x-ready",_7="ready",_8=_1["wpModules"],_9=_8["photon"]["dom"],_a=_8["modules"],_b=_a["create"],_c=_a["partial"],_d=_9["createElement"],_e=_9["removeElement"],_f=_9["getData"],_10=_1["Object"].prototype.toString; 1311function _11(_12){ 1312var _13="[object String]"===_12; 1313return _13; 1314}; 1315function _14(_15){ 1316var _16=_10.call(_15); 1317return _16; 1318}; 1319function _17(_18,aId){ 1320return _18.getElementById(aId); 1321}; 1322function _19(_1a,aId){ 1323var _1b=_14(aId),_1c; 1324if(_11(_1b)){ 1325_1c=aId; 1326}else{ 1327_1c=_f(_7,aId); 1328} 1329return _1c; 1330}; 1331function _1d(_1e,_1f,aId){ 1332var id=_19(_1f,aId),_20=_1e.getItem(id),_21; 1333if(_20){ 1334_1e.removeItem(id); 1335_21=_17(_1f,id); 1336if(_21){ 1337_e(_21); 1338} 1339_21=_d(_5,_3,id,_2,_6,_4,_20); 1340_1f.head.appendChild(_21); 1341} 1342return _21; 1343}; 1344function _22(_23){ 1345var _24=_23.document,_25=_23.sessionStorage,_26=_c(_1d,_25,_24); 1346return {"addReady":_26}; 1347}; 1348return _b("wpModules.toolbar.common",_22); 1349}(window)); 1350 1351 1352}catch(e){console.log("Module 'wp_toolbar_common': ",e);} 1353try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved. **/ 1354(function(_1){ 1355function _2(_3){ 1356return (_3.getElementsByTagName("html")[0].getAttribute("dir")||"").toLowerCase()=="rtl"; 1357}; 1358function _4(_5){ 1359var v=_5.documentElement; 1360return {width:v.clientWidth,height:v.clientHeight}; 1361}; 1362function _6(_7){ 1363var _8=curtop=0; 1364if(_7.offsetParent){ 1365do{ 1366_8+=_7.offsetLeft; 1367curtop+=_7.offsetTop; 1368}while(_7=_7.offsetParent); 1369return {left:_8,top:curtop}; 1370} 1371return null; 1372}; 1373function _9(_a){ 1374var bb=_a.getBoundingClientRect(),b={width:bb.width,height:bb.height,left:bb.left,top:bb.top,right:bb.right,bottom:bb.bottom}; 1375if(i$.isIE){ 1376b.height=b.bottom-b.top; 1377b.width=b.right-b.left; 1378}
1379if(i$.isIE==7){ 1380var _b=_6(_a); 1381b.left=(_b?_b.left:b.left); 1382b.top=(_b?_b.top:b.top); 1383} 1384return b; 1385}; 1386function _c(_d,_e){ 1387var b=_9(_d); 1388if(_e){ 1389var fo=_f(self,_e); 1390b.top+=fo.top; 1391b.left+=fo.left; 1392b.bottom+=fo.top; 1393b.right+=fo.left; 1394} 1395return b; 1396}; 1397function _10(_11,_12){ 1398i$.forIn(_12,function(v,n){ 1399_11.style[n]=Math.round(v)+"px"; 1400}); 1401}; 1402function _f(_13,_14){ 1403var box={top:0,left:0}; 1404var w=_13; 1405while(w.frameElement&&w!==_14){ 1406var b=_c(w.frameElement); 1407box.top+=b.top; 1408box.left+=b.left; 1409w=w.parent; 1410} 1411return box; 1412}; 1413function _15(_16){ 1414var doc=_16.document,de=doc.documentElement,b=doc.body; 1415return {left:isNaN(_16.scrollX)?(de.scrollLeft+b.scrollLeft):_16.scrollX,top:isNaN(_16.scrollY)?(de.scrollTop+b.scrollTop):_16.scrollY}; 1416}; 1417var _17={nodeHandler:{},pointerHandler:{},handle:function(_18){ 1418var _19=_18.name,_1a=_18.targetWindow,_1b=_18.node,_1c=_18.refNode,_1d=_18.targetBox,_1e=_1e||0.5,_1f=_18.viewMargin,_20=_18.positionNode,_21=_17.nodeHandler[_19],_22=_17.pointerHandler[_19]; 1419if(!_21&&!_1d){ 1420return; 1421} 1422var doc=_1a.document,b=doc.body,_23=_4(doc),_24=_c(_1b),_25,_26=_15(_1a); 1423if(_1c){ 1424var _27=function(_28){ 1425var n=_28; 1426while(n&&n.offsetParent===null){ 1427n=n.parentNode; 1428} 1429return n; 1430}; 1431_1c=_27(_1c); 1432var _29=_c(_1c,_1a),_2a=_23.width-_29.left-_29.width*(1-_1e),_2b=_29.left+_29.width*_1e,_2c=_24.width+_1f,_2d=_2(doc)?!(_2b>_2c||_2a<_2c):_2a>_2c||_2b<_2c; 1433if(_2a<_24.width){ 1434_25={left:_23.width-_24.width,top:_29.height+_29.top,}; 1435}else{ 1436_25=_21(_23,_24,_29,_2d,_1f); 1437} 1438}else{ 1439var h=_1d.height||_24.height,w=_1d.width||_24.width; 1440_25={top:Math.max(10,Math.min(_1d.top||(_23.height-h)/2,_23.height-_24.height-_1f)),left:Math.max(0,Math.min(_1d.left||(_23.width-w)/2,_23.width-_24.width-_1f))}; 1441} 1442if(!i$.isIE||i$.isIE!==7){ 1443_25.top+=_26.top; 1444_25.left+=_26.left; 1445} 1446_10(_20||_1b,_25); 1447if(_1c&&_22){ 1448var _2e=null; 1449var _2f=function(el){ 1450var c=el.className; 1451if(c&&c.indexOf("pointer")>-1){ 1452_2e=el; 1453} 1454if(!_2e&&el.hasChildNodes()){ 1455i$.each(el.childNodes,function(val){ 1456_2f(val); 1457}); 1458} 1459}; 1460_2f(_1b); 1461if(_2e){ 1462_10(_2e,_22(_c(_1b),_29,_c(_2e),_2e)); 1463} 1464} 1465},registerHandler:function(_30){ 1466if(_30.nodeHandler){ 1467_17.nodeHandler[_30.name]=_30.nodeHandler; 1468} 1469if(_30.pointerHandler){ 1470_17.pointerHandler[_30.name]=_30.pointerHandler; 1471} 1472},addPositionChangeListener:function(_31){ 1473if(!_31.node){ 1474return null; 1475} 1476var _32={refNode:_31.node,targetWindow:_31.targetWindow||_1,callback:_31.callbackFn,pollInterval:_31.pollInterval||2000,intervalId:null,refBox:null,tolerance:_31.tolerance||5,intervalFn:function(){ 1477if(this.refNode){ 1478var box=_c(this.refNode,this.targetWindow); 1479if(!this.refBox){ 1480this.refBox=box; 1481}else{ 1482var _33=this.tolerance,_34=this.refBox,_35=Math.abs(_34.top-box.top),_36=Math.abs(_34.left-box.left),_37=Math.abs(_34.bottom-box.bottom),_38=Math.abs(_34.right-box.right); 1483if(_33<Math.max(_35,_36,_37,_38)){ 1484this.refBox=box; 1485this.callback(); 1486} 1487} 1488}else{ 1489this.stop(); 1490} 1491},start:function(){ 1492var obj=this; 1493this.intervalId=this.targetWindow.setInterval(function(){ 1494obj.intervalFn(); 1495},this.pollInterval); 1496},stop:function(){ 1497if(this.intervalId){ 1498this.targetWindow.clearInterval(this.intervalId); 1499} 1500}}; 1501_32.start(); 1502return _32; 1503}}; 1504i$.toPath("wpModules.util.Positioning",_17); 1505i$.toPath("wpModules.util.dialog",{viewPort:_4,setMetrics:_10,simpleBox:_9,scroll:_15}); 1506})(window); 1507(function(){ 1508var _39={name:"horizontallyBelow",nodeHandler:function(_3a,_3b,_3c,_3d,_3e){ 1509var pos={}; 1510pos.top=_3c.top+_3c.height; 1511if(pos.top<0){ 1512pos.top=0; 1513} 1514if(pos.top+_3b.height>_3a.height){ 1515pos.top=_3a.height-_3b.height-_3e; 1516} 1517pos.left=Math.max(_3c.left+(_3c.width-_3b.width)/2,_3e); 1518if(pos.left+_3b.width+_3e>_3a.width){ 1519pos.left=_3a.width-_3b.width-_3e; 1520} 1521return pos; 1522},pointerHandler:function(_3f,_40,_41,_42){ 1523i$.addClass(_42,"top"); 1524var _43=_42.clientHeight,_44=_42.clientWidth,_45=Math.min(_40.left+_40.width,_3f.left+_3f.width),_46=Math.max(_40.left,_3f.left),_47=(_45+_46)/2-_3f.left; 1525var res={top:-(_43-4),left:_47-_44/2}; 1526return res; 1527}}; 1528wpModules.util.Positioning.registerHandler(_39); 1529})(); 1530(function(){ 1531var _48={name:"horizontallyCenteredBelow",nodeHandler:function(_49,_4a,_4b,_4c,_4d){ 1532var pos={}; 1533pos.top=_4b.top+_4b.height; 1534if(pos.top<0){ 1535pos.top=0; 1536} 1537if(pos.top+_4a.height>_49.height){ 1538pos.top=_49.height-_4a.height-_4d; 1539}
1540pos.left=Math.max(_4b.left+(_4b.width-_4a.width)/2,_4d); 1541if(pos.left+_4a.width+_4d>_49.width){ 1542pos.left=_49.width-_4a.width-_4d; 1543} 1544return pos; 1545},pointerHandler:function(_4e,_4f,_50,_51){ 1546i$.addClass(_51,"top"); 1547var _52=_51.clientHeight,_53=_51.clientWidth,_54=Math.min(_4f.left+_4f.width,_4e.left+_4e.width),_55=Math.max(_4f.left,_4e.left),_56=(_54+_55)/2-_4e.left; 1548var res={top:-(_52-4),left:_56-_53/2}; 1549return res; 1550}}; 1551wpModules.util.Positioning.registerHandler(_48); 1552})(); 1553(function(){ 1554var _57={name:"verticallyCenteredRightHand",nodeHandler:function(_58,_59,_5a,_5b,_5c){ 1555var pos={}; 1556pos.top=Math.max(_5a.top+(_5a.height-_59.height)/2,_5c); 1557pos.top=Math.min(pos.top,_58.height-_59.height-_5c); 1558if(_5b){ 1559pos.left=Math.min(_5a.left+_5a.width,_58.width-_59.width-_5c); 1560}else{ 1561pos.left=Math.max(_5a.left-_59.width,_5c); 1562} 1563return pos; 1564},pointerHandler:function(_5d,_5e,_5f,_60){ 1565var _61=_5f.height,_62=_61/2+6,_63=Math.min(_5e.top+_5e.height,_5d.top+_5d.height-_62),_64=Math.max(_5e.top,_5d.top+_62),_65=_5d.left-_60.offsetWidth,_66=_5d.right+_60.offsetWidth,_67=_5e.left>_65,_68=_5e.left<=_65,_69=_65<=_5e.right,_6a=_65>_5e.right,_6b=_66<=_5e.left,_6c=_66>_5e.right,_6d=_66<=_5e.right; 1566i$.removeClass(_60,"right"); 1567i$.removeClass(_60,"left"); 1568if(_63-_64>=0){ 1569if((_67&&_6c)||(_68&&_6d)){ 1570}else{ 1571if((_67&&_6d)||(_67&&_6b)){ 1572i$.addClass(_60,"right"); 1573}else{ 1574if((_69&&_6c)||(_6a&&_6c)){ 1575i$.addClass(_60,"left"); 1576} 1577} 1578} 1579} 1580return {top:(_64+_63-_61)/2-_5d.top}; 1581}}; 1582wpModules.util.Positioning.registerHandler(_57); 1583})(); 1584 1585 1586}catch(e){console.log("Module 'wp_dialog_util': ",e);} 1587try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved. **/ 1588(function(_1){ 1589var _2=wpModules.util.dialog; 1590function _3(e,_4){ 1591e=e||_4.event; 1592e.stopPropagation&&e.stopPropagation(); 1593e.preventDefault&&e.preventDefault(); 1594e.cancelBubble=true; 1595e.cancel=true; 1596e.returnValue=false; 1597return false; 1598}; 1599function _5(_6,_7){ 1600var _8=_2.scroll(_7),_9=_6||_7.event; 1601return {left:_9.clientX+_8.left,top:_9.clientY+_8.top}; 1602}; 1603function _a(p){ 1604var _b=p.window||_b,_c=_2.viewPort(_b.document),_d=p.element,_e=p.handle||_d,_f=i$.mash({top:0,left:0,width:_c.width,height:_c.height,margin:0},p.area),_10=false,_11=false,_12=false,_13,mmb,mub,mdb; 1605function _14(_15){ 1606if(!_12&&_11&&!_10){ 1607_12=true; 1608p.startCallback&&p.startCallback(_15,_d); 1609_13=_5(_15,_b); 1610var _16=_2.simpleBox(_d); 1611mmb=i$.bindDomEvt(_b.document,"mousemove",function(_17){ 1612if(_12&&!_10){ 1613var pos=_5(_17,_b),_18=_2.scroll(_b); 1614pos.left+=_16.left+_18.left-_13.left; 1615pos.top+=_16.top+_18.top+-_13.top; 1616pos.left=Math.min(Math.max(_f.left+_18.left+_f.margin,pos.left),_f.left+_18.left+_f.width-_16.width-_f.margin); 1617pos.top=Math.min(Math.max(_f.top+_18.top+_f.margin,pos.top),_f.top+_18.top+_f.height-_16.height-_f.margin); 1618_2.setMetrics(_d,pos); 1619p.moveCallback&&p.moveCallback(pos,_d); 1620return _3(_17,_b); 1621} 1622}); 1623mub=i$.bindDomEvt(_b.document,"mouseup",function(_19){ 1624_1a(); 1625return _3(_19,_b); 1626}); 1627return _3(_15,_b); 1628} 1629}; 1630function _1a(){ 1631if(_12&&!_10){ 1632i$.unbindDomEvt(mmb); 1633i$.unbindDomEvt(mub); 1634_13=null; 1635p.endCallback&&p.endCallback(_d); 1636_12=false; 1637} 1638}; 1639this.dispose=function(){ 1640if(!_10){ 1641this.StopListening(true); 1642_d=null; 1643_e=null; 1644p.startCallback=null; 1645p.moveCallback=null; 1646p.endCallback=null; 1647_10=true; 1648} 1649}; 1650this.StartListening=function(){ 1651if(!_11&&!_10){ 1652_11=true; 1653mdb=i$.bindDomEvt(_e,"mousedown",_14); 1654} 1655}; 1656this.StopListening=function(_1b){ 1657if(_11&&!_10){ 1658i$.unbindDomEvt(mdb); 1659_11=false; 1660_1b&&_12&&_1a(); 1661} 1662}; 1663this.isDragging=function(){ 1664return _12; 1665}; 1666this.isListening=function(){ 1667return _11; 1668}; 1669this.isDisposed=function(){ 1670return _10; 1671}; 1672this.StartListening(); 1673}; 1674i$.toPath("wpModules.util.Draggable",_a); 1675})(window); 1676 1677 1678}catch(e){console.log("Module 'wp_dialog_draggable': ",e);} 1679try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved. **/ 1680if(!i$.fromPath("wpModules.dialog.Dialog")){ 1681var _T="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"; 1682i$.addListener("wpModules/dialog/closeAll",function(_1){ 1683var _2=i$.fromPath("wpModules.dialog.DialogStorage.openDialogs",false,top); 1684if(_2&&_2.length>0){ 1685i$.forEach(_2,function(_3){ 1686if(!_1||_3.prm[_1]){ 1687_3.close(); 1688} 1689}); 1690} 1691}); 1692i$.toPath("wpModules.dialog.Dialog",function(_4,_5){ 1693var _6=i$.fromPath("wpModules.dialog.DialogStorage",false,_4.top); 1694if(!_6){ 1695_6=i$.toPath("wpModules.dialog.DialogStorage",{openDialogs:[]},_4.top); 1696} 1697var _7=_6.openDialogs,_8=wpModules.util.dialog; 1698function _9(_a,_b){ 1699i$.each(_b,function(v,k){ 1700_a=_a.replace(new RegExp("\\${"+k+"}","g"),v); 1701}); 1702return _a; 1703}; 1704function _c(_d,_e){ 1705var s="data-attach-point"; 1706var _f=function(el){ 1707if(el.getAttribute&&el.getAttribute(s)){ 1708_e[el.getAttribute(s)]=el; 1709} 1710if(el.hasChildNodes()){ 1711i$.each(el.childNodes,function(val){ 1712_f(val); 1713}); 1714} 1715}; 1716_f(_d); 1717}; 1718function _10(){ 1719return Math.round(Math.random()*1000000000)+""; 1720}; 1721function _11(p,_12,box){ 1722wpModules.util.Positioning.handle({name:p.posHandler,targetWindow:p.window,targetBox:box,node:_12,refNode:p.autoPosition,maxOverLay:p.maxOverlay,viewMargin:p.viewMargin}); 1723}; 1724function _13(_14){ 1725return _14.window.document.getElementById(_14.id+"-iframe"); 1726}; 1727var _15=i$.augment((function(_16){ 1728this._init(_16); 1729}),{_init:function(_17){
1730var doc=_17.window.document,div=doc.createElement("div"),_18=_17.parent,_19=this._overlayNode=_17.displayCloseOverlay?doc.createElement("div"):null,_1a=this.rootNode=doc.createElement("div"),_1b=[140,30]; 1731if(_17.templateStyle=="flat"){ 1732_1b=[300,200]; 1733} 1734this.defaultWidth=_1b[0]; 1735this.defaultHeight=_1b[1]; 1736if(_19){ 1737var os=_19.style; 1738os.display="block"; 1739os.height="100%"; 1740os.top="0px"; 1741os.position="fixed"; 1742os.backgroundColor="#000"; 1743os.opacity="0.4"; 1744os.filter="Alpha(opacity=40)"; 1745os.left="0"; 1746os.width="100%"; 1747os.zIndex=_17.z_index-1; 1748if(!_17.modal){ 1749os.opacity="0"; 1750os.filter="Alpha(opacity=0)"; 1751} 1752} 1753this.tabOut=_17.tabOut; 1754this.modal=_17.modal; 1755this.window=_17.window; 1756var _1c={title:_17.title||"",itemClose:_17.itemClose,z_index:_17.z_index,id:_17.id}; 1757if(_17.templateStyle=="help"&&_17.learnMoreURL){ 1758_1c.learnMore=_17.learnMore; 1759_1c.learnMoreURL=_17.learnMoreURL; 1760_1c.learnMoreParam=_17.learnMoreParam; 1761} 1762var s=[""],_1d=typeof _17.padding,_1e=_17.padding; 1763if(_1e&&_1d==="object"){ 1764s.push("padding:",_1e[0],"px ",_1e[1],"px ",_1e[2],"px ",_1e[3],"px;"); 1765}else{ 1766if(_1d!=="number"){ 1767_1e=15; 1768} 1769s.push("padding:",_1e,"px;"); 1770} 1771_1c.contentStyle=s.join(""); 1772div.innerHTML=_9(_17.template,_1c); 1773_c(div,this); 1774this.domNode=div.firstChild; 1775this.id=this.domNode.id=_17.id; 1776_18.insertBefore(_1a,_18.firstChild); 1777_19&&_1a.appendChild(_19); 1778_1a.appendChild(this.domNode); 1779if(!_17.autoPosition){ 1780this._hidePointer(); 1781} 1782},_hidePointer:function(){ 1783this.domNode.lastChild.style.display="none"; 1784},_showPointer:function(){ 1785this.domNode.lastChild.style.display="inline"; 1786},show:function(){ 1787this.domNode.style.display="block"; 1788},hide:function(){ 1789this.domNode.style.display="none"; 1790}}); 1791return i$.augment((function(_1f){ 1792this.blankImgSrc=_T; 1793this.z_index=_7.length===0?1000:_7[_7.length-1].z_index+500; 1794var _20=_1f.title||_1f.displayDialogHeader; 1795var _21={startDialog:"<div class=\"wpthemeDialog\" style=\"display:none;position:absolute;z-index:${z_index};\" role=\"dialog\" "+(_1f.title?"aria-labelledby=\"${id}-title\"":(_1f.description?"aria-label=\""+_1f.description+"\"":(_1f.labelledby?"aria-labelledby=\""+_1f.labelledby+"\"":"aria-label=\"dialog\"")))+">",endDialog:"</div>",dialogContent:"<div id=\"${id}-firstFocus\" tabIndex=\"0\"></div>"+"<div class=\"wpthemeDialogContent\" style=\"${contentStyle}\">"+"<div class=\"wpthemeDialogContentBody\">"+"<div>"+"<div class=\"west\" style=\"display:none;\" data-attach-point=\"westContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"westContent\"></div>"+"</div>"+"<div class=\"central\" style=\"height:auto; width:auto; max-height:5000px; position:relative\" data-attach-point=\"centralContent\"></div>"+"<div class=\"east\" style=\"display:none;\" data-attach-point=\"eastContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"eastContent\"></div>"+"</div>"+"</div>"+"<div class=\"south\" style=\"display:none;\" data-attach-point=\"southContent\"></div>"+"</div>"+"</div>"+"<div id=\"${id}-lastFocus\" tabIndex=\"0\"></div>"}; 1796var prm=this.prm=i$.mash({id:_10(),window:_4,parent:_1f.window?_1f.window.document.body:_4.document.body,posHandler:"verticallyCenteredRightHand",displayCloseOverlay:true,maxOverlay:0.5,viewMargin:15,autoResize:false,autoClose:!_1f.modal,modal:false,tabOut:false,helpTemplate:_21.startDialog+"<div class=\"wpthemeDialogPopup\" data-attach-point=\"dialogNode\">"+"<a class=\"wpthemeDialogPopupClose\" href=\"javascript:void(0);\" data-attach-point=\"closeButtonNode\" title=\"${itemClose}\" role=\"button\">"+"<img alt=\"${itemClose}\" src=\""+this.blankImgSrc+"\" aria-label=\"${itemClose}\"/><span class=\"dialogAltText\" title=\"${itemClose}\">X</span>"+"</a>"+"<div id=\"${id}-firstFocus\" tabIndex=\"0\"></div>"+"<div class=\"wpthemeDialogPopupContent\">"+"<div class=\"wpthemeDialogPopupContentArea\">"+"<div class=\"west\" style=\"display:none;\" data-attach-point=\"westContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"westContent\"></div>"+"</div>"+"<div class=\"central\" style=\"height:auto; width:auto; max-height:5000px; position:relative\" data-attach-point=\"centralContent\"></div>"+"<div class=\"east\" style=\"display:none;\" data-attach-point=\"eastContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"eastContent\"></div>"+"</div>"+"</div>"+"<div class=\"south\" style=\"display:none;
1796\" data-attach-point=\"southContent\"></div>"+"</div>"+((_1f.learnMore&&_1f.learnMore.url)?"<div class=\"wpthemeDialogPopupFooter\">"+"<a href=\"javascript:void(0);\" class=\"wpthemeDialogLearnLink\" onclick=\"window.open('${learnMoreURL}', '', 'location=no,menubar=no,scrollbars=yes,status=no,toolbar=no${learnMoreParam}', false);\">${learnMore}</a>"+"</div>":"")+"<div id=\"${id}-lastFocus\" tabIndex=\"0\"></div>"+"</div>"+"<div class=\"dialogPointer pointer\" style=\"top:50%;display:none\"/>"+_21.endDialog,defaultTemplate:_21.startDialog+"<div class=\"wpthemeDialogBorder\">"+"<div class=\"dialogContainer\" data-attach-point=\"dialogNode\">"+(_20?"<div id=\"${id}-header\" class=\"dialogHeader\" data-attach-point=\"dialogHeaderNode\" style=\"position:relative;\">"+(_1f.title?"<h1 id=\"${id}-title\" class=\"dialogHeaderText\" data-attach-point=\"titleNode\">${title}</h1>":"")+"<a href=\"javascript:void(0);\" data-attach-point=\"closeButtonNode\" class=\"dialogClose\" title=\"${itemClose}\">"+"<img src=\""+this.blankImgSrc+"\" alt=\"\" aria-label=\"${itemClose}\" />"+"<span class=\"dialogAltText\" title=\"${itemClose}\">X</span>"+"</a>"+"</div>":"")+_21.dialogContent+"</div>"+"</div>"+"<div class=\"dialogPointer pointer\" style=\"top: 50%;\"/>"+_21.endDialog,flatTemplate:_21.startDialog+"<div>"+"<div data-attach-point=\"dialogNode\">"+_21.dialogContent+"</div>"+"</div>"+"<div class=\"dialogPointer pointer\" style=\"top: 50%;display:none\"/>"+_21.endDialog},_1f); 1797if(!prm.template){ 1798var ts=prm.templateStyle; 1799if(ts){ 1800if(ts=="help"){ 1801prm.template=prm.helpTemplate; 1802if(typeof _1f.autoResize==="undefined"){ 1803prm.autoResize=true; 1804} 1805if(typeof _1f.autoClose==="undefined"){ 1806prm.autoClose=true; 1807} 1808if(typeof _1f.modal==="undefined"){ 1809prm.modal=false; 1810} 1811if(typeof _1f.window==="undefined"){ 1812prm.window=_4.top; 1813prm.parent=prm.window.document.body; 1814} 1815if(typeof _1f.displayCloseOverlay==="undefined"){ 1816prm.displayCloseOverlay=true; 1817} 1818}else{ 1819if(ts=="flat"){ 1820prm.template=prm.flatTemplate; 1821if(typeof _1f.padding==="undefined"){ 1822prm.padding=0; 1823} 1824} 1825} 1826} 1827if(!prm.template){ 1828prm.template=prm.defaultTemplate; 1829} 1830} 1831var _22={}; 1832if(prm.templateStyle=="help"&&_1f.learnMore&&_1f.learnMore.url){ 1833_22.learnMore=wpModules.dialog.nls["LINK_LEARN_MORE"]; 1834_22.learnMoreURL=_1f.learnMore.url; 1835var w=800,h=800; 1836if(_1f.learnMore.width){ 1837w=_1f.learnMore.width; 1838} 1839if(_1f.learnMore.height){ 1840h=_1f.learnMore.height; 1841} 1842_22.learnMoreParam=",width="+w+",height="+h; 1843} 1844this.openerWindow=_4; 1845this.widget=new _15(i$.mash({id:prm.id,window:prm.window,parent:prm.parent,displayCloseOverlay:prm.displayCloseOverlay,title:prm.title,autoPosition:prm.autoPosition,modal:prm.modal,tabOut:prm.tabOut,itemClose:wpModules.dialog.nls["CLOSE_0"],template:prm.template,templateStyle:prm.templateStyle,padding:prm.padding,z_index:this.z_index},_22)); 1846i$.bindDomEvt(this.widget.domNode,"onkeydown",i$.scope(this,function(e){ 1847if(!e){ 1848var e=_4.event; 1849} 1850if(e.keyCode===9){ 1851var t=e.target||e.srcElement; 1852if(t.nodeType===3){ 1853t=t.parentNode; 1854} 1855var f1=e.shiftKey?"-firstFocus":"-lastFocus",f2=e.shiftKey?"-lastFocus":"-firstFocus"; 1856var w=this.widget,pn=this.prm.autoPosition; 1857if(w.tabOut&&w.id+f1==t.getAttribute("id")){ 1858this._close(); 1859if(pn){ 1860pn.focus(); 1861} 1862}else{ 1863if(w.id+f1===t.getAttribute("id")){ 1864w.window.document.getElementById(this.widget.id+f2).focus(); 1865} 1866} 1867}else{ 1868if(e.keyCode===27){ 1869this._close(e); 1870} 1871} 1872})); 1873var cb=this.widget.closeButtonNode; 1874cb&&i$.bindDomEvt(cb,"onclick",i$.scope(this,"_close")); 1875if(prm.autoClose&&this.widget._overlayNode){ 1876i$.bindDomEvt(this.widget._overlayNode,"onclick",i$.scope(this,"_close")); 1877} 1878prm.markup&&this._setMarkup(prm.markup); 1879_7.push(this); 1880}),{open:function(){ 1881var w=this.widget,p=this.prm,wd=w.domNode,m=p.metrics,tb=p.targetBox={},doc=p.window.document,_23=_8.viewPort(doc); 1882if(p.url){ 1883var f=_13(w); 1884if(f){ 1885f.src=p.url; 1886}else{ 1887w.centralContent.innerHTML=_9("<div class=\"dialogLoading\" style=\"display:block;position:absolute;left:50%;top:50%;margin-top:-8px;margin-left:-8px;\" id=\"${id}-progressLoading\">"+"<img style=\"display:inline-block\" width=\"16\" height=\"16\" src=\"${blank}\" ${border} alt=\"${loading}\"/>"+"</div>"+"<div id=\"${id}-sizing\" style=\"width:100%;height:0px;\"></div>"+"<iframe style=\"display:block;${visibility}\" title=\"${title}\" name=\"${id}-iframe\" id=\"${id}-iframe\" frameborder=\"0\" src=\"${url}\" allowTransparency=\"true\"></iframe>",{id:w.id,url:i$.isIE<9?"":p.url,title:p.title||p.description||"dialog contents",blank:this.blankImgSrc,loading:wpModules.dialog.nls["LOADING_0"],border:i$.isIE<9?"border='0'":"",visibility:i$.isIE<9?"visibility:hidden;
1887":"opacity:0;filter:Alpha(opacity=0)"}); 1888f=_13(w); 1889if(i$.isIE<9){ 1890f.src=p.url; 1891this._initCallbacksOnloadIE(); 1892this._ieRefreshListener=i$.addListener("wpModules/dialog/Dialog/ieRefresh",i$.scope(this,this._handleIeRefreshEvent)); 1893}else{ 1894f.onload=i$.scope(this,this._initCallbacks); 1895} 1896} 1897if(i$.isChrome){ 1898f.setAttribute("scrolling","auto"); 1899}else{ 1900f.setAttribute("scrolling","no"); 1901} 1902} 1903w.show(); 1904if(w.dialogHeaderNode){ 1905var _24=_8.simpleBox(w.dialogHeaderNode).width; 1906if(_24&&_24>w.defaultWidth){ 1907w.defaultWidth=_24; 1908} 1909} 1910var _25=_23.width-2*p.viewMargin+2; 1911if(m){ 1912if(!p.autoPosition){ 1913m.top&&(tb.top=m.top); 1914m.left&&(tb.left=m.left); 1915} 1916m.width&&(tb.width=m.width); 1917m.height&&(tb.height=m.height); 1918if(m.width){ 1919if(p.url){ 1920var _26=_13(w),_27=_8.simpleBox(wd),_28=_8.simpleBox(doc.getElementById(w.id+"-sizing")),_29=_27.width-_28.width; 1921_25-=_29; 1922_8.setMetrics(_26,{width:Math.min(m.width,_25)}); 1923}else{ 1924_8.setMetrics(wd,{width:Math.min(m.width,_25)}); 1925} 1926} 1927}else{ 1928if(p.url){ 1929_8.setMetrics(_13(w),{width:Math.min(w.defaultWidth,_25),height:w.defaultHeight}); 1930} 1931} 1932_11(p,wd,tb); 1933this._positionChangeListener=wpModules.util.Positioning.addPositionChangeListener({node:p.autoPosition,targetWindow:p.window,callbackFn:function(){ 1934_11(p,wd,tb); 1935}}); 1936if(!p.url){ 1937this.inlineKeyDownEvt=i$.bindDomEvt(doc.body,"onkeydown",i$.scope(this,function(e){ 1938if(e.keyCode===27){ 1939this._close(e); 1940} 1941})); 1942p.window.setTimeout(function(){ 1943if(i$.isFF){ 1944var di=p.window.document.createElement("input"); 1945wd.appendChild(di); 1946di.focus(); 1947wd.removeChild(di); 1948}else{ 1949p.window.focus(); 1950} 1951p.setFocusFn?p.setFocusFn(p.window):wd.focus(); 1952if(p.templateStyle=="help"){ 1953w.centralContent.tabIndex=-1; 1954w.centralContent.focus(); 1955} 1956},100); 1957} 1958setTimeout(function(){ 1959var _2a=doc.createElement("div"),_2b; 1960_2a.className="wpThemeDialogHighContrastTestNode"; 1961wd.appendChild(_2a); 1962try{ 1963_2b=doc.defaultView.getComputedStyle(_2a,""); 1964} 1965catch(e){ 1966_2b=_2a.currentStyle; 1967} 1968var _2c=_2b.backgroundImage; 1969if((_2b.borderTopColor==_2b.borderRightColor)||(_2c!=null&&(_2c=="none"||_2c=="url(invalid-url:)"))){ 1970i$.addClass(wd,"wpthemeDialogImagesOff"); 1971} 1972wd.removeChild(_2a); 1973},10); 1974return false; 1975},_initCallbacks:function(){ 1976var w=this.widget,p=this.prm,f=_13(w); 1977if(!f){ 1978return; 1979} 1980var _2d=i$.scope(this,function(){ 1981var fw=f.contentWindow,_2e=null; 1982try{ 1983_2e=fw.contentDocument||fw.document; 1984fw.onunload=function(){ 1985p.onUnloadCallbackFn&&p.onUnloadCallbackFn(_2e,fw); 1986}; 1987} 1988catch(e){ 1989} 1990var _2f=i$.scope(this,function(){ 1991fw=f.contentWindow; 1992try{ 1993if(!fw.closeDialog){ 1994fw.closeDialog=f.onCloseModalDialog=i$.scope(this,"close"); 1995} 1996if(!fw.resize){ 1997fw.resize=i$.scope(this,"resize"); 1998} 1999fw.setTimeout(i$.scope(this,function(){ 2000this.onLoadFrame(); 2001}),0); 2002} 2003catch(e){ 2004this.onLoadFrame(); 2005} 2006finally{ 2007p.onLoadCallbackFn&&p.onLoadCallbackFn(_2e,fw); 2008} 2009}); 2010try{ 2011f.onload=_2f; 2012fw.closeDialog=f.onCloseModalDialog=i$.scope(this,"close"); 2013} 2014catch(e){ 2015} 2016_2f(); 2017}); 2018_2d(); 2019},_initCallbacksOnloadIE:function(){ 2020var _30=this; 2021var w=this.widget; 2022var p=this.prm; 2023var f=_13(w); 2024var fn=function(i){ 2025p.window.setTimeout(function(){ 2026if((f.contentDocument&&f.contentDocument.readyState&&f.contentDocument.readyState==="complete")||(f.readyState&&f.readyState==="complete")){ 2027_30._initCallbacks(); 2028}else{ 2029if(i<300){ 2030fn(i+1); 2031} 2032} 2033},200+10); 2034}; 2035fn(0); 2036},_handleIeRefreshEvent:function(_31){ 2037var w=this.widget; 2038var f=_13(w); 2039var cw=f.contentWindow; 2040if(_31==cw){ 2041this._initCallbacksOnloadIE(); 2042} 2043},onLoadFrame:function(_32){ 2044var w=this.widget,wd=w.domNode,p=this.prm,_33=p.targetBox,_34=p.autoResize,_35=_8.viewPort(p.window.document),_36=_13(w),bs=wd.style; 2045if(!_36){ 2046return; 2047} 2048_36.setAttribute("scrolling","no"); 2049bs.maxWidth="none"; 2050bs.maxHeight="none"; 2051bs.minWidth="0"; 2052bs.minHeight="0"; 2053var _37=p.window.document.getElementById(w.id+"-progressLoading"); 2054if(_37){ 2055_37.style.display="none"; 2056} 2057var cs=w.centralContent.style,fs=_36.style; 2058cs.paddingBottom="0px"; 2059cs.marginBottom="0px"; 2060if(i$.isIE<9){ 2061fs.visibility="visible"; 2062}else{ 2063fs.opacity="100"; 2064fs.filter="Alpha(opacity=100)"; 2065} 2066var fw=_36.contentWindow,_38=_33.width,_39=_33.height||w.defaultHeight,_3a=null,fde=null,_3b=null,_3c=false; 2067if(!_38){ 2068_38=w.defaultWidth; 2069_3c=true; 2070} 2071try{ 2072_3a=fw.contentDocument||fw.document; 2073fde=_3a.documentElement; 2074_3b=_3a.body; 2075if(_3b){ 2076var _3d=_8.simpleBox(_3b);
2077_8.setMetrics(_36,{width:((_38>_3d.width)?_38:_3d.width),height:_3d.height}); 2078if(i$.isWebKit){ 2079_3b.style.overflow="auto"; 2080} 2081_3b.style.height="auto"; 2082var _3e=i$.scope(this,function(e){ 2083if(e.keyCode===27){ 2084this._close(e); 2085} 2086}); 2087if(i$.isFF){ 2088i$.bindDomEvt(fde,"onkeydown",_3e); 2089}else{ 2090i$.bindDomEvt(_3b,"onkeydown",_3e); 2091} 2092_38=Math.max(_3b.scrollWidth,fde.scrollWidth,_3b.offsetWidth,fde.offsetWidth,fde.clientWidth); 2093_8.setMetrics(_36,{width:_38}); 2094if(w.eastContentCell.style.display!="none"||w.westContentCell.style.display!="none"){ 2095var _3f=_8.simpleBox(_3b),_40=_8.simpleBox(fde); 2096_39=Math.max(_3d.height,_3f.height,_40.height,_3b.scrollHeight,fde.scrollHeight,_3b.offsetHeight,fde.offsetHeight,fde.clientHeight); 2097}else{ 2098_39=Math.max(_3b.scrollHeight,fde.scrollHeight,_3b.offsetHeight,fde.offsetHeight,fde.clientHeight); 2099} 2100_38=Math.max(_3b.scrollWidth,fde.scrollWidth,_3b.offsetWidth,fde.offsetWidth,fde.clientWidth); 2101}else{ 2102return; 2103} 2104} 2105catch(e){ 2106} 2107var _41=_8.simpleBox(wd),_42=_8.simpleBox(_36),_43=_8.simpleBox(p.window.document.getElementById(w.id+"-sizing")),_44=_8.simpleBox(w.eastContent),_45=_8.simpleBox(w.westContent),_46=(_3c&&_43.width==w.defaultWidth)?0:_41.width-_43.width,_47=_41.height-_42.height,_48=_35.width-2*p.viewMargin-_46+2,_49=_35.height-2*p.viewMargin-_47+2,_4a=_33.height||(_34?_39:_35.height/3),_4b=_33.width||(_34?_38:_35.width/3); 2108_4a=Math.max(_4a,_44.height,_45.height); 2109_38=Math.min(_4b,_48); 2110_39=Math.min(_4a,_49); 2111_8.setMetrics(wd,{top:0,left:0}); 2112if(i$.isIE&&_34){ 2113_38++; 2114_39++; 2115} 2116_8.setMetrics(_36,{width:_38,height:_39}); 2117if(_3b&&_34&&!_33.width){ 2118if(fde&&i$.isFF){ 2119var _4c=fde.scrollWidth-fde.clientWidth; 2120if(_4c>0){ 2121_8.setMetrics(_36,{width:_38+=_4c}); 2122} 2123} 2124if(_3b&&_4a>_49){ 2125var _4d=Math.max(_3b.scrollWidth,fde.scrollWidth),_4e=Math.max(_3b.clientWidth,fde.clientWidth); 2126if(_4e<_4d){ 2127var _4f=_4d-_4e; 2128if(_38+_4f<=_48){ 2129_38+=_4f; 2130_8.setMetrics(_36,{width:_38}); 2131} 2132} 2133} 2134} 2135if(_3b&&p.templateStyle!="help"){ 2136_3b.style.height="100%"; 2137} 2138_11(p,wd,{top:p.targetBox.top,left:p.targetBox.left,width:_38+_46,height:_39+_47}); 2139_36.setAttribute("scrolling","auto"); 2140if(!(_32&&_32.resize)){ 2141p.window.setTimeout(function(){ 2142p.setFocusFn?p.setFocusFn(fw):_36.focus(); 2143},100); 2144} 2145},resize:function(_50){ 2146var tb=this.prm.targetBox; 2147if(_50){ 2148if(_50.width){ 2149tb.width=_50.width; 2150} 2151if(_50.height){ 2152tb.height=_50.height; 2153} 2154} 2155if(this.prm.url){ 2156this.onLoadFrame({resize:true}); 2157} 2158},_setMarkup:function(_51){ 2159i$.forIn((i$.isString(_51)||i$.isNode(_51))?{"centralContent":_51}:_51,i$.scope(this,function(m,r){ 2160var _52=this.widget[r],_53=this.widget[r+"Cell"]; 2161if(_52){ 2162if(m){ 2163if(i$.isNode(m)){ 2164_52.appendChild(m); 2165}else{ 2166if(i$.isString(m)){ 2167_52.innerHTML=m; 2168} 2169} 2170if(_53){ 2171_53.style.display=""; 2172} 2173_52.style.display=""; 2174}else{ 2175while(_52.hasChildNodes()){ 2176_52.removeChild(_52.firstChild); 2177} 2178if(_53){ 2179_53.style.display="none"; 2180} 2181_52.style.display="none"; 2182} 2183} 2184})); 2185},set:function(_54){ 2186var prm=this.prm,_55=1,_56={"metrics":_55,"viewMargin":_55,"autoPosition":_55,"url":_55,"markup":i$.scope(this,"_setMarkup"),"title":i$.scope(this,function(_57){ 2187prm.title=_57; 2188var t=this.widget.titleNode; 2189t&&(t.innerHTML=_57); 2190}),"description":_55}; 2191i$.forIn(_54,function(v,n){ 2192if(_56[n]===_55){ 2193prm[n]=v; 2194}else{ 2195if(i$.isFunction(_56[n])){ 2196_56[n](v); 2197} 2198} 2199}); 2200if(_54.url){ 2201if(i$.isIE<9&&this._ieRefreshListener){ 2202i$.removeListener(this._ieRefreshListener); 2203this._ieRefreshListener=null; 2204} 2205this.open(); 2206}else{ 2207if(_54.metrics){ 2208this.resize(_54.metrics); 2209} 2210} 2211},_close:function(evt){ 2212if(evt&&i$.isIE<=10){ 2213evt.preventDefault&&evt.preventDefault(); 2214evt.returnValue=false; 2215} 2216if(evt&&i$.isFF){ 2217try{ 2218evt.preventDefault(); 2219} 2220catch(x){ 2221evt.returnValue=false; 2222} 2223} 2224this.close({_terminated:true}); 2225},close:function(_58){ 2226var w=this.widget,r=w.rootNode,p=this.prm,_59=_13(w),fw=_59&&_59.contentWindow,_5a=false; 2227if(_58&&_58._terminated){ 2228_5a=true; 2229_58=_5; 2230} 2231try{ 2232if(fw&&fw.onbeforeunload){ 2233var buv=fw.onbeforeunload(); 2234if(buv===false||(buv&&buv!==true&&!confirm(buv))){ 2235return; 2236} 2237} 2238} 2239catch(e){ 2240} 2241try{ 2242if(_5a&&fw&&fw.onTerminateDialog){ 2243fw.onTerminateDialog(); 2244} 2245} 2246catch(e){ 2247if(e instanceof DOMException){ 2248console.log("Could not invoke onTerminateDialog handler. Probably the dialog frame is cross-origin."); 2249}else{ 2250throw e; 2251} 2252} 2253for(var da=_7,i=da.length;i>0;i--){ 2254if(da[i-1].widget.id===w.id){ 2255da.splice(i-1,1); 2256}else{ 2257if(fw&&fw===da[i-1].openerWindow){ 2258da[i-1].close(); 2259} 2260} 2261} 2262if(this._positionChangeListener){ 2263this._positionChangeListener.stop(); 2264delete this._positionChangeListener; 2265}
2266if(this.inlineKeyDownEvt){ 2267i$.unbindDomEvt(this.inlineKeyDownEvt); 2268} 2269if(this.openerWindow){ 2270this.openerWindow.focus(); 2271} 2272w.hide(); 2273if(_59&&i$.isIE){ 2274_59.src="about:blank"; 2275} 2276for(var da=_7,i=da.length;i>0;i--){ 2277if(da[i-1].widget.id===w.id){ 2278da.splice(i-1,1); 2279break; 2280} 2281} 2282p.callbackFn&&p.callbackFn(_58); 2283r&&r.parentNode&&r.parentNode.removeChild(r); 2284if(i$.isIE<9){ 2285i$.removeListener(this._ieRefreshListener); 2286} 2287}}); 2288}(window)); 2289} 2290if(!i$.fromPath("wpModules.dialog.confirm")){ 2291wpModules.dialog.confirm=function(){ 2292var _5b="OK",_5c="YES",_5d="NO",_5e="CANCEL",_5f="ABORT",_60="RETRY",_61="IGNORE",_62="TRY",_63="CONTINUE",_64="EXCLAMATION",_65="WARNING",_66="INFORMATION",_67="ASTERISK",_68="STOP",_69="ERROR"; 2293return i$.mash(function(_6a){ 2294var _6b=i$.fromPath,_6c=new i$.Promise(),nls=wpModules.dialog.nls,_6d={"<":"<",">":">","&":"&","\"":""","'":"'"},_6e=function(){ 2295return _6b("wpModules.dialog.confirm",true,top)._instance; 2296},_6f=function(dlg){ 2297_6b("wpModules.dialog.confirm",true,top)._instance=dlg; 2298},_70=function(s){ 2299return s.replace(/[<>&"']/g,function(ch){ 2300return _6d[ch]; 2301}); 2302},_71=function(_72){ 2303return nls["BUTTON_"+_72]; 2304},_73=function(_74){ 2305var id=i$.isString(_74)?_74:_66; 2306return nls["ICON_"+id]; 2307},_75=function(_76,idx){ 2308var _77=(_6a.buttonLabels?_6a.buttonLabels[_76]:_71(_76)); 2309return "<input id='btn_"+_76+"' type='submit' tabindex='0' class='wpthemeDialogBtn' onclick='top.wpModules.dialog.confirm._instance.close(this.name);' name='"+_70(_76)+"' value='"+_70(_77)+"' />"; 2310},_78=function(_79){ 2311var b=(i$.isArray(_79)?_79:(i$.isString(_79)?[_79]:[(_5b),(_5e)])),_7a="",idx=0; 2312i$.each(b,function(_7b){ 2313_7a+=_75(_7b); 2314}); 2315return _7a; 2316},_7c=_6e(),_7d=i$.merge({autoClose:false,modal:true,setFocusFn:function(arg){ 2317var _7e=arg.document.getElementById(this.focusControl?"btn_"+this.focusControl:"btn_"+_5d); 2318if(_7e){ 2319_7e.focus(); 2320} 2321},callbackFn:function(arg){ 2322_6f(_7c); 2323var _7f=i$.isString(arg)?arg:_5e; 2324_6c.resolve({button:_7f}); 2325},markup:"<table class='"+(_6a.rootClass?_6a.rootClass:"")+"' border='0' cellspacing='0' cellpadding='0' role='presentation'><tr>"+(_6a.icon?"<td><img src='"+_T+"' class='msgIcon "+_73(_6a.icon)+"' alt=''></td>":"")+"<td class='msgBody'>"+(_6a.markup||_70(_6a.message))+"</td></tr><tr>"+"<td colspan='2' class='wpthemeDialogFooter'><form action='#' onsubmit='return false;'>"+_78(_6a.buttons)+"</form></td></tr></table>"},i$.merge(_6a,{displayCloseOverlay:true,autoResize:true,draggable:true})),dlg=new wpModules.dialog.Dialog(_7d); 2326_6f(dlg); 2327dlg.open(); 2328return _6c; 2329},{ICON:{EXCLAMATION:_64,WARNING:_65,INFORMATION:_66,ASTERISK:_67,STOP:_68,ERROR:_69},BUTTONS:{OK:_5b,YES:_5c,NO:_5d,CANCEL:_5e,ABORT:_5f,RETRY:_60,IGNORE:_61,TRY:_62,CONTINUE:_63,ABORTRETRYIGNORE:[_5f,_60,_61],CANCELTRYCONTINUE:[_5e,_62,_63],OKCANCEL:[_5b,_5e],RETRYCANCEL:[_60,_5e],YESNO:[_5c,_5d],NOYES:[_5d,_5c],YESNOCANCEL:[_5c,_5d,_5e]}}); 2330}(); 2331} 2332 2333 2334}catch(e){console.log("Module 'wp_dialog_main': ",e);} 2335try{(function(_1){ 2336var _2="[\\u00ad\\u0600-\\u0603\\u06dd\\u070f\\u17b4-\\u17b5\\u200b-\\u200f\\u202a-\\u202e\\u2060-\\u2064\\u206a-\\u206f\\ufeff\\ufff9-\\ufffb]|\\ud834[\\udd73-\\udd7a]|\\udb40[\\udc01\\udc20-\\udc7f]",_3="[\\u0000-\\u001f\\u007f-\\u009f]",_4="data-",_5="a11y-",_6=_5+"next",_7=_5+"prev",_8=_5+"first",_9=_5+"last",_a=_5+"up",_b=_5+"down",_c=_5+"title",_d=_5+"action",_e=[_8,_a,_7,_9,_b,_6],_f=5,_10=4,_11=3,_12=2,_13=1,_14=0,_15="ltr",_16=37,_17=39,_18=38,_19=40,_1a=36,_1b=35,_1c=13,_1d=32,_1e=33,_1f=34,_20=true,_21=false,_22=Number.POSITIVE_INFINITY,_23=Number.NEGATIVE_INFINITY,_24=function(_25,_26){ 2337var _27=_26[_25]=_26[_25]||{}; 2338return _27; 2339},_28=function(aId,_29){ 2340var _2a=_29.ownerDocument.getElementById(aId); 2341return _2a; 2342},_2b=function(_2c){ 2343var _2d=((_2c>=0)&&(_2c<=31))||((_2c>=127)&&(_2c<=159)); 2344return _2d; 2345},_2e=function(_2f,_30){ 2346var _31=_30.getAttribute(_4+_2f); 2347return _31; 2348},_32=function(_33,_34){ 2349var _35=_2e(_33,_34),_36=null; 2350if(_35){ 2351_36=_28(_35,_34); 2352if(_36===null){ 2353_36=_32(_35,_34); 2354} 2355} 2356return _36; 2357},_37=function(_38,_39,_3a,_3b){ 2358if(_38){ 2359var id=_38.id,i=_3b.length; 2360if(!_3a.hasOwnProperty(id)){ 2361_3a[id]=_39(_38); 2362while(i){ 2363_37(_32(_3b[--i],_38),_39,_3a,_3b); 2364} 2365} 2366} 2367return _3a; 2368},_3c=function(_3d){ 2369var _3e=_32(_c,_3d),_3f=_3e?_3c(_3e):(_3d.innerText||_3d.textContent); 2370return _3f; 2371},_40=function(_41){ 2372var _42=_41||_3c; 2373return _42; 2374},_43=function(_44){ 2375var _45=new RegExp("^(\\s|"+_2+"|"+_3+")*\\u"+("0000"+Number(_44).toString(16)).slice(-4)+".*","i"); 2376return _45; 2377},_46=function(_47,_48,_49){ 2378var _4a=_49(_48),_4b=_4a&&(_4a.length>0)&&_47.test(_4a); 2379return _4b; 2380},_4c=function(_4d,_4e){ 2381var _4f=_37(_4d,_4e,{},_e); 2382return _4f; 2383},_50=function(_51,_52,_53){ 2384var _54,_55=_43(_51); 2385_4c(_52,function(_56){ 2386if(_46(_55,_56,_53)){ 2387if(!_54){ 2388_54=[]; 2389} 2390_54.push(_56); 2391} 2392}); 2393return _54; 2394},_57=function(_58){ 2395var _59=_58.getBoundingClientRect(); 2396return _59;
2397},_5a=function(_5b,_5c){ 2398var _5d=(_5b.right>_5c.left)&&(_5b.left<_5c.right); 2399return _5d; 2400},_5e=function(_5f,_60){ 2401var _61=(_5f.bottom>_60.top)&&(_5f.top<_60.bottom); 2402return _61; 2403},_62=function(_63,_64,_65){ 2404var _66=(_63>=_64)&&(_63<=_65); 2405return _66; 2406},_67=function(_68){ 2407var _69=null,_6a=_57(_68),_6b=_22; 2408_4c(_68,function(_6c){ 2409var _6d=_57(_6c); 2410if(_62(_6d.top,_6a.bottom,_6b)&&_5a(_6d,_6a)){ 2411_69=_6c; 2412_6b=_6d.top; 2413} 2414}); 2415return _69; 2416},_6e=function(_6f){ 2417var _70=null,_71=_57(_6f),_72=_71.top; 2418_4c(_6f,function(_73){ 2419var _74=_57(_73),_75=_74.top; 2420if((_75<_72)&&_5a(_74,_71)){ 2421_70=_73; 2422_72=_75; 2423} 2424}); 2425return _70; 2426},_76=function(_77){ 2427var _78=null,_79=_57(_77),_7a=_79.bottom; 2428_4c(_77,function(_7b){ 2429var _7c=_57(_7b),_7d=_7c.bottom; 2430if((_7d>_7a)&&_5a(_7c,_79)){ 2431_78=_7b; 2432_7a=_7d; 2433} 2434}); 2435return _78; 2436},_7e=function(_7f){ 2437var _80=null,_81=_57(_7f),_82=_22; 2438_4c(_7f,function(_83){ 2439var _84=_57(_83); 2440if(_62(_84.left,_81.right,_82)&&_5e(_84,_81)){ 2441_80=_83; 2442_82=_84.left; 2443} 2444}); 2445return _80; 2446},_85=function(_86){ 2447var _87=null,_88=_57(_86),_89=_23; 2448_4c(_86,function(_8a){ 2449var _8b=_57(_8a); 2450if(_62(_8b.bottom,_89,_88.top)&&_5a(_8b,_88)){ 2451_87=_8a; 2452_89=_8b.bottom; 2453} 2454}); 2455return _87; 2456},_8c=function(_8d){ 2457var _8e=null,_8f=_57(_8d),_90=_23; 2458_4c(_8d,function(_91){ 2459var _92=_57(_91); 2460if(_62(_92.right,_90,_8f.left)&&_5e(_92,_8f)){ 2461_8e=_91; 2462_90=_92.right; 2463} 2464}); 2465return _8e; 2466},_93=function(_94){ 2467var _95=_94?_94.dir:_15; 2468return _95; 2469},_96=function(_97){ 2470var _98=_93(_97)||_96(_97.parentNode); 2471return _98; 2472},_99=function(_9a,_9b){ 2473_9b.tabIndex=_9a; 2474return _9b; 2475},_9c=function(_9d){ 2476var _9e=_99(0,_9d); 2477return _9e; 2478},_9f=function(_a0){ 2479var _a1=_99(-1,_a0); 2480return _a1; 2481},_a2=function(_a3){ 2482var _a4=_a3.tabIndex; 2483return _a4; 2484},_a5=function(_a6){ 2485_9c(_a6).focus(); 2486return _20; 2487},_a7=function(_a8){ 2488if(_a8){ 2489_4c(_a8,_9f); 2490return _a5(_a8); 2491} 2492return _21; 2493},_a9=function(_aa){ 2494if(_aa){ 2495_4c(_aa,_9f); 2496return _20; 2497} 2498return _21; 2499},_ab=function(_ac,_ad){ 2500var _ae=_a7(_32(_e[_ac],_ad)); 2501return _ae; 2502},_af=function(_b0){ 2503var _b1=_ab(_f,_b0); 2504return _b1; 2505},_b2=function(_b3){ 2506var _b4=_ab(_12,_b3); 2507return _b4; 2508},_b5=function(_b6){ 2509var _b7=_ab(_14,_b6); 2510return _b7; 2511},_b8=function(_b9){ 2512var _ba=_ab(_11,_b9); 2513return _ba; 2514},_bb=function(_bc){ 2515var _bd=_ab(_13,_bc); 2516return _bd; 2517},_be=function(_bf){ 2518var _c0=_ab(_10,_bf); 2519return _c0; 2520},_c1=function(_c2){ 2521var _c3=_a7(_85(_c2)); 2522return _c3; 2523},_c4=function(_c5){ 2524var _c6=_a7(_67(_c5)); 2525return _c6; 2526},_c7=function(_c8){ 2527var _c9=_a7(_8c(_c8)); 2528return _c9; 2529},_ca=function(_cb){ 2530var _cc=_a7(_7e(_cb)); 2531return _cc; 2532},_cd=function(_ce){ 2533return _a7(_6e(_ce)); 2534},_cf=function(_d0){ 2535return _a7(_76(_d0)); 2536},_d1=function(_d2){ 2537var _d3=(_d2===_15)?_17:_16; 2538return _d3; 2539},_d4=function(_d5){ 2540_d5.click(); 2541return _20; 2542},_d6,_d7=function(_d8){ 2543var doc=_d8.document,_d9=doc.body,_da=doc.createElement("div"),_db,_dc,_dd; 2544_da.style.cssText="border:1px solid;border-color:red green;position:absolute;height:5px;top:-999px;background-image:url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\");"; 2545_d9.appendChild(_da); 2546try{ 2547_db=doc.defaultView.getComputedStyle(_da,""); 2548} 2549catch(e){ 2550_db=_da.currentStyle; 2551} 2552_dc=_db.backgroundImage; 2553_dd=((_db.borderTopColor===_db.borderRightColor)||(_dc!==null&&(_dc==="none"||_dc==="url(invalid-url:)"))); 2554_d9.removeChild(_da); 2555return _dd; 2556},_de=function(_df){ 2557return function(){ 2558return _d7(_df); 2559}; 2560},_e0=function(_e1){ 2561var _e2=_e1.i$.onLoadPromise,_e3=_e2.then(_de(_e1)),_e4=function(_e5){ 2562var _e6=_e5||_e1.event; 2563return _e6; 2564},_e7=function(_e8,_e9,_ea,_eb){ 2565if(!_eb.altKey&&!_eb.ctrlKey&&!_2b(_e8)){ 2566var _ec=_50(_e8,_e9,_ea),_ed,i,len; 2567if(_ec){ 2568len=_ec.length; 2569i=0; 2570while(i<len){ 2571_ed=_ec[i++]; 2572if(_a2(_ed)<0){ 2573return _a7(_ed); 2574} 2575} 2576return _a7(_ed); 2577} 2578} 2579return _21; 2580},_ee=function(_ef,_f0,_f1){ 2581var _f2=_e4(_f0),_f3=_e7(_f2.keyCode,_ef,_40(_f1),_f2); 2582return _f3; 2583},_f4=function(_f5,_f6){ 2584var _f7=_e4(_f6),_f8; 2585switch(_f7.keyCode){ 2586case _18: 2587_f8=_c1(_f5); 2588break; 2589case _19: 2590_f8=_c4(_f5); 2591break; 2592case _17: 2593_f8=_ca(_f5); 2594break; 2595case _16: 2596_f8=_c7(_f5); 2597break; 2598case _1a: 2599_f8=_b5(_f5); 2600break; 2601case _1b: 2602_f8=_b8(_f5); 2603break; 2604case _1e: 2605return _cd(_f5); 2606case _1f: 2607return _cf(_f5); 2608default: 2609_f8=_21; 2610} 2611return _f8; 2612},_f9=function(_fa,_fb){ 2613var _fc=_e4(_fb),_fd=_96(_fa),_fe=_d1(_fd),_ff=(_16+_17-_fe),_100; 2614switch(_fc.keyCode){ 2615case _18: 2616_100=_bb(_fa); 2617break; 2618case _19: 2619_100=_be(_fa); 2620break; 2621case _fe: 2622_100=_af(_fa); 2623break; 2624case _ff: 2625_100=_b2(_fa); 2626break; 2627case _1a: 2628_100=_b5(_fa); 2629break; 2630case _1b: 2631_100=_b8(_fa); 2632break; 2633default: 2634_100=_21; 2635} 2636return _100; 2637},_101=function(_102,_103,_104){ 2638var _105=_e4(_103),_106=_105.keyCode,_107; 2639switch(_106){ 2640case _1c: 2641_107=_21; 2642break; 2643case _1d: 2644_107=_d4(_102); 2645break; 2646default: 2647return _f9(_102,_105)||_e7(_106,_102,_40(_104),_105); 2648} 2649return _107; 2650}; 2651return {navigateSequence:_f9,navigateMenu:_101,navigateGrid:_f4,setFocus:_a7,clearFocus:_a9,setFocusFromKey:_ee,forEachNode:_4c,clone:_d6,highContrastMode:_e3}; 2652}; 2653_d6=function(_108){ 2654var _109=_24("wpModules",_108),_10a=_109.a11y=_109.a11y||_e0(_108); 2655return _10a; 2656}; 2657return _d6(_1); 2658}(window)); 2659 2660 2661}catch(e){console.log("Module 'wp_a11y': ",e);} 2662try{(function(){ 2663var _1=i$.fromPath,_2=i$.toPath,_3=i$.isArray,_4=i$.each,_5=i$.forEach,_6=i$.augment,_7=i$.Promise,_8=true,_9=false,_a="wpModules.state.page._mgr",_b=function(p){ 2664return p.name; 2665},_c=function(p){ 2666return p.value; 2667},_d=function(p){ 2668return p.nsuri; 2669},_e=function(a){ 2670return a.length; 2671},_f=function(a1,a2){
2672if(a1&&!a2){ 2673return _9; 2674} 2675if(!a1&&a2){ 2676return _9; 2677} 2678if(_e(a1)!=_e(a2)){ 2679return _9; 2680} 2681var _10=_8; 2682_5(a1,function(a,i){ 2683if(a!=a2[i]){ 2684_10=_9; 2685return _9; 2686} 2687}); 2688return _10; 2689},_11=function(_12){ 2690var _13={}; 2691if(!_12){ 2692_13.all=[]; 2693return _13; 2694} 2695if(!_3(_12)){ 2696_12=[_12]; 2697} 2698_13.all=_12.slice(0,_e(_12)); 2699_13.cache={}; 2700_13.log=[]; 2701return _13; 2702},_14=function(_15,_16){ 2703if(!_15){ 2704return _16.all; 2705} 2706if(!_3(_15)){ 2707_15=[_15]; 2708} 2709if(_e(_15)<=0){ 2710return []; 2711} 2712var _17=[]; 2713_4(_15,function(p){ 2714get(_d(p),_b(p),_16,_17); 2715}); 2716return _17; 2717},get=function(_18,_19,_1a,_1b){ 2718var _1c=_1a.cache[_18]; 2719if(_1c){ 2720if(_19){ 2721add(_1c[_19],_1b); 2722}else{ 2723_1d(_1c,_1b); 2724} 2725}else{ 2726_1e(_18,_1a); 2727get(_18,_19,_1a,_1b); 2728} 2729},add=function(_1f,_20){ 2730_1f&&_20.push(_1f); 2731},_1d=function(_21,_22){ 2732if(_21){ 2733_4(_21,function(p){ 2734add(p,_22); 2735}); 2736} 2737},_1e=function(_23,_24){ 2738var _25=_24.cache[_23]={}; 2739_5(_24.all,function(p){ 2740if(_d(p)==_23){ 2741_25[_b(p)]=p; 2742} 2743}); 2744},_26=function(_27,_28,_29){ 2745if(!_27){ 2746return; 2747} 2748if(!_3(_27)){ 2749_27=[_27]; 2750} 2751if(_e(_27)>0){ 2752_4(_27,function(p){ 2753set(p,_28); 2754}); 2755} 2756if(_29){ 2757_2a(_27,_28); 2758} 2759},_2a=function(_2b,_2c){ 2760var _2d=[]; 2761if(_e(_2b)<_e(_2c.all)){ 2762_5(_2c.all,function(p){ 2763var _2e=false; 2764_5(_2b,function(_2f){ 2765if(_d(p)==_d(_2f)&&_b(p)==_b(_2f)){ 2766_2e=true; 2767return false; 2768} 2769}); 2770if(!_2e){ 2771_2d.push(p); 2772} 2773}); 2774} 2775_5(_2d,function(p){ 2776set({"name":p.name,"nsuri":p.nsuri,"value":null},_2c); 2777}); 2778},set=function(_30,_31){ 2779if(!_b(_30)||!_d(_30)){ 2780return; 2781} 2782var _32=_9,_33=_9; 2783_5(_31.all,function(p,i){ 2784if(_d(p)==_d(_30)&&_b(p)==_b(_30)){ 2785var _34=_c(_30); 2786if(_34){ 2787if(!_f(_34,_c(p))){ 2788_31.all[i]=_30; 2789_33=_8; 2790} 2791}else{ 2792_31.all.splice(i,1); 2793_33=_8; 2794} 2795_32=_8; 2796} 2797}); 2798if(!_32&&_c(_30)){ 2799_31.all.push(_30); 2800_33=_8; 2801} 2802if(_33){ 2803_31.log.push(_30); 2804} 2805var _35=_31.cache[_d(_30)]; 2806if(_35){ 2807var _36=_b(_30); 2808if(_c(_30)){ 2809_35[_36]=_30; 2810}else{ 2811delete _35[_36]; 2812} 2813} 2814},_37=function(_38){ 2815var _39=_3a(_38); 2816return _39; 2817},_3b=0,_3c=function(_3d,fn){ 2818var _3e="fn"+(++_3b); 2819_3d[_3e]=fn; 2820return _3e; 2821},_3f=function(_40,_41){ 2822if(_41 in _40){ 2823delete _40[_41]; 2824} 2825},_42=function(_43,_44){ 2826for(var _45 in _43){ 2827var _46=_37(_44),fn=_43[_45]; 2828if(fn){ 2829try{ 2830fn(_46); 2831} 2832catch(err){ 2833} 2834} 2835} 2836},_47=function(_48){ 2837return _1(_a,_9,_48); 2838},_49=function(_4a,_4b){ 2839_2(_a,_4a,_4b); 2840},_4c=function(_4d){ 2841var _4e=_11(_4d),cbs={}; 2842return {getState:function(){ 2843var _4f=new _7(),_50=_37(_4e); 2844_4f.resolve(_50); 2845return _4f; 2846},addListener:function(_51){ 2847var _52=_3c(cbs,_51); 2848return _52; 2849},removeListener:function(_53){ 2850_3f(cbs,_53); 2851},commit:function(_54){ 2852_4e=_54._data; 2853_42(cbs,_4e); 2854_4e.log=[]; 2855var _55=new _7().resolve(); 2856return _55; 2857},init:function(_56){ 2858_4e=_11(_56); 2859}}; 2860},_3a=function(_57){ 2861var d=_57; 2862return {_data:d,renderParams:function(){ 2863var _58=_59(d); 2864return _58; 2865}}; 2866},_59=function(_5a){ 2867var d=_5a; 2868return {get:function(_5b){ 2869return _14(_5b,d); 2870},set:function(_5c,_5d){ 2871_26(_5c,d,_5d); 2872},getModified:function(){ 2873return d.log; 2874}}; 2875},_5e=i$.fromPath("wpModules.state.page",_8); 2876i$.mash(_5e,{"newStateManager":_4c,"setStateManager":_49,"getStateManager":_47}); 2877})(); 2878(function(){ 2879var _5f=i$.fromPath("wpModules.state.page"),_60=_5f.newStateManager(),_61="window/startRender"; 2880_60.init(_5f._initial); 2881delete wpModules.state.page._initial; 2882_5f.setStateManager(_60); 2883if(top!==self&&top.i$){ 2884top.i$.fireEvent(_61,[self]); 2885} 2886i$.fireEvent(_61); 2887})(); 2888 2889 2890}catch(e){console.log("Module 'wp_state_page': ",e);} 2891try{(function(){ 2892 if(i$.isIE){ 2893 document.createElement('article'); 2894 document.createElement('aside'); 2895 document.createElement('footer'); 2896 document.createElement('header'); 2897 document.createElement('hgroup'); 2898 document.createElement('nav'); 2899 document.createElement('section'); 2900 } 2901 if(i$.isIE == 7){ document.getElementsByTagName("html")[0].className+=" wptheme_ie7"; } 2902 if(i$.isIE == 8){ document.getElementsByTagName("html")[0].className+=" wptheme_ie8"; } 2903 if(i$.isIE == 9){ document.getElementsByTagName("html")[0].className+=" wptheme_ie9"; } 2904 if(i$.isIE == 10){ document.getElementsByTagName("html")[0].className+=" wptheme_ie10"; } 2905 if(i$.isIE == 11){ document.getElementsByTagName("html")[0].className+=" wptheme_ie11"; } 2906})(); 2907 2908 2909}catch(e){console.log("Module 'wp_theme_portal_85': ",e);} 2910try{(function(_1){ 2911var _2=_1,_3=i$.fromPath,_4="wpModules.theme.WindowUtils",_5=_4+".baseURL",_6=_5+".Promise."+Math.random(),_7="wpViewFrameContainer",_8="wpthemeMaster",_9="wpToolbarPrimaryFrameContainer",_a="wpToolbarSecondaryFrameContainer",_b=[_7,_8,_9,_a],_c=i$.createDom,_d=new i$.Promise(),_e=function(id){ 2912if(id){ 2913if(id==_7){ 2914var w=_f(_7)||_10(_7)||top; 2915if(w&&w.ibm_mobile){ 2916var _11=top.document.querySelectorAll("iframe"); 2917if(_11.length>0&&_11[0].contentWindow&&_11[0].contentWindow.ibmCfg){ 2918w=_11[0].contentWindow; 2919} 2920} 2921return w; 2922}else{ 2923if(id==_8){ 2924var _12=_e(_7); 2925return _12.parent||_12; 2926}else{ 2927if(id==_9){ 2928return _f(_9)||_10(_9); 2929}else{ 2930if(id==_a){ 2931return _f(_a)||_10(_a); 2932}else{ 2933if(_13(_2)==id){ 2934return _2; 2935}else{ 2936for(var i=0,l=_b.length;i<l;i++){ 2937var w=_e(_b[i]); 2938if(w&&_13(w)==id){ 2939return w; 2940} 2941} 2942return null; 2943} 2944} 2945} 2946} 2947} 2948}else{ 2949return _2; 2950} 2951},_f=function(id){ 2952try{ 2953var f=_14(top,id+"-iframe"); 2954return f?f.window:null; 2955} 2956catch(e){ 2957return null; 2958} 2959},_10=function(id){ 2960try{ 2961var w=_2,fID=id+"-iframe"; 2962f=_14(w,fID); 2963while(!f&&w&&w!==top){ 2964w=w.parent; 2965f=_14(w,fID); 2966} 2967return f?f.window:null; 2968} 2969catch(e){ 2970return null; 2971} 2972},_14=function(w,id){ 2973if(w){ 2974var fs=w.frames; 2975if(fs){ 2976return fs[id]; 2977} 2978} 2979return null; 2980},_13=function(w){ 2981return _3("ibmCfg.portalConfig.currentPageOID",false,w); 2982},_15=function(){ 2983var ids=[],add=function(id){ 2984if(id&&ids.indexOf(id)<0){ 2985ids.push(id); 2986} 2987}; 2988for(var i=0,l=_b.length;i<l;i++){ 2989var w=_e(_b[i]); 2990if(w){ 2991add(_13(w)); 2992} 2993} 2994return ids; 2995},_16=function(win){ 2996var id=_5,doc=win.document,_17=doc.getElementById(id); 2997if(!_17){ 2998var _18=doc.getElementsByTagName("head")[0],_17=_c("link",{"id":id,"rel":"alternate","href":"#"},_18); 2999} 3000var _19=_17.href; 3001var _1a=_19.indexOf("#"); 3002if(_1a>0){ 3003_19=_19.substr(0,_1a); 3004} 3005_19=_19.replace("%24project","$project"); 3006return _19; 3007},_1b=function(win){ 3008var _1c=_3(_4,false,win),doc=win.document,url; 3009if(null!=_1c){ 3010return _1c.baseURL; 3011} 3012_1c=win[_6]; 3013if(null!=_1c){ 3014return _1c; 3015} 3016_1c=new i$.Promise(); 3017win[_6]=_1c; 3018if(doc.readyState==="loading"){ 3019doc.addEventListener("DOMContentLoaded",function(){ 3020url=_16(win); 3021_1c.resolve(url); 3022}); 3023}else{ 3024url=_16(win); 3025_1c.resolve(url); 3026} 3027return _1c; 3028}; 3029i$.toPath(_4,{VIEW_AREA:_7,MASTER:_8,getWindow:function(id){ 3030return _e(id); 3031},getBaseURL:function(win){ 3032return _16(win); 3033},getPageIDs:function(){ 3034return _15(); 3035},findBaseURL:_1b,baseURL:_d}); 3036})(window); 3037 3038 3039}catch(e){console.log("Module 'wp_theme_utils': ",e);} 3040try{(function(){ 3041i$.addOnLoad(function(){ 3042var _1=i$.fromPath("wpModules.state.page"); 3043if(_1){ 3044var _2=_1.getStateManager(),ln=function(o){ 3045return o.length; 3046},_3=function(o){ 3047if(o&&ln(o)>0){ 3048var v=o[0].value; 3049if(v&&ln(v)>0){ 3050return v[0]; 3051} 3052} 3053return null; 3054}; 3055_2&&_2.getState().then(function(_4){ 3056var _5=wpModules.theme.WindowUtils,_6=_3(_4.renderParams().get({nsuri:"http://www.ibm.com/xmlns/prod/websphere/portal/publicparams",name:"showTools"})),_7=function(_8){ 3057var _9=null; 3058if(_8&&_8.frames){ 3059var _a=_8.frames[_5.VIEW_AREA+"-iframe"]; 3060if(_a){ 3061_9=_a.window; 3062} 3063} 3064return _9; 3065},_b=function(_c){ 3066return _7(_c); 3067},_d=function(){ 3068return top.location.href.indexOf("/$preview")>=0; 3069}; 3070if(!_d()){ 3071if((_6&&self===top)||(!_6&&self!==top&&_b(self.parent)&&_7(self.parent)===self)){ 3072var _e=_5.getBaseURL(_5.getWindow(_5.VIEW_AREA)||top),_f=_e.indexOf("?"); 3073if(_f>=0){ 3074_e=_e.substr(0,_f); 3075} 3076_e+="?uri=toolbar:close"; 3077top.location.href=_e; 3078} 3079} 3080var _10=function(){ 3081if(!_6&&self===top){ 3082var doc=document,_11=doc.activeElement; 3083if(doc.getElementsByClassName&&(!_11||_11===doc.body)){ 3084var n=doc.getElementsByClassName("wpToolbarFocusStart"); 3085if(n&&n.length>0){ 3086var e=n[0];
3087e.focus(); 3088} 3089} 3090} 3091}; 3092_10(); 3093}); 3094} 3095}); 3096})(); 3097 3098 3099}catch(e){console.log("Module 'wp_toolbar_viewframe_validator': ",e);} 3100try{/** Licensed Materials - Property of IBM, 5724-U69, (C) Copyright IBM Corp. 2009, 2010 - All Rights reserved. **/ 3101(function(){var _1={};var _2=[];var _3=1;var _4={};_4.register=function(_5){var id=_6();_1[id]=_5;_2.push(_5);return id;};_4.deregister=function(_7){_1[_7]=null;_2=[];};_4.notify=function(_8,_9,_a){var _b=_c();var i=0;var _d=_b.length;if(!_a){_a={type:"AJAX"};}var _e=function(){if(i<_d){var _f=_b[i];i++;if(_f){_f(_8,_e,_a);}else{_e();}}};_e();if(_9){_9();}};_4.isActive=function(){return _2.length>0;};var _6=function(){return _3++;};var _c=function(){if(!_2||_2.length<=0){for(var _10 in _1){if(_1.hasOwnProperty(_10)){_2.push(_10);}}}return _2;};if(typeof (com)=="undefined"){com={};}if(typeof (com.ibm)=="undefined"){com.ibm={};}if(typeof (com.ibm.portal)=="undefined"){com.ibm.portal={};}if(typeof (com.ibm.portal.analytics)=="undefined"){com.ibm.portal.analytics={};}com.ibm.portal.analytics.SiteAnalyticsMediator=_4;com.ibm.portal.analytics.getSiteAnalyticsMediator=function(){return _4;};})();(function(){var _11=function(e){if(_12()){var _13=ibmCfg.portalConfig.currentPageOID;_14(null,null,{type:"PAGE",id:_13});var _15=_16();if(_15&&_15.length>0){for(var i=0;i<_15.length;++i){var _17=_15[i];var _18={};_18.type="PORTLET";_18.id=_19(_17);_1a(_17,_18.id);_14([_17],null,_18);}}}};var _14=function(_1b,_1c,_1d){com.ibm.portal.analytics.SiteAnalyticsMediator.notify(_1b,_1c,_1d);};var _12=function(){return com.ibm.portal.analytics.SiteAnalyticsMediator.isActive();};var _16=function(){var _1e=document.getElementById("layoutContainers");return _1f("div","component-control",_1e);};var _19=function(_20){var _21=_20.className,id=null;if(_21){var _22=_21.split(" ");for(var i=0,l=_22.length;i<l;++i){var cls=_22[i],_23=cls.indexOf("id-");if(_23>=0){id=cls.substring(_23+3);break;}}}return id;};var _1a=function(_24,_25){var _26=_24.className&&_24.className.indexOf("asa.portlet.selected")>=0;if(_26){var _27=document.getElementById("asa.portlet."+_25);if(_27){var _28=document.createElement("span");_28.className="asa.portlet.selected";_28.innerHTML="true";_27.appendChild(_28);}}};var _1f=function(_29,_2a,_2b){if(!_2b){_2b=document;}if(document.getElementsByClassName){return _2b.getElementsByClassName(_2a);}else{var _2c=[];_2a=_2a.toLowerCase();var _2d=_2b.getElementsByTagName(_29);if(_2d&&_2d.length>0){for(var i=0,l=_2d.length;i<l;i++){var e=_2d[i];if(e.className&&e.className.toLowerCase().indexOf(_2a)>=0){_2c.push(e);}}}return _2c;}};var _2e=i$.addOnLoad;if(typeof wp_wcm_async!="undefined"){_2e=i$.scope(wp_wcm_async,wp_wcm_async.addOnPageLoad);}_2e(_11);})(); 3102 3103}catch(e){console.log("Module 'wp_analytics_aggregator': ",e);}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.