lazar-gui 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/FAQ.md +29 -0
- data/Gemfile +7 -0
- data/README.md +15 -0
- data/VERSION +1 -0
- data/application.rb +317 -0
- data/bin/lazar-start +5 -0
- data/bin/lazar-start.sh +8 -0
- data/bin/lazar-stop +6 -0
- data/bin/lazar-stop.sh +52 -0
- data/config.ru +5 -0
- data/helper.rb +218 -0
- data/lazar-gui.gemspec +29 -0
- data/public/css/bootstrap-theme.min.css +5 -0
- data/public/css/bootstrap.min.css +5 -0
- data/public/css/images/black-asc.gif +0 -0
- data/public/css/images/black-desc.gif +0 -0
- data/public/css/images/black-unsorted.gif +0 -0
- data/public/css/images/bootstrap-black-unsorted.png +0 -0
- data/public/css/images/bootstrap-white-unsorted.png +0 -0
- data/public/css/images/dragtable-handle.png +0 -0
- data/public/css/images/dragtable-handle.svg +7 -0
- data/public/css/images/dropbox-asc-hovered.png +0 -0
- data/public/css/images/dropbox-asc.png +0 -0
- data/public/css/images/dropbox-desc-hovered.png +0 -0
- data/public/css/images/dropbox-desc.png +0 -0
- data/public/css/images/first.png +0 -0
- data/public/css/images/green-asc.gif +0 -0
- data/public/css/images/green-desc.gif +0 -0
- data/public/css/images/green-header.gif +0 -0
- data/public/css/images/green-unsorted.gif +0 -0
- data/public/css/images/ice-asc.gif +0 -0
- data/public/css/images/ice-desc.gif +0 -0
- data/public/css/images/ice-unsorted.gif +0 -0
- data/public/css/images/last.png +0 -0
- data/public/css/images/loading.gif +0 -0
- data/public/css/images/metro-black-asc.png +0 -0
- data/public/css/images/metro-black-desc.png +0 -0
- data/public/css/images/metro-loading.gif +0 -0
- data/public/css/images/metro-unsorted.png +0 -0
- data/public/css/images/metro-white-asc.png +0 -0
- data/public/css/images/metro-white-desc.png +0 -0
- data/public/css/images/next.png +0 -0
- data/public/css/images/prev.png +0 -0
- data/public/css/images/white-asc.gif +0 -0
- data/public/css/images/white-desc.gif +0 -0
- data/public/css/images/white-unsorted.gif +0 -0
- data/public/css/jquery-ui.css +1225 -0
- data/public/css/jquery-ui.theme.min.css +5 -0
- data/public/css/theme.bootstrap.css +158 -0
- data/public/css/theme.bootstrap.min.css +1 -0
- data/public/css/theme.default.min.css +1 -0
- data/public/fonts/glyphicons-halflings-regular.eot +0 -0
- data/public/fonts/glyphicons-halflings-regular.svg +288 -0
- data/public/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/public/fonts/glyphicons-halflings-regular.woff +0 -0
- data/public/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/public/images/Email.png +0 -0
- data/public/images/Facebook.png +0 -0
- data/public/images/Google+.png +0 -0
- data/public/images/IST_logo_s.png +0 -0
- data/public/images/LinkedIn.png +0 -0
- data/public/images/OpenToxEuro2013_small.png +0 -0
- data/public/images/Twitter.png +0 -0
- data/public/images/arrow_down_float.png +0 -0
- data/public/images/arrow_left_float.png +0 -0
- data/public/images/arrow_right_float.png +0 -0
- data/public/images/arrow_up_float.png +0 -0
- data/public/images/asc.gif +0 -0
- data/public/images/bfr_logo.gif +0 -0
- data/public/images/bg.gif +0 -0
- data/public/images/blind.png +0 -0
- data/public/images/desc.gif +0 -0
- data/public/images/enm_logo.png +0 -0
- data/public/images/favicon.ico +0 -0
- data/public/images/gray_jean.png +0 -0
- data/public/images/info_white.png +0 -0
- data/public/images/ist_logo.png +0 -0
- data/public/images/nestec.jpg +0 -0
- data/public/images/ot_logo.png +0 -0
- data/public/images/wait30trans.gif +0 -0
- data/public/javascripts/bootstrap.min.js +7 -0
- data/public/javascripts/jquery-1.11.2.min.js +4 -0
- data/public/javascripts/jquery-1.8.3.min.js +2 -0
- data/public/javascripts/jquery-ui-1.10.3.custom.min.js +6 -0
- data/public/javascripts/jquery.bpopup.min.js +7 -0
- data/public/javascripts/jquery.tablesorter.min.js +2 -0
- data/public/javascripts/jquery.tablesorter.widgets.js +2678 -0
- data/public/javascripts/jquery.tools.min.js +5 -0
- data/public/javascripts/lazar-gui.js +11 -0
- data/public/jsme/057C029061D565E59B91BCF8D80FA08E.cache.html +651 -0
- data/public/jsme/05B63F17C4ECC632F0004998FE93F0D9.cache.png +0 -0
- data/public/jsme/0D71BA88E8DB59E613D3BD042277F3CA.cache.html +636 -0
- data/public/jsme/143B86F220A77EA4A06DF2CE62EF455A.cache.html +636 -0
- data/public/jsme/1AFB129BECD672F835F8C27B14A9D8F2.cache.html +619 -0
- data/public/jsme/20865588BA1E58170CC8C13CEAD50C3C.cache.html +615 -0
- data/public/jsme/20B12D7884BFE17E1879B157A966B4D0.cache.html +631 -0
- data/public/jsme/222DCE3CD01E8F29C3D81A37CE3EC2B8.cache.html +626 -0
- data/public/jsme/230043C4988F4EECEF225437640D792F.cache.html +625 -0
- data/public/jsme/3014E46F5C6FB35E6CF0D7870071174B.cache.html +615 -0
- data/public/jsme/396F806CD63ABD414BFBB9D57429F05B.cache.png +0 -0
- data/public/jsme/3F57AECC67986E796A3148265F038FF1.cache.html +639 -0
- data/public/jsme/40BAF81124143A595056A9CCA0E9DBBA.cache.png +0 -0
- data/public/jsme/469A5B5AE16905A2CD712E25B9517A14.cache.html +644 -0
- data/public/jsme/4722AB194B521805C997130865A7EE3D.cache.html +638 -0
- data/public/jsme/4841BDE9DC293BA35F7762B4D8EFD236.cache.png +0 -0
- data/public/jsme/497588C27DED1A6E8FE1E0AB8417B414.cache.html +626 -0
- data/public/jsme/571D27D70DEF8240841DA5CAFC363CFF.cache.html +619 -0
- data/public/jsme/5F7FD5A5750634DF9F5480F2778D9CD7.cache.html +651 -0
- data/public/jsme/6187B195CC6073B1DB0A30F6CD64ACA3.cache.html +620 -0
- data/public/jsme/6DED0C7A48F0BB72DDB1FDE5C05E60B5.cache.html +642 -0
- data/public/jsme/73F66F1A578E65144682885B3DC28556.cache.html +620 -0
- data/public/jsme/76252DEA9FB0A670947525C4C89E2530.cache.html +657 -0
- data/public/jsme/84DE2DAB8AD49C4E122A548C4B072500.cache.html +625 -0
- data/public/jsme/98150D1CD230B36339E35812F0BD3D0E.cache.html +629 -0
- data/public/jsme/9BA3A5A02DFF97BADFD3F9FE3817341B.cache.html +636 -0
- data/public/jsme/9D58CD61900096C805154C0AC693DCE7.cache.html +639 -0
- data/public/jsme/A3D2B7C95C4FC47DB0996CBDF930EA17.cache.html +657 -0
- data/public/jsme/A6DF9CFFF55769DE62DA6868C558B3F2.cache.html +629 -0
- data/public/jsme/B70D7DA2E93A6B0FB7E5BC15540F7B15.cache.html +645 -0
- data/public/jsme/DF7764EEC1903CD03C9545B354D8D8E4.cache.png +0 -0
- data/public/jsme/E07214401017B41AF0BDAB1EB811CC83.cache.html +645 -0
- data/public/jsme/E45DF2A61DB551567FA3454B1A00412D.cache.html +631 -0
- data/public/jsme/E97CDFD075EEB4D0578A219C5564A988.cache.html +642 -0
- data/public/jsme/EBCDA5C12B4318C17A4741474FB9D7CA.cache.html +643 -0
- data/public/jsme/clear.cache.gif +0 -0
- data/public/jsme/gwt/chrome/chrome.css +1155 -0
- data/public/jsme/gwt/chrome/chrome_rtl.css +1155 -0
- data/public/jsme/gwt/chrome/images/button/menu-button-arrow-disabled.png +0 -0
- data/public/jsme/gwt/chrome/images/button/menu-button-arrow.png +0 -0
- data/public/jsme/gwt/chrome/images/button/split-button-arrow-active.png +0 -0
- data/public/jsme/gwt/chrome/images/button/split-button-arrow-disabled.png +0 -0
- data/public/jsme/gwt/chrome/images/button/split-button-arrow-focus.png +0 -0
- data/public/jsme/gwt/chrome/images/button/split-button-arrow-hover.png +0 -0
- data/public/jsme/gwt/chrome/images/button/split-button-arrow.png +0 -0
- data/public/jsme/gwt/chrome/images/combobox/arrow-down-disabled.png +0 -0
- data/public/jsme/gwt/chrome/images/combobox/arrow-down.png +0 -0
- data/public/jsme/gwt/chrome/images/combobox/ellipsis-disabled.png +0 -0
- data/public/jsme/gwt/chrome/images/combobox/ellipsis.png +0 -0
- data/public/jsme/gwt/chrome/images/corner.png +0 -0
- data/public/jsme/gwt/chrome/images/corner_ie6.png +0 -0
- data/public/jsme/gwt/chrome/images/fastree/selectionBar.gif +0 -0
- data/public/jsme/gwt/chrome/images/fastree/treeClosed.gif +0 -0
- data/public/jsme/gwt/chrome/images/fastree/treeLoading.gif +0 -0
- data/public/jsme/gwt/chrome/images/fastree/treeOpen.gif +0 -0
- data/public/jsme/gwt/chrome/images/glasspanel/blue_ridge.png +0 -0
- data/public/jsme/gwt/chrome/images/hborder.png +0 -0
- data/public/jsme/gwt/chrome/images/hborder_ie6.png +0 -0
- data/public/jsme/gwt/chrome/images/ie6/corner_dialog_topleft.png +0 -0
- data/public/jsme/gwt/chrome/images/ie6/corner_dialog_topright.png +0 -0
- data/public/jsme/gwt/chrome/images/ie6/hborder_blue_shadow.png +0 -0
- data/public/jsme/gwt/chrome/images/ie6/hborder_gray_shadow.png +0 -0
- data/public/jsme/gwt/chrome/images/ie6/vborder_blue_shadow.png +0 -0
- data/public/jsme/gwt/chrome/images/ie6/vborder_gray_shadow.png +0 -0
- data/public/jsme/gwt/chrome/images/scrolltable/bg_header_gradient.gif +0 -0
- data/public/jsme/gwt/chrome/images/splitPanelThumb.png +0 -0
- data/public/jsme/gwt/chrome/images/valuespinner/bg_textbox.png +0 -0
- data/public/jsme/gwt/chrome/images/vborder.png +0 -0
- data/public/jsme/gwt/chrome/images/vborder_ie6.png +0 -0
- data/public/jsme/gwt/chrome/mosaic.css +1252 -0
- data/public/jsme/gwt/chrome/mosaic_rtl.css +1252 -0
- data/public/jsme/hosted.html +365 -0
- data/public/jsme/jsa.css +175 -0
- data/public/jsme/jsme.nocache.js +18 -0
- data/public/rect.png +0 -0
- data/public/stylesheets/jquery-ui.css +1186 -0
- data/test/lazarweb.rb +193 -0
- data/test/setup.rb +7 -0
- data/unicorn.rb +7 -0
- data/views/batch.haml +58 -0
- data/views/details.haml +24 -0
- data/views/error.haml +8 -0
- data/views/faq.haml +2 -0
- data/views/faq_layout.haml +67 -0
- data/views/info.haml +2 -0
- data/views/jme_help.html +197 -0
- data/views/js_link.haml +5 -0
- data/views/layout.haml +113 -0
- data/views/model_details.haml +117 -0
- data/views/neighbors.haml +104 -0
- data/views/predict.haml +175 -0
- data/views/prediction.haml +84 -0
- data/views/significant_fragments.haml +66 -0
- data/views/style.scss +70 -0
- data/views/validation.haml +16 -0
- metadata +373 -0
@@ -0,0 +1,643 @@
|
|
1
|
+
<html><head><meta charset="UTF-8" /><script>var $gwt_version = "2.5.1";var $wnd = parent;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = 'EBCDA5C12B4318C17A4741474FB9D7CA';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'jsme',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});</script></head><body><script><!--
|
2
|
+
var l="",aa="\n",ba=" ",ca=" of ",da='"',fa='" ',ga='" height="',ia='" y="',ka='">',la="#",ma="$MOL\n",oa="&",pa="&",qa=">",ra="<",sa=" ",ta="'",ua="(",va=")",wa="*",xa="+",za=",",Aa=", ",Ba="-",Da="-C#C-Me",Ea="-C#CH",Fa="-C#N",Ga="-C(=O)N",Ha="-C(=O)OH",Ia="-C(=O)OMe",Ja="-CCl3",Ka="-CF3",La="-CMe3",Na="-NC=O",Oa="-NH-SO2-Me",Qa="-NMe2",Ra="-NO2",Sa="-OC(=O)Me",Ta="-SO2-NH2",Ua="-SO3H",Va="-selected",Wa=".",Xa="/",Ya="//",$a="/>",ab="0",bb="0px",cb="1",db="100%",eb="1em",fb="1ex",
|
3
|
+
gb="1in",hb="2",jb="3",kb=":",lb=": ",mb=";",nb="<",ob="=",qb=">",rb="?",sb="@",tb="A",vb="After",wb="Any",xb="Aromatic",yb="B",Ab="Before",Bb="Br",Cb="C",Db="CENTER",Eb="CSS1Compat",Fb="Center",Gb="Cl",Hb="Class$",Jb="Copy as ",Nb="DEFAULT",Ob="Dialog",Pb="East",Qb="F",Rb="First",Tb='For input string: "',Ub="GBVTBU-BB",Vb="H",Wb="Helvetica",Xb="I",Yb="Incorrect URL: ",Zb="Internal index set to null.",$b="JSME",ac="JUSTIFY",bc="JavaScript",cc="LEFT",dc="MOL n. ",fc="N",gc="NA",hc="NONE",ic="No more molecules in SDF buffer",
|
4
|
+
jc="Nonring",kc="North",lc="Null widget handle. If you are creating a composite, ensure that initWidget() has been called.",mc="O",nc="ONE_WAY_CORNER",oc="P",pc="R",qc="R1",rc="R2",sc="R3",wc="RIGHT",xc="ROLL_DOWN",yc="RXN",zc="Reset",Ac="Resize-",Bc="Ring",Cc="S",Dc="SMILES",Ec="Se",Fc="Si",Gc="South",Hc="Style names cannot be empty",Ic="TBODY",Jc="TR",Mc="West",Nc="X",Rc="[",Sc="[object Array]",Tc="\\",Uc="]",Vc="__gwtex_wrap",Wc="__uiObjectID",Xc="a",Yc="absolute",ed="alert",fd="alertdialog",gd=
|
5
|
+
"align",hd="antialias",id="application",jd="article",kd="auto",ld="backgroundColor",md="banner",nd="blur",od="bolder",pd="border",qd="bottom",rd="button",sd="cellPadding",td="cellSpacing",ud="center",vd="change",wd="checkbox",xd="className",yd="click",Cd="click marked atom to delete mark",Ed="clip",Fd="code",Gd="col",Hd="colSpan",Id="columnheader",Jd="combobox",Kd="complementary",Ld="contentinfo",Md="contextmenu",Nd="cssFloat",Od="cursor",Pd="dblclick",Qd="definition",Rd="dialog",Sd="dir",Wd="directory",
|
6
|
+
Xd="display",Yd="div",Zd="document",$d="dragdrop-handle",fe="dragdrop-selected",ge="dragend",he="dragenter",ie="dragover",je="dragstart",ke="drop",le="end_gesture",me="error",ne="filter",oe="float",pe="focus",qe="fontFamily",re="fontSize",se="fontStyle",te="fontWeight",ue="form",ve="function",we="g",xe="gesturechange",ye="gestureend",ze="gesturestart",Ae="google",Be="grid",Ce="gridcell",De="group",Ee="gwt-MenuBar",Fe="gwt-MenuBarPopup",He="heading",Ie="height",Je="hidden",Ke="id",Le="img",Me="is_touch_supported",
|
7
|
+
Te="italic",Ue="java.vm.name",Ve="jsa-resetDiv",We="keydown",Xe="keypress",Ye="keyup",Ze="left",$e="link",af="list",bf="listbox",cf="listitem",df="load",ef="log",ff="ltr",gf="main",hf="marquee",jf="math",kf="menu",lf="menuPopup",mf="menubar",nf="menuitem",of="menuitemcheckbox",qf="menuitemradio",rf="middle",sf="mousedown",tf="mousemove",uf="mouseout",Af="mouseover",Bf="mouseup",Cf="mousewheel",Df="move",Ef="msie",Ff="multipart",Gf="n",Hf="name",If="navigation",Jf="none",Kf="noreaction",Lf="note",
|
8
|
+
Mf="nowrap",Nf="null",Of="number",Pf="object",Qf="offsetHeight",Rf="offsetWidth",Sf="ontouchstart",Tf="opera",Uf="option",Vf="outline",Wf="overflow",Xf="padding",Yf="paste",Zf="popupContent",$f="position",ag="presentation",bg="progressbar",cg="px",dg="px, ",eg="px;",fg="radio",gg="radiogroup",hg="reaction",ig="rect(0px, 0px, 0px, 0px)",jg="region",kg="rgb(",lg="right",mg="rotation",ng="row",pg="rowgroup",qg="rowheader",rg="rtl",sg="s",tg="scale100",ug="scrollbar",vg="se",wg="search",xg="separator",
|
9
|
+
yg="serif",zg='shape-rendering="crispEdges"',Bg="slider",Cg="span",Dg="spinbutton",Eg="status",Fg="subMenuIcon-selected",Gg="tab",Hg="table",Ig="tablist",Jg="tabpanel",Kg="tbody",Lg="td",Mg="text",Ng="textAlign",Og="textbox",Pg="timer",Qg="title",Rg="toolbar",Sg="tooltip",Tg="top",Ug="touchcancel",Vg="touchend",Wg="touchmove",Xg="touchstart",Yg="tr",Zg="tree",$g="treegrid",ah="treeitem",bh="true",ch="value",dh="verticalAlign",eh="visibility",fh="visible",gh="whiteSpace",hh="width",ih="x",jh="zIndex",
|
10
|
+
kh="|",_,lh={l:4194303,m:4194303,h:1048575},mh={l:0,m:0,h:0},nh={l:1,m:0,h:0},oh={l:2,m:0,h:0},ph={l:3,m:0,h:0},qh={l:4,m:0,h:0},rh={l:8,m:0,h:0},sh={l:10,m:0,h:0},th={l:16,m:0,h:0},uh={l:32,m:0,h:0},vh={l:64,m:0,h:0},wh={l:128,m:0,h:0},xh={l:256,m:0,h:0},yh={l:512,m:0,h:0},zh={l:1024,m:0,h:0},Ah={l:2048,m:0,h:0},Bh={l:8192,m:0,h:0},Ch={l:16384,m:0,h:0},Kh={l:32768,m:0,h:0},Lh={l:65536,m:0,h:0},Mh={l:131072,m:0,h:0},Nh={l:262144,m:0,h:0},Oh={l:524288,m:0,h:0},Ph={},Qh={46:1,48:1,57:1,69:1,70:1,72:1,
|
11
|
+
75:1,80:1,82:1,142:1,149:1},Rh={9:1,10:1,117:1,121:1,123:1},Sh={117:1,120:1,134:1},Th={48:1},Uh={136:1},Vh={90:1,91:1,97:1,111:1,117:1},Wh={53:1,117:1},Xh={46:1,48:1,57:1,61:1,69:1,71:1,72:1,80:1,82:1},Yh={94:1,117:1},Zh={47:1,83:1},$h={56:1},ai={12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,63:1,64:1,65:1,66:1,69:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1},bi={55:1},ci=
|
12
|
+
{90:1,97:1,111:1,117:1},di={7:1,9:1,117:1,121:1,123:1},ei={97:1,117:1},fi={12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,64:1,66:1,69:1,70:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1},gi={152:1},hi={117:1,134:1},ii={117:1,124:1,126:1,130:1,132:1},ji={81:1,117:1,121:1,123:1},ki={12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,
|
13
|
+
31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,63:1,64:1,65:1,66:1,68:1,69:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1},m={117:1,120:1},li={84:1,117:1,124:1,130:1,132:1},s={116:1,117:1,120:1},mi={46:1,48:1,57:1,69:1,70:1,72:1,80:1,82:1},ni={138:1},oi={119:1},pi={113:1},qi={117:1,124:1,132:1},ri={134:1},si={90:1,91:1,97:1,103:1,111:1,117:1},ti={117:1},ui={117:1,124:1,130:1,132:1},vi={46:1,48:1,57:1,69:1,72:1,80:1,82:1},wi={8:1,9:1,117:1,121:1,123:1},xi={117:1,120:1,135:1},
|
14
|
+
yi={45:1},zi={69:1,80:1},Ai={11:1,117:1,121:1,123:1},Bi={6:1,9:1,117:1,121:1,123:1},Ci={46:1,48:1,57:1,62:1,69:1,70:1,72:1,80:1,82:1},Di={12:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,46:1,48:1,57:1,69:1,70:1,72:1,80:1,82:1},Ei={85:1,90:1,91:1,97:1,106:1,111:1,113:1,117:1},Fi={135:1};function u(a,b,c){var d=Ph[a];d&&!d.cZ?_=d.prototype:(!d&&(d=Ph[a]=function(){}),_=d.prototype=0>b?{}:new Ph[b],_.cM=c);for(var e=3;e<arguments.length;++e)arguments[e].prototype=_;d.cZ&&(_.cZ=d.cZ,d.cZ=null)}
|
15
|
+
function x(){}u(1,-1,{});_.eQ=function(a){return this===a};_.gC=function(){return this.cZ};_.hC=function(){return Gi(this)};_.tS=function(){var a=this.cZ.e+sb,b;b=this.hC();var c,d,e;c=y(Hi,m,-1,8,1);d=(Ii(),Ji);e=7;if(0<=b)for(;15<b;)c[e--]=d[b&15],b>>=4;else for(;0<e;)c[e--]=d[b&15],b>>=4;c[e]=d[b&15];b=c.slice(e,8);b=String.fromCharCode.apply(null,b);return a+b};_.toString=function(){return this.tS()};_.tM=x;function Ki(){Ki=x;Li=new Mi}
|
16
|
+
function Ni(a){for(var b,a=new Oi(a.k.n);a.c<a.e.Fe();)b=Pi(a),Qi(b.ld(),fe,!1),Ri(a)}function Si(a,b,c){var a=a.o,d;try{d=new Ti(b,c.Qc(a),c.Tc(a),(c.Rc(a),c.Sc(a))),z(a.d,c,d)}catch(e){e=Ui(e);if(A(e,124))throw new Vi("dragHandle must implement HasMouseDownHandlers, HasMouseUpHandlers, HasMouseMoveHandlers and HasMouseOutHandlers to be draggable",e);throw e;}Qi(b.ld(),Ub,!0);Qi(c.ld(),$d,!0);z(Li,b,c)}
|
17
|
+
function Wi(a,b){var c;c=Xi(Li,b);var d;d=Xi(a.o.d,c);if(!d)throw new Yi("dragHandle was not draggable");Zi(d.c.b);Zi(d.e.b);Zi(d.d.b);Qi(b.ld(),Ub,!1);Qi(c.ld(),$d,!1)}function $i(a){var b;a.p=!1;for(a=new Oi(a.k.n);a.c<a.e.Fe();)b=Pi(a),Qi(b.ld(),fe,!1),Ri(a)}function aj(a,b){bj(a.k.n,b)?Qi(b.ld(),fe,!1):a.p?(cj(a.k.n,b),Qi(b.ld(),fe,!0)):(a.k.n.Qe(),cj(a.k.n,b))}function dj(a){this.i=a;this.k=new ej(this);this.o=new fj(this.k)}u(3,1,{});_.rc=function(){gj(this.k.f,"dragdrop-dragging")};
|
18
|
+
_.sc=function(){hj(this.k.f,"dragdrop-dragging")};_.i=null;_.j=!1;_.k=null;_.n=0;_.o=null;_.p=!1;var Li;function ej(a){this.n=new ij;this.e=a;this.b=a.i}u(4,1,{},ej);_.b=null;_.c=0;_.d=0;_.e=null;_.f=null;_.i=null;_.j=0;_.k=0;function jj(a,b,c){a.c.j=b;a.c.k=c;a.c.c=b-a.i;a.c.d=c-a.j;a.c.e.tc()}function kj(a,b){var c;c=lj(a.d,mj).b;b.b.ctrlKey||b.b.metaKey||Ni(a.c.e);aj(a.c.e,c)}function nj(a){a.c.i=null;a.c.e.sc();oj((pj(),qj(null)),a.b,0,0);var b=a.b.pb;rj=b;sj();tj=b;a.e=2}
|
19
|
+
function fj(a){this.d=new Mi;this.c=a;this.b=new uj;vj(this.b,wj(),xj());B(this.b,this,(yj(),yj(),zj));B(this.b,this,(Aj(),Aj(),Bj));a=this.b.pb.style;a[ne]="alpha(opacity=0)";a.opacity=0;a.margin=0+(Cj(),cg);a.borderStyle=(Dj(),Jf);a[ld]="blue"}u(5,1,{},fj);
|
20
|
+
_.uc=function(a){var b,c,d,e;c=a.i;d=Ej(a);e=Fj(a);b=Gj(a.b);if(!(3==this.e||2==this.e||1!=b)&&!mj)mj=c,this.c.f=lj(this.d,mj).b,!a.b.ctrlKey&&!a.b.metaKey&&-1==Hj(this.c.n,this.c.f)&&(Ni(this.c.e),aj(this.c.e,this.c.f)),Ij(new Jj),this.f=!0,a.b.preventDefault(),this.i=d,this.j=e,b=new Kj(mj,null),mj!=this.c.f&&(c=new Kj(this.c.f,null),this.i+=b.b-c.b,this.j+=b.e-c.e),0==this.c.e.n&&!a.b.ctrlKey&&!a.b.metaKey&&(this.c.j=d+b.b,this.c.k=e+b.e,nj(this),1!=this.e&&jj(this,this.c.j,this.c.k))};
|
21
|
+
_.vc=function(a){var b,c,d;c=a.i;b=c.pb;d=Lj(a,b);a=Mj(a,b);if(3==this.e||2==this.e){if(c!=this.b)return;this.e=3}else if(this.f&&(Nj(Oj(d-this.i),Oj(a-this.j))>=this.c.e.n?(bk(),-1!=Hj(this.c.n,this.c.f)||aj(this.c.e,this.c.f),c=new Kj(mj,null),this.c.j=this.i+c.b,this.c.k=this.j+c.e,d+=c.b,a+=c.e,nj(this)):ck.preventDefault()),1==this.e)return;ck.preventDefault();jj(this,d,a)};
|
22
|
+
_.wc=function(a){var b,c,d,e;d=a.i;b=d.pb;e=Lj(a,b);b=Mj(a,b);if(1==Gj(a.b)&&(this.f=!1,mj))try{if(bk(),1==this.e)kj(this,a);else{d!=this.b&&(c=new Kj(d,null),e+=c.b,b+=c.e);try{jj(this,e,b),this.c.e.rc(),3!=this.e&&kj(this,a)}finally{var f=this.b.pb;rj&&f==rj&&(rj=null);sj();f===tj&&(tj=null);dk(this.b);this.e=1;this.c.f=null}}}finally{mj=null}};_.b=null;_.c=null;_.e=1;_.f=!1;_.i=0;_.j=0;var mj=null;function Jj(){}u(6,1,$h,Jj);_.xc=function(){bk()};
|
23
|
+
function Ti(a,b,c,d){this.b=a;this.c=b;this.d=d;this.e=c}u(7,1,{},Ti);_.b=null;_.c=null;_.d=null;_.e=null;u(8,1,{});u(10,8,{});u(9,10,{});_.b=null;u(11,1,{});_.tS=function(){return ua+this.b+Aa+this.e+va};function Kj(a,b){!a||a==(pj(),qj(null))?this.i=this.f=0:(this.f=a.gd()-(a.pb.scrollLeft||0),this.i=a.hd()-(a.pb.scrollTop||0));!b||b==(pj(),qj(null))?this.d=this.c=0:(this.c=ek(b.pb)+fk(b.pb),this.d=gk(b.pb)+hk(b.pb));this.b=this.f-this.c;this.e=this.i-this.d}u(14,11,{},Kj);
|
24
|
+
_.tS=function(){return ua+this.b+Aa+this.e+va};_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;_.i=0;function bk(){try{$wnd.getSelection().removeAllRanges()}catch(a){throw Error("unselect exception:\n"+a);}}function fk(a){try{var b=$doc.defaultView.getComputedStyle(a,null).getPropertyValue("border-left-width");return-1==b.indexOf(cg)?0:parseInt(b.substr(0,b.length-2))}catch(c){throw Error("getBorderLeft exception:\n"+c);}}
|
25
|
+
function hk(a){try{var b=$doc.defaultView.getComputedStyle(a,null).getPropertyValue("border-top-width");return-1==b.indexOf(cg)?0:parseInt(b.substr(0,b.length-2))}catch(c){throw Error("getBorderTop: "+c);}}function ik(a){try{return a.clientHeight}catch(b){throw Error("getClientHeight exception:\n"+b);}}function jk(a){try{return a.clientWidth}catch(b){throw Error("getClientWidth exception:\n"+b);}}
|
26
|
+
function kk(a){if(a.p){a.v=a.q;a.p=!1;a.q=!1;if(a.r){var b=a.r,c=b.c;bj(c.b,b);0==c.b.d&&lk(c.c);a.r=null}a.yc()}}function mk(a,b){var c=nk();kk(a);a.p=!0;a.q=!1;a.o=b;a.u=c;++a.s;ok(a.n,nk())}function pk(a,b){var c,d;c=a.s;d=b>=a.u+a.o;if(a.q&&!d)return d=(b-a.u)/a.o,a.Bc((1+Math.cos(3.141592653589793+3.141592653589793*d))/2),a.p&&a.s==c;if(!a.q&&b>=a.u&&(a.q=!0,a.Ac(),!(a.p&&a.s==c)))return!1;return d?(a.p=!1,a.q=!1,a.zc(),!1):!0}u(17,1,{});_.yc=function(){this.v&&this.zc()};
|
27
|
+
_.zc=function(){this.Bc((1+Math.cos(6.283185307179586))/2)};_.Ac=function(){this.Bc((1+Math.cos(3.141592653589793))/2)};_.o=-1;_.p=!1;_.q=!1;_.r=null;_.s=-1;_.t=null;_.u=-1;_.v=!1;function ok(a,b){if(pk(a.b,b)){var c=a.b,d=a.b.t,e;e=new qk(d,a.b.n);cj(d.b,e);1==d.b.d&&rk(d.c,16);c.r=e}else a.b.r=null}function sk(a){this.b=a}u(18,1,{},sk);_.b=null;u(19,1,{});u(20,1,{2:1});function tk(){tk=x;uk=new vk}u(21,19,{});var uk=null;function vk(){this.b=new ij;this.c=new wk(this)}u(22,21,{},vk);
|
28
|
+
function xk(){xk=x;yk=new ij;var a=new zk;Ak();Bk(Ck?Ck:Ck=new Dk,a)}function lk(a){a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d);bj(yk,a)}function rk(a,b){if(0>b)throw new Ek("must be non-negative");a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d);bj(yk,a);a.c=!1;a.d=Fk(a,b);cj(yk,a)}function Gk(a){return $wnd.setInterval(C(function(){a.Cc()}),100)}function Fk(a,b){return $wnd.setTimeout(C(function(){a.Cc()}),b)}u(24,1,{});_.Cc=function(){this.c||bj(yk,this);this.Dc()};_.c=!1;_.d=0;var yk;
|
29
|
+
function wk(a){xk();this.b=a}u(23,24,{},wk);_.Dc=function(){var a=this.b,b,c,d,e,f;b=y(Hk,m,3,a.b.d,0);b=Ik(a.b,b);c=new Jk;for(e=0,f=b.length;e<f;++e)d=b[e],bj(a.b,d),ok(d.b,c.b);0<a.b.d&&rk(a.c,Nj(5,16-(nk()-c.b)))};_.b=null;function qk(a,b){this.c=a;this.b=b}u(25,20,{2:1,3:1},qk);_.b=null;_.c=null;u(27,1,{});_.b=null;function Kk(){this.b=ed}u(26,27,{},Kk);function Lk(){this.b=fd}u(28,27,{},Lk);function Mk(){this.b=id}u(29,27,{},Mk);u(31,1,{});_.b=null;function Nk(a){this.b=a}u(30,31,{},Nk);
|
30
|
+
function Ok(){this.b=jd}u(32,27,{},Ok);function Pk(){this.b=md}u(33,27,{},Pk);function Qk(){this.b=rd}u(34,27,{},Qk);function Rk(){this.b=wd}u(35,27,{},Rk);function Sk(){this.b=Id}u(36,27,{},Sk);function Tk(){this.b=Jd}u(37,27,{},Tk);function Uk(){this.b=Kd}u(38,27,{},Uk);function Vk(){this.b=Ld}u(39,27,{},Vk);function Wk(){this.b=Qd}u(40,27,{},Wk);function Xk(){this.b=Rd}u(41,27,{},Xk);function Yk(){this.b=Wd}u(42,27,{},Yk);function Zk(){this.b=Zd}u(43,27,{},Zk);function $k(){this.b=ue}
|
31
|
+
u(44,27,{},$k);function al(){this.b=Be}u(45,27,{},al);function bl(){this.b=Ce}u(46,27,{},bl);function cl(){this.b=De}u(47,27,{},cl);function dl(){this.b=He}u(48,27,{},dl);function fl(a){this.b=a.id}u(49,1,{4:1,5:1},fl);_.b=null;function gl(){this.b=Le}u(50,27,{},gl);function hl(){this.b=$e}u(51,27,{},hl);function il(){this.b=af}u(52,27,{},il);function jl(){this.b=bf}u(53,27,{},jl);function kl(){this.b=cf}u(54,27,{},kl);function ll(){this.b=ef}u(55,27,{},ll);function ml(){this.b=gf}u(56,27,{},ml);
|
32
|
+
function nl(){this.b=hf}u(57,27,{},nl);function ol(){this.b=jf}u(58,27,{},ol);function pl(){this.b=kf}u(59,27,{},pl);function ql(){this.b=mf}u(60,27,{},ql);function rl(){this.b=nf}u(61,27,{},rl);function sl(){this.b=of}u(62,27,{},sl);function tl(){this.b=qf}u(63,27,{},tl);function ul(){this.b=If}u(64,27,{},ul);function vl(){this.b=Lf}u(65,27,{},vl);function wl(){this.b=Uf}u(66,27,{},wl);function xl(){this.b=ag}u(67,27,{},xl);u(68,31,{},function(a){this.b=a});function yl(){this.b=bg}u(69,27,{},yl);
|
33
|
+
function zl(){zl=x;Al=new Nk("aria-activedescendant")}var Al;function Bl(){this.b=fg}u(71,27,{},Bl);function Cl(){this.b=gg}u(72,27,{},Cl);function Dl(){this.b=jg}u(73,27,{},Dl);
|
34
|
+
function El(){El=x;Fl=new Lk;Gl=new Kk;Hl=new Mk;Il=new Ok;Jl=new Pk;Kl=new Qk;Ll=new Rk;Ml=new Sk;Nl=new Tk;Ol=new Uk;Pl=new Vk;Ql=new Wk;Rl=new Xk;Sl=new Yk;Tl=new Zk;Ul=new $k;Vl=new bl;Wl=new al;Xl=new cl;Yl=new dl;Zl=new gl;$l=new hl;am=new jl;bm=new kl;cm=new il;dm=new ll;em=new ml;fm=new nl;gm=new ol;hm=new ql;im=new sl;jm=new tl;km=new rl;lm=new pl;mm=new ul;nm=new vl;om=new wl;pm=new xl;qm=new yl;rm=new Cl;sm=new Bl;tm=new Dl;um=new vm;wm=new xm;ym=new zm;Am=new Bm;Cm=new Dm;Em=new Fm;Gm=
|
35
|
+
new Hm;Im=new Jm;Km=new Lm;Mm=new Nm;Om=new Pm;Qm=new Rm;Sm=new Tm;Um=new Vm;Wm=new Xm;Ym=new Zm;$m=new qn;rn=new sn;tn=new un;F=new Mi;z(F,jg,tm);z(F,ed,Gl);z(F,Rd,Rl);z(F,fd,Fl);z(F,id,Hl);z(F,Zd,Tl);z(F,jd,Il);z(F,md,Jl);z(F,rd,Kl);z(F,wd,Ll);z(F,Ce,Vl);z(F,Id,Ml);z(F,De,Xl);z(F,Jd,Nl);z(F,Kd,Ol);z(F,Ld,Pl);z(F,Qd,Ql);z(F,af,cm);z(F,Wd,Sl);z(F,ue,Ul);z(F,Be,Wl);z(F,He,Yl);z(F,Le,Zl);z(F,$e,$l);z(F,bf,am);z(F,cf,bm);z(F,ef,dm);z(F,gf,em);z(F,hf,fm);z(F,jf,gm);z(F,kf,lm);z(F,mf,hm);z(F,nf,km);z(F,
|
36
|
+
of,im);z(F,Uf,om);z(F,fg,sm);z(F,qf,jm);z(F,If,mm);z(F,Lf,nm);z(F,ag,pm);z(F,bg,qm);z(F,gg,rm);z(F,ng,ym);z(F,pg,um);z(F,qg,wm);z(F,wg,Cm);z(F,xg,Em);z(F,ug,Am);z(F,Bg,Gm);z(F,Dg,Im);z(F,Eg,Km);z(F,Gg,Qm);z(F,Ig,Mm);z(F,Jg,Om);z(F,Og,Sm);z(F,Pg,Um);z(F,Rg,Wm);z(F,Sg,Ym);z(F,Zg,tn);z(F,$g,$m);z(F,ah,rn)}var Gl,Fl,Hl,Il,Jl,Kl,Ll,Ml,Nl,Ol,Pl,Ql,Rl,Sl,Tl,Ul,Wl,Vl,Xl,Yl,Zl,$l,cm,am,bm,dm,em,fm,gm,lm,hm,km,im,jm,mm,nm,om,pm,qm,sm,rm,tm,F,ym,um,wm,Am,Cm,Em,Gm,Im,Km,Qm,Mm,Om,Sm,Um,Wm,Ym,tn,$m,rn;
|
37
|
+
function zm(){this.b=ng}u(75,27,{},zm);function vm(){this.b=pg}u(76,27,{},vm);function xm(){this.b=qg}u(77,27,{},xm);function Bm(){this.b=ug}u(78,27,{},Bm);function Dm(){this.b=wg}u(79,27,{},Dm);function Fm(){this.b=xg}u(80,27,{},Fm);function Hm(){this.b=Bg}u(81,27,{},Hm);function Jm(){this.b=Dg}u(82,27,{},Jm);function Lm(){this.b=Eg}u(83,27,{},Lm);function Rm(){this.b=Gg}u(84,27,{},Rm);function Nm(){this.b=Ig}u(85,27,{},Nm);function Pm(){this.b=Jg}u(86,27,{},Pm);function Tm(){this.b=Og}
|
38
|
+
u(87,27,{},Tm);function Vm(){this.b=Pg}u(88,27,{},Vm);function Xm(){this.b=Rg}u(89,27,{},Xm);function Zm(){this.b=Sg}u(90,27,{},Zm);function un(){this.b=Zg}u(91,27,{},un);function qn(){this.b=$g}u(92,27,{},qn);function sn(){this.b=ah}u(93,27,{},sn);function Jk(){this.b=nk()}function nk(){return(new Date).getTime()}u(94,1,{},Jk);function vn(a){var b,c,d;d=new wn;for(c=a;c;)b=c.Ec(),c!=a&&(d.b.b+="Caused by: "),xn(d,c.cZ.e),d.b.b+=lb,yn(d.b,null==b?"(No exception detail)":b),d.b.b+=aa,c=c.f}
|
39
|
+
function zn(a){var b,c,d;c=y(An,m,131,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d])throw new Bn;c[d]=a[d]}}function Cn(a){var b;b=a.cZ.e;a=a.Ec();return null!=a?b+lb+a:b}u(99,1,{117:1,132:1});_.Ec=function(){return this.i};_.tS=function(){return Cn(this)};_.f=null;_.i=null;function Dn(a){En();this.i=a}u(98,99,qi,Dn);function Yi(a){En();this.i=a}function Vi(a,b){En();this.f=b;this.i=a}u(97,98,ui,Yi,Vi);
|
40
|
+
function Fn(a){En();this.c=a;this.b=l;var b,c,d;c=Gn(Hn(this.c)?this.c:null);d=y(An,m,131,c.length,0);for(a=0,b=d.length;a<b;++a)d[a]=new In(c[a]);zn(d)}u(96,97,ui,Fn);
|
41
|
+
_.Ec=function(){if(null==this.d){this.e=null==this.c?Nf:Hn(this.c)?null==this.c?null:this.c.name:A(this.c,1)?"String":Jn(this.c).e;this.b=this.b+lb+(Hn(this.c)?null==this.c?null:this.c.message:this.c+l);var a;if(Hn(this.c)){a=this.c;var b=l,c;for(c in a)if(c!=Hf&&"message"!=c&&"toString"!=c)try{b+="\n "+c+lb+a[c]}catch(d){}a=b}else a=l;this.d=ua+this.e+") "+a+this.b}return this.d};_.b=l;_.c=null;_.d=null;_.e=null;function Kn(a,b){return Ln(a)?a.eQ(b):a===b}function Jn(a){return Ln(a)?a.cZ:Mn}
|
42
|
+
function Nn(a){return Ln(a)?a.hC():Gi(a)}
|
43
|
+
function On(){var a;On=x;Pn=(a="\\u0000,\\u0001,\\u0002,\\u0003,\\u0004,\\u0005,\\u0006,\\u0007,\\b,\\t,\\n,\\u000B,\\f,\\r,\\u000E,\\u000F,\\u0010,\\u0011,\\u0012,\\u0013,\\u0014,\\u0015,\\u0016,\\u0017,\\u0018,\\u0019,\\u001A,\\u001B,\\u001C,\\u001D,\\u001E,\\u001F".split(","),a[34]='\\"',a[92]="\\\\",a[173]="\\u00ad",a[1536]="\\u0600",a[1537]="\\u0601",a[1538]="\\u0602",a[1539]="\\u0603",a[1757]="\\u06dd",a[1807]="\\u070f",a[6068]="\\u17b4",a[6069]="\\u17b5",a[8203]="\\u200b",a[8204]="\\u200c",
|
44
|
+
a[8205]="\\u200d",a[8206]="\\u200e",a[8207]="\\u200f",a[8232]="\\u2028",a[8233]="\\u2029",a[8234]="\\u202a",a[8235]="\\u202b",a[8236]="\\u202c",a[8237]="\\u202d",a[8238]="\\u202e",a[8288]="\\u2060",a[8289]="\\u2061",a[8290]="\\u2062",a[8291]="\\u2063",a[8292]="\\u2064",a[8298]="\\u206a",a[8299]="\\u206b",a[8300]="\\u206c",a[8301]="\\u206d",a[8302]="\\u206e",a[8303]="\\u206f",a[65279]="\\ufeff",a[65529]="\\ufff9",a[65530]="\\ufffa",a[65531]="\\ufffb",a)}
|
45
|
+
function Qn(a){On();a=a.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(a){var c;return c=Pn[a.charCodeAt(0)],null==c?a:c});return da+a+da}var Pn;u(106,1,{});function Gi(a){return a.$H||(a.$H=++Rn)}function Sn(){return($wnd||self)["__gwtDevModeHook:"+$moduleName+":moduleBase"]||$moduleBase}function Tn(){return $wnd.setTimeout(function(){0!=Un&&(Un=0);Vn=-1},10)}var Un=0,Rn=0,Wn=0,Vn=-1;
|
46
|
+
function Xn(){Xn=x;Yn=new Zn}function $n(a,b){a.b=ao(a.b,[b,!1]);a.k||(a.k=!0,!a.f&&(a.f=new bo(a)),co(a.f,1),!a.j&&(a.j=new eo(a)),co(a.j,50))}function Zn(){}function fo(a){return a.Fc()}function ao(a,b){!a&&(a=[]);a[a.length]=b;return a}function go(a,b){var c,d,e;for(c=0,d=a.length;c<d;++c){e=a[c];try{e[1]?e[0].Fc()&&(b=ao(b,e)):e[0].xc()}catch(f){if(f=Ui(f),!A(f,132))throw f;}}return b}function co(a,b){Xn();$wnd.setTimeout(function(){C(fo)(a)&&$wnd.setTimeout(arguments.callee,b)},b)}
|
47
|
+
u(108,106,{},Zn);_.b=null;_.c=null;_.d=null;_.e=!1;_.f=null;_.i=null;_.j=null;_.k=!1;var Yn;function bo(a){this.b=a}u(109,1,{},bo);
|
48
|
+
_.Fc=function(){this.b.e=!0;var a=this.b,b;a.b&&(b=a.b,a.b=null,!a.i&&(a.i=[]),go(b,a.i));if(a.i){b=a.i;var c,d,e,f,g,j;g=b.length;if(0==g)b=null;else{c=!1;for(d=new Jk;100>nk()-d.b;){e=!1;for(f=0;f<g;++f)if(j=b[f])e=!0,j[0].Fc()||(b[f]=null,c=!0);if(!e)break}if(c){c=[];for(f=0;f<g;++f)b[f]&&(c[c.length]=b[f]);b=0==c.length?null:c}}a.i=b}this.b.e=!1;return this.b.k=!!this.b.b||!!this.b.i};_.b=null;function eo(a){this.b=a}u(110,1,{},eo);_.Fc=function(){this.b.e&&co(this.b.f,1);return this.b.k};
|
49
|
+
_.b=null;function En(){var a,b,c;try{null.a()}catch(d){a=d}var e=Gn(a);3<=e.length&&e.splice(0,3);c=y(An,m,131,e.length,0);for(a=0,b=c.length;a<b;++a)c[a]=new In(e[a]);zn(c)}function Gn(a){var b,c,d,e,a=a&&a.message?a.message.split(aa):[];for(b=0,c=0,e=a.length;c<e;++b,c+=2)d=a[c].lastIndexOf("function "),-1==d?a[b]=l:a[b]=ho(io(a[c],d+9));a.length=b;for(b=0,c=a.length;b<c;++b)a[b]=0==a[b].length?"anonymous":a[b];return a}u(116,1,{});function yn(a,b){a.b+=b}function jo(){}u(117,116,{},jo);_.b=l;
|
50
|
+
function G(a,b){return parseInt(a[b])||0}function ko(a,b){return null==a[b]?null:""+a[b]}function lo(a,b){var c,d,e;for(c=a.indexOf(b);-1!=c;){if(0==c||32==a.charCodeAt(c-1))if(d=c+b.length,e=a.length,d==e||d<e&&32==a.charCodeAt(d))break;c=a.indexOf(b,c+1)}return c}function mo(a){for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function no(a){a=a.parentNode;(!a||1!=a.nodeType)&&(a=null);return a}function Gj(a){a=a.button;return 1==a?4:2==a?2:1}
|
51
|
+
function ek(a){for(var b=0,c=a.parentNode;c&&c.offsetParent;)c.tagName!=Jc&&c.tagName!=Ic&&(b-=c.scrollLeft),c=c.parentNode;for(;a;)b+=a.offsetLeft,a=a.offsetParent;return b}function gk(a){for(var b=0,c=a.parentNode;c&&c.offsetParent;)c.tagName!=Jc&&c.tagName!=Ic&&(b-=c.scrollTop),c=c.parentNode;for(;a;)b+=a.offsetTop,a=a.offsetParent;return b}function oo(){var a=$doc;!a.gwt_uid&&(a.gwt_uid=1);return"gwt-uid-"+a.gwt_uid++}
|
52
|
+
function xj(){var a=$doc;return(H(a.compatMode,Eb)?a.documentElement:a.body).clientHeight}function wj(){var a=$doc;return(H(a.compatMode,Eb)?a.documentElement:a.body).clientWidth}function po(a){return(H(a.compatMode,Eb)?a.documentElement:a.body).scrollLeft||0}function qo(a){return(H(a.compatMode,Eb)?a.documentElement:a.body).scrollTop||0}function I(a,b){this.c=a;this.d=b}u(140,1,{117:1,121:1,123:1});_.eQ=function(a){return this===a};_.hC=function(){return Gi(this)};_.tS=function(){return this.c};
|
53
|
+
_.c=null;_.d=0;function Dj(){Dj=x;ro=new so;to=new uo;vo=new wo;xo=new yo;zo=new Ao;Bo=K(Co,m,6,[ro,to,vo,xo,zo])}u(139,140,Bi);var Bo,vo,to,xo,ro,zo;function so(){I.call(this,hc,0)}u(141,139,Bi,so);function uo(){I.call(this,"DOTTED",1)}u(142,139,Bi,uo);function wo(){I.call(this,"DASHED",2)}u(143,139,Bi,wo);function yo(){I.call(this,"HIDDEN",3)}u(144,139,Bi,yo);function Ao(){I.call(this,"SOLID",4)}u(145,139,Bi,Ao);
|
54
|
+
function Do(){Do=x;Eo=new Fo;Go=new Ho;Io=new Jo;Ko=new Lo;Mo=new No;Oo=new Po;Qo=new Ro;So=new To;Uo=new Vo;Wo=new Xo;Yo=new Zo;$o=new ap;bp=new cp;dp=new ep;fp=new gp;hp=new ip;jp=new kp;lp=new mp;np=K(op,m,7,[Eo,Go,Io,Ko,Mo,Oo,Qo,So,Uo,Wo,Yo,$o,bp,dp,fp,hp,jp,lp])}u(146,140,di);var np,Go,jp,Io,Eo,Oo,hp,Mo,Qo,So,Uo,Ko,lp,Wo,Yo,$o,dp,fp,bp;function Fo(){I.call(this,Nb,0)}u(147,146,di,Fo);function Xo(){I.call(this,"SE_RESIZE",9)}u(148,146,di,Xo);function Zo(){I.call(this,"SW_RESIZE",10)}
|
55
|
+
u(149,146,di,Zo);function ap(){I.call(this,"S_RESIZE",11)}u(150,146,di,ap);function cp(){I.call(this,"W_RESIZE",12)}u(151,146,di,cp);function ep(){I.call(this,"TEXT",13)}u(152,146,di,ep);function gp(){I.call(this,"WAIT",14)}u(153,146,di,gp);function ip(){I.call(this,"HELP",15)}u(154,146,di,ip);function kp(){I.call(this,"COL_RESIZE",16)}u(155,146,di,kp);function mp(){I.call(this,"ROW_RESIZE",17)}u(156,146,di,mp);function Ho(){I.call(this,"AUTO",1)}u(157,146,di,Ho);
|
56
|
+
function Jo(){I.call(this,"CROSSHAIR",2)}u(158,146,di,Jo);function Lo(){I.call(this,"POINTER",3)}u(159,146,di,Lo);function No(){I.call(this,"MOVE",4)}u(160,146,di,No);function Po(){I.call(this,"E_RESIZE",5)}u(161,146,di,Po);function Ro(){I.call(this,"NE_RESIZE",6)}u(162,146,di,Ro);function To(){I.call(this,"NW_RESIZE",7)}u(163,146,di,To);function Vo(){I.call(this,"N_RESIZE",8)}u(164,146,di,Vo);function pp(){pp=x;qp=new rp;sp=new tp;up=new vp;wp=new xp;yp=K(zp,m,8,[qp,sp,up,wp])}u(165,140,wi);
|
57
|
+
var yp,sp,up,wp,qp;function rp(){I.call(this,hc,0)}u(166,165,wi,rp);function tp(){I.call(this,"BLOCK",1)}u(167,165,wi,tp);function vp(){I.call(this,"INLINE",2)}u(168,165,wi,vp);function xp(){I.call(this,"INLINE_BLOCK",3)}u(169,165,wi,xp);function Ap(){Ap=x;Bp=new Cp;Dp=new Ep;Fp=new Gp;Hp=new Ip;Jp=K(Kp,m,10,[Bp,Dp,Fp,Hp])}u(170,140,Rh);var Jp,Bp,Dp,Fp,Hp;function Cp(){I.call(this,Db,0)}u(171,170,Rh,Cp);function Ep(){I.call(this,ac,1)}u(172,170,Rh,Ep);function Gp(){I.call(this,cc,2)}
|
58
|
+
u(173,170,Rh,Gp);function Ip(){I.call(this,wc,3)}u(174,170,Rh,Ip);function Cj(){Cj=x;Lp=new Mp;Np=new Op;Pp=new Qp;Rp=new Sp;Tp=new Up;Vp=new Wp;Xp=new Yp;Zp=new $p;aq=new bq;cq=K(dq,m,11,[Lp,Np,Pp,Rp,Tp,Vp,Xp,Zp,aq])}u(175,140,Ai);var cq,Zp,Pp,Rp,Xp,aq,Vp,Np,Tp,Lp;function Mp(){I.call(this,"PX",0)}u(176,175,Ai,Mp);function Op(){I.call(this,"PCT",1)}u(177,175,Ai,Op);function Qp(){I.call(this,"EM",2)}u(178,175,Ai,Qp);function Sp(){I.call(this,"EX",3)}u(179,175,Ai,Sp);
|
59
|
+
function Up(){I.call(this,"PT",4)}u(180,175,Ai,Up);function Wp(){I.call(this,"PC",5)}u(181,175,Ai,Wp);function Yp(){I.call(this,"IN",6)}u(182,175,Ai,Yp);function $p(){I.call(this,"CM",7)}u(183,175,Ai,$p);function bq(){I.call(this,"MM",8)}u(184,175,Ai,bq);function eq(){eq=x;fq=[];gq=[];hq=[]}var fq,gq,hq;function iq(){iq=x;jq=new kq}function lq(a){var b;b=$doc.createElement("style");b.language="text/css";b.textContent=a||l;return b}
|
60
|
+
function mq(a){var b;a.b||(b=$doc.getElementsByTagName("head")[0],a.b=b);return a.b}function kq(){}u(187,1,{},kq);_.b=null;var jq;u(199,1,{});_.tS=function(){return"An event type"};_.i=null;u(198,199,{});_.Ic=function(){this.f=!1;this.i=null};_.f=!1;u(197,198,{});_.Hc=function(){return this.Jc()};_.b=null;var nq=_.c=null;function oq(){oq=x;pq=new qq(nd,new rq)}function rq(){}u(196,197,{},rq);_.Gc=function(a){a.Kc(this)};_.Jc=function(){return pq};var pq;function sq(){sq=x;tq=new qq(vd,new uq)}
|
61
|
+
function uq(){}u(200,197,{},uq);_.Gc=function(a){vq();wq(this,a.c,xq(a.b.b,a.b.b.pb.selectedIndex))};_.Jc=function(){return tq};var tq;u(203,197,yi);function Lj(a,b){return(a.b.clientX||0)-ek(b)+(b.scrollLeft||0)+po(b.ownerDocument)}function Mj(a,b){return(a.b.clientY||0)-gk(b)+(b.scrollTop||0)+qo(b.ownerDocument)}function Ej(a){var b;return(b=a.c)?Lj(a,b):a.b.clientX||0}function Fj(a){var b;return(b=a.c)?Mj(a,b):a.b.clientY||0}u(202,203,yi);function yq(){yq=x;zq=new qq(yd,new Aq)}
|
62
|
+
function Aq(){}u(201,202,yi,Aq);_.Gc=function(a){a.Lc(this)};_.Jc=function(){return zq};var zq;function Bq(){Bq=x;Cq=new qq(Md,new Dq)}function Dq(){}u(204,197,{},Dq);_.Gc=function(){this.b.preventDefault();this.b.stopPropagation()};_.Jc=function(){return Cq};var Cq;u(207,1,{83:1});_.hC=function(){return this.d};_.tS=function(){return"Event type"};var Eq=_.d=0;function Dk(){this.d=++Eq}u(206,207,Zh,Dk);function qq(a,b){this.d=++Eq;this.b=b;!nq&&(nq=new Fq);nq.b[a]=this;this.c=a}u(205,206,Zh,qq);
|
63
|
+
_.b=null;_.c=null;function Gq(){Gq=x;Hq=new qq(Pd,new Iq)}function Iq(){}u(208,202,yi,Iq);
|
64
|
+
_.Gc=function(a){var b=a.b,a=!a.b.I.d,c,d;if(a!=b.I.d)if(b.kb){if(a){if(b.O!=(Jq(),Kq))a=Lq(b.pb),c=new Mq(G(b.pb,Rf),G(b.pb,Qf)),d=new Mq(G(b.T.jb.pb,Rf),G(b.T.jb.pb,Qf)),b.F.c=a.c-(c.c-d.c),b.F.b=a.b-(c.b-d.b);Nq(b.I,!0);a=G(b.T.jb.pb,Rf);Oq(b,new Mq(a,Pq(b.T.jb).b));b.J&&b.O!=Kq&&Qq(b.r,b)}else Nq(b.I,!1),b.O!=(Jq(),Kq)?Oq(b,new Mq(b.F.c,b.F.b)):Rq(b,Lq(b.r.pb)),b.J&&b.O!=Kq&&Sq(b.r,b);Tq(b.T.jb)}else Nq(b.I,!0)};_.Jc=function(){return Hq};var Hq;u(209,197,{});
|
65
|
+
function Uq(){Uq=x;Vq=new qq(ge,new Wq)}function Wq(){}u(210,209,{},Wq);_.Gc=function(){this.b.stopPropagation();this.b.preventDefault()};_.Jc=function(){return Vq};var Vq;function Xq(){Xq=x;Yq=new qq(he,new Zq)}function Zq(){}u(211,209,{},Zq);_.Gc=function(){this.b.stopPropagation();this.b.preventDefault()};_.Jc=function(){return Yq};var Yq;function $q(){$q=x;ar=new qq(ie,new br)}function br(){}u(212,209,{},br);_.Gc=function(){this.b.stopPropagation();this.b.preventDefault()};_.Jc=function(){return ar};
|
66
|
+
var ar;function cr(){cr=x;dr=new qq(je,new er)}function er(){}u(213,209,{},er);_.Gc=function(a){a=fr(a.b);(this.b.dataTransfer||null).setData(Mg,a)};_.Jc=function(){return dr};var dr;function gr(){gr=x;hr=new qq(ke,new ir)}function ir(){}u(214,209,{},ir);
|
67
|
+
_.Gc=function(a){var b,c,d,e;this.b.stopPropagation();this.b.preventDefault();d=(this.b.dataTransfer||null).files;e=0;a:for(;e<d.length;++e){if(0<a.b.e&&e>=a.b.e)break a;b=d[e];c=new FileReader;jr(c,a.b.c);1==a.b.d&&c.readAsText(b)}0==d.length&&(b=(this.b.dataTransfer||null).getData(Mg),a.b.c.Je(b))};_.Jc=function(){return hr};var hr;function kr(){kr=x;lr=new qq(pe,new mr)}function mr(){}u(215,197,{},mr);_.Gc=function(a){dk(a.b.b)};_.Jc=function(){return lr};var lr;
|
68
|
+
function nr(){nr=x;or=new qq(xe,new pr)}function pr(){}u(216,197,{},pr);_.Gc=function(a){var b,c;b=this.b.rotation;c=this.b.scale;a.b.f&&(0!=b&&a.b.c.c!=b&&(a.b.c.c=b,a.b.c.b=null,qr(a.b.f,a.b.c)&&this.b.preventDefault()),a.b.e=!0);a.b.i&&(1!=c&&a.b.c.d!=c&&(a.b.c.b=null,a.b.c.d=c,rr(a.b.i,a.b.c)&&this.b.preventDefault()),a.b.e=!0)};_.Jc=function(){return or};var or;function sr(){sr=x;tr=new qq(ye,new ur)}function ur(){}u(217,197,{},ur);_.Gc=function(a){a.b.b&&(a.b.c.b=null,vr(a.b.b,a.b.c))};
|
69
|
+
_.Jc=function(){return tr};var tr;function wr(){wr=x;xr=new qq(ze,new yr)}function yr(){}u(218,197,{},yr);_.Gc=function(){this.b.preventDefault()};_.Jc=function(){return xr};var xr;u(220,197,{});u(219,220,{});function zr(){zr=x;Ar=new qq(We,new Br)}function Br(){}u(221,219,{},Br);
|
70
|
+
_.Gc=function(a){var b,c;c=this.b.keyCode||0;0<=c&&c<(Cr(),Dr).length&&-999!=(Cr(),Dr)[c]&&(c=(Cr(),Dr)[c]);b=new Er(null,c,null);if(this.b.ctrlKey||this.b.shiftKey||this.b.metaKey||this.b.altKey)this.b.ctrlKey&&(b.f|=2),this.b.altKey&&(b.f|=8),this.b.metaKey&&(b.f|=4),this.b.shiftKey&&(b.f|=1);a:{var a=a.b.d,d=c,e;a.lb=!1;if(!a.A){a.lb=!0;a.K=l;c=0;e=8==b.f;b=0!=(b.f&2);switch(d){case 99:case 67:b?Fr(fr(a)):c=301;break;case 118:case 86:b&&a.wb&&(b=a.v,d=(!a.xb&&(a.xb=new Gr(a)),a.xb),b.b=d,Hr(),
|
71
|
+
Ir(b));break;case 110:case 78:c=401;break;case 111:case 79:c=501;break;case 115:case 83:c=601;break;case 112:case 80:c=1101;break;case 102:case 70:c=701;break;case 108:case 76:c=801;break;case 98:case 66:c=901;break;case 105:case 73:c=1001;break;case 120:case 88:a.Sb&&(Jr(a,ko((Kr(),Lr).hc.b.pb,ch)),c=1201,a.e=18);break;case 104:case 72:a.lb=!0;a.K=Vb;c=1300;break;case 114:case 82:a.lb=!0;a.K=pc;c=1301;break;case 116:case 84:701==a.d?(c=236,a.lb=!0,a.K=Ka):801==a.d?(c=237,a.lb=!0,a.K=Ja):(c=233,a.lb=
|
72
|
+
!0,a.K="-tBu");break;case 121:case 89:b?c=111:(c=234,a.lb=!0,a.K=Ra);break;case 122:case 90:b?c=110:(c=239,a.lb=!0,a.K=Ua);break;case 97:case 65:c=235;a.lb=!0;a.K="-COOH";break;case 101:case 69:c=238;a.lb=!0;a.K=Ea;break;case 117:case 85:c=110;break;case 113:case 81:c=242;a.lb=!0;a.K=Fa;break;case 103:a=!0;break a;case 27:c=202;break;case 45:701==a.d?(c=254,a.lb=!0,a.K="-F"):801==a.d?(c=255,a.lb=!0,a.K="-Cl"):901==a.d?(c=256,a.lb=!0,a.K="-Br"):1001==a.d?(c=257,a.lb=!0,a.K="-I"):501==a.d?(c=259,a.lb=
|
73
|
+
!0,a.K="-OH"):401==a.d?(c=258,a.lb=!0,a.K="-NH2"):c=202;break;case 61:501==a.d?(c=250,a.lb=!0,a.K="=O"):c=203;break;case 35:c=204;break;case 48:105==a.d?Mr(a,0):e?(c=223,a.lb=!0,a.K="-3-Furyl"):(c=221,a.lb=!0,a.K="-Furyl");break;case 49:105==a.d?Mr(a,1):1301==a.d?(a.lb=!0,a.K="-R1",c=1302):c=209;break;case 50:105==a.d&&Mr(a,2);1301==a.d&&(a.lb=!0,a.K="-R2",c=1303);break;case 51:105==a.d?Mr(a,3):1301==a.d?(a.lb=!0,a.K="-R3",c=1304):c=206;break;case 52:105==a.d?Mr(a,4):c=207;break;case 53:105==a.d?
|
74
|
+
Mr(a,5):c=208;break;case 54:105==a.d?Mr(a,6):c=210;break;case 55:105==a.d?Mr(a,7):c=211;break;case 56:105==a.d?Mr(a,8):c=212;break;case 57:105==a.d?Mr(a,9):(a.lb=!0,a.K="9 ring",c=229);break;case 100:case 68:case 8:case 127:c=104;break;case 32:c=205;break;case 109:case 77:case 1002:c=151;break;case 119:case 87:case 1003:c=152}Nr(a,c)}a=!0}a&&this.b.preventDefault()};_.Jc=function(){return Ar};var Ar;function Or(){Or=x;Pr=new qq(sf,new Qr)}function Qr(){}u(222,202,yi,Qr);_.Gc=function(a){a.uc(this)};
|
75
|
+
_.Jc=function(){return Pr};var Pr;function yj(){yj=x;zj=new qq(tf,new Rr)}function Rr(){}u(223,202,yi,Rr);_.Gc=function(a){a.vc(this)};_.Jc=function(){return zj};var zj;function Sr(){Sr=x;Tr=new qq(uf,new Ur)}function Ur(){}u(224,202,yi,Ur);_.Gc=function(a){var b;a.f&&1==a.e&&(b=new Kj(mj,null),a.c.j=a.i+b.b,a.c.k=a.j+b.e,nj(a))};_.Jc=function(){return Tr};var Tr;function Vr(){Vr=x;Wr=new qq(Af,new Xr)}function Xr(){}u(225,202,yi,Xr);_.Gc=function(a){var b;b=this.b;$n((Xn(),Yn),new Yr(a,a.c,b))};
|
76
|
+
_.Jc=function(){return Wr};var Wr;function Aj(){Aj=x;Bj=new qq(Bf,new Zr)}function Zr(){}u(226,202,yi,Zr);_.Gc=function(a){a.wc(this)};_.Jc=function(){return Bj};var Bj;function Fq(){this.b={}}u(227,1,{},Fq);_.b=null;u(230,203,yi);var $r=null;function as(){as=x;bs=new qq(Ug,new cs)}function cs(){}u(229,230,yi,cs);_.Gc=function(a){ds(a.b,this,a.b.n)};_.Jc=function(){return bs};var bs;function es(){es=x;fs=new qq(Vg,new gs)}function gs(){}u(231,230,yi,gs);_.Gc=function(a){ds(a.b,this,a.b.n)};_.Jc=function(){return fs};
|
77
|
+
var fs;function hs(){var a;this.b=(a=document.createElement(Yd),a.setAttribute(Sf,"return;"),typeof a.ontouchstart==ve)}u(232,1,{},hs);function is(){is=x;js=new qq(Wg,new ks)}function ks(){}u(233,230,yi,ks);_.Gc=function(a){ds(a.b,this,a.b.o)};_.Jc=function(){return js};var js;function ls(){ls=x;ms=new qq(Xg,new ns)}function ns(){}u(234,230,yi,ns);_.Gc=function(a){os(a.b,this)&&(a.b.k&&ps(a.b.k,a.b.c)?a.b.e=!0:(this.b.preventDefault(),rk(a.b.d,750),a.b.e=!1))};_.Jc=function(){return ms};var ms;
|
78
|
+
function qs(a,b){this.b=b;this.c=a}function rs(a,b,c){Ck&&(b=new qs(b,c),a.Yc(b))}u(235,198,{},qs);_.Gc=function(a){a.Uc(this)};_.Hc=function(){return Ck};_.b=!1;var Ck=_.c=null;function ss(a){this.b=a}u(236,198,{},ss);_.Gc=function(a){a.Vc(this)};_.Hc=function(){return ts};var ts=_.b=null;function us(){}function vs(a){var b;ws&&(b=new us,a.Yc(b))}u(237,198,{},us);_.Gc=function(a){a.Wc(this)};_.Hc=function(){return ws};var ws=null;function xs(a){this.b=a}u(238,198,{},xs);_.Gc=function(a){a.Xc(this)};
|
79
|
+
_.Hc=function(){return ys};var ys=_.b=null;function zs(){}u(239,198,{},zs);_.Gc=function(a){a.b.W&&a.b.Id()};_.Hc=function(){return As};var As=null;function Bs(a,b,c){a=a.b;if(!b)throw new Cs("Cannot add a handler with a null type");if(!c)throw new Cs("Cannot add a null handler");0<a.c?Ds(a,new Es(a,b,c)):Fs(a,b,null,c);return new Gs(new Hs(a,b,c))}
|
80
|
+
function Is(a,b){var c;!b.f||b.Ic();c=b.i;b.i=a.c;try{var d=a.b,e,f,g,j,h;if(!b)throw new Cs("Cannot fire null event");try{++d.c;j=Js(d,b.Hc(),null);e=null;for(h=d.d?j.Kf(j.Fe()):j.Jf();d.d?h.Mf():h._c();){g=d.d?h.Nf():h.ad();try{b.Gc(g)}catch(n){if(n=Ui(n),A(n,132))f=n,!e&&(e=new Ks),Ls(e,f);else throw n;}}if(e)throw new Ms(e);}finally{if(--d.c,0==d.c){var o,r;if(d.b)try{for(r=new Oi(d.b);r.c<r.e.Fe();)o=Pi(r),o.xc()}finally{d.b=null}}}}catch(q){q=Ui(q);if(A(q,84))throw new Ns(q.b);throw q;}finally{null==
|
81
|
+
c?(b.f=!0,b.i=null):b.i=c}}function Os(a){Ps.call(this,a,!1)}function Ps(a,b){this.b=new Qs(b);this.c=a}u(240,1,Th,Os,Ps);_.Yc=function(a){Is(this,a)};_.b=null;_.c=null;u(243,1,{});function Ds(a,b){!a.b&&(a.b=new ij);cj(a.b,b)}function Fs(a,b,c,d){var e;e=lj(a.e,b);e||(e=new Mi,z(a.e,b,e));a=e.Be(c);a||(a=new ij,e.De(c,a));a.Bf(d)}function Rs(a,b,c,d){var e,f;e=Js(a,b,c);e.Df(d)&&e.Ce()&&(f=lj(a.e,b),f.Ee(c),f.Ce()&&Xi(a.e,b))}
|
82
|
+
function Js(a,b,c){a=lj(a.e,b);if(!a)return Ss(),Ss(),Ts;c=a.Be(c);return!c?(Ss(),Ss(),Ts):c}u(242,243,{});_.b=null;_.c=0;_.d=!1;function Qs(a){this.e=new Mi;this.d=a}u(241,242,{},Qs);function Gs(a){this.b=a}u(244,1,{},Gs);_.b=null;function Ms(a){Vi.call(this,Us(a),Vs(a));this.b=a}function Vs(a){a=a.Bd();return!a._c()?null:a.ad()}
|
83
|
+
function Us(a){var b,c,d;b=a.Fe();if(0==b)return null;b=new Ws(1==b?"Exception caught: ":b+" exceptions caught: ");c=!0;for(a=a.Bd();a._c();)d=a.ad(),c?c=!1:b.b.b+="; ",d=d.Ec(),yn(b.b,d);return b.b.b}u(246,97,li,Ms);_.b=null;function Ns(a){Ms.call(this,a)}u(245,246,li,Ns);u(247,1,{},function(){});function Xs(a){a=ko(a,Sd);return Ys(rg,a)?(Zs(),$s):Ys(ff,a)?(Zs(),at):(Zs(),bt)}function Zs(){Zs=x;$s=new ct("RTL",0);at=new ct("LTR",1);bt=new ct(Nb,2);dt=K(et,m,49,[$s,at,bt])}
|
84
|
+
function ct(a,b){I.call(this,a,b)}u(249,140,{49:1,117:1,121:1,123:1},ct);var dt,bt,at,$s;function ft(){}function gt(a,b){var c=Array(b);if(3==a)for(var d=0;d<b;++d){var e={};e.l=e.m=e.h=0;c[d]=e}else if(0<a){e=[null,0,!1][a];for(d=0;d<b;++d)c[d]=e}return c}function y(a,b,c,d,e){d=gt(e,d);K(a,b,c,d);return d}function ht(a){return vt([wt,M],[m,s],[116,-1],a,0,2,1)}
|
85
|
+
function vt(a,b,c,d,e,f,g){var j,h,n;h=d[e];j=e==f-1;n=gt(j?g:0,h);K(a[e],b[e],c[e],n);if(!j){++e;for(j=0;j<h;++j)n[j]=vt(a,b,c,d,e,f,g)}return n}function K(a,b,c,d){xt();var e=yt,f=zt;xt();for(var g=0,j=e.length;g<j;++g)d[e[g]]=f[g];d.cZ=a;d.cM=b;d.qI=c;return d}function At(a,b,c){if(null!=c){if(0<a.qI&&(!c.cM||!c.cM[a.qI]))throw new Bt;if(-1==a.qI&&(c.tM==x||c.cM&&c.cM[1]))throw new Bt;if(-1>a.qI&&(c.tM==x||c.cM&&c.cM[1])&&(!c.cM||!c.cM[-a.qI]))throw new Bt;}a[b]=c}u(250,1,{},ft);_.qI=0;
|
86
|
+
function xt(){xt=x;yt=[];zt=[];var a=new ft,b=yt,c=zt,d=0,e,f;for(f in a)if(e=a[f])b[d]=f,c[d]=e,++d}var yt,zt;function A(a,b){return null!=a&&a.cM&&!!a.cM[b]}function Hn(a){return null!=a&&a.tM!=x&&!(a.cM&&a.cM[1])}function Ln(a){return a.tM==x||a.cM&&!!a.cM[1]}function Ct(a){return null==a?null:a}function Dt(a){return~~Math.max(Math.min(a,2147483647),-2147483648)}
|
87
|
+
function Et(){var a;$stats&&Ft("com.google.gwt.useragent.client.UserAgentAsserter");a=navigator.userAgent.toLowerCase();if(-1!=a.indexOf(Tf))a=Tf;else if(-1!=a.indexOf("webkit"))a="safari";else if(-1!=a.indexOf(Ef)&&9<=$doc.documentMode)a="ie9";else if(-1!=a.indexOf(Ef)&&8<=$doc.documentMode)a="ie8";else{var b;var c=/msie ([0-9]+)\.([0-9]+)/.exec(a);c&&3==c.length&&(b=6E3<=1E3*parseInt(c[1])+parseInt(c[2]));a=b?"ie6":-1!=a.indexOf("gecko")?"gecko1_8":"unknown"}H(Tf,a)||$wnd.alert("ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (opera) does not match the runtime user.agent value ("+
|
88
|
+
a+"). Expect more errors.\n");$stats&&Ft("com.google.gwt.user.client.DocumentModeAsserter");b=$doc.compatMode;a=K(Gt,m,1,[Eb]);for(c=0;c<a.length&&!H(a[c],b);++c);$stats&&Ft("com.allen_sauer.gwt.dnd.client.util.DragEntryPoint");$wnd.$GWT_DND_VERSION="3.0.0";eq();hq.unshift("HTML{margin:0 !important;border:none !important;}.dragdrop-handle{cursor:move;user-select:none;-khtml-user-select:none;-moz-user-select:none;}.GBVTBU-BB{zoom:1;}.dragdrop-dragging{zoom:normal;}.GBVTBU-BI{border:1px dashed #1e90ff;margin:0 !important;zoom:1;z-index:100;}.dragdrop-flow-panel-positioner{color:#1e90ff;display:inline;text-align:center;vertical-align:middle;}.dragdrop-proxy{background-color:#7af;}.dragdrop-selected,.dragdrop-dragging,.dragdrop-proxy{filter:alpha(opacity \\= 30);opacity:0.3;}.dragdrop-movable-panel{z-index:200;margin:0 !important;border:none !important;}");
|
89
|
+
eq();0!=hq.length&&(a=hq.join(l),b=(iq(),jq),a=lq(a),mq(b).insertBefore(a,b.b.firstChild),hq.length=0);0!=fq.length&&(a=fq.join(l),b=(iq(),jq),a=lq(a),mq(b).appendChild(a),fq.length=0);0!=gq.length&&(a=gq.join(l),b=(iq(),jq),a=lq(a),mq(b).appendChild(a),gq.length=0);$stats&&Ft("export.client.JSME_export");new Ht;new It;0<Jt(null)?$n((Xn(),Yn),new Kt):Lt()}function Ui(a){return A(a,132)?a:new Fn(a)}function Mt(a){return Nt(a&4194303,a>>22&4194303,0>a?1048575:0)}
|
90
|
+
function Ot(a){return Nt(a.l,a.m,a.h)}function Nt(a,b,c){return _=new Pt,_.l=a,_.m=b,_.h=c,_}
|
91
|
+
function Qt(a,b){var c,d,e,f,g;if(0==b.l&&0==b.m&&0==b.h)throw new Rt;if(0==a.l&&0==a.m&&0==a.h)return St=Nt(0,0,0),Nt(0,0,0);if(524288==b.h&&0==b.m&&0==b.l)return c=a,524288==c.h&&0==c.m&&0==c.l?(St=Nt(0,0,0),c=Ot((Tt(),Ut))):(St=Nt(c.l,c.m,c.h),c=Nt(0,0,0)),c;g=!1;0!=b.h>>19&&(b=Vt(b),g=!0);e=b.l;0!=(e&e-1)?f=-1:(d=b.m,0!=(d&d-1)?f=-1:(c=b.h,f=0!=(c&c-1)||0==c&&0==d&&0==e?-1:0==c&&0==d&&0!=e?Wt(e):0==c&&0!=d&&0==e?Wt(d)+22:0!=c&&0==d&&0==e?Wt(c)+44:-1));c=d=e=!1;if(524288==a.h&&0==a.m&&0==a.l)if(e=
|
92
|
+
d=!0,-1==f)a=Ot((Tt(),Xt)),c=!0,g=!g;else return c=Yt(a,f),g&&Zt(c),St=Nt(0,0,0),c;else 0!=a.h>>19&&(e=!0,a=Vt(a),c=!0,g=!g);if(-1!=f){c=a;d=f;f=g;g=e;e=Yt(c,d);f&&Zt(e);var j;22>=d?(f=c.l&(1<<d)-1,j=c=0):44>=d?(f=c.l,j=c.m&(1<<d-22)-1,c=0):(f=c.l,j=c.m,c=c.h&(1<<d-44)-1);c=Nt(f,j,c);g?St=Vt(c):St=Nt(c.l,c.m,c.h);return e}if(!$t(a,b))return e?St=Vt(a):St=Nt(a.l,a.m,a.h),Nt(0,0,0);c=c?a:Nt(a.l,a.m,a.h);var h,n,o,r;f=au(b)-au(c);h=f&63;22>h?(j=b.l<<h,n=b.m<<h|b.l>>22-h,h=b.h<<h|b.m>>22-h):44>h?(j=0,
|
93
|
+
n=b.l<<h-22,h=b.m<<h-22|b.l>>44-h):(n=j=0,h=b.l<<h-44);j=Nt(j&4194303,n&4194303,h&1048575);for(n=Nt(0,0,0);0<=f;){h=c;var q=r=o=void 0,q=h.h-j.h;0>q?h=!1:(o=h.l-j.l,r=h.m-j.m+(o>>22),q+=r>>22,0>q?h=!1:(h.l=o&4194303,h.m=r&4194303,h.h=q&1048575,h=!0));if(h&&(22>f?n.l|=1<<f:44>f?n.m|=1<<f-22:n.h|=1<<f-44,0==c.l&&0==c.m&&0==c.h))break;h=j.m;o=j.h;r=j.l;j.h=o>>>1;j.m=h>>>1|(o&1)<<21;j.l=r>>>1|(h&1)<<21;--f}g&&Zt(n);e?(St=Vt(c),d&&(St=bu(St,(Tt(),Ut)))):St=Nt(c.l,c.m,c.h);return n}
|
94
|
+
function Zt(a){var b,c,d;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;d=~a.h+(0==b&&0==c?1:0)&1048575;a.l=b;a.m=c;a.h=d}function au(a){var b;b=cu(a.h);return 32==b?(b=cu(a.m),32==b?cu(a.l)+32:b+20-10):b-12}var St=null;function du(a,b){var c,d;c=a.l+b.l;d=a.m+b.m+(c>>22);return Nt(c&4194303,d&4194303,a.h+b.h+(d>>22)&1048575)}function eu(a,b){return Nt(a.l&b.l,a.m&b.m,a.h&b.h)}function fu(a,b){return a.l==b.l&&a.m==b.m&&a.h==b.h}
|
95
|
+
function N(a){var b,c,d;if(isNaN(a))return Tt(),gu;if(-9223372036854775E3>a)return Tt(),hu;if(9223372036854775E3<=a)return Tt(),Xt;d=!1;0>a&&(d=!0,a=-a);c=0;17592186044416<=a&&(c=Dt(a/17592186044416),a-=17592186044416*c);b=0;4194304<=a&&(b=Dt(a/4194304),a-=4194304*b);a=Dt(a);b=Nt(a,b,c);d&&Zt(b);return b}function iu(a){var b,c;return-129<a&&128>a?(b=a+128,null==ju&&(ju=y(ku,m,50,256,0)),c=ju[b],!c&&(c=ju[b]=Mt(a)),c):Mt(a)}
|
96
|
+
function lu(a){var b=mh,c,d;c=a.h>>19;d=b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<=b.l)}function $t(a,b){var c,d;c=a.h>>19;d=b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>=b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<b.l)}
|
97
|
+
function mu(a,b){var c,d,e,f,g,j,h,n,o,r,q,t,v,D;c=a.l&8191;d=a.l>>13|(a.m&15)<<9;e=a.m>>4&8191;f=a.m>>17|(a.h&255)<<5;g=(a.h&1048320)>>8;j=b.l&8191;h=b.l>>13|(b.m&15)<<9;n=b.m>>4&8191;o=b.m>>17|(b.h&255)<<5;r=(b.h&1048320)>>8;q=c*j;v=d*j;t=e*j;D=f*j;g*=j;0!=h&&(v+=c*h,t+=d*h,D+=e*h,g+=f*h);0!=n&&(t+=c*n,D+=d*n,g+=e*n);0!=o&&(D+=c*o,g+=d*o);0!=r&&(g+=c*r);c=(q&4194303)+((v&511)<<13);q=(q>>22)+(v>>9)+((t&262143)<<4)+((D&31)<<17)+(c>>22);t=(t>>18)+(D>>5)+((g&4095)<<8)+(q>>22);return Nt(c&4194303,q&
|
98
|
+
4194303,t&1048575)}function Vt(a){var b,c;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;return Nt(b,c,~a.h+(0==b&&0==c?1:0)&1048575)}function Yt(a,b){var c,d,e,b=b&63;c=a.h;(d=0!=(c&524288))&&(c|=-1048576);22>b?(e=c>>b,d=a.m>>b|c<<22-b,c=a.l>>b|a.m<<22-b):44>b?(e=d?1048575:0,d=c>>b-22,c=a.m>>b-22|c<<44-b):(e=d?1048575:0,d=d?4194303:0,c>>=b-44);return Nt(c&4194303,d&4194303,e&1048575)}function bu(a,b){var c,d;c=a.l-b.l;d=a.m-b.m+(c>>22);return Nt(c&4194303,d&4194303,a.h-b.h+(d>>22)&1048575)}
|
99
|
+
function O(a){return a.l|a.m<<22}function nu(a){var b,c,d;if(0==a.l&&0==a.m&&0==a.h)return ab;if(524288==a.h&&0==a.m&&0==a.l)return"-9223372036854775808";if(0!=a.h>>19)return Ba+nu(Vt(a));for(c=l;!(0==a.l&&0==a.m&&0==a.h);){b=iu(1E9);a=Qt(a,b);b=l+O(St);if(!(0==a.l&&0==a.m&&0==a.h))for(d=9-b.length;0<d;--d)b=ab+b;c=b+c}return c}var ju=null;function Tt(){Tt=x;Xt=Nt(4194303,4194303,524287);hu=Nt(0,0,524288);Ut=iu(1);iu(2);gu=iu(0)}var Xt,hu,Ut,gu;function Pt(){}u(259,1,{50:1},Pt);
|
100
|
+
function Ft(a){$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:"startup",evtGroup:"moduleStartup",millis:(new Date).getTime(),type:"onModuleLoadStart",className:a})}function ou(a,b,c){this.d=this.c=0;this.b=c;this.f=b;this.e=a}u(264,1,{},ou);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function pu(a,b){yn(a.b.b,b.b);return a}function qu(){this.b=new ru}u(265,1,{},qu);function su(a){if(null==a)throw new Cs("css is null");this.b=a}u(266,1,{51:1,117:1},su);
|
101
|
+
_.eQ=function(a){return!A(a,51)?!1:H(this.b,a.b)};_.hC=function(){return tu(this.b)};_.b=null;function uu(a){if(null==a)throw new Cs("html is null");this.b=a}u(268,1,Wh,uu);_.Zc=function(){return this.b};_.eQ=function(a){return!A(a,53)?!1:H(this.b,a.b)};_.hC=function(){return tu(this.b)};_.b=null;u(269,1,Wh,function(){this.b=l});_.Zc=function(){return this.b};_.eQ=function(a){return!A(a,53)?!1:H(this.b,a.b)};_.hC=function(){return tu(this.b)};_.b=null;
|
102
|
+
function vu(){vu=x;wu=RegExp(oa,we);xu=RegExp(qb,we);yu=RegExp(nb,we);zu=RegExp(ta,we);Au=RegExp(da,we)}function Bu(a){vu();-1!=a.indexOf(oa)&&(a=a.replace(wu,pa));-1!=a.indexOf(nb)&&(a=a.replace(yu,ra));-1!=a.indexOf(qb)&&(a=a.replace(xu,qa));-1!=a.indexOf(da)&&(a=a.replace(Au,"""));-1!=a.indexOf(ta)&&(a=a.replace(zu,"'"));return a}var wu,xu,yu,Au,zu;function Cu(a){if(null==a)throw new Cs("uri is null");this.b=a}u(271,1,{54:1},Cu);_.eQ=function(a){return!A(a,54)?!1:H(this.b,a.b)};_.hC=function(){return tu(this.b)};
|
103
|
+
_.b=null;function Du(){Du=x}u(273,1,{});function Eu(){}u(274,1,{},Eu);var Fu=null;function Gu(){}u(275,273,{},Gu);var Hu=null;function Iu(a,b,c){var d,e,f,g,j;if(a)for(g=0,j=c.length;g<j;++g){f=c[g];e=Js(a.b,f,null).Fe();for(e-=1;0<=e;--e)if(d=Js(a.b,f,null).If(e),A(d,55)&&Kn(d.b,b)){var h=a.b,n=f;0<h.c?Ds(h,new Ju(h,n,null,d)):Rs(h,n,null,d)}}}u(276,1,bi);_.b=null;function Ku(a){this.b=a}u(277,276,bi,Ku);_.$c=function(a){a.d&&(this.b.dd(a.e)||(a.b=!0))};function Lu(a){this.b=a}u(278,276,bi,Lu);
|
104
|
+
_.Wc=function(){Mu(this.b.b)};function Nu(){En()}u(279,97,ui,Nu);function Ou(a){0!=a.c.d&&!a.f&&!a.d&&(a.f=!0,rk(a.e,1))}function Pu(){this.b=new Qu(this);this.c=new ij;this.e=new Ru(this);this.i=new Su(this)}u(280,1,{},Pu);_.d=!1;_.f=!1;function Qu(a){xk();this.b=a}u(281,24,{},Qu);_.Dc=function(){if(this.b.d){var a=this.b,b;b=Tu(a.i.e.c,a.i.c);Uu(a.i);A(b,56)&&new Nu;a.d=!1;Ou(a)}};_.b=null;function Ru(a){xk();this.b=a}u(282,24,{},Ru);
|
105
|
+
_.Dc=function(){this.b.f=!1;var a=this.b,b=nk(),c,d,e;e=!1;try{a.d=!0;a.i.b=a.c.d;for(rk(a.b,1E4);a.i.d<a.i.b;){d=Vu(a.i);try{if(null==d)break;A(d,56)&&(c=d,c.xc())}finally{(e=-1==a.i.c)||Uu(a.i)}if(100<=nk()-b)break}}finally{e||(lk(a.b),a.d=!1,Ou(a))}};_.b=null;function Vu(a){var b;a.c=a.d;b=Tu(a.e.c,a.d++);a.d>=a.b&&(a.d=0);return b}function Uu(a){Wu(a.e.c,a.c);--a.b;a.c<=a.d&&0>--a.d&&(a.d=0);a.c=-1}function Su(a){this.e=a}u(283,1,{},Su);_._c=function(){return this.d<this.b};_.ad=function(){return Vu(this)};
|
106
|
+
_.bd=function(){Uu(this)};_.b=0;_.c=-1;_.d=0;_.e=null;function Xu(a,b){var c=(Yu(),Zu(b));a.appendChild(c)}function $u(a,b,c){var d;d=ck;ck=a;b==rj&&8192==av(a.type)&&(rj=null);c.cd(a);ck=d}var ck=null,rj=null;function bv(){bv=x;cv=new Pu}function Ij(a){bv();if(!a)throw new Cs("cmd cannot be null");var b=cv;cj(b.c,a);Ou(b)}var cv;function dv(a){sj();!ev&&(ev=new Dk);fv||(fv=new Ps(null,!0),gv=new hv);return Bs(fv,ev,a)}var fv=null;function iv(a){a.f=!1;a.i=null;a.b=!1;a.c=!1;a.d=!0;a.e=null}
|
107
|
+
function hv(){}u(289,198,{},hv);_.Gc=function(a){a.$c(this);gv.d=!1};_.Hc=function(){return ev};_.Ic=function(){iv(this)};_.b=!1;_.c=!1;_.d=!1;var ev=_.e=null,gv=null;function jv(){jv=x;kv=new lv;mv()||(kv=null)}var kv=null;function zk(){}u(291,1,{},zk);_.Uc=function(){for(;0<(xk(),yk).d;)lk(Tu(yk,0))};function Bk(a,b){return Bs((!nv&&(nv=new ov),nv),a,b)}function pv(a){Ak();qv||(rv(),qv=!0);return Bk((!ws&&(ws=new Dk),ws),a)}function Ak(){sv||(tv(),sv=!0)}
|
108
|
+
function uv(){var a;sv&&(a=new vv,nv&&Is(nv,a));return null}var sv=!1,nv=null,wv=0,xv=0,qv=!1;function yv(){yv=x;zv=new Dk}function vv(){yv()}u(293,198,{},vv);_.Gc=function(){null.hg()};_.Hc=function(){return zv};var zv;function ov(){Os.call(this,null)}u(295,240,Th,ov);
|
109
|
+
function av(a){switch(a){case nd:return 4096;case vd:return 1024;case yd:return 1;case Pd:return 2;case pe:return 2048;case We:return 128;case Xe:return 256;case Ye:return 512;case df:return 32768;case "losecapture":return 8192;case sf:return 4;case tf:return 64;case uf:return 32;case Af:return 16;case Bf:return 8;case "scroll":return 16384;case me:return 65536;case "DOMMouseScroll":case Cf:return 131072;case Md:return 262144;case Yf:return 524288;case Xg:return 1048576;case Wg:return 2097152;case Vg:return 4194304;
|
110
|
+
case Ug:return 8388608;case ze:return 16777216;case xe:return 33554432;case ye:return 67108864;default:return-1}}function sj(){Av||(Bv(),Av=!0)}var Av=!1;function Cv(a,b){for(var c=0,d=a.firstChild;d;){if(1==d.nodeType){if(b==c)return d;++c}d=d.nextSibling}return null}function Dv(a){for(var b=0,a=a.firstChild;a;)1==a.nodeType&&++b,a=a.nextSibling;return b}
|
111
|
+
function Bv(){Ev=C(function(a){var b;var c=fv,d,e,f;ev&&c&&Fv(c.b.e,ev)?(b=gv.b,d=gv.c,e=gv.d,f=gv.e,iv(gv),gv.e=a,Is(c,gv),c=!(gv.b&&!gv.c),gv.b=b,gv.c=d,gv.d=e,gv.e=f,b=c):b=!0;!b&&a&&(a.cancelBubble=!0,a.preventDefault());return!b?(a.stopPropagation(),a.preventDefault(),!1):!0});Gv=C(function(a){for(var b,c=this;c&&!(b=c.__listener);)c=c.parentNode;c&&1!=c.nodeType&&(c=null);b&&!Hn(b)&&A(b,57)&&$u(a,c,b)});Hv=C(function(a){a.preventDefault();Gv.call(this,a)});Iv=C(function(a){this.__gwtLastUnhandledEvent=
|
112
|
+
a.type;Gv.call(this,a)});Jv=C(function(a){if(Ev(a)){var b=tj;b&&b.__listener&&!Hn(b.__listener)&&A(b.__listener,57)&&($u(a,b,b.__listener),a.stopPropagation())}});$wnd.addEventListener(yd,Jv,!0);$wnd.addEventListener(Pd,Jv,!0);$wnd.addEventListener(sf,Jv,!0);$wnd.addEventListener(Bf,Jv,!0);$wnd.addEventListener(tf,Jv,!0);$wnd.addEventListener(Af,Jv,!0);$wnd.addEventListener(uf,Jv,!0);$wnd.addEventListener(Cf,Jv,!0);$wnd.addEventListener(We,Ev,!0);$wnd.addEventListener(Ye,Ev,!0);$wnd.addEventListener(Xe,
|
113
|
+
Ev,!0);$wnd.addEventListener(Xg,Jv,!0);$wnd.addEventListener(Wg,Jv,!0);$wnd.addEventListener(Vg,Jv,!0);$wnd.addEventListener(Ug,Jv,!0);$wnd.addEventListener(ze,Jv,!0);$wnd.addEventListener(xe,Jv,!0);$wnd.addEventListener(ye,Jv,!0)}function Kv(a,b,c){for(var d=0,e=a.firstChild,f=null;e;){if(1==e.nodeType){if(d==c){f=e;break}++d}e=e.nextSibling}a.insertBefore(b,f)}
|
114
|
+
function Lv(a,b){sj();switch(b){case "drag":a.ondrag=Gv;break;case ge:a.ondragend=Gv;break;case he:a.ondragenter=Hv;break;case "dragleave":a.ondragleave=Gv;break;case ie:a.ondragover=Hv;break;case je:a.ondragstart=Gv;break;case ke:a.ondrop=Gv;break;case "canplaythrough":case "ended":case "progress":a.removeEventListener(b,Gv,!1);a.addEventListener(b,Gv,!1);break;default:throw"Trying to sink unknown event type "+b;}}var tj=null,Ev=null,Jv=null,Hv=null,Gv=null,Iv=null;
|
115
|
+
function Mv(a,b){a.__eventBits=b;a.onclick=b&1?Gv:null;a.ondblclick=b&2?Gv:null;a.onmousedown=b&4?Gv:null;a.onmouseup=b&8?Gv:null;a.onmouseover=b&16?Gv:null;a.onmouseout=b&32?Gv:null;a.onmousemove=b&64?Gv:null;a.onkeydown=b&128?Gv:null;a.onkeypress=b&256?Gv:null;a.onkeyup=b&512?Gv:null;a.onchange=b&1024?Gv:null;a.onfocus=b&2048?Gv:null;a.onblur=b&4096?Gv:null;a.onlosecapture=b&8192?Gv:null;a.onscroll=b&16384?Gv:null;a.onload=b&32768?Iv:null;a.onerror=b&65536?Gv:null;a.onmousewheel=b&131072?Gv:null;
|
116
|
+
a.oncontextmenu=b&262144?Gv:null;a.onpaste=b&524288?Gv:null}function Nv(){var a;Nv=x;Ov=(a=$doc,H(a.compatMode,Eb)?a.documentElement:a.body)}var Ov;function Pv(){this.c=new ij}function Qv(a){a=a[Wc];return null==a?-1:a}u(300,1,{},Pv);_.b=null;function Rv(a,b){this.b=a;this.c=b}u(301,1,{},Rv);_.b=0;_.c=null;u(302,1,Th);_.ed=function(a){return decodeURI(a.replace("%23",la))};_.Yc=function(a){Is(this.b,a)};_.fd=function(a){a=null==a?l:a;if(!H(a,null==Sv?l:Sv))Sv=a,As&&(a=new zs,Is(this.b,a))};
|
117
|
+
var Sv=l;function mv(){function a(){$wnd.setTimeout(a,250);e()}var b=kv,c=l,d=$wnd.location.hash;0<d.length&&(c=b.ed(d.substring(1)));Sv=c;var e=C(function(){var a=l,c=$wnd.location.hash;0<c.length&&(a=b.ed(c.substring(1)));b.fd(a)});a();return!0}function lv(){this.b=new Os(null)}u(303,302,Th,lv);
|
118
|
+
function tv(){var a=$wnd.onbeforeunload,b=$wnd.onunload;$wnd.onbeforeunload=function(b){var d;try{d=C(uv)()}finally{b=a&&a(b)}if(null!=d)return d;if(null!=b)return b};$wnd.onunload=C(function(a){try{sv&&rs((!nv&&(nv=new ov),nv),null,!1)}finally{b&&b(a),$wnd.onresize=null,$wnd.onscroll=null,$wnd.onbeforeunload=null,$wnd.onunload=null}})}
|
119
|
+
function rv(){var a=$wnd.onresize;$wnd.onresize=C(function(b){try{var c,d;if(qv&&(d=wj(),c=xj(),xv!=d||wv!=c))xv=d,wv=c,vs((!nv&&(nv=new ov),nv))}finally{a&&a(b)}})}function hj(a,b){Qi(a.ld(),b,!0)}function gj(a,b){Qi(a.ld(),b,!1)}function Tv(a,b){a.pb.style[Ie]=b}function vj(a,b,c){0<=b&&a.qd(b+cg);0<=c&&a.od(c+cg)}function Uv(a,b){null==b||0==b.length?a.pb.removeAttribute(Qg):a.pb.setAttribute(Qg,b)}function Vv(a){var b,a=ko(a,xd);b=Wv(a,Xv(32));return 0<=b?a.substr(0,b-0):a}
|
120
|
+
function Qi(a,b,c){if(!a)throw new Yi(lc);b=ho(b);if(0==b.length)throw new Ek(Hc);if(c){var d;d=ho(b);b=a.className;-1==lo(b,d)&&(0<b.length?a.className=b+ba+d:a.className=d)}else{var e,f,c=ho(b);f=a.className;e=lo(f,c);-1!=e&&(b=ho(f.substr(0,e-0)),c=ho(io(f,e+c.length)),0==b.length?d=c:0==c.length?d=b:d=b+ba+c,a.className=d)}}function Yv(a,b){a.style.display=b?l:Jf;a.setAttribute("aria-hidden",""+!b)}u(309,1,zi);_.gd=function(){return ek(this.pb)};_.hd=function(){return gk(this.pb)};
|
121
|
+
_.jd=function(){return G(this.pb,Qf)};_.kd=function(){return G(this.pb,Rf)};_.ld=function(){return this.pb};_.md=function(){return this.pb.style.display!=Jf};_.nd=function(){throw new Zv;};_.od=function(a){Tv(this,a)};_.pd=function(a){Yv(this.pb,a)};_.qd=function(a){this.pb.style[hh]=a};_.tS=function(){return!this.pb?"(null handle)":this.pb.outerHTML};_.pb=null;function $v(a,b,c){Lv(a.pb,c.c);return Bs(!a.mb?a.mb=new Os(a):a.mb,c,b)}
|
122
|
+
function B(a,b,c){var d;d=av(c.c);if(-1==d)Lv(a.pb,c.c);else if(-1==a.lb){var e=a.pb;d|=a.pb.__eventBits||0;sj();Mv(e,d)}else a.lb|=d;return Bs(!a.mb?a.mb=new Os(a):a.mb,c,b)}function aw(a,b,c){return Bs(!a.mb?a.mb=new Os(a):a.mb,c,b)}function bw(a){var b;if(a.td())throw new cw("Should only call onAttach when the widget is detached from the browser's document");a.kb=!0;a.pb.__listener=a;b=a.lb;a.lb=-1;if(0<b)if(-1==a.lb){var c=a.pb;b|=a.pb.__eventBits||0;sj();Mv(c,b)}else a.lb|=b;a.rd();a.wd()}
|
123
|
+
function dw(a,b){var c;switch(av(b.type)){case 16:case 32:if((c=b.relatedTarget)&&a.pb.contains(c))return}c=a.pb;var d,e,f;if(nq&&(f=nq.b[b.type]))d=f.b.b,e=f.b.c,f.b.b=b,f.b.c=c,a.mb&&Is(a.mb,f.b),f.b.b=d,f.b.c=e}function ew(a){if(!a.td())throw new cw("Should only call onDetach when the widget is attached to the browser's document");try{a.xd()}finally{try{a.sd()}finally{a.pb.__listener=null,a.kb=!1}}}
|
124
|
+
function dk(a){if(a.ob)if(A(a.ob,70))a.ob.yd(a);else{if(a.ob)throw new cw("This widget's parent does not implement HasWidgets");}else if(pj(),Fv(fw.b,a)){pj();try{a.vd()}finally{Xi(fw.b,a)}}}function gw(a,b){var c;c=a.ob;if(b){if(c)throw new cw("Cannot set a new parent without first clearing the old parent");a.ob=b;b.td()&&a.ud()}else try{c&&c.td()&&a.vd()}finally{a.ob=null}}u(308,309,vi);_.rd=function(){};_.sd=function(){};_.Yc=function(a){this.mb&&Is(this.mb,a)};_.td=function(){return this.kb};
|
125
|
+
_.ud=function(){bw(this)};_.cd=function(a){dw(this,a)};_.vd=function(){ew(this)};_.wd=function(){};_.xd=function(){};_.kb=!1;_.lb=0;_.mb=null;_.nb=null;_.ob=null;function hw(a){for(a=new iw(a);a.b.b<a.b.c.d-1;)jw(a.b),kw(a.b)}u(307,308,mi);_.rd=function(){lw(this,(mw(),nw))};_.sd=function(){lw(this,(mw(),ow))};function pw(a,b,c){dk(b);var d=a.q;qw(d,b,d.d);d=(Yu(),Zu(b.pb));c.appendChild(d);gw(b,a)}
|
126
|
+
function rw(a,b,c,d,e){var f;if(0>d||d>a.q.d)throw new sw;b.ob==a&&(f=a.zd(b),f<d&&--d);dk(b);qw(a.q,b,d);e?(e=b.pb,Kv(c,(Yu(),Zu(e)),d)):(e=(Yu(),Zu(b.pb)),c.appendChild(e));gw(b,a)}function tw(a,b){var c;if(b.ob!=a)return!1;try{gw(b,null)}finally{c=b.pb;no(c).removeChild(c);c=a.q;var d;d=uw(c,b);if(-1==d)throw new vw;if(0>d||d>=c.d)throw new sw;for(--c.d;d<c.d;++d)At(c.b,d,c.b[d+1]);At(c.b,c.d,null)}return!0}u(306,307,mi);_.zd=function(a){return uw(this.q,a)};
|
127
|
+
_.Ad=function(a,b,c,d){rw(this,a,b,c,d)};_.Bd=function(){return new ww(this.q)};_.yd=function(a){return tw(this,a)};function xw(a,b){pw(a,b,a.pb)}function oj(a,b,c,d){var e;dk(b);e=a.q.d;a.Ed(b,c,d);a.Ad(b,a.pb,e,!0)}function yw(a,b){var c;(c=tw(a,b))&&zw(b.pb);return c}function Aw(a,b,c,d){if(b.ob!=a)throw new Ek("Widget must be a child of this panel.");a.Ed(b,c,d)}function Bw(a,b,c){a=a.pb;-1==b&&-1==c?zw(a):(a.style[$f]=Yc,a.style[Ze]=b+cg,a.style[Tg]=c+cg)}
|
128
|
+
function Cw(){var a=$doc.createElement(Yd);this.q=new Dw(this);this.pb=a;this.pb.style[$f]="relative";this.pb.style[Wf]=Je}function zw(a){a.style[Ze]=l;a.style[Tg]=l;a.style[$f]=l}u(305,306,mi,Cw);_.Cd=function(a){xw(this,a)};_.yd=function(a){return yw(this,a)};_.Dd=function(a,b,c){Aw(this,a,b,c)};_.Ed=function(a,b,c){Bw(a,b,c)};function Ew(a,b){if(a.Gd())throw new cw("SimplePanel can only contain one child widget");a.Hd(b)}
|
129
|
+
function Fw(a,b){if(a.jb!=b)return!1;try{gw(b,null)}finally{a.Fd().removeChild(b.pb),a.jb=null}return!0}function Gw(a,b){if(b!=a.jb&&(b&&dk(b),a.jb&&a.yd(a.jb),a.jb=b)){var c=(Yu(),Zu(a.jb.pb));a.Fd().appendChild(c);gw(b,a)}}function Hw(){this.pb=$doc.createElement(Yd)}u(313,307,mi,Hw);_.Fd=function(){return this.pb};_.Gd=function(){return this.jb};_.Bd=function(){return new Iw(this)};_.yd=function(a){return Fw(this,a)};_.Hd=function(a){Gw(this,a)};_.jb=null;
|
130
|
+
function Jw(a,b){a.hb&&(Kw(a.gb,!1,!1),rs(a,a,b))}function Lw(a){var b;if(b=a.jb)null!=a.X&&b.od(a.X),null!=a.Y&&b.qd(a.Y)}function Mw(a,b,c){a.cb=b;a.ib=c;c-=0;a=a.pb;a.style[Ze]=b-0+(Cj(),cg);a.style[Tg]=c+cg}function Nw(a){a.hb||(a.kb&&dk(a),Kw(a.gb,!0,!1))}u(312,313,mi);_.Fd=function(){return mo(this.pb)};_.jd=function(){return G(this.pb,Qf)};_.kd=function(){return G(this.pb,Rf)};_.ld=function(){return no(mo(this.pb))};_.Id=function(){this.Jd(!1)};_.Jd=function(a){Jw(this,a)};
|
131
|
+
_.md=function(){return!H(Je,this.pb.style[eh])};_.dd=function(){return!0};_.$c=function(){};_.xd=function(){this.hb&&Kw(this.gb,!1,!0)};_.od=function(a){this.X=a;Lw(this);0==a.length&&(this.X=null)};_.Kd=function(a,b){Mw(this,a,b)};_.pd=function(a){this.pb.style[eh]=a?fh:Je};_.Hd=function(a){Gw(this,a);Lw(this)};_.qd=function(a){this.Y=a;Lw(this);0==a.length&&(this.Y=null)};_.Ld=function(){Nw(this)};_.V=!1;_.W=!1;_.X=null;_.Y=null;_.Z=null;_._=null;_.ab=!1;_.bb=!1;_.cb=-1;_.db=!1;_.eb=null;_.fb=!1;
|
132
|
+
_.hb=!1;_.ib=-1;
|
133
|
+
function Ow(a,b){var c;Hw.call(this);this.$=new Pw;this.U=(Qw(),Rw);this.gb=new Sw(this);this.pb.appendChild($doc.createElement(Yd));this.Kd(0,0);no(mo(this.pb))[xd]="gwt-PopupPanel";mo(this.pb)[xd]=Zf;this.W=this.V=a;this.db=!1;c=K(Gt,m,1,[b+"Top",b+"Middle",b+"Bottom"]);this.T=new Tw(c);this.T.ld()[xd]=l;c=no(mo(this.pb));var d="gwt-DecoratedPopupPanel";if(!c)throw new Yi(lc);d=ho(d);if(0==d.length)throw new Ek(Hc);var e=c.className.split(/\s+/);if(e){var f=e[0],g=f.length;e[0]=d;for(var j=1,h=
|
134
|
+
e.length;j<h;j++){var n=e[j];n.length>g&&n.charAt(g)==Ba&&0==n.indexOf(f)&&(e[j]=d+n.substring(g))}c.className=e.join(ba)}Gw(this,this.T);Lw(this);Qi(mo(this.pb),Zf,!1);Qi(this.T.c,b+"Content",!0)}u(311,312,mi);_.rd=function(){bw(this.T)};_.sd=function(){ew(this.T)};_.Gd=function(){return this.T.jb};_.Bd=function(){return new Iw(this.T)};_.yd=function(a){return this.T.yd(a)};_.Hd=function(a){Gw(this.T,a);Lw(this)};_.T=null;u(310,311,mi);_.vd=function(){ew(this)};
|
135
|
+
function Uw(){Uw=x;Vw=new Ww(Db,0,(Qw(),Rw));Xw=new Ww(nc,1,Yw);Zw=new Ww(xc,2,$w);ax=K(bx,m,58,[Vw,Xw,Zw])}function Ww(a,b,c){I.call(this,a,b);this.b=c}u(314,140,{58:1,117:1,121:1,123:1},Ww);_.b=null;var ax,Vw,Xw,Zw;function cx(){cx=x;dx=K(Gt,m,1,[Tg,rf,qd])}
|
136
|
+
function Tw(a){var b;cx();var c,d;c=this.pb=$doc.createElement(Hg);this.d=$doc.createElement(Kg);Xu(c,this.d);c[td]=0;for(c=c[sd]=0;c<a.length;++c)d=(b=$doc.createElement(Yg),b[xd]=a[c],Xu(b,ex(a[c]+"Left")),Xu(b,ex(a[c]+Fb)),Xu(b,ex(a[c]+"Right")),b),Xu(this.d,d),1==c&&(this.c=mo(Cv(d,1)));this.pb[xd]="gwt-DecoratorPanel"}function ex(a){var b,c;c=$doc.createElement(Lg);b=$doc.createElement(Yd);var d=(Yu(),Zu(b));c.appendChild(d);c[xd]=a;b[xd]=a+"Inner";return c}u(316,313,Ci,Tw);_.Fd=function(){return this.c};
|
137
|
+
_.c=null;_.d=null;var dx;u(315,316,Ci);u(317,1,{});function mw(){mw=x;nw=new fx;ow=new gx}function hx(a){Ms.call(this,a)}function lw(a,b){mw();var c,d,e;c=null;for(e=a.Bd();e._c();){d=e.ad();try{b.Md(d)}catch(f){if(f=Ui(f),A(f,132))d=f,!c&&(c=new Ks),Ls(c,d);else throw f;}}if(c)throw new hx(c);}u(318,245,li,hx);var nw,ow;function fx(){}u(319,1,{},fx);_.Md=function(a){a.ud()};function gx(){}u(320,1,{},gx);_.Md=function(a){a.vd()};u(323,308,ai);_.Mc=function(a){return $v(this,a,(Uq(),Uq(),Vq))};
|
138
|
+
_.Nc=function(a){return $v(this,a,(Xq(),Xq(),Yq))};_.Oc=function(a){return $v(this,a,($q(),$q(),ar))};_.Pc=function(a){return $v(this,a,(gr(),gr(),hr))};_.Qc=function(a){return B(this,a,(Or(),Or(),Pr))};_.Rc=function(a){return B(this,a,(yj(),yj(),zj))};_.Sc=function(a){return B(this,a,(Sr(),Sr(),Tr))};_.Tc=function(a){return B(this,a,(Aj(),Aj(),Bj))};_.ud=function(){bw(this);-1==this.pb.tabIndex&&(this.pb.tabIndex=0)};
|
139
|
+
u(322,323,{12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,52:1,57:1,60:1,63:1,64:1,65:1,66:1,67:1,68:1,69:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1});function ix(a){var b;this.pb=(b=$doc.createElement("BUTTON"),b.type=rd,b);this.pb[xd]="gwt-Button";this.pb.innerHTML=a||l}
|
140
|
+
u(321,322,{12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,52:1,57:1,59:1,60:1,63:1,64:1,65:1,66:1,67:1,68:1,69:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1},ix);function jx(){this.q=new Dw(this);this.f=$doc.createElement(Hg);this.e=$doc.createElement(Kg);Xu(this.f,this.e);this.pb=this.f}u(324,306,mi);_.e=null;_.f=null;
|
141
|
+
function kx(a,b){var c;if(a.i)throw new cw("Composite.initWidget() may only be called once.");dk(b);c=b.pb;a.pb=c;var d;Yu();try{d=!!c&&!!c.__gwt_resolve}catch(e){d=!1}d&&((Yu(),c).__gwt_resolve=lx(a));a.i=b;gw(b,a)}function mx(a){if(-1!=a.lb){var b=a.i,c=a.lb;if(-1==b.lb){var d=b.pb,b=c|(b.pb.__eventBits||0);sj();Mv(d,b)}else b.lb|=c;a.lb=-1}a.i.ud();a.pb.__listener=a;a.wd()}u(325,308,Xh);_.td=function(){return this.i?this.i.td():!1};_.ud=function(){mx(this)};_.cd=function(a){dw(this,a);this.i.cd(a)};
|
142
|
+
_.vd=function(){this.i.vd()};_.nd=function(){return this.pb=this.i.nd()};_.i=null;function nx(a,b,c){a.d=!1;c?a.b.innerHTML=b||l:a.b.textContent=b||l;if(a.e!=a.c)switch(a.e=a.c,b=a.b,a.c.d){case 0:b[Sd]=rg;break;case 1:b[Sd]=ff;break;case 2:Xs(b)!=(Zs(),bt)&&(b[Sd]=l)}}function ox(a){this.b=a;this.d=!1;this.e=this.c=Xs(a)}u(326,1,{},ox);_.b=null;_.c=null;_.d=!1;_.e=null;function uj(){this.pb=px()}u(327,313,fi,uj);_.Mc=function(a){return $v(this,a,(Uq(),Uq(),Vq))};
|
143
|
+
_.Nc=function(a){return $v(this,a,(Xq(),Xq(),Yq))};_.Oc=function(a){return $v(this,a,($q(),$q(),ar))};_.Pc=function(a){return $v(this,a,(gr(),gr(),hr))};_.Qc=function(a){return B(this,a,(Or(),Or(),Pr))};_.Rc=function(a){return B(this,a,(yj(),yj(),zj))};_.Sc=function(a){return B(this,a,(Sr(),Sr(),Tr))};_.Tc=function(a){return B(this,a,(Aj(),Aj(),Bj))};function qx(a,b,c,d){b=a.e.b.d.rows[b].cells[c];var e,c=mo(b);e=null;c&&(c=Qv(c),e=0>c?null:Tu(a.j.c,c));e?rx(a,e):d&&(b.innerHTML=l||l);return b}
|
144
|
+
function rx(a,b){var c;if(b.ob!=a)return!1;try{gw(b,null)}finally{c=b.pb;no(c).removeChild(c);var d=a.j,e;e=Qv(c);c[Wc]=null;c=d.c;sx(e,c.d);At(c.c,e,null);d.b=new Rv(e,d.b)}return!0}u(329,307,Di);_.Mc=function(a){return $v(this,a,(Uq(),Uq(),Vq))};_.Nc=function(a){return $v(this,a,(Xq(),Xq(),Yq))};_.Oc=function(a){return $v(this,a,($q(),$q(),ar))};_.Pc=function(a){return $v(this,a,(gr(),gr(),hr))};_.Bd=function(){return new tx(this)};_.yd=function(a){return rx(this,a)};_.d=null;_.e=null;_.f=null;
|
145
|
+
_.i=null;function ux(a){if(0>=a.c)throw new vx("Row index: 0, Row size: "+a.c);if(0>=a.b)throw new vx("Column index: 0, Column size: "+a.b);}
|
146
|
+
function wx(){this.j=new Pv;this.i=$doc.createElement(Hg);this.d=$doc.createElement(Kg);Xu(this.i,this.d);this.pb=this.i;this.e=new xx(this);var a=new yx(this);this.f&&(a.b=this.f.b);a=this.f=a;if(!a.b){a.b=$doc.createElement("colgroup");var b=a.b;Kv(a.c.i,(Yu(),Zu(b)),0);Xu(a.b,$doc.createElement(Gd))}var c,d;if(1!=this.b){if(1<this.b)for(a=0;a<this.c;++a)for(b=this.b-1;1<=b;--b){c=b;d=void 0;d=this.c;if(a>=d||0>a)throw new vx("Row index: "+a+", Row size: "+d);if(0>c)throw new vx("Column "+c+" must be non-negative: "+
|
147
|
+
c);if(this.b<=c)throw new vx("Column index: "+c+", Column size: "+this.b);c=qx(this,a,b,!1);d=this.d.rows[a];d.removeChild(c)}else for(a=0;a<this.c;++a)for(b=this.b;1>b;++b)c=this.d.rows[a],d=$doc.createElement(Lg),d.innerHTML=sa||l,Kv(c,(Yu(),Zu(d)),b);this.b=1;a=this.f;b=1;b=1<b?b:1;c=a.b.childNodes.length;if(c<b)for(;c<b;++c)d=$doc.createElement(Gd),a.b.appendChild(d);else if(c>b)for(;c>b;--c)a.b.removeChild(a.b.lastChild)}if(1!=this.c)if(1>this.c){a=this.d;b=1-this.c;d=this.b;var e=$doc.createElement(Lg);
|
148
|
+
e.innerHTML=sa;c=$doc.createElement(Yg);for(var f=0;f<d;f++){var g=e.cloneNode(!0);c.appendChild(g)}a.appendChild(c);for(d=1;d<b;d++)a.appendChild(c.cloneNode(!0));this.c=1}else for(;1<this.c;){a=this.c-1;c=b=void 0;c=this.b;for(b=0;b<c;++b)qx(this,a,b,!1);this.d.removeChild(this.d.rows[a]);--this.c}}u(328,329,Di,wx);_.b=0;_.c=0;
|
149
|
+
function zx(a){var b;!a.b?b=null:a.b?b=a.b:b=a.b==(Ax(),Bx)?a.c.e==(Zs(),at)?(Cx(),Dx):a.c.e==$s?(Cx(),Ex):(Cx(),Fx):a.c.e==(Zs(),at)?(Cx(),Ex):a.c.e==$s?(Cx(),Dx):(Cx(),Gx);b!=a.d&&(a.d=b,a.pb.style[Ng]=!a.d?l:a.d.b)}u(332,308,vi);_.b=null;_.c=null;_.d=null;function Hx(){this.pb=$doc.createElement(Yd);this.c=new ox(this.pb);this.pb[xd]="gwt-Label"}function Ix(){Hx.call(this);nx(this.c,ih,!1);zx(this)}
|
150
|
+
u(331,332,{12:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,68:1,69:1,72:1,76:1,79:1,80:1,82:1},Hx,Ix);_.Mc=function(a){return $v(this,a,(Uq(),Uq(),Vq))};_.Nc=function(a){return $v(this,a,(Xq(),Xq(),Yq))};_.Oc=function(a){return $v(this,a,($q(),$q(),ar))};_.Pc=function(a){return $v(this,a,(gr(),gr(),hr))};_.Qc=function(a){return B(this,a,(Or(),Or(),Pr))};_.Rc=function(a){return B(this,a,(yj(),yj(),zj))};
|
151
|
+
_.Sc=function(a){return B(this,a,(Sr(),Sr(),Tr))};_.Tc=function(a){return B(this,a,(Aj(),Aj(),Bj))};function Jx(a){var b=$doc.createElement(Yd);Ys(Cg,b.tagName);this.pb=b;this.c=new ox(this.pb);this.pb[xd]="gwt-HTML";nx(this.c,a,!0);zx(this)}u(330,331,{12:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,52:1,57:1,67:1,68:1,69:1,72:1,76:1,79:1,80:1,82:1},Jx);
|
152
|
+
function Kx(a){for(;++a.c<a.e.d&&!(null!=Tu(a.e,a.c)););}function tx(a){this.d=a;this.e=this.d.j.c;Kx(this)}u(333,1,{},tx);_._c=function(){return this.c<this.e.d};_.ad=function(){var a;if(this.c>=this.e.d)throw new vw;a=Tu(this.e,this.c);this.b=this.c;Kx(this);return a};_.bd=function(){var a;if(0>this.b)throw new Lx;a=Tu(this.e,this.b);dk(a);this.b=-1};_.b=-1;_.c=-1;_.d=null;function xx(a){this.b=a}u(334,1,{},xx);_.b=null;function yx(a){this.c=a}u(335,1,{},yx);_.b=null;_.c=null;
|
153
|
+
function Ax(){Ax=x;Bx=new Mx}var Bx;function Cx(){Cx=x;Nx=new Ox((Ap(),ud));Dx=new Ox(Ze);Ex=new Ox(lg);Fx=Dx;Gx=Ex;Px=Fx}var Nx,Px,Dx,Gx,Fx,Ex;function Mx(){}u(337,1,{},Mx);function Ox(a){this.b=a}u(338,337,{},Ox);_.b=null;function Qx(){Qx=x;Rx=new Sx(rf);Tx=new Sx(Tg)}var Rx,Tx;function Sx(a){this.b=a}u(339,1,{},Sx);_.b=null;function Ux(a,b){var c;c=Vx(a);Xu(a.c,c);pw(a,b,c)}function Vx(a){var b;b=$doc.createElement(Lg);b[gd]=a.b.b;b.style[dh]=a.d.b;return b}
|
154
|
+
function Wx(a,b){var c,d;d=no(b.pb);(c=tw(a,b))&&a.c.removeChild(d);return c}function Xx(){jx.call(this);this.b=(Cx(),Px);this.d=(Qx(),Tx);this.c=$doc.createElement(Yg);Xu(this.e,this.c);this.f[td]=ab;this.f[sd]=ab}u(340,324,mi,Xx);_.yd=function(a){return Wx(this,a)};_.c=null;function Yx(){Yx=x;new Mi}function Zx(a){Yx();$x.call(this,a.e.b,a.c,a.d,a.f,a.b)}function ay(a,b,c,d,e){Yx();this.b=new by(this,a,b,c,d,e);this.pb[xd]="gwt-Image"}
|
155
|
+
function $x(a,b,c,d,e){Yx();ay.call(this,(Du(),new Cu(a)),b,c,d,e)}u(341,308,{12:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,69:1,72:1,76:1,79:1,80:1,82:1},Zx,ay,$x);_.Mc=function(a){return $v(this,a,(Uq(),Uq(),Vq))};_.Nc=function(a){return $v(this,a,(Xq(),Xq(),Yq))};_.Oc=function(a){return $v(this,a,($q(),$q(),ar))};_.Pc=function(a){return $v(this,a,(gr(),gr(),hr))};
|
156
|
+
_.Qc=function(a){return B(this,a,(Or(),Or(),Pr))};_.Rc=function(a){return B(this,a,(yj(),yj(),zj))};_.Sc=function(a){return B(this,a,(Sr(),Sr(),Tr))};_.Tc=function(a){return B(this,a,(Aj(),Aj(),Bj))};_.cd=function(a){32768==av(a.type)&&this.b&&(this.pb.__gwtLastUnhandledEvent=l);dw(this,a)};_.wd=function(){var a=this.b;H(df,ko(this.pb,"__gwtLastUnhandledEvent"))&&(a.i=new cy(a,this),$n((Xn(),Yn),a.i))};_.b=null;u(343,1,{});_.i=null;function dy(){dy=x;ey()}
|
157
|
+
function by(a,b,c,d,e,f){var g,j;dy();this.c=c;this.d=d;this.f=e;this.b=f;this.e=b;g=$doc.createElement(Cg);j=new qu;pu(pu(pu(j,new su("width:"+e+(Cj(),cg)+mb)),new su("height:"+f+eg)),new su("background:url("+b.b+") no-repeat "+-c+"px "+-d+eg));!fy&&(fy=new gy);b=hy;c=new su((new su(j.b.b.b)).b);j=new ru;j.b.b+="<img onload='this.__gwtLastUnhandledEvent=\"load\";' src='";b=Bu(b.b);yn(j.b,b);j.b.b+="' style='";b=Bu(c.b);yn(j.b,b);j.b.b+="' border='0'>";j=new uu(j.b.b);g.innerHTML=j.b||l;g=mo(g);a.kb&&
|
158
|
+
(a.pb.__listener=null);if(a.pb&&(j=a.pb,b=j.parentNode))b.insertBefore(g,j),b.removeChild(j);a.pb=g;a.kb&&(a.pb.__listener=a);-1==a.lb?(g=a.pb,a=133333119|(a.pb.__eventBits||0),sj(),Mv(g,a)):a.lb|=133333119}u(342,343,{},by);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function cy(a,b){this.b=a;this.c=b}u(344,1,{},cy);
|
159
|
+
_.xc=function(){var a,b;this.c.b!=this.b||this!=this.b.i||(this.b.i=null,this.c.kb?(a=(b=$doc.createEvent("HTMLEvents"),b.initEvent(df,!1,!1),b),this.c.pb.dispatchEvent(a)):this.c.pb.__gwtLastUnhandledEvent=df)};_.b=null;_.c=null;function iy(a,b){if(0>b||b>=a.pb.options.length)throw new sw;}function xq(a,b){iy(a,b);return a.pb.options[b].value}function jy(){this.pb=$doc.createElement("select");this.pb[xd]="gwt-ListBox"}u(345,323,ai,jy);u(346,276,bi);function ky(a){this.b=a}u(347,346,bi,ky);_.Kc=function(){};
|
160
|
+
function ly(a){this.b=a}u(348,346,bi,ly);_.Uc=function(a){this.b.Nd(a.i,a.b)};function my(a,b,c){var d;if(a.p){var e=d=$doc.createElement(Yg);Kv(a.f,(Yu(),Zu(e)),b);a=(Yu(),Zu(c));d.appendChild(a)}else d=Cv(a.f,0),Kv(d,(Yu(),Zu(c)),b)}
|
161
|
+
function ny(a,b,c){var d;oy(a,b);c&&b.b?(oy(a,null),a=b.b,b=(Xn(),Yn),b.d=ao(b.d,[new py(a),!1])):null!=b.d&&(a.k=new qy(a,b),c=(Qw(),Yw),a.k.U=c,a.k.ab=a.i,a.k.ld()[xd]=Fe,d=Vv(a.pb),H(Ee,d)||hj(a.k,d+"Popup"),aw(a.k,new ly(a),Ck?Ck:Ck=new Dk),a.o=b.d,d=a.k,a=new ry(a,b),d.pb.style[eh]=Je,Nw(d),a.b.p?Mw(a.b.k,ek(a.b.pb)+G(a.b.pb,Rf)-1,gk(a.c.pb)):Mw(a.b.k,ek(a.c.pb),gk(a.b.pb)+G(a.b.pb,Qf)-1),d.pb.style[eh]=fh)}function sy(a,b){if(b||!(a.n&&a.o==a.n.d))oy(a,b),a.pb.focus(),b&&a.e&&ny(a,b,!1)}
|
162
|
+
function ty(a,b){var c;a:{c=b.target;var d,e;for(e=new Oi(a.j);e.c<e.e.Fe();)if(d=Pi(e),d.pb.contains(c)){c=d;break a}c=null}switch(av(b.type)){case 1:a.pb.focus();c&&ny(a,c,!0);break;case 16:c&&sy(a,c);break;case 32:c&&sy(a,null);break;case 2048:uy(a);break;case 128:switch(c=b.keyCode||0,c){case 37:uy(a)||a.p||vy(a);b.cancelBubble=!0;b.preventDefault();break;case 39:uy(a)||(a.p?null!=a.n.d&&!a.n.d.hg().hg()&&(ny(a,a.n,!1),a.n.d.hg()):wy(a));b.cancelBubble=!0;b.preventDefault();break;case 38:uy(a)||
|
163
|
+
a.p&&vy(a);b.cancelBubble=!0;b.preventDefault();break;case 40:uy(a)||(a.p?wy(a):null!=a.n.d&&!a.n.d.hg().hg()&&(ny(a,a.n,!1),a.n.d.hg()));b.cancelBubble=!0;b.preventDefault();break;case 27:oy(a,null);a.k&&Jw(a.k,!1);b.cancelBubble=!0;b.preventDefault();break;case 9:oy(a,null);a.k&&Jw(a.k,!1);break;case 13:uy(a)||(ny(a,a.n,!0),b.cancelBubble=!0,b.preventDefault())}}dw(a,b)}function xy(a,b,c){c&&oy(a,null);rs(a,b,!1);a.o=null;a.k=null}
|
164
|
+
function uy(a){var b;if(!a.n){for(b=new Oi(a.j);b.c<b.e.Fe();){b=Pi(b);oy(a,b);break}return!0}return!1}function oy(a,b){var c;if(b!=a.n){if(a.n){c=a.n;var d=Vv(c.pb)+Va;Qi(c.ld(),d,!1);a.p&&(c=no(a.n.pb),2==Dv(c)&&(c=Cv(c,1),Qi(c,Fg,!1)))}if(b){c=Vv(b.pb)+Va;Qi(b.ld(),c,!0);a.p&&(c=no(b.pb),2==Dv(c)&&(c=Cv(c,1),Qi(c,Fg,!0)));El();c=a.pb;var d=new fl(b.pb),e=(zl(),Al),d=K(yy,m,5,[d]),e=e.b,f,g,j,h;f=new wn;for(j=0,h=d.length;j<h;++j)g=d[j],xn(xn(f,g.b),ba);d=ho(f.b.b);c.setAttribute(e,d)}a.n=b}}
|
165
|
+
function wy(a){var b,c,d;if(a.n){for(b=c=Hj(a.j,a.n);;){c+=1;c==a.j.d&&(c=0);d=c==b?Tu(a.j,b):Tu(a.j,c);break}oy(a,d)}}function vy(a){var b,c,d;if(a.n){for(b=c=Hj(a.j,a.n);;){c-=1;0>c&&(c=a.j.d-1);d=c==b?Tu(a.j,b):Tu(a.j,c);break}oy(a,d)}}u(349,308,vi);_.cd=function(a){ty(this,a)};_.vd=function(){this.k&&Jw(this.k,!1);ew(this)};_.Nd=function(a,b){xy(this,a,b)};_.e=!1;_.f=null;_.i=!1;_.k=null;_.n=null;_.o=null;_.p=!1;function py(a){this.b=a}u(350,1,{},py);_.xc=function(){zy(this.b)};_.b=null;
|
166
|
+
function Ay(a){this.b=a}u(351,1,{},Ay);_.Kc=function(){oy(this.b,null)};_.b=null;function qy(a,b){this.b=a;this.c=b;Ow.call(this,!0,lf);Gw(this.T,this.c.d);Lw(this);this.fb=!0;this.c.d.hg()}u(352,311,mi,qy);_.$c=function(a){var b,c;if(!a.b)switch(av(a.e.type)){case 4:c=a.e.target;b=this.c.c.pb;if(b.contains(c)){a.b=!0;break}a.b&&oy(this.b,null)}};_.b=null;_.c=null;function ry(a,b){this.b=a;this.c=b}u(353,1,{},ry);_.b=null;var By=_.c=null;
|
167
|
+
function Cy(){Cy=x;By=new ou((Du(),new Cu("data:image/gif;base64,R0lGODlhBQAJAIAAAAAAAAAAACH5BAEAAAEALAAAAAAFAAkAAAIMRB5gp9v2YlJsJRQKADs=")),5,9)}function Dy(a,b){this.pb=$doc.createElement(Lg);var c=Vv(this.pb)+Va;Qi(this.ld(),c,!1);this.pb.textContent=a||l;this.pb[xd]="gwt-MenuItem";c=oo();this.pb.setAttribute(Ke,c);El();this.pb.setAttribute("role",km.b);this.b=b}u(356,309,{52:1,65:1,67:1,68:1,69:1,73:1,80:1},Dy);_.b=null;_.c=null;_.d=null;
|
168
|
+
function Ey(){var a;this.pb=$doc.createElement(Lg);this.pb[xd]="gwt-MenuItemSeparator";a=$doc.createElement(Yd);Xu(this.pb,a);a[xd]="menuSeparatorInner"}u(357,309,zi,Ey);function Fy(){var a,b,c,d,e;b=null.hg();e=wj();d=xj();b[Xd]=(pp(),Jf);b[hh]=0+(Cj(),cg);b[Ie]=bb;c=$doc;c=(H(c.compatMode,Eb)?c.documentElement:c.body).scrollWidth||0;a=$doc;a=(H(a.compatMode,Eb)?a.documentElement:a.body).scrollHeight||0;b[hh]=(c>e?c:e)+cg;b[Ie]=(a>d?a:d)+cg;b[Xd]="block"}function Pw(){}u(358,1,{},Pw);_.Wc=function(){Fy()};
|
169
|
+
function Gy(a){this.b=a}u(359,1,{},Gy);_.$c=function(a){var b=this.b,c,d;if(a.b||!b.fb&&a.c)b.db&&(a.b=!0);else if(b.$c(a),!a.b){d=a.e;c=d.target;var e;try{e=!!c&&!!c.nodeType}catch(f){e=!1}(c=e&&c&&1==c.nodeType?b.pb.contains(c):!1)&&(a.c=!0);b.db&&(a.b=!0);switch(av(d.type)){case 4:case 1048576:if(rj){a.c=!0;break}if(!c&&b.V){b.Jd(!0);break}break;case 8:case 64:case 1:case 2:case 4194304:if(rj){a.c=!0;break}break;case 2048:d=d.target,b.db&&!c&&d&&(d.blur&&d!=$doc.body&&d.blur(),a.b=!0)}}};_.b=null;
|
170
|
+
function Hy(a){this.b=a}u(360,1,{},Hy);_.b=null;function Qw(){Qw=x;Rw=new Iy(Db,0);Yw=new Iy(nc,1);$w=new Iy(xc,2);Jy=K(Ky,m,74,[Rw,Yw,$w])}function Iy(a,b){I.call(this,a,b)}u(361,140,{74:1,117:1,121:1,123:1},Iy);var Jy,Rw,Yw,$w;function Ly(a){a.k?a.b.bb&&($doc.body.appendChild(a.b.Z),a.i=pv(a.b.$),Fy(),a.c=!0):a.c&&($doc.body.removeChild(a.b.Z),Zi(a.i.b),a.i=null,a.c=!1)}function My(a){a.k||(Ly(a),a.d||(pj(),yw(qj(null),a.b)));a.b.pb.style[Ed]="rect(auto, auto, auto, auto)";a.b.pb.style[Wf]=fh}
|
171
|
+
function Ny(a,b){var c,d,e,f,g,j;a.k||(b=1-b);c=f=e=g=0;d=Dt(b*a.e);j=Dt(b*a.f);switch(a.b.U.d){case 2:f=a.f;c=d;break;case 0:g=a.e-d>>1;e=a.f-j>>1;f=e+j;c=g+d;break;case 1:f=j,c=d}a.b.pb.style[Ed]="rect("+g+dg+f+dg+c+dg+e+"px)"}
|
172
|
+
function Kw(a,b,c){a.d=c;kk(a);a.j&&(lk(a.j),a.j=null,My(a));a.b.hb=b;var d=a.b;d.eb&&(Zi(d.eb.b),d.eb=null);d._&&(Zi(d._.b),d._=null);if(d.hb){d.eb=dv(new Gy(d));var e;e=new Hy(d);jv();e=kv?Bs(kv.b,(!As&&(As=new Dk),As),e):null;d._=e}c=!c&&a.b.ab;a.b.U!=(Qw(),Rw)&&!b&&(c=!1);a.k=b;c?b?(Ly(a),a.b.pb.style[$f]=Yc,-1!=a.b.ib&&a.b.Kd(a.b.cb,a.b.ib),a.b.pb.style[Ed]=ig,pj(),xw(qj(null),a.b),a.j=new Oy(a),rk(a.j,1)):mk(a,200):(Ly(a),a.k?(a.b.pb.style[$f]=Yc,-1!=a.b.ib&&a.b.Kd(a.b.cb,a.b.ib),pj(),xw(qj(null),
|
173
|
+
a.b)):a.d||(pj(),yw(qj(null),a.b)),a.b.pb.style[Wf]=fh)}function Sw(a){var b=(tk(),uk);this.n=new sk(this);this.t=b;this.b=a}u(362,17,{},Sw);_.zc=function(){My(this)};_.Ac=function(){this.e=G(this.b.pb,Qf);this.f=G(this.b.pb,Rf);this.b.pb.style[Wf]=Je;Ny(this,(1+Math.cos(3.141592653589793))/2)};_.Bc=function(a){Ny(this,a)};_.b=null;_.c=!1;_.d=!1;_.e=0;_.f=-1;_.i=null;_.j=null;_.k=!1;function Oy(a){xk();this.b=a}u(363,24,{},Oy);_.Dc=function(){this.b.j=null;mk(this.b,200)};_.b=null;
|
174
|
+
function Yu(){Yu=x;Py()}function Zu(a){return a.__gwt_resolve?a.__gwt_resolve():a}function lx(a){return function(){this.__gwt_resolve=Qy;return a.nd()}}function Qy(){throw"A PotentialElement cannot be resolved twice.";}
|
175
|
+
function Py(){function a(){}a.prototype={className:l,clientHeight:0,clientWidth:0,dir:l,getAttribute:function(a){return this[a]},href:l,id:l,lang:l,nodeType:1,removeAttribute:function(a){this[a]=void 0},setAttribute:function(a,c){this[a]=c},src:l,style:{},title:l};$wnd.GwtPotentialElementShim=a}function pj(){pj=x;Ry=new Sy;Ty=new Mi;fw=new Ks}function Uy(a){this.q=new Dw(this);this.pb=a;bw(this)}
|
176
|
+
function qj(a){pj();var b,c;c=lj(Ty,a);b=null;if(null!=a&&!(b=$doc.getElementById(a)))return null;if(c&&(!b||c.pb==b))return c;if(0==Ty.e){var d=new Vy;Ak();Bk(Ck?Ck:Ck=new Dk,d)}!b?c=new Wy:c=new Uy(b);z(Ty,a,c);Ls(fw,c);return c}u(365,305,mi,Uy);var Ry,Ty,fw;function Sy(){}u(366,1,{},Sy);_.Md=function(a){a.td()&&a.vd()};function Vy(){}u(367,1,{},Vy);_.Uc=function(){pj();try{lw(fw,Ry)}finally{Xy(fw.b),Xy(Ty)}};function Wy(){Uy.call(this,$doc.body)}u(368,365,mi,Wy);
|
177
|
+
_.Ed=function(a,b,c){Bw(a,b-0,c-0)};function Iw(a){this.d=a;this.b=!!this.d.jb}u(369,1,{},Iw);_._c=function(){return this.b};_.ad=function(){if(!this.b||!this.d.jb)throw new vw;this.b=!1;return this.c=this.d.jb};_.bd=function(){this.c&&this.d.yd(this.c)};_.c=null;_.d=null;function Yy(a,b){a.pb[ch]=null!=b?b:l}u(372,323,ki);_.cd=function(a){0!=(av(a.type)&896)?dw(this,a):dw(this,a)};_.wd=function(){};function Zy(){Zy=x;$y()}u(371,372,ki);
|
178
|
+
function az(){Zy();var a=$doc.createElement("textarea");!Hu&&(Hu=new Gu);!Fu&&(Fu=new Eu);this.pb=a;this.pb[xd]="gwt-TextArea"}u(370,371,ki,az);function bz(){var a;Zy();var b=(a=$doc.createElement("INPUT"),a.type=Mg,a);!Hu&&(Hu=new Gu);!Fu&&(Fu=new Eu);this.pb=b;this.pb[xd]="gwt-TextBox"}u(373,371,ki,bz);function $y(){$y=x;cz=new dz;ez=new fz;gz=new hz;iz=new jz;kz=K(lz,m,81,[cz,ez,gz,iz])}u(374,140,ji);var kz,cz,ez,gz,iz;function dz(){I.call(this,Db,0)}u(375,374,ji,dz);
|
179
|
+
function fz(){I.call(this,ac,1)}u(376,374,ji,fz);function hz(){I.call(this,cc,2)}u(377,374,ji,hz);function jz(){I.call(this,wc,3)}u(378,374,ji,jz);function mz(a,b){var c,d;c=$doc.createElement(Yg);d=$doc.createElement(Lg);d[gd]=a.b.b;d.style[dh]=a.c.b;var e=(Yu(),Zu(d));c.appendChild(e);Xu(a.e,c);pw(a,b,d)}function nz(){jx.call(this);this.b=(Cx(),Px);this.c=(Qx(),Tx);this.f[td]=ab;this.f[sd]=ab}u(379,324,mi,nz);_.yd=function(a){var b;b=no(a.pb);(a=tw(this,a))&&this.e.removeChild(no(b));return a};
|
180
|
+
function oz(a,b){if(0>b||b>=a.d)throw new sw;return a.b[b]}function uw(a,b){var c;for(c=0;c<a.d;++c)if(a.b[c]==b)return c;return-1}function qw(a,b,c){var d,e;if(0>c||c>a.d)throw new sw;if(a.d==a.b.length){e=y(pz,m,82,2*a.b.length,0);for(d=0;d<a.b.length;++d)At(e,d,a.b[d]);a.b=e}++a.d;for(d=a.d-1;d>c;--d)At(a.b,d,a.b[d-1]);At(a.b,c,b)}function Dw(a){this.c=a;this.b=y(pz,m,82,4,0)}u(380,1,{},Dw);_.Bd=function(){return new ww(this)};_.b=null;_.c=null;_.d=0;
|
181
|
+
function jw(a){if(a.b>=a.c.d)throw new vw;return a.c.b[++a.b]}function kw(a){if(0>a.b||a.b>=a.c.d)throw new Lx;a.c.c.yd(a.c.b[a.b--])}function ww(a){this.c=a}u(381,1,{},ww);_._c=function(){return this.b<this.c.d-1};_.ad=function(){return jw(this)};_.bd=function(){kw(this)};_.b=-1;_.c=null;function ey(){ey=x;hy=(Du(),new Cu(Sn()+"clear.cache.gif"))}var hy,fy=null;function gy(){}u(383,1,{},gy);function qz(){qz=x;ey()}function rz(a,b,c,d,e){qz();this.e=a;this.c=b;this.d=c;this.f=d;this.b=e}
|
182
|
+
function sz(a,b,c){qz();rz.call(this,(Du(),new Cu(a)),b,0,c,16)}u(384,317,{},rz,sz);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function px(){var a;a=$doc.createElement(Yd);a.tabIndex=0;return a}function Zi(a){var b=a.b,c=a.e,d=a.d,a=a.c;0<b.c?Ds(b,new Ju(b,c,d,a)):Rs(b,c,d,a)}function Hs(a,b,c){this.b=a;this.e=b;this.d=null;this.c=c}u(390,1,{},Hs);_.b=null;_.c=null;_.d=null;_.e=null;function Es(a,b,c){this.b=a;this.e=b;this.d=null;this.c=c}u(391,1,{},Es);_.xc=function(){Fs(this.b,this.e,this.d,this.c)};
|
183
|
+
_.b=null;_.c=null;_.d=null;_.e=null;function Ju(a,b,c,d){this.b=a;this.e=b;this.d=c;this.c=d}u(392,1,{},Ju);_.xc=function(){Rs(this.b,this.e,this.d,this.c)};_.b=null;_.c=null;_.d=null;_.e=null;function tz(a,b){b.n!=a&&(!a.ic&&(a.ic=new ij),b.n=a,cj(a.ic,b))}function uz(a){var b;b=a.cZ.e;if(-1!=Wv(b,Xv(36)))return null;a=a.jc.c.c++;return b=io(b,vz(b,Xv(46))+1)+l+a}function wz(a,b,c,d){0==--a.dc&&(a.oc!=a.be()&&(d|=4),!a.nc&&(d|=2),0<d&&new xz(a,b,c,iu(d)))}
|
184
|
+
function yz(a){return!a._b&&a.gc?yz(a.gc):a._b}function zz(a){return!a.bc&&a.gc?zz(a.gc):a.bc}function Az(a){var b;b=new Bz;if(a.be()){for(;a&&!A(a,103);a=a.gc){var c=b,d=a.$d();c.b+=a.Zd();c.c+=d}A(a,103)&&(c=a.$d(),b.b+=a.Zd(),b.c+=c);return b}throw new Cz;}function Dz(a){a.kc=!1;a.ke();Ez(a)}function Ez(a){if((a=A(a,103)?null:a.gc)&&a.kc)Dz(a),a.Xb&&A(a.Xb,96)&&(a.Xb.o=!1)}function Fz(a){return(a=a.Sd())?a:new Gz(1,1)}function Hz(a){var b;return(b=a.Td())?new Iz(b):new Iz(a.Vd())}
|
185
|
+
function Jz(a){0==a.dc++&&(a.oc=a.be(),a.nc=!0,a.he())}function Kz(a){return!a.bc?(a.ae(),!0):!1}function P(a,b){var c;c=a._b;a._b=b;b==c||b&&A(c,89)&&c.b==b.b||a.hc.Wf(b)}function Lz(a,b,c,d,e){var f,g,j,h;j=a.pc;h=a.qc;g=a.mc;f=a.cc;a.pc=b;a.qc=c;a.mc=d;a.cc=e;if(j!=a.pc||h!=a.qc)Ez(a),new Mz(a,100);if(g!=a.mc||f!=a.cc)a.ae(),new Mz(a,101)}function Nz(a,b){b==a.bc||b&&b==a.bc||(a.bc=b,a.ae(),a.hc.Xf(b),a.be()&&a.je())}
|
186
|
+
function Oz(a){a.lc||(Jz(a),Pz(a,!0),Qz(a),a.lc=!0,new Mz(a,102),wz(a,a,a.gc,0),Ez(a),a.hc.Zf(a))}function Rz(){this.jc=(vq(),vq(),Sz);new Mi;this._d();this.fc=(Tz(),Uz)}u(396,1,ci);_.Pd=function(){return!1};_.Qd=function(){return uz(this)};_.Rd=function(){return yz(this)};_.Sd=function(){return Vz(this.hc,this)};_.Td=function(){return this.Sd()};_.Ud=function(){return this.cc};_.Vd=function(){return this.de()};_.Wd=function(){return new Wz(0,0,0,0)};_.Xd=function(){return this.ge()};_.Yd=function(){return this.mc};
|
187
|
+
_.Zd=function(){return this.pc};_.$d=function(){return this.qc};_._d=function(){};_.ae=function(){Dz(this)};_.be=function(){return this.lc&&!!this.gc&&this.gc.be()};_.ce=function(){};_.de=function(){return Fz(this)};_.ee=function(){};_.fe=function(){return(null==this.ec&&(this.ec=this.Qd()),this.ec)+za+this.Zd()+za+this.$d()+za+this.Yd()+ih+this.Ud()+(this.lc?l:",hidden")};_.ge=function(){return Hz(this)};_.he=function(){};_.ie=function(){return Kz(this)};_.je=function(){};
|
188
|
+
_.ke=function(){var a=this.hc;a.f.b=-1;a.f.c=-1};_.le=function(a,b){this.me(this.pc,this.qc,a,b)};_.me=function(a,b,c,d){this.ne(a,b,c,d,this.ac,!0);this.ac=0};_.ne=function(a,b,c,d){Lz(this,a,b,c,d)};_.tS=function(){return this.cZ.e+Rc+this.fe()+Uc};_.oe=function(){this.kc=!0};_._b=null;_.ac=0;_.bc=null;_.cc=0;_.dc=0;_.ec=null;_.fc=null;_.gc=null;_.hc=null;_.ic=null;_.kc=!1;_.lc=!0;_.mc=0;_.nc=!1;_.oc=!1;_.pc=0;_.qc=0;
|
189
|
+
function R(a,b,c){var d;if(-1>a.Wb.b.d)throw new Ek("Missing message: awt.12A");if(A(b,91)){if(b==a)throw new Ek("Missing message: awt.12B");a:{if(a&&!A(a,103))for(d=a.gc;d;){if(d==b){d=!0;break a}if(A(d,103))break;d=d.gc}d=!1}if(d)throw new Ek("Missing message: awt.12C");if(A(b,103))throw new Ek("Missing message: awt.12D");}if(b.gc){d=b.gc;if(!b)throw new Bn;var e=Hj(d.Wb.b,b),f;f=Tu(d.Wb.b,e);d.Xb&&d.Xb.ue(f);Xz(d,e);new Yz(d,301,f)}d=a.Wb.b.d;Jz(b);Zz(a.Wb.b,d,b);d=(b.gc=a,b.ce(!0),Dz(a),!!a.Xb&&
|
190
|
+
A(a.Xb,96)&&(a.Xb.o=!1),wz(b,b,a,1),d);try{if(a.Xb)if(A(a.Xb,96)){var g=a.Xb;if(!b)throw new Cs("Missing message: awt.185");if(null==c||null!=c)$z(g,c,b);else throw new Ek("Missing message: awt.92");}else a.Xb.qe(null==c?null:c,b)}catch(j){j=Ui(j);if(A(j,126))throw b=j,Xz(a,d),b;throw j;}b.ke();new Yz(a,300,b)}function aA(a,b){var c;c=a.pe();b.c+=c.c+c.d;b.b+=c.e+c.b;return b}function bA(a){var b;b=a.pe();return new cA(b.c,b.e,a.mc-b.d-b.c,a.cc-b.e-b.b)}
|
191
|
+
function Pz(a,b){var c;for(c=a.Wb.b.d-1;0<=c;--c)Tu(a.Wb.b,c).ce(b)}function Xz(a,b){var c;c=Tu(a.Wb.b,b);Jz(c);c.ce(!1);Wu(a.Wb.b,b);c.gc=null;Dz(a);a.Xb&&A(a.Xb,96)&&(a.Xb.o=!1);wz(c,c,a,1)}function dA(a){var b=(eA(),fA);Nz(a,b);for(b=0;b<a.Wb.b.d;++b)Tu(a.Wb.b,b).ie()}function gA(a,b){var c,d;if(a.Xb)for(d=new Oi(a.Wb.b);d.c<d.e.Fe();)c=Pi(d),a.Xb.ue(c);if(b)for(d=new Oi(a.Wb.b);d.c<d.e.Fe();)c=Pi(d),b.qe(null,c);a.Xb=b;Dz(a);a.Xb&&A(a.Xb,96)&&(a.Xb.o=!1)}
|
192
|
+
function Qz(a){if(!a.kc){a.Xb&&a.Xb.re(a);var b,c;for(c=0;c<a.Wb.b.d;++c)b=Tu(a.Wb.b,c),b.kc||b.oe();a.kc=!0}}function hA(){Rz.call(this);this.Wb=new iA;this.$b=(vq(),vq(),Sz)}u(395,396,Vh);_.Sd=function(){if(!this.Xb)return null;!this.Yb&&(this.Yb=this.Xb.se(this));return this.Yb};_.Td=function(){if(!this.Xb)return null;!this.Zb&&(this.Zb=this.Xb.te(this));return this.Zb};_.pe=function(){return this.Wd()};_.Vd=function(){return Fz(this)};_.Xd=function(){return Hz(this)};
|
193
|
+
_._d=function(){this.hc=(vq(),new jA)};_.ae=function(){Dz(this);this.Xb&&A(this.Xb,96)&&(this.Xb.o=!1)};_.ce=function(a){Pz(this,a)};_.de=function(){return Fz(this)};_.ge=function(){return Hz(this)};_.he=function(){var a;for(a=0;a<this.Wb.b.d;++a)Jz(Tu(this.Wb.b,a))};_.ie=function(){var a;if(!Kz(this))return!1;for(a=0;a<this.Wb.b.d;++a)Tu(this.Wb.b,a).ie();return!0};_.ke=function(){var a,b;this.Zb=this.Yb=null;for(b=0;b<this.Wb.b.d;++b)a=Tu(this.Wb.b,b),a.ke()};_.oe=function(){Qz(this)};_.Xb=null;
|
194
|
+
_.Yb=null;_.Zb=null;function kA(){var a=new lA;hA.call(this);gA(this,a)}u(394,395,Vh,kA);_.Qd=function(){return"panel"+this.$b.c.e++};function mA(a,b,c){a=nA(a.Vb,b,c);a.k=!0;return new oA(a)}function pA(a){a.ee(a.Vb.e)}function qA(a){return new Gz(G(a.Vb.pb,Rf),G(a.Vb.pb,Qf))}u(393,394,Vh);_.Ud=function(){return G(this.Vb.pb,Qf)};_.Yd=function(){return G(this.Vb.pb,Rf)};_.Zd=function(){return ek(this.Vb.pb)};_.$d=function(){return gk(this.Vb.pb)};
|
195
|
+
_.be=function(){return this.Vb.pb.style.display!=Jf};_.je=function(){pA(this)};_.le=function(){};_.Vb=null;function rA(a){if(null!=a)this.f=a;else throw new sA;}u(398,1,ti);_.tS=function(){return this.cZ.e+"[source="+this.f+Uc};_.f=null;
|
196
|
+
function tA(){tA=x;uA=new Mi;z(uA,new S(400),new vA(rh));z(uA,new S(401),new vA(rh));z(uA,new S(402),new vA(rh));z(uA,new S(500),new vA(th));z(uA,new S(501),new vA(th));z(uA,new S(502),new vA(th));z(uA,new S(503),new vA(uh));z(uA,new S(504),new vA(th));z(uA,new S(505),new vA(th));z(uA,new S(506),new vA(uh));z(uA,new S(507),new vA(Mh));z(uA,new S(100),new vA(nh));z(uA,new S(101),new vA(nh));z(uA,new S(102),new vA(nh));z(uA,new S(103),new vA(nh));z(uA,new S(1004),new vA(qh));z(uA,new S(1005),new vA(qh));
|
197
|
+
z(uA,new S(800),new vA(Bh));z(uA,new S(801),new vA(Bh));z(uA,new S(200),new vA(vh));z(uA,new S(201),new vA(vh));z(uA,new S(202),new vA(vh));z(uA,new S(204),new vA(vh));z(uA,new S(203),new vA(vh));z(uA,new S(209),new vA(Nh));z(uA,new S(208),new vA(Oh));z(uA,new S(207),new vA(Oh));z(uA,new S(206),new vA(vh));z(uA,new S(205),new vA(vh));z(uA,new S(1400),new vA(Kh));z(uA,new S(1401),new vA(Lh));z(uA,new S(1402),new vA(Lh));z(uA,new S(300),new vA(oh));z(uA,new S(301),new vA(oh));z(uA,new S(1100),new vA(Ah));
|
198
|
+
z(uA,new S(1101),new vA(Ah));z(uA,new S(1200),new vA(Ch));z(uA,new S(701),new vA(yh));z(uA,new S(900),new vA(zh));z(uA,new S(1001),new vA(wh));z(uA,new S(601),new vA(xh))}u(397,398,ti);_.fe=function(){return l};_.tS=function(){var a;a=l;A(this.f,90)&&null!=this.f&&(a=this.f,a=(null==a.ec&&(a.ec=a.Qd()),a.ec),null==a&&(a=l));return this.cZ.e+Rc+this.fe()+"] on "+(0<a.length?a:this.f)};_.e=0;var uA;function vA(a){this.b=a}u(400,1,{},vA);_.b=mh;function wA(){}u(401,1,{},wA);_.b=null;_.c=null;
|
199
|
+
function xA(a,b){var c;b&&(a.b?(c=new yA(a.b),At(c.c,c.d++,b),a.b=c):(a.b=new ij,cj(a.b,b)))}u(403,1,ti);_.b=null;function zA(){}function AA(){}u(402,403,ti,zA,AA);function BA(){BA=x;Math.sqrt(2)}function CA(a){BA();if(0>a)throw new Ek("Missing message: awt.133");this.f=a;this.b=2;this.d=0;this.e=10;this.c=0}u(404,1,{86:1},CA);_.eQ=function(a){return a===this?!0:A(a,86)?a.f==this.f&&a.b==this.b&&a.d==this.d&&a.e==this.e&&a.c==this.c:!1};
|
200
|
+
_.hC=function(){var a;a=new DA;a.b=31*a.b+Dt((new EA(this.f)).b);a.b=31*a.b+this.b;a.b=31*a.b+this.d;a.b=31*a.b+Dt((new EA(this.e)).b);return a.b};_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;function FA(){FA=x;GA=new Ks;HA=new Gz(0,0);Ls(GA,Ab);Ls(GA,Rb);Ls(GA,vb);Ls(GA,"Last");Ls(GA,Fb);Ls(GA,kc);Ls(GA,Gc);Ls(GA,Mc);Ls(GA,Pb)}
|
201
|
+
function $z(a,b,c){var d;if(null==b)d=Fb;else if(d=b,!Fv(GA.b,b))throw new Ek(IA());Ct(lj(a.d,d))===Ct(c)&&Ct(lj(a.c,c))===Ct(d)||((b=lj(a.d,d))&&JA(a,b,d),KA(a.b.Bd(),c)&&JA(a,c,d),b=a.b,new LA(c,b.b.b),++b.c,z(a.c,c,d),z(a.d,d,c))}function MA(a,b){return new Gz(Nj(b[1].c,Nj(b[2].c,b[4].c+b[0].c+b[3].c+a.f)),b[1].b+b[2].b+Nj(b[0].b,Nj(b[4].b,b[3].b))+a.n)}function JA(a,b,c){NA(a.b,b);Xi(a.c,b);Xi(a.d,c)}
|
202
|
+
function OA(a,b){if(!a.o){a.o=!0;var c,d,e;c=a.i;PA(c,c.length,HA);c=a.j;PA(c,c.length,HA);c=a.p;PA(c,c.length,null);a.q=0;for(d=QA(a.b,0);d.c!=d.e.b;){c=RA(d);e=lj(a.c,c);var f=b.fc;e=Kn(e,Fb)?0:Kn(e,kc)?1:Kn(e,Gc)?2:Kn(e,Mc)?4:Kn(e,Pb)?3:Kn(e,Ab)?f.b?4:3:Kn(e,vb)?f.b?3:4:Kn(e,Rb)?1:2;c.lc?a.p[e]||(At(a.p,e,c),++a.q,a.i[e]=c.Vd(),a.j[e]=c.Xd()):a.p[e]||(a.i[e]=c.Vd(),a.j[e]=c.Xd())}0!=a.q&&(c=-1,a.p[1]&&++c,a.p[2]&&++c,a.p[0]||a.p[4]||a.p[3]?(a.f=(a.q-c-2)*a.e,++c):a.f=0,a.n=c*a.k)}}
|
203
|
+
function SA(){FA();TA.call(this,0)}function TA(a){FA();vq();this.b=new UA;this.c=new Mi;this.d=new Mi;this.e=a;this.k=0;this.o=!1;this.p=y(VA,m,90,5,0);this.i=y(WA,m,92,5,0);this.j=y(WA,m,92,5,0);this.q=this.f=this.n=0}u(405,1,{96:1,117:1},SA,TA);_.qe=function(a,b){$z(this,a,b)};
|
204
|
+
_.re=function(a){OA(this,a);if(0!=this.q)if(a=bA(a),0>=a.c||0>=a.b){var b,c;for(c=0;5>c;++c)(b=this.p[c])&&b.me(a.d,a.e,0,0)}else{var d,e;b=a.d;e=a.e;this.p[1]&&(this.p[1].le(a.c,this.j[1].b),this.p[1].ne(a.d,a.e,a.c,this.j[1].b,2,!0),e+=this.j[1].b+this.k);c=a.b-this.j[1].b-this.j[2].b-this.n;c=0<c?c:0;this.p[4]&&(this.p[4].le(this.j[4].c,c),this.p[4].ne(a.d,e,this.j[4].c,c,2,!0),b+=this.j[4].c+this.e);d=a.c-this.j[4].c-this.j[3].c-this.f;this.p[0]&&this.p[0].me(b,e,0<d?d:0,c);this.p[2]&&(this.p[2].le(a.c,
|
205
|
+
this.j[2].b),this.p[2].ne(a.d,a.e+a.b-this.j[2].b,a.c,this.j[2].b,2,!0));this.p[3]&&(this.p[3].le(this.j[3].c,c),this.p[3].ne(a.d+a.c-this.j[3].c,e,this.j[3].c,c,2,!0))}};_.se=function(a){var b;b=this.o;OA(this,a);this.o=b;return 0==this.q?aA(a,new Gz(0,0)):aA(a,MA(this,this.i))};_.te=function(a){var b;b=this.o;OA(this,a);this.o=b;return aA(a,MA(this,this.j))};_.ue=function(a){var b;b=lj(this.c,a);null!=b&&JA(this,a,b)};_.tS=function(){return XA.e+"[hgap="+this.e+",vgap="+this.k+Uc};_.b=null;
|
206
|
+
_.c=null;_.d=null;_.e=0;_.f=0;_.i=null;_.j=null;_.k=0;_.n=0;_.o=!1;_.p=null;_.q=0;var HA,GA;function YA(a){Rz.call(this);this.hc=(vq(),new ZA(a,this))}u(406,396,{87:1,90:1,97:1,111:1,117:1},YA);_.Qd=function(){return rd+this.jc.c.b++};_.Sd=function(){return!zz(this)?new Gz(0,0):Vz(this.hc,this)};_.ke=function(){};u(408,1,{});u(407,408,{},function(){});function $A(){$A=x}
|
207
|
+
function aB(a,b){if(null==b)throw new Cs("Missing message: awt.103");var c=-1,d,e,f;f=a.hc.b.pb;e=$doc.createElement(Uf);e.text=b;e.removeAttribute("bidiwrapped");e.value=b;d=f.options.length;(0>c||c>d)&&(c=d);c==d?f.add(e,null):(c=f.options[c],f.add(e,c))}function bB(){$A();Rz.call(this);new ij;this.hc=new cB((vq(),this))}u(409,396,{88:1,90:1,97:1,111:1,117:1},bB);_.Sd=function(){return Vz(this.hc,this)};
|
208
|
+
_.fe=function(){return(null==this.ec&&(this.ec=uz(this)),this.ec)+za+this.pc+za+this.qc+za+this.mc+ih+this.cc+(this.lc?l:",hidden")+",current="+xq(this.hc.b,this.hc.b.pb.selectedIndex)};function dB(){dB=x;eB=new fB(255,255,255);gB=new fB(192,192,192);hB=new fB(128,128,128);iB=new fB(64,64,64);jB=kB=new fB(0,0,0);lB=new fB(255,0,0);new fB(255,175,175);mB=new fB(255,200,0);nB=new fB(255,255,0);new fB(0,255,0);oB=new fB(255,0,255);pB=new fB(0,255,255);qB=rB=new fB(0,0,255)}
|
209
|
+
function sB(a){var b,c;c=a.b>>16&255;b=a.b&255;a=a.b>>8&255;if(0==c&&0==b&&0==a)return new fB(3,3,3);3>c&&0!=c?c=3:(c=Dt(c/0.7),c=255<c?255:c);3>b&&0!=b?b=3:(b=Dt(b/0.7),b=255<b?255:b);3>a&&0!=a?a=3:(a=Dt(a/0.7),a=255<a?255:a);return new fB(c,a,b)}function tB(a){return new fB(Dt(0.7*(a.b>>16&255)),Dt(0.7*(a.b>>8&255)),Dt(0.7*(a.b&255)))}function fB(a,b,c){dB();if((a&255)!=a||(b&255)!=b||(c&255)!=c)throw new Ek("Color parameter outside of expected range");this.b=c|b<<8|a<<16|-16777216}
|
210
|
+
u(410,1,{89:1,98:1,102:1},fB);_.eQ=function(a){return A(a,89)?a.b==this.b:!1};_.hC=function(){return this.b};_.tS=function(){return uB.e+"[r="+(this.b>>16&255)+",g="+(this.b>>8&255)+",b="+(this.b&255)+Uc};_.b=0;var jB,qB,kB,rB,pB,iB,hB,gB,oB,mB,lB,eB,nB;function Tz(){Tz=x;Uz=new vB(!0);wB=new Ks;Ls(wB,"ar");Ls(wB,"fa");Ls(wB,"iw");Ls(wB,"ur")}function vB(a){this.b=a}u(411,1,ti,vB);_.b=!1;var Uz,wB;u(413,1,{107:1,120:1});function xB(){Gz.call(this,0,0)}function Gz(a,b){this.c=a;this.b=b}
|
211
|
+
function Iz(a){Gz.call(this,a.c,a.b)}u(412,413,{92:1,107:1,117:1,120:1},xB,Gz,Iz);_.eQ=function(a){return a===this?!0:A(a,92)?a.c==this.c&&a.b==this.b:!1};_.hC=function(){var a;a=new DA;a.b=31*a.b+this.c;a.b=31*a.b+this.b;return a.b};_.tS=function(){return yB.e+"[width="+this.c+",height="+this.b+Uc};_.b=0;_.c=0;function Er(a,b,c){this.i=a;this.d=b;this.f=this.e=this.k=this.j=0;this.c=c}u(414,1,ti,Er,function(a,b,c,d){this.i=a;this.d=b;this.k=this.j=0;this.e=c;this.f=d;this.c=null});
|
212
|
+
_.ve=function(){return 0!=(this.f&4)};_.we=function(){return 0!=(this.f&1)};_.tS=function(){var a;return this.cZ.e+"[id="+this.d+",x="+this.j+",y="+this.k+(0!=this.e?",key="+this.e+(a=l,this.we()&&(a+=",shift"),0!=(this.f&2)&&(a+=",control"),this.ve()&&(a+=",meta"),a):l)+",target="+this.i+(null!=this.c?",arg="+this.c:l)+Uc};_.c=null;_.d=0;_.e=0;_.f=0;_.i=null;_.j=0;_.k=0;function zB(a){var b,c;for(c=b=0;c<a.c.length;)a.c[c].lc&&++b,++c;return b}
|
213
|
+
function AB(a,b,c,d,e,f,g){var j,h,n,d=d+a.d;switch(a.b){case 0:break;case 2:d+=c;break;case 1:d+=~~(c/2);break;case 4:d+=g?c:0;break;default:d+=g?0:c}n=b.d-1;for(h=0;h<=n;++h)c=(sx(g?h:n-h,b.d),b.c[g?h:n-h]),j=c.Xd(),c.me(d,e+~~((f-j.b)/2),j.c,j.b),d+=j.c+a.d}function BB(a,b){var c,d,e,f,g,j;j=a.d;g=0;for(d=a.c,e=0,f=d.length;e<f;++e)c=d[e],c.lc&&(c=b?c.Xd():c.Vd(),g=Nj(g,c.b),j+=c.c+a.d);return new Gz(j,g+2*a.e)}function lA(){CB.call(this,1,5,5)}
|
214
|
+
function CB(a,b,c){vq();this.d=b;this.e=c;this.b=a}u(415,1,ti,lA,CB);_.qe=function(){};
|
215
|
+
_.re=function(a){this.c=DB(a.Wb);if(0!=zB(this)){var b,c,d,e,f,g,j,h,n,o,r;b=bA(a);g=a.pe();j=a.fc.b;n=new ij;o=f=2*this.d;r=g.e+this.e;h=0;e=!0;var q,t,v;q=a.Wb.b.d;d=new EB(q);for(v=0;v<q;++v)At(d.c,d.d++,null);for(c=this.c,q=0,v=c.length;q<v;++q)if(t=c[q],t.gc==a){var D=d,E=Hj(a.Wb.b,t);sx(E,D.d);At(D.c,E,t)}for(d=new Oi(d);d.c<d.e.Fe();)if((c=Pi(d))&&c.lc)a=c.Xd(),!e&&o+a.c>b.c&&(AB(this,n,b.c-(o-this.d),g.c,r,h,j),n.Qe(),o=f,r+=h+this.e,h=0),e=!1,At(n.c,n.d++,c),o+=a.c+this.d,h=Nj(h,a.b);AB(this,
|
216
|
+
n,b.c-(o-this.d),g.c,r,h,j)}};_.se=function(a){this.c=DB(a.Wb);return 0==zB(this)?aA(a,new Gz(10,10)):aA(a,BB(this,!1))};_.te=function(a){this.c=DB(a.Wb);return 0==zB(this)?aA(a,new Gz(10,10)):aA(a,BB(this,!0))};_.ue=function(){};_.tS=function(){var a;switch(this.b){case 0:a=Ze;break;case 2:a=lg;break;case 1:a=ud;break;case 4:a="trailing";break;default:a="leading"}return FB.e+"[hgap="+this.d+",vgap="+this.e+",align="+a+Uc};_.b=0;_.c=null;_.d=0;_.e=0;function eA(){eA=x;fA=new GB(Ob,0,12)}
|
217
|
+
function GB(a,b,c){eA();this.b=null!=a?a:"Default";this.c=0<=c?c:0;this.d=0==(b&-4)?b:0}u(416,1,{93:1,117:1},GB);_.b=null;_.c=0;_.d=0;var fA;u(417,1,Yh);_.tS=function(){return HB.e+"[font="+this.c+"ascent="+IB(this.c).b+", descent="+IB(this.c).c+", height="+IB(this.c).d+Uc};_.c=null;function JB(a){if(!a.n){Jz(a);a.Id();var b,c;for(b=0;b<a.p.d;++b)(c=Tu(a.p,b))&&JB(c);Pz(a,!1);a.n=!0;wz(a,a,a.gc,0);new KB(a,202)}}
|
218
|
+
function LB(a){var b,c;a.lc&&(a.hc.Id(),a.lc=!1);for(b=0;b<a.p.d;++b)(c=Tu(a.p,b))&&c.Id()}function MB(a){!zz(a)&&dA(a);var b=Hz(a);a.me(a.pc,a.qc,b.c,b.b);Qz(a)}function NB(a,b){a.q!=b&&(a.q=b)}u(419,395,si);_.Wd=function(){return new Wz(this.o.e,this.o.c,this.o.b,this.o.d)};_.Id=function(){LB(this)};_.be=function(){return this.hc.d.hb};_.me=function(a,b,c,d){Lz(this,a,b,c,d);this.ac=0};_.ne=function(a,b,c,d,e,f){e=c!=this.mc||d!=this.cc;Lz(this,a,b,c,d);this.lc&&e&&!f&&Qz(this)};_.n=!1;_.q=!1;
|
219
|
+
function OB(a){hA.call(this);this.r=new AA;this.p=new ij;this.o=new Wz(0,0,0,0);this.lc=!1;gA(this,new SA);this.hc&&PB(this.hc.d.I.c,a);this.hc&&QB(this.hc.d,!0);NB(this,!0)}u(418,419,si);_.pe=function(){return new Wz(this.o.e,this.o.c,this.o.b,this.o.d)};_.Zd=function(){return ek(this.hc.d.pb)};_.$d=function(){return gk(this.hc.d.pb)};_._d=function(){this.hc=new RB((vq(),l),this)};
|
220
|
+
function SB(a,b,c,d,e,f){var g,j;g=a.e;f?(j=sB(g),f=new fB(Dt(0.7*(g.b>>16&255)),Dt(0.7*(g.b>>8&255)),Dt(0.7*(g.b&255))),(a.e=g)&&(a.i=kg+(g.b>>16&255)+za+(g.b>>8&255)+za+(g.b&255)+va)):(j=new fB(Dt(0.7*(g.b>>16&255)),Dt(0.7*(g.b>>8&255)),Dt(0.7*(g.b&255))),f=sB(g),(a.e=j)&&(a.i=kg+(j.b>>16&255)+za+(j.b>>8&255)+za+(j.b&255)+va));--d;--e;TB(a,b+1,c+1,d-1,e-1);(a.e=j)&&(a.i=kg+(j.b>>16&255)+za+(j.b>>8&255)+za+(j.b&255)+va);TB(a,b,c,d,1);TB(a,b,c+1,1,e);(a.e=f)&&(a.i=kg+(f.b>>16&255)+za+(f.b>>8&255)+
|
221
|
+
za+(f.b&255)+va);TB(a,b+d,c,1,e);TB(a,b+1,c+e,d,1)}u(420,1,{});_.tS=function(){return"Graphics"};u(421,420,{});function UB(a){var b,c;c=Nj(0,a.e);0==c?(b=a.b,c=~~(a.c.length/b),0<a.c.length%b&&++c):(c=a.e,b=~~(a.c.length/c),0<a.c.length%c&&++b);return new Gz(b,c)}function VB(a,b,c){var d,e,f,g,j,h;a.c=DB(b.Wb);if(0==a.c.length)return new xB;g=UB(a);j=h=0;for(e=a.c,b=0,f=e.length;b<f;++b)d=e[b],d=c?d.Xd():d.Vd(),h=Nj(h,d.c),j=Nj(j,d.b);return new Gz(h*g.c+a.d*(g.c-1),j*g.b+a.f*(g.b-1))}
|
222
|
+
function WB(a,b,c,d,e){var f,g,j,h;j=d.length;a-=(j-1)*c;for(g=0,h=0;g<j;++g,b+=c)f=Dt(a*((g+1)/j))-h,d[g]=f,e[g]=h+b,h+=f}function XB(){YB.call(this,7)}function YB(a){vq();this.e=0;this.b=1;this.f=a;this.d=0}u(422,1,ti,XB,YB);_.qe=function(){};
|
223
|
+
_.re=function(a){var b,c;this.c=DB(a.Wb);if(0!=this.c.length&&(b=bA(a),!(0>=b.c||0>=b.b))){c=UB(this);var d=c.c;c=c.b;var a=a.fc.b,e,f,g,j,h,n,o;f=y(M,s,-1,d,1);e=y(M,s,-1,d,1);h=y(M,s,-1,c,1);n=y(M,s,-1,c,1);WB(b.c,b.d,this.d,f,e);WB(b.b,b.e,this.f,h,n);b=0;j=0;a:for(;b<c;++b)for(g=0;g<d;++g)if(o=a?g:d-g-1,this.c[j].me(e[o],n[b],f[o],h[b]),++j==this.c.length)break a}};_.se=function(a){return aA(a,VB(this,a,!1))};_.te=function(a){return aA(a,VB(this,a,!0))};_.ue=function(){};
|
224
|
+
_.tS=function(){return ZB.e+"[hgap="+this.d+",vgap="+this.f+",rows="+this.e+",cols="+this.b+Uc};_.b=0;_.c=null;_.d=0;_.e=0;_.f=0;function Lx(){En()}function cw(a){En();this.i=a}u(424,97,ui,Lx,cw);function Cz(){En();this.i="Missing message: awt.151"}u(423,424,ui,Cz);u(425,1,{});function Wz(a,b,c,d){this.e=a;this.c=b;this.b=c;this.d=d}u(426,1,{95:1,117:1,120:1},Wz);_.eQ=function(a){return a===this?!0:A(a,95)?a.c==this.c&&a.b==this.b&&a.d==this.d&&a.e==this.e:!1};
|
225
|
+
_.hC=function(){var a;a=31+this.e;a=31*a+this.c;a=31*a+this.b;return a=31*a+this.d};_.tS=function(){return $B.e+"[left="+this.c+",top="+this.e+",right="+this.d+",bottom="+this.b+Uc};_.b=0;_.c=0;_.d=0;_.e=0;function aC(a){bC.call(this,a,0)}function bC(a,b){Rz.call(this);this.hc=(vq(),new cC(a));this.b=b;var c=this.hc;switch(b){case 1:var c=c.b,d=(Cx(),Nx);c.b=d;zx(c);break;case 0:c=c.b;d=(Cx(),Dx);c.b=d;zx(c);break;case 2:c=c.b,d=(Cx(),Ex),c.b=d,zx(c)}}u(427,396,ci,aC,bC);
|
226
|
+
_.Sd=function(){return!zz(this)?new Gz(0,0):Vz(this.hc,this)};_.fe=function(){var a=(null==this.ec&&(this.ec=uz(this)),this.ec)+za+this.pc+za+this.qc+za+this.mc+ih+this.cc+(this.lc?l:",hidden")+",align=",b;b=Ze;switch(this.b){case 1:b=ud;break;case 2:b=lg}return a+b+",text=null"};_.b=0;u(430,1,ti);_.fe=function(){return this.k};_.tS=function(){return this.cZ.e+Rc+this.fe()+Uc};_.k=null;_.n=null;
|
227
|
+
function dC(a){var b;b=a.k+",label="+a.i;a.f||(b+=",disabled");null!=a.d&&(b+=",command="+a.d);return b}function eC(a){this.o=(vq(),vq(),Sz);var b;var c;b=this.cZ.e;-1!=Wv(b,Xv(36))?b=null:(c=this.o.c.d++,b=io(b,vz(b,Xv(46))+1)+l+c);this.k=b;this.e=new zA;this.i=a;this.f=!0;this.j=new fC(this)}u(429,430,ti,eC);_.fe=function(){return dC(this)};_.d=null;_.f=!1;_.i=null;_.j=null;u(428,429,ei);_.fe=function(){return dC(this)+(this.c?",tearOff":l)};_.c=!1;u(432,1,{108:1});
|
228
|
+
_.eQ=function(a){return a===this?!0:A(a,108)?this.b==a.b&&this.c==a.c:!1};_.hC=function(){var a;a=new DA;gC(a,this.b);gC(a,this.c);return a.b};function Bz(){this.c=this.b=0}function hC(a,b){this.b=a;this.c=b}function iC(a){var b=a.c;this.b=a.b;this.c=b}u(431,432,{99:1,108:1,117:1},Bz,hC,iC);_.eQ=function(a){return a===this?!0:A(a,99)?this.b==a.b&&this.c==a.c:!1};_.tS=function(){return jC.e+"[x="+this.b+",y="+this.c+Uc};_.b=0;_.c=0;
|
229
|
+
function kC(a,b){if(!b)throw new Cs("Missing message: awt.70");var c=a.b;if(H(b.i,Ba)){var c=c.b.b,d=new Ey,e=c.d.d;if(0>e||e>c.d.d)throw new sw;c.p&&(d.pb[Hd]=2);my(c,e,d.pb);Zz(c.d,e,d)}else{var e=c.b,d=e.b,c=b.j.b,e=e.b.d.d,f,g;if(0>e||e>d.d.d)throw new sw;Zz(d.d,e,c);for(f=g=0;f<e;++f)A(Tu(d.d,f),73)&&++g;Zz(d.j,g,c);my(d,e,c.pb);c.c=d;e=Vv(c.pb)+Va;Qi(c.ld(),e,!1);d.p&&(e=Hj(d.d,c),-1!=e&&(d=Cv(d.p?d.f:Cv(d.f,0),e),2==Dv(d)&&d.removeChild(Cv(d,1)),c.pb[Hd]=2))}}
|
230
|
+
function lC(a,b,c,d){a=a.b;b=Az(b);c+=b.b;d+=b.c;Mw(a.b,c,d);Nw(a.b)}function mC(){eC.call(this,l);new ij;this.c=!1;this.b=(vq(),new nC)}u(433,428,ei,mC);_.b=null;u(436,1,{101:1,110:1,120:1});u(435,436,{101:1,109:1,110:1,120:1});_.eQ=function(a){return a===this?!0:A(a,109)?this.d==a.d&&this.e==a.e&&this.c==a.c&&this.b==a.b:!1};_.hC=function(){var a;a=new DA;gC(a,this.d);gC(a,this.e);gC(a,this.c);gC(a,this.b);return a.b};function cA(a,b,c,d){this.d=a;this.e=b;this.b=d;this.c=c}
|
231
|
+
u(434,435,{100:1,101:1,109:1,110:1,117:1,120:1},cA);_.eQ=function(a){return a===this?!0:A(a,100)?a.d==this.d&&a.e==this.e&&a.c==this.c&&a.b==this.b:!1};_.tS=function(){return oC.e+"[x="+this.d+",y="+this.e+",width="+this.c+",height="+this.b+Uc};_.b=0;_.c=0;_.d=0;_.e=0;function pC(){pC=x;qC=new rC;sC=new tC;uC=new tC}var qC,uC,sC;u(438,1,{});_.eQ=function(a){return this===a};_.hC=function(){return Gi(this)};function rC(){}u(439,438,{},rC);function tC(){}u(440,1,{},tC);u(441,396,ci);_.Rd=function(){return null};
|
232
|
+
function vC(a,b){var c;c=new wC(zz(a));return!c?null:new Gz(xC(c,"_")*b+6,IB(c.c).d+6)}function yC(a,b){var c;c=vC(a,b);return!c?Fz(a):c}function zC(a,b){var c;c=vC(a,b);return!c?Hz(a):c}function AC(a,b){var c=a.hc;Yy(c.b,b);c.f.b=-1;c.f.c=-1}function BC(a){CC.call(this,a,null!=a?a.length:0)}function CC(a,b){Rz.call(this);this.b=0>b?0:b;var c=this.hc;Yy(c.b,a);c.f.b=-1;c.f.c=-1}u(442,441,ci,BC,CC);_.Qd=function(){return"textfield"+this.jc.c.f++};_.Sd=function(){return vC(this,ko(this.hc.b.pb,ch).length)};
|
233
|
+
_.Td=function(){return!zz(this)?null:vC(this,ko(this.hc.b.pb,ch).length)};_.Vd=function(){return 0<this.b?yC(this,this.b):Fz(this)};_.Xd=function(){return 0<this.b?zC(this,this.b):Hz(this)};_._d=function(){this.hc=(vq(),new DC)};_.de=function(){return 0<this.b?yC(this,this.b):Fz(this)};_.ge=function(){return 0<this.b?zC(this,this.b):Hz(this)};_.b=0;function vq(){vq=x;Sz=new EC}function Hr(){var a=(vq(),vq(),Sz);!a.d&&(a.d=new FC)}function EC(){this.c=new GC;this.e=new wA}u(443,1,{},EC);_.b=null;
|
234
|
+
_.d=null;var Sz;function GC(){}u(444,1,{},GC);_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;u(445,1,{});function HC(){HC=x;IC=new JC;KC=new JC}function LC(a,b){return b==a?!0:!b?!1:!0}function JC(){}u(446,1,{104:1},JC);_.eQ=function(a){return null==a||!A(a,104)?!1:LC(this,a)};_.hC=function(){var a;a=null.hg()+";class="+null.hg();a=!null.hg().hg()?a:a+";charset=";return tu(a)};_.tS=function(){return MC.e+"[MimeType=(null);humanPresentableName="+this.b+Uc};_.b=null;var IC,KC;
|
235
|
+
function NC(){NC=x;K(OC,m,104,[(HC(),KC),IC])}function PC(a){NC();this.b=a}u(447,1,{},PC);_.b=null;function QC(a){a="flavor = "+a;En();this.i=a}u(448,98,{105:1,117:1,124:1,132:1},QC);function RC(a,b,c){tA();SC.call(this,a,b,c,mh)}function SC(a,b,c,d){tA();rA.call(this,a);this.e=b;this.b=c;this.d=d;this.c=0}u(449,397,ti,RC,SC);
|
236
|
+
_.fe=function(){var a,b;a=1001==this.e?"ACTION_PERFORMED":"unknown type";b=l;0<(this.c&1)&&(b+="Shift");0<(this.c&2)&&(b+=0==b.length?"Ctrl":"+Ctrl");0<(this.c&4)&&(b+=0==b.length?"Meta":"+Meta");0<(this.c&8)&&(b+=0==b.length?"Alt":"+Alt");return a+",cmd="+this.b+",when="+nu(this.d)+",modifiers="+b};_.b=null;_.c=0;_.d=mh;function Mz(a,b){tA();rA.call(this,a);this.e=b}u(450,397,ti,Mz);
|
237
|
+
_.fe=function(){var a,b;a=this.f;switch(this.e){case 100:b="COMPONENT_MOVED";break;case 101:b="COMPONENT_RESIZED";break;case 102:return"COMPONENT_SHOWN";case 103:return"COMPONENT_HIDDEN";default:return"unknown type"}return b+" ("+a.Zd()+za+a.$d()+ba+a.Yd()+ih+a.Ud()+va};function Yz(a,b,c){tA();Mz.call(this,a,b);this.b=c}u(451,450,ti,Yz);
|
238
|
+
_.fe=function(){var a;switch(this.e){case 300:a="COMPONENT_ADDED";break;case 301:a="COMPONENT_REMOVED";break;default:a="unknown type"}a+=",child=";var b=this.b;null==b.ec&&(b.ec=b.Qd());return a+b.ec};_.b=null;function xz(a,b,c,d){tA();rA.call(this,a);this.e=1400;this.c=b;this.d=c;this.b=d}u(452,397,ti,xz);
|
239
|
+
_.fe=function(){var a;switch(this.e){case 1400:a="HIERARCHY_CHANGED";break;case 1401:a="ANCESTOR_MOVED";break;case 1402:a="ANCESTOR_RESIZED";break;default:a="unknown type"}a+=" (";1400==this.e&&(lu(eu(this.b,nh))&&(a+="PARENT_CHANGED,"),lu(eu(this.b,oh))&&(a+="DISPLAYABILITY_CHANGED,"),lu(eu(this.b,qh))&&(a+="SHOWING_CHANGED,"));return a+"changed="+this.c+",changedParent="+this.d+va};_.b=mh;_.c=null;_.d=null;u(453,1,pi);function KB(a,b){tA();Mz.call(this,a,b);this.d=null;this.b=this.c=0}
|
240
|
+
u(454,450,ti,KB);
|
241
|
+
_.fe=function(){var a;switch(this.e){case 200:a="WINDOW_OPENED";break;case 201:a="WINDOW_CLOSING";break;case 202:a="WINDOW_CLOSED";break;case 203:a="WINDOW_ICONIFIED";break;case 204:a="WINDOW_DEICONIFIED";break;case 205:a="WINDOW_ACTIVATED";break;case 206:a="WINDOW_DEACTIVATED";break;case 207:a="WINDOW_GAINED_FOCUS";break;case 208:a="WINDOW_LOST_FOCUS";break;case 209:a="WINDOW_STATE_CHANGED";break;default:a="unknown type"}return a+",opposite="+this.d+",oldState="+this.c+",newState="+this.b};_.b=0;
|
242
|
+
_.c=0;_.d=null;u(455,1,{});function TC(a){if(null==a)throw new Bn;}u(456,455,{},TC);
|
243
|
+
function UC(){UC=x;VC={};VC["java.vendor"]=Ae;VC["package.restrict.access.sun"]=bh;VC["sun.java.launcher"]=gc;VC["sun.management.compiler"]=Ae;VC["os.name"]=gc;VC[" sun.boot.class.path"]=gc;VC["path.separator.applet"]=gc;VC["java.vm.specification.vendor"]=Ae;VC["java.runtime.version"]=gc;VC["http.proxyPort"]=gc;VC["user.name"]=gc;VC["user.language"]=gc;VC["os.name.applet"]=gc;VC["browser.version"]=gc;VC["java.version"]=gc;VC["user.timezone"]=gc;VC["java.endorsed.dirs"]=gc;VC["java.specification.name"]=
|
244
|
+
"GWT";VC["java.specification.version"]="2.5.0";VC[Ue]=bc;!$r&&($r=new hs);$r.b?VC[Me]="yes":VC[Me]=null}var VC;u(459,98,qi);function WC(){En()}function XC(a){En();this.i=a}u(458,459,{112:1,117:1,124:1,132:1},WC,XC);function YC(){YC=x;ZC=new $C}function aD(a){var b;if(a.n){var c;b=new ru;yn(b.b,a.i);b.b.b+=kb;c=a.b;null!=c&&0<c.length&&(b.b.b+=Ya,yn(b.b,a.b));c=a.c;a=a.k;null!=c&&yn(b.b,c);null!=a&&(b.b.b+=la,yn(b.b,a));b=b.b.b}else b="unknown protocol("+a.i+")://"+a.d+a.c;return b}
|
245
|
+
function bD(a){YC();var b,c,d;if(null==a)throw new WC;a=ho(a);try{d=Wv(a,Xv(58))}catch(e){e=Ui(e);if(A(e,128))throw new XC(Cn(e));throw e;}c=Wv(a,Xv(91));if(0<=d&&(-1==c||d<c)){this.i=a.substr(0,d-0);b=this.i.charCodeAt(0);b=97<=b&&122>=b||65<=b&&90>=b;for(c=1;b&&c<this.i.length;++c)b=this.i.charCodeAt(c),b=97<=b&&122>=b||65<=b&&90>=b||48<=b&&57>=b||43==b||45==b||46==b;if(b){c=this.i;cD();var f,g,j;j=c.length;b=new dD;for(g=0;g<j;++g){f=c.charCodeAt(g);if(65<=f&&90>=f){var h=b.b;f=String.fromCharCode(f+
|
246
|
+
32&65535)}else h=b.b,f=String.fromCharCode(f);h.b+=f}this.i=b.b.b}else this.i=null,d=-1}if(null==this.i)throw new XC(Yb+a);if(!this.n&&(this.n=lj(ZC,this.i),this.n||(this.n=(vq(),new eD))&&z(ZC,this.i,this.n),!this.n))throw new XC(Yb+a);try{c=a;var n=++d,o=a.length,r,q,t,v,D,E,J,Q,ub,Y,L,ea,Kc,og,zb,Td,Ud,Vd,Za,Lc,Ib;if(o<n||0>o){if(-2147483647>=o&&(n>=c.length||0>n)||!(0>n||n>=c.length)&&c.indexOf(Ya,n)==n&&-1==fD(c,Xv(47),n+2))throw new gD(o);}else{L=c.substr(n,o-n);o-=n;E=0;J=this.d;ea=this.f;
|
247
|
+
Vd=this.k;v=this.e;zb=this.j;r=this.b;Ib=this.o;Za=fD(L,Xv(35),0);if(0==L.indexOf(Ya)&&0!=L.indexOf("////")){ub=2;ea=-1;E=fD(L,Xv(47),2);Ud=fD(L,Xv(63),2);-1!=Ud&&(-1==E||E>Ud)&&(E=Ud);-1==E&&(E=o,v=l);Q=E;-1!=Za&&Za<E&&(Q=Za);var zd=Xv(64);Lc=L.lastIndexOf(zd,Q);r=L.substr(2,Q-2);-1<Lc&&(Ib=L.substr(2,Lc-2),ub=Lc+1);Kc=fD(L,Xv(58),-1==Lc?ub:Lc);t=Wv(L,Xv(93));if(-1!=t)try{L.length>t+1?(q=L.charCodeAt(t+1),58==q?Kc=t+1:Kc=-1):Kc=-1}catch(pf){if(pf=Ui(pf),!A(pf,124))throw pf;}-1==Kc||Kc>E?J=L.substr(ub,
|
248
|
+
Q-ub):(J=L.substr(ub,Kc-ub),og=L.substr(Kc+1,Q-(Kc+1)),0==og.length?ea=-1:ea=hD(og,10))}-1<Za&&(Vd=L.substr(Za+1,o-(Za+1)));D=-1==Za?o:Za;var ec=Xv(63);Td=L.lastIndexOf(ec,D);-1<Td?(zb=L.substr(Td+1,D-(Td+1)),0==Td&&null!=v&&(H(v,l)?v=Xa:v.indexOf(Xa),Y=vz(v,Xv(47))+1,v=v.substr(0,Y-0)),D=Td):0!=Za&&(zb=null);-1<E&&(E<o&&47==L.charCodeAt(E)?v=L.substr(E,D-E):D>E&&(null==v?v=l:H(v,l)?v=Xa:v.indexOf(Xa),Y=vz(v,Xv(47))+1,0==Y?v=L.substr(E,D-E):v=v.substr(0,Y-0)+L.substr(E,D-E)));null==v&&(v=l);null==
|
249
|
+
J&&(J=l);d=J;var Ge;Ge=v;null!=zb&&!H(zb,l)&&(null!=v?Ge=v+rb+zb:Ge=rb+zb);null==this.i&&(this.i=this.i);this.d=d;this.c=Ge;this.f=ea;this.k=Vd;var Ad;null!=this.d&&0<this.d.length&&(this.b=this.d,-1!=this.f&&(this.b=this.b+kb+this.f));null!=this.d&&-1<(Ad=vz(this.d,Xv(64)))?(this.o=this.d.substr(0,Ad-0),this.d=io(this.d,Ad+1)):this.o=null;null!=this.c&&-1<(Ad=Wv(this.c,Xv(63)))?(this.j=io(this.c,Ad+1),this.e=this.c.substr(0,Ad-0)):(this.j=null,this.e=this.c);this.b=r;this.o=Ib;this.e=v;this.j=zb}}catch(Bd){Bd=
|
250
|
+
Ui(Bd);if(A(Bd,124))throw new XC(Cn(Bd));throw Bd;}if(-1>this.f)throw new XC("incorrect port: "+this.f);}u(460,1,ti,bD);_.tS=function(){return aD(this)};_.b=null;_.c=null;_.d=null;_.e=null;_.f=-1;_.i=null;_.j=null;_.k=null;_.n=null;_.o=null;var ZC;u(461,1,{});function iD(a,b,c){var d,e;for(d=new jD(a.Ae().b);kD(d.b);)if(a=d.c=Pi(d.b),e=a.Ef(),null==b?null==e:Kn(b,e))return c&&(a=new lD(a.Ef(),a.Ff()),mD(d)),a;return null}u(465,1,Fi);_.ze=function(a){return!!iD(this,a,!1)};
|
251
|
+
_.eQ=function(a){var b,c;if(a===this)return!0;if(!A(a,135)||this.Fe()!=a.Fe())return!1;for(a=new jD(a.Ae().b);kD(a.b);)if(b=a.c=Pi(a.b),c=b.Ef(),b=b.Ff(),!this.ze(c)||!nD(b,this.Be(c)))return!1;return!0};_.Be=function(a){a=iD(this,a,!1);return!a?null:a.Ff()};_.hC=function(){var a,b,c;c=0;for(b=new jD(this.Ae().b);kD(b.b);)a=b.c=Pi(b.b),c+=a.hC(),c=~~c;return c};_.Ce=function(){return 0==this.Fe()};_.De=function(){throw new oD("Put not supported on this map");};
|
252
|
+
_.Ee=function(a){a=iD(this,a,!0);return!a?null:a.Ff()};_.Fe=function(){return this.Ae().b.e};_.tS=function(){var a,b,c,d;d="{";a=!1;for(c=new jD(this.Ae().b);kD(c.b);)b=c.c=Pi(c.b),a?d+=Aa:a=!0,d+=l+b.Ef(),d+=ob,d+=l+b.Ff();return d+"}"};function Xy(a){a.b=[];a.f={};a.d=!1;a.c=null;a.e=0}function Fv(a,b){var c;if(null==b)c=a.d;else if(A(b,1))c=kb+b in a.f;else a:{c=a.Ie(b);if(c=a.b[c])for(var d=0,e=c.length;d<e;++d)if(a.He(b,c[d].Ef())){c=!0;break a}c=!1}return c}
|
253
|
+
function lj(a,b){return null==b?a.c:A(b,1)?a.f[kb+b]:pD(a,b,a.Ie(b))}function pD(a,b,c){if(c=a.b[c])for(var d=0,e=c.length;d<e;++d){var f=c[d];if(a.He(b,f.Ef()))return f.Ff()}return null}function z(a,b,c){return null==b?qD(a,c):A(b,1)?rD(a,b,c):sD(a,b,c,a.Ie(b))}function sD(a,b,c,d){var e=a.b[d];if(e)for(var f=0,g=e.length;f<g;++f){if(d=e[f],a.He(b,d.Ef()))return a=d.Ff(),d.Gf(c),a}else e=a.b[d]=[];d=new lD(b,c);e.push(d);++a.e;return null}
|
254
|
+
function qD(a,b){var c;c=a.c;a.c=b;a.d||(a.d=!0,++a.e);return c}function rD(a,b,c){var d,e=a.f,b=kb+b;b in e?d=e[b]:++a.e;e[b]=c;return d}function Xi(a,b){var c;if(null==b)c=a.c,a.c=null,a.d&&(a.d=!1,--a.e);else if(A(b,1)){var d,e=a.f;c=kb+b;c in e&&(d=e[c],--a.e,delete e[c]);c=d}else a:{c=a.Ie(b);if(d=a.b[c])for(var e=0,f=d.length;e<f;++e){var g=d[e];if(a.He(b,g.Ef())){1==d.length?delete a.b[c]:d.splice(e,1);--a.e;c=g.Ff();break a}}c=null}return c}u(464,465,Fi);_.ze=function(a){return Fv(this,a)};
|
255
|
+
_.Ae=function(){return new tD(this)};_.He=function(a,b){return this.Ge(a,b)};_.Be=function(a){return lj(this,a)};_.De=function(a,b){return z(this,a,b)};_.Ee=function(a){return Xi(this,a)};_.Fe=function(){return this.e};_.b=null;_.c=null;_.d=!1;_.e=0;_.f=null;function Mi(){Xy(this)}u(463,464,xi,Mi);_.Ge=function(a,b){return Ct(a)===Ct(b)||null!=a&&Kn(a,b)};_.Ie=function(a){return~~Nn(a)};function $C(){Xy(this)}u(462,463,xi,$C);function uD(){En()}u(466,97,ui,uD);
|
256
|
+
function vD(a){var b,c;b=0;for(c=a.b;c<a.j;){c=wD(a,c);if(c>=a.j)break;c=xD(a,c);++b}return b}function yD(a,b){var c;for(c=0;c<a.c.length;++c)if(a.c[c]==b)return!0;return!1}function zD(a){var b;a.b=0<=a.k&&!a.e?a.k:wD(a,a.b);a.e=!1;a.k=-1;if(a.b>=a.j)throw new uD;b=a.b;a.b=xD(a,a.b);return a.o.substr(b,a.b-b)}
|
257
|
+
function xD(a,b){var c,d;for(d=b;d<a.j;)if(a.f){c=AD(a.o,d,a.o.length);if(c<=a.i&&yD(a,c))break;d+=65536<=c?2:1}else{c=a.o.charCodeAt(d);if(c<=a.i&&0<=Wv(a.d,Xv(c)))break;++d}a.n&&b==d&&(a.f?(c=AD(a.o,d,a.o.length),c<=a.i&&yD(a,c)&&(d+=65536<=c?2:1)):(c=a.o.charCodeAt(d),c<=a.i&&0<=Wv(a.d,Xv(c))&&++d));return d}
|
258
|
+
function wD(a,b){var c,d;if(null==a.d)throw new Bn;for(d=b;!a.n&&d<a.j;)if(a.f){c=AD(a.o,d,a.o.length);if(c>a.i||!yD(a,c))break;d+=65536<=c?2:1}else{c=a.o.charCodeAt(d);if(c>a.i||0>Wv(a.d,Xv(c)))break;++d}return d}function BD(a){CD.call(this,a," \t\n\r\u000c",!1)}function DD(a){CD.call(this,a,za,!1)}
|
259
|
+
function CD(a,b,c){this.b=0;this.k=-1;this.e=!1;this.o=a;this.j=a.length;this.d=b;this.n=c;var d;if(null==this.d)this.i=0;else{for(c=b=d=0;c<this.d.length;c+=65536<=a?2:1)a=this.d.charCodeAt(c),55296<=a&&57343>=a&&(a=AD(this.d,c,this.d.length),this.f=!0),d<a&&(d=a),++b;this.i=d;if(this.f){this.c=y(M,s,-1,b,1);for(c=0,d=0;c<b;++c,d+=65536<=a?2:1)a=AD(this.d,d,this.d.length),this.c[c]=a}}}u(467,1,{},BD,DD,CD);_.b=0;_.c=null;_.d=null;_.e=!1;_.f=!1;_.i=0;_.j=0;_.k=0;_.n=!1;_.o=null;
|
260
|
+
function ED(a,b){var c,d,e,f,g;c=l;if(null!=b){d=0;for(f=0,g=b.length;f<g;++f){e=b[f];if(A(e,1)&&(e=Qn(e),!(On(),!/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(e.replace(/"(\\.|[^"\\])*"/g,l)))))return;c+=e;d<b.length-1&&(c+=za);++d}}typeof a==ve?($wnd.alert("A JavaScript function name is expected, not a the function itself"),c=$wnd.eval(Rc+c+Uc),a.apply(c)):(evalString=a+ua+c+");",$wnd.eval(evalString))}
|
261
|
+
function FD(a){var b;if(null==a||0==a.length){try{$wnd.console.log('JSME installation warning: invalid size or not specified size of DOM element: "'+a+'", Using "100%".')}catch(c){}return db}b=a.charCodeAt(a.length-1);return null!=String.fromCharCode(b).match(/\d/)||46==b?a+cg:a}function Jt(a){var a=new GD(a),b,c,d,e,f;b=$doc.getElementsByTagName(Yd);f=b.length;a.d=[];for(d=0;d<f;++d)e=b[d],c=e.getAttribute(Fd)||l,c==a.b&&(c=a.d,c[c.length]=e);for(a.c=0;HD(a););return a.c}u(474,1,{});
|
262
|
+
function ID(a,b){b.Nc(new JD);b.Mc(new KD);b.Oc(new LD);b.Pc(new MD(a))}u(473,474,{});_.c=null;_.d=1;_.e=-1;function ND(a){this.b=a;this.c=new OD(this.b);this.d=this.e=1}u(472,473,{},ND);_.b=null;function OD(a){this.b=a}u(475,1,{},OD);_.Je=function(a){var b=this.b;b.wb&&(null!=a&&0<a.length?(!b.xb&&(b.xb=new Gr(b)),PD(b.xb,a)):(b.lb=!0,b.K="ERROR - empty or null structure",QD(b)))};_.b=null;function RD(a){this.b=a}u(476,1,{},RD);_.b=null;
|
263
|
+
function SD(a,b,c,d,e){this.f=a;this.c=b;this.e=c;this.d=d;this.b=e}u(477,1,{},SD);_.Ke=function(){Aw(this.f.i,this.c,G(this.f.pb,Rf)-this.e-this.d,G(this.f.pb,Qf)-(this.b-this.d))};_.b=0;_.c=null;_.d=0;_.e=0;_.f=null;function TD(a,b,c,d,e){this.f=a;this.c=b;this.e=c;this.d=d;this.b=e}u(478,1,{},TD);_.Ke=function(){Aw(this.f.i,this.c,G(this.f.pb,Rf)-this.e-this.d,G(this.f.pb,Qf)-(this.b-this.d))};_.b=0;_.c=null;_.d=0;_.e=0;var UD=_.f=null;
|
264
|
+
function VD(){VD=x;UD=new ou((Du(),new Cu("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAQCAYAAADqDXTRAAAAo0lEQVR42rWVQQ7AIAgEib33KV4b//+bfoK2h0ZUIKxGkz00AZdRoUTEqYrKKw6qtLmIuo/YZn9xy6ZyI29DGTNLq1KGTBdoVUqPwIqFFkLp0WKr4Pek5YCoGKVGe9xG3BeTu7zBFHiNMsc17YyH4517iUTnJQwsZWG60nNNwRwzrqaTtE2xDBijI9AchSip2gaO1CKDd7p/4LPRNlt/bYohpwcTQ8BgJmw3MgAAAABJRU5ErkJggg==")),29,16)}
|
265
|
+
function WD(){WD=x;XD=K(Gt,m,1,["Copyright (c) 2013, Novartis Institutes for BioMedical Research Inc. and Bruno Bienfait.","All rights reserved."]);YD=(dB(),gB);ZD=sB(YD);$D=y(aE,m,89,23,0);bE=y(Gt,m,1,23,0);cE=y(aE,m,89,7,0);dE=null!=(UC(),VC[Me]);eE=y(fE,m,93,100,0);gE=y(hE,m,94,100,0)}function iE(a){var b;if(a.Gb)b=jE(a,1)+qb+jE(a,2)+qb+jE(a,3);else if(b=jE(a,0),0<b.length){var c=new kE(a.$);cj(a.ab.b,c)}return b}
|
266
|
+
function lE(a,b){var c,d;c=b.b;if(H(c,(mE(),nE).c))Fr(oE(a));else if(H(c,pE.c))Fr(fr(a));else if(H(c,qE.c))a.wb&&(c=a.v,d=(!a.xb&&(a.xb=new Gr(a)),a.xb),c.b=d,Hr(),Ir(c));else if(H(c,mg)){7!=a.P&&(a.Q=mh);d=b.d;d=mu(d,lh);c=bu(d,a.Q);var e=!$t(c,mh)?Vt(c):c;!$t(e,sh)&&rE(a.$,O(c));sE(a);a.nb=!0;QD(a);a.P=7;a.Q=d}else H(c,tg)||(H(c,le)?tE(a):uE(a,c))}
|
267
|
+
function vE(a,b,c,d){var e,f,g,j,h,n,o,r,q;if(!a.rb&&(j=c-b+1,!(0>=j||b>a.vb||c>a.vb))){h=a.C;e=y(wE,m,-1,4,1);o=y(wE,m,-1,99,1);g=q=r=0;for(f=b;f<=c;++f)xE(a.gb[f],e),r+=e[2],q+=e[3],e[3]>g&&(g=e[3]),o[f]=e[2],2==d&&(o[f]=e[3]);a.A&&(r+=25*(j+1),q+=25*(j+1),g+=25);(0==a.D.c||0==a.D.b)&&(a.D=qA(a));0==a.D.c&&(a.D.c=400);0==a.D.b&&(a.D.b=300);n=f=1;e=a.D.c;j=a.D.b;a.A||(e-=a.Z,j-=3*a.Z);1==d||3==d?e=~~((e-48)/2):2==d&&(j=~~(j/2));r>=e&&(f=e/r);g>=j&&(n=j/g);g=0;a.A&&(a.C=f<n?f:n,g=25*e/r,2==d&&(g=
|
268
|
+
25*j/q));for(f=b;f<=c;++f)2==d?o[f]=o[f]*j/q:o[f]=o[f]*e/r;r=-e/2;q=0;1==d?r=-e-24:3==d?r=24:2==d&&(r=0,q=-j);for(f=b;f<=c;++f){if(a.A){for(b=1;b<=a.gb[f].u;++b)a.gb[f].K[b]*=a.C,a.gb[f].N[b]*=a.C;yE(a.gb[f])}2==d?q+=o[f]/2+g:r+=o[f]/2+g;for(b=1;b<=a.gb[f].u;++b)a.gb[f].K[b]+=r,a.gb[f].N[b]+=q;2==d?q+=o[f]/2:r+=o[f]/2;a.A||zE(a.gb[f])}a.C*=h}}
|
269
|
+
function AE(a){var b;a.nb=!0;a.d=202;a.qb=!1;if(0!=a.vb){a.nb=!0;a.i=!0;for(b=a.f;b<a.vb;++b)a.gb[b]=a.gb[b+1];--a.vb;a.f=a.vb;0<a.vb?a.$=a.gb[a.f]:(a.$=new BE(a),a.$.s=0);null!=a.tb&&ED(a.tb,null)}}function CE(a,b){var c,d,e,f;f=new mC;d=Dc;c="MOL";e="MOL or SDF";b&&(d="SMIRKS",e=c=yc);d=new eC(Jb+d);var g=(mE(),nE).c;d.d=g;kC(f,d);xA(d.e,a);d=new eC(Jb+c);d.d=pE.c;xA(d.e,a);kC(f,d);a.wb&&(kC(f,new eC(Ba)),c=a.yb,null==c&&(c="Paste "+e),d=new eC(c),d.d=qE.c,xA(d.e,a),kC(f,d));tz(a,f);return f}
|
270
|
+
function DE(a,b,c,d){var e,f,g,j,h,n,o;f=100*d+c;h=(c-1)*(a.Z+a.T);g=(d-1)*(a.Z+a.T);1==c&&2<d&&(g-=2*a.Z);T(b,YD);a.pb?(f==a.d&&T(b,tB(YD)),TB(b,h,g,a.Z,a.Z),T(b,(dB(),iB)),EE(b,h,g,a.Z-1,a.Z-1)):f==a.d?SB(b,h+1,g+1,a.Z,a.Z,!1):SB(b,h,g,a.Z,a.Z,!0);if(!(1301==f&&!a.Fb||107==f&&!a.Db))if(201!=f||a.Pb)if(103!=f||a.kb)if(!(105==f&&!a.ub&&!a.r)&&(109!=f||a.Gb))if(c=~~(a.Z/4),3>d)switch(T(b,(dB(),kB)),f){case 101:T(b,nB);f=h+3;d=g+3;c=a.Z-6;e=a.Z-6;FE(b,!0);GE(b,HE(b,f,d,c,e));T(b,kB);f=h+3;d=g+3;c=a.Z-
|
271
|
+
6;e=a.Z-6;b.o&&(FE(b,!1),GE(b,HE(b,f,d,c,e)));IE(b,h+6,g+6,a.Z-12,a.Z-12,-35,-110);TB(b,h+9,g+9,2,4);TB(b,h+a.Z-10,g+9,2,4);0.04>Math.random()&&(T(b,lB),TB(b,h+10,g+18,4,4));0.96<Math.random()&&(T(b,nB),TB(b,h+a.Z-10,g+8,2,3));break;case 112:d=h+c;e=h+a.Z-c;j=h+~~(a.Z/2);U(b,d,g+a.Z-c,j,g+~~(a.Z/2));U(b,h+~~(a.Z/2),g+~~(a.Z/2),e,g+a.Z-c);n=g+a.Z-c;f=~~(a.Z/24);U(b,j-f,n,j-2*f,n);U(b,j+f,n,j+2*f,n);T(b,oB);U(b,d,g+c,j,g+~~(a.Z/2));U(b,h+~~(a.Z/2),g+~~(a.Z/2),e,g+c);n=g+c;U(b,j-f,n,j-2*f,n);U(b,j+f,
|
272
|
+
n,j+2*f,n);T(b,kB);break;case 107:T(b,mB);TB(b,h+4,g+4,a.Z-8,a.Z-8);T(b,kB);EE(b,h+4,g+4,a.Z-8,a.Z-8);IE(b,h+6,g+6,a.Z-11,a.Z-12,-35,-110);TB(b,h+9,g+9,2,4);TB(b,h+a.Z-10,g+9,2,4);break;case 108:f=~~(a.Z/4);U(b,h+f,g+a.Z-f,h+a.Z-f,g+f);f=~~(a.Z/2)-f;d=g+~~(2*a.Z/3);h+=~~(a.Z/2);U(b,h,d,h+f,d);g+=~~(a.Z/3);a=h-f;U(b,a,g,h,g);h=~~((a+h)/2);g-=~~(f/2);U(b,h,g,h,g+f);break;case 113:a.Jb&&(f=~~(c/2),d=a.Z-2*c-2*f,c=h+f+c,e=g+(c-h),T(b,qB),EE(b,c,e,d,d),T(b,jB),j=h+~~(a.Z/2),a=g+~~(a.Z/2),n=c+d,o=g+f,g=
|
273
|
+
o+f,U(b,c,g,j,o),U(b,j,o,n,g),g=e+d+f,o=g+f,U(b,c,g,j,o),U(b,j,o,n,g),h+=f,n=h+f,g=e+d,U(b,n,e,h,a),U(b,h,a,n,g),h=c+d+f,n=h+f,U(b,h,e,n,a),U(b,n,a,h,g));break;case 110:JE(b,h,g,a.Z,!0);break;case 111:JE(b,h,g,a.Z,!1);break;case 109:U(b,h+c,g+~~(a.Z/2),h+a.Z-c,g+~~(a.Z/2));U(b,h+a.Z-c,g+~~(a.Z/2),h+a.Z-~~(3*c/2),g+~~(a.Z/2)+~~(c/2));U(b,h+a.Z-c,g+~~(a.Z/2),h+a.Z-~~(3*c/2),g+~~(a.Z/2)-~~(c/2));break;case 102:T(b,eB);TB(b,h+3,g+5,a.Z-7,a.Z-11);T(b,kB);EE(b,h+3,g+5,a.Z-7,a.Z-11);break;case 103:T(b,YD);
|
274
|
+
a.qb&&SB(b,h+1,g+1,a.Z,a.Z,!1);T(b,kB);KE(a,b,h,g,"NEW");break;case 106:T(b,lB);U(b,h+7,g+7,h+a.Z-7,g+a.Z-7);U(b,h+8,g+7,h+a.Z-6,g+a.Z-7);U(b,h+7,g+a.Z-7,h+a.Z-7,g+7);U(b,h+8,g+a.Z-7,h+a.Z-6,g+7);T(b,kB);U(b,h+c,g+~~(a.Z/2),h+12,g+~~(a.Z/2));KE(a,b,h+6,g,pc);break;case 104:T(b,lB);U(b,h+7,g+7,h+a.Z-7,g+a.Z-7);U(b,h+8,g+7,h+a.Z-6,g+a.Z-7);U(b,h+7,g+a.Z-7,h+a.Z-7,g+7);U(b,h+8,g+a.Z-7,h+a.Z-6,g+7);T(b,kB);break;case 105:a.Ob?(T(b,pB),U(b,h+11,g+5,h+9,g+9),U(b,h+9,g+9,h+4,g+9),U(b,h+4,g+9,h+8,g+12),U(b,
|
275
|
+
h+8,g+12,h+6,g+18),U(b,h+6,g+18,h+11,g+15),U(b,h+12,g+5,h+14,g+9),U(b,h+14,g+9,h+19,g+9),U(b,h+19,g+9,h+15,g+12),U(b,h+15,g+12,h+17,g+18),U(b,h+17,g+18,h+12,g+15),T(b,kB)):KE(a,b,h,g,"123");break;case 114:T(b,rB);f=a.Z-8;d=h+~~((a.Z-f)/2);c=g+~~((a.Z-f)/2);TB(b,d,c,f,f);T(b,kB);LE(a,b,h,g,eB,"i");break;case 201:U(b,h+c,g+~~(a.Z/2),h+a.Z-c,g+~~(a.Z/2)+2);U(b,h+c,g+~~(a.Z/2),h+a.Z-c,g+~~(a.Z/2)-2);U(b,h+a.Z-c,g+~~(a.Z/2)+2,h+a.Z-c,g+~~(a.Z/2)-2);break;case 202:U(b,h+c,g+~~(a.Z/2),h+a.Z-c,g+~~(a.Z/2));
|
276
|
+
break;case 203:U(b,h+c,g+~~(a.Z/2)-2,h+a.Z-c,g+~~(a.Z/2)-2);U(b,h+c,g+~~(a.Z/2)+2,h+a.Z-c,g+~~(a.Z/2)+2);break;case 204:U(b,h+c,g+~~(a.Z/2),h+a.Z-c,g+~~(a.Z/2));U(b,h+c,g+~~(a.Z/2)-3,h+a.Z-c,g+~~(a.Z/2)-3);U(b,h+c,g+~~(a.Z/2)+3,h+a.Z-c,g+~~(a.Z/2)+3);break;case 205:U(b,h+~~(c/2),g+2*c+~~(c/3),h+3*~~(c/2),g+2*c-~~(c/3));U(b,h+3*~~(c/2),g+2*c-~~(c/3),h+5*~~(c/2),g+2*c+~~(c/3));U(b,h+5*~~(c/2),g+2*c+~~(c/3),h+7*~~(c/2),g+2*c-~~(c/3));break;case 206:ME(a,b,h,g+2,3);break;case 207:ME(a,b,h,g,4);break;
|
277
|
+
case 208:ME(a,b,h,g,5);break;case 209:ME(a,b,h,g,1);break;case 210:ME(a,b,h,g,6);break;case 211:ME(a,b,h,g,7);break;case 212:ME(a,b,h,g,8);break;case 213:KE(a,b,h,g,"FG"),a.G=new hC(h,g)}else d=3,301==f?d=3:401==f?d=4:501==f?d=5:601==f?d=8:701==f?d=9:801==f?d=10:901==f?d=11:1001==f?d=12:1101==f?d=7:1201==f?d=18:1301==f&&(d=19),(a.Sb||1201!=f)&&null!=bE[d]&&LE(a,b,h,g,$D[d],bE[d])}
|
278
|
+
function NE(a){var b,c,d;a.lb&&(null==a.K&&(a.K=l),d=a.J.b,c=a.D.c-a.Z,b=a.Z,T(d,YD),TB(d,0,0,c,b),a.pb?(T(d,(dB(),iB)),EE(d,-1,0,c,b-1)):(T(d,ZD),U(d,0,0,c-1-2,0),T(d,tB(YD)),U(d,0,b-1,c-1,b-1),U(d,c-1,0,c-1,b-1)),OE(d,a.Y),T(d,(dB(),kB)),-1!=a.K.toLowerCase().indexOf(me)&&T(d,lB),PE(d,a.K,10,15),QE(a.Vb,a.J,a.Z,a.D.b-a.Z))}
|
279
|
+
function RE(a){var b,c,d,e;if(a.mb){d=a.R.b;c=a.Z;b=a.D.b-2*a.Z-a.T;T(d,YD);TB(d,0,0,c,b);a.pb?(T(d,(dB(),iB)),U(d,0,b-1,c,b-1),e=SE*(a.Z+a.T)+2,U(d,0,e,c,e),U(d,0,e,0,b),U(d,a.Z-1,e,a.Z-1,b-a.Z)):(T(d,ZD),U(d,0,0,0,b-1),U(d,0,SE*a.Z,b-1,SE*a.Z),T(d,tB(YD)),U(d,c-1,0,c-1,b-1-a.Z),U(d,0,b-1,c-1,b-1));for(b=3;b<=SE+2;++b)DE(a,d,1,b);QE(a.Vb,a.R,0,2*a.Z+a.T)}}
|
280
|
+
function TE(a){var b,c,d,e;if(a.nb){e=a.db.b;c=a.D.c-a.Z;b=a.D.b-3*a.Z-a.T;T(e,a.u);TB(e,0,0,c,b);d=a.eb?(pC(),sC):(pC(),uC);if((pC(),qC)==(pC(),qC))d==sC?e.b=l:e.b=zg;d=new CA(a.fb);(e.o=d)&&d&&(e.c='stroke-width="'+d.f+fa);for(d=1;d<=a.vb;++d){var f=a.gb[d],g=e,j=void 0,h=void 0,n=void 0,o=void 0,r=void 0,q=n=void 0,t=void 0,v=void 0,D=void 0,E=D=r=o=void 0,J=void 0,Q=void 0,ub=o=v=r=j=void 0,Y=o=j=void 0,L=h=r=h=void 0,ea=D=Q=void 0,J=h=q=r=r=E=t=L=j=Y=Y=v=L=J=q=Y=L=t=ea=q=J=n=Q=o=v=v=E=J=void 0,
|
281
|
+
D=Q=1,n=2,ea=3;f.x&&(yE(f),vE(f.o,1,f.o.vb,0),f.x=!1);n*=f.o.C;ea*=f.o.C;j=1;0.7>f.o.C&&(j=1.2);j=O(N(UE(13*f.o.C*j)));VE(f.o,j);f.o.B&&(T(g,(dB(),kB)),EE(g,0,0,f.o.D.c-1,f.o.D.b-1));if(0!=f.u){if(-1==f.k){o=O(N(Math.round(12*n)));for(j=1;j<=f.u;++j)0<f.e[j]&&7>f.e[j]&&(T(g,(WD(),cE)[f.e[j]]),h=g,r=Dt(f.K[j]-o/2),Y=Dt(f.N[j]-o/2),L=t=o,FE(h,!0),GE(h,HE(h,r,Y,t,L)));for(j=1;j<=f.v;++j)h=f.I[j],o=f.J[j],0!=f.e[h]&&f.e[h]==f.e[o]&&(T(g,(WD(),cE)[f.e[h]]),J=f.K[o]-f.K[h],Q=f.N[o]-f.N[h],D=Math.sqrt(J*
|
282
|
+
J+Q*Q),1>D&&(D=1),Q/=D,D=J/D,q=3*ea*Q,J=3*ea*D,Y=y(M,s,-1,4,1),r=y(M,s,-1,4,1),Y[0]=Dt(f.K[h]+q),r[0]=Dt(f.N[h]-J),Y[1]=Dt(f.K[o]+q),r[1]=Dt(f.N[o]-J),Y[2]=Dt(f.K[o]-q),r[2]=Dt(f.N[o]+J),Y[3]=Dt(f.K[h]-q),r[3]=Dt(f.N[h]+J),o=g,h=Y,FE(o,!0),GE(o,WE(o,h,r,4,!0)))}for(j=1;j<=f.v;++j){T(g,(dB(),kB));h=f.I[j];o=f.J[j];1==f.k&&0!=f.e[h]&&f.e[h]==f.e[o]&&T(g,(WD(),cE)[f.e[h]]);if(3==f.C[j]||4==f.C[j])r=h,h=o,o=r;L=f.K[h];t=f.N[h];Y=f.K[o];r=f.N[o];if(1!=f.t[j]||0!=f.C[j])J=Y-L,Q=r-t,D=Math.sqrt(J*J+Q*Q),
|
283
|
+
1>D&&(D=1),Q/=D,D=J/D;switch(f.t[j]){case 2:10<=f.C[j]&&T(g,oB);q=n*Q;J=n*D;U(g,O(N(Math.round(L+q))),O(N(Math.round(t-J))),O(N(Math.round(Y+q))),O(N(Math.round(r-J))));U(g,O(N(Math.round(L-q))),O(N(Math.round(t+J))),O(N(Math.round(Y-q))),O(N(Math.round(r+J))));T(g,kB);break;case 3:o=O(N(Math.round(L)));h=O(N(Math.round(t)));Y=O(N(Math.round(Y)));r=O(N(Math.round(r)));U(g,o,h,Y,r);L=O(N(Math.round(ea*Q)));t=O(N(Math.round(ea*D)));U(g,o+L,h-t,Y+L,r-t);U(g,o-L,h+t,Y-L,r+t);break;case 9:case 0:for(h=
|
284
|
+
0;10>h;++h)v=L-(L-Y)/10*h,E=t-(t-r)/10*h,U(g,O(N(Math.round(v))),O(N(Math.round(E))),O(N(Math.round(v))),O(N(Math.round(E))));OE(g,f.o.n);o=XE(f.o.o);J=f.f[j];h=rb;null!=J&&(h=J);J=xC(f.o.o,h);L=O(N(Math.round((L+Y)/2-J/2)));q=O(N(Math.round((t+r)/2+~~(o/2)-1)));T(g,oB);PE(g,h,L,q);T(g,kB);break;default:if(1==f.C[j]||3==f.C[j])q=ea*Q,J=ea*D,E=y(M,s,-1,3,1),v=y(M,s,-1,3,1),E[0]=O(N(Math.round(Y+q))),v[0]=O(N(Math.round(r-J))),E[1]=O(N(Math.round(L))),v[1]=O(N(Math.round(t))),E[2]=O(N(Math.round(Y-
|
285
|
+
q))),v[2]=O(N(Math.round(r+J))),o=g,h=E,r=v,FE(o,!0),GE(o,WE(o,h,r,3,!0));else if(2==f.C[j]||4==f.C[j]){q=ea*Q;J=ea*D;for(h=0;10>h;++h)v=L-(L-Y)/10*h,E=t-(t-r)/10*h,o=h/10,U(g,O(N(Math.round(v+q*o))),O(N(Math.round(E-J*o))),O(N(Math.round(v-q*o))),O(N(Math.round(E+J*o))))}else U(g,O(N(Math.round(L))),O(N(Math.round(t))),O(N(Math.round(Y))),O(N(Math.round(r))))}}D=y(wE,m,-1,f.u+1,1);Q=y(M,s,-1,f.u+1,1);for(j=1;j<=f.v;++j)h=f.I[j],o=f.J[j],n=f.K[h],r=f.K[o],++Q[h],++Q[o],D[h]=D[h]/Q[h]+r/Q[h],D[o]=
|
286
|
+
D[o]/Q[o]+n/Q[o];OE(g,f.o.n);o=XE(f.o.o);J=y(Gt,m,1,f.u+1,0);Y=y(M,s,-1,f.u+1,1);r=y(M,s,-1,f.u+1,1);n=y(YE,m,100,f.u+1,0);t=2;1!=f.o.C&&(t=O(N(UE(2*f.o.C))));for(j=1;j<=f.u;++j)h=ZE(f,j),(null==h||1>h.length)&&(h=wa),3==f.c[j]&&0<f.A[j]&&0==f.B[j]?(J[j]=h,Y[j]=r[j]=xC(f.o.o,h),n[j]=$E(f,t,j,Y[j],Y[j],o,!1)):(L=D[j]<f.K[j],E=!0,1<Q[j]&&(0>=D[j]-f.K[j]?0-(D[j]-f.K[j]):D[j]-f.K[j])<25*f.o.C/3&&(E=!1),2<Q[j]&&(E=!1),1==Q[j]&&(0>=D[j]-f.K[j]?0-(D[j]-f.K[j]):D[j]-f.K[j])<25*f.o.C/10&&(L=!0),q=h,ub=l,f.o.Lb&&
|
287
|
+
0<f.y[j]&&(ub+=Vb,1<f.y[j]&&(ub+=f.y[j])),v=l,0!=f.B[j]&&(1<Oj(f.B[j])&&(v+=Oj(f.B[j])),0<f.B[j]?v+=xa:v+=Ba),L||!E?h=h+ub+v+l:h=v+ub+l+h,E||(q=h),J[j]=h,q=xC(f.o.o,q),v=xC(f.o.o,h),Y[j]=q,r[j]=v,v=n[j]=$E(f,t,j,q,v,o,L),L=v.d+t+1,q=v.e+o+t,T(g,f.o.u),-1==f.k&&0!=f.e[j]&&T(g,(WD(),cE)[f.e[j]]),TB(g,v.d,v.e,v.c,v.b),1==f.k?0!=f.e[j]?T(g,(WD(),cE)[f.e[j]]):T(g,(dB(),kB)):T(g,(WD(),$D)[f.c[j]]),PE(g,h,L,q));for(h=1;h<=f.z;++h)j=f.r[h][0],q=Y[j],v=r[j],L=O(N(UE(f.K[j]-q/2))),q=O(N(UE(f.N[j]+~~(o/2)-1))),
|
288
|
+
T(g,(dB(),oB)),PE(g,ba+f.r[h][1],L+v,q);if(0<f.E||0<f.F)if(T(g,104==f.o.d?(dB(),lB):(dB(),rB)),0<f.E&&106!=f.o.d&&(v=n[f.E],EE(g,v.d,v.e,v.c,v.b)),0<f.F&&(h=f.I[f.F],o=f.J[f.F],J=f.K[o]-f.K[h],Q=f.N[o]-f.N[h],D=Math.sqrt(J*J+Q*Q),1>D&&(D=1),Q/=D,D=J/D,q=(ea+1)*Q,J=(ea+1)*D,E=y(M,s,-1,5,1),v=y(M,s,-1,5,1),E[0]=O(N(UE(f.K[h]+q))),E[1]=O(N(UE(f.K[o]+q))),v[0]=O(N(UE(f.N[h]-J))),v[1]=O(N(UE(f.N[o]-J))),E[3]=O(N(UE(f.K[h]-q))),E[2]=O(N(UE(f.K[o]-q))),v[3]=O(N(UE(f.N[h]+J))),v[2]=O(N(UE(f.N[o]+J))),E[4]=
|
289
|
+
E[0],v[4]=v[0],106!=f.o.d&&(ea=g,j=E,Q=v,ea.o&&(FE(ea,!1),GE(ea,WE(ea,j,Q,5,!0)))),106==f.o.d&&aF(f,f.I[f.F],f.J[f.F]))){ea=0;for(j=1;j<=f.u;++j)0<f.b[j]&&++ea;if(ea>~~(f.u/2))for(j=1;j<=f.u;++j)0<f.b[j]?f.b[j]=0:f.b[j]=1;T(g,(dB(),lB));for(j=1;j<=f.u;++j)0<f.b[j]&&(v=n[j],EE(g,v.d,v.e,v.c,v.b))}}}a.A||(a.pb?(T(e,(dB(),iB)),U(e,c-1,0,c-1,b-1)):(T(e,tB(YD)),U(e,c-1,0,c-1,b-1),T(e,YD),U(e,c-2,0,c-2,b-1),T(e,ZD),U(e,c-3,0,c-3,b-1)));a.Gb&&(d=~~((c-48)/2),T(e,(dB(),oB)),U(e,d,~~(b/2),d+48,~~(b/2)),U(e,
|
290
|
+
d+48,~~(b/2),d+48-6,~~(b/2)+6),U(e,d+48,~~(b/2),d+48-6,~~(b/2)-6));a.A&&(a.U=new GB(Wb,0,13),a.X=new wC(a.U),null!=a.cb&&(d=xC(a.X,a.cb),c=O(N(Math.round((c-d)/2))),b-=13,T(e,(dB(),kB)),OE(e,a.U),PE(e,a.cb,c,b)));QE(a.Vb,a.db,a.Z,2*a.Z+a.T)}}
|
291
|
+
function ME(a,b,c,d,e){var f,g,j,h,n;f=~~(a.Z/4);g=!1;h=y(M,s,-1,9,1);n=y(M,s,-1,9,1);c+=~~(a.Z/2);d+=~~(a.Z/2);a=~~(a.Z/2)-~~(f/2);1==e&&(e=6,g=!0);for(f=0;f<=e;++f)j=6.283185307179586/e*(f-0.5),h[f]=Dt(c+a*Math.sin(j)),n[f]=Dt(d+a*Math.cos(j));f=e+1;b.o&&(FE(b,!1),GE(b,WE(b,h,n,f,2<f)));if(g){for(f=0;f<=e;++f)j=6.283185307179586/e*(f-0.5),h[f]=Dt(c+(a-3)*Math.sin(j)),n[f]=Dt(d+(a-3)*Math.cos(j));U(b,h[0],n[0],h[1],n[1]);U(b,h[2],n[2],h[3],n[3]);U(b,h[4],n[4],h[5],n[5])}}
|
292
|
+
function bF(a){var b,c,d;if(a.ob){d=a.Rb.b;b=a.D.c;c=2*a.Z+a.T;T(d,YD);TB(d,0,0,b,c);a.pb?(T(d,(dB(),iB)),c=14*(a.Z+a.T),EE(d,c,0,b-c-1,2*a.Z+a.T-1)):(T(d,tB(YD)),U(d,b-1,0,b-1,c-1),U(d,0,c-1,b-1-2,c-1),T(d,ZD),U(d,0,0,b-1,0));c=a.d;233<=a.d&&262>=a.d&&(a.d=213);for(b=1;14>=b;++b)DE(a,d,b,1),DE(a,d,b,2);a.d=c;QE(a.Vb,a.Rb,0,0)}}
|
293
|
+
function JE(a,b,c,d,e){var f,g,j,h,n,o,r,q;n=~~(d/4);o=2+~~(n/2);g=2+n;q=c+~~(10*d/24);h=q+n;r=b+d;e?(j=2+b,f=o+b,g+=b):(f=r-o,j=r-2,g=r-g);U(a,j,q,f,h);U(a,g,q,f,h);j=~~(n/3);U(a,f,q+j,f,h);f=d-o-4;h=270;e?(b+=o,e=270):(b=r-f-o,h*=-1,e=-90);IE(a,b,c+o-j,f,d-4-j-1,e,h)}
|
294
|
+
function cF(a,b,c){var d,e,f,g,j,h;dF(a,c);if(0==b.indexOf("$RXN")){a.Gb=!0;a.kb=!0;j=eF(b);b=new CD(b,j,!0);e=l;for(d=1;5>=d;++d)e=fF(b,j);d=gF(hD(ho(e.substr(0,3)),10)).b;g=gF(hD(ho(e.substr(3,3)),10)).b;fF(b,j);for(e=1;e<=d+g;++e){for(f=l;!(h=fF(b,j),null==h||H(h,"$MOL"));)f+=h+j;a.gb[++a.vb]=new hF(a,f)}vE(a,1,d,1);vE(a,d+1,d+g,3)}else{a.Gb=!1;a.$=new hF(a,b);if(!a.$||0==a.$.u)return a.lb=!0,a.K="ERROR - problems in reading/processing MOL input",QD(a),!1;null!=a.j&&a.$&&iF(a.$,a.j,!0);null!=a.k&&
|
295
|
+
a.$&&iF(a.$,a.k,!1);j=jF(a.$,!1);if(1==j)a.gb[++a.vb]=a.$;else{a.kb=!0;for(e=1;e<=j;++e)a.gb[++a.vb]=new kF(a,a.$,e)}a.f=1;a.$=a.gb[a.f];vE(a,1,j,0)}c&&QD(a);return!0}function Jr(a,b){a.lb=!0;a.K=b}function VE(a,b){100>b&&(!eE[b]&&(eE[b]=new GB(Wb,0,b)),!gE[b]&&At(gE,b,new wC(eE[b])),a.n=eE[b],a.o=gE[b])}
|
296
|
+
function Nr(a,b){var c,d;if(0==b)return!1;sE(a);c=a.d;a.d=b;if(300>=b)switch(a.ob=!0,a.mb=!0,b){case 102:AE(a);break;case 110:a.nb=!0;a.d=c;a._.b!=a._.c&&a._.b.c!=a._.c?a.i&&(++a.vb,a.f=a.vb,a.i=!1):(a.lb=!0,a.K="No more undo");if(!(a._.b!=a._.c&&a._.b.c!=a._.c))break;lF(a,mF(a._));a.nb=!0;break;case 111:a.d=c;if(a._.b.d)a.i&&(++a.vb,a.f=a.vb,a.i=!1);else{a.lb=!0;a.K="No more redo";break}if(!a._.b.d)break;d=a._;if(!d.b.d)throw new cw("Cannot redo. Index is out of range.");if(!d.b.d)throw new cw(Zb);
|
297
|
+
d.b=d.b.d;lF(a,d.b.b);a.nb=!0;break;case 152:a.d=c;d=a.Ib;d.b<d.d-1?(++d.b,d=Tu(d,d.b)):d=null;null==d?(a.lb=!0,a.K=ic):(Jr(a,dc+(a.Ib.b+1)+ca+a.Ib.d),d=nF(d),oF(a,d,!1,!0),null!=a.tb&&ED(a.tb,null));break;case 151:a.d=c;d=a.Ib;0<d.b?(--d.b,d=Tu(d,d.b)):d=null;null==d?(a.lb=!0,a.K=ic):(Jr(a,dc+(a.Ib.b+1)+ca+a.Ib.d),d=nF(d),oF(a,d,!1,!0),null!=a.tb&&ED(a.tb,null));break;case 101:a.Mb&&pF(a.Mb);a.Mb=new qF(1,a);a.d=c;break;case 107:!a.Eb?a.Eb=new rF(a):a.Eb.hc.d.hb?sF(a.Eb.hc.d):tF(a.Eb);break;case 114:a.c&&
|
298
|
+
pF(a.c);a.c=new qF(0,a);a.d=c;break;case 103:a.nb=!0;a.qb=!0;a.d=c;break;case 105:a.nb=!0;a.r&&a.hb&&(a.hb=!1,uF(a.$),a.d=c);a.z=1;break;case 109:a.d=c;d=vF(a.$);if(2==d){a.lb=!0;a.K="Copying the agent not possible !";break}d=y(wE,m,-1,4,1);xE(a.$,d);a.nb=!0;a.$=new kE(a.$);d=Dt(~~((a.D.c-a.Z)/2)-d[0]);for(c=1;c<=a.$.u;++c)a.$.K[c]+=2*d;wF(a.$);a.gb[++a.vb]=a.$;a.f=a.vb;break;case 104:0<a.$.E?(a.nb=!0,xF(a.$,a.$.E),a.$.E=0,tE(a)):0<a.$.F&&(a.nb=!0,yF(a.$,a.$.F),a.$.F=0,tE(a));zF(a.$);break;case 213:a.d=
|
299
|
+
c;if(!a.F){var e,f,g,j;j=new mC;for(d=a.H,e=0,f=d.length;e<f;++e)c=d[e],g=new eC(c),kC(j,g),g.d=c,xA(g.e,a);tz(a,j);a.F=j}lC(a.F,a,a.G.b,a.G.c)}else{a.mb=!0;a.ob=!0;switch(b){case 301:a.e=3;break;case 401:a.e=4;break;case 501:a.e=5;break;case 701:a.e=9;break;case 801:a.e=10;break;case 901:a.e=11;break;case 1001:a.e=12;break;case 601:a.e=8;break;case 1101:a.e=7;break;case 1300:a.e=1;break;case 1201:a.p&&(pF(a.p),a.p=null);0==a.$.E&&(a.p=new qF(2,a));a.e=18;break;case 1301:a.e=19;break;case 1302:a.e=
|
300
|
+
20;break;case 1303:a.e=21;break;case 1304:a.e=22}0<a.$.E&&(a.nb=!0,a.e!=a.$.c[a.$.E]&&18!=a.e&&(a.$.c[a.$.E]=a.e,a.$.B[a.$.E]=0,a.$.y[a.$.E]=0,tE(a)),18==a.e&&(d=ko((Kr(),Lr).hc.b.pb,ch),AF(a.$,a.$.E,d),tE(a)),zF(a.$))}QD(a);return!0}
|
301
|
+
function fr(a){var b,c,d;d=oE(a);c=l;if(a.Gb){var e,f,g;g=ht([4,a.vb+1]);for(f=1;3>=f;++f){e=0;for(b=1;b<=a.vb;++b)vF(a.gb[b])==f&&(g[f][++e]=b);g[f][0]=e}c=c+"$RXN\n\n\nJME Molecular Editor\n"+(BF(g[1][0],3)+BF(g[3][0],3)+aa);for(b=1;b<=g[1][0];++b)c+=ma+CF(a.gb[g[1][b]],d);for(b=1;b<=g[3][0];++b)c+=ma+CF(a.gb[g[3][b]],d)}else 1<a.vb&&(a.$=new DF(a,a.gb,a.vb)),c=CF(a.$,d),1<a.vb&&(a.$=a.gb[a.f]);return c}
|
302
|
+
function EF(a,b,c,d){var e;e=c;var f=d,g,j;(g=FF(b),j=0!=(b.f&2),g||j)?(a.Gb?lC((!a.x&&(a.x=CE(a,!0)),a.x),a,e,f):lC((!a.w&&(a.w=CE(a,!1)),a.w),a,e,f),e=!0):e=!1;if(e)return!0;if(a.A)return!1;e=!0;a.lb=!1;a.Tb=c-a.Z;a.Ub=d-(2*a.Z+a.T);a.lb=!0;a.K=l;a.hb=GF(b);a.ib=!1;if(c<a.Z||d<2*a.Z+a.T){b=0;for(e=1;14>=e;++e)if(c<e*(a.Z+a.T)){b=e;break}c=0;for(e=1;e<=SE+2;++e)if(d<e*(a.Z+a.T)){c=e;break}if(0==b||0==c)return!1;d=100*c+b;if(112==d)return a.Nb=!0,a.lb=!0,a.K="Next ring will be added as spiro",QD(a),
|
303
|
+
!0;if(113==d)if(a.Jb)a.lb=!0,a.K="Move one atom",QD(a);else return!0;if(!a.Sb&&1201==d||!a.Db&&107==d||!a.Pb&&201==d||!a.kb&&103==d||!a.ub&&!a.r&&105==d||!a.Gb&&109==d||214==d)return!1;e=Nr(a,d)}else{if(d>a.D.b-a.Z-1)return!1;a.ib=!0;c-=a.Z;d-=2*a.Z+a.T;if(0<a.$.E)if(104==a.d)xF(a.$,a.$.E),a.$.E=0,tE(a);else{if(106==a.d)return!0;if(108==a.d)HF(a.$,a.$.E,0),tE(a);else if(157==a.d)HF(a.$,a.$.E,1),tE(a);else if(158==a.d)HF(a.$,a.$.E,-1),tE(a);else if(202==a.d||203==a.d||204==a.d||201==a.d||205==a.d)a.P=
|
304
|
+
1,W(a.$,0),a.$.G=a.$.E,205==a.d?(a.$.w=1,a.$.j[1]=a.$.u,a.$.j[0]=a.$.E,a.$.F=0):tE(a);else if(206<=a.d&&229>=a.d)a.P=2,IF(a.$),tE(a);else if(230==a.d)a.P=3,tE(a);else if(233<=a.d&&262>a.d)JF(a.$,!1),tE(a),a.P=3;else if(107==a.d){if(a.Eb.c)return!0;AF(a.$,a.$.E,ko(a.Eb.f.hc.b.pb,ch));a.$.n=!0;tE(a)}else if(105==a.d)KF(a.$),tE(a);else if(113!=a.d)if(300<a.d){if(a.e!=a.$.c[a.$.E]||18==a.e)a.$.c[a.$.E]=a.e,a.$.B[a.$.E]=0,a.$.y[a.$.E]=0,18==a.e&&(d=ko((Kr(),Lr).hc.b.pb,ch),1>d.length&&(d=Nc),AF(a.$,a.$.E,
|
305
|
+
d)),tE(a)}else e=!1}else if(0<a.$.E&&206<=a.d&&229>=a.d)a.P=2,IF(a.$),tE(a);else if(0<a.$.F)if(104==a.d)yF(a.$,a.$.F),a.$.F=0,tE(a);else if(106==a.d){d=a.$;c=a.$.F;if(0<d.b[d.I[c]]&&0<d.b[d.J[c]])Jr(d.o,"Removal of substituent not possible.");else for(;;){c=0;for(b=d.u;1<=b;--b)0<d.b[b]&&b>c&&(c=b);if(0==c)break;xF(d,c);d.b[c]=0}a.$.F=0;tE(a)}else if(201==a.d)LF(a.$,a.$.F),tE(a);else if(202==a.d||205==a.d)1==a.$.t[a.$.F]&&0==a.$.C[a.$.F]?a.$.t[a.$.F]=2:(a.$.t[a.$.F]=1,a.$.C[a.$.F]=0),tE(a),a.$.C[a.$.F]=
|
306
|
+
0;else if(203==a.d)a.$.t[a.$.F]=2,a.$.C[a.$.F]=0,tE(a);else if(204==a.d)a.$.t[a.$.F]=3,a.$.C[a.$.F]=0,tE(a);else if(206<=a.d&&229>=a.d)a.P=2,IF(a.$),tE(a);else if(107==a.d){if(!a.Eb.c)return!0;d=ko(a.Eb.f.hc.b.pb,ch);a.$.t[a.$.F]=9;a.$.f[a.$.F]=d;tE(a)}else 105==a.d?(a.lb=!0,a.K="Only atoms may be marked !"):e=!1;else if(0==a.vb||a.qb){if(201>=a.d)return!1;++a.vb;a.f=a.vb;a.gb[a.vb]=new BE(a);a.$=a.gb[a.vb];a.qb=!1;202<=a.d&&204>=a.d||205==a.d?(MF(a.$),a.$.v=0,a.$.A[1]=0,a.$.K[1]=c,a.$.N[1]=d,a.$.E=
|
307
|
+
1,a.$.G=1,a.P=1,W(a.$,0),205==a.d&&(a.$.K[2]=c+21.65,a.$.N[2]=d-12.5,a.$.j[0]=1,a.$.j[1]=2,a.$.w=1)):206<=a.d&&229>=a.d?(a.$.M=c,a.$.P=d,a.P=2,IF(a.$)):300<a.d?(MF(a.$),a.$.c[1]=a.e,a.$.v=0,a.$.A[1]=0,a.$.K[1]=c,a.$.N[1]=d,a.$.E=1,18==a.e&&(d=ko((Kr(),Lr).hc.b.pb,ch),1>d.length&&(d=Nc),AF(a.$,1,d))):230==a.d?NF(a,null,!0):233<=a.d&&262>a.d?(MF(a.$),a.$.v=0,a.$.A[1]=0,a.$.K[1]=c,a.$.N[1]=d,a.$.E=1,JF(a.$,!0)):UC();tE(a)}else e=!1;e&&(zF(a.$),a.mb=!1,a.ob=!1,a.nb=!0,QD(a))}return e}
|
308
|
+
function OF(a,b,c,d){var e,f;if(a.A||!a.ib||FF(b))return!0;a.lb=!1;c-=a.Z;d-=2*a.Z;e=c-a.Tb;f=d-a.Ub;if(2==a.P||3==a.P||9==a.P)return!0;if(1==a.P){a:{b=a.$;e=c;f=d;var g,j,h,n,o,r,q;b.E=0;b.K[0]=e;b.N[0]=f;g=PF(b,0);if(0<g&&205!=b.o.d)b.E=g,g!=b.G?(b.K[b.u]=b.K[g],b.N[b.u]=b.N[g]):(b.K[b.u]=b.M,b.N[b.u]=b.P);else if(205==b.o.d){b.F=0;g=b.j[b.w];n=b.j[b.w-1];j=b.K[g]-b.K[n];h=b.N[g]-b.N[n];g=Math.sqrt(j*j+h*h);1>g&&(g=1);h/=g;j/=g;o=g/2/Math.tan(0.5235987755982988);r=e-b.K[n];q=f-b.N[n];n=-g/2+r*j+
|
309
|
+
q*h;h=q*j-r*h;if(0>n)if(1<b.w)xF(b,b.u),--b.w,b.D=!1;else if(2==b.u)0>b.N[2]-b.N[1]&&0<f-b.N[1]?b.N[2]=b.N[1]+g/2:0<b.N[2]-b.N[1]&&0>f-b.N[1]&&(b.N[2]=b.N[1]-g/2),0>b.K[2]-b.K[1]&&0<e-b.K[1]?b.K[2]=b.K[1]+0.866*g:0<b.K[2]-b.K[1]&&0>e-b.K[1]&&(b.K[2]=b.K[1]-0.866*g);else{if(2==b.A[b.j[0]]&&(o=b.H[b.j[0]][1],o==b.j[1]&&(o=b.H[b.j[0]][2]),j=b.K[b.j[0]]-b.K[o],h=b.N[b.j[0]]-b.N[o],g=Math.sqrt(j*j+h*h),1>g&&(g=1),h/=g,j/=g,r=e-b.K[o],q=f-b.N[o],e=q*j-r*h,r=b.K[b.j[1]]-b.K[o],q=b.N[b.j[1]]-b.N[o],f=q*j-
|
310
|
+
r*h,0<e&&0>f||0>e&&0<f))e=b.v,b.E=b.j[0],W(b,0),yF(b,e),0<PF(b,b.u)&&(b.D=!0)}else{if(b.D)break a;e=-1;n<1.5*g&&(e=(1.5*g-n)*o/(1.5*g));if((0>=h?0-h:h)>e){++b.w;if(100<b.w){Jr(b.o,"You are too focused on chains, enough of it for now !");--b.w;break a}b.E=b.u;W(b,O(N(Math.round(h))));b.j[b.w]=b.u;0<PF(b,b.u)&&(b.D=!0)}}b.E=0;e=b.w;Jr(b.o,e+l)}else j=e-b.K[b.G],h=f-b.N[b.G],g=Math.sqrt(j*j+h*h),1>g&&(g=1),b.K[b.u]=b.K[b.G]+25*(j/g),b.N[b.u]=b.N[b.G]+25*(h/g)}a.s=!0}else if(113==a.d&&0<a.$.E)a.jb||(a.jb=
|
311
|
+
!0),b=a.$,0<b.E&&(e=b.E,b.K[e]=c,b.N[e]=d);else if(GF(b)||FF(b))rE(a.$,e),a.P=5;else if(0==a.$.E&&0==a.$.F){5!=a.P&&(e=f=0);b=a.$;for(g=1;g<=b.u;++g)b.K[g]+=e,b.N[g]+=f;h=y(wE,m,-1,4,1);xE(b,h);g=h[0];h=h[1];if(!(0<g&&g<b.o.D.c-b.o.Z&&0<h&&h<b.o.D.b-3*b.o.Z))for(g=1;g<=b.u;++g)b.K[g]-=e,b.N[g]-=f;a.P=5}a.E=!1;sE(a);a.nb=!0;QD(a);a.Tb=c;a.Ub=d;return!0}
|
312
|
+
function QF(a,b,c,d){var e,f,g;if(!(a.A&&null==a.sb||FF(b))){c-=a.Z;d-=2*a.Z;g=!1;f=0;b=1;a:for(;b<=a.vb;++b){e=a.gb[b];for(var j=c,h=d,n=void 0,o=void 0,r=void 0,q=void 0,t=void 0,n=void 0,r=0,t=((WD(),dE)?350:170)+1,q=1;q<=e.v;++q)n=j-e.L[q],o=h-e.O[q],n=n*n+o*o,n<t&&(t=n,r=q);r*=-1;for(q=1;q<=e.u;++q)n=j-e.K[q],o=h-e.N[q],n=n*n+o*o,n<t&&(t=n,r=q);e=r;if(0!=e){a.gb[b].E=0<e?e:0;a.gb[b].F=0>e?-e:0;f=b;g=!0;RF(a,a.gb[b].E);113==a.d&&0>e&&(g=!1,a.gb[b].F=0);break a}else if(RF(a,0),0<a.gb[b].E||0<a.gb[b].F)a.gb[b].E=
|
313
|
+
0,a.gb[b].F=0,g=!0}if(g){for(b=a.f+1;b<=a.vb;++b)a.gb[b].E=0,a.gb[b].F=0;a.E=!1;sE(a);a.nb=!0;QD(a)}!a.A&&0!=f&&f!=a.f&&(a.f=f,a.$=a.gb[a.f])}}
|
314
|
+
function SF(a){if(a.A)return!0;a.jb&&(a.jb=!1,tE(a));a.lb=!1;a.Q=mh;if(1==a.P){if(205==a.d){var b=a.$,c,d;b.D&&(c=PF(b,b.u),6>b.A[c]&&(TF(b),d=b.j[b.w-1],b.I[b.v]=c,b.J[b.v]=d,b.H[c][++b.A[c]]=d,b.H[d][++b.A[d]]=c),xF(b,b.u));b.D=!1;tE(a)}else a:{var b=a.$,e,f;c=PF(b,b.u);if(0!=c){--b.u;for(f=1;f<b.v;++f)if(d=b.I[f],e=b.J[f],d==c&&e==b.G||d==b.G&&e==c){--b.v;--b.A[b.G];3>b.t[f]?(++b.t[f],b.C[f]=0):Jr(b.o,"Maximum allowed bond order is 3 !");break a}6==b.A[c]?(--b.v,--b.A[b.G],Jr(b.o,"Not possible connection !")):
|
315
|
+
(b.J[b.v]=c,b.H[c][++b.A[c]]=b.G,b.H[b.G][b.A[b.G]]=c,b.L[b.v]=O(N(UE((b.K[b.G]+b.K[c])/2))),b.O[b.v]=O(N(UE((b.N[b.G]+b.N[c])/2))))}}zE(a.$);a.s&&(b=a._,b.b!=b.c&&b.b.c!=b.c&&(c=b.b.d,mF(b),b.b.d=c),tE(a),a.s=!1)}else 5==a.P&&(zE(a.$),tE(a));0<a.P&&(a.E=!1,sE(a),a.nb=!0,zF(a.$),UF(a.$),QD(a),a.P=0,a.i=!1);if(dE&&(0!=a.$.F||0!=a.$.E))a.$.F=0,a.$.E=0,sE(a),a.nb=!0,QD(a);return!0}function sE(a){a.mb=!1;a.ob=!1;a.nb=!1}
|
316
|
+
function RF(a,b){if(null!=a.sb&&!(0>=b&&0==a.Cb||b==a.Cb&&a.f==a.Bb))0>=b&&0<a.Cb&&(b=0),a.Cb=b,a.Bb=a.f,ED(a.sb,K(VF,m,127,[new S(a.f),new S(b)]))}
|
317
|
+
function WF(a,b,c){var d,b=b.toLowerCase();-1<b.indexOf("norbutton")?a.Fb=!1:-1<b.indexOf("rbutton")&&(a.Fb=!0);-1<b.indexOf("nohydrogens")?a.Lb=!1:-1<b.indexOf("hydrogens")&&(a.Lb=!0);-1<b.indexOf("keephs")&&(a.O=!0);-1<b.indexOf("removehs")&&(a.O=!1);-1<b.indexOf("noquery")?a.Db=!1:-1<b.indexOf("query")&&(a.Db=!0);-1<b.indexOf(Kf)?a.Gb=!1:-1<b.indexOf(hg)&&(a.Gb=!0);-1<b.indexOf("noautoez")?a.q=!1:-1<b.indexOf("autoez")&&(a.q=!0);-1<b.indexOf("nostereo")?a.Pb=!1:-1<b.indexOf("stereo")&&(a.Pb=!0);
|
318
|
+
-1<b.indexOf("nocanonize")?a.t=!1:-1<b.indexOf("canonize")&&(a.t=!0);-1<b.indexOf("nomultipart")?a.kb=!1:-1<b.indexOf(Ff)&&(a.kb=!0);-1<b.indexOf("nonumber")?(a.ub=!1,a.r=!1):-1<b.indexOf(Of)&&(a.ub=!0,a.r=!1);-1<b.indexOf("newlook")?(a.pb=!0,a.T=1):-1<b.indexOf("oldlook")&&(a.pb=!1,a.T=0);-1<b.indexOf("autonumber")&&(a.r=!0,a.ub=!0);-1<b.indexOf("star")&&(a.Ob=!0,a.ub=!0);-1<b.indexOf("nostar")&&(a.Ob=!1,a.ub=!1);-1<b.indexOf("polarnitro")&&(a.zb=!0);-1<b.indexOf("nopolarnitro")&&(a.zb=!1);-1<b.indexOf("depict")&&
|
319
|
+
(a.A=!0,a.Z=0,a.db=null,vE(a,1,a.vb,0));if(-1<b.indexOf("nodepict")){a.A=!1;for(d=1;d<=a.vb;++d)XF(a.gb[d]),yE(a.gb[d]);a.C=1;a.Z=24;a.$&&(a.$.x=!0)}-1<b.indexOf("xbutton")&&(a.Sb=!0);-1<b.indexOf("noxbutton")&&(a.Sb=!1);d=a.wb;-1<b.indexOf("nopaste")?a.wb=!1:-1<b.indexOf(Yf)&&(a.wb=!0);d!=a.wb&&(a.w=null,a.x=null);-1<b.indexOf(pd)&&(a.B=!0);-1<b.indexOf("noborder")&&(a.B=!1);b.indexOf("writesmi");b.indexOf("writemi");b.indexOf("writemol");-1<b.indexOf("nocenter")&&(a.rb=!0);-1<b.indexOf("jmeh")&&
|
320
|
+
(a.N=!0);-1<b.indexOf("showan")&&(a.Kb=!0);-1<b.indexOf("atommovebutton")&&(a.Jb=!0);-1<b.indexOf("noatommovebutton")&&(a.Jb=!1);a.Gb&&(a.r=!0,a.kb=!0);a.A||(a.B=!1);a.Fb&&++SE;c&&QD(a)}
|
321
|
+
function QD(a){var b,c,d,e;b=qA(a);!a.D||b.c!=a.D.c||b.b!=a.D.b||!a.db||!a.J?(e=!1,a.D&&(e=b.c!=a.D.c||b.b!=a.D.b),a.D=b,d=b.c-a.Z,c=b.b-3*a.Z-a.T,1>d&&(d=1),1>c&&(c=1),a.db=a.Le(a.db,d,c),a.A&&e&&vE(a,1,a.vb,0),TE(a),a.A||(a.Rb=a.Le(a.Rb,b.c,2*a.Z+a.T),bF(a),c=b.b-2*a.Z+a.T,1>c&&(c=1),a.R=a.Le(a.R,a.Z,c),RE(a),a.J=a.Le(a.J,d,a.Z),NE(a))):(TE(a),a.A||(NE(a),a.E&&(bF(a),RE(a)),a.E=!0));a.mb=!0;a.ob=!0;a.nb=!0;a.lb=!0}
|
322
|
+
function YF(a,b){var c,d,e;e=l;for(d=1;d<=a.vb;++d){if(0<b&&(c=vF(a.gb[d]),c!=b))continue;c=a.gb[d];for(var f=void 0,g=void 0,j=void 0,h=void 0,n=g=f=void 0,o=void 0,j=void 0,o=l+c.u+ba+c.v,h=1;h<=c.u;++h){j=ZE(c,h);c.o.N&&0<c.y[h]&&(j+=Vb,1<c.y[h]&&(j+=c.y[h]));0!=c.B[h]&&(0<c.B[h]?j+=xa:j+=Ba,1<Oj(c.B[h])&&(j+=Oj(c.B[h])));g=-1;for(f=1;f<=c.z;++f)if(c.r[f][0]==h){g=c.r[f][1];break}c.o.Ob&&0<c.e[h]&&(g=1);-1<g&&(j+=kb+g);o+=ba+j+ba+ZF(0.055999999999999994*c.K[h],0,2)+ba+ZF(0.055999999999999994*-c.N[h],
|
323
|
+
0,2)}for(h=1;h<=c.v;++h)f=c.I[h],g=c.J[h],n=c.t[h],1==c.C[h]?n=-1:2==c.C[h]?n=-2:3==c.C[h]?(n=-1,j=f,f=g,g=j):4==c.C[h]?(n=-2,j=f,f=g,g=j):10==c.C[h]&&(n=-5),9==c.t[h]&&(n=c.C[h]),o+=ba+f+ba+g+ba+n;c=o;0<c.length&&(0<e.length&&(e+=kh),e+=c)}return e}function jE(a,b){var c,d,e;e=l;for(c=1;c<=a.vb;++c){if(0<b&&(d=vF(a.gb[c]),d!=b))continue;d=void 0;d=$F(a.gb[c]);d=aG(d);0<d.length&&(0<e.length&&(e+=Wa),e+=d)}return e}
|
324
|
+
function tE(a){var b;switch(a.P){case 5:case 7:case 9:break;default:null!=a.tb&&ED(a.tb,null)}var c,d,e;e=new bG;e.b=a.f;e.i=a.vb;c=!1;for(b=1;99>b;++b)if(d=a.gb[b])0<d.u&&(c=!0),e.e[b]=$F(d);else break;e.j=a.Gb;e.f=a.kb;e.c=a.C;e.d=a.P;if(b=c?e:null)a=a._,b=new cG(b),c=a.b.d,a.b.d=b,b.c=a.b,c&&(b.d=c,c.c=b),a.b=b}function oF(a,b,c,d){try{cF(a,b,d)?c&&tE(a):QD(a)}catch(e){if(e=Ui(e),A(e,124))QD(a);else throw e;}}
|
325
|
+
function NF(a,b,c){try{var d;a:{var e,f,g,j,h,n,o,r;dF(a,c);e=j=0;r=new CD(b,"|>",!0);g=-1<b.indexOf(qb);n=1;h=vD(r);a.vb=0;for(f=1;f<=h;++f)if(o=zD(r),ho(o),!H(o,kh))if(H(o,qb))++n,2==n?j=a.vb:3==n&&(e=a.vb+1);else{a.$=new dG(a,o);if(0==a.$.u){eG(a,"ERROR - problems in reading/processing molecule !");UC();d=!1;break a}++a.vb;a.f=a.vb;a.gb[a.vb]=a.$}2==n?(eG(a,"ERROR - strange reaction - fixing !"),UC(),d=!1):3<n?(eG(a,"ERROR - strange reaction !"),UC(),d=!1):(1<a.vb&&!g&&WF(a,Ff,!0),g&&!a.Gb&&WF(a,
|
326
|
+
hg,!0),!g&&a.Gb&&WF(a,Kf,!0),g?(vE(a,1,j,1),vE(a,j+1,e-1,2),vE(a,e,a.vb,3)):vE(a,1,a.vb,0),c&&QD(a),d=!0)}d?tE(a):QD(a)}catch(q){if(q=Ui(q),A(q,124))QD(a);else throw q;}}function fG(a){sE(a);a.nb=!0;QD(a)}function dF(a,b){a.d=202;a.qb=!1;a.vb=0;a.f=0;a.$=new BE(a);a.$.s=0;a.cb=null;a.C=1;a.nb=!0;b&&QD(a);null!=a.tb&&ED(a.tb,null)}
|
327
|
+
function lF(a,b){var c,d;a.f=b.b;a.vb=b.i;for(c=1;99>c;++c)(d=b.e[c])?a.gb[c]=$F(d):a.gb[c]=null;a.$=a.gb[a.f];a.Gb=b.j;a.kb=b.f;a.C=b.c;switch(b.d){case 5:case 7:case 9:break;default:null!=a.tb&&ED(a.tb,null)}}function gG(a,b){a.lb=!0;a.K=l;return 1>b||b>a.vb?(a.lb=!0,a.K="ERROR - invalid mol index: "+b,QD(a),null):a.gb[b]}
|
328
|
+
function uE(a,b){var c;c=-1;H(b,"Select substituent")?(c=202,b=l):H(b,Ha)?c=235:H(b,Ia)?c=240:H(b,Ga)?c=260:H(b,Na)?c=261:H(b,Sa)?c=241:H(b,La)?c=233:H(b,Ka)?c=236:H(b,Ja)?c=237:H(b,Ra)?c=234:H(b,Qa)?c=243:H(b,Ta)?c=252:H(b,Oa)?c=244:H(b,Ua)?c=239:H(b,"-PO3H2")?c=251:H(b,Fa)?c=242:H(b,Da)?c=245:H(b,Ea)&&(c=238);0<c?Nr(a,c):b="Not known group!";a.lb=!0;a.K=b;QD(a)}function eG(a,b){a.lb=!0;a.K=b;QD(a)}function oE(a){var b;b=iE(a);sE(a);QD(a);return b}
|
329
|
+
function KE(a,b,c,d,e){var f,g,j,h;f=a.X;h=xC(f,e);if(h>=a.Z-1)for(g=f.c.c;h>=a.Z-1&&1<g;)--g,j=new GB(f.c.b,f.c.d,g),f=new wC(j),h=xC(f,e),b.f=j,b.j=hG(j);else OE(b,a.U);f=IB(f.c).b-IB(f.c).c;PE(b,e,c+~~((a.Z-h)/2),d+~~((a.Z-f)/2)+f)}function LE(a,b,c,d,e,f){var g,j;g=XE(a.W);j=xC(a.W,f);OE(b,a.V);(b.e=e)&&(b.i=kg+(e.b>>16&255)+za+(e.b>>8&255)+za+(e.b&255)+va);PE(b,f,c+~~((a.Z-j)/2),d+~~((a.Z-g)/2)+g)}function XE(a){return IB(a.c).b-IB(a.c).c}
|
330
|
+
function Mr(a,b){a.r?0==b&&(a.z=-1,a.lb=!0,a.K=Cd,QD(a)):(a.S?a.z=b:-1<a.z&&10>a.z?a.z=10*a.z+b:a.z=b,a.S=!1,0==a.z?(a.z=-1,a.lb=!0,a.K=Cd):Jr(a,a.z+ba),QD(a))}u(482,393,Ei);_.xe=function(a){lE(this,a)};_.Le=function(a,b,c){return mA(this,b,c)};_.Me=function(){};_.ee=function(){QD(this)};_.c=null;_.d=0;_.e=0;_.f=0;_.i=!1;_.j=null;_.k=null;_.n=null;_.o=null;_.p=null;_.q=!1;_.r=!1;_.s=!1;_.t=!0;_.w=null;_.x=null;_.z=1;_.A=!1;_.B=!1;_.C=1;_.D=null;_.E=!0;_.F=null;_.G=null;_.I="http://peter-ertl.com/jsme/2013_03/help.html";
|
331
|
+
_.J=null;_.K=null;_.M=null;_.N=!1;_.O=!0;_.P=0;_.Q=mh;_.R=null;_.S=!0;_.T=1;_.U=null;_.V=null;_.W=null;_.X=null;_.Y=null;_.Z=24;_.$=null;_._=null;_.bb=null;_.cb=null;_.db=null;_.eb=!0;_.fb=1;_.hb=!1;_.ib=!1;_.jb=!1;_.kb=!1;_.lb=!0;_.mb=!0;_.nb=!0;_.ob=!0;_.pb=!0;_.qb=!1;_.rb=!1;_.sb=null;_.tb=null;_.ub=!1;_.vb=0;_.wb=!0;_.xb=null;_.yb=null;_.zb=!1;_.Ab=null;_.Bb=0;_.Cb=0;_.Db=!1;_.Eb=null;_.Fb=!1;_.Gb=!1;_.Hb=!1;_.Jb=!1;_.Kb=!1;_.Lb=!0;_.Mb=null;_.Nb=!1;_.Ob=!1;_.Pb=!0;_.Qb=null;_.Rb=null;_.Sb=!0;
|
332
|
+
_.Tb=0;_.Ub=0;var SE=10,eE,gE,YD,ZD,$D,XD,dE,iG=null,cE,bE;
|
333
|
+
function jG(){WD();kA.call(this);this.Vb=(vq(),vq(),Sz).b;this.y=new GB(null,0,8);this.u=(dB(),eB);this.gb=y(kG,m,140,99,0);this.ab=new iA;this.Ib=new lG;this.L=H((UC(),VC[Ue]),bc);this.v=new mG;this.H=K(Gt,m,1,[Ha,Ia,Sa,Ga,Na,La,Ka,Ja,Ra,Ta,Oa,Qa,Fa,Ea,Da]);this.$=new BE(this);cE[0]=hB;cE[1]=new fB(255,153,153);cE[2]=new fB(255,204,102);cE[3]=new fB(255,255,153);cE[4]=new fB(102,255,255);cE[5]=new fB(51,204,255);cE[6]=new fB(255,153,255)}u(481,482,Ei,jG);
|
334
|
+
_.Le=function(a,b,c){var d;return a?(d=a.b,vj(d.u,b,c),a):mA(this,b,c)};_.Me=function(a){if(this.b){var b=this.b;b.b.b&&b.b.b.b.apply(null,[nG(b.b),a])}};_.b=null;function oG(a){if(a.e.pb.style.display!=Jf){pA(a.d);var b;for(b=new Oi(a.f.k);b.c<b.e.Fe();)a=Pi(b),a.Ke()}}function pG(a){qG.call(this,a,db,db,null)}function rG(a,b){qG.call(this,a,db,db,b)}function sG(a,b,c){qG.call(this,a,b,c,null)}
|
335
|
+
function qG(a,b,c,d){var e;if(null==a)$wnd.alert("JSME initialization error: HTML id argument is null.");else if(H($b,a))$wnd.alert('JSME initialization error: Due to an Internet Explorer bug, HTML id argument can not be "JSME".');else if(e=qj(a)){this.c=tG;++tG;this.e=e;this.d=new jG;this.f=new uG(this.d,b,c,d);xw(e,this.f);d&&hd in d&&(this.f.c=d[hd]);a=this.f;a.e||(a.e=nA(a,G(a.pb,Rf),G(a.pb,Qf)),a.e.k=!1);var b=a.d,f,g,j,h,n,o,r;b.L?iG=$b:iG="JME";b.w=CE(b,!1);b.x=CE(b,!0);Jr(b,iG+" Molecular Editor by Peter Ertl and Bruno Bienfait");
|
336
|
+
b.D=qA(b);gA(b,null);b.pb||(b.T=0);b.U||(b.U=new GB(Wb,0,13),b.X=new wC(b.U));b.V||(b.V=new GB(Wb,1,13),b.W=new wC(b.V));b.Y||(b.Y=new GB(Wb,0,11),new wC(b.Y));VE(b,13);b.Db=!1;b.Gb=!1;b.q=!1;b.Pb=!0;b.t=!0;b.Sb=!0;b.Fb=!1;SE=10;b.Lb=!0;try{r=vG(b.Vb,"options");null!=r&&WF(b,r,!1);j=vG(b.Vb,"jme");null!=j&&(b.M=j);n=vG(b.Vb,"mol");null!=n&&(b.bb=n);g=vG(b.Vb,"depictcgi");null!=g&&(b.Hb=!0);o=vG(b.Vb,Mg);null!=o&&(b.cb=o,QD(b));b.k=vG(b.Vb,"atomcolors");b.j=vG(b.Vb,"atombg");f=vG(b.Vb,"depictbg");
|
337
|
+
if(null!=f&&b.A){var q;var t,v,D,E;v=(dB(),eB);try{if(0!=f.indexOf(la))throw new Dn("bad hex encoding");E=hD(f.substr(1,2),16);D=hD(f.substr(3,2),16);t=hD(f.substr(5,2),16);q=v=new fB(E,D,t)}catch(J){if(J=Ui(J),A(J,124))UC(),q=v;else throw J;}b.u=q}b.Kb&&b.$&&uF(b.$);h=vG(b.Vb,"notify_structural_change_js_function");b.tb=h}catch(Q){if(Q=Ui(Q),!A(Q,124))throw Q;}b.d=202;for(f=0;23>f;++f)$D[f]=(dB(),mB),bE[f]=Nc;bE[1]=Vb;$D[1]=(dB(),iB);bE[2]=yb;$D[2]=mB;bE[3]=Cb;$D[3]=iB;bE[4]=fc;$D[4]=rB;bE[5]=mc;
|
338
|
+
$D[5]=lB;bE[9]=Qb;$D[9]=oB;bE[10]=Gb;$D[10]=oB;bE[11]=Bb;$D[11]=oB;bE[12]=Xb;$D[12]=oB;bE[8]=Cc;$D[8]=tB(nB);bE[7]=oc;$D[7]=mB;bE[6]=Fc;$D[6]=iB;bE[13]=Ec;$D[13]=iB;bE[18]=Nc;$D[18]=iB;bE[19]=pc;$D[19]=iB;bE[20]=qc;$D[20]=iB;bE[21]=rc;$D[21]=iB;bE[22]=sc;$D[22]=iB;Qz(b);b._=new wG;f=a.d;f.D=qA(f);null!=f.M?(NF(f,f.M,!1),null!=f.j&&f.$&&iF(f.$,f.j,!0),null!=f.k&&f.$&&iF(f.$,f.k,!1)):null!=f.bb&&oF(f,f.bb,!1,!1);QD(a.d);h=this.d;f=this.f;ID(new ND(h),f);q=0>=xG();n=new Zx((VD(),UD));n.pb.alt="drag out MOL or RXN file";
|
339
|
+
Uv(n,n.pb.alt);r=n.b.f;o=n.b.b;g=h.Z;j=~~((g-o)/2);0>j&&(j=0);h=new RD(h);xw(f.i,n);t=new SD(f,n,r,j,g);Aw(t.f.i,t.c,G(t.f.pb,Rf)-t.e-t.d,G(t.f.pb,Qf)-(t.b-t.d));cj(f.k,t);q?(q=new yG,Uv(q,n.pb.alt),0<=r&&(q.pb.style[hh]=r+cg),0<=o&&(q.pb.style[Ie]=o+cg),xw(f.i,q),g=new TD(f,q,r,j,g),Aw(g.f.i,g.c,G(g.f.pb,Rf)-g.e-g.d,G(g.f.pb,Qf)-(g.b-g.d)),cj(f.k,g),q.pb.draggable=bh,q.pb.style[Od]=(Do(),Df),$v(q,h,(cr(),cr(),dr))):(n.pb.draggable=bh,n.pb.style[Od]=(Do(),Df),$v(n,h,(cr(),cr(),dr)))}else $wnd.alert("JSME initialization error: HTML id "+
|
340
|
+
a+" not found.")}function zG(){return Jt(null)}function AG(a){return Jt(a)}u(483,1,gi,pG,rG,sG,qG);_.Ne=function(a){B(this.f,new BG(this,a),(yq(),yq(),zq))};_.Oe=function(a){B(this.f,new CG(this,a),(Vr(),Vr(),Wr))};_.Pe=function(a){tF(new DG(a,this.d,YD))};_.Qe=function(){AE(this.d)};_.Re=function(){$n((Xn(),Yn),new EG(this))};_.Se=function(){return this.b};_.Te=function(){return this.c};_.Ue=function(){return this.d.I};_.Ve=function(){return this.d.eb};_.We=function(){return this.d.fb};_.Xe=function(){return this.d.tb};
|
341
|
+
_.jd=function(){return G(this.f.pb,Qf)};_.Ye=function(){var a;a=[];a.length=2;a[0]=G(this.f.pb,Rf);a[1]=G(this.f.pb,Qf);return a};_.kd=function(){return G(this.f.pb,Rf)};_.Ze=function(){return this.e.pb};_.$e=function(){return this.d.yb};_._e=function(){return this.d.Ab};_.af=function(a){$wnd.alert("JSME initialization error: "+a)};_.md=function(){return this.e.pb.style.display!=Jf};_.bf=function(){var a=this.d,b;a.Gb?b=YF(a,1)+qb+YF(a,2)+qb+YF(a,3):b=YF(a,0);return b};_.cf=function(){return fr(this.d)};
|
342
|
+
_.df=function(){var a=this.d,b,c;b=a.Pb;a.Pb=!1;c=iE(a);a.Pb=b;QD(a);return c};_.ef=function(a){WF(this.d,a,!0)};_.ff=function(){};_.gf=function(a){oF(this.d,a,!0,!0)};_.hf=function(a){NF(this.d,a,!0)};_.je=function(){oG(this)};_.jf=function(){dF(this.d,!0)};_.kf=function(a){var b=this.d;if(a=gG(b,a)){var c;for(c=1;c<=a.u;++c)a.e[c]=0;fG(b)}};_.lf=function(a){this.b=a;!this.d.b&&(this.d.b=new FG(this))};
|
343
|
+
_.mf=function(a){var b=this.f,c,d;if(b.c!=a){b.c=a;for(d=new Oi(b.b);d.c<d.e.Fe();)c=Pi(d),a?c.b=l:c.b=zg}pA(b.d)};_.nf=function(a,b){var c=this.d,d;if(d=gG(c,a))iF(d,b,!0),fG(c)};_.of=function(a,b){var c=this.d,d;d=gG(c,a);1>b||b>d.u?(c.lb=!0,c.K="ERROR - invalid atom index: "+b,QD(c)):(d.E=b,fG(c))};_.od=function(a){Tv(this.f,a);oG(this)};_.pf=function(a){this.d.I=a};_.qf=function(a){var b=this.d;b.eb=a;QD(b)};_.rf=function(a){var b=this.d;b.fb=a;QD(b)};_.sf=function(a){this.d.sb=a};
|
344
|
+
_.tf=function(a){this.d.tb=a};_.uf=function(a){var b=this.d;b.yb=a;b.w=CE(b,!1)};_.vf=function(a){this.d.Ab=a};_.wf=function(a,b){var c=this.f;c.qd(a);c.od(b);oG(this)};_.xf=function(a){uE(this.d,a)};_.yf=function(a,b){var c=this.d;c.i=!1;c.Qb=new dG(c,a);c.d=253;c.lb=!0;c.K=b;QD(c)};_.pd=function(a){Yv(this.e.pb,a)};_.qd=function(a){this.f.pb.style[hh]=a;oG(this)};_.zf=function(a){eG(this.d,a)};_.Af=function(){return oE(this.d)};_.b=null;_.c=-1;_.d=null;_.e=null;_.f=null;var tG=0;
|
345
|
+
function EG(a){this.b=a}u(484,1,{},EG);_.xc=function(){var a,b;for(b=new Oi(this.b.f.b);b.c<b.e.Fe();)a=Pi(b),a.u.pb.innerHTML=a.r||l};_.b=null;function FG(a){this.b=a}u(485,1,{},FG);_.b=null;function BG(a,b){this.b=a;this.c=b}u(486,1,{},BG);_.Lc=function(a){a=a.b;$n((Xn(),Yn),new GG(this,this.c,a))};_.b=null;_.c=null;function GG(a,b,c){this.b=a;this.d=b;this.c=c}u(487,1,{},GG);_.xc=function(){var a=this.c;this.d.b.apply(a,[nG(this.b.b),a])};_.b=null;_.c=null;_.d=null;
|
346
|
+
function CG(a,b){this.b=a;this.c=b}u(488,1,{},CG);_.b=null;_.c=null;function Yr(a,b,c){this.b=a;this.d=b;this.c=c}u(489,1,{},Yr);_.xc=function(){var a=this.c;this.d.b.apply(a,[nG(this.b.b),a])};_.b=null;_.c=null;_.d=null;
|
347
|
+
function HG(){var a=IG("JSApplet.JSME"),b;$wnd.JSApplet.JSME=C(function(){var a;JG(KG,arguments)?a=arguments[0]:3==arguments.length?a=new sG(arguments[0],arguments[1],arguments[2]):1==arguments.length?a=new pG(arguments[0]):4==arguments.length?a=new qG(arguments[0],arguments[1],arguments[2],arguments[3]):2==arguments.length&&(a=new rG(arguments[0],arguments[1]));this.g=a;LG();a[Vc]=this;return this});b=$wnd.JSApplet.JSME.prototype={};b.addClickHandler=C(function(a){this.g.Ne(null==a?null:a.constructor==
|
348
|
+
$wnd.JSApplet.JsClosureJsme?a.g:new MG(a))});b.addMouseOverHandler=C(function(a){this.g.Oe(null==a?null:a.constructor==$wnd.JSApplet.JsClosureJsme?a.g:new MG(a))});b.alert=C(function(a){this.g.Pe(a)});b.clear=C(function(){this.g.Qe()});b.deferredRepaint=C(function(){this.g.Re()});b.getAfterPasteCallBack=C(function(){return this.g.b});b.getCreationIndex=C(function(){return this.g.c});b.getHelpURL=C(function(){return this.g.d.I});b.getMolecularAreaAntiAlias=C(function(){return this.g.d.eb});b.getMolecularAreaLineWidth=
|
349
|
+
C(function(){return this.g.d.fb});b.getNotifyStructuralChangeJSfunction=C(function(){return this.g.d.tb});b.getOffsetHeight=C(function(){return this.g.jd()});b.getOffsetSize=C(function(){return this.g.Ye()});b.getOffsetWidth=C(function(){return this.g.kd()});b.getParentContainer=C(function(){return this.g.e.pb});b.getPasteLabel=C(function(){return this.g.d.yb});b.getPrePasteJSfunction=C(function(){return this.g.d.Ab});b.initializationError=C(function(a){this.g.af(a)});b.isVisible=C(function(){return this.g.md()});
|
350
|
+
b.jmeFile=C(function(){return this.g.bf()});b.molFile=C(function(){return this.g.cf()});b.nonisomericSmiles=C(function(){return this.g.df()});b.options=C(function(a){this.g.ef(a)});b.ping=C(function(){});b.readMolFile=C(function(a){this.g.gf(a)});b.readMolecule=C(function(a){this.g.hf(a)});b.repaint=C(function(){this.g.je()});$wnd.JSApplet.JSME.replaceAllAppletsByJSME=C(function(a){var b=arguments,e=KG;LG();var f=b,g,b=NG.c;g=OG(b,e,f);if(!g){g=[null];for(i=0;i<f.length;i++)g.push(f[i]);f=g;g=OG(b,
|
351
|
+
e,f)}if(!g)throw new Yi("Can't find exported method for given arguments: 0"+kb+f.length+aa);return g[0]});b.reset=C(function(){this.g.jf()});b.resetAtomColors=C(function(a){this.g.kf(a)});b.setAfterPasteCallBack=C(function(a){this.g.lf(null==a?null:a.constructor==$wnd.JSApplet.JsClosureJsme?a.g:new MG(a))});b.setAntialias=C(function(a){this.g.mf(a)});b.setAtomBackgroundColors=C(function(a,b){this.g.nf(a,b)});b.setAtomToHighLight=C(function(a,b){this.g.of(a,b)});b.setHeight=C(function(a){this.g.od(a)});
|
352
|
+
b.setHelpURL=C(function(a){this.g.pf(a)});b.setMolecularAreaAntiAlias=C(function(a){this.g.qf(a)});b.setMolecularAreaLineWidth=C(function(a){this.g.rf(a)});b.setNotifyAtomHighLightChangeJSfunction=C(function(a){this.g.sf(a)});b.setNotifyStructuralChangeJSfunction=C(function(a){this.g.tf(a)});b.setPasteLabel=C(function(a){this.g.uf(a)});b.setPrePasteJSfunction=C(function(a){this.g.vf(a)});b.setSize=C(function(a,b){this.g.wf(a,b)});b.setSubstituent=C(function(a){this.g.xf(a)});b.setTemplate=C(function(a,
|
353
|
+
b){this.g.yf(a,b)});b.setVisible=C(function(a){this.g.pd(a)});b.setWidth=C(function(a){this.g.qd(a)});b.showInfo=C(function(a){this.g.zf(a)});b.smiles=C(function(){return this.g.Af()});PG({"0":{"0":[[zG,null,void 0]],1:[[AG,null,function(a,b){var e;null==b[0]?e=null:(e=b[0],e=e.constructor==$wnd.JSApplet.JsClosure?e.g:new QG(e));return[e]},ve]]}});RG(KG,$wnd.JSApplet.JSME);if(a)for(p in a)void 0===$wnd.JSApplet.JSME[p]&&($wnd.JSApplet.JSME[p]=a[p])}function Ht(){SG||(SG=!0,HG())}u(490,1,{},Ht);
|
354
|
+
var SG=!1;function Lt(){if($wnd.jsmeOnLoad&&typeof $wnd.jsmeOnLoad==ve)$wnd.jsmeOnLoad();else try{$wnd.console.log('Warning: the global function "jsmeOnLoad" is not defined.\n If you have defined it, there might be a syntax error in your javascript code.')}catch(a){}}function Kt(){}u(492,1,{},Kt);_.xc=function(){Lt()};function QG(a){this.b=a}u(493,1,{114:1,152:1},QG);_.eQ=function(a){return null!=a&&A(a,114)&&this.b==a.b};_.b=null;function MG(a){this.b=a}u(494,1,{115:1,152:1},MG);
|
355
|
+
_.eQ=function(a){return null!=a&&A(a,115)&&this.b==a.b};_.b=null;
|
356
|
+
function HD(a){var b,c,d,e,f,g;if(a.c>=a.d.length)return!1;c=a.d[a.c];g=c.getAttribute(hh)||l;b=c.getAttribute(Ie)||l;f=c.getAttribute(Hf)||l;e=c.getAttribute(Ke)||l;var j,h,n;n={};for(d=0;d<c.childNodes.length;++d)j=c.childNodes[d],"PARAM"==j.nodeName&&(h=j,j=h.getAttribute(Hf)||l,h=h.getAttribute(ch)||l,null!=j&&0<j.length&&null!=h&&0<h.length&&(n[j]=h));c.removeAttribute(Fd);c.removeAttribute(Hf);c.removeAttribute("archive");c.removeAttribute(Ie);c.removeAttribute(hh);c.removeAttribute(gd);c.removeAttribute("hspace");
|
357
|
+
c.removeAttribute("vspace");c.removeAttribute("codebase");c.textContent=l||l;d=oo();c.setAttribute(Ke,d);c.style[hh]=FD(g);c.style[Ie]=FD(b);b=new TG(a,d,n,e,c,f);$n((Xn(),Yn),b);++a.c;return!0}function GD(a){this.b="JME.class";this.e=a}u(495,1,{},GD);_.Fc=function(){return HD(this)};_.b=null;_.c=0;_.d=null;_.e=null;function TG(a,b,c,d,e,f){this.b=a;this.e=b;this.c=c;this.f=d;this.d=e;this.i=f}u(496,1,{},TG);
|
358
|
+
_.xc=function(){var a,b,c;c=new $wnd.JSApplet.JSME(this.e,db,db,this.c);null!=this.f&&0<this.f.length?this.d.setAttribute(Ke,this.f):this.d.removeAttribute(Ke);b=$doc;null!=this.i&&0<this.i.length&&(b[this.i]=c);a=b.jsapplets;a||(a=[],b.jsapplets=a);a[a.length]=c;this.b.e&&this.b.e.b.apply(c,[c])};_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.i=null;function UG(){}u(497,1,gi,UG);function VG(a){this.b=a}u(498,1,{},VG);_.xc=function(){this.b()};_.b=null;
|
359
|
+
function WG(){var a=IG("JSApplet.Utils");$wnd.JSApplet.Utils=C(function(){var a;JG(XG,arguments)?a=arguments[0]:0==arguments.length&&(a=new UG);this.g=a;LG();a[Vc]=this;return this});$wnd.JSApplet.Utils.prototype={};$wnd.JSApplet.Utils.runAfterBrowserEventLoopReturns=C(function(a){$n((Xn(),Yn),new VG(a))});RG(XG,$wnd.JSApplet.Utils);if(a)for(p in a)void 0===$wnd.JSApplet.Utils[p]&&($wnd.JSApplet.Utils[p]=a[p])}function It(){YG||(YG=!0,WG())}u(499,1,{},It);var YG=!1;function ZG(a){En();this.i=a}
|
360
|
+
u(500,459,qi,ZG);function Rt(){En();this.i="divide by zero"}u(501,97,ui,Rt);function Bt(){En()}function $G(a){En();this.i=a}u(502,97,ui,Bt,$G);function aH(){aH=x;bH=new cH(!1);dH=new cH(!0)}function cH(a){this.b=a}u(503,1,{117:1,118:1,121:1},cH);_.eQ=function(a){return A(a,118)&&a.b==this.b};_.hC=function(){return this.b?1231:1237};_.tS=function(){return this.b?bh:"false"};_.b=!1;var bH,dH;
|
361
|
+
function AD(a,b,c){var d,e;d=eH(a,b++);if(c=55296<=d&&56319>=d&&b<c)a=e=a.charCodeAt(b),c=56320<=a&&57343>=a;return c?65536+((d&1023)<<10)+(e&1023):d}function fH(){}function gH(a){return typeof a==Of?Cc+(0>a?-a:a):a}function hH(a,b){var c;c=new fH;c.e=Hb+(iH(0!=a?-a:0)?gH(0!=a?-a:0):l+Gi(c));jH(0!=a?-a:0)&&kH(0!=a?-a:0,c);c.c=4;c.b=b;return c}function X(a){var b;b=new fH;b.e=Hb+(iH(a)?gH(a):l+Gi(b));jH(a)&&kH(a,b);return b}
|
362
|
+
function Z(a,b){var c;c=new fH;c.e=Hb+(iH(a)?gH(a):l+Gi(c));jH(a)&&kH(a,c);c.c=b?8:0;return c}function lH(){var a;a=new fH;a.e=Hb+(iH(0)?gH(0):l+Gi(a));jH(0)&&kH(0,a);a.c=2;return a}function mH(a){var b;b=new fH;b.e=Hb+(iH(a)?gH(a):l+Gi(b));jH(a)&&kH(a,b);b.c=1;return b}function jH(a){return typeof a==Of&&0<a}function iH(a){return null!=a&&0!=a}
|
363
|
+
function kH(a,b){var c;b.d=a;if(2==a)c=String.prototype;else if(0<a)if(c=Ph[b.d])c=c.prototype;else{c=Ph[a]=function(){};c.cZ=b;return}else return;c.cZ=b}u(505,1,{},fH);_.tS=function(){return(0!=(this.c&2)?"interface ":0!=(this.c&1)?l:"class ")+this.e};_.b=null;_.c=0;_.d=0;_.e=null;function nH(a){var b;if(!(b=oH,!b&&(b=oH=/^\s*[+-]?(NaN|Infinity|((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?)\s*$/),b.test(a)))throw new pH(Tb+a+da);return parseFloat(a)}
|
364
|
+
function hD(a,b){var c,d;if(null==a)throw new pH(Nf);if(2>b||36<b)throw new pH("radix "+b+" out of range");d=a.length;for(c=0<d&&45==a.charCodeAt(0)?1:0;c<d;++c){var e=a.charCodeAt(c);if(-1==(2>b||36<b?-1:48<=e&&e<48+(10>b?b:10)?e-48:97<=e&&e<b+97-10?e-97+10:65<=e&&e<b+65-10?e-65+10:-1))throw new pH(Tb+a+da);}c=parseInt(a,b);if(isNaN(c))throw new pH(Tb+a+da);if(-2147483648>c||2147483647<c)throw new pH(Tb+a+da);return c}u(507,1,{117:1,129:1});var oH=null;function qH(a){this.b=a}
|
365
|
+
u(506,507,{117:1,121:1,122:1,129:1},qH);_.eQ=function(a){return A(a,122)&&a.b==this.b};_.hC=function(){return Dt(this.b)};_.tS=function(){return l+this.b};_.b=0;function EA(a){this.b=a}u(508,507,{117:1,121:1,125:1,129:1},EA);_.eQ=function(a){return A(a,125)&&a.b==this.b};_.hC=function(){return Dt(this.b)};_.tS=function(){return l+this.b};_.b=0;function sA(){En()}function Ek(a){En();this.i=a}u(509,97,ii,sA,Ek);function sw(){En()}function vx(a){En();this.i=a}u(510,97,ui,sw,vx);
|
366
|
+
function S(a){this.b=a}function cu(a){var b,c;if(0>a)return 0;if(0==a)return 32;b=-(a>>16)>>16&16;c=16-b;a>>=b;b=a-256>>16&8;c+=b;a<<=b;b=a-4096>>16&4;c+=b;a<<=b;b=a-16384>>16&2;c+=b;a=a<<b>>14;return c+2-(a&~(a>>1))}function Wt(a){var b,c;if(0==a)return 32;c=0;for(b=1;0==(b&a);b<<=1)++c;return c}function gF(a){var b,c;return-129<a&&128>a?(b=a+128,c=(rH(),sH)[b],!c&&(c=sH[b]=new S(a)),c):new S(a)}u(511,507,{117:1,121:1,127:1,129:1},S);_.eQ=function(a){return A(a,127)&&a.b==this.b};_.hC=function(){return this.b};
|
367
|
+
_.tS=function(){return l+this.b};_.b=0;function rH(){rH=x;sH=y(VF,m,127,256,0)}var sH;function Oj(a){return 0>a?-a:a}function Nj(a,b){return a>b?a:b}function UE(a){return Math.round(a)}function Bn(){En()}function Cs(a){En();this.i=a}u(514,97,{117:1,124:1,128:1,130:1,132:1},Bn,Cs);function Ii(){Ii=x;Ji=K(Hi,m,-1,[48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122])}var Ji;function pH(a){En();this.i=a}u(516,509,ii,pH);
|
368
|
+
function In(a){this.b="Unknown";this.d=a;this.c=-1}u(517,1,{117:1,131:1},In);_.tS=function(){return this.b+Wa+this.d+"(Unknown Source"+(0<=this.c?kb+this.c:l)+va};_.b=null;_.c=0;_.d=null;function eH(a,b){return a.charCodeAt(b)}function tH(a,b){return-1!=a.lastIndexOf(b)&&a.lastIndexOf(b)==a.length-b.length}function H(a,b){return!A(b,1)?!1:""+a==b}function Ys(a,b){return null==b?!1:a==b||a.toLowerCase()==b.toLowerCase()}function Wv(a,b){return a.indexOf(b)}
|
369
|
+
function fD(a,b,c){return a.indexOf(b,c)}function vz(a,b){return a.lastIndexOf(b)}function nF(a){var b=aa,c=kh,d;for(d=0;0<=(d=c.indexOf(Tc,d));)36==c.charCodeAt(d+1)?c=c.substr(0,d-0)+"$"+io(c,++d):c=c.substr(0,d-0)+io(c,++d);return a.replace(RegExp(b,we),c)}
|
370
|
+
function uH(a,b){for(var c=RegExp(b,we),d=[],e=0,f=a,g=null;;){var j=c.exec(f);if(null==j||f==l){d[e]=f;break}else d[e]=f.substring(0,j.index),f=f.substring(j.index+j[0].length,f.length),c.lastIndex=0,g==f&&(d[e]=f.substring(0,1),f=f.substring(1)),g=f,e++}if(0<a.length){for(c=d.length;0<c&&d[c-1]==l;)--c;c<d.length&&d.splice(c,d.length-c)}c=y(Gt,m,1,d.length,0);for(e=0;e<d.length;++e)c[e]=d[e];return c}function io(a,b){return a.substr(b,a.length-b)}
|
371
|
+
function ho(a){return 0==a.length||a[0]>ba&&a[a.length-1]>ba?a:a.replace(/^(\s*)/,l).replace(/\s*$/,l)}function Xv(a){var b;return 65536<=a?(b=56320+(a-65536&1023)&65535,String.fromCharCode(55296+(a-65536>>10&1023)&65535)+String.fromCharCode(b)):String.fromCharCode(a&65535)}_=String.prototype;_.cM={1:1,117:1,119:1,121:1};_.eQ=function(a){return H(this,a)};_.hC=function(){return tu(this)};_.tS=_.toString;function vH(){vH=x;wH={};xH={}}
|
372
|
+
function tu(a){vH();var b=kb+a,c=xH[b];if(null!=c)return c;c=wH[b];if(null==c){var d,e,f,c=0;e=a.length;f=e-4;for(d=0;d<f;)c=a.charCodeAt(d+3)+31*(a.charCodeAt(d+2)+31*(a.charCodeAt(d+1)+31*(a.charCodeAt(d)+31*c)))|0,d+=4;for(;d<e;)c=31*c+eH(a,d++);c|=0}256==yH&&(wH=xH,xH={},yH=0);++yH;return xH[b]=c}var wH,yH=0,xH;function xn(a,b){yn(a.b,b);return a}function wn(){this.b=new jo}function zH(){this.b=new jo;this.b.b+=l}u(519,1,oi,wn,zH);_.tS=function(){return this.b.b};function ru(){this.b=new jo}
|
373
|
+
function dD(){this.b=new jo}function Ws(a){this.b=new jo;yn(this.b,a)}u(520,1,oi,ru,dD,Ws);_.tS=function(){return this.b.b};function gD(a){a="String index out of range: "+a;En();this.i=a}u(521,510,ui,gD);
|
374
|
+
function AH(a,b,c){var d=0,e=0,f,g,j,h,n;if(null==a||null==b)throw new Bn;h=a.cZ;g=b.cZ;if(0==(h.c&4)||0==(g.c&4))throw new $G("Must be array types");j=h.b;f=g.b;if(!(0!=(j.c&1)?j==f:0==(f.c&1)))throw new $G("Array types must match");n=a.length;f=b.length;if(0>d||0>e||0>c||d+c>n||e+c>f)throw new sw;if((0==(j.c&1)||0!=(j.c&4))&&h!=g)if(a===b&&d<e){d+=c;for(c=e+c;c-- >e;)At(b,c,a[--d])}else for(c=e+c;e<c;)At(b,e++,a[d++]);else Array.prototype.splice.apply(b,[e,c].concat(a.slice(d,d+c)))}
|
375
|
+
function Zv(){En()}function oD(a){En();this.i=a}u(523,97,ui,Zv,oD);function KA(a,b){for(var c;a._c();)if(c=a.ad(),null==b?null==c:Kn(b,c))return a;return null}function NA(a,b){var c;return(c=KA(a.Bd(),b))?(c.bd(),!0):!1}function BH(a){var b,c,d,e;d=new wn;b=null;d.b.b+=Rc;for(c=a.Bd();c._c();)null!=b?yn(d.b,b):b=Aa,e=c.ad(),yn(d.b,e===a?"(this Collection)":l+e);d.b.b+=Uc;return d.b.b}u(524,1,{});_.Bf=function(){throw new oD("Add not supported on this collection");};
|
376
|
+
_.Cf=function(a){return!!KA(this.Bd(),a)};_.Ce=function(){return 0==this.Fe()};_.Df=function(a){return NA(this,a)};_.tS=function(){return BH(this)};u(526,524,ni);_.eQ=function(a){var b;if(a===this)return!0;if(!A(a,138)||a.Fe()!=this.Fe())return!1;for(a=a.Bd();a._c();)if(b=a.ad(),!this.Cf(b))return!1;return!0};_.hC=function(){var a,b,c;a=0;for(b=this.Bd();b._c();)c=b.ad(),null!=c&&(a+=Nn(c),a=~~a);return a};
|
377
|
+
function CH(a,b){var c;return A(b,136)&&(c=b.Ef(),Fv(a.b,c))?(c=lj(a.b,c),a.b.Ge(b.Ff(),c)):!1}function tD(a){this.b=a}u(525,526,ni,tD);_.Cf=function(a){return CH(this,a)};_.Bd=function(){return new jD(this.b)};_.Df=function(a){return CH(this,a)?(a=a.Ef(),Xi(this.b,a),!0):!1};_.Fe=function(){return this.b.e};_.b=null;function mD(a){if(a.c)Ri(a.b),Xi(a.d,a.c.Ef()),a.c=null;else throw new cw("Must call next() before remove().");}
|
378
|
+
function jD(a){var b;this.d=a;b=new ij;a.d&&cj(b,new DH(a));var c=a.f,d;for(d in c)if(58==d.charCodeAt(0)){var e=new EH(a,d.substring(1));b.Bf(e)}var a=a.b,f;for(f in a)if(c=parseInt(f,10),f==c){c=a[c];d=0;for(e=c.length;d<e;++d)b.Bf(c[d])}this.b=new Oi(b)}u(527,1,{},jD);_._c=function(){return kD(this.b)};_.ad=function(){return this.c=Pi(this.b)};_.bd=function(){mD(this)};_.b=null;_.c=null;_.d=null;u(529,1,Uh);_.eQ=function(a){return A(a,136)&&nD(this.Ef(),a.Ef())&&nD(this.Ff(),a.Ff())?!0:!1};
|
379
|
+
_.hC=function(){var a,b;b=a=0;null!=this.Ef()&&(a=Nn(this.Ef()));null!=this.Ff()&&(b=Nn(this.Ff()));return a^b};_.tS=function(){return this.Ef()+ob+this.Ff()};function DH(a){this.b=a}u(528,529,Uh,DH);_.Ef=function(){return null};_.Ff=function(){return this.b.c};_.Gf=function(a){return qD(this.b,a)};_.b=null;function EH(a,b){this.c=a;this.b=b}u(530,529,Uh,EH);_.Ef=function(){return this.b};_.Ff=function(){return this.c.f[kb+this.b]};_.Gf=function(a){return rD(this.c,this.b,a)};_.b=null;_.c=null;
|
380
|
+
function sx(a,b){(0>a||a>=b)&&FH(a,b)}function FH(a,b){throw new vx("Index: "+a+", Size: "+b);}u(531,524,ri);_.Hf=function(){throw new oD("Add not supported on this list");};_.Bf=function(a){this.Hf(this.Fe(),a);return!0};_.eQ=function(a){var b,c,d;if(a===this)return!0;if(!A(a,134)||this.Fe()!=a.Fe())return!1;c=this.Bd();for(d=a.Bd();c._c();)if(a=c.ad(),b=d.ad(),!(null==a?null==b:Kn(a,b)))return!1;return!0};
|
381
|
+
_.hC=function(){var a,b,c;b=1;for(a=this.Bd();a._c();)c=a.ad(),b=31*b+(null==c?0:Nn(c)),b=~~b;return b};_.Bd=function(){return new Oi(this)};_.Jf=function(){return this.Kf(0)};_.Kf=function(a){return new GH(this,a)};_.Lf=function(){throw new oD("Remove not supported on this list");};function kD(a){return a.c<a.e.Fe()}function Pi(a){if(a.c>=a.e.Fe())throw new vw;return a.e.If(a.d=a.c++)}function Ri(a){if(0>a.d)throw new Lx;a.e.Lf(a.d);a.c=a.d;a.d=-1}function Oi(a){this.e=a}u(532,1,{},Oi);_._c=function(){return kD(this)};
|
382
|
+
_.ad=function(){return Pi(this)};_.bd=function(){Ri(this)};_.c=0;_.d=-1;_.e=null;function GH(a,b){var c;this.e=this.b=a;c=a.Fe();(0>b||b>c)&&FH(b,c);this.c=b}u(533,532,{},GH);_.Mf=function(){return 0<this.c};_.Nf=function(){if(0>=this.c)throw new vw;return this.b.If(this.d=--this.c)};_.b=null;function HH(a){a=new jD(a.c.b);return new IH(a)}function JH(a,b){this.b=a;this.c=b}u(534,526,ni,JH);_.Cf=function(a){return Fv(this.b,a)};_.Bd=function(){return HH(this)};_.Fe=function(){return this.c.b.e};
|
383
|
+
_.b=null;_.c=null;function IH(a){this.b=a}u(535,1,{},IH);_._c=function(){return kD(this.b.b)};_.ad=function(){return(this.b.c=Pi(this.b.b)).Ef()};_.bd=function(){mD(this.b)};_.b=null;u(536,531,ri);_.Hf=function(a,b){var c;c=QA(this,a);var d=c.e;new LA(b,c.c);++d.c;++c.b;c.d=null};_.If=function(a){var b;b=QA(this,a);try{return RA(b)}catch(c){c=Ui(c);if(A(c,137))throw new vx("Can't get element "+a);throw c;}};_.Bd=function(){return QA(this,0)};
|
384
|
+
_.Lf=function(a){var b,c;b=QA(this,a);try{c=RA(b)}catch(d){d=Ui(d);if(A(d,137))throw new vx("Can't remove element "+a);throw d;}KH(b);return c};function LH(a){a.c=y(MH,m,0,0,0)}function Zz(a,b,c){(0>b||b>a.d)&&FH(b,a.d);a.c.splice(b,0,c);++a.d}function cj(a,b){At(a.c,a.d++,b);return!0}function Tu(a,b){sx(b,a.d);return a.c[b]}function Hj(a,b){for(var c=0;c<a.d;++c)if(nD(b,a.c[c]))return c;return-1}function Wu(a,b){var c;c=(sx(b,a.d),a.c[b]);a.c.splice(b,1);--a.d;return c}
|
385
|
+
function bj(a,b){var c;c=Hj(a,b);if(-1==c)return!1;Wu(a,c);return!0}function Ik(a,b){var c;if(b.length<a.d){c=b;var d;d=gt(0,a.d);K(c.cZ,c.cM,c.qI,d);b=d}for(c=0;c<a.d;++c)At(b,c,a.c[c]);b.length>a.d&&At(b,a.d,null);return b}function ij(){LH(this)}function EB(a){LH(this);this.c.length=a}function yA(a){LH(this);var b=this.c,c=a.c,a=c.slice(0,a.d);K(c.cZ,c.cM,c.qI,a);Array.prototype.splice.apply(b,[0,0].concat(a));this.d=this.c.length}u(537,531,Sh,ij,EB,yA);_.Hf=function(a,b){Zz(this,a,b)};
|
386
|
+
_.Bf=function(a){return cj(this,a)};_.Qe=function(){this.c=y(MH,m,0,0,0);this.d=0};_.Cf=function(a){return-1!=Hj(this,a)};_.If=function(a){return Tu(this,a)};_.Ce=function(){return 0==this.d};_.Lf=function(a){return Wu(this,a)};_.Df=function(a){return bj(this,a)};_.Fe=function(){return this.d};_.d=0;function PA(a,b,c){var d;for(d=0;d<b;++d)At(a,d,c)}function Ss(){Ss=x;Ts=new NH}var Ts;function NH(){}u(540,531,hi,NH);_.Cf=function(){return!1};_.If=function(){throw new sw;};_.Fe=function(){return 0};
|
387
|
+
function OH(){this.b=new Date}function PH(a){return 10>a?ab+a:l+a}u(541,1,{117:1,120:1,121:1,133:1},OH);_.eQ=function(a){return A(a,133)&&fu(N(this.b.getTime()),N(a.b.getTime()))};_.hC=function(){var a;a=N(this.b.getTime());var b,c,d,e;c=32;d=a.h&1048575;22>c?(e=d>>>c,b=a.m>>c|d<<22-c,c=a.l>>c|a.m<<22-c):44>c?(e=0,b=d>>>c-22,c=a.m>>c-22|a.h<<44-c):(b=e=0,c=d>>>c-44);b=Nt(c&4194303,b&4194303,e&1048575);a=Nt(a.l^b.l,a.m^b.m,a.h^b.h);return O(a)};
|
388
|
+
_.tS=function(){var a,b;b=-this.b.getTimezoneOffset();a=(0<=b?xa:l)+~~(b/60);b=10>(0>b?-b:b)%60?ab+(0>b?-b:b)%60:l+(0>b?-b:b)%60;return(QH(),RH)[this.b.getDay()]+ba+SH[this.b.getMonth()]+ba+PH(this.b.getDate())+ba+PH(this.b.getHours())+kb+PH(this.b.getMinutes())+kb+PH(this.b.getSeconds())+" GMT"+a+b+ba+this.b.getFullYear()};_.b=null;function QH(){QH=x;RH=K(Gt,m,1,"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","));SH=K(Gt,m,1,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","))}var RH,SH;
|
389
|
+
function Ls(a,b){return null==z(a.b,b,a)}function Ks(){this.b=new Mi}u(543,526,{117:1,120:1,138:1},Ks);_.Bf=function(a){return Ls(this,a)};_.Cf=function(a){return Fv(this.b,a)};_.Ce=function(){return 0==this.b.e};_.Bd=function(){return HH(new JH(this.b,new tD(this.b)))};_.Df=function(a){return null!=Xi(this.b,a)};_.Fe=function(){return this.b.e};_.tS=function(){return BH(new JH(this.b,new tD(this.b)))};_.b=null;
|
390
|
+
function QA(a,b){var c,d;(0>b||b>a.c)&&FH(b,a.c);if(b>=a.c>>1){d=a.b;for(c=a.c;c>b;--c)d=d.c}else{d=a.b.b;for(c=0;c<b;++c)d=d.b}return new TH(a,b,d)}function UA(){this.b=new UH;this.c=0}u(544,536,hi,UA);_.Bf=function(a){new LA(a,this.b);++this.c;return!0};_.Kf=function(a){return QA(this,a)};_.Fe=function(){return this.c};_.b=null;_.c=0;function RA(a){if(a.c==a.e.b)throw new vw;a.d=a.c;a.c=a.c.b;++a.b;return a.d.d}
|
391
|
+
function KH(a){if(!a.d)throw new Lx;a.c==a.d?a.c=a.d.b:--a.b;var b=a.d;b.b.c=b.c;b.c.b=b.b;b.b=b.c=b;a.d=null;--a.e.c}function TH(a,b,c){this.e=a;this.c=c;this.b=b}u(545,1,{},TH);_._c=function(){return this.c!=this.e.b};_.Mf=function(){return this.c.c!=this.e.b};_.ad=function(){return RA(this)};_.Nf=function(){if(this.c.c==this.e.b)throw new vw;this.d=this.c=this.c.c;--this.b;return this.d.d};_.bd=function(){KH(this)};_.b=0;_.c=null;_.d=null;_.e=null;function UH(){this.b=this.c=this}
|
392
|
+
function LA(a,b){this.d=a;this.b=b;this.c=b.c;b.c.b=this;b.c=this}u(546,1,{},UH,LA);_.b=null;_.c=null;_.d=null;function lD(a,b){this.b=a;this.c=b}u(547,529,Uh,lD);_.Ef=function(){return this.b};_.Ff=function(){return this.c};_.Gf=function(a){var b;b=this.c;this.c=a;return b};_.b=null;_.c=null;function vw(){En()}u(548,97,{117:1,124:1,130:1,132:1,137:1},vw);function nD(a,b){return Ct(a)===Ct(b)||null!=a&&Kn(a,b)}function DB(a){var b=y(VA,m,90,0,0);return Ik(a.b,b)}function iA(){this.b=new ij}
|
393
|
+
u(550,531,Sh,iA);_.Hf=function(a,b){Zz(this.b,a,b)};_.Bf=function(a){return cj(this.b,a)};_.Cf=function(a){return-1!=Hj(this.b,a)};_.If=function(a){return Tu(this.b,a)};_.Ce=function(){return 0==this.b.d};_.Bd=function(){return new Oi(this.b)};_.Lf=function(a){return Wu(this.b,a)};_.Fe=function(){return this.b.d};_.tS=function(){return BH(this.b)};_.b=null;function pF(a){a.hc.d.hb&&JB(a)}function VH(a){var b;if(a.hc.d.hb){b=Az(a);var c=a.k,d=b.c;c.b=b.b;c.c=d}LB(a)}
|
394
|
+
function WH(a,b,c){a.b+=b;a.c+=c;a.b=0>a.b?0:a.b;a.c=0>a.c?0:a.c}function tF(a){var b=a.k;XH(a.hc.d,b.b,b.c);!zz(a)&&dA(a);Oz(a)}function YH(){OB.call(this,l);this.j=new YA(this.Of());xA(this.r,new ZH(this))}u(552,418,si);_.Pd=function(a,b){return Ct(a.i)===Ct(this.j)?(VH(this),!0):this.Pf(a,b)};_.Of=function(){return"Close"};_.Pf=function(){return!1};_.Id=function(){VH(this)};_.j=null;_.k=null;
|
395
|
+
function DG(a,b,c){YH.call(this);this.hc&&QB(this.hc.d,!1);NB(this,!1);gA(this,new YB(0));a=new bC(a,1);R(this,a,null);a=new kA;R(a,this.j,null);R(this,a,null);b&&(this.k=Az(b),MB(this),WH(this.k,~~(G(b.Vb.pb,Rf)/2)-~~(this.mc/2),~~(G(b.Vb.pb,Qf)/2)-~~(this.cc/2)));c&&P(this,c)}u(551,552,si,DG);_.Of=function(){return"OK"};function mF(a){if(!(a.b!=a.c&&a.b.c!=a.c))throw new cw("Cannot undo. Index is out of range.");if(!a.b.c)throw new cw(Zb);a.b=a.b.c;return a.b.b}
|
396
|
+
function wG(){this.b=this.c=new $H}u(553,1,{},wG);_.b=null;function $H(){this.b=null}function cG(a){this.b=a}u(554,1,{},$H,cG);_.b=null;_.c=null;_.d=null;function ZH(a){this.b=a}u(555,453,pi,ZH);_.b=null;
|
397
|
+
function PD(a,b){var c,d,e;d=!1;if(null!=b){if(null!=a.b.Ab){ED(a.b.Ab,K(Gt,m,1,[b]));return}e=l;c=a.b.Ib;var f,g,j,h;if(null==b)c=0;else if(f=uH(b,"\\$\\$\\$\\$\r?\n?"),1>=f.length)c=0;else{for(j=0,h=f.length;j<h;++j)g=f[j],At(c.c,c.d++,g);c=f.length}0<c&&(e=". Use Page Up/Down for SDF access ("+c+va);try{cF(a.b,b,!0)?(Jr(a.b,"Structure pasted"+e),tE(a.b),pA(a.b),d=!0):(tF(new DG(a.b.K,a.b,YD)),dF(a.b,!0),pA(a.b))}catch(n){if(n=Ui(n),A(n,124))e=a.b,e.lb=!0,e.K="ERROR - invalid MOL ",QD(e),tF(new DG(a.b.K,
|
398
|
+
a.b,YD)),pA(a.b);else throw n;}}d&&a.b.Me(b)}function Gr(a){this.b=a}u(556,1,{},Gr);_.b=null;function mE(){mE=x;nE=new aI("COPY_SMILES",0);pE=new aI("COPY_MOL",1);qE=new aI("PASTE",2);bI=K(cI,m,139,[nE,pE,qE])}function aI(a,b){I.call(this,a,b)}u(557,140,{117:1,121:1,123:1,139:1},aI);var bI,pE,nE,qE;function bG(){this.e=y(kG,m,140,99,0)}u(558,1,{},bG);_.b=0;_.c=1;_.d=0;_.f=!1;_.i=0;_.j=!1;
|
399
|
+
function dI(a){a.c=y(M,s,-1,20,1);a.B=y(M,s,-1,20,1);a.K=y(wE,m,-1,20,1);a.N=y(wE,m,-1,20,1);a.H=ht([20,7]);a.e=y(M,s,-1,20,1);a.d=y(Gt,m,1,20,0);a.p=y(Gt,m,1,20,0);a.y=y(M,s,-1,20,1);a.A=y(M,s,-1,20,1);a.I=y(M,s,-1,20,1);a.J=y(M,s,-1,20,1);a.t=y(M,s,-1,20,1);a.C=y(M,s,-1,20,1);a.L=y(M,s,-1,20,1);a.O=y(M,s,-1,20,1);a.f=y(Gt,m,1,20,0);a.r=ht([10,2]);a.j=y(M,s,-1,101,1)}
|
400
|
+
function eI(a,b,c,d){var e,f,g,j,h,n,o,r,q;h=y(M,s,-1,4,1);f=a.K[c]-a.K[b];g=a.N[c]-a.N[b];o=Math.sqrt(f*f+g*g);0.001>o&&(o=0.001);q=g/o;e=f/o;n=y(M,s,-1,4,1);for(j=0;4>j;++j)d[j]==c||0>=d[j]||(0==n[1]?n[1]=d[j]:0==n[2]?n[2]=d[j]:0==n[3]&&(n[3]=d[j]));r=y(wE,m,-1,4,1);d=y(wE,m,-1,4,1);for(j=1;3>=j;++j)3==j&&0==n[3]||(f=(a.K[n[j]]-a.K[b])*e+(a.N[n[j]]-a.N[b])*q,g=(a.N[n[j]]-a.N[b])*e-(a.K[n[j]]-a.K[b])*q,o=Math.sqrt(f*f+g*g),0.001>o&&(o=0.001),r[j]=g/o,d[j]=f/o);a=fI(r[1],d[1],r[2],d[2]);0<n[3]?(b=
|
401
|
+
fI(r[2],d[2],r[3],d[3]),d=fI(r[1],d[1],r[3],d[3]),0<a&&0<b?(h[1]=n[1],h[2]=n[2],h[3]=n[3]):0<d&&0>b?(h[1]=n[1],h[2]=n[3],h[3]=n[2]):0>a&&0<d?(h[1]=n[2],h[2]=n[1],h[3]=n[3]):0<b&&0>d?(h[1]=n[2],h[2]=n[3],h[3]=n[1]):0>d&&0<a?(h[1]=n[3],h[2]=n[1],h[3]=n[2]):0>b&&0>a&&(h[1]=n[3],h[2]=n[2],h[3]=n[1])):0<a?(h[1]=n[1],h[2]=n[2]):(h[1]=n[2],h[2]=n[1]);h[0]=c;return h}
|
402
|
+
function W(a,b){var c,d,e,f,g,j,h,n;MF(a);switch(a.A[a.E]){case 0:a.K[a.u]=a.K[a.E]+21.65*a.o.C;a.N[a.u]=a.N[a.E]+12.5*a.o.C;break;case 1:c=a.H[a.E][1];d=0;2==a.A[c]&&(a.H[c][1]==a.E?d=a.H[c][2]:d=a.H[c][1]);e=a.K[a.E]-a.K[c];f=a.N[a.E]-a.N[c];j=Math.sqrt(e*e+f*f);0.001>j&&(j=0.001);f/=j;e/=j;h=j+25*a.o.C*Math.cos(1.0471975511965976);n=25*a.o.C*Math.sin(1.0471975511965976);g=gI(a,a.E,c);if(3==a.t[g]||204==a.o.d||1!=a.t[g]&&(203==a.o.d||204==a.o.d)||a.q)h=j+25*a.o.C,n=0;0<d&&0<(a.N[d]-a.N[c])*e-(a.K[d]-
|
403
|
+
a.K[c])*f&&(n=-n);0<b&&0>n?n=-n:0>b&&0<n&&(n=-n);a.K[a.u]=a.K[c]+h*e-n*f;a.N[a.u]=a.N[c]+n*e+h*f;break;case 2:c=y(wE,m,-1,2,1);hI(a,a.E,25*a.o.C,c);a.K[a.u]=c[0];a.N[a.u]=c[1];break;case 3:case 4:case 5:for(g=1;g<=a.A[a.E]&&!(c=a.H[a.E][g],e=a.K[a.E]-a.K[c],f=a.N[a.E]-a.N[c],j=Math.sqrt(e*e+f*f),0.001>j&&(j=0.001),a.K[a.u]=a.K[a.E]+25*a.o.C*e/j,a.N[a.u]=a.N[a.E]+25*a.o.C*f/j,0==PF(a,a.u)||g==a.A[a.E]);++g);break;default:--a.u;Jr(a.o,"Are you trying to draw an hedgehog ?");a.o.P=9;return}a.A[a.u]=
|
404
|
+
1;++a.A[a.E];TF(a);a.t[a.v]=1;203==a.o.d&&(a.t[a.v]=2);204==a.o.d&&(a.t[a.v]=3);a.I[a.v]=a.E;a.J[a.v]=a.u;201==a.o.d&&LF(a,a.v);a.H[a.u][1]=a.E;a.H[a.E][a.A[a.E]]=a.u;a.L[a.v]=O(N(UE((a.K[a.E]+a.K[a.u])/2)));a.O[a.v]=O(N(UE((a.N[a.E]+a.N[a.u])/2)));a.M=a.K[a.u];a.P=a.N[a.u]}
|
405
|
+
function JF(a,b){var c;a.G=a.E;c=0;if(233==a.o.d||237==a.o.d||236==a.o.d||239==a.o.d||251==a.o.d||252==a.o.d)W(a,0),a.E=a.u,a.q=!0,W(a,0),a.q=!1,a.E=a.u-1,W(a,0),a.E=a.u-2,W(a,0),237==a.o.d&&(a.c[a.u]=10,a.c[a.u-1]=10,a.c[a.u-2]=10),236==a.o.d&&(a.c[a.u]=9,a.c[a.u-1]=9,a.c[a.u-2]=9),239==a.o.d&&(a.c[a.u]=5,a.c[a.u-1]=5,a.c[a.u-2]=5,a.c[a.u-3]=8,a.t[a.v]=2,a.t[a.v-1]=2),252==a.o.d&&(a.c[a.u]=5,a.c[a.u-1]=5,a.c[a.u-2]=4,a.c[a.u-3]=8,a.t[a.v]=2,a.t[a.v-1]=2),251==a.o.d&&(a.c[a.u]=5,a.c[a.u-1]=5,a.c[a.u-
|
406
|
+
2]=5,a.c[a.u-3]=7,a.t[a.v]=2),c=4;else if(244==a.o.d)W(a,0),a.c[a.u]=4,a.E=a.u,W(a,0),a.c[a.u]=8,a.E=a.u,a.q=!0,W(a,0),a.q=!1,a.E=a.u-1,W(a,0),a.c[a.u]=5,a.t[a.v]=2,a.E=a.u-2,W(a,0),a.c[a.u]=5,a.t[a.v]=2,c=5;else if(234==a.o.d)W(a,0),a.c[a.u]=4,a.E=a.u,a.o.zb&&HF(a,a.E,1),W(a,0),a.c[a.u]=5,a.t[a.v]=2,a.E=a.u-1,W(a,0),a.c[a.u]=5,a.o.zb?(a.t[a.v]=1,HF(a,a.u,-1)):a.t[a.v]=2,c=3;else if(235==a.o.d)W(a,0),a.E=a.u,W(a,0),a.c[a.u]=5,a.E=a.u-1,W(a,0),a.c[a.u]=5,a.t[a.v]=2,c=3;else if(240==a.o.d)W(a,0),a.E=
|
407
|
+
a.u,W(a,0),a.c[a.u]=5,a.E=a.u,W(a,0),a.E=a.u-2,W(a,0),a.c[a.u]=5,a.t[a.v]=2,c=4;else if(260==a.o.d)W(a,0),a.E=a.u,W(a,0),a.c[a.u]=4,a.E=a.u-1,W(a,0),a.c[a.u]=5,a.t[a.v]=2,c=3;else if(261==a.o.d)W(a,0),a.c[a.u]=4,a.E=a.u,W(a,0),a.E=a.u,W(a,0),a.c[a.u]=5,a.t[a.v]=2,c=3;else if(241==a.o.d)W(a,0),a.c[a.u]=5,a.E=a.u,W(a,0),a.E=a.u,W(a,0),a.E=a.u-1,W(a,0),a.t[a.v]=2,a.c[a.u]=5,c=4;else if(243==a.o.d)W(a,0),a.c[a.u]=4,a.E=a.u,W(a,0),a.E=a.u-1,W(a,0),c=3;else if(238==a.o.d)W(a,0),a.E=a.u,a.q=!0,W(a,0),a.t[a.v]=
|
408
|
+
3,a.q=!1,c=2;else if(249==a.o.d)W(a,0),a.E=a.u,W(a,0),a.t[a.v]=2,a.c[a.u]=5,c=2;else if(250==a.o.d)W(a,0),a.t[a.v]=2,a.c[a.u]=5,c=1;else if(245==a.o.d)W(a,0),a.E=a.u,a.q=!0,W(a,0),a.E=a.u,a.t[a.v]=3,W(a,0),a.q=!1,c=3;else if(242==a.o.d)W(a,0),a.E=a.u,a.q=!0,W(a,0),a.t[a.v]=3,a.c[a.u]=4,a.q=!1,c=2;else if(254==a.o.d)W(a,0),a.c[a.u]=9,c=1;else if(255==a.o.d)W(a,0),a.c[a.u]=10,c=1;else if(256==a.o.d)W(a,0),a.c[a.u]=11,c=1;else if(257==a.o.d)W(a,0),a.c[a.u]=12,c=1;else if(258==a.o.d)W(a,0),a.c[a.u]=4,
|
409
|
+
c=1;else if(259==a.o.d)W(a,0),a.c[a.u]=5,c=1;else if(246==a.o.d)W(a,0),a.E=a.u,W(a,0),c=2;else if(247==a.o.d)W(a,0),a.E=a.u,W(a,0),a.E=a.u,W(a,0),c=3;else if(248==a.o.d)W(a,0),a.E=a.u,W(a,0),a.E=a.u,W(a,0),a.E=a.u,W(a,0),c=4;else if(253==a.o.d){var d,e,f,g,j,h,n,o,r,q,t;if(a.o.Qb){c=0;o=a.o.Qb;for(n=1;n<=o.z;++n)d=o.r[n][0],1==o.r[n][1]&&(c=d);d=a.u;n=a.E;W(a,0);e=a.K[a.u];g=a.N[a.u];xF(a,a.u);e=a.K[n]-e;g=a.N[n]-g;h=Math.sqrt(e*e+g*g);g/=h;e/=h;for(h=1;h<=o.u;++h)MF(a),a.c[a.u]=o.c[h],a.B[a.u]=o.B[h],
|
410
|
+
a.y[a.u]=o.y[h],a.K[a.u]=o.K[h],a.N[a.u]=o.N[h];for(h=1;h<=o.v;++h)TF(a),a.I[a.v]=o.I[h]+d,a.J[a.v]=o.J[h]+d,a.t[a.v]=o.t[h];wF(a);a.E=c+d;W(a,0);o=a.K[a.u];q=a.N[a.u];xF(a,a.u);f=a.K[c+d]-o;j=a.N[c+d]-q;h=Math.sqrt(f*f+j*j);j/=h;f/=h;for(h=d+1;h<=a.u;++h)a.K[h]-=o,a.N[h]-=q,r=a.K[h]*f+a.N[h]*j,t=a.N[h]*f-a.K[h]*j,a.K[h]=r,a.N[h]=t,r=-a.K[h]*e+a.N[h]*g,t=-a.N[h]*e-a.K[h]*g,a.K[h]=r,a.N[h]=t,a.K[h]+=a.K[n],a.N[h]+=a.N[n];TF(a);a.I[a.v]=n;a.J[a.v]=c+d;wF(a);b&&(xF(a,n),yE(a))}c=4}iI(a,c);a.E=a.G;b&&
|
411
|
+
(a.E=0)}
|
412
|
+
function hI(a,b,c,d){var e,f,g,j,h;e=a.H[b][1];f=a.H[b][2];g=a.K[f]-a.K[e];j=-(a.N[f]-a.N[e]);h=Math.sqrt(g*g+j*j);0.001>h&&(h=0.001);j/=h;g/=h;1>(0>=(a.N[b]-a.N[e])*g+(a.K[b]-a.K[e])*j?0-((a.N[b]-a.N[e])*g+(a.K[b]-a.K[e])*j):(a.N[b]-a.N[e])*g+(a.K[b]-a.K[e])*j)?(g=a.K[b]-a.K[e],j=a.N[b]-a.N[e],h=Math.sqrt(g*g+j*j),0.001>h&&(h=0.001),j/=h,g/=h,d[0]=a.K[e]+h*g-c*j,d[1]=a.N[e]+c*g+h*j):(g=(a.K[e]+a.K[f])/2,e=(a.N[e]+a.N[f])/2,g=a.K[b]-g,j=a.N[b]-e,h=Math.sqrt(g*g+j*j),0.001>h&&(h=0.001),d[0]=a.K[b]+
|
413
|
+
c*g/h,d[1]=a.N[b]+c*j/h)}
|
414
|
+
function IF(a){var b,c,d,e,f,g,j,h,n,o,r,q,t;n=-1;j=6;switch(a.o.d){case 206:j=3;break;case 207:j=4;break;case 208:case 221:case 223:j=5;break;case 210:case 209:j=6;break;case 211:j=7;break;case 212:j=8;break;case 229:j=9}f=6.283185307179586/j;h=625*a.o.C*a.o.C/2/(1-Math.cos(f));h=Math.sqrt(h);if(0<a.E)if(2>a.A[a.E])jI(a,j,f,h);else if(!a.o.hb&&!a.o.Nb)n=a.E,W(a,0),a.E=a.u,jI(a,j,f,h);else{a.o.Nb=!1;if(209==a.o.d||221==a.o.d||223==a.o.d){Jr(a.o,"ERROR - cannot add aromatic spiro ring !");a.o.P=9;
|
415
|
+
return}for(d=1;d<=a.A[a.E];++d)if(b=a.t[gI(a,a.E,a.H[a.E][d])],2<d||1!=b){Jr(a.o,"ERROR - spiro ring not possible here !");a.o.P=9;return}b=y(wE,m,-1,2,1);hI(a,a.E,h,b);e=a.K[a.E]-b[0];g=a.N[a.E]-b[1];o=Math.sqrt(e*e+g*g);0.001>o&&(o=0.001);g/=o;e/=o;for(d=1;d<=j;++d)MF(a),r=f*d+1.5707963267948966,a.K[a.u]=b[0]+h*(Math.sin(r)*e-Math.cos(r)*g),a.N[a.u]=b[1]+h*(Math.cos(r)*e+Math.sin(r)*g)}else if(0<a.F){b=a.I[a.F];c=a.J[a.F];d=0;2==a.A[b]?a.H[b][1]!=c?d=a.H[b][1]:d=a.H[b][2]:2==a.A[c]&&(a.H[c][1]!=
|
416
|
+
b?d=a.H[c][1]:d=a.H[c][2],o=b,b=c,c=o);0==d&&(a.H[b][1]!=c?d=a.H[b][1]:d=a.H[b][2]);e=a.K[c]-a.K[b];g=a.N[c]-a.N[b];o=Math.sqrt(e*e+g*g);0.001>o&&(o=0.001);g/=o;e/=o;r=o/2;t=h*Math.sin(0.5*(3.141592653589793-f));o=1;0<(a.N[d]-a.N[b])*e-(a.K[d]-a.K[b])*g&&(t=-t,o=0);q=a.K[b]+r*e-t*g;t=a.N[b]+t*e+r*g;for(d=1;d<=j;++d)MF(a),r=f*(d+0.5)+3.141592653589793*o,a.K[a.u]=q+h*(Math.sin(r)*e-Math.cos(r)*g),a.N[a.u]=t+h*(Math.cos(r)*e+Math.sin(r)*g),1==o?(d==j&&(a.K[a.u]=a.K[b],a.N[a.u]=a.N[b]),d==j-1&&(a.K[a.u]=
|
417
|
+
a.K[c],a.N[a.u]=a.N[c])):(d==j-1&&(a.K[a.u]=a.K[b],a.N[a.u]=a.N[b]),d==j&&(a.K[a.u]=a.K[c],a.N[a.u]=a.N[c]))}else{b=0.5;6==j&&(b=0);for(d=1;d<=j;++d)MF(a),r=f*(d-b),a.K[a.u]=a.M+h*Math.sin(r),a.N[a.u]=a.P+h*Math.cos(r)}b=j;h=0;for(f=1;f<=b;++f)TF(a),a.t[a.v]=1,h=a.u-b+f,a.A[h]=2,a.I[a.v]=h,a.J[a.v]=h+1;a.J[a.v]=a.u-b+1;if(209==a.o.d){if(a.t[a.v-4]=2,a.t[a.v-2]=2,a.t[a.v]=2,0<a.F)if(1==a.t[a.F]){if(b=0,1<a.A[a.I[a.F]]&&(b=a.H[a.I[a.F]][1],h=a.I[a.F],b==a.J[a.F]&&(b=a.H[a.I[a.F]][2])),0==b&&1<a.A[a.J[a.F]]&&
|
418
|
+
(b=a.H[a.J[a.F]][1],h=a.J[a.F],b==a.J[a.F]&&(b=a.H[a.J[a.F]][2])),0<b)for(f=1;f<=a.v;++f)if(a.I[f]==b&&a.J[f]==h||a.I[f]==h&&a.J[f]==b){1!=a.t[f]&&(a.t[a.v-4]=1,a.t[a.v-2]=1,a.t[a.v]=1,a.t[a.v-5]=2,a.t[a.v-3]=2,a.t[a.v-1]=3);break}}else a.t[a.v-4]=1,a.t[a.v-2]=1,a.t[a.v]=1,a.t[a.v-5]=2,a.t[a.v-3]=2,a.t[a.v-1]=2}else if(221==a.o.d||223==a.o.d)if(0<a.F){if(1==a.t[a.F]){b=!1;for(f=1;f<=a.A[a.I[a.F]];++f)if(h=a.H[a.I[a.F]][f],1<a.t[gI(a,a.I[a.F],h)]){b=!0;break}for(f=1;f<=a.A[a.J[a.F]];++f)if(h=a.H[a.J[a.F]][f],
|
419
|
+
1<a.t[gI(a,a.J[a.F],h)]){b=!0;break}b||(a.t[a.F]=2)}a.t[a.v-4]=2;a.c[a.u-2]=5}else 0<a.E?221==a.o.d?(a.t[a.v-4]=1,a.t[a.v-2]=1,a.t[a.v-1]=1,a.t[a.v-3]=2,a.t[a.v]=2,a.c[a.u-1]=5):(a.t[a.v-3]=1,a.t[a.v-2]=1,a.t[a.v]=1,a.t[a.v-4]=2,a.t[a.v-1]=2,a.c[a.u-2]=5):(a.t[a.v-3]=1,a.t[a.v-2]=1,a.t[a.v]=1,a.t[a.v-4]=2,a.t[a.v-1]=2,a.c[a.u-2]=5);h=y(M,s,-1,a.u+1,1);for(f=1;f<=j;++f)b=a.u-j+f,c=a.v-j+f,a.H[b][1]=b-1,a.H[b][2]=b+1,b=a.I[c],e=a.J[c],a.L[c]=O(N(UE((a.K[b]+a.K[e])/2))),a.O[c]=O(N(UE((a.N[b]+a.N[e])/
|
420
|
+
2)));a.H[a.u-j+1][1]=a.u;a.H[a.u][2]=a.u-j+1;for(f=a.u-j+1;f<=a.u;++f){h[f]=0;g=51;c=0;for(b=1;b<=a.u-j;++b)e=a.K[f]-a.K[b],d=a.N[f]-a.N[b],e=e*e+d*d,50>e&&e<g&&(g=e,c=b);0<c&&(0==a.E||c==a.E)&&(h[f]=c)}g=a.v-j;f=g+1;a:for(;f<=g+j;++f)if(b=a.I[f],e=a.J[f],0<h[b]&&0<h[e]){for(c=1;c<=g;++c)if(a.I[c]==h[b]&&a.J[c]==h[e]||a.J[c]==h[b]&&a.I[c]==h[e])continue a;TF(a);a.t[a.v]=a.t[f];a.I[a.v]=h[b];a.H[h[b]][++a.A[h[b]]]=h[e];a.J[a.v]=h[e];a.H[h[e]][++a.A[h[e]]]=h[b];a.L[a.v]=O(N(UE((a.K[a.I[a.v]]+a.K[a.J[a.v]])/
|
421
|
+
2)));a.O[a.v]=O(N(UE((a.N[a.I[a.v]]+a.N[a.J[a.v]])/2)))}else 0<h[b]?(TF(a),a.t[a.v]=a.t[f],a.I[a.v]=h[b],a.H[h[b]][++a.A[h[b]]]=e,a.J[a.v]=e,a.H[e][++a.A[e]]=h[b],a.L[a.v]=O(N(UE((a.K[a.I[a.v]]+a.K[a.J[a.v]])/2))),a.O[a.v]=O(N(UE((a.N[a.I[a.v]]+a.N[a.J[a.v]])/2)))):0<h[e]&&(TF(a),a.t[a.v]=a.t[f],a.I[a.v]=h[e],a.H[h[e]][++a.A[h[e]]]=b,a.J[a.v]=b,a.H[b][++a.A[b]]=h[e],a.L[a.v]=O(N(UE((a.K[a.I[a.v]]+a.K[a.J[a.v]])/2))),a.O[a.v]=O(N(UE((a.N[a.I[a.v]]+a.N[a.J[a.v]])/2))));d=a.u-j;for(f=a.u;f>d;--f)if(0<
|
422
|
+
h[f]&&(xF(a,f),3==a.c[h[f]])){o=0;for(b=1;b<=a.A[h[f]];++b){e=a.H[h[f]][b];for(c=1;c<=a.v;++c)(a.I[c]==h[f]&&a.J[c]==e||a.I[c]==e&&a.J[c]==h[f])&&(o+=a.t[c])}if(4<o)for(c=g+1;c<=g+j;++c)a.t[c]=1}0<a.E&&iI(a,j);-1<n&&(a.E=n)}
|
423
|
+
function jI(a,b,c,d){var e,f,g,j,h,n;0==a.A[a.E]?(e=0,f=1):(e=a.H[a.E][1],f=a.K[a.E]-a.K[e],e=a.N[a.E]-a.N[e],g=Math.sqrt(f*f+e*e),0.001>g&&(g=0.001),e/=g,f/=g);h=a.K[a.E]+d*f;n=a.N[a.E]+d*e;for(g=1;g<=b;++g)MF(a),j=c*g-1.5707963267948966,a.K[a.u]=h+d*(Math.sin(j)*f-Math.cos(j)*e),a.N[a.u]=n+d*(Math.cos(j)*f+Math.sin(j)*e)}function iI(a,b){var c,d;0==b&&(b=a.u);for(c=a.u;c>a.u-b;--c)d=PF(a,c),0!=d&&(a.K[c]+=6,a.N[c]+=6)}
|
424
|
+
function gI(a,b,c){var d;for(d=1;d<=a.v;++d)if(a.I[d]==b&&a.J[d]==c||a.I[d]==c&&a.J[d]==b)return d;return 0}function kI(a,b,c){var d,e,f,g;e=mh;for(f=g=0;;){++g;for(d=1;d<=a.u;++d)if(lu(c[d])){e=c[d];break}for(d=1;d<=a.u;++d)lu(c[d])&&!$t(c[d],e)&&(e=c[d]);for(d=1;d<=a.u;++d)fu(c[d],e)&&(b[d]=g,c[d]=mh,++f);if(f==a.u)break}return g==a.u}
|
425
|
+
function yE(a){var b,c,d;b=y(wE,m,-1,4,1);d=c=0;a.o&&a.o.D&&0<a.o.D.c&&(c=a.o.D.c-a.o.Z,d=a.o.D.b-3*a.o.Z);if(0>=c||0>=d)a.x=!0;else{xE(a,b);c=~~(c/2)-O(N(Math.round(b[0])));d=~~(d/2)-O(N(Math.round(b[1])));if(!a.o.rb)for(b=1;b<=a.u;++b)a.K[b]+=c,a.N[b]+=d;zE(a)}}
|
426
|
+
function xE(a,b){var c,d,e,f,g;f=9999;d=-9999;g=9999;e=-9999;for(c=1;c<=a.u;++c)a.K[c]<f&&(f=a.K[c]),a.K[c]>d&&(d=a.K[c]),a.N[c]<g&&(g=a.N[c]),a.N[c]>e&&(e=a.N[c]);b[0]=f+(d-f)/2;b[1]=g+(e-g)/2;b[2]=d-f;b[3]=e-g;25>b[2]&&(b[2]=25);25>b[3]&&(b[3]=25)}
|
427
|
+
function HF(a,b,c){var d;if(1==c)++a.B[b];else if(-1==c)--a.B[b];else switch(d=lI(a,b),-1==d&&0==c&&(0==a.B[b]?a.B[b]=1:1==a.B[b]?a.B[b]=-1:-1==a.B[b]&&(a.B[b]=0)),a.c[b]){case 2:2<d&&Jr(a.o,"Charge change not possible on this boron !");0==a.B[b]?a.B[b]=1:1==a.B[b]&&(a.B[b]=0);break;case 3:3<d?Jr(a.o,"Charge change not possible on this carbon !"):4>d&&(0==a.B[b]?a.B[b]=-1:-1==a.B[b]?a.B[b]=1:1==a.B[b]&&(a.B[b]=0));break;case 4:case 7:3<d?Jr(a.o,"Charge change not possible on multibonded N or P !"):
|
428
|
+
3==d&&0==a.B[b]?a.B[b]=1:3==d&&1==a.B[b]?a.B[b]=0:3>d&&0==a.B[b]?a.B[b]=1:3>d&&1==a.B[b]?a.B[b]=-1:3>d&&-1==a.B[b]&&(a.B[b]=0);break;case 5:case 8:case 13:2<d?Jr(a.o,"Charge change not possible on multibonded O or S !"):2==d&&0==a.B[b]?a.B[b]=1:2==d&&1==a.B[b]?a.B[b]=0:2>d&&0==a.B[b]?a.B[b]=-1:2>d&&-1==a.B[b]?a.B[b]=1:2>d&&1==a.B[b]&&(a.B[b]=0);break;case 9:case 10:case 11:case 12:0==d&&0==a.B[b]?a.B[b]=-1:0==d&&-1==a.B[b]?a.B[b]=0:Jr(a.o,"Charge change not possible on the halogen !");break;case 18:Jr(a.o,
|
429
|
+
"Use X button to change charge on the X atom !")}}
|
430
|
+
function jF(a,b){var c,d,e,f,g;f=0;g=!1;for(a.b=y(M,s,-1,a.u+1,1);;){for(e=1;e<=a.u;++e)if(0==a.b[e]){a.b[e]=++f;g=!0;break}if(!g)break;for(;g;){g=!1;for(e=1;e<=a.v;++e)c=a.I[e],d=a.J[e],0<a.b[c]&&0==a.b[d]?(a.b[d]=f,g=!0):0<a.b[d]&&0==a.b[c]&&(a.b[c]=f,g=!0)}}if(2>f||!b)return f;g=y(M,s,-1,f+1,1);for(c=1;c<=a.u;++c)++g[a.b[c]];e=0;for(c=d=1;c<=f;++c)g[c]>e&&(e=g[c],d=c);for(c=a.u;1<=c;--c)a.b[c]!=d&&xF(a,c);yE(a);Jr(a.o,"Smaller part(s) removed !");return 1}
|
431
|
+
function PF(a,b){var c,d,e,f,g;f=51;g=0;for(e=1;e<a.u;++e)b!=e&&(c=a.K[b]-a.K[e],d=a.N[b]-a.N[e],c=c*c+d*d,50>c&&c<f&&(f=c,g=e));return g}
|
432
|
+
function UF(a){var b,c,d;for(d=1;d<=a.v;++d){b=a.I[d];c=a.J[d];if(1==a.B[b]&&-1==a.B[c]||-1==a.B[b]&&1==a.B[c])if(1==a.t[d]||2==a.t[d]){if(3!=a.c[b]&&3!=a.c[c]&&a.o.zb)continue;if(1==a.c[b]||1==a.c[c])continue;if(2==a.c[b]||2==a.c[c])continue;if(9==a.c[b]||10==a.c[b]||11==a.c[b]||12==a.c[b]||9==a.c[c]||10==a.c[c]||11==a.c[c]||12==a.c[c])continue;a.B[b]=0;a.B[c]=0;++a.t[d];zF(a)}1==a.B[b]&&1==a.B[c]&&(2==a.t[d]?a.t[d]=1:3==a.t[d]&&(a.t[d]=2),zF(a));4==a.t[d]&&(a.t[d]=1)}}
|
433
|
+
function fI(a,b,c,d){var e,f;f=e=0;0<=a&&0<=b?e=1:0<=a&&0>b?e=2:0>a&&0>b?e=3:0>a&&0<=b&&(e=4);0<=c&&0<=d?f=1:0<=c&&0>d?f=2:0>c&&0>d?f=3:0>c&&0<=d&&(f=4);if(e<f)return 1;if(e>f)return-1;switch(e){case 1:case 4:return a<c?1:-1;case 2:case 3:return a>c?1:-1}return 0}function wF(a){var b;mI(a);b=a.t.length;a.L=y(M,s,-1,b,1);a.O=y(M,s,-1,b,1);zE(a);zF(a)}
|
434
|
+
function MF(a){var b,c;++a.u;a.u>a.c.length-1&&(c=a.c.length+10,b=y(M,s,-1,c,1),AH(a.c,b,a.c.length),a.c=b,b=y(M,s,-1,c,1),AH(a.B,b,a.B.length),a.B=b,b=y(M,s,-1,c,1),AH(a.y,b,a.y.length),a.y=b,b=y(M,s,-1,c,1),AH(a.e,b,a.e.length),a.e=b,b=y(Gt,m,1,c,0),AH(a.d,b,a.d.length),a.d=b,b=y(Gt,m,1,c,0),AH(a.p,b,a.p.length),a.p=b,b=y(wE,m,-1,c,1),AH(a.K,b,a.K.length),a.K=b,b=y(wE,m,-1,c,1),AH(a.N,b,a.N.length),a.N=b,b=ht([c,7]),AH(a.H,b,a.H.length),a.H=b,c=y(M,s,-1,c,1),AH(a.A,c,a.A.length),a.A=c);a.c[a.u]=
|
435
|
+
3;a.B[a.u]=0;a.e[a.u]=0;a.d[a.u]=null;a.y[a.u]=0}function $E(a,b,c,d,e,f,g){var j;j=O(N(UE(a.K[c]-d/2)));g||(j-=e-d);a=O(N(UE(a.N[c]-~~(f/2))));return new cA(j-1-b,a-b,e+1+2*b,f+2*b)}
|
436
|
+
function TF(a){var b,c;++a.v;a.v>a.t.length-1&&(b=a.t.length+10,c=y(M,s,-1,b,1),AH(a.I,c,a.I.length),a.I=c,c=y(M,s,-1,b,1),AH(a.J,c,a.J.length),a.J=c,c=y(M,s,-1,b,1),AH(a.t,c,a.t.length),a.t=c,c=y(M,s,-1,b,1),AH(a.C,c,a.C.length),a.C=c,c=y(M,s,-1,b,1),AH(a.L,c,a.L.length),a.L=c,c=y(M,s,-1,b,1),AH(a.O,c,a.O.length),a.O=c,b=y(Gt,m,1,b,0),AH(a.f,b,a.f.length),a.f=b);a.t[a.v]=1;a.C[a.v]=0;a.f[a.v]=null}
|
437
|
+
function CF(a,b){var c,d,e,f,g,j,h;if(0==a.u)return l;j=b;79<b.length&&(j=b.substr(0,76)+"...");j+=(WD(),aa);j+="JME 2013-10-12 "+new OH+"\n \n";j+=BF(a.u,3)+BF(a.v,3);j+=" 0 0 0 0 0 0 0 0999 V2000\n";g=-1.7976931348623157E308;c=1.7976931348623157E308;for(e=1;e<=a.u;++e)a.N[e]>g&&(g=a.N[e]),a.K[e]<c&&(c=a.K[e]);for(e=1;e<=a.u;++e){j+=ZF(0.055999999999999994*(a.K[e]-c),10,4)+ZF(0.055999999999999994*(g-a.N[e]),10,4)+ZF(0,10,4);h=ZE(a,e);1==h.length?h+=" ":2==h.length?h+=ba:3<h.length&&(h="Q ");
|
438
|
+
j+=ba+h;d=0;0<a.B[e]&&4>a.B[e]?d=4-a.B[e]:0>a.B[e]&&-4<a.B[e]&&(d=4-a.B[e]);h=" 0"+BF(d,3)+" 0 0 0 0 0 0 0";f=-1;for(d=1;d<=a.z;++d)if(a.r[d][0]==e){f=a.r[d][1];break}-1<f?h+=BF(f,3):h+=" 0";j+=h+" 0 0\n"}for(e=1;e<=a.v;++e)g=a.t[e],1==a.t[e]?g=1:nI(a,e)&&(g=2),c=BF(a.I[e],3)+BF(a.J[e],3),d=0,1==a.t[e]&&1==a.C[e]?d=1:1==a.t[e]&&2==a.C[e]&&(d=6),1==a.t[e]&&3==a.C[e]&&(d=1,c=BF(a.J[e],3)+BF(a.I[e],3)),1==a.t[e]&&4==a.C[e]&&(d=6,c=BF(a.J[e],3)+BF(a.I[e],3)),j+=c+BF(g,3)+BF(d,3)+" 0 0 0\n";
|
439
|
+
for(e=1;e<=a.u;++e)0!=a.B[e]&&(j+="M CHG 1"+BF(e,4)+BF(a.B[e],4)+aa);return j+"M END\n"}
|
440
|
+
function aG(a){var b,c,d,e,f,g,j,h,n,o,r,q,t,v,D,E,J,Q,ub,Y,L,ea,Kc,og,zb,Td,Ud,Vd,Za,Lc;r=y(M,s,-1,a.u+10,1);q=y(M,s,-1,a.u+10,1);n=y(M,s,-1,a.u+1,1);o=y(M,s,-1,7,1);zb=y(M,s,-1,a.u+1,1);v=y(oI,m,-1,a.u+1,2);D=y(oI,m,-1,a.v+1,2);ea=0;if(0==a.u)return l;jF(a,!0);og=!0;for(h=1;h<=a.v;++h)if(9==a.t[h]){og=!1;break}if(a.o.t&&og){pI(a);UF(a);qI(a,D);rI(a,v,D);var Ib,zd,pf,ec,Ge,Ad,Bd,ib,vJ,ae,w,ya,an,bn,it,vf,Pa,cn,dn,Oc,en;Ib=y(M,s,-1,a.u+1,1);zd=y(M,s,-1,a.u+1,1);ib=y(sI,m,-1,a.u+1,3);var jt=a.u,fn,
|
441
|
+
Dh,kt,Ag,Pj,Ne,wf;Pj=y(sI,m,-1,jt+2,3);Ne=y(M,s,-1,100,1);wf=5;Ag=0;Ne[0]=3;Pj[1]=oh;Pj[2]=ph;kt=2;if(!(3>jt))for(;wf<Ne[Ag]*Ne[Ag];){Dh=0;for(fn=!0;fn&&Dh<=Ag&&wf>=Ne[Dh]*Ne[Dh];)0==wf%Ne[Dh]?fn=!1:++Dh;if(fn){Pj[++kt]=iu(wf);if(kt>=jt)break;Ag<Ne.length-1&&(++Ag,Ne[Ag]=wf)}wf+=2}for(w=1;w<=a.u;++w){for(ya=dn=1;ya<=a.v;++ya)(a.I[ya]==w||a.J[ya]==w)&&(dn*=a.i[ya]);cn=a.c[w];18==cn&&(en=a.p[w],Ad=en.charCodeAt(0)-65+1,Bd=0,1<en.length&&(Bd=en.charCodeAt(1)-97),0>Ad&&(Ad=0),0>Bd&&(Bd=0),cn=28*Ad+Bd);
|
442
|
+
vf=0;-2>a.B[w]?vf=1:-2==a.B[w]?vf=2:-1==a.B[w]?vf=3:1==a.B[w]?vf=4:2==a.B[w]?vf=5:2<a.B[w]&&(vf=6);Oc=1;ib[w]=iu(dn);Oc*=126;ib[w]=du(ib[w],iu(a.y[w]*Oc));Oc*=7;ib[w]=du(ib[w],iu(vf*Oc));Oc*=7;ib[w]=du(ib[w],iu(cn*Oc));Oc*=783;ib[w]=du(ib[w],iu(a.A[w]*Oc))}for(Ge=0;!kI(a,Ib,ib);){it=!1;for(w=1;w<=a.u;++w)Ib[w]!=zd[w]&&(zd[w]=Ib[w],it=!0);if(it){for(w=1;w<=a.u;++w){ib[w]=nh;for(ya=1;ya<=a.A[w];++ya)ib[w]=mu(ib[w],Pj[Ib[a.H[w][ya]]])}Ge=0}else if(0<Ge){for(w=1;w<=a.u;++w)ib[w]=nh;w=1;a:for(;w<=a.u-
|
443
|
+
1;++w)for(ya=w+1;ya<=a.u;++ya)if(Ib[w]==Ib[ya]){ib[w]=oh;break a}}else{for(w=1;w<=a.u;++w){ib[w]=nh;for(ya=1;ya<=a.A[w];++ya)pf=a.H[w][ya],ib[w]=mu(ib[w],iu(a.c[pf]*a.i[gI(a,w,pf)]))}Ge=1}kI(a,Ib,ib);for(w=1;w<=a.u;++w)ib[w]=iu(zd[w]*a.u+Ib[w])}for(w=1;w<=a.u;++w)zd[w]=Ib[w];for(Pa=1;Pa<=a.u;++Pa)for(w=1;w<=a.u;++w)if(zd[w]==Pa){a.c[0]=a.c[w];a.B[0]=a.B[w];a.K[0]=a.K[w];a.N[0]=a.N[w];a.A[0]=a.A[w];a.c[w]=a.c[Pa];a.B[w]=a.B[Pa];a.K[w]=a.K[Pa];a.N[w]=a.N[Pa];a.A[w]=a.A[Pa];a.c[Pa]=a.c[0];a.B[Pa]=a.B[0];
|
444
|
+
a.K[Pa]=a.K[0];a.N[Pa]=a.N[0];a.A[Pa]=a.A[0];zd[w]=zd[Pa];zd[Pa]=Pa;a.p[0]=a.p[w];a.p[w]=a.p[Pa];a.p[Pa]=a.p[0];a.e[0]=a.e[w];a.e[w]=a.e[Pa];a.e[Pa]=a.e[0];a.d[0]=a.d[w];a.d[w]=a.d[Pa];a.d[Pa]=a.d[0];a.y[0]=a.y[w];a.y[w]=a.y[Pa];a.y[Pa]=a.y[0];break}for(w=1;w<=a.z;++w)a.r[w][0]=Ib[a.r[w][0]];for(w=1;w<=a.v;++w)a.I[w]=Ib[a.I[w]],a.J[w]=Ib[a.J[w]],a.I[w]>a.J[w]&&(ae=a.I[w],a.I[w]=a.J[w],a.J[w]=ae,1==a.C[w]?a.C[w]=3:2==a.C[w]?a.C[w]=4:3==a.C[w]?a.C[w]=1:4==a.C[w]&&(a.C[w]=2));for(w=1;w<a.v;++w){bn=an=
|
445
|
+
a.u;ec=0;for(ya=w;ya<=a.v;++ya)a.I[ya]<an?(an=a.I[ya],bn=a.J[ya],ec=ya):a.I[ya]==an&&a.J[ya]<bn&&(bn=a.J[ya],ec=ya);ae=a.I[w];a.I[w]=a.I[ec];a.I[ec]=ae;ae=a.J[w];a.J[w]=a.J[ec];a.J[ec]=ae;ae=a.t[w];a.t[w]=a.t[ec];a.t[ec]=ae;ae=a.C[w];a.C[w]=a.C[ec];a.C[ec]=ae;vJ=a.f[w];a.f[w]=a.f[ec];a.f[ec]=vJ}wF(a);zF(a);qI(a,D);rI(a,v,D)}else{qI(a,D);a.i=y(M,s,-1,a.v+1,1);for(t=1;t<=a.v;++t)a.i[t]=a.t[t]}c=1;a.b=y(M,s,-1,a.u+1,1);Lc=1;a.b[1]=1;for(Y=0;;){L=0;for(t=1;t<=a.A[c];++t)if(g=a.H[c][t],0<a.b[g]){if(!(a.b[g]>
|
446
|
+
a.b[c])&&g!=zb[c]){Kc=!0;for(J=1;J<=ea;++J)if(r[J]==c&&q[J]==g||r[J]==g&&q[J]==c){Kc=!1;break}Kc&&(++ea,r[ea]=c,q[ea]=g)}}else o[++L]=g;if(0==L){if(Lc==a.u)break;c=n[Y--]}else if(1==L)zb[o[1]]=c,c=o[1],a.b[c]=++Lc;else{n[++Y]=c;e=0;for(t=1;t<=L;++t)if(h=gI(a,o[t],c),!D[h]){e=o[t];break}if(0==e)for(t=1;t<=L;++t)if(h=gI(a,o[t],c),2==a.i[h]||3==a.i[h]){e=o[t];break}0==e&&(e=o[1]);zb[e]=c;c=e;a.b[e]=++Lc}}zb=y(M,s,-1,a.u+1,1);b=y(M,s,-1,a.u+1,1);Q=y(oI,m,-1,a.u+1,2);Td=y(oI,m,-1,a.u+1,2);f=Lc=Y=0;for(t=
|
447
|
+
1;t<=a.u;++t)if(1==a.b[t]){c=t;break}a:for(;;){0<f&&(zb[c]=f);b[++Lc]=c;for(a.b[c]=0;;){L=e=0;ub=a.u+1;t=1;b:for(;t<=a.A[c];++t){g=a.H[c][t];for(E=1;E<=ea;++E)if(r[E]==g&&q[E]==c||r[E]==c&&q[E]==g)continue b;0<a.b[g]&&(++L,a.b[g]<ub&&(e=g,ub=a.b[g]))}if(0==e){if(0==Y)break a;Td[c]=!0;c=n[Y--]}else break}f=c;c=e;1<L&&(n[++Y]=f,Q[e]=!0)}Ud=y(M,s,-1,a.v+1,1);Vd=y(M,s,-1,a.u+1,1);if(a.o.Pb){var xJ=zb,EN=ea,lt,yJ,Eh,Oe,mt,nt,Ma,Qj,ot;Eh=y(M,s,-1,a.u+1,1);for(Ma=1;Ma<=a.u;++Ma)Eh[b[Ma]]=Ma;mt=y(oI,m,-1,
|
448
|
+
a.v+1,2);for(Ma=1;Ma<=a.u;++Ma)lt=b[Ma],yJ=xJ[lt],Oe=gI(a,lt,yJ),0!=Oe&&(tI(a,Oe,Eh,Ud,D),mt[Oe]=!0);for(Ma=1;Ma<=a.v;++Ma)mt[Ma]||tI(a,Ma,Eh,Ud,D);Ma=1;a:for(;Ma<=a.u;++Ma)if(!(2>a.A[Ma]||4<a.A[Ma])){nt=ot=0;for(Qj=1;Qj<=a.A[Ma];++Qj){Oe=gI(a,Ma,a.H[Ma][Qj]);if(5==a.i[Oe])continue a;1==a.t[Oe]&&0!=uI(a,Oe,Ma)&&++ot;2==a.t[Oe]&&(nt=a.H[Ma][Qj])}if(0!=ot)if(0<nt){var ja=a,AJ=Ma,xf=Eh,Zc=Vd,tc=void 0,Rj=void 0,Pc=void 0,Pe=void 0,Qc=void 0,gn=void 0,hn=void 0,jn=void 0,be=void 0,$c=void 0,ad=void 0,
|
449
|
+
pt=void 0,Sj=void 0,ce=void 0,Tj=void 0,Qe=void 0,Uj=void 0,qt=void 0,Vj=void 0,Re=void 0,BJ=void 0,yf=void 0,CJ=void 0,rt=void 0,Wj=void 0,zf=void 0,ad=1,Rj=AJ,tc=y(M,s,-1,ja.u+1,1);for(tc[1]=AJ;;){pt=!1;for($c=1;$c<=ja.A[Rj];++$c)if(Pc=ja.H[Rj][$c],!(Pc==tc[1]||Pc==tc[ad-1]))if(Pe=gI(ja,Rj,Pc),2==ja.t[Pe]&&5!=ja.i[Pe]){Rj=tc[++ad]=Pc;pt=!0;break}if(!pt)break}if(!(0==ad%2||2>ja.A[tc[ad]]||3<ja.A[tc[ad]])){zf=tc[1];Qc=tc[~~((ad+1)/2)];be=tc[ad];yf=Re=Qe=ce=0;rt=qt=!1;for($c=1;$c<=ja.A[zf];++$c)Pc=
|
450
|
+
ja.H[zf][$c],Pe=gI(ja,zf,Pc),1!=ja.t[Pe]||5==ja.i[Pe]||(0==ce?ce=Pc:Qe=Pc);0<xf[Qe]&&xf[ce]>xf[Qe]&&(gn=ce,ce=Qe,Qe=gn);Sj=ce;0==ce&&(Sj=Qe,qt=!0);for($c=1;$c<=ja.A[be];++$c)Pc=ja.H[be][$c],Pe=gI(ja,be,Pc),1!=ja.t[Pe]||5==ja.i[Pe]||(0==Re?Re=Pc:yf=Pc);0<xf[yf]&&xf[Re]>xf[yf]&&(gn=Re,Re=yf,yf=gn);Vj=Re;0==Re&&(Vj=yf,rt=!0);Tj=uI(ja,gI(ja,zf,ce),zf);Uj=uI(ja,gI(ja,zf,Qe),zf);BJ=uI(ja,gI(ja,be,Re),be);CJ=uI(ja,gI(ja,be,yf),be);1<(0>Tj+Uj?-(Tj+Uj):Tj+Uj)||0!=BJ||0!=CJ?Jr(ja.o,"Bad stereoinfo on allene !"):
|
451
|
+
(hn=ja.K[tc[ad-1]]-ja.K[be],jn=ja.N[tc[ad-1]]-ja.N[be],Wj=Math.sqrt(hn*hn+jn*jn),0.001>Wj&&(Wj=0.001),0<(ja.N[Vj]-ja.N[tc[ad-1]])*(hn/Wj)-(ja.K[Vj]-ja.K[tc[ad-1]])*(jn/Wj)?Zc[Qc]=1:Zc[Qc]=-1,qt&&(Zc[Qc]*=-1),rt&&(Zc[Qc]*=-1),Sj==ce&&0>Tj&&(Zc[Qc]*=-1),Sj==Qe&&0>Uj&&(Zc[Qc]*=-1),xf[Sj]>xf[Vj]&&(Zc[Qc]*=-1))}}else b:{var uc=a,vc=Ma,FN=xJ,GN=Eh,HN=r,IN=q,JN=EN,kn=Vd,ln=void 0,bd=void 0,st=void 0,Fh=void 0,Ca=void 0,Gh=void 0,Dd=void 0,Xj=void 0,de=void 0,Sb=void 0,ha=void 0,Kb=void 0,Se=void 0,mn=void 0,
|
452
|
+
cd=void 0,na=void 0,nn=void 0,Kb=y(M,s,-1,4,1),mn=y(M,s,-1,4,1),Hh=uc,ee=vc,DJ=GN,tt=FN,EJ=HN,FJ=IN,KN=JN,Lb=Kb,Yj=void 0,dd=void 0,on=void 0,pn=void 0,ut=void 0,Zj=void 0,Zj=-1;0<tt[ee]&&(Lb[++Zj]=tt[ee]);for(dd=1;dd<=KN;++dd)EJ[dd]==ee&&(Lb[++Zj]=FJ[dd]),FJ[dd]==ee&&(Lb[++Zj]=EJ[dd]);for(dd=Zj+1;dd<Hh.A[ee];++dd){ut=Hh.u+1;on=1;c:for(;on<=Hh.A[ee];++on){Yj=Hh.H[ee][on];for(pn=0;pn<dd;++pn)if(Yj==Lb[pn])continue c;DJ[Yj]<ut&&(ut=DJ[Yj],Lb[dd]=Yj)}}0==tt[ee]&&0<Hh.y[ee]?(Lb[3]=Lb[2],Lb[2]=Lb[1],Lb[1]=
|
453
|
+
Lb[0],Lb[0]=-1):0<Hh.y[ee]&&(Lb[3]=Lb[2],Lb[2]=Lb[1],Lb[1]=-1);for(Ca=Xj=Gh=Fh=nn=Dd=Sb=0;4>Ca;++Ca)0>=Kb[Ca]||(ln=gI(uc,vc,Kb[Ca]),mn[Ca]=uI(uc,ln,vc),0<mn[Ca]?(++Sb,nn=Kb[Ca],Gh=Kb[Ca]):0>mn[Ca]?(++Dd,Fh=Kb[Ca],Gh=Kb[Ca]):Xj=Kb[Ca]);de=Sb+Dd;na=y(M,s,-1,4,1);cd=0;if(3==uc.A[vc]){if(1==Sb&&1==Dd||3==de&&0<Sb&&0<Dd){Jr(uc.o,"Error in C3H stereospecification !");break b}Se=Kb[0];1==de?Se=Gh:2==de&&(Se=Xj);ha=eI(uc,vc,Se,Kb);na[0]=Gh;na[1]=-1;na[2]=ha[2];na[3]=ha[1];0<Sb?cd=1:cd=-1}else if(4==uc.A[vc])if(1==
|
454
|
+
de)ha=eI(uc,vc,Gh,Kb),na[0]=ha[0],na[1]=ha[3],na[2]=ha[2],na[3]=ha[1],0<Sb?cd=1:cd=-1;else{Se=Kb[0];1<Xj&&(Se=Xj);1==Sb?Se=nn:1==Dd&&(Se=Fh);ha=eI(uc,vc,Se,Kb);bd=y(M,s,-1,4,1);for(Ca=0;4>Ca;++Ca)ln=gI(uc,vc,ha[Ca]),bd[Ca]=uI(uc,ln,vc);if(4==de){if(0==Sb||0==Dd){Jr(uc.o,"Error in C4 stereospecification !");break b}if(1==Sb||1==Dd)na[0]=ha[0],na[1]=ha[3],na[2]=ha[2],na[3]=ha[1],cd=bd[0];else{for(Ca=0;4>Ca;++Ca)-1==bd[Ca]&&(bd[Ca]=0);de=2}}else if(3==de)if(3==Sb||3==Dd)na[0]=ha[0],na[1]=ha[3],na[2]=
|
455
|
+
ha[2],na[3]=ha[1],0<Sb?cd=-1:cd=1;else{1==Sb?Sb=st=1:Dd=st=-1;for(Ca=0;4>Ca;++Ca)bd[Ca]==st&&(bd[Ca]=0);de=2}if(2==de)if(1==Sb&&1==Dd)ha[1]==Fh?(ha[1]=ha[2],ha[2]=ha[3]):ha[2]==Fh&&(ha[2]=ha[3]),na[0]=nn,na[1]=Fh,na[2]=ha[2],na[3]=ha[1],cd=1;else{if(bd[0]==bd[1]||bd[1]==bd[2]){Jr(uc.o,"Error in C4 stereospecification ! 2/0r");break b}0!=bd[0]?(na[0]=ha[0],na[1]=ha[2],na[2]=ha[1],na[3]=ha[3]):(na[0]=ha[1],na[1]=ha[3],na[2]=ha[2],na[3]=ha[0]);1<Sb?cd=1:cd=-1}}var $=na,$j=Kb,pb=void 0;$j[0]==$[1]?(pb=
|
456
|
+
$[0],$[0]=$[1],$[1]=pb,pb=$[2],$[2]=$[3],$[3]=pb):$j[0]==$[2]?(pb=$[2],$[2]=$[0],$[0]=pb,pb=$[1],$[1]=$[3],$[3]=pb):$j[0]==$[3]&&(pb=$[3],$[3]=$[0],$[0]=pb,pb=$[1],$[1]=$[2],$[2]=pb);$j[1]==$[2]?(pb=$[1],$[1]=$[2],$[2]=pb,pb=$[2],$[2]=$[3],$[3]=pb):$j[1]==$[3]&&(pb=$[1],$[1]=$[3],$[3]=pb,pb=$[2],$[2]=$[3],$[3]=pb);na[2]==Kb[2]?kn[vc]=1:na[2]==Kb[3]?kn[vc]=-1:Jr(uc.o,"Error in stereoprocessing ! - t30");kn[vc]*=cd}}}Za=new zH;j=y(M,s,-1,a.u+1,1);for(t=1;t<=a.u;++t)j[b[t]]=t;for(t=1;t<=a.u;++t){c=b[t];
|
457
|
+
Q[c]&&(Za.b.b+=ua);0<zb[t]&&vI(a,c,zb[c],Za,Ud);var Ih=v[c],Mb=void 0,ak=void 0,Jh=void 0,V=void 0,V=Nc,Mb=!1;0!=a.B[c]&&(Mb=!0);0!=Vd[c]&&(Mb=!0);Jh=-1;for(ak=1;ak<=a.z;++ak)if(a.r[ak][0]==c){Jh=a.r[ak][1];break}-1<Jh&&(Mb=!0);a.o.Ob&&0<a.e[c]&&(Mb=!0,Jh=1);switch(a.c[c]){case 2:V=yb;break;case 3:Ih?V="c":V=Cb;break;case 4:Ih?(V=Gf,0<a.y[c]&&(Mb=!0)):V=fc;break;case 5:Ih?V="o":V=mc;break;case 7:Ih?(V="p",0<a.y[c]&&(Mb=!0)):V=oc;break;case 8:Ih?V=sg:V=Cc;break;case 13:Ih?V=vg:V=Ec;Mb=!0;break;case 6:V=
|
458
|
+
Fc;Mb=!0;break;case 9:V=Qb;break;case 10:V=Gb;break;case 11:V=Bb;break;case 12:V=Xb;break;case 1:V=Vb;Mb=!0;break;case 19:V=pc;Mb=!0;break;case 20:V=qc;Mb=!0;break;case 21:V=rc;Mb=!0;break;case 22:V=sc;Mb=!0;break;case 18:Mb=!0,V=a.p[c],(H(V,wa)||H(V,Xc)||H(V,tb))&&(Mb=!1)}Mb&&(V=Rc+V,1==Vd[c]?V+=sb:-1==Vd[c]&&(V+="@@"),1==a.y[c]?V+=Vb:1<a.y[c]&&(V+=Vb+a.y[c]),0!=a.B[c]&&(0<a.B[c]?V+=xa:V+=Ba,1<Oj(a.B[c])&&(V+=Oj(a.B[c]))),-1<Jh&&(V+=kb+Jh),V+=Uc);yn(Za.b,V);for(E=1;E<=ea;++E)if(r[E]==c||q[E]==c)d=
|
459
|
+
q[E],d==c&&(d=r[E]),j[c]<j[d]&&vI(a,r[E],q[E],Za,Ud),9<E&&(Za.b.b+="%"),xn(Za,l+(new S(E)).b);Td[c]&&(Za.b.b+=va)}return Za.b.b}function $F(a){a=new kE(a);wF(a);return a}
|
460
|
+
function xF(a,b){var c,d,e,f;f=0;for(e=1;e<=a.v;++e)c=a.I[e],d=a.J[e],c!=b&&d!=b&&(++f,a.I[f]=c,c>b&&--a.I[f],a.J[f]=d,d>b&&--a.J[f],a.t[f]=a.t[e],a.C[f]=a.C[e],a.L[f]=a.L[e],a.O[f]=a.O[e],a.f[f]=a.f[e]);a.v=f;for(e=b;e<a.u;++e){a.c[e]=a.c[e+1];a.B[e]=a.B[e+1];a.K[e]=a.K[e+1];a.N[e]=a.N[e+1];a.y[e]=a.y[e+1];a.e[e]=a.e[e+1];a.d[e]=a.d[e+1];a.A[e]=a.A[e+1];a.p[e]=a.p[e+1];for(f=1;f<=a.A[e];++f)a.H[e][f]=a.H[e+1][f]}--a.u;if(0==a.u)AE(a.o);else{for(e=1;e<=a.u;++e){d=0;for(f=1;f<=a.A[e];++f)c=a.H[e][f],
|
461
|
+
c==b?++a.y[e]:(c>b&&--c,a.H[e][++d]=c);a.A[e]=d}e=1;a:for(;e<=a.z;++e)if(a.r[e][0]==b){for(f=e;f<a.z;++f)a.r[f][0]=a.r[f+1][0],a.r[f][1]=a.r[f+1][1];--a.z;break a}for(e=1;e<=a.z;++e)a.r[e][0]>b&&--a.r[e][0]}}
|
462
|
+
function yF(a,b){var c,d,e,f;c=a.I[b];d=a.J[b];for(e=b;e<a.v;++e)a.I[e]=a.I[e+1],a.J[e]=a.J[e+1],a.t[e]=a.t[e+1],a.C[e]=a.C[e+1],a.L[e]=a.L[e+1],a.O[e]=a.O[e+1],a.f[e]=a.f[e+1];--a.v;f=0;for(e=1;e<=a.A[c];++e)a.H[c][e]!=d&&(a.H[c][++f]=a.H[c][e]);a.A[c]=f;f=0;for(e=1;e<=a.A[d];++e)a.H[d][e]!=c&&(a.H[d][++f]=a.H[d][e]);a.A[d]=f;c<d&&(f=c,c=d,d=f);0==a.A[c]&&xF(a,c);0==a.A[d]&&xF(a,d)}
|
463
|
+
function pI(a){var b,c,d;if(!a.o.O){c=a.u;a:for(;1<=c;--c)if(d=a.H[c][1],1==a.c[c]&&1==a.A[c]&&0==a.B[c]&&1!=a.c[d]&&18>a.c[d]){for(b=1;b<=a.z;++b)if(a.r[b][0]==c)continue a;b=gI(a,c,d);1==a.t[b]&&(0==a.C[b]||!a.o.Pb)&&xF(a,c)}}}function mI(a){var b;b=a.c.length;a.H=ht([b,7]);a.A=y(M,s,-1,b,1);for(b=1;b<=a.u;++b)a.A[b]=0;for(b=1;b<=a.v;++b)6>a.A[a.I[b]]&&(a.H[a.I[b]][++a.A[a.I[b]]]=a.J[b]),6>a.A[a.J[b]]&&(a.H[a.J[b]][++a.A[a.J[b]]]=a.I[b])}
|
464
|
+
function rI(a,b,c){var d,e,f,g,j,h,n,o,r;a.i=y(M,s,-1,a.v+1,1);r=y(oI,m,-1,a.u+1,2);for(h=1;h<=a.u;++h){r[h]=!1;b[h]=!1;a:{d=void 0;for(d=1;d<=a.A[h];++d)if(c[gI(a,h,a.H[h][d])]){d=!0;break a}d=!1}if(d&&!(3<a.A[h]+a.y[h]))switch(a.c[h]){case 3:case 4:case 7:case 5:case 8:case 13:r[h]=!0;break;case 18:0==a.p[h].indexOf(tb)?r[h]=!1:r[h]=!0}}if(a.n){var q;d=y(oI,m,-1,a.u+1,2);e=!1;for(h=1;h<=a.v;++h)f=a.I[h],g=a.J[h],d[f]=!0,d[g]=!0,(18==a.c[f]||18==a.c[g])&&(e=!0);if(e){h=1;a:for(;h<=a.v;++h)if(c[h]){f=
|
465
|
+
a.I[h];g=a.J[h];e=y(oI,m,-1,a.u+1,2);for(n=1;n<=a.A[f];++n)j=a.H[f][n],j!=g&&d[j]&&(e[j]=!0);for(q=!1;;){for(n=1;n<=a.u;++n){q=!1;if(e[n]&&d[n]&&n!=f)for(o=1;o<=a.A[n];++o){j=a.H[n][o];if(j==g){for(f=1;f<=a.u;++f)e[f]&&(5==a.c[f]&&(a.c[f]=18,a.p[f]="#8"),4==a.c[f]&&(a.c[f]=18,a.p[f]="#7"),8==a.c[f]&&(a.c[f]=18,a.p[f]="#16"));continue a}!e[j]&&d[j]&&(q=e[j]=!0)}if(q)break}if(!q)break}}}}for(j=1;j<=a.v;++j)1==a.t[j]?a.i[j]=1:nI(a,j)?a.i[j]=2:3==a.t[j]&&(a.i[j]=3);j=1;a:for(;j<=a.v;++j)if(c[j]&&(f=a.I[j],
|
466
|
+
g=a.J[j],r[f]&&r[g])){d=y(oI,m,-1,a.u+1,2);for(h=1;h<=a.A[f];++h)e=a.H[f][h],e!=g&&r[e]&&(d[e]=!0);for(o=!1;;){for(h=1;h<=a.u;++h){o=!1;if(d[h]&&r[h]&&h!=f)for(n=1;n<=a.A[h];++n){e=a.H[h][n];if(e==g){b[f]=!0;b[g]=!0;a.i[j]=5;continue a}!d[e]&&r[e]&&(o=d[e]=!0)}if(o)break}if(!o)break}}}function zE(a){var b,c,d;for(d=1;d<=a.v;++d)b=a.I[d],c=a.J[d],a.L[d]=O(N(UE((a.K[b]+a.K[c])/2))),a.O[d]=O(N(UE((a.N[b]+a.N[c])/2)))}function qI(a,b){var c;for(c=1;c<=a.v;++c)aF(a,a.I[c],a.J[c])?b[c]=!1:b[c]=!0}
|
467
|
+
function ZE(a,b){var c;c=(WD(),bE)[a.c[b]];18==a.c[b]&&(c=a.p[b]);return c}function nI(a,b){return 2==a.t[b]?!0:!1}function aF(a,b,c){var d,e,f,g;g=1;a.b=y(M,s,-1,a.u+1,1);for(d=1;d<=a.u;++d)a.b[d]=0;for(d=a.b[b]=1;d<=a.A[b];++d)a.H[b][d]!=c&&(a.b[a.H[b][d]]=++g);for(f=!1;;){for(d=1;d<=a.u;++d){f=!1;if(0<a.b[d]&&d!=b)for(e=1;e<=a.A[d];++e)0==a.b[a.H[d][e]]&&(a.b[a.H[d][e]]=++g,f=!0);if(f)break}if(!f)break}return 0==a.b[c]}
|
468
|
+
function KF(a){var b,c;a.o.S=!0;if(a.o.Ob)a.k=-1,0==a.e[a.E]?a.e[a.E]=4:a.e[a.E]=0;else{for(b=1;b<=a.z;++b)if(a.E==a.r[b][0]){if(-1==a.o.z){for(;b<a.z;++b)a.r[b][0]=a.r[b+1][0],a.r[b][1]=a.r[b+1][1];--a.z}else c=a.o.z,a.o.r&&(a.o.hb||++a.s,c=a.s),a.r[b][1]=c;return}b=a.r.length;++a.z>b-1&&(b=ht([b+5,2]),AH(a.r,b,a.r.length),a.r=b);a.r[a.z][0]=a.E;c=a.o.z;a.o.r&&(a.o.hb||++a.s,c=a.s);a.r[a.z][1]=c}}function uF(a){var b;a.z=0;a.s=0;aG(a);for(b=1;b<=a.u;++b)a.E=b,KF(a);a.E=0}
|
469
|
+
function vF(a){var b,c;b=y(wE,m,-1,4,1);xE(a,b);c=a.o.D.c;a.o.A||(c-=a.o.Z);return b[0]<~~(c/2)-24?1:b[0]>~~(c/2)+24?3:2}function rE(a,b){var c,d,e,f,g,j,h,n;c=y(wE,m,-1,4,1);xE(a,c);d=c[0];e=c[1];j=Math.sin(3.141592653589793*b/180);f=Math.cos(3.141592653589793*b/180);for(g=1;g<=a.u;++g)h=a.K[g]*f+a.N[g]*j,n=-a.K[g]*j+a.N[g]*f,a.K[g]=h,a.N[g]=n;xE(a,c);for(g=1;g<=a.u;++g)a.K[g]+=d-c[0],a.N[g]+=e-c[1]}
|
470
|
+
function XF(a){var b,c,d,e,f;e=f=0;for(d=1;d<=a.v;++d)b=a.K[a.I[d]]-a.K[a.J[d]],c=a.N[a.I[d]]-a.N[a.J[d]],f+=Math.sqrt(b*b+c*c);0<a.v?(f/=a.v,e=25*a.o.C/f):1<a.u&&(e=75*a.o.C/Math.sqrt((a.K[1]-a.K[2])*(a.K[1]-a.K[2])+(a.N[1]-a.N[2])*(a.N[1]-a.N[2])));for(d=1;d<=a.u;++d)a.K[d]*=e,a.N[d]*=e}
|
471
|
+
function AF(a,b,c){var d,e,f,g,j;if(0==c.indexOf(Rc)&&tH(c,Uc))c=c.substr(1,c.length-1-1),a.c[b]=18,a.p[b]=c,a.y[b]=0;else{f=!1;-1<c.indexOf(za)&&(f=!0);-1<c.indexOf(mb)&&(f=!0);-1<c.indexOf(la)&&(f=!0);-1<c.indexOf("!")&&(f=!0);d=c.indexOf(kb);e=c.indexOf(Vb);g=Nj(c.indexOf(xa),c.indexOf(Ba));if(-1<d){j=io(c,d+1);try{a.o.z=hD(j,10)}catch(h){if(h=Ui(h),A(h,124))a.o.z=0;else throw h;}a.E=b;KF(a);c=c.substr(0,d-0);a.E=0}if(f)a.p[b]=c,a.c[b]=18,a.y[b]=0;else{d=c;0<e?d=c.substr(0,e-0):0<g&&(d=c.substr(0,
|
472
|
+
g-0));a.c[b]=H(d,Cb)?3:H(d,yb)?2:H(d,fc)?4:H(d,mc)?5:H(d,oc)?7:H(d,Cc)?8:H(d,Qb)?9:H(d,Gb)?10:H(d,Bb)?11:H(d,Xb)?12:H(d,Vb)?1:H(d,Ec)?13:H(d,Fc)?6:H(d,pc)?19:H(d,qc)?20:H(d,rc)?21:H(d,sc)?22:18;18==a.c[b]&&(a.p[b]=d);c+=ba;d=0;0<e&&(d=1,e=eH(c,++e),48<=e&&57>=e&&(d=e-48));18==a.c[b]&&(a.y[b]=d);d=0;if(0<g&&(e=eH(c,g++),43==e?d=1:45==e&&(d=-1),0!=d&&(e=eH(c,g++),!(48<=e&&57>=e)))){for(;43==e;)++d,e=eH(c,g++);for(;45==e;)--d,e=eH(c,g++)}a.B[b]=d}}}
|
473
|
+
function iF(a,b,c){var d,e;a.k=1;c&&(a.k=-1);b=new DD(b);try{for(;b.k=wD(b,b.b),b.k<b.j;)d=gF(hD(zD(b),10)).b,c=e=gF(hD(zD(b),10)).b,(0>c||6<c)&&(c=0),a.e[d]=c}catch(f){if(f=Ui(f),A(f,124))vn(f);else throw f;}}function vI(a,b,c,d,e){b=gI(a,b,c);5!=a.i[b]&&nI(a,b)?d.b.b+=ob:3==a.t[b]?d.b.b+=la:9==a.t[b]?(e=rb,a=a.f[b],null!=a&&(e=a),yn(d.b,e)):1==e[b]?d.b.b+=Xa:-1==e[b]&&(d.b.b+=Tc)}
|
474
|
+
function LF(a,b){var c,d;if(1==a.t[b])if(c=a.I[b],d=a.J[b],2>a.A[c]&&2>a.A[d])a.C[b]=0,Jr(a.o,"Stereomarking meaningless on this bond !");else switch(a.C[b]){case 0:a.A[d]<=a.A[c]?a.C[b]=1:a.C[b]=3;break;case 1:a.C[b]=2;break;case 2:2<a.A[d]?a.C[b]=3:a.C[b]=1;break;case 3:a.C[b]=4;break;case 4:2<a.A[c]?a.C[b]=1:a.C[b]=3}else 2==a.t[b]?10==a.C[b]?a.C[b]=0:a.C[b]=10:Jr(a.o,"Stereomarking allowed only on single and double bonds!")}
|
475
|
+
function tI(a,b,c,d,e){var f,g,j,h,n,o,r,q,t;if(!(2!=a.t[b]||5==a.i[b])&&(10==a.C[b]||a.o.q&&!e[b]))if(e=a.I[b],f=a.J[b],!(2>a.A[e]||2>a.A[f]||3<a.A[e]||3<a.A[f])){c[e]>c[f]&&(g=e,e=f,f=g);r=o=b=0;q=!1;for(n=1;n<=a.A[e];++n)g=a.H[e][n],g!=f&&(0==o?o=g:r=g);0<r&&c[o]>c[r]&&(g=o,o=r,r=g);h=gI(a,e,o);0!=d[h]?b=o:1==a.t[h]&&5!=a.i[h]&&(b=o);0==b&&(h=gI(a,e,r),0!=d[h]?b=r:1==a.t[h]&&5!=a.i[h]&&(b=r));c[b]>c[e]&&(q=!0);j=r=o=0;for(n=1;n<=a.A[f];++n)g=a.H[f][n],g!=e&&(0==r?r=g:j=g);0<j&&c[r]<c[j]&&(g=r,
|
476
|
+
r=j,j=g);h=gI(a,f,r);1==a.t[h]&&5!=a.i[h]&&0==d[h]&&(o=r);0==o&&(h=gI(a,f,j),1==a.t[h]&&5!=a.i[h]&&(o=j));if(!(0==b||0==o))if(h=a.K[f]-a.K[e],g=a.N[f]-a.N[e],n=Math.sqrt(h*h+g*g),0.001>n&&(n=0.001),g/=n,h/=n,r=(a.N[b]-a.N[e])*h-(a.K[b]-a.K[e])*g,t=(a.N[o]-a.N[e])*h-(a.K[o]-a.K[e])*g,2>(0>=r?0-r:r)||2>(0>=t?0-t:t))Jr(a.o,"Not unique E/Z geometry !");else{j=gI(a,b,e);f=gI(a,o,f);o=1;if(0==d[j]){for(n=1;n<=a.A[b];++n)if(g=a.H[b][n],g!=e&&(h=gI(a,b,g),0!=d[h])){c[g]>c[b]?o=-d[h]:o=d[h];break}d[j]=o}0==
|
477
|
+
d[f]&&(0<r&&0<t||0>r&&0>t?d[f]=-d[j]:d[f]=d[j],q&&(d[f]=-d[f]))}}}function lI(a,b){var c,d,e;e=0;for(d=1;d<=a.A[b];++d)if(c=gI(a,b,a.H[b][d]),1==a.t[c])e+=1;else if(nI(a,c))e+=2;else if(3==a.t[c])e+=3;else if(9==a.t[c])return-1;return e}function uI(a,b,c){var d;d=a.C[b];return 1>d||4<d?0:1==d&&a.I[b]==c?1:2==d&&a.I[b]==c?-1:3==d&&a.J[b]==c?1:4==d&&a.J[b]==c?-1:0}
|
478
|
+
function zF(a){var b;for(b=1;b<=a.u;++b){var c=a,d=b,e=void 0,e=lI(c,d);if(-1==e)c.y[d]=0;else{switch(c.c[d]){case 1:2==e?c.B[d]=1:c.B[d]=0;c.y[d]=0;break;case 2:3==e||5==e?(c.y[d]=0,c.B[d]=0):3>e?c.y[d]=3-e-c.B[d]:4==e?(c.B[d]=-1,c.y[d]=0):5<e&&(c.B[d]=e-5,c.y[d]=0);break;case 3:case 6:4>e?0<c.B[d]?c.y[d]=2-e+c.B[d]:0>c.B[d]?c.y[d]=2-e-c.B[d]:c.y[d]=4-e:(c.B[d]=e-4,c.y[d]=4-e+c.B[d]);break;case 4:case 7:3>e?c.y[d]=3-e+c.B[d]:3==e?0>c.B[d]?(c.B[d]=0,c.y[d]=0):0<c.B[d]?c.y[d]=c.B[d]:c.y[d]=0:(c.B[d]=
|
479
|
+
4==e?1:6==e?-1:e-5,c.y[d]=0);break;case 5:2==e&&(0>c.B[d]?(c.B[d]=0,c.y[d]=0):0<c.B[d]?c.y[d]=c.B[d]:c.y[d]=0);2<e&&(c.B[d]=e-2);c.y[d]=2-e+c.B[d];break;case 8:case 13:2>e?c.y[d]=2-e+c.B[d]:2==e?0>c.B[d]?(c.B[d]=0,c.y[d]=0):0<c.B[d]?c.y[d]=c.B[d]:c.y[d]=0:3==e?2==c.A[d]?(c.B[d]=0,c.y[d]=1):(c.B[d]=1,c.y[d]=0):4==e?(c.B[d]=0,c.y[d]=0):5==e?(c.B[d]=0,c.y[d]=1):(c.B[d]=e-6,c.y[d]=0);break;case 9:case 10:case 11:case 12:1<=e&&(c.B[d]=e-1);c.y[d]=1-e+c.B[d];2<e&&(c.B[d]=0,c.y[d]=0);break;case 19:case 18:c.y[d]=
|
480
|
+
0}0>c.y[d]&&(c.y[d]=0)}}}function BE(a){dI(this);this.o=a;this.z=this.v=this.u=0}
|
481
|
+
function hF(a,b){var c,d,e,f,g,j,h;BE.call(this,a);f=l;j=eF(b);if(null!=j){h=new CD(b,j,!0);for(e=1;4>=e;++e)f=fF(h,j);g=gF(hD(ho(f.substr(0,3)),10)).b;c=gF(hD(ho(f.substr(3,3)),10)).b;for(e=1;e<=g;++e)MF(this),f=fF(h,j),this.K[e]=(new qH(nH(ho(f.substr(0,10))))).b,this.N[e]=-(new qH(nH(ho(f.substr(10,10))))).b,d=34,34>f.length&&(d=f.length),d=ho(f.substr(31,d-31)),AF(this,e,d),62<=f.length&&(f=ho(f.substr(60,3)),0<f.length&&(f=gF(hD(f,10)).b,0<f&&(this.E=e,a.z=f,KF(this),this.E=0)));for(e=1;e<=c;++e)TF(this),
|
482
|
+
f=fF(h,j),this.I[e]=gF(hD(ho(f.substr(0,3)),10)).b,this.J[e]=gF(hD(ho(f.substr(3,3)),10)).b,g=gF(hD(ho(f.substr(6,3)),10)).b,1==g?this.t[e]=1:2==g?this.t[e]=2:3==g?this.t[e]=3:this.t[e]=9,d=0,11<f.length&&(d=gF(hD(ho(f.substr(9,3)),10)).b),1==g&&1==d&&(this.t[e]=1,this.C[e]=1),1==g&&6==d&&(this.t[e]=1,this.C[e]=2);mI(this);XF(this);yE(this);for(wF(this);(h.k=wD(h,h.b),h.k<h.j)&&!(null==(f=zD(h)));){if(0==f.indexOf("M END"))break;if(0==f.indexOf("M CHG")){g=new BD(f);zD(g);zD(g);j=gF(hD(zD(g),10)).b;
|
483
|
+
for(e=1;e<=j;++e)c=gF(hD(zD(g),10)).b,this.B[c]=gF(hD(zD(g),10)).b}if(0==f.indexOf("M APO")){g=new BD(f);zD(g);zD(g);j=gF(hD(zD(g),10)).b;for(e=1;e<=j;++e)c=gF(hD(zD(g),10)).b,f=gF(hD(zD(g),10)).b,this.E=c,W(this,0),AF(this,this.u,pc+f),this.E=0}}pI(this);wF(this)}}
|
484
|
+
function dG(a,b){var c,d,e,f,g;BE.call(this,a);0==b.indexOf(da)&&(b=b.substr(1,b.length-1));tH(b,da)&&(b=b.substr(0,b.length-1-0));if(1>b.length)this.u=0;else{try{f=new BD(b);d=gF(hD(zD(f),10)).b;e=gF(hD(zD(f),10)).b;for(c=1;c<=d;++c)g=zD(f),MF(this),AF(this,this.u,g),this.K[c]=(new qH(nH(zD(f)))).b,this.N[c]=-(new qH(nH(zD(f)))).b;for(c=1;c<=e;++c)if(TF(this),this.I[c]=gF(hD(zD(f),10)).b,this.J[c]=gF(hD(zD(f),10)).b,this.t[c]=gF(hD(zD(f),10)).b,-1==this.t[c])this.t[c]=1,this.C[c]=1;else if(-2==this.t[c])this.t[c]=
|
485
|
+
1,this.C[c]=2;else if(-5==this.t[c])this.t[c]=2,this.C[c]=10;else if(11==this.t[c]||12==this.t[c]||13==this.t[c]||14==this.t[c])this.C[c]=this.t[c],this.t[c]=9;mI(this);XF(this);yE(this)}catch(j){j=Ui(j);if(A(j,124)){j.Ec();this.u=0;return}throw j;}pI(this);wF(this)}}
|
486
|
+
function kF(a,b,c){var d,e,f;BE.call(this,a);f=y(M,s,-1,b.u+1,1);for(a=1;a<=b.u;++a)b.b[a]==c&&(MF(this),this.c[this.u]=b.c[a],this.K[this.u]=b.K[a],this.N[this.u]=b.N[a],this.B[this.u]=b.B[a],this.y[this.u]=b.y[a],this.e[this.u]=b.e[a],this.d[this.u]=b.d[a],this.p[this.u]=b.p[a],f[a]=this.u);for(a=1;a<=b.v;++a)if(d=b.I[a],e=b.J[a],!(b.b[d]!=c&&b.b[e]!=c)&&!(b.b[d]!=c||b.b[e]!=c))TF(this),this.t[this.v]=b.t[a],this.C[this.v]=b.C[a],this.I[this.v]=f[d],this.J[this.v]=f[e],this.f[this.v]=b.f[a];for(a=
|
487
|
+
1;a<=b.z;++a)d=b.r[a][0],d==c&&(++this.z,this.r[this.z][0]=f[d],this.r[this.z][1]=b.r[a][1]);this.k=b.k;wF(this);yE(this)}
|
488
|
+
function DF(a,b,c){var d,e,f,g,j;BE.call(this,a);for(a=1;a<=c;++a)this.u+=b[a].u,this.v+=b[a].v,this.z+=b[a].z;this.c=y(M,s,-1,this.u+1,1);this.B=y(M,s,-1,this.u+1,1);this.y=y(M,s,-1,this.u+1,1);this.e=y(M,s,-1,this.u+1,1);this.d=y(Gt,m,1,this.u+1,0);this.K=y(wE,m,-1,this.u+1,1);this.N=y(wE,m,-1,this.u+1,1);this.p=y(Gt,m,1,this.u+1,0);this.I=y(M,s,-1,this.v+1,1);this.J=y(M,s,-1,this.v+1,1);this.t=y(M,s,-1,this.v+1,1);this.f=y(Gt,m,1,this.v+1,0);this.C=y(M,s,-1,this.v+1,1);this.r=ht([this.z+1,2]);
|
489
|
+
f=j=g=e=0;for(a=1;a<=c;++a){for(d=1;d<=b[a].u;++d)++e,this.c[e]=b[a].c[d],this.K[e]=b[a].K[d],this.N[e]=b[a].N[d],this.B[e]=b[a].B[d],this.y[e]=b[a].y[d],this.e[e]=b[a].e[d],this.d[e]=b[a].d[d],this.p[e]=b[a].p[d];for(d=1;d<=b[a].v;++d)++g,this.t[g]=b[a].t[d],this.C[g]=b[a].C[d],this.I[g]=b[a].I[d]+f,this.J[g]=b[a].J[d]+f,this.f[g]=b[a].f[d];for(d=1;d<=b[a].z;++d)++j,this.r[j][0]=b[a].r[d][0]+f,this.r[j][1]=b[a].r[d][1];f=e}wF(this);yE(this)}
|
490
|
+
function kE(a){var b;dI(this);this.o=a.o;this.u=a.u;this.v=a.v;this.z=a.z;this.c=y(M,s,-1,this.u+1,1);AH(a.c,this.c,this.u+1);this.B=y(M,s,-1,this.u+1,1);AH(a.B,this.B,this.u+1);this.y=y(M,s,-1,this.u+1,1);AH(a.y,this.y,this.u+1);this.e=y(M,s,-1,this.u+1,1);AH(a.e,this.e,this.u+1);this.d=y(Gt,m,1,this.u+1,0);AH(a.d,this.d,this.u+1);this.K=y(wE,m,-1,this.u+1,1);AH(a.K,this.K,this.u+1);this.N=y(wE,m,-1,this.u+1,1);AH(a.N,this.N,this.u+1);this.p=y(Gt,m,1,this.u+1,0);AH(a.p,this.p,this.u+1);this.I=y(M,
|
491
|
+
s,-1,this.v+1,1);AH(a.I,this.I,this.v+1);this.J=y(M,s,-1,this.v+1,1);AH(a.J,this.J,this.v+1);this.t=y(M,s,-1,this.v+1,1);AH(a.t,this.t,this.v+1);this.f=y(Gt,m,1,this.v+1,0);AH(a.f,this.f,this.v+1);this.C=y(M,s,-1,this.v+1,1);AH(a.C,this.C,this.v+1);this.r=ht([this.z+1,2]);for(b=1;b<=this.z;++b)this.r[b][0]=a.r[b][0],this.r[b][1]=a.r[b][1];this.k=a.k}
|
492
|
+
function ZF(a,b,c){var d,e,f;if(0==c)return BF(Dt(a),b);9.0E-4>(0>=a?0-a:a)&&(a=0);a=O(N(UE(a*Math.pow(10,c))))/Math.pow(10,c);e=l+(new qH(a)).b;d=Wv(e,Xv(46));0>d&&(e+=Wa,d=Wv(e,Xv(46)));f=e.length;for(a=1;a<=c-f+d+1;++a)e+=ab;if(0==b)return e;e.length>b&&(e=rb);c=l;for(a=1;a<=b-e.length;++a)c+=ba;return c+e}function eF(a){var b;b=new CD(a,aa,!0);if(4<vD(b))return aa;b=new CD(a,kh,!0);return 4<vD(b)?kh:null}
|
493
|
+
function BF(a,b){var c,d,e;d=l+(new S(a)).b;d.length>b&&(d=rb);e=l;for(c=1;c<=b-d.length;++c)e+=ba;return e+d}function fF(a,b){for(var c,d;a.k=wD(a,a.b),a.k<a.j;){d=zD(a);if(H(d,b))return ba;for(zD(a);;)if(c=d.charCodeAt(d.length-1),124==c||10==c||13==c){if(d=d.substr(0,d.length-1-0),0==d.length)return ba}else break;return d}return null}u(559,1,{140:1},BE,hF,dG,kF,DF,kE);_.b=null;_.i=null;_.k=0;_.n=!1;_.o=null;_.q=!1;_.s=0;_.u=0;_.v=0;_.w=0;_.x=!1;_.z=0;_.D=!1;_.E=0;_.F=0;_.G=0;_.M=0;_.P=0;
|
494
|
+
function Kr(){Kr=x;Lr=new BC(Vb)}
|
495
|
+
function qF(a,b){var c;Kr();var d;YH.call(this);this.d=new YA("Help");new YA("Home");this.e=b;P(this,(WD(),YD));this.hc&&QB(this.hc.d,!1);NB(this,!1);d=Az(b);if(1==a)this.f||(this.f=new iC(d),WH(this.f,-30,0)),this.k=this.f,c=iE(b),this.hc&&PB(this.hc.d.I.c,Dc),gA(this,new TA(2)),this.i=new BC(c+" "),R(this,this.i,Fb),d=new kA,R(d,this.j,null),this.e.Hb&&(c=new YA("Submit"),R(d,c,null)),R(this,d,Gc),AC(this.i,ho(ko(this.i.hc.b.pb,ch))),this.hc&&QB(this.hc.d,!0),NB(this,!0);else if(2==a)this.c||
|
496
|
+
(this.c=new iC(d),WH(this.c,-50,13*b.Z-80)),this.k=this.c,this.hc&&PB(this.hc.d.I.c,"Nonstandard atom"),gA(this,new TA(2)),c=new kA,R(c,new bC("atomic SMILES",1),null),R(this,c,kc),c=Vb,Lr&&(c=ko(Lr.hc.b.pb,ch)),Lr=new CC(c,8),R(this,Lr,Fb),c=new kA,R(c,this.j,null),R(this,c,Gc);else{this.b||(this.b=new iC(d),WH(this.b,5*b.Z,0));var e,f;d="About "+(WD(),iG);this.hc&&PB(this.hc.d.I.c,d);gA(this,new YB(0));P(this,YD);R(this,new bC(iG+" Molecular Editor v2013-10-13",1),null);R(this,new bC("Peter Ertl and Bruno Bienfait",
|
497
|
+
1),null);for(c=XD,d=0,f=c.length;d<f;++d)e=c[d],e=new bC(e,1),Nz(e,this.e.y),R(this,e,null);c=new kA;R(c,this.d,null);R(c,this.j,null);R(this,c,null);this.k=this.b}MB(this);c=this.k;XH(this.hc.d,c.b,c.c);!zz(this)&&dA(this);Oz(this)}u(560,552,si,qF);_.Pf=function(a){var b,c;if(a.i===this.d){try{b=new bD(this.e.I),c=aD(b),$wnd.open(c,"_blank",l)}catch(d){if(d=Ui(d),A(d,112))a=this.e,b=d.i,a.lb=!0,a.K="ERROR - "+b,QD(a);else throw d;}return!0}return!1};_.b=null;_.c=null;_.e=null;_.f=null;_.i=null;var Lr;
|
498
|
+
function wI(a,b){yz(b)==a.b?P(b,(dB(),mB)):P(b,a.b)}
|
499
|
+
function xI(a){var b,c,d,e;e=l;d=!1;yz(yI)!=a.b?(e=wa,d=!0):yz(zI)!=a.b?(e="!#6",d=!0):yz(AI)!=a.b?(P(BI,(dB(),mB)),P(CI,mB),P(DI,mB),P(EI,mB),e="F,Cl,Br,I"):(b=yz(FI)!=a.b,c=yz(GI)!=a.b,yz(HI)!=a.b&&(b?e+="c,":c?e+="C,":e+="#6,"),yz(II)!=a.b&&(b?e+="n,":c?e+="N,":e+="#7,"),yz(JI)!=a.b&&(b?e+="o,":c?e+="O,":e+="#8,"),yz(KI)!=a.b&&(b?e+="s,":c?e+="S,":e+="#16,"),yz(LI)!=a.b&&(b?e+="p,":c?e+="P,":e+="#15,"),yz(BI)!=a.b&&(e+="F,"),yz(CI)!=a.b&&(e+="Cl,"),yz(DI)!=a.b&&(e+="Br,"),yz(EI)!=a.b&&(e+="I,"),
|
500
|
+
tH(e,za)&&(e=e.substr(0,e.length-1-0)),1>e.length&&!a.c&&(b?e=Xc:c?e=tb:(P(yI,(dB(),mB)),e=wa)));b=l;d&&yz(FI)!=a.b&&(b+=";a");d&&yz(GI)!=a.b&&(b+=";A");yz(MI)!=a.b&&(b+=";R");yz(NI)!=a.b&&(b+=";!R");yz(yI)!=a.b&&0<b.length?e=b.substr(1,b.length-1):e+=b;d=OI.hc.b.pb.selectedIndex;0<d&&(--d,e+=";H"+d);d=PI.hc.b.pb.selectedIndex;0<d&&(--d,e+=";D"+d);yz(QI)!=a.b&&(e="~");yz(RI)!=a.b&&(e=kb);yz(SI)!=a.b&&(e=sb);yz(TI)!=a.b&&(e="!@");AC(a.f,e)}
|
501
|
+
function UI(a){VI(a);WI(a);var b=OI.hc.b;iy(b,0);b.pb.options[0].selected=!0;b=PI.hc.b;iy(b,0);b.pb.options[0].selected=!0;P(FI,a.b);P(GI,a.b);P(MI,a.b);P(NI,a.b);P(OI,a.b);P(PI,a.b);XI(a)}function VI(a){P(HI,a.b);P(II,a.b);P(JI,a.b);P(KI,a.b);P(LI,a.b);P(BI,a.b);P(CI,a.b);P(DI,a.b);P(EI,a.b)}function WI(a){P(yI,a.b);P(zI,a.b);P(AI,a.b)}function XI(a){P(QI,a.b);P(RI,a.b);P(SI,a.b);P(TI,a.b);a.c=!1}
|
502
|
+
function rF(a){OB.call(this,"Atom/Bond Query");this.j=new YA(this.Of());xA(this.r,new ZH(this));this.b=(WD(),YD);this.d=a;this.e||(a=Az(a),this.e=new iC(a),WH(this.e,-150,10));this.k=this.e;gA(this,new XB);P(this,this.b);a=new kA;gA(a,new CB(0,3,1));R(a,new aC("Atom type :"),null);yI=new YA(wb);zI=new YA("Any except C");AI=new YA("Halogen");R(a,yI,null);R(a,zI,null);R(a,AI,null);R(this,a,null);a=new kA;gA(a,new CB(0,3,1));R(a,new bC("Or select one or more from the list :",0),null);R(this,a,null);
|
503
|
+
a=new kA;gA(a,new CB(0,3,1));HI=new YA(Cb);II=new YA(fc);JI=new YA(mc);KI=new YA(Cc);LI=new YA(oc);BI=new YA(Qb);CI=new YA(Gb);DI=new YA(Bb);EI=new YA(Xb);R(a,HI,null);R(a,II,null);R(a,JI,null);R(a,KI,null);R(a,LI,null);R(a,BI,null);R(a,CI,null);R(a,DI,null);R(a,EI,null);R(this,a,null);a=new kA;gA(a,new CB(0,3,1));OI=new bB;aB(OI,wb);aB(OI,ab);aB(OI,cb);aB(OI,hb);aB(OI,jb);R(a,new aC("Number of hydrogens : "),null);R(a,OI,null);R(this,a,null);a=new kA;gA(a,new CB(0,3,1));PI=new bB;aB(PI,wb);aB(PI,
|
504
|
+
ab);aB(PI,cb);aB(PI,hb);aB(PI,jb);aB(PI,"4");aB(PI,"5");aB(PI,"6");R(a,new bC("Number of connections :",0),null);R(a,PI,null);R(a,new bC(" (H's don't count.)",0),null);R(this,a,null);a=new kA;gA(a,new CB(0,3,1));R(a,new aC("Atom is :"),null);FI=new YA(xb);R(a,FI,null);GI=new YA("Nonaromatic");R(a,GI,null);MI=new YA(Bc);R(a,MI,null);NI=new YA(jc);R(a,NI,null);R(this,a,null);a=new kA;P(a,tB(yz(this)));gA(a,new CB(0,3,1));R(a,new aC("Bond is :"),null);QI=new YA(wb);R(a,QI,null);RI=new YA(xb);R(a,RI,
|
505
|
+
null);SI=new YA(Bc);R(a,SI,null);TI=new YA(jc);R(a,TI,null);R(this,a,null);a=new kA;gA(a,new CB(1,3,1));this.f=new CC(wa,20);R(a,this.f,null);R(a,new YA(zc),null);R(a,this.j,null);R(this,a,null);this.hc&&QB(this.hc.d,!1);NB(this,!1);VI(this);WI(this);XI(this);P(FI,this.b);P(GI,this.b);P(MI,this.b);P(NI,this.b);P(OI,this.b);P(PI,this.b);wI(this,yI);MB(this);a=this.k;XH(this.hc.d,a.b,a.c);!zz(this)&&dA(this);Oz(this)}u(561,552,si,rF);
|
506
|
+
_.Pf=function(a,b){var c;H(b,zc)?(UI(this),wI(this,yI),xI(this)):A(a.i,87)?(XI(this),Ct(a.i)===Ct(yI)?(VI(this),WI(this)):Ct(a.i)===Ct(zI)?(VI(this),WI(this)):Ct(a.i)===Ct(AI)?(VI(this),WI(this)):Ct(a.i)===Ct(MI)?P(NI,this.b):Ct(a.i)===Ct(NI)?(P(MI,this.b),P(FI,this.b)):Ct(a.i)===Ct(FI)?(P(GI,this.b),P(NI,this.b)):Ct(a.i)===Ct(GI)?P(FI,this.b):Ct(a.i)===Ct(QI)||Ct(a.i)===Ct(RI)||Ct(a.i)===Ct(SI)||Ct(a.i)===Ct(TI)?(UI(this),this.c=!0):WI(this),wI(this,a.i),xI(this)):A(a.i,88)&&(XI(this),c=a.i,0==c.hc.b.pb.selectedIndex?
|
507
|
+
P(c,this.b):P(c,(dB(),mB)),xI(this));107!=this.d.d&&(this.d.d=107,pA(this.d));return!0};_.c=!1;_.d=null;_.e=null;var yI=_.f=null,QI=null,zI=null,FI=null,RI=null,DI=null,HI=null,PI=null,OI=null,CI=null,BI=null,AI=null,EI=null,II=null,GI=null,NI=null,TI=null,JI=null,LI=null,MI=null,SI=null,KI=null;function lG(){LH(this)}u(562,537,Sh,lG);_.Qe=function(){this.b=-1;this.c=y(MH,m,0,0,0);this.d=0};_.b=-1;
|
508
|
+
function Fr(a){a=new PC(a);Hr();var b,c,d,e,f;try{var g=(HC(),KC);if(LC(g,(HC(),KC)))b=a.b;else if(LC(g,IC))b=new TC(a.b);else throw new QC(g);c=Ln(b)?b.tS():b.toString?b.toString():"[JavaScriptObject]";d=new YI;Yy(d.f,c);e=(f=uH(c,"\r\n|\r|\n|\n\r"),f.length);Tv(d.f,20*(10>e?e:10)+cg);$n((Xn(),Yn),new ZI(d));$I(d);aJ(d)}catch(j){if(j=Ui(j),A(j,105))vn(j);else throw j;}}function mG(){}u(563,1,{106:1,113:1},mG);_.xe=function(a){PD(this.b,a.b)};_.b=null;function yG(){this.pb=px()}u(565,327,fi,yG);
|
509
|
+
function Cr(){var a;Cr=x;bJ=(a=!1,Sf in $wnd?a=!0:$wnd.navigator.msPointerEnabled&&-1!==navigator.userAgent.toLowerCase().indexOf("touch")&&(a=!0),a);cJ=-1!=$wnd.navigator.userAgent.indexOf("Windows NT");dJ=bJ&!cJ;var b;a=K(M,s,-1,[8,8,127,46,1005,40,1001,35,10,13,27,27,1E3,36,1006,37,1003,34,1002,33,1007,39,1,16,9,9,1004,38]);Dr=y(M,s,-1,1E3,1);for(b=0;b<Dr.length;++b)Dr[b]=-999;for(b=0;b<a.length;b+=2)Dr[a[b+1]]=a[b]}
|
510
|
+
function wq(a,b,c){a=new eJ(b,c,a);if(!b.Pd(a,c))for(b=b.gc;b&&!b.Pd(a,c);)b=b.gc}function nA(a,b,c){var d;d=new fJ;vj(d.u,b,c);oj(a.i,d.u,0,0);cj(a.b,d);return d}function vG(a,b){return!a.f?null:b in a.f?a.f[b]:null}function QE(a,b,c,d){b=b.b;if(b.s!=c||b.t!=d)Aw(a.i,b.u,c,d),b.s=c,b.t=d;gJ(b)}
|
511
|
+
function uG(a,b,c,d){Cr();this.pb=px();this.b=new ij;this.k=new ij;this.f=d;this.pb.style[Xf]=ab;this.pb.style[Vf]=ab;this.pb.style[Ng]=Ze;this.pb.style[hh]=b;this.pb.style[Ie]=c;this.i=new hJ;this.i.pb.style[hh]=db;Tv(this.i,db);dJ?(b=new iJ,c=new jJ,oj(b,this.i,0,0),oj(b,c,0,0),Ew(this,b)):Ew(this,this.i);this.d=a;a.Vb=this;dJ?(this.n=new kJ(this),this.n.j=new lJ(this),this.n.k=new mJ(this),this.n.o=new nJ(this),this.n.n=new oJ(this),this.d&&(this.n.f=new pJ(this),this.n.i=new qJ(this),this.n.b=
|
512
|
+
new rJ(this))):B(this,new sJ(this),(Or(),Or(),Pr));B(this,this,(Bq(),Bq(),Cq));B(this,new tJ(this),(yj(),yj(),zj));B(this,new uJ(this),(Aj(),Aj(),Bj));B(this,new wJ(this),(zr(),zr(),Ar));(vq(),vq(),Sz).b=this}u(564,565,fi,uG);_.c=!1;_.d=null;_.e=null;_.f=null;_.i=null;_.j=!1;_.n=null;var dJ,cJ,bJ,Dr=null;function hJ(){Cw.call(this);this.pb[xd]=Ve}u(567,305,mi,hJ);function iJ(){hJ.call(this);this.pb.style[hh]=db;this.pb.style[Ie]=db}u(566,567,mi,iJ);function sJ(a){this.b=a}u(568,1,{},sJ);
|
513
|
+
_.uc=function(a){var b,c,d,e;d=Ej(a);e=Fj(a);c=Gj(a.b);b=new zJ(a);2==c&&(b.f=4);b=EF(this.b.d,b,d,e);this.b.j=!0;b&&a.b.stopPropagation()};_.b=null;function tJ(a){this.b=a}u(569,1,{},tJ);_.vc=function(a){var b,c;b=Ej(a);c=Fj(a);a=new zJ(a);this.b.j?OF(this.b.d,a,b,c):QF(this.b.d,a,b,c);this.b.pb.focus()};_.b=null;function uJ(a){this.b=a}u(570,1,{},uJ);_.wc=function(){this.b.j=!1;SF(this.b.d)};_.b=null;function wJ(a){this.b=a}u(571,1,{},wJ);_.b=null;
|
514
|
+
function jJ(){hJ.call(this);this.pb.style[hh]=db;this.pb.style[Ie]=db}u(572,567,mi,jJ);function GJ(a,b){var c;c=b.b;c.f=4;return EF(a.b.d,c,b.e,b.f)}function lJ(a){this.b=a}u(573,1,{},lJ);_.Qf=function(a){return GJ(this,a)};_.b=null;function ps(a,b){QF(a.b.d,b.b,b.e,b.f);return EF(a.b.d,b.b,b.e,b.f)}function mJ(a){this.b=a}u(574,1,{},mJ);_.Qf=function(a){return ps(this,a)};_.b=null;function nJ(a){this.b=a}u(575,1,{},nJ);_.Qf=function(a){return OF(this.b.d,a.b,a.e,a.f)};_.b=null;
|
515
|
+
function oJ(a){this.b=a}u(576,1,{},oJ);_.Qf=function(){return SF(this.b.d)};_.b=null;function qr(a,b){var c;c=N(UE(b.c));c=new SC(b,0,mg,c);lE(a.b.d,c);return!0}function pJ(a){this.b=a}u(577,1,{},pJ);_.Qf=function(a){return qr(this,a)};_.b=null;function rr(a,b){var c;c=N(UE(100*b.d));c=new SC(b,0,tg,c);lE(a.b.d,c);return!0}function qJ(a){this.b=a}u(578,1,{},qJ);_.Qf=function(a){return rr(this,a)};_.b=null;function vr(a,b){var c;c=new SC(b,0,le,mh);lE(a.b.d,c);return!0}function rJ(a){this.b=a}
|
516
|
+
u(579,1,{},rJ);_.Qf=function(a){return vr(this,a)};var HJ=_.b=null;function IJ(){IJ=x;HJ=new ou((Du(),new Cu("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVR42mM4MzPtPzJmIF0AAOqfLKHtSuV7AAAAAElFTkSuQmCC")),4,4)}function JJ(){JJ=x;KJ={}}function LJ(a,b,c){var d;c&&(b.style[re]=c.c+cg,d=c.b,d!=Ob&&(b.style[qe]=d),0!=(c.d&1)&&(b.style[te]=od),0!=(c.d&2)&&(b.style[se]=Te));a.f.style[gh]=Mf}
|
517
|
+
function IB(a){var b=MJ,c,d,e,f,g,j,h,n,o,r,q,t,v;c=Gi(a);c in KJ?a=KJ[c]:(d=$doc.getElementsByTagName("body")[0],e=$doc.createElement(Cg),f=$doc.createElement(Le),f.width=1,f.height=1,g=(IJ(),HJ),f.src=g.e.b,a=(j=$doc.createTextNode("Q"),LJ(b,e,a),e.appendChild(j),e.appendChild(f),d.appendChild(e),h=gk(e),n=gk(e)+(e.offsetHeight||0),o=n-h,r=gk(f)+(f.offsetHeight||0)+1,q=n-r,t=r-h,d.removeChild(e),v=new NJ,v.b=t,v.c=q,v.d=o,v),KJ[c]=a);return a}
|
518
|
+
function OJ(){JJ();var a,b,c,d,e;Cj();this.b=K(Gt,m,1,["monospace","sans-serif",yg]);this.d={};this.c={};this.e=$doc.getElementsByTagName("body")[0];this.f=$doc.createElement(Cg);this.f.innerHTML=this.i||l;this.f.style[re]="72.0px";for(b=this.b,c=0,d=b.length;c<d;++c)a=b[c],this.f.style[qe]=a,this.e.appendChild(this.f),e=this.f.offsetWidth||0,this.d[a]=e,this.c[a]=this.f.offsetHeight||0,this.e.removeChild(this.f)}u(582,1,{},OJ);_.e=null;_.f=null;_.i="mmmmmmmmmmlli";var KJ;function NJ(){}
|
519
|
+
u(583,1,{},NJ);_.b=0;_.c=0;_.d=0;function FF(a){if(0!=(a.f&4))return!0;try{if(a.b&&A(a.b,45))return!!a.b.b.metaKey}catch(b){if(b=Ui(b),!A(b,130))throw b;}return!1}function GF(a){try{if(a.b&&A(a.b,45))return!!a.b.b.shiftKey}catch(b){if(b=Ui(b),!A(b,130))throw b;}return!1}function zJ(a){Er.call(this,null,0,null);this.b=a}function eJ(a,b,c){Er.call(this,a,0,b);this.b=c}u(584,414,ti,zJ,eJ);_.ve=function(){return FF(this)};_.we=function(){return GF(this)};_.b=null;
|
520
|
+
function xC(a,b){var c;if(b in a.b)return a.b[b];var d=a.c;c=MJ;null==b||!b.length?c=0:(c.e.appendChild(c.f),c.f.innerHTML=b||l,LJ(c,c.f,d),d=c.f.offsetWidth||0,c.e.removeChild(c.f),c=d);return a.b[b]=c}function wC(a){this.c=a;this.b={};!MJ&&(MJ=new OJ)}u(585,417,Yh,wC);var MJ=null;function oA(a){this.b=a}u(586,425,{},oA);_.b=null;function PJ(a,b){this.b=a;this.c=b}u(587,1,{},PJ);_.b=null;_.c=null;function QJ(){Xx.call(this);this.pb[xd]="jsa-resetTable";this.pb.style[hh]=kd}u(588,340,mi,QJ);
|
521
|
+
function RJ(){RJ=x;var a=SJ=new OJ;Cj();a.i="9p";a.f.style[qe]=yg;a.f.style[re]="144.0pt";a.f.innerHTML=a.i||l;a.e.appendChild(a.f);a.e.removeChild(a.f);a.f.style[re]="144.0px";a.e.appendChild(a.f);a.e.removeChild(a.f);TJ=new CA(1)}function GE(a,b){a.q=!0;if(a.k){a.p&&(a.d.length=0,a.p=!1);var c=a.d;c[c.length]=b}else c=a.d,c[c.length]=b,gJ(a)}
|
522
|
+
function IE(a,b,c,d,e,f,g){var j,h,n,o,r,q,t,v,D,E,J;a.o&&(FE(a,!1),360<=g||-360>=g?j=HE(a,b,c,d,e):j=(h=f+g,n=0,h<f&&(n=1),o=0,(180<g||-180>g)&&(o=1),r=b+d/2,q=c+e/2,t=d/2,v=e/2,D=UJ(r,q,t,v,f),E=UJ(r,q,t,v,h),J="<g"+a.n+qb,J+='<path d ="M '+D.b+ba+D.c+" A "+t+ba+v+" 0 "+o+ba+n+ba+E.b+ba+E.c+'"/>',J+="</g>",J),GE(a,j))}function U(a,b,c,d,e){a.o&&GE(a,'<line x1="'+b+'" y1="'+c+'" x2="'+d+'" y2="'+e+'" stroke="'+a.i+fa+a.c+a.b+$a)}
|
523
|
+
function EE(a,b,c,d,e){a.o&&(FE(a,!1),GE(a,'<rect x="'+b+ia+c+ga+e+'" width="'+d+da+a.n+$a))}function PE(a,b,c,d){var e,b=b.replace(/&/g,pa).replace(/</g,ra).replace(/>/g,qa),b=(e=a.i,'<text x="'+c+ia+d+fa+a.j+' fill="'+e+ka+b+"</text>");GE(a,b)}function TB(a,b,c,d,e){FE(a,!0);GE(a,'<rect x="'+b+ia+c+ga+e+'" width="'+d+da+a.n+$a)}
|
524
|
+
function gJ(a){var b,c,d;a.q&&(b=a.d.join(aa),b=(c=ek(a.u.pb)+(a.u.pb.offsetWidth||0)-ek(a.u.pb),d=gk(a.u.pb)+(a.u.pb.offsetHeight||0)-gk(a.u.pb),'<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+c+ga+d+ka)+b+"</svg>",b!==a.r&&(a.u.pb.innerHTML=b||l,a.r=b),a.p=!0,a.q=!1)}function T(a,b){(a.e=b)&&(a.i=kg+(b.b>>16&255)+za+(b.b>>8&255)+za+(b.b&255)+va)}function OE(a,b){a.f=b;a.j=hG(b)}u(589,421,{});_.d=null;_.e=null;_.f=null;_.i="black";_.j=null;_.k=!0;_.n=null;_.p=!1;_.q=!1;_.r=l;
|
525
|
+
_.s=0;_.t=0;_.u=null;var TJ,SJ;function ds(a,b,c){c&&(os(a,b),c.Qf(a.c));a.e=!0}function os(a,b){var c;c=b.b.targetTouches;return 1==c.length?(c=c[0],a.c.e=c.clientX-ek(a.p.pb)+(a.p.pb.scrollLeft||0)+po(a.p.pb.ownerDocument),a.c.f=c.clientY-gk(a.p.pb)+(a.p.pb.scrollTop||0)+qo(a.p.pb.ownerDocument),a.c.b=new zJ(b),b.b.preventDefault(),!0):!1}
|
526
|
+
function kJ(a){this.p=a;this.c=new VJ;this.d=new WJ(this);B(this.p,new XJ(this),(ls(),ls(),ms));B(this.p,new YJ(this),(es(),es(),fs));B(this.p,new ZJ(this),(is(),is(),js));B(this.p,new $J(this),(as(),as(),bs));B(this.p,new aK,(wr(),wr(),xr));B(this.p,new bK(this),(sr(),sr(),tr));B(this.p,new cK(this),(nr(),nr(),or))}u(590,1,{},kJ);_.b=null;_.c=null;_.d=null;_.e=!1;_.f=null;_.i=null;_.j=null;_.k=null;_.n=null;_.o=null;_.p=null;function WJ(a){xk();this.b=a}u(591,24,{},WJ);
|
527
|
+
_.Dc=function(){!this.b.e&&this.b.j&&GJ(this.b.j,this.b.c)};_.b=null;function XJ(a){this.b=a}u(592,1,{},XJ);_.b=null;function YJ(a){this.b=a}u(593,1,{},YJ);_.b=null;function ZJ(a){this.b=a}u(594,1,{},ZJ);_.b=null;function $J(a){this.b=a}u(595,1,{},$J);_.b=null;function aK(){}u(596,1,{},aK);function bK(a){this.b=a}u(597,1,{},bK);_.b=null;function cK(a){this.b=a}u(598,1,{},cK);_.b=null;function VJ(){}u(599,1,{},VJ);_.b=null;_.c=0;_.d=0;_.e=0;_.f=0;
|
528
|
+
function xG(){var a=$wnd.navigator.userAgent.match(/MSIE\s+(\d+\.\d+)/);return a?parseFloat(a[1]):-1}function dK(a){var b,c,d,e,f;dk(a);d=(pj(),qj(null));e=new QJ;Ux(e,a);pw(d,e,d.pb);f=a.kd();b=a.jd();c=xG();9<=c?(++f,++b):7==c&&A(a,59)&&(c=a.pb.textContent,2>=c.length&&(f+=8));Wx(e,a);yw(d,e);return new Gz(f,b)}function eK(){this.pb=$doc.createElement(Yd);this.pb[xd]=Ve;this.pb.style[Wf]=Je;this.pb.style[$f]=Yc;this.pb.style[hh]=db;this.pb.style[Ie]=db}u(601,308,vi,eK);_.gd=function(){return ek(this.pb)};
|
529
|
+
_.hd=function(){return gk(this.pb)};function hG(a){var b,c,d;d=a.c;b=a.b;c=l;12!=d&&(c=' font-size="'+d+'px"');"Plain"!=b&&(c+=' font-family="'+b+da);0!=(a.d&1)&&(c+='font-weight="bold"');0!=(a.d&2)&&(c+='font-style="italic"');return c}function UJ(a,b,c,d,e){e*=0.017453292519943295;a+=c*Math.cos(e);b+=-d*Math.sin(e);return new PJ(new qH(a),new qH(b))}function HE(a,b,c,d,e){return'<ellipse cx="'+(b+d/2)+'" cy="'+(c+e/2)+'" rx="'+d/2+'" ry="'+e/2+da+a.n+$a}
|
530
|
+
function WE(a,b,c,d,e){var f,g,j,h;if(1>d)return l;g=d;e&&(d-=1,b[0]==b[d]&&c[0]==c[d]&&--g);d=' points="';for(f=0;f<g;++f)j=b[f],h=c[f],d+=j+za+h,f<g-1&&(d+=ba);d+=da;b=nb;e?b+="polygon":b+="polyline";return b+=d+a.n+$a}function FE(a,b){var c;c=a.i;b?a.n=' stroke="none" fill="'+c+fa+a.b:a.n=' fill="none" stroke="'+c+fa+a.b}function fJ(){RJ();this.o=TJ;this.d=[];this.u=new eK}u(602,589,{},fJ);_.b=l;_.c=l;function fK(){fK=x;gK=new Gz(0,0)}
|
531
|
+
function hK(a){var b;b=a.Uf();if(!b){var c;(c=a.Rf())?(b=dK(c.b),vj(c.ye(),b.c,b.b),c=dK(c.b),b=new Gz(c.c-b.c,c.b-b.b)):b=new Gz(0,0);a.Yf(b)}return b}function Vz(a,b){var c;if(a.Ce())return gK;if(-1!=a.f.c&&-1!=a.f.b)return a.f;a.Xf(zz(b));c=dK(a.ye());a.f.c=c.c;a.f.b=c.b;return c}function iK(a,b){var c;b&&(c=kg+(b.b>>16&255)+za+(b.b>>8&255)+za+(b.b&255)+va,a.Tf().pb.style[ld]=c)}function jK(){this.f=new xB;this.f.b=-1;this.f.c=-1}u(604,1,{});_.Rf=function(){return null};_.Sf=function(a){this.Wf(a.Rd())};
|
532
|
+
_.Tf=function(){return this.ye()};_.Uf=function(){return kK};_.Id=function(){};_.Ce=function(){return!1};_.Vf=function(a){this.Xf(zz(a))};_.Wf=function(a){iK(this,a)};_.Xf=function(a){var b=this.ye().pb,c,d,e;c=(eA(),fA);e=a.c;d=a.b;e!=c.c?b.style[re]=l+e+"pt":b.style[re]=l;d!=c.b?b.style[qe]=d:b.style[qe]=l;0!=(a.d&1)?b.style[te]=od:b.style[te]=l;0!=(a.d&2)?b.style[se]=Te:b.style[se]=l};_.Yf=function(a){kK=a};_.Zf=function(){};var kK=_.f=null,gK;
|
533
|
+
function ZA(a,b){fK();jK.call(this);this.b=new ix(a);this.b.ld()[xd]=l;B(this.b,new lK(this,b),(yq(),yq(),zq))}u(603,604,{},ZA);_.ye=function(){return this.b};_.Wf=function(a){iK(this,a)};_.b=null;function lK(a,b){this.b=a;this.c=b}u(605,1,{},lK);_.Lc=function(a){vq();wq(a,this.c,this.b.b.pb.textContent)};_.b=null;_.c=null;function cB(a){fK();jK.call(this);this.b=new jy;B(this.b,new mK(this,a),(sq(),sq(),tq))}u(606,604,{},cB);_.ye=function(){return this.b};_.b=null;
|
534
|
+
function mK(a,b){this.b=a;this.c=b}u(607,1,{},mK);_.b=null;_.c=null;function nK(a,b){var c,d;iK(a,b.Rd());for(d=new Oi(b.Wb.b);d.c<d.e.Fe();)c=Pi(d),c.lc&&c.hc.Sf(c)}function oK(a,b){var c,d,e,f,g,j,h;vj(a.e,b.Yd(),b.Ud());for(d=new Oi(b.Wb.b);d.c<d.e.Fe();)c=Pi(d),c.lc&&(e=c.hc,e.Vf(c),j=c.Zd(),h=c.$d(),g=c.Yd(),f=c.Ud(),0<g&&0<f&&(c=e.ye(),g-=hK(e).c,f-=hK(e).b,vj(e.ye(),g,f),!c.ob&&a.e.Cd(c),a.e.Dd(c,j,h)))}function jA(){fK();jK.call(this);this.e=new Cw}u(608,604,{},jA);
|
535
|
+
_.Sf=function(a){nK(this,a)};_.ye=function(){return this.e};_.Vf=function(a){oK(this,a)};_.e=null;function cC(a){fK();jK.call(this);var b=this.b=new Hx;nx(b.c,a,!1);zx(b);this.f.b=-1;this.f.c=-1}u(609,604,{},cC);_.ye=function(){return this.b};_.Ce=function(){var a;a=(this.b.c.d?mo(this.b.c.b):this.b.c.b).textContent;return null==a||0==a.length};_.b=null;function fC(a){this.b=new Dy(a.i,new pK(a))}u(610,1,{},fC);_.b=null;
|
536
|
+
function zy(a){var b,c,d,e,f;f=new RC(a.b,1001,null!=a.b.d?a.b.d:a.b.i);b=a.b.e;d=y(qK,m,106,0,0);for(c=b.b?Ik(b.b,d):d,d=0,e=c.length;d<e;++d)if(b=c[d],A(b,85)){b.Vb.j=!1;break}a=a.b;c=a.o.e;f!=c.b&&(c.b=f,c.c=lj((tA(),uA),new S(f.e)));c=c.c;if(fu(!c?lh:c.b,wh))for(c=(!a.e.b||0==a.e.b.d?(Ss(),Ss(),Ts):new yA(a.e.b)).Bd();c._c();)a=c.ad(),1001==f.e&&a.xe(f);var g,j,h;1001==f.e?(g=new Er(f.f,f.e,f.b),g.f=f.c&15):601==f.e?(null.hg(),null.hg()):100==f.e&&A(f.f,103)?(j=f.f,h=new Er(j,205,null),h.j=j.Zd(),
|
537
|
+
h.k=j.$d()):1004<=f.e&&1005>=f.e||(701==f.e?null.hg():401==f.e||402==f.e?(null.hg(),null.hg(),null.hg(),null.hg(),null.hg()):500<=f.e&&507>=f.e&&(g=null.ig,500!=g&&(f=new Er(null.ig,g,null),f.j=null.hg(),f.k=null.hg(),j=null.hg(),f.f=j&12,501==g&&null.hg())))}function pK(a){this.b=a}u(611,1,$h,pK);_.xc=function(){zy(this)};_.b=null;function DC(){fK();jK.call(this);this.b=new bz}u(612,604,{},DC);_.Rf=function(){var a;a=new DC;Yy(a.b,"123456789");a.f.b=-1;a.f.c=-1;return a};_.ye=function(){return this.b};
|
538
|
+
_.Uf=function(){return rK};_.Yf=function(a){rK=a};var rK=_.b=null;u(613,608,{});function sK(a){var b;b=new Mq(G(a.pb,Rf),G(a.pb,Qf));a=new Mq(G(a.T.jb.pb,Rf),G(a.T.jb.pb,Qf));return K(M,s,-1,[b.c-a.c,b.b-a.b])}function tK(a){if(null!=a.R&&null!=a.Q){var b=a.Q;a.qd(a.R);a.od(b);a.R=a.Q=null}else null!=a.R?(uK(a,a.R),a.R=null):null!=a.Q&&(vK(a,a.Q),a.Q=null);Ij(a.S)}function $I(a){a.kb?a.bg(Pq(a.T.jb)):(a.Ld(),$I(a))}function vK(a,b){var c;a.kb?(c=sK(a),a.bg(new Mq(-1,wK(b,!1)-c[1]))):a.Q=b}
|
539
|
+
function xK(a,b){var c;b!=a.Gd()&&(c=a.T.jb,hw(c),yK(c,b,c.pb,c.q.d,!0))}function uK(a,b){var c;a.kb?(c=sK(a),a.bg(new Mq(wK(b,!0)-c[0],-1))):a.R=b}u(616,310,Qh);_.$f=function(){var a,b;b=Pq(this.T.jb);a=sK(this);b.c+=a[0];b.b+=a[1];return b};_.Gd=function(){var a;a=this.T.jb;return 0!=a.q.d?zK(oz(a.q,0)):null};_._f=function(a){AK(this.T.jb,a)};_.Bd=function(){return new iw(this.T.jb)};_.ag=function(){Tq(this.T.jb)};_.wd=function(){tK(this)};_.Od=function(){Tq(this.T.jb)};
|
540
|
+
_.yd=function(a){return BK(this.T.jb,a)};_.bg=function(a){Rq(this.T.jb,a)};_.od=function(a){vK(this,a)};_.Hd=function(a){xK(this,a)};_.qd=function(a){uK(this,a)};_.Q=null;_.R=null;function CK(){CK=x;var a=(DK(),EK(),FK);GK=new ay(a.e,a.c,a.d,a.f,a.b)}function HK(a,b){if(0!=a.I.b.q.d&&zK(oz(a.I.b.q,0)))throw new cw("WindowPanel can only contain one child widget");IK(a,b)}
|
541
|
+
function aJ(a){try{a.w=!1;var b,c,d;d=a.hb;c=a.ab;d||(a.pb.style[eh]=Je,a.ab=!1,a.Ld());b=a.pb;b.style[Ze]=0+(Cj(),cg);b.style[Tg]=bb;XH(a,Nj(po($doc)+(wj()-G(a.pb,Rf)>>1),0),Nj(qo($doc)+(xj()-G(a.pb,Qf)>>1),0));d||((a.ab=c)?(a.pb.style[Ed]=ig,a.pb.style[eh]=fh,mk(a.gb,200)):a.pb.style[eh]=fh)}finally{a.w=!0}}
|
542
|
+
function JK(a,b){var c;if(a.w){c=new vv;a.mb&&Is(a.mb,c);a.J&&Qq(a.r,a);try{Wi(a.r.d,a)}catch(d){if(d=Ui(d),!A(d,124))throw d;}a.n=KK(a.r,a);try{Jw(a,b)}finally{Zi(a.t.b),Zi(a.s.b),Zi(a.u.b),a.P&&bj(a.P,a.r),a.C&&(a.C=!1)}}else Jw(a,b)}function LK(a,b,c){var d,e;e=a.ob;d=new Kj(a,e);e.Dd(a,d.b+b,d.e+c)}function MK(a,b,c){b=new NK(no(mo(Cv(Cv(a.T.d,b),c))));gw(b,a);B(b,a.o,(yq(),yq(),zq));return b}function Oq(a,b){a.J&&(0<=b.c&&(a.q=b.c),0<=b.b&&(a.p=b.b));Rq(a.T.jb,b)}
|
543
|
+
function XH(a,b,c){var d,e;(e=a.r)?(d=OK(e.pb),Mw(a,b+(ek(e.pb)+d[3]),c+(gk(e.pb)+d[0]))):Mw(a,b,c)}function QB(a,b){a.J!=b&&(a.J=b,a.hb&&(b?Sq(a.r,a):Qq(a.r,a)))}function IK(a,b){if(b!=(0!=a.I.b.q.d?zK(oz(a.I.b.q,0)):null)){hw(a.I.b);var c=a.I.b;yK(c,b,c.pb,c.q.d,!0)}}
|
544
|
+
function PK(a,b){var c;if(a.O!=b){c=a.O;a.O=b;a.kb&&c==(Jq(),QK)&&(a.O=a.G);var d,e;if(a.P)for(e=new Oi(a.P);e.c<e.e.Fe();)if(d=Pi(e),b==(Jq(),RK)){!d.c&&(d.c=new SK);d=a;var f=c,g=void 0,j=void 0;if(d.J&&f==(Jq(),Kq))g=d.r,j=d.F,d.I.d?(XH(d,j.d,j.e),Oq(d,new Mq(j.c,-1))):(XH(d,j.d,j.e),Oq(d,new Mq(j.c,j.b)),Sq(g,d)),Si(g.d,d,d.I.c),rk(d.z,333);else if(!d.C&&f==(Jq(),QK))d.pb.style[eh]=fh,Jq()}else if(b==Kq){!d.c&&(d.c=new SK);d=a;var f=c,h=j=g=void 0;if(d.J){j=d.r;g=OK(j.pb);h=d.F;if(d.I.d)h.d=ek(d.pb)-
|
545
|
+
g[3]-ek(j.pb),h.e=gk(d.pb)-g[0]-gk(j.pb),d.F=h,XH(d,0,0),TK(d,Lq(j.pb).c,-1);else{if(f!=(Jq(),QK))h.d=ek(d.pb)-g[3]-ek(j.pb),h.e=gk(d.pb)-g[0]-gk(j.pb),h.c=d.q,h.b=d.p,d.F=h;XH(d,0,0);Rq(d,new UK(Lq(j.pb)));Qq(j,d)}d==d.r.b||sF(d);rk(d.z,333)}}else b==QK&&(!d.c&&(d.c=new SK),d=a,d.C||(d.G=c,d.pb.style[eh]=Je))}}function VK(a,b){a.pb.style[jh]=b+1E4+(a.C?1E3:0)+l;(a.C||a.bb)&&null.hg().hg()}
|
546
|
+
function WK(a){if(!a.kb){a.t=aw(a,a.r,(!ts&&(ts=new Dk),ts));a.s=aw(a,a.r,Ck?Ck:Ck=new Dk);a.u=aw(a,a.r,(!ys&&(ys=new Dk),ys));var b=a.r;!a.P&&(a.P=new ij);cj(a.P,b);ts&&(b=new ss(a),a.mb&&Is(a.mb,b));a.J&&Sq(a.r,a);Si(a.r.d,a,a.I.c);a.n&&(Mw(a,a.n.b,a.n.c),a.n=null);Nw(a);sF(a)}}function sF(a){if(a!=a.r.b){var b;ys&&(b=new xs(a),a.mb&&Is(a.mb,b))}}
|
547
|
+
function XK(a,b,c){var d;d=(Uw(),Vw);Ow.call(this,!1,"popup");this.U=d.b;this.S=new YK(this);d=new ZK;d.pb[xd]="mosaic-popupLayoutPanel";Gw(this.T,d);Lw(this);this.o=new $K(this);this.z=new aL(this);this.A=new bL(this);this.B=new cL(this);this.F=new dL;this.O=(Jq(),RK);this.J=c;this.r=a;a=this.I=new eL(b);b=new fL;!a.e&&(a.e=new gL);cj(a.e,b);a=new hL(new $x(GK.b.e.b,GK.b.c,GK.b.d,GK.b.f,GK.b.b));B(a,new iL(this),(yq(),yq(),zq));b=this.I.c;b.c||(b.c=new Xx,b.c.ld()[xd]="mosaic-Caption-iconBoxRight",
|
548
|
+
c=b.c,d=(Qx(),Rx),c.d=d,c=b.i,jL(c,b.c,new kL(2),c.q.d));if(0<b.c.q.d){c=b.c;if(0>c.q.d)throw new sw;d=Vx(c);Kv(c.c,(Yu(),Zu(d)),0);rw(c,a,d,0,!1)}else Ux(b.c,a);AK(b.i,null);B(this.I.c,new lL(this),(Gq(),Gq(),Hq));B(this.I.c,this.o,zq);xK(this,this.I);Qi(no(mo(this.pb)),"mosaic-WindowPanel",!0)}u(615,616,Qh);_.Gd=function(){return 0!=this.I.b.q.d?zK(oz(this.I.b.q,0)):null};_.Jd=function(a){JK(this,a)};_.Bd=function(){return new iw(this.I.b)};_.wd=function(){tK(this);Ij(new mL(this))};
|
549
|
+
_.yd=function(a){return BK(this.I.b,a)};_.bg=function(a){Oq(this,a)};_.Kd=function(a,b){XH(this,a,b)};_.Hd=function(a){IK(this,a)};_.Ld=function(){WK(this)};_.n=null;_.p=0;_.q=0;_.r=null;_.s=null;_.t=null;_.u=null;_.v=null;_.w=!0;_.x=null;_.y=null;_.C=!1;_.D=null;_.E=null;_.G=null;_.H=null;_.I=null;_.J=!1;_.K=null;_.L=null;_.M=null;_.N=null;_.P=null;var GK;function nL(a){a.i=(new YA(a.j)).hc.ye();B(a.i,new oL(a),(yq(),yq(),zq));a.e=K(pL,m,59,[a.i])}
|
550
|
+
function YI(){CK();var a,b,c,d,e,f;XK.call(this,(qL(),rL),null,!0);this.eg();this.db=!0;a=new Jx(this.k);this.f=new az;this.f.pb.style[hh]=db;Tv(this.f,db);this.cg();uK(this,"400px");f=new nz;f.pb.style[Ie]=db;f.f[td]=10;c=(Cx(),Nx);f.b=c;mz(f,a);mz(f,this.f);e=new Xx;e.f[td]=20;for(b=this.e,c=0,d=b.length;c<d;++c)a=b[c],Ux(e,a);mz(f,e);HK(this,f);QB(this,!1);this.dg()}u(614,615,Qh,YI);_.cg=function(){nL(this)};_.dg=function(){var a=this.f;a.pb.readOnly=!0;var b=Vv(a.pb)+"-readonly";Qi(a.ld(),b,!0)};
|
551
|
+
_.eg=function(){PB(this.I.c,"Copy")};_.e=null;_.f=null;_.i=null;_.j="Close";_.k="Press Ctrl-C (Command-C on Mac) or right click (Option-click on Mac) on the selected text to copy it, then paste into another program.";function oL(a){this.b=a}u(617,1,{},oL);_.Lc=function(){JK(this.b,!1)};_.b=null;function ZI(a){this.b=a}u(618,1,{},ZI);
|
552
|
+
_.xc=function(){Yv(this.b.f.pb,!0);this.b.f.pb.focus();var a=this.b.f,b;b=ko(a.pb,ch).length;if(0<b&&a.kb){if(0>b)throw new vx("Length must be a positive integer. Length: "+b);if(b>ko(a.pb,ch).length)throw new vx("From Index: 0 To Index: "+b+" Text Length: "+ko(a.pb,ch).length);try{a.pb.setSelectionRange(0,0+b)}catch(c){}}};_.b=null;function sL(a){a.j="Cancel";a.k="Paste the text to import into the text area below.";a.c="Accept";PB(a.I.c,"Paste")}function tL(a){CK();YI.call(this);this.d=a}
|
553
|
+
u(620,614,Qh,tL);_.cg=function(){nL(this);this.b=(new YA(this.c)).hc.ye();B(this.b,new uL(this),(yq(),yq(),zq));this.e=K(pL,m,59,[this.b,this.i])};_.dg=function(){Tv(this.f,"150px")};_.eg=function(){sL(this)};_.Ld=function(){WK(this);$n((Xn(),Yn),new vL(this))};_.b=null;_.c=null;_.d=null;function wL(a){CK();tL.call(this,a)}u(619,620,Qh,wL);_.dg=function(){Tv(this.f,"150px");ID(new xL(this),this.f)};_.eg=function(){sL(this);this.k+=" Or drag and drop a file on it."};
|
554
|
+
function xL(a){this.b=a;this.c=new yL(this);this.d=this.e=1}u(621,473,{},xL);_.b=null;function yL(a){this.b=a}u(622,1,{},yL);_.Je=function(a){this.b.b.f.pb[ch]=null!=a?a:l};_.b=null;function FC(){new Ks}u(623,445,{},FC);function uL(a){this.b=a}u(624,1,{},uL);_.Lc=function(){if(this.b.d){var a=this.b.d,b;b=new RC(a.b,0,ko(this.b.f.pb,ch));PD(a.b.b,b.b)}JK(this.b,!1)};_.b=null;function vL(a){this.b=a}u(625,1,{},vL);_.xc=function(){Yv(this.b.f.pb,!0);this.b.f.pb.focus()};_.b=null;
|
555
|
+
function Ir(a){var b;a&&a&&(a=new zL(a),void 0!=$wnd.FileReader?b=new wL(a):b=new tL(a),$I(b),aJ(b))}function zL(a){this.b=a}u(627,1,{},zL);_.b=null;function jr(a,b){a.onloadend=function(a){b.Je(a.target.result)}}function MD(a){this.b=a}u(632,1,{},MD);_.b=null;function JD(){}u(633,1,{},JD);function KD(){}u(634,1,{},KD);function LD(){}u(635,1,{},LD);
|
556
|
+
function RB(a,b){fK();jA.call(this);this.d=new AL(a);var c=this.c=new Xx,d=(Cx(),Nx);c.b=d;Ux(this.c,this.e);HK(this.d,this.c);this.d.b=this;this.b=b}u(636,613,{},RB);_.ye=function(){return this.d};_.Tf=function(){return this.c.ob};_.Id=function(){JK(this.d,!1)};_.Xf=function(){};_.Zf=function(a){nK(this,a);oK(this,a);$I(this.d);WK(this.d)};_.b=null;_.c=null;_.d=null;function AL(a){CK();XK.call(this,(qL(),rL),a,!1)}u(637,615,Qh,AL);
|
557
|
+
_.Id=function(){var a=this.b,b=new KB(a.b,201),c;a=a.b.r;a.b?a=new BL(new Oi(a.b)):(a=(Ss(),Ss(),Ts),a=new Oi(a));for(;a._c();)c=a.ad(),201==b.e&&VH(c.b)};_.b=null;function nC(){fK();jK.call(this);var a=this.b=new CL;a.ab=!0;a.b.i=!0;this.b.db=!0}u(638,604,{},nC);_.ye=function(){return this.b};_.b=null;function eD(){}u(645,461,{},eD);function BL(a){if(!a)throw new Bn;this.b=a}u(646,1,{},BL);_._c=function(){return kD(this.b)};_.ad=function(){return Pi(this.b)};
|
558
|
+
_.bd=function(){throw new oD("Missing message: awt.50");};_.b=null;function IA(){return IA()}function cD(){cD=x;var a;a=(UC(),VC["os.encoding"]);if(null!=a)try{if(H("UTF-8",a)||H("ISO-8859-1",a)||H("ISO-LATIN-1",a))y(DL,m,-1,0,1);else throw new ZG(a+" is not supported");}catch(b){if(b=Ui(b),!A(b,132))throw b;}}function gC(a,b){a.b=31*a.b+Dt((new qH(b)).b)}function DA(){}u(649,1,{},DA);_.hC=function(){return this.b};_.b=1;
|
559
|
+
function OK(a){var b;b=y(M,s,-1,4,1);b[0]=EL(FL(a,"borderTopWidth"));b[1]=EL(FL(a,"borderRightWidth"));b[2]=EL(FL(a,"borderBottomWidth"));b[3]=EL(FL(a,"borderLeftWidth"));return b}function GL(a){var b,c;c=HL(a);b=OK(a);a=new Mq(a.clientWidth,a.clientHeight);a.c+=b[1]+b[3]+(c[1]+c[3]);a.b+=b[0]+b[2]+(c[0]+c[2]);return a}function Lq(a){return new Mq(a.clientWidth,a.clientHeight)}
|
560
|
+
function HL(a){var b;b=y(M,s,-1,4,1);b[0]=EL(FL(a,"marginTop"));b[1]=EL(FL(a,"marginRight"));b[2]=EL(FL(a,"marginBottom"));b[3]=EL(FL(a,"marginLeft"));return b}function IL(a){var b;b=y(M,s,-1,4,1);b[0]=EL(FL(a,"paddingTop"));b[1]=EL(FL(a,"paddingRight"));b[2]=EL(FL(a,"paddingBottom"));b[3]=EL(FL(a,"paddingLeft"));return b}function JL(a,b,c){try{H(b,oe)&&(b=Nd),a.style[b]=c}catch(d){if(d=Ui(d),!A(d,124))throw d;}}
|
561
|
+
function wK(a,b){var c;KL||(KL=$doc.createElement(Cg),JL(KL,Ze,l),JL(KL,Tg,l),JL(KL,$f,Yc),JL(KL,eh,Je),$doc.body.appendChild(KL));JL(KL,hh,a);JL(KL,Ie,a);c=GL(KL);return b?c.c:c.b}var KL=null;function LL(){Mq.call(this,0,0)}function Mq(a,b){this.c=a;this.b=b}function UK(a){Mq.call(this,a.c,a.b)}u(651,1,ti,LL,Mq,UK);_.eQ=function(a){return this===a?!0:null==a||ML!=Jn(a)||this.b!=a.b||this.c!=a.c?!1:!0};_.hC=function(){var a;a=31+this.b;return a=31*a+this.c};
|
562
|
+
_.tS=function(){return"Dimension [height="+this.b+", width="+this.c+Uc};_.b=0;_.c=0;function NL(a){this.e=a[0];this.c=a[3];this.b=a[2];this.d=a[1]}u(652,1,{117:1,120:1,141:1},NL);_.eQ=function(a){return a===this?!0:A(a,141)?a.c==this.c&&a.b==this.b&&a.d==this.d&&a.e==this.e:!1};_.hC=function(){var a;a=213+this.e;a=71*a+this.c;a=71*a+this.b;return a=71*a+this.d};_.tS=function(){return OL.e+"[left="+this.c+",top="+this.e+",right="+this.d+",bottom="+this.b+Uc};_.b=0;_.c=0;_.d=0;_.e=0;
|
563
|
+
function PL(a,b){this.b=a;this.c=b}u(653,1,ti,PL);_.eQ=function(a){return this===a?!0:null==a||QL!=Jn(a)||this.b!=a.b||this.c!=a.c?!1:!0};_.hC=function(){var a;a=31+this.b;return a=31*a+this.c};_.tS=function(){return QL.e+"[x="+this.b+",y="+this.c+Uc};_.b=0;_.c=0;function dL(){this.c=this.b=this.e=this.d=0}u(654,1,ti,dL);_.eQ=function(a){return this===a?!0:null==a||RL!=Jn(a)||this.b!=a.b||this.c!=a.c||this.d!=a.d||this.e!=a.e?!1:!0};
|
564
|
+
_.hC=function(){var a;a=31+this.b;a=31*a+this.c;a=31*a+this.d;return a=31*a+this.e};_.tS=function(){return RL.e+"[x="+this.d+",y="+this.e+",width="+this.c+",height="+this.b+Uc};_.b=0;_.c=0;_.d=0;_.e=0;function FL(a,b){if(document.defaultView&&document.defaultView.getComputedStyle){var c=null;b==oe&&(b=Nd);var d=a.ownerDocument.defaultView.getComputedStyle(a,l);d&&(c=d[b]);return c||a.style[b]||l}return el.style[b]||l}u(656,1,{});var SL=-1;function TL(){}u(657,656,{},TL);_.b=-1;_.c=-1;var UL=null;
|
565
|
+
function EL(a){a=parseInt(a,10);a=isNaN(a)?null:gF(a);return!a?0:a.b}u(660,325,{46:1,48:1,57:1,61:1,69:1,71:1,72:1,75:1,80:1,82:1,143:1,149:1});_.$f=function(){return Pq(this.i)};_._f=function(a){AK(this.i,a)};_.ag=function(){Tq(this.i)};_.Od=function(){Tq(this.i)};_.od=function(a){var b=this.i;b.pb.style[Ie]=a;b.kb||(b.i=a)};_.qd=function(a){var b=this.i;b.pb.style[hh]=a;b.kb||(b.j=a)};function DK(){DK=x;EK()}function PB(a,b){a.b.pb.textContent=b||l;AK(a.i,null)}
|
566
|
+
function VL(a){DK();var b;kx(this,new ZK);this.b=new WL;b=this.i;XL(b,new YL);JL(b.pb,Xf,bb);b.p=0;jL(b,this.b,new kL(0),b.q.d);this.b.ld()[xd]="mosaic-Caption-text";this.b.pb.textContent=a||l;AK(this.i,null);this.pb[xd]="mosaic-Caption"}u(659,660,{16:1,19:1,20:1,35:1,36:1,37:1,38:1,39:1,40:1,46:1,48:1,57:1,61:1,67:1,68:1,69:1,71:1,72:1,75:1,79:1,80:1,82:1,143:1,149:1},VL);_.Qc=function(a){return B(this,a,(Or(),Or(),Pr))};_.Rc=function(a){return B(this,a,(yj(),yj(),zj))};
|
567
|
+
_.Sc=function(a){return B(this,a,(Sr(),Sr(),Tr))};_.Tc=function(a){return B(this,a,(Aj(),Aj(),Bj))};_.c=null;function EK(){EK=x;ZL=Sn()+"40BAF81124143A595056A9CCA0E9DBBA.cache.png";new sz(ZL,240,20);new sz(ZL,224,16);new sz(ZL,208,16);new sz(ZL,192,16);new sz(ZL,176,16);new sz(ZL,160,16);new sz(ZL,144,16);new sz(ZL,128,16);new sz(ZL,112,16);new sz(ZL,96,16);new sz(ZL,80,16);new sz(ZL,64,16);new sz(ZL,260,16);FK=new sz(ZL,48,16);new sz(ZL,32,16);new sz(ZL,16,16);new sz(ZL,0,16)}var ZL,FK;
|
568
|
+
function $L(a,b){Yv(a.b.pb,!b);AK(a.i,a.b)}function Nq(a,b){a.d=b;Yv(a.b.pb,!b);AK(a.i,a.b);if(a.e){var c;for(c=new Oi(a.e);c.c<c.e.Fe();)Pi(c)}}function eL(a){var b;kx(this,new ZK);b=this.i;XL(b,new aM((bM(),cM)));b.p=0;this.c=new VL(a);jL(b,this.c,new kL(1),b.q.d);this.b=new ZK;hj(this.b,"Body");jL(b,this.b,new kL(0),b.q.d);this.pb[xd]="mosaic-CaptionLayoutPanel"}u(662,660,{46:1,48:1,57:1,61:1,69:1,70:1,71:1,72:1,75:1,80:1,82:1,143:1,149:1},eL);_.rd=function(){bw(this.i)};_.sd=function(){ew(this.i)};
|
569
|
+
_.Bd=function(){return new iw(this.b)};_.yd=function(a){return BK(this.b,a)};_.b=null;_.c=null;_.d=!1;_.e=null;function gL(){LH(this)}u(663,537,Sh,gL);function YK(a){this.b=a}u(664,1,$h,YK);_.xc=function(){Tq(this.b.T.jb)};_.b=null;function dM(a){var b;b=a.c;a=b.r;b=!a.f?-1:Hj(a.f.b,b);a.f&&Tu(a.f.b,b)&&Wu(a.f.b,b);b=!a.f?0:a.f.b.d;0<b&&sF(!a.f?null:Tu(a.f.b,b-1))}function eM(a){var b;b=a.b;a=b.r;!a.f&&(a.f=new iA);-1==Hj(a.f.b,b)&&cj(a.f.b,b)}function SK(){}u(665,1,{},SK);_.Uc=function(a){dM(a)};
|
570
|
+
_.Vc=function(a){eM(a)};_.Xc=function(a){fM(a.b.r,a.b)};function qL(){qL=x;gM=new hM(1,"e");iM=new hM(2,Gf);jM=new hM(3,"ne");kM=new hM(10,"nw");lM=new hM(4,sg);mM=new hM(5,vg);nM=new hM(12,"sw");oM=new hM(8,"w");rL=new pM((pj(),qj(null)).pb)}function KK(a,b){var c;c=OK(a.pb);return new PL(ek(b.pb)-(ek(a.pb)+c[3]),gk(b.pb)-(gk(a.pb)+c[0]))}
|
571
|
+
function qM(a){var b,c,d,e,f,g;if(a.f){b=Lq(a.pb);for(d=0,e=a.f.b.d;d<e;++d)g=Tu(a.f.b,d),c=new Mq(G(g.pb,Rf),G(g.pb,Qf)),f=KK(a,g),f.b-=Nj(0,f.b+G(g.pb,Rf)-b.c),f.c-=Nj(0,f.c+G(g.pb,Qf)-b.b),XH(g,Nj(0,f.b),Nj(0,f.c)),c.c=c.c>b.c?b.c:-1,c.b=c.b>b.b?b.b:-1,TK(g,c.c,c.b),g.O==(Jq(),Kq)&&Rq(g,new UK(Lq(a.pb))),rk(g.z,1)}}function rM(a,b,c){a=a.e;Si(a,b,b);z(a.d,b,c);hj(b,Ac+c.c)}
|
572
|
+
function Qq(a,b){var c;c=a.e;sM(c,b.H);gj(b.H,Ac+kM.c);sM(c,b.D);gj(b.D,Ac+iM.c);sM(c,b.E);gj(b.E,Ac+jM.c);sM(c,b.N);gj(b.N,Ac+oM.c);sM(c,b.v);gj(b.v,Ac+gM.c);sM(c,b.M);gj(b.M,Ac+nM.c);sM(c,b.K);gj(b.K,Ac+lM.c);sM(c,b.L);gj(b.L,Ac+mM.c)}
|
573
|
+
function Sq(a,b){!b.H&&(b.H=MK(b,0,0));rM(a,b.H,kM);!b.D&&(b.D=MK(b,0,1));rM(a,b.D,iM);!b.E&&(b.E=MK(b,0,2));rM(a,b.E,jM);!b.N&&(b.N=MK(b,1,0));rM(a,b.N,oM);!b.v&&(b.v=MK(b,1,2));rM(a,b.v,gM);!b.M&&(b.M=MK(b,2,0));rM(a,b.M,nM);!b.K&&(b.K=MK(b,2,1));rM(a,b.K,lM);!b.L&&(b.L=MK(b,2,2));rM(a,b.L,mM)}function fM(a,b){var c,d;a.b=b;d=a.f.b.d;c=Hj(a.f.b,b);if(c+1<d){NA(a.f,b);for(cj(a.f.b,b);c<d;++c)VK(Tu(a.f.b,c),c)}else VK(b,c)}
|
574
|
+
function pM(a){a=new tM(a);kx(this,a);this.d=new uM(a);this.d.j=!0;$i(this.d);this.d.n=3;this.e=new vM(a);this.e.j=!0;$i(this.e);this.e.n=3;mx(this)}u(666,325,{46:1,48:1,57:1,61:1,69:1,71:1,72:1,75:1,80:1,82:1,149:1},pM);_.$f=function(){return Lq(this.pb)};_._f=function(){var a;(a=wM(this))&&a._f(null)};_.ag=function(){qM(this)};_.Uc=function(a){!this.c&&(this.c=new SK);dM(a)};_.Vc=function(a){!this.c&&(this.c=new SK);eM(a)};_.Od=function(){qM(this)};
|
575
|
+
_.Xc=function(a){!this.c&&(this.c=new SK);fM(a.b.r,a.b)};_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;var gM,iM,jM,kM,rL,lM,mM,nM,oM;function tM(a){this.q=new Dw(this);this.pb=a}u(667,305,mi,tM);function hM(a,b){this.b=a;this.c=b}u(668,1,{},hM);_.b=0;_.c=null;function uM(a){Ki();dj.call(this,a)}u(669,3,{},uM);_.rc=function(){var a;a=this.k.f;a.C||dk(a.x);gj(this.k.f,"dragdrop-dragging");!a.I.d&&$L(a.I,!1)};
|
576
|
+
_.tc=function(){var a,b;a=this.k.c;b=this.k.d;this.j&&(a=Nj(this.b,a<this.e?a:this.e),b=Nj(this.c,b<this.d?b:this.d));var c=this.k.f.pb;c.style[Ze]=a+(Cj(),cg);c.style[Tg]=b+cg};
|
577
|
+
_.sc=function(){var a;a=this.k.f;a==a.r.b||sF(a);a.I.d||$L(a.I,!0);a.C||(a.x||(a.x=new xM,hj(a.x,"mosaic-GlassPanel-invisible")),JL(a.x.pb,jh,FL(a.pb,jh)),oj((pj(),qj(null)),a.x,0,0));hj(this.k.f,"dragdrop-dragging");a=new Kj(this.k.b,null);this.b=a.b+fk(this.k.b.pb);this.c=a.e+hk(this.k.b.pb);this.e=this.b+jk(this.k.b.pb)-this.k.f.kd();this.d=this.c+ik(this.k.b.pb)-this.k.f.jd()};_.b=0;_.c=0;_.d=0;_.e=0;function sM(a,b){try{Wi(a,b)}catch(c){if(c=Ui(c),!A(c,124))throw c;}}
|
578
|
+
function vM(a){Ki();dj.call(this,a);this.d=new Mi}u(670,3,{},vM);_.rc=function(){var a;a=this.k.f.ob;a.C||dk(a.x);gj(this.k.f,"dragdrop-dragging");$L(a.I,!1);Oq(a,new Mq(a.q,a.p));rk(a.z,1)};
|
579
|
+
_.tc=function(){var a,b,c,d;d=this.k.f.ob;c=lj(this.k.e.d,this.k.f).b;0!=(c&2)?(b=this.j?this.k.f.hd()-Nj(this.k.d,this.c):this.k.f.hd()-this.k.d,0!=b&&(a=d.p,b=Nj(a+b,G(d.I.c.pb,Qf)),b!=a&&LK(d,0,a-b),Oq(d,new Mq(d.q,b)),rk(d.z,333))):0!=(c&4)&&(b=this.j?(this.k.d<this.e?this.k.d:this.e)-this.k.f.hd():this.k.d-this.k.f.hd(),0!=b&&(a=d.p,b=Nj(a+b,G(d.I.c.pb,Qf)),Oq(d,new Mq(d.q,b)),rk(d.z,333)));0!=(c&8)?(b=this.j?this.k.f.gd()-Nj(this.k.c,this.b):this.k.f.gd()-this.k.c,0!=b&&(a=d.q,b=96<a+b?a+b:
|
580
|
+
96,b!=a&&LK(d,a-b,0),Oq(d,new Mq(b,d.p)),rk(d.z,333))):0!=(c&1)&&(b=this.j?(this.k.c<this.f?this.k.c:this.f)-this.k.f.gd():this.k.c-this.k.f.gd(),0!=b&&(a=d.q,Oq(d,new Mq(96<a+b?a+b:96,d.p)),rk(d.z,333)))};
|
581
|
+
_.sc=function(){var a;a=this.k.f.ob;a==a.r.b||sF(a);$L(a.I,!0);a.C||(a.x||(a.x=new xM,hj(a.x,"mosaic-GlassPanel-invisible")),JL(a.x.pb,jh,FL(a.pb,jh)),oj((pj(),qj(null)),a.x,0,0));hj(this.k.f,"dragdrop-dragging");a=new Kj(this.k.b,null);this.b=a.b+fk(this.k.b.pb);this.c=a.e+hk(this.k.b.pb);this.f=this.b+jk(this.k.b.pb)-this.k.f.kd();this.e=this.c+ik(this.k.b.pb)-this.k.f.jd()};_.b=0;_.c=0;_.e=0;_.f=0;
|
582
|
+
function xM(){var a;this.e=new yM(this);this.b=!1;this.c=new Hw;kx(this,this.c);a=this.pb.style;a[ld]="#000";a[ne]="alpha(opacity=50)";a.opacity="0.5";this.pb[xd]="gwt-GlassPanel"}u(671,325,Xh,xM);
|
583
|
+
_.ud=function(){var a;mx(this);try{a=this.ob}catch(b){b=Ui(b);if(A(b,130))throw new cw("Parent widget must be an instance of AbsolutePanel");throw b;}a==(pj(),qj(null))?(Mu(this),a=this.e,a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d),bj(yk,a),a.c=!0,a.d=Gk(a),cj(yk,a),this.d=new zM(this),pv(new Lu(this.d))):(this.pb.style[qd]=bb,this.pb.style[lg]=bb);this.b&&dv(new Ku(this));oj(qj(null),new AM,po($doc),qo($doc))};
|
584
|
+
_.vd=function(){this.i.vd();lk(this.e);this.d&&(Iu(nv,this.d,K(BM,m,47,[(!ws&&(ws=new Dk),ws)])),this.d=null);this.b&&Iu(fv,this,K(BM,m,47,[(!ev&&(ev=new Dk),ev)]))};_.dd=function(a){switch(av(a.type)){case 256:if(27==(a.keyCode||0))return dk(this),!1;case 1:if(this.pb.contains(a.target))return dk(this),!1}return!0};_.wd=function(){};_.b=!1;_.c=null;_.d=null;function yM(a){xk();this.b=a}u(672,24,{},yM);_.Dc=function(){Mu(this.b)};_.b=null;function zM(a){this.b=a}u(673,1,{},zM);_.b=null;
|
585
|
+
function AM(){this.pb=px();var a;a=new ky(new CM(this));B(this,a,(oq(),oq(),pq));B(this,a,(kr(),kr(),lr))}u(674,327,fi,AM);_.wd=function(){Ij(new DM(this))};function CM(a){this.b=a}u(675,1,{},CM);_.b=null;function DM(a){this.b=a}u(676,1,$h,DM);_.xc=function(){this.b.pb.focus()};_.b=null;function EM(a){a.pb.style[hh]=kd;a.pb.style[Ie]=kd;if(a.kb){var a=a.ob,b;A(a,149)?a._f(null):(b=wM(a))&&b._f(a)}}u(678,308,{46:1,48:1,57:1,68:1,69:1,72:1,75:1,76:1,79:1,80:1,82:1,149:1});
|
586
|
+
_.$f=function(){EM(this);return new Mq(G(this.pb,Rf),G(this.pb,Qf))};_._f=function(){EM(this)};_.ag=function(){};_.cd=function(){};_.Od=function(){};function WL(){this.pb=$doc.createElement("label");this.pb[xd]="mosaic-Label";this.pb.style[gh]=Mf;this.pb[xd]="mosaic-HTML"}u(677,678,{46:1,48:1,57:1,67:1,68:1,69:1,72:1,75:1,76:1,79:1,80:1,82:1,149:1},WL);function hL(a){kx(this,new FM(a));this.pb[xd]="mosaic-ImageButton"}u(679,325,{19:1,46:1,48:1,57:1,61:1,69:1,71:1,72:1,76:1,80:1,82:1},hL);
|
587
|
+
function CL(){var a=(Uw(),Xw);Ow.call(this,!0,lf);this.U=a.b;this.b=new GM(this);this.b.e=!0;Ew(this,this.b);this.ab=!0;this.b.i=!0;if(-1==this.lb){var a=this.pb,b=1|(this.pb.__eventBits||0);sj();Mv(a,b)}else this.lb|=1;no(mo(this.pb))[xd]=Fe;this.pb.style[jh]="2147483647"}u(680,310,mi,CL);_.cd=function(a){dw(this,a);1==av(a.type)&&Jw(this,!1)};_.b=null;
|
588
|
+
function GM(a){this.c=a;this.d=new ij;this.j=new ij;a=(Cy(),By);new rz(a.e,a.c,a.d,a.f,a.b);var b;b=$doc.createElement(Hg);this.f=$doc.createElement(Kg);Xu(b,this.f);this.p=!0;a=px();b=(Yu(),Zu(b));a.appendChild(b);this.pb=a;El();this.pb.setAttribute("role",hm.b);-1==this.lb?(a=this.pb,b=2225|(this.pb.__eventBits||0),sj(),Mv(a,b)):this.lb|=2225;this.pb[xd]=Ee;a=Vv(this.pb)+"-vertical";Qi(this.ld(),a,!0);this.pb.style[Vf]=bb;this.pb.setAttribute("hideFocus",bh);B(this,new Ay(this),(oq(),oq(),pq))}
|
589
|
+
u(681,349,vi,GM);_.cd=function(a){switch(av(a.type)){case 16:this.b=!1;break;case 32:this.b=!0}ty(this,a)};_.Nd=function(a,b){xy(this,a,b);b||this.b&&Jw(this.c,!1)};_.b=!0;_.c=null;
|
590
|
+
function FM(a){var b=(Cx(),Nx),c=(Qx(),Rx),d;d=new wx;d.i[pd]=ab;d.i[sd]=0;d.i[td]=0;this.b=b;this.c=c;var b=d.e,c=this.b,e=this.c;ux(b.b);b.b.d.rows[0].cells[0][gd]=c.b;ux(b.b);b.b.d.rows[0].cells[0].style[dh]=e.b;ux(d);b=qx(d,0,0,!0);if(a){dk(a);c=d.j;if(c.b){var e=c.b.b,f=c.c,g=e;sx(g,f.d);At(f.c,g,a);c.b=c.b.c}else e=c.c.d,cj(c.c,a);a.pb[Wc]=e;Xu(b,a.pb);gw(a,d)}kx(this,d);Qi(this.pb,"mosaic-WidgetWrapper",!0)}u(682,325,Xh,FM);_.b=null;_.c=null;function $K(a){this.b=a}u(683,1,{},$K);
|
591
|
+
_.Lc=function(){this.b.hb&&this.b!=this.b.r.b&&sF(this.b)};_.b=null;function aL(a){xk();this.b=a}u(684,24,{},aL);_.Dc=function(){Tq(this.b.T.jb);var a=this.b;vs((!a.y&&(a.y=new HM),a.y))};_.b=null;function bL(a){xk();this.b=a}u(685,24,{},bL);_.Dc=function(){PK(this.b,(Jq(),Kq))};_.b=null;function cL(a){xk();this.b=a}u(686,24,{},cL);_.Dc=function(){PK(this.b,(Jq(),QK))};_.b=null;function fL(){}u(687,1,{},fL);function iL(a){this.b=a}u(688,1,{},iL);_.Lc=function(){this.b.Id()};_.b=null;
|
592
|
+
function lL(a){this.b=a}u(689,1,{},lL);_.b=null;function mL(a){this.b=a}u(690,1,$h,mL);_.xc=function(){this.b.O==(Jq(),Kq)?rk(this.b.A,333):this.b.O==QK&&rk(this.b.B,333)};_.b=null;function NK(a){this.pb=a;bw(this)}u(691,308,{16:1,19:1,35:1,36:1,37:1,38:1,39:1,40:1,46:1,48:1,57:1,69:1,72:1,80:1,82:1},NK);_.Qc=function(a){return B(this,a,(Or(),Or(),Pr))};_.Rc=function(a){return B(this,a,(yj(),yj(),zj))};_.Sc=function(a){return B(this,a,(Sr(),Sr(),Tr))};_.Tc=function(a){return B(this,a,(Aj(),Aj(),Bj))};
|
593
|
+
function HM(){Os.call(this,null)}u(692,240,Th,HM);function Jq(){Jq=x;Kq=new IM("MAXIMIZED",0);QK=new IM("MINIMIZED",1);RK=new IM("NORMAL",2);JM=K(KM,m,144,[Kq,QK,RK])}function IM(a,b){I.call(this,a,b)}u(693,140,{117:1,121:1,123:1,144:1},IM);var JM,Kq,QK,RK;function Mu(a){var b,c,d,e;c=wj();b=xj();e=(Nv(),Ov).scrollWidth;d=Ov.scrollHeight;c=c>e?c:e;b=b>d?b:d;0<=c-1&&(a.pb.style[hh]=c-1+cg);0<=b-1&&(a.pb.style[Ie]=b-1+cg)}
|
594
|
+
function LM(a,b){var c,d,e;if(a.n)return!0;a.y.Qe();for(c=new iw(b);c.b.b<c.b.c.d-1;)d=zK(jw(c.b)),e=d.ob,A(e,150)&&e.pd(d.md()),d.md()&&cj(a.y,d);return!0}
|
595
|
+
function MM(a,b){var c,d,e;if(b.b)a.d&&kk(a.d),a.d=new NM(a,b),mk(a.d,333);else for(d=new Oi(a.y);d.c<d.e.Fe();)c=Pi(d),e=c.nb,Aw(b,OM(c),e.t,e.u),PM(c,e.v,e.s,K(M,s,-1,[QM(a.r.b,c).e,QM(a.q.b,c).d,QM(a.o.b,c).b,QM(a.p.b,c).c]),K(M,s,-1,[RM(a.j.b,c).e,RM(a.i.b,c).d,RM(a.e.b,c).b,RM(a.f.b,c).c]),K(M,s,-1,[SM(a.v,c),SM(a.u,c),SM(a.s,c),SM(a.t,c)]))}
|
596
|
+
function TM(){this.y=new ij;this.k=new UM(this);this.x=new VM(this.k);this.w=new WM(this.k);this.r=new XM(this.k);this.q=new YM(this.k);this.o=new ZM(this.k);this.p=new $M(this.k);this.j=new aN(this.k);this.i=new bN(this.k);this.e=new cN(this.k);this.f=new dN(this.k);this.v=new eN(this.k);this.u=new eN(this.k);this.s=new eN(this.k);this.t=new eN(this.k)}u(696,1,{});_.fg=function(a){MM(this,a)};_.d=null;_.e=null;_.f=null;_.i=null;_.j=null;_.k=null;_.n=!1;_.o=null;_.p=null;_.q=null;_.r=null;_.s=null;
|
597
|
+
_.t=null;_.u=null;_.v=null;_.w=null;_.x=null;function fN(a){var b;b=a.b;var c=a.c,d,e,f;for(e=new Oi(b.y);e.c<e.e.Fe();)d=Pi(e),A(d,62)&&(d=d.jb),f=d.nb,Aw(c,OM(d),f.t,f.u),PM(d,f.v,f.s,K(M,s,-1,[QM(b.r.b,d).e,QM(b.q.b,d).d,QM(b.o.b,d).b,QM(b.p.b,d).c]),K(M,s,-1,[RM(b.j.b,d).e,RM(b.i.b,d).d,RM(b.e.b,d).b,RM(b.f.b,d).c]),K(M,s,-1,[SM(b.v,d),SM(b.u,d),SM(b.s,d),SM(b.t,d)]));gN(c);a.b.d=null;for(a=new Oi(a.b.y);a.c<a.e.Fe();)b=Pi(a),A(b,62)&&(b=b.jb),b=b.nb,b.p=b.q=b.r=b.o=-1}
|
598
|
+
function NM(a,b){this.b=a;this.c=b;var c=(tk(),uk);this.n=new sk(this);this.t=c}u(697,17,{},NM);_.yc=function(){fN(this)};_.zc=function(){fN(this)};
|
599
|
+
_.Bc=function(a){var b,c,d;for(c=new Oi(this.b.y);c.c<c.e.Fe();)b=Pi(c),A(b,62)&&(b=b.jb),d=b.nb,d.j=Dt(d.p+(d.t-d.p)*a),d.w=Dt(d.q+(d.u-d.q)*a),d.x=Dt(d.r+(d.v-d.r)*a),d.i=Dt(d.o+(d.s-d.o)*a),Aw(this.c,OM(b),d.j,d.w),PM(b,d.x,d.i,K(M,s,-1,[QM(this.b.r.b,b).e,QM(this.b.q.b,b).d,QM(this.b.o.b,b).b,QM(this.b.p.b,b).c]),K(M,s,-1,[RM(this.b.j.b,b).e,RM(this.b.i.b,b).d,RM(this.b.e.b,b).b,RM(this.b.f.b,b).c]),K(M,s,-1,[SM(this.b.v,b),SM(this.b.u,b),SM(this.b.s,b),SM(this.b.t,b)]))};_.b=null;_.c=null;
|
600
|
+
u(699,1,{});_.b=null;function cN(a){this.b=a}u(698,699,{},cN);function dN(a){this.b=a}u(700,699,{},dN);function bN(a){this.b=a}u(701,699,{},bN);function aN(a){this.b=a}u(702,699,{},aN);function ZM(a){this.b=a}u(703,699,{},ZM);function $M(a){this.b=a}u(704,699,{},$M);function YM(a){this.b=a}u(705,699,{},YM);function XM(a){this.b=a}u(706,699,{},XM);u(707,699,{},function(a){this.b=a});u(708,699,{},function(a){this.b=a});
|
601
|
+
function SM(a,b){var c=a.b,d;d=lj(c.e,b);d||(d=new NL(IL(b.pb)),z(c.e,b,d));return d.e}function eN(a){this.b=a}u(709,699,{},eN);function WM(a){this.b=a}u(710,699,{},WM);function VM(a){this.b=a}u(711,699,{},VM);function RM(a,b){var c;c=lj(a.b,b);c||(c=new NL(OK(b.pb)),z(a.b,b,c));return c}function QM(a,b){var c;c=lj(a.c,b);c||(c=new NL(HL(b.pb)),z(a.c,b,c));return c}
|
602
|
+
function hN(a,b){var c,d;d=lj(a.f,b);if(!d){c=b.nb;a:{d=a.i;var e=wM(b),f,g,j,h,n;if(A(b,149)){if(null!=c.n&&null!=c.k){d=new Mq(iN(e,!0),iN(e,!1));break a}h=b.$f();null!=c.n&&(h.c=iN(e,!0));null!=c.k&&(h.b=iN(e,!1))}else{if(null!=c.n&&null!=c.k){d=new Mq(iN(e,!0),iN(e,!1));break a}h=new LL;f=b.pb;n=f.style;g=n[$f];j=n[eh];n[$f]="static";n[eh]=Je;null!=c.n?h.c=iN(e,!0):(n[hh]=kd,h.c=(f.offsetWidth||0)+QM(d.p.b,b).c+QM(d.q.b,b).d);null!=c.k?h.b=iN(e,!1):(n[Ie]=kd,h.b=(f.offsetHeight||0)+QM(d.r.b,b).e+
|
603
|
+
QM(d.o.b,b).b);n[$f]=g;n[eh]=j}d=h}null!=c.n&&(Cj(),Np)==c.n.hg()||null!=c.k&&(Cj(),Np)!=c.k.hg()||z(a.f,b,d)}return d}function UM(a){this.i=a;this.d=new Mi;this.f=new Mi;this.c=new Mi;this.b=new Mi;this.e=new Mi}u(712,1,{},UM);_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.i=null;function jN(a){var b;b=a.nb;if(null==b||!A(b,147))b=new kN,a.nb=b;return b}function YL(){aM.call(this,(bM(),lN))}function aM(a){var b=(mN(),nN);TM.call(this);this.c=a;this.b=b}u(713,696,{},YL,aM);
|
604
|
+
_.gg=function(a){var b,c,d,e,f,g,j,h,n;h=new LL;LM(this,a);n=QM(this.p.b,a).c+QM(this.q.b,a).d+RM(this.f.b,a).c+RM(this.i.b,a).d+SM(this.t,a)+SM(this.u,a);d=QM(this.r.b,a).e+QM(this.o.b,a).b+RM(this.j.b,a).e+RM(this.e.b,a).b+SM(this.v,a)+SM(this.s,a);c=this.y.d;if(0==c)return h.c=n,h.b=d,h;a=a.p;this.c==(bM(),lN)?n+=(c-1)*a:d+=(c-1)*a;f=g=0;for(a=new Oi(this.y);a.c<a.e.Fe();)c=Pi(a),e=jN(c),b=null,j=c.ob,A(j,150)&&(b=j,b=oN(b),b=new Mq(b[1]+b[3],b[0]+b[0])),this.c==lN?(n+=hN(this.x.b,c).c,e.b=hN(this.w.b,
|
605
|
+
c).b,A(j,150)&&(n+=b.c,e.b+=b.b),f=Nj(f,e.b)):(d+=hN(this.w.b,c).b,e.c=hN(this.x.b,c).c,A(j,150)&&(d+=b.b,e.c+=b.c),g=Nj(g,e.c));this.c==lN?(h.c=n,h.b=d+f):(h.c=n+g,h.b=d);return h};
|
606
|
+
_.fg=function(a){var b,c,d,e,f,g,j,h,n,o,r,q,t,v,D,E,J,Q;if(LM(this,a)&&(d=this.y.d,0!=d)){D=a.p;t=SM(this.t,a);E=SM(this.v,a);c=Lq(a.pb);Q=c.c-(t+SM(this.u,a));r=c.b-(E+SM(this.s,a));g=Q;c=r;this.c==(bM(),lN)?g-=(d-1)*D:c-=(d-1)*D;j=h=0;for(e=new Oi(this.y);e.c<e.e.Fe();)d=Pi(e),b=null,q=jN(d),v=d.ob,A(v,150)&&(b=v,b=oN(b),b=new Mq(b[1]+b[3],b[0]+b[0])),this.c==lN?(q.e?++h:(q.c=hN(this.x.b,d).c,A(v,150)&&(q.c+=b.c),g-=q.c),q.d?q.b=r:(q.b=hN(this.w.b,d).b,A(v,150)&&(q.b+=b.b))):(q.d?++j:(q.b=hN(this.w.b,
|
607
|
+
d).b,A(v,150)&&(q.b+=b.b),c-=q.b),q.e?q.c=Q:(q.c=hN(this.x.b,d).c,A(v,150)&&(q.c+=b.c)));for(e=new Oi(this.y);e.c<e.e.Fe();)d=Pi(e),b=null,q=d.nb,v=d.ob,A(v,150)&&(b=v,b=oN(b),b=new Mq(b[1]+b[3],b[0]+b[0])),J=q.c,o=q.b,this.c==lN?q.e&&(J=~~(g/h)):q.d&&(o=~~(c/j)),E=0>E?0:E,n=J,f=o,A(v,150)&&(n-=b.c,f-=b.b),this.c==cM?(q.t=this.b==(mN(),nN)?t:this.b==pN?t+~~(Q/2)-~~(J/2):t+Q-J,q.u=E,q.v=n,q.s=f,E+=o+D):(this.b==(mN(),nN)?(q.t=t,q.u=E):this.b==pN?(q.t=t,q.u=E+~~(r/2)-~~(o/2)):(q.t=t,q.u=E+r-o),q.v=
|
608
|
+
n,q.s=f,t+=J+D),a.b&&(v=d.gd()-ek(a.pb)-SM(this.t,a),-1==q.p&&(q.p=v),v=d.hd()-gk(a.pb)-SM(this.v,a),-1==q.q&&(q.q=v),-1==q.r&&(q.r=d.kd()),-1==q.o&&(q.o=d.jd()));MM(this,a)}};_.b=null;_.c=null;function mN(){mN=x;nN=new qN("START",0);pN=new qN(Db,1);rN=new qN("END",2);sN=K(tN,m,145,[nN,pN,rN])}function qN(a,b){I.call(this,a,b)}u(714,140,{117:1,121:1,123:1,145:1},qN);var sN,pN,rN,nN;function bM(){bM=x;lN=new uN("HORIZONTAL",0);cM=new uN("VERTICAL",1);vN=K(wN,m,146,[lN,cM])}
|
609
|
+
function uN(a,b){I.call(this,a,b)}u(715,140,{117:1,121:1,123:1,146:1},uN);var vN,lN,cM;u(717,1,{151:1});_.f=!1;_.i=0;_.j=0;_.k=null;_.n=null;_.o=0;_.p=0;_.q=0;_.r=0;_.s=0;_.t=0;_.u=0;_.v=0;_.w=0;_.x=0;function kN(){this.f=!1}function kL(a){this.f=!1;0==a?this.d=this.e=!0:1==a?this.e=!0:2==a&&(this.d=!0)}u(716,717,{147:1,151:1},kN,kL);_.b=0;_.c=0;_.d=!1;_.e=!1;
|
610
|
+
function xN(a,b){if(a.n)return!0;LM(a,b);if(0<a.y.d){a.b=Tu(a.y,0);var c=a.b,d;d=c.nb;if(null==d||!A(d,148))d=new yN,c.nb=d;a.c=d;a.y.Qe();cj(a.y,a.b)}else a.b=null,a.c=null;return a.n=!!a.b}function zN(){TM.call(this)}u(718,696,{},zN);
|
611
|
+
_.gg=function(a){var b,c;c=new LL;xN(this,a);if(this.b){b=hN(this.x.b,this.b).c;var d=hN(this.w.b,this.b).b;c.c=b;c.b=d;b=this.b.ob;A(b,150)&&(b=oN(b),c.c+=b[1]+b[3],c.b+=b[0]+b[0])}c.c+=QM(this.p.b,a).c+QM(this.q.b,a).d+RM(this.f.b,a).c+RM(this.i.b,a).d+SM(this.t,a)+SM(this.u,a);c.b+=QM(this.r.b,a).e+QM(this.o.b,a).b+RM(this.j.b,a).e+RM(this.e.b,a).b+SM(this.v,a)+SM(this.s,a);return c};
|
612
|
+
_.fg=function(a){var b,c,d,e,f;xN(this,a)&&(d=SM(this.t,a),e=SM(this.v,a),c=Lq(a.pb),f=c.c-(d+SM(this.u,a)),c=c.b-(e+SM(this.s,a)),b=this.b.ob,A(b,150)&&(b=oN(b),f-=b[1]+b[3],c-=b[0]+b[2]),this.c.t=d,this.c.v=f,this.c.u=e,this.c.s=c,a.b&&(d=this.c,e=this.b.gd()-ek(a.pb)-SM(this.t,a),-1==d.p&&(d.p=e),d=this.c,e=this.b.hd()-gk(a.pb)-SM(this.v,a),-1==d.q&&(d.q=e),d=this.c,-1==d.r&&(d.r=this.b.kd()),d=this.c,-1==d.o&&(d.o=this.b.jd())),MM(this,a))};_.b=null;_.c=null;function yN(){this.f=!1}
|
613
|
+
u(719,717,{148:1,151:1},yN);function oN(a){var b,c,d,e;null==a.b&&(a.b=y(M,s,-1,4,1),e=mo(Cv(Cv(a.d,0),0)),c=mo(Cv(Cv(a.d,2),2)),d=HL(a.pb),b=OK(a.pb),a.b[0]=(e.offsetHeight||0)+b[0]+d[0],a.b[1]=(c.offsetWidth||0)+b[1]+d[1],a.b[2]=(c.offsetHeight||0)+b[2]+d[2],a.b[3]=(e.offsetWidth||0)+b[3]+d[3]);return a.b}function AN(a,b){a.kb&&dk(a);return Fw(a,b)}function BN(){cx();Tw.call(this,dx)}u(720,315,{46:1,48:1,57:1,62:1,69:1,70:1,72:1,80:1,82:1,150:1},BN);_.yd=function(a){return AN(this,a)};_.b=null;
|
614
|
+
function OM(a){var b;b=a.ob;return A(b,150)?b:a}function Pq(a){if(!a.kb)return new LL;if(-1==a.k.c||-1==a.k.b)a.k=a.e.gg(a),Rq(a,a.k),a.e.fg(a),a.k=a.e.gg(a);return a.k}function zK(a){return A(a,150)?a.jb:a}function CN(a){var b;if(!a.o){b=(!UL&&(UL=new TL),UL);var c=DN(a,eb,!0);b.b=c;c=DN(a,fb,!0);b.c=c;a.o=b}return a.o}
|
615
|
+
function yK(a,b,c,d,e){if(A(b,62))throw new Ek("Adding a DecoratorPanel is not allowed!");var f;f=b.nb;null!=f&&A(f,151)&&f.f?(c=new BN,rw(a,c,a.pb,d,!0),Gw(c,b)):rw(a,b,c,d,e);AK(a,b)}function jL(a,b,c,d){b.nb=c;yK(a,b,a.pb,d,!0)}
|
616
|
+
function AK(a,b){var c;c=a.e;if(b){var d=c.k;Xi(d.d,b);Xi(d.f,b);Xi(d.c,b);Xi(d.b,b);Xi(d.e,b)}else d=c.k,Xy(d.d),Xy(d.f),Xy(d.c),Xy(d.b),Xy(d.e);c.n=!1;if(!a.d){a.d=!0;c=a.k;c.c=-1;c.b=-1;c=a.ob;if(c==OM(a))c=c.ob;else{if(A(c,143)||A(c,61))d=c,c=c.ob,c==OM(d)&&(c=c.ob);A(c,150)&&A(c.ob,142)&&(c=c.ob)}A(c,149)&&!A(c,142)&&(c._f(a.ob),c._f(a))}}function Tq(a){a.kb&&a.pb.style.display!=Jf&&(a.pb.scrollTop=0,a.pb.scrollLeft=0,a.e.fg(a),a.d=!1,gN(a))}
|
617
|
+
function gN(a){var b,c,d;c=a.q.d;for(d=0;d<c;++d)b=zK(oz(a.q,d)),A(b,150)&&(b=b.jb),b.md()&&(A(b,149)?b.ag():A(b,75)&&b.Od())}function BK(a,b){var c;A(b,150)&&(b=A(b,150)?b.jb:b);c=OM(b);return yw(a,c)?(A(c,150)&&AN(c,b),AK(a,null),!0):!1}function XL(a,b){var c;a.e=b;null!=a.f&&gj(a,Vv(a.pb)+Ba+a.f);a.f=b.cZ.e;c=vz(a.f,Xv(46));a.f=a.f.substr(c+1,a.f.length-(c+1));hj(a,Vv(a.pb)+Ba+a.f);AK(a,null)}
|
618
|
+
function DN(a,b,c){a.n||(a.n=$doc.createElement(Cg),JL(a.n,$f,Yc),JL(a.n,eh,Je),JL(a.n,Ze,bb),JL(a.n,Tg,bb),a.pb.appendChild(a.n));JL(a.n,hh,b);JL(a.n,Ie,b);a=GL(a.n);return c?a.c:a.b}
|
619
|
+
function iN(a,b){var c;c=null.hg();if(c==(Cj(),Zp)){c=(CN(a),null.hg());var d=(-1==SL&&(SL=wK(gb,!0)),SL);return O(N(Math.round(100*d*c/254)))}if(c==Pp)return c=CN(a),d=null.hg(),O(N(UE(d*(-1==c.b&&(c.b=wK(eb,!0)),c.b))));if(c==Rp)return c=CN(a),d=null.hg(),O(N(UE(d*(-1==c.c&&(c.c=wK(fb,!0)),c.b))));if(c==Xp)return c=(CN(a),null.hg()),d=(-1==SL&&(SL=wK(gb,!0)),SL),O(N(Math.round(d*c)));if(c==aq)return c=(CN(a),null.hg()),d=(-1==SL&&(SL=wK(gb,!0)),SL),O(N(Math.round(10*d*c/254)));if(c==Vp)return O(N(UE(12*
|
620
|
+
(CN(a),null.hg())*O(N(UE((-1==SL&&(SL=wK(gb,!0)),SL)/72))))));if(c==Np)return DN(a,null.hg(),b);if(c==Tp)return c=(CN(a),O(N(UE(null.hg())))),d=(-1==SL&&(SL=wK(gb,!0)),SL),O(N(Math.round(d*c/72)));if(null.hg()==Lp)return O(N(UE(null.hg())));throw new Ek("Invalid size: "+null.hg());}function ZK(){var a=new zN;Cw.call(this);this.k=new Mq(-1,-1);new LN(this);this.pb[xd]="mosaic-LayoutPanel";XL(this,a)}u(721,305,{46:1,48:1,57:1,69:1,70:1,72:1,75:1,80:1,82:1,149:1},ZK);
|
621
|
+
_.Cd=function(a){yK(this,a,this.pb,this.q.d,!0)};_.rd=function(){lw(this,new MN)};_.sd=function(){lw(this,new NN)};_.$f=function(){return Pq(this)};_.zd=function(a){return uw(this.q,OM(a))};_.Ad=function(a,b,c,d){yK(this,a,b,c,d)};_._f=function(a){AK(this,a)};_.Bd=function(){return new iw(this)};_.ag=function(){Tq(this)};
|
622
|
+
_.wd=function(){var a;if(this.c){if(null!=this.j&&null!=this.i)a=this.i,this.qd(this.j),this.od(a),this.j=this.i=null;else if(a=Pq(this),null!=this.j)a=a.b+cg,this.qd(this.j),this.od(a),this.j=null;else if(null!=this.i){var b=this.i;this.qd(a.c+cg);this.od(b);this.i=null}else b=a.b+cg,this.qd(a.c+cg),this.od(b);Tq(this)}};_.Od=function(){Tq(this)};_.yd=function(a){return BK(this,a)};_.od=function(a){this.pb.style[Ie]=a;this.kb||(this.i=a)};_.Dd=function(a,b,c){Aw(this,OM(a),b,c)};
|
623
|
+
_.qd=function(a){this.pb.style[hh]=a;this.kb||(this.j=a)};_.b=!1;_.c=!1;_.d=!0;_.e=null;_.f=null;_.i=null;_.j=null;_.n=null;_.o=null;_.p=4;function MN(){}u(722,1,{},MN);_.Md=function(a){OM(a).ud()};function NN(){}u(723,1,{},NN);_.Md=function(a){OM(a).vd()};function iw(a){this.c=a;this.b=new ww(this.c.q)}u(724,1,{},iw);_._c=function(){return this.b.b<this.b.c.d-1};_.ad=function(){return zK(jw(this.b))};_.bd=function(){kw(this.b)};_.c=null;function ON(){ON=x;new Ix}
|
624
|
+
function LN(a){ON();Qi(a.pb,"dragdrop-dropTarget",!0);this.b=a;new PN(this)}u(725,9,{},LN);function PN(a){xk();this.b=a}u(726,24,{},PN);_.Dc=function(){AK(this.b.b,null);Tq(this.b.b)};_.b=null;function wM(a){a=a.ob;return!a?null:A(a,149)?a:wM(a)}function TK(a,b,c){var d;d=a.pb;PM(a,b,c,HL(d),OK(d),IL(d))}
|
625
|
+
function PM(a,b,c,d,e,f){var g;0<=b&&(b-=d[1]+d[3],g=b-(e[1]+e[3]+f[1]+f[3]),a.qd((0>g?0:g)+(Cj(),cg)),b!=a.kd()&&a.qd((0>b?0:b)+cg));0<=c&&(c-=d[0]+d[2],b=c-(e[0]+e[2]+f[0]+f[2]),a.od((0>b?0:b)+(Cj(),cg)),c!=a.jd()&&a.od((0>c?0:c)+cg))}function Rq(a,b){TK(a,b.c,b.b)}u(729,1,{});
|
626
|
+
function OG(a,b,c){var d,e,f,g,j,h;g=(!b?a.c:pD(a,b,~~Gi(b)))[0][c.length];a=j=d=null;for(b=0,e=!g?0:g.length;b<e;++b){f=g[b];var n;a:{n=f;var o=c,r=void 0,q=void 0,t=void 0,v=q=r=void 0,D=q=void 0,E=void 0,q=void 0;for(t=0,E=o.length;t<E;++t)if(D=n[t+3],v=o[t],r=null==v?Nf:typeof v,r=r==Pf?Object.prototype.toString.call(v)==Sc||typeof v.length==Of?"array":r:r,!H(r,D)&&(!H("string",D)||!H(Nf,r)))if(v=H(Of,r),r=H("boolean",r),QN===D)v&&(o[t]=new qH(o[t])),r&&(o[t]=(aH(),o[t]?dH:bH));else{q=v||r;if(q=
|
627
|
+
!q&&null!=D&&Jn(D)==RN){q=o[t];if(null==q||SN(q,D))continue;if(Hn(q)&&(q=q&&q.g?q.g:null,null!=q&&SN(q,D))){o[t]=q;continue}}if(!H(Pf,D)||v||r){n=!1;break a}}n=!0}if(n){d=f[0];j=f[1];a=f[2];break}}return d?(c=a?a(null,c):c,c=(h=d.apply(null,c),[j?j(h):h])):null}function TN(){this.d=new Mi;this.b=new Mi;this.c=new Mi}function SN(a,b){var c;if(QN==b||UN==b&&A(a,152))return!0;if(null!=a)for(c=Jn(a);c&&c!=QN;c=null)if(c==b)return!0;return!1}u(728,729,{},TN);function LG(){LG=x;NG=new TN}
|
628
|
+
function RG(a,b){LG();z(NG.d,a,b)}function IG(a){LG();var b,c,d;d=uH(a,"\\.");c=$wnd;a=0;for(b=d.length-1;a<b;++a)H(d[a],"client")||(c[d[a]]||(c[d[a]]={}),c=null!=c?c[d[a]]:null);return null!=c?c[d[a]]:null}function JG(a,b){var c;LG();return c=b&&b[0]&&(typeof b[0]==Pf||typeof b[0]==ve)?b[0]:null,SN(c,a)}function PG(a){var b=KG;LG();var c,d;d=NG.c;if(c=!b?d.c:pD(d,b,~~Gi(b))){var e=c;for(p in a)e[p]=a[p]}else c=a;!b?qD(d,c):sD(d,b,c,~~Gi(b))}
|
629
|
+
function nG(a){LG();var b=NG,c;null==a?a=null:(c=a[Vc],c||(0!=(Jn(a).c&4)?a=[]:(b=(b=lj(b.d,Jn(a)))&&typeof b==ve?new b(a):a,a=a[Vc]=b),c=a),a=c);return a}var NG;
|
630
|
+
function C(a){return function(){try{var b;var c=arguments,d;var e;0!=Un&&(e=nk(),2E3<e-Wn&&(Wn=e,Vn=Tn()));if(0==Un++){var f=(Xn(),Yn),g,j;if(f.c){j=null;do g=f.c,f.c=null,j=go(g,j);while(f.c);f.c=j}d=!0}else d=!1;try{b=a.apply(this,c)}finally{if(c=d){var h=(Xn(),Yn),n,o;if(h.d){o=null;do n=h.d,h.d=null,o=go(n,o);while(h.d);h.d=o}}--Un;c&&-1!=Vn&&($wnd.clearTimeout(Vn),Vn=-1)}return b}catch(r){throw r;}}}
|
631
|
+
function gwtOnLoad(a,b,c){$moduleName=b;$moduleBase=c;if(a)try{C(Et)()}catch(d){a(b)}else C(Et)()}var QN=X(1),Mn=X(100),VN=mH(" I"),M=hH(738,VN),MH=hH(736,QN),WN=mH(" Z"),oI=hH(739,WN);X(99);X(98);X(97);var XN=X(517),An=hH(740,XN),YN=X(259),ku=hH(741,YN);X(260);X(140);X(492);X(106);X(503);var ZN=mH(" B");X(507);var $N=mH(" C"),Hi=hH(742,$N),RN=X(505),aO=mH(" D"),wE=hH(743,aO);X(506);X(508);var bO=X(511),VF=hH(744,bO),cO=mH(" J"),dO=X(2),Gt=hH(737,dO),DL=hH(745,ZN);X(520);X(502);X(96);X(187);X(490);
|
632
|
+
var KG=X(483);X(499);var XG=X(497);X(495);X(496);X(501);X(116);X(108);X(109);X(110);X(117);X(94);X(514);X(509);X(498);X(484);X(485);X(486);X(487);X(488);X(489);var eO=X(396);X(395);X(394);X(393);X(482);X(481);var uB=X(410),aE=hH(746,uB),fO=X(416),fE=hH(747,fO),gO=X(417),hE=hH(748,gO),hO=X(559),kG=hH(749,hO),wt=hH(750,M),iO=Z(557,function(){mE();return bI}),cI=hH(751,iO);X(558);X(419);X(418);X(552);X(551);X(560);X(561);X(556);X(453);X(555);var VA=hH(752,eO);X(408);X(563);X(494);lH();X(493);lH();X(729);
|
633
|
+
X(728);var UN=lH();X(309);var jO=X(308);X(307);X(313);X(327);X(369);X(565);X(564);X(306);X(305);X(567);X(566);X(572);X(573);X(574);X(575);X(576);X(577);X(578);X(579);X(568);X(569);X(570);X(571);X(246);X(245);X(318);X(319);X(320);X(590);X(599);X(24);X(591);X(592);X(593);X(594);X(595);X(596);X(597);X(598);X(291);X(365);X(368);X(366);X(367);X(199);X(198);X(293);X(240);X(295);X(207);var kO=X(206);X(243);X(242);X(241);X(390);X(391);X(392);X(474);X(473);X(472);X(475);X(476);X(477);X(478);X(632);X(633);
|
634
|
+
X(634);X(635);var lO=Z(175,function(){Cj();return cq}),dq=hH(753,lO),mO=Z(139,function(){Dj();return Bo}),Co=hH(754,mO),nO=Z(146,function(){Do();return np}),op=hH(755,nO),oO=Z(165,function(){pp();return yp}),zp=hH(756,oO),pO=Z(170,function(){Ap();return Jp}),Kp=hH(757,pO);Z(176,null);Z(177,null);Z(178,null);Z(179,null);Z(180,null);Z(181,null);Z(182,null);Z(183,null);Z(184,null);Z(141,null);Z(142,null);Z(143,null);Z(144,null);Z(145,null);Z(147,null);Z(157,null);Z(158,null);Z(159,null);Z(160,null);
|
635
|
+
Z(161,null);Z(162,null);Z(163,null);Z(164,null);Z(148,null);Z(149,null);Z(150,null);Z(151,null);Z(152,null);Z(153,null);Z(154,null);Z(155,null);Z(156,null);Z(166,null);Z(167,null);Z(168,null);Z(169,null);Z(171,null);Z(172,null);Z(173,null);Z(174,null);X(465);X(464);X(524);X(526);X(525);X(527);X(529);X(528);X(530);X(534);X(535);X(197);X(203);X(202);X(201);X(205);X(225);X(436);X(435);var oC=X(434),YE=hH(758,oC),sI=hH(759,cO);X(420);X(531);X(537);X(532);X(533);X(421);X(589);X(430);X(429);X(428);X(433);
|
636
|
+
var qO=lH(),qK=hH(760,qO);X(289);X(463);X(543);var rO=Z(249,function(){Zs();return dt}),et=hH(761,rO);X(443);X(444);X(427);var ZB=X(422);X(523);X(406);X(407);X(432);var jC=X(431);X(424);X(423);X(541);X(550);X(425);X(467);X(516);X(553);X(554);X(562);X(413);var yB=X(412);X(441);X(442);X(398);X(397);X(450);lH();lH();lH();X(400);X(401);X(204);X(380);var pz=hH(762,jO);X(381);X(602);X(601);X(341);X(343);X(342);X(344);X(227);X(244);X(230);X(232);var FB=X(415);X(466);X(403);X(402);X(409);X(547);X(519);X(235);
|
637
|
+
X(452);X(222);X(223);X(226);X(220);X(219);X(221);var HB=X(585);X(209);X(213);X(411);X(604);X(609);X(451);X(510);X(454);var XA=X(405),WA=hH(763,yB);X(649);X(438);X(439);X(440);X(404);X(582);X(583);X(211);X(210);X(212);X(214);X(332);X(331);X(337);X(338);X(638);X(610);X(611);X(536);X(544);X(545);X(546);X(603);X(605);var $B=X(426);X(586);X(548);X(234);X(231);X(233);X(229);X(218);X(217);X(216);X(271);X(608);X(312);X(311);X(310);X(616);X(615);X(637);X(613);X(636);
|
638
|
+
var sO=Z(693,function(){Jq();return JM}),KM=hH(764,sO);X(692);X(691);X(683);X(684);X(685);X(686);X(687);X(688);X(689);X(690);X(664);var tO=Z(314,function(){Uw();return ax}),bx=hH(765,tO),uO=Z(361,function(){Qw();return Jy}),Ky=hH(766,uO);X(17);X(362);X(363);X(358);X(359);X(360);X(18);X(19);X(20);X(449);X(414);X(680);X(349);X(681);X(350);X(351);X(352);X(353);X(356);X(323);X(322);var vO=X(321);X(606);X(607);X(612);X(264);X(326);X(357);X(345);X(372);X(371);X(373);
|
639
|
+
var wO=Z(374,function(){$y();return kz}),lz=hH(767,wO);Z(375,null);Z(376,null);Z(377,null);Z(378,null);X(247);X(587);X(324);X(340);X(339);X(540);X(316);X(200);X(588);X(325);X(666);X(3);X(669);X(670);X(668);X(667);X(660);X(659);X(721);X(722);X(723);X(724);X(662);X(238);var MC=X(446),OC=hH(768,MC);X(447);X(445);X(27);X(28);X(26);X(29);X(32);X(33);X(34);X(35);X(36);X(37);var xO=X(49),yy=hH(769,xO);X(38);X(39);X(40);X(41);X(42);X(43);X(44);X(46);X(45);X(47);X(48);X(50);X(51);X(53);X(54);X(52);X(55);X(56);
|
640
|
+
X(57);X(58);X(60);X(62);X(63);X(61);X(59);X(64);X(65);X(66);X(67);X(69);X(72);X(71);X(73);X(76);X(77);X(75);X(78);X(79);X(80);X(81);X(82);X(83);X(85);X(86);X(84);X(87);X(88);X(89);X(90);X(92);X(93);X(91);X(265);var ML=X(651);X(317);var QL=X(653);X(236);X(678);X(677);X(459);X(458);X(460);X(237);X(273);X(275);X(274);X(269);X(383);X(266);X(315);X(720);X(280);X(283);X(281);X(282);X(5);X(7);X(6);X(623);X(448);X(461);X(384);X(196);X(302);X(303);X(614);var pL=hH(770,vO);X(620);X(619);X(627);X(617);X(618);
|
641
|
+
X(624);X(625);X(621);X(622);X(455);X(456);X(462);X(239);X(268);X(31);X(276);X(346);X(347);X(348);X(277);var BM=hH(771,kO);X(278);X(584);X(679);X(646);X(500);X(521);X(30);X(68);var RL=X(654);X(663);X(682);X(717);X(716);X(208);X(224);X(4);X(645);X(696);X(713);var yO=Z(714,function(){mN();return sN}),tN=hH(772,yO),zO=Z(715,function(){bM();return vN}),wN=hH(773,zO);X(699);X(708);X(707);X(711);X(710);X(706);X(705);X(703);X(704);X(702);X(701);X(698);X(700);X(709);X(712);X(697);X(665);X(330);X(379);X(370);
|
642
|
+
X(718);X(329);X(328);X(334);X(335);X(333);X(279);X(21);X(300);X(301);X(11);X(14);X(22);var AO=X(25),Hk=hH(774,AO);X(23);X(719);X(8);X(10);X(9);X(725);X(726);X(671);X(674);X(675);X(676);X(672);X(673);var OL=X(652);X(656);X(657);X(215);window.gwtOnLoad=gwtOnLoad;$stats && $stats({moduleName:'jsme',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if ($wnd.jsme) $wnd.jsme.onScriptLoad();
|
643
|
+
--></script></body></html>
|