/* Copyright 2008 Google. */ (function() { var aa=" and communicationType=",ba=" and hash=",da=' checked="checked"',ea=" goog-inline-block",fa=" picker-navpaneitem-not-clickable",ha='" /><p style="',ia='" data-tooltip-unhoverable="true"',ja='" dir="',ka='" is not registered',la='" with value "',ma='">&nbsp;</span>',oa="&&&START&&&",pa="' of type ",qa="*/",ra="-10000px",sa="-caption",ta="-content",ua="-default",va="-disabled",wa="-dropdown",xa="-inner-box",ya="-menu-selected",za="-nextMonth",Aa="-none-btn",Ba="-outer-box",Ca="-previousMonth",
Da="-today-btn",Ea="/*",Fa="//ssl.gstatic.com/docs/picker/images/search-black.png",Ga="//www.google-analytics.com/analytics.js",Ha='/<strong><span jotId="pageURLScrubbed">',Ja="/config/pagetemplates/",Ka="/resources/rpc_relay.html",La="/system/app/components/adsense",Ma="/system/app/components/min-countdown",Na="/system/app/components/min-navigation",Oa="/system/app/components/min-recentchanges",Pa="/system/app/components/min-recentchanges-mylinksonly",Qa="/system/app/components/min-textbox",Sa="/system/app/images/spinner.gif",
Ta="/system/app/pages/admin/adsense",Ua="/system/app/pages/admin/pagetemplates",Va="/system/app/tiles/plusbadge",Wa="/system/app/tiles/plusone",Xa="/system/app/tiles/recentauthors",Ya="/system/app/tiles/siteadmins",Za="1.4.2",$a="1.5.0",ab="1.7.0",bb="100%",cb="</div>",db="</div><br/>",eb="</h3></th></tr>",fb="</span>",gb="</span></strong></p></p>",hb="</table>",ib="</td></tr>",jb='<a href="',kb='<div class="apps-shortcutshelppopup-pref-component"></div>',lb='<div class="goog-ws-element-section"><table><tr><td class="goog-ws-element-icon"><img src="',
mb='<div class="sites-page-settings-error">',nb='<div id="',ob='<div jotId="treeDiv"></div>',pb='<p class="sites-page-settings-divider"><strong>Page URL</strong><br/><span style="',qb='<span aria-label="',rb='<tr><td style="',sb="?pageReverted=",tb="?smartPreview=true",ub="AdSensePromo",vb="Add",wb="An error occurred while saving template changes.",xb="An image type (.jpg, .jpeg, .gif, .png) is required.",yb="Application",zb="BUTTON",Ab="BackgroundImageCache",Bb="Bad server config: ",Cb="COMP_",Db=
"COMP_page-comments",Eb="COMP_page-subpages",Fb="Can't combine significant digits and minimum fraction digits",Gb="Cancel",Hb='Cannot override "',Ib="Change page template",Jb="Close",Kb="Component already rendered",Lb="Components should not be created yet.",Mb="Could not set focus",Nb="Create Page",Ob="Create a new page from this template",Pb="Create new page",Qb="Create page error",d="DIV",Rb="Data spy excepton",Sb="Deferred has already been called",Tb="Dogfood Confidential",Ub="ERROR: Template settings not saved.",
Vb="ERROR: There is a newer version of the page. Please refresh the page.",Wb="ERROR: Unable to copy the template, please try again later.",Yb="ERROR: Unable to create the template, please try again later.",Zb="ERROR: Unable to save the template, please try again later.",$b="EVERYTHING",ac="Edge",bc="Edit page",cc="Edit page template",dc="Edit site layout",ec="Email as attachment...",fc="Email collaborators...",gc="Embedded in IFRAME",hc="Event listener threw exception.",ic="EventTarget.dispatchDataNodeEvent",
jc="EventTarget.dispatchPropertyEvent",kc="Expected block type.",lc="Failed to draw image",mc="GetPageTemplates",nc="HTML_FORM",oc="IFRAME",pc="INHERIT",qc="INPUT",rc="Inconsistent use of percent/permill characters",sc="Initiating module load: ",tc="Invalid file type selected.",uc="Invalid response from server.",vc="JOT_FEEDBACK_displayFeedbackForm",wc="JOT_setupSiteToolbarMenus",xc="Learn more",zc="Loading editor...",Ac="Loading...",Bc="MSXML2.DOMDocument",Cc="More menu",Dc="Must be lower case",
Ec="Not available",Fc="OPTION",Gc="Or, if you prefer...",Hc="POST",Ic="Page",Jc="Please wait ...",Kc="Popular keyboard shortcuts",Lc="Progress Started",Nc="RenderSidebarWidget",Oc="SCRIPT",Pc="SELECT",Qc="SPAN",Rc="Save",Sc="SaveAsTemplate",Tc="SaveUserSettings",Uc="Saving settings...",Vc="Saving...",Wc="Search all shortcuts",Xc="Share",Zc="Silverlight",$c="Site",ad="Smart preview",bd="Soy template may not be null.",cd="Storage mechanism: Invalid value was encountered",dd="Storage mechanism: Quota exceeded",
ed="Storage: Invalid value was encountered",fd="Subscribe to site changes",gd="TABLE",hd="TBODY",id="TEXTAREA",jd="Template Settings",kd="The DOM element for the container cannot be null.",ld="The access removal was unsuccessful.",md="The element passed as a first parameter cannot be null.",nd="The label input element cannot be null.",od="The menu button DOM element cannot be null.",pd="The progress bar DOM element cannot be null.",qd="This folder is read-only",rd="This is not a folder",sd="Too many percent/permill",
td="ToolBar",ud="Top level",vd="Unable to set parent component",wd="Undefined parameter - ",xd="Uneven number of arguments",yd="Upload server error, please try again later.",zd="User initiated module already loading: ",Ad="User initiated module load: ",Bd="WARNING: Undo delete failed",Cd="You will no longer be notified when changes are made to this site.",Dd="You will no longer be notified when this page is changed.",Ed="Zero is invalid.",Fd="[goog.net.IframeIo] Unable to send, already active.",Gd=
"_blank",Hd="abort",Id="about:blank",Jd="about:invalid#zClosurez",Kd="about:invalid#zSoyz",Ld="absolute",Md="aclInfoUpdated",l="action",Nd="active",Od="activedescendant",Pd="advanced",Qd="afterLoad",Rd="afterhide",Sd="ajax.googleapis.com",Td="album",Ud="all",Vd="allPersonalCircles",Wd="allfilesadded",Xd="allowedItemTypes",Yd="animate",Zd="announcements",$d="appletfailedtoinitialize",ae="appletfailedtoload",be="appletinsertedindom",ce="application/octet-stream",de="application/pdf",ee="application/vnd.google-apps.document",
fe="application/vnd.google-apps.folder",ge="application/vnd.google-apps.form",he="application/vnd.google-apps.freebird",ie="application/vnd.google-apps.kix",je="application/vnd.google-apps.presentation",ke="application/vnd.google-apps.punch",le="application/vnd.google-apps.ritz",me="application/vnd.google-apps.rollupphotoalbum",ne="application/vnd.google-apps.spreadsheet",oe="application/x-shockwave-flash",pe="apps-shortcutshelppopup-empty-search",qe="apps-shortcutshelppopup-input-button",re="apps-shortcutshelppopup-reset-search-button",
se="apps-shortcutshelppopup-search-label",te="aria-label",ue='aria-label="',ve="array",we="assertive",xe="atomic",ye="attachment-undo-",ze="audience",Ae="authuser",Be="auto",Ce="autocomplete",De="backgroundColor",Ee="backoff",Fe="beforehide",Ge="beforeshow",He="black",Ie="blog-templates",Je="blogger",Ke="blur",Le="book-search",Me="boolean",Ne="border-box",Oe="bottom",Qe="button",Re="calendar",Se="calendars",Te="camerasync",Ue="cancel",Ve="category",We="center",Xe="change",Ye="changeDrivePermissions",
Ze="changeTemplateButton",$e="character",af="checkbox",bf="checked",cf="circle",df="circles",ef="click",ff="close",gf="closed",hf="collapsed",jf="combobox",kf="complete",lf="completeEdit",mf="completeEditRender",nf="component/",of="component/navbar/showRecents",pf="component/navbar/showSiteMap",rf="component/navbar/tabType",sf="config/bodyId",tf="config/footerContent",uf="config/footerType",vf="config/headerHeight",xf="config/headerHorizontalAlignment",yf="config/headerVerticalAlignment",zf="config/logoPath",
Af="config/logoRevision",Bf="config/navbarEnabled",Cf="config/sidebarRef",Df="config/sidebarWidth",Ef="config/siteWidth",Ff="config/systemFooterHideDesktopLink",Gf="config/systemFooterHidePrintPageLink",Hf="config/systemFooterHideRecentChangesLink",If="config/systemFooterHideSignInLink",Jf="configChange",Kf="consumer",Lf="contacts",Mf="containingCosmoId",Nf="contentId",Of="contextmenu",Pf="continue",Qf="create-event",Rf="create-new-btn",Sf="createPageButton",Tf="createTemplateButton",Uf="crop",Vf=
"cultural",Wf="custom",Xf="data-tooltip",Yf="data-tooltip-contained",Zf="dblclick",$f="deactivate",ag="default",bg="defaultdomain",cg="describedby",dg="description",eg="dialog",fg="dialogselect",gg="disabled",hg="dismiss",m="div",ig="docTypesDropDown",jg="docs",kg="docs-images",lg="docs-images-and-videos",mg="docs-videos",ng="document",og="documents",pg="domainPublic",qg="domaindefault",rg="downloadUrl",sg="dragout",tg="dragover",ug="dragstart",vg="drawings",wg="drive-select",xg="drivepreopen",yg=
"edit-start-btn",zg="editSiteLayout",Ag="email",Bg="emailAttach",Cg="embedUrl",Dg="enableSizeEstimation",Eg="enableWhiteCallout",Fg="enabled",Gg="end",Hg="error",Ig="error_querying",Jg="event",Kg="events",Lg="exception",Mg="expand",Ng="expanded",Og="expander",Pg="extendedCircles",Qg="false",Rg="fancywindow.sel.",Sg="fava.base.Scheduler",Tg="fava.gloader.GoogleLoaderService",Ug="featured",Vg="file",Wg="filecabinet",Xg="filedownsamplingcompleted",Yg="filedownsamplingstarted",Zg="filesscanfinished",
$g="filesscanstarted",ah="filesselected",bh="fixed",ch="focus",dh="focusin",eh="focusout",gh="folders",hh='font-family: "',ih="fonts",jh="force-ctrl-key",kh="forms",lh="function",mh="gadgets",nh="gapi.iframes.getContext",oh="gapi.iframes.makeWhiteListIframesFilter",ph="gapi.iframes:gapi.iframes.style.common",qh="getty",rh="gmail",sh="gmailDelegatorId",th="goog-button",uh="goog-button-base-content",vh="goog-color-menu-button",wh="goog-custom-button",xh="goog-flat-button",yh="goog-flat-menu-button",
zh="goog-inline-block",Ah="goog-inline-block ",Bh="goog-link-button",Ch="goog-menu",Dh="goog-menu-button",Eh="goog-menu-noicon",Fh="goog-menuheader",Gh="goog-menuseparator",Hh="goog-option",Ih="goog-option-selected",Jh="goog-selectionmenubutton-checkbox",Kh="goog-submenu",Lh="goog-submenu-arrow",Mh="goog-submenu-arrow-rtl",Nh="goog-tabpane-tab",Oh="goog-toolbar-button",Ph="goog-toolbar-color-menu-button",Qh="goog-toolbar-menu-button",Rh="goog-toolbar-separator",Sh="goog-tree-collapsed-folder-icon",
Th="goog-tree-expanded-folder-icon",Uh="goog-zippy-expanded",Vh="goog.i18n.DateTimeSymbols or explicit symbols must be defined",Wh="grid",Xh="gridcell",Yh="groups",Zh="haspopup",$h="height",ai="hidden",bi="hide",ci="highlight",ei="highlights",fi="horizontal",gi="horizontalNavigation",hi="hostId",ii="hosted",ji="https",ki="https:",li="https://about:blank",mi="https://apis.google.com/js/api.js",ni="https://apis.google.com/js/platform.js",oi="ids",pi="iframe",qi="image",ri="image-search",si="image/jpeg",
ti='ime-mode:disabled" ',ui="img",vi="imgcolor",wi="imgtype",xi="includeFolders",yi="independent",zi="inherits",Ai="init",Bi="inline",Ci="input",Di="inqueue",Ei="ioerror",Fi="isLocalProfilePhoto",Gi="isShared",Hi="itemIndex",Ii="itemadded",Ji='javascript:""',Ki="jfk-activityIndicator-circle",Li="jfk-activityIndicator-mask",Mi="jfk-butterBar-shown",Ni="jfk-button",Oi="jfk-button-primary",Pi="jfk-button-standard",Qi="jfk-checkbox-checkmark",Ri="jfk-tooltip",Si="jfk-tooltip-hide",Ti="jot-ui-asciifiedURL",
Ui="jot-ui-createForm",Vi="jot-ui-pageLocText",Wi="jot-ui-pageName",Xi="jot-ui-previewPageCustomPath",Yi="jot-ui-previewPageURL",Zi="jot-ui-searchInput",$i="jot.xtok",aj="jot_viewer",bj="kansasVersionInfo",cj="key",dj="keydown",ej="keypress",fj="keyup",gj="label",hj="labelledby",ij="lastEditedUtc",jj="lastModifiedByMeUtc",kj="lastViewedByMeUtc",lj="latitude",mj="left",nj="license",oj="list",pj="listbox",tj="live",uj="load",vj="loadError",wj="load_acl_fixer_data",xj="loaded",yj="localalbum",zj="longitude",
Aj="ltr",Bj="lv",Cj="main/openNewWin",Dj="main/title",Ej="maps",Fj="maps-pro",Gj="markedForRemoval",Hj="maybe_show_acl_fixer",Ij="mediaKey",Jj="mediacollection",Kj="mediacollections",Lj="menuUpdated",Mj="menuitemcheckbox",Nj="message",Oj="middle",Pj="mimeType",Qj="mimeTypes",Rj="minimal",Sj="mode",Tj="more-actions-btn",Uj="mousedown",Vj="mousemove",Wj="mouseout",Xj="mouseover",Yj="mouseup",Zj="mousewheel",ak="move_offscreen",bk="multipart/form-data",ck="multiselectEnabled",dk="must provide justification",
ek="must provide non-empty justification",fk="myrecentchanges",gk="native",hk="navDynamicDepth",ik="navigation",jk="navigationTree",kk="networkerror",lk="none",mk="noside",nk="null",ok="numChildren",pk="number",qk="object",rk="offset",sk="ok",tk="on the <strong>left</strong>",uk="on the <strong>right</strong>",vk="onCompleteData",wk="onPreviewReady",xk="onSecurityError",yk="onclick",zk="opacity 1s linear",Ak="openChangePageTemplate",Bk="openCreatePage",Ck="openManageSite",Dk="openRevisionHistory",
Ek="openSiteLayout",Fk="opp",Gk="oppe",Hk="oppu",Ik="opt_onFulfilled should be a function.",Jk="opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?",Kk="option",Lk="options",Mk="organizeIntoTeamDrive",Nk="other",Ok="overflow-y",Pk="overflow:hidden;width:",Qk="overlayElement must be defined",Rk="ownedByMe",Sk="ownerOnly",Tk="owns",Uk="padding-",Vk="pageEdit",Wk="pageFinderIncludeCurrent",Xk="pageLocSelectedPath",Yk="parent",Zk="partial-error",
$k="pdfs",al="people",bl="photo",cl="photo-albums",dl="photo-caption",el="photo-curation",fl="photo-tagging",gl="photo-upload",hl="photos",il="picasa",jl="picked",kl="picker",ll="picker-actionpane-float-item",ml="picker-actionpane-notice-error",nl="picker-actionpane-notice-warning",ol="picker-attributionbar-line",pl="picker-dropdown-menu",ql="picker-header-text",rl="picker-horizontal-navpane-more-selected",sl="picker-list-control-tablerow",tl="picker-min-bottom",ul="picker-min-top",yl="picker-minew",
zl="picker-navpane",Al="picker-pplnavpane-more goog-inline-block",Bl="picker-pplnavpane-text",Cl="picker-promo-text",Dl="picker-searchbar-input-logo",El="picker-searchbarimagefilter-colorbox",Fl="picker-searchbarimagefilter-colorbox-inner",Gl="picker-select-control-enabled",Hl="picker-spr-arrow-dk-grey-down",Il="picker-spr-circle",Jl="picker-spr-circle-active",Kl="picker-spr-circle-hover",Ll="picker-sspr-close-tab",Ml="picker-url-input-box-selected",Nl="picker-urlview-error-icon goog-inline-block",
Ol="picker-urlview-loading-icon goog-inline-block",Pl="picker-white-callout",Ql="picker.api.DocsView",Rl="picker.api.NativeMinimalPicker",Sl="picker.api.NativePicker",Tl="picker.api.PhotosView.Type",Ul="picker:ap:",Vl="play-edu",Wl="plusbadge",Xl="polite",Yl="posinset",Zl="position",$l="preload_share",am="presentation",bm="presentations",cm="previewAsViewer",dm="profile",em="profilePhoto",fm="progress",gm="progress-bar-thumb",hm="protocol",im="public",p="px",jm="px;height:",km="query",lm="ready",
mm="readystatechange",nm="received",om="recently-picked",pm="recovery",qm="refresh",rm="relative",sm="reset",tm="resize",um="right",vm="role",wm="rollupAlbum",xm="root",ym="rtl",zm="saveAsPageTemplate",Am="script",Bm="scripts",Cm="scroll",Dm="sdv",Em="search",Fm="search-api",Gm="securityerror",Hm="select",Im="select-multiple",Jm="selectButtonLabel",Km="selected",Lm="semicolon",Mm="separator",Nm="serverinvalidresponse",Om="serverrejected",Pm="service",Qm="set-drive-options",Rm="set-max-items",Sm="set-max-size-bytes",
Tm="set-title",Um="set-upload-album-id",Vm="set-view",Wm="set-view-options",Xm="settings",Ym="shadeDialog",Zm="share-butter-link",$m="sharedWithMe",an="should not reach default case",bn="show",cn="show-delete-page-disabled",dn="showChangePageLocationDialog",en="showDeletePage",fn="showMovePage",gn="showPageSettings",hn="showShareClient",jn="showTemplateSettings",kn="sidebar-widget-drag-over",ln="sidebar-widget-drag-start",mn="sidebarWidget",nn="siets-debug-log-output",on="simpleUploadEnabled",pn=
"site",qn="sitemap-tree",rn="sites",sn="sites-admin-settings-cancel",tn="sites-app-title",un="sites-attachments",vn="sites-attachments-update-div",wn="sites-button-container",xn="sites-canvas-wrapper",yn="sites-chrome-adminfooter-container",zn="sites-chrome-dialog-launcher",An="sites-chrome-everything",Bn="sites-chrome-footer",Cn="sites-chrome-header",Dn="sites-chrome-header-horizontal-nav-container",En="sites-chrome-navigationdialog-icon-left",Fn="sites-chrome-navigationdialog-icon-right",Gn="sites-chrome-sidebar-left",
Hn="sites-chrome-sidebar-right",In="sites-chrome-userheader",Jn="sites-chrome-userheader-logo",Kn="sites-close",Ln="sites-collaborator-bar",Mn="sites-edit-in-progress",Nn="sites-gears-button",On="sites-header-nav-dropdown-menu",Pn="sites-header-nav-dropdown-menuitem",Qn="sites-layout-sidebar-left",Rn="sites-page-title-header",Sn="sites-searchbox-form",Tn="sites-sitelayout-overlay",Un="sites-sitelayout-overlay-container",Vn="sites-sitelayouteditor-toolbar-button-custom-footer",Wn="sites-sitelayouteditor-toolbar-button-header",
Xn="sites-sitelayouteditor-toolbar-button-horizontal-nav",Yn="sites-sitelayouteditor-toolbar-button-sidebar",Zn="sites-system-page-cancel-button",$n="sites-tree-dragged-item",ao="sites-tree-drop-hover",bo="sites-tree-root-icon",co="sites.gvizloader.handleGvizLoaded_",eo="smart-preview-btn",fo="sortKey",go="sortOrder",ho="sourceTeamDriveId",io="sourceTeamDriveName",jo="span",ko="spinnerWait",lo="spreadsheets",mo="standard",no="starred",oo="start",po="startsuccess",qo="stats",ro="status",so="string",
to="string|goog.soy.data.SanitizedContent",uo="style",vo="submit",wo="success",xo="suggestionsupdate",yo="table",zo="tables",Ao="tbody",Bo="td",Co="teamDriveId",Do="teamDrivesFolder",Eo="text",Fo="text/javascript",Go="textBoxContent",Ho="textarea",Io="themedefault",Jo="thumbnails",Ko="tick",Lo="timeout",Mo="timestamp",No="title",Oo="toggle",Po="togglePageSubscription",Qo="toggleSiteSubscription",Ro="toggle_display",So="top",To="touchstart",Uo="transfer",Vo="transparent",Wo="true",Xo="type",Yo="uiContainerCancelLoad",
Zo="uiContainerClose",$o="undoAttachmentDelete",ap="unhighlight",bp="unknown type name",cp="unknownerror",dp="upload",ep="upload-status-progress-",fp="upload-status-text-",gp="uploadProgress",hp="uploadScheduled",ip="uploadStateChange",jp="uploaded",kp="uploader-overlay-visible",lp="uploaderinstalling",mp="uploaderready",np="uploaderuninstalling",op="uploaderwithoutpermission",pp="uploadprogress",qp="uploadstatechanged",rp="url",sp="urlInputVisible",tp="urlPreviewAnchorId",up="use buildMinimal to build minimal picker",
vp="username",wp="value",xp="valuenow",yp="version",zp="vertical",Ap="video",Bp="video-albums",Cp="video-search",Dp="videos",Ep="videos-camerasync",Fp="videos-uploaded",Gp="viewChanged",Hp="viewContentRendered",Ip="viewToken",Jp="viewUpdated",Kp="visibility",Lp="visibilityFilter",Mp="visible",Np="web",Op="webcam",Pp="webkitvisibilitychange",Qp="white",Rp="width",Sp="www.facebook.com",Tp="www.metacafe.com",Up="www.youtube.com",Vp="youtu.be",Wp="youtube",Xp="youtube-banner-preview",Yp="youtube.com",
r;if(window.jstiming){window.jstiming.dT={};window.jstiming.zwa=1;var Zp=function(a,b,c){var e=a.t[b],f=a.t.start;if(e&&(f||c))return e=a.t[b][0],void 0!=c?f=c:f=f[0],Math.round(e-f)},$p=function(a,b,c){var e="";window.jstiming.srt&&(e+="&srt="+window.jstiming.srt,delete window.jstiming.srt);window.jstiming.pt&&(e+="&tbsrt="+window.jstiming.pt,delete window.jstiming.pt);try{window.external&&window.external.tran?e+="&tran="+window.external.tran:window.gtbExternal&&window.gtbExternal.tran?e+="&tran="+
window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(e+="&tran="+window.chrome.csi().tran)}catch(A){}var f=window.chrome;if(f&&(f=f.loadTimes)){f().wasFetchedViaSpdy&&(e+="&p=s");if(f().wasNpnNegotiated){var e=e+"&npn=1",g=f().npnNegotiatedProtocol;g&&(e+="&npnv="+(encodeURIComponent||escape)(g))}f().wasAlternateProtocolAvailable&&(e+="&apa=1")}var h=a.t,k=h.start,f=[],g=[],n;for(n in h)if(n!=oo&&0!=n.indexOf("_")){var q=h[n][1];q?h[q]&&g.push(n+"."+Zp(a,n,h[q][0])):k&&f.push(n+"."+Zp(a,n))}delete h.start;
if(b)for(var u in b)e+="&"+u+"="+b[u];(b=c)||(b=ki==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.jstiming.sn||"jotspot")+"&action=",a.name,g.length?"&it="+g.join(","):"",e,"&rt=",f.join(",")].join("")},aq=function(a,b,c){a=$p(a,b,c);if(!a)return"";b=new Image;var e=window.jstiming.zwa++;window.jstiming.dT[e]=b;b.onload=b.onerror=function(){window.jstiming&&delete window.jstiming.dT[e]};b.src=a;b=null;return a};window.jstiming.report=
function(a,b,c){if("prerender"==document.webkitVisibilityState){var e=!1,f=function(){if(!e){b?b.prerender="1":b={prerender:"1"};var g;"prerender"==document.webkitVisibilityState?g=!1:(aq(a,b,c),g=!0);g&&(e=!0,document.removeEventListener(Pp,f,!1))}};document.addEventListener(Pp,f,!1);return""}return aq(a,b,c)}};var bq=bq||{},t=this,v=function(a){return void 0!==a},w=function(a,b,c){a=a.split(".");c=c||t;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)!a.length&&v(b)?c[e]=b:c=c[e]?c[e]:c[e]={}},cq=function(a,b){for(var c=a.split("."),e=b||t,f;f=c.shift();)if(null!=e[f])e=e[f];else return null;return e},dq=function(){},eq=function(a){a.K=function(){return a.R_?a.R_:a.R_=new a}},fq=function(a){var b=typeof a;if(b==qk)if(a){if(a instanceof Array)return ve;if(a instanceof
Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return qk;if("[object Array]"==c||typeof a.length==pk&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return ve;if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return lh}else return nk;else if(b==lh&&"undefined"==typeof a.call)return qk;return b},gq=function(a){return fq(a)==ve},
hq=function(a){var b=fq(a);return b==ve||b==qk&&typeof a.length==pk},x=function(a){return typeof a==so},iq=function(a){return typeof a==Me},jq=function(a){return typeof a==pk},kq=function(a){return fq(a)==lh},lq=function(a){var b=typeof a;return b==qk&&null!=a||b==lh},oq=function(a){return a[mq]||(a[mq]=++nq)},mq="closure_uid_"+(1E9*Math.random()>>>0),nq=0,pq=function(a){var b=fq(a);if(b==qk||b==ve){if(a.clone)return a.clone();var b=b==ve?[]:{},c;for(c in a)b[c]=pq(a[c]);return b}return a},qq=function(a,
b,c){return a.call.apply(a.bind,arguments)},rq=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,e);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},y=function(a,b,c){y=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?qq:rq;return y.apply(null,arguments)},sq=function(a,b){var c=Array.prototype.slice.call(arguments,
1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},z=Date.now||function(){return+new Date},tq=function(a,b,c){w(a,b,c)},B=function(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.PMa=function(a,c,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[c].apply(a,h)}};var uq=function(a){this.ic=a||{cookie:""}},vq=/\s*;\s*/;r=uq.prototype;r.isEnabled=function(){return navigator.cookieEnabled};r.cra=function(a){return!/[;=\s]/.test(a)};r.dra=function(a){return!/[;\r\n]/.test(a)};
r.set=function(a,b,c,e,f,g){if(!this.cra(a))throw Error('Invalid cookie name "'+a+'"');if(!this.dra(b))throw Error('Invalid cookie value "'+b+'"');v(c)||(c=-1);f=f?";domain="+f:"";e=e?";path="+e:"";g=g?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(z()+1E3*c)).toUTCString();this.xD(a+"="+b+f+e+c+g)};r.get=function(a,b){for(var c=a+"=",e=this.dJ(),f=0,g;g=e[f];f++){if(0==g.lastIndexOf(c,0))return g.substr(c.length);if(g==a)return""}return b};
r.remove=function(a,b,c){var e=this.Xb(a);this.set(a,"",0,b,c);return e};r.kb=function(){return this.$z().keys};r.pb=function(){return this.$z().values};r.bc=function(){return!this.ou()};r.xa=function(){return this.ou()?this.dJ().length:0};r.Xb=function(a){return v(this.get(a))};r.oj=function(a){for(var b=this.$z().values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};r.clear=function(){for(var a=this.$z().keys,b=a.length-1;0<=b;b--)this.remove(a[b])};r.xD=function(a){this.ic.cookie=a};r.ou=function(){return this.ic.cookie};
r.dJ=function(){return(this.ou()||"").split(vq)};r.$z=function(){for(var a=this.dJ(),b=[],c=[],e,f,g=0;f=a[g];g++)e=f.indexOf("="),-1==e?(b.push(""),c.push(f)):(b.push(f.substring(0,e)),c.push(f.substring(e+1)));return{keys:b,values:c}};var wq=new uq("undefined"==typeof document?null:document);wq.qIa=3950;var xq={},yq=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,yq);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};B(yq,Error);yq.prototype.name="CustomError";var zq;var Aq=function(a,b){return 0==a.lastIndexOf(b,0)},Bq=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},Cq=function(a,b){for(var c=a.split("%s"),e="",f=Array.prototype.slice.call(arguments,1);f.length&&1<c.length;)e+=c.shift()+f.shift();return e+c.join("%s")},Dq=function(a){return/^[\s\xa0]*$/.test(a)},Eq=function(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},Fq=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,
"")},Gq=function(a,b,c){if(a==b)return 0;if(!a)return-1;if(!b)return 1;for(var e=a.toLowerCase().match(c),f=b.toLowerCase().match(c),g=Math.min(e.length,f.length),h=0;h<g;h++){c=e[h];var k=f[h];if(c!=k)return a=parseInt(c,10),!isNaN(a)&&(b=parseInt(k,10),!isNaN(b)&&a-b)?a-b:c<k?-1:1}return e.length!=f.length?e.length-f.length:a<b?-1:1},Hq=function(a){return decodeURIComponent(a.replace(/\+/g," "))},Iq=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")},Qq=function(a,b){if(b)a=a.replace(Jq,
"&amp;").replace(Kq,"&lt;").replace(Lq,"&gt;").replace(Mq,"&quot;").replace(Nq,"&#39;").replace(Oq,"&#0;");else{if(!Pq.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Jq,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Kq,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Lq,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Mq,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Nq,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Oq,"&#0;"))}return a},Jq=/&/g,Kq=/</g,Lq=/>/g,Mq=/"/g,Nq=/'/g,Oq=/\x00/g,Pq=/[\x00&<>"']/,Uq=function(a){return Rq(a,
"&")?ng in t?Sq(a):Tq(a):a},Sq=function(a,b){var c={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},e;e=b?b.createElement(m):t.document.createElement(m);return a.replace(Vq,function(a,b){var h=c[a];if(h)return h;if("#"==b.charAt(0)){var k=Number("0"+b.substr(1));isNaN(k)||(h=String.fromCharCode(k))}h||(e.innerHTML=a+" ",h=e.firstChild.nodeValue.slice(0,-1));return c[a]=h})},Tq=function(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";
case "quot":return'"';default:if("#"==c.charAt(0)){var e=Number("0"+c.substr(1));if(!isNaN(e))return String.fromCharCode(e)}return a}})},Vq=/&([^;\s<&]+);?/g,Rq=function(a,b){return-1!=a.indexOf(b)},Wq=function(a,b,c){var e=a;0<=b&&b<a.length&&0<c&&(e=a.substr(0,b)+a.substr(b+c,a.length-b-c));return e},Yq=function(a,b){var c=new RegExp(Xq(b),"");return a.replace(c,"")},Xq=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Zq=String.prototype.repeat?
function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},$q=function(a,b,c){a=v(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return Zq("0",Math.max(0,b-c))+a},ar=function(a){return null==a?"":String(a)},br=function(a){return Array.prototype.join.call(arguments,"")},cr=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^z()).toString(36)},er=function(a,b){for(var c=0,e=Fq(String(a)).split("."),f=Fq(String(b)).split("."),
g=Math.max(e.length,f.length),h=0;0==c&&h<g;h++){var k=e[h]||"",n=f[h]||"",q=RegExp("(\\d*)(\\D*)","g"),u=RegExp("(\\d*)(\\D*)","g");do{var A=q.exec(k)||["","",""],ca=u.exec(n)||["","",""];if(0==A[0].length&&0==ca[0].length)break;c=dr(0==A[1].length?0:parseInt(A[1],10),0==ca[1].length?0:parseInt(ca[1],10))||dr(0==A[2].length,0==ca[2].length)||dr(A[2],ca[2])}while(0==c)}return c},dr=function(a,b){return a<b?-1:a>b?1:0},fr=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})},
gr=function(a,b){var c=x(b)?Xq(b):"\\s";return a.replace(new RegExp("(^"+(c?"|["+c+"]+":"")+")([a-z])","g"),function(a,b,c){return b+c.toUpperCase()})};var hr=function(a,b){b.unshift(a);yq.call(this,Cq.apply(null,b));b.shift()};B(hr,yq);hr.prototype.name="AssertionError";
var ir=function(a,b,c,e){var f="Assertion failed";if(c)var f=f+(": "+c),g=e;else a&&(f+=": "+a,g=b);throw new hr(""+f,g||[]);},C=function(a,b,c){a||ir("",null,b,Array.prototype.slice.call(arguments,2));return a},jr=function(a,b){throw new hr("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},kr=function(a,b,c){jq(a)||ir("Expected number but got %s: %s.",[fq(a),a],b,Array.prototype.slice.call(arguments,2));return a},lr=function(a,b,c){x(a)||ir("Expected string but got %s: %s.",[fq(a),
a],b,Array.prototype.slice.call(arguments,2));return a},mr=function(a,b,c){kq(a)||ir("Expected function but got %s: %s.",[fq(a),a],b,Array.prototype.slice.call(arguments,2));return a},nr=function(a,b,c){lq(a)||ir("Expected object but got %s: %s.",[fq(a),a],b,Array.prototype.slice.call(arguments,2));return a},or=function(a,b,c){gq(a)||ir("Expected array but got %s: %s.",[fq(a),a],b,Array.prototype.slice.call(arguments,2));return a},pr=function(a,b,c){lq(a)&&1==a.nodeType||ir("Expected Element but got %s: %s.",
[fq(a),a],b,Array.prototype.slice.call(arguments,2));return a},rr=function(a,b,c,e){a instanceof b||ir("Expected instanceof %s but got %s.",[qr(b),qr(a)],c,Array.prototype.slice.call(arguments,3));return a},qr=function(a){return a instanceof Function?a.displayName||a.name||bp:a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?nk:typeof a};var sr=Array.prototype.indexOf?function(a,b,c){C(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(x(a))return x(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ur=Array.prototype.lastIndexOf?function(a,b,c){C(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(x(a))return x(b)&&1==
b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},D=Array.prototype.forEach?function(a,b,c){C(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=x(a)?a.split(""):a,g=0;g<e;g++)g in f&&b.call(c,f[g],g,a)},vr=function(a,b,c){for(var e=x(a)?a.split(""):a,f=a.length-1;0<=f;--f)f in e&&b.call(c,e[f],f,a)},wr=Array.prototype.filter?function(a,b,c){C(null!=a.length);return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var e=
a.length,f=[],g=0,h=x(a)?a.split(""):a,k=0;k<e;k++)if(k in h){var n=h[k];b.call(c,n,k,a)&&(f[g++]=n)}return f},xr=Array.prototype.map?function(a,b,c){C(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=Array(e),g=x(a)?a.split(""):a,h=0;h<e;h++)h in g&&(f[h]=b.call(c,g[h],h,a));return f},yr=Array.prototype.reduce?function(a,b,c,e){C(null!=a.length);e&&(b=y(b,e));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,e){var f=c;D(a,function(c,h){f=b.call(e,
f,c,h,a)});return f},zr=Array.prototype.some?function(a,b,c){C(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=x(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&b.call(c,f[g],g,a))return!0;return!1},Ar=Array.prototype.every?function(a,b,c){C(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=x(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&!b.call(c,f[g],g,a))return!1;return!0},Br=function(a,b,c){var e=0;D(a,function(a,g,h){b.call(c,
a,g,h)&&++e},c);return e},Dr=function(a,b,c){b=Cr(a,b,c);return 0>b?null:x(a)?a.charAt(b):a[b]},Cr=function(a,b,c){for(var e=a.length,f=x(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&b.call(c,f[g],g,a))return g;return-1},Er=function(a,b,c){for(var e=x(a)?a.split(""):a,f=a.length-1;0<=f;f--)if(f in e&&b.call(c,e[f],f,a))return f;return-1},Fr=function(a,b){return 0<=sr(a,b)},Gr=function(a){return 0==a.length},Hr=function(a){if(!gq(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},Ir=function(a,b){Fr(a,
b)||a.push(b)},Kr=function(a,b){var c=sr(a,b),e;(e=0<=c)&&Jr(a,c);return e},Jr=function(a,b){C(null!=a.length);return 1==Array.prototype.splice.call(a,b,1).length},Lr=function(a,b,c){b=Cr(a,b,c);return 0<=b?(Jr(a,b),!0):!1},Mr=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},Nr=function(a){var b=a.length;if(0<b){for(var c=Array(b),e=0;e<b;e++)c[e]=a[e];return c}return[]},Or=function(a,b){for(var c=1;c<arguments.length;c++){var e=arguments[c];if(hq(e)){var f=a.length||0,
g=e.length||0;a.length=f+g;for(var h=0;h<g;h++)a[f+h]=e[h]}else a.push(e)}},Qr=function(a,b,c,e){C(null!=a.length);return Array.prototype.splice.apply(a,Pr(arguments,1))},Pr=function(a,b,c){C(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Rr=function(a,b,c){b=b||a;var e=function(a){return lq(a)?"o"+oq(a):(typeof a).charAt(0)+a};c=c||e;for(var e={},f=0,g=0;g<a.length;){var h=a[g++],k=c(h);Object.prototype.hasOwnProperty.call(e,k)||(e[k]=
!0,b[f++]=h)}b.length=f},Tr=function(a,b){a.sort(b||Sr)},Ur=function(a,b){for(var c=Array(a.length),e=0;e<a.length;e++)c[e]={index:e,value:a[e]};var f=b||Sr;Tr(c,function(a,b){return f(a.value,b.value)||a.index-b.index});for(e=0;e<a.length;e++)a[e]=c[e].value},Sr=function(a,b){return a>b?1:a<b?-1:0};var E=function(){this.ob=this.ob;this.Yn=this.Yn};r=E.prototype;r.ob=!1;r.fqa=function(){return this.ob};r.HI=E.prototype.fqa;r.dispose=function(){this.ob||(this.ob=!0,this.A())};r.ha=function(a){this.Nba(sq(F,a))};r.Nba=function(a,b){this.ob?v(b)?a.call(b):a():(this.Yn||(this.Yn=[]),this.Yn.push(v(b)?y(a,b):a))};r.A=function(){if(this.Yn)for(;this.Yn.length;)this.Yn.shift()()};
var F=function(a){a&&typeof a.dispose==lh&&a.dispose()},Vr=function(a){for(var b=0,c=arguments.length;b<c;++b){var e=arguments[b];hq(e)?Vr.apply(null,e):F(e)}};var Wr=function(a,b,c){for(var e in a)b.call(c,a[e],e,a)},Xr=function(a,b,c){var e={},f;for(f in a)b.call(c,a[f],f,a)&&(e[f]=a[f]);return e},Yr=function(a,b,c){var e={},f;for(f in a)e[f]=b.call(c,a[f],f,a);return e},Zr=function(a,b,c){for(var e in a)if(b.call(c,a[e],e,a))return!0;return!1},$r=function(a,b,c){for(var e in a)if(!b.call(c,a[e],e,a))return!1;return!0},as=function(a){var b=0,c;for(c in a)b++;return b},bs=function(a){var b=[],c=0,e;for(e in a)b[c++]=a[e];return b},cs=function(a){var b=
[],c=0,e;for(e in a)b[c++]=e;return b},ds=function(a,b){return null!==a&&b in a},es=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},fs=function(a,b,c){for(var e in a)if(b.call(c,a[e],e,a))return e},gs=function(a){for(var b in a)return!1;return!0},hs=function(a,b){var c;(c=b in a)&&delete a[b];return c},is=function(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c},ks=function(a){var b={},c;for(c in a)b[c]=a[c];return b},ls=function(a){var b=fq(a);
if(b==qk||b==ve){if(kq(a.clone))return a.clone();var b=b==ve?[]:{},c;for(c in a)b[c]=ls(a[c]);return b}return a},ms=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},ns="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),os=function(a,b){for(var c,e,f=1;f<arguments.length;f++){e=arguments[f];for(c in e)a[c]=e[c];for(var g=0;g<ns.length;g++)c=ns[g],Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}},ps=function(a){var b=arguments.length;
if(1==b&&gq(arguments[0]))return ps.apply(null,arguments[0]);if(b%2)throw Error(xd);for(var c={},e=0;e<b;e+=2)c[arguments[e]]=arguments[e+1];return c},qs=function(a){var b=arguments.length;if(1==b&&gq(arguments[0]))return qs.apply(null,arguments[0]);for(var c={},e=0;e<b;e++)c[arguments[e]]=!0;return c};var G=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.lo=!1;this.BN=!0};G.prototype.stopPropagation=function(){this.lo=!0};G.prototype.preventDefault=function(){this.defaultPrevented=!0;this.BN=!1};var rs=function(a){a.preventDefault()};var ss=function(a){ss[" "](a);return a};ss[" "]=dq;var ts=function(a,b){try{return ss(a[b]),!0}catch(c){}return!1};var us;a:{var vs=t.navigator;if(vs){var ws=vs.userAgent;if(ws){us=ws;break a}}us=""}var xs=function(a){return Rq(us,a)};var ys=function(){return(xs("Chrome")||xs("CriOS"))&&!xs(ac)};var zs=function(){return xs("iPhone")&&!xs("iPod")&&!xs("iPad")},As=function(){return zs()||xs("iPad")||xs("iPod")};var Bs=xs("Opera"),H=xs("Trident")||xs("MSIE"),Cs=xs(ac),Ds=Cs||H,Es=xs("Gecko")&&!(Rq(us.toLowerCase(),"webkit")&&!xs(ac))&&!(xs("Trident")||xs("MSIE"))&&!xs(ac),Fs=Rq(us.toLowerCase(),"webkit")&&!xs(ac),Gs=Fs&&xs("Mobile"),Hs=xs("Macintosh"),Is=xs("Windows"),Js=xs("Linux")||xs("CrOS"),Ks=function(){var a=t.document;return a?a.documentMode:void 0},Ls;
a:{var Ms="",Ns=function(){var a=us;if(Es)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Cs)return/Edge\/([\d\.]+)/.exec(a);if(H)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Fs)return/WebKit\/(\S+)/.exec(a);if(Bs)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Ns&&(Ms=Ns?Ns[1]:"");if(H){var Os=Ks();if(null!=Os&&Os>parseFloat(Ms)){Ls=String(Os);break a}}Ls=Ms}
var Ps=Ls,Qs={},Rs=function(a){return Qs[a]||(Qs[a]=0<=er(Ps,a))},Ts=function(a){return Number(Ss)>=a},Us=t.document,Ss=Us&&H?Ks()||("CSS1Compat"==Us.compatMode?parseInt(Ps,10):5):void 0;var Vs=!H||Ts(9),Ws=!H||Ts(9),Xs=H&&!Rs("9");!Fs||Rs("528");Es&&Rs("1.9b")||H&&Rs("8")||Bs&&Rs("9.5")||Fs&&Rs("528");Es&&!Rs("8")||H&&Rs("9");var Ys=H?dh:"DOMFocusIn",Zs=H?eh:"DOMFocusOut";var $s=function(a,b){G.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.FC=!1;this.ld=null;a&&this.Vf(a,b)};B($s,G);var at=[1,4,2];r=$s.prototype;
r.Vf=function(a,b){var c=this.type=a.type,e=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var f=a.relatedTarget;f?Es&&(ts(f,"nodeName")||(f=null)):c==Xj?f=a.fromElement:c==Wj&&(f=a.toElement);this.relatedTarget=f;null===e?(this.offsetX=Fs||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Fs||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||
0,this.screenY=a.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c==ej?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.FC=Hs?a.metaKey:a.ctrlKey;this.state=a.state;this.ld=a;a.defaultPrevented&&this.preventDefault()};
r.bqa=function(a){return Vs?this.ld.button==a:this.type==ef?0==a:!!(this.ld.button&at[a])};r.qv=function(){return this.bqa(0)&&!(Fs&&Hs&&this.ctrlKey)};r.stopPropagation=function(){$s.g.stopPropagation.call(this);this.ld.stopPropagation?this.ld.stopPropagation():this.ld.cancelBubble=!0};r.preventDefault=function(){$s.g.preventDefault.call(this);var a=this.ld;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Xs)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var bt="closure_listenable_"+(1E6*Math.random()|0),ct=function(a){return!(!a||!a[bt])},dt=0;var et=function(a,b,c,e,f,g){this.listener=a;this.PC=b;this.src=c;this.type=e;this.Ap=!!f;this.HA=g;this.key=++dt;this.Dr=this.ty=!1};et.prototype.JB=function(){this.Dr=!0;this.HA=this.src=this.PC=this.listener=null};var ft=function(a){this.src=a;this.rd={};this.xx=0};r=ft.prototype;r.add=function(a,b,c,e,f){var g=a.toString();a=this.rd[g];a||(a=this.rd[g]=[],this.xx++);var h=gt(a,b,e,f);-1<h?(b=a[h],c||(b.ty=!1)):(b=new et(b,null,this.src,g,!!e,f),b.ty=c,a.push(b));return b};r.remove=function(a,b,c,e){a=a.toString();if(!(a in this.rd))return!1;var f=this.rd[a];b=gt(f,b,c,e);return-1<b?(f[b].JB(),Jr(f,b),0==f.length&&(delete this.rd[a],this.xx--),!0):!1};
r.S3=function(a){var b=a.type;if(!(b in this.rd))return!1;var c=Kr(this.rd[b],a);c&&(a.JB(),0==this.rd[b].length&&(delete this.rd[b],this.xx--));return c};r.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.rd)if(!a||c==a){for(var e=this.rd[c],f=0;f<e.length;f++)++b,e[f].JB();delete this.rd[c];this.xx--}return b};r.cA=function(a,b){var c=this.rd[a.toString()],e=[];if(c)for(var f=0;f<c.length;++f){var g=c[f];g.Ap==b&&e.push(g)}return e};
r.xu=function(a,b,c,e){a=this.rd[a.toString()];var f=-1;a&&(f=gt(a,b,c,e));return-1<f?a[f]:null};r.hasListener=function(a,b){var c=v(a),e=c?a.toString():"",f=v(b);return Zr(this.rd,function(a){for(var h=0;h<a.length;++h)if(!(c&&a[h].type!=e||f&&a[h].Ap!=b))return!0;return!1})};var gt=function(a,b,c,e){for(var f=0;f<a.length;++f){var g=a[f];if(!g.Dr&&g.listener==b&&g.Ap==!!c&&g.HA==e)return f}return-1};var ht="closure_lm_"+(1E6*Math.random()|0),it={},jt=0,I=function(a,b,c,e,f){if(gq(b)){for(var g=0;g<b.length;g++)I(a,b[g],c,e,f);return null}c=kt(c);return ct(a)?a.o(b,c,e,f):lt(a,b,c,!1,e,f)},lt=function(a,b,c,e,f,g){if(!b)throw Error("Invalid event type");var h=!!f,k=mt(a);k||(a[ht]=k=new ft(a));c=k.add(b,c,e,f,g);if(c.PC)return c;e=nt();c.PC=e;e.src=a;e.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),e,h);else if(a.attachEvent)a.attachEvent(ot(b.toString()),e);else throw Error("addEventListener and attachEvent are unavailable.");
jt++;return c},nt=function(){var a=pt,b=Ws?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},qt=function(a,b,c,e,f){if(gq(b)){for(var g=0;g<b.length;g++)qt(a,b[g],c,e,f);return null}c=kt(c);return ct(a)?a.Zf(b,c,e,f):lt(a,b,c,!0,e,f)},rt=function(a,b,c,e,f){if(gq(b)){for(var g=0;g<b.length;g++)rt(a,b[g],c,e,f);return null}c=kt(c);if(ct(a))return a.Ca(b,c,e,f);if(!a)return!1;if(a=mt(a))if(b=a.xu(b,c,!!e,f))return st(b);return!1},st=function(a){if(jq(a)||
!a||a.Dr)return!1;var b=a.src;if(ct(b))return b.p9(a);var c=a.type,e=a.PC;b.removeEventListener?b.removeEventListener(c,e,a.Ap):b.detachEvent&&b.detachEvent(ot(c),e);jt--;(c=mt(b))?(c.S3(a),0==c.xx&&(c.src=null,b[ht]=null)):a.JB();return!0},tt=function(a,b){if(!a)return 0;if(ct(a))return a.removeAllListeners(b);var c=mt(a);if(!c)return 0;var e=0,f=b&&b.toString(),g;for(g in c.rd)if(!f||g==f)for(var h=c.rd[g].concat(),k=0;k<h.length;++k)st(h[k])&&++e;return e},ut=function(a,b,c){return ct(a)?a.cA(b,
c):a?(a=mt(a))?a.cA(b,c):[]:[]},ot=function(a){return a in it?it[a]:it[a]="on"+a},wt=function(a,b,c,e){return ct(a)?a.bu(b,c,e):vt(a,b,c,e)},vt=function(a,b,c,e){var f=!0;if(a=mt(a))if(b=a.rd[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.Ap==c&&!g.Dr&&(g=xt(g,e),f=f&&!1!==g)}return f},xt=function(a,b){var c=a.listener,e=a.HA||a.src;a.ty&&st(a);return c.call(e,b)},pt=function(a,b){if(a.Dr)return!0;if(!Ws){var c=b||cq("window.event"),e=new $s(c,this),f=!0;if(!(0>c.keyCode||void 0!=
c.returnValue)){a:{var g=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(n){g=!0}if(g||void 0==c.returnValue)c.returnValue=!0}c=[];for(g=e.currentTarget;g;g=g.parentNode)c.push(g);for(var g=a.type,h=c.length-1;!e.lo&&0<=h;h--){e.currentTarget=c[h];var k=vt(c[h],g,!0,e),f=f&&k}for(h=0;!e.lo&&h<c.length;h++)e.currentTarget=c[h],k=vt(c[h],g,!1,e),f=f&&k}return f}return xt(a,new $s(b,this))},mt=function(a){a=a[ht];return a instanceof ft?a:null},yt="__closure_events_fn_"+(1E9*Math.random()>>>0),kt=function(a){C(a,
"Listener can not be null.");if(kq(a))return a;C(a.handleEvent,"An object listener must have handleEvent method.");a[yt]||(a[yt]=function(b){return a.handleEvent(b)});return a[yt]};var J=function(){E.call(this);this.zh=new ft(this);this.jba=this;this.TM=null};B(J,E);J.prototype[bt]=!0;r=J.prototype;r.vq=function(){return this.TM};r.hm=function(a){this.TM=a};r.addEventListener=function(a,b,c,e){I(this,a,b,c,e)};r.removeEventListener=function(a,b,c,e){rt(this,a,b,c,e)};
r.dispatchEvent=function(a){this.JS();var b,c=this.vq();if(c){b=[];for(var e=1;c;c=c.vq())b.push(c),C(1E3>++e,"infinite loop")}c=this.jba;e=a.type||a;if(x(a))a=new G(a,c);else if(a instanceof G)a.target=a.target||c;else{var f=a;a=new G(e,c);os(a,f)}var f=!0,g;if(b)for(var h=b.length-1;!a.lo&&0<=h;h--)g=a.currentTarget=b[h],f=g.bu(e,!0,a)&&f;a.lo||(g=a.currentTarget=c,f=g.bu(e,!0,a)&&f,a.lo||(f=g.bu(e,!1,a)&&f));if(b)for(h=0;!a.lo&&h<b.length;h++)g=a.currentTarget=b[h],f=g.bu(e,!1,a)&&f;return f};
r.A=function(){J.g.A.call(this);this.removeAllListeners();this.TM=null};r.o=function(a,b,c,e){this.JS();return this.zh.add(String(a),b,!1,c,e)};r.Zf=function(a,b,c,e){return this.zh.add(String(a),b,!0,c,e)};r.Ca=function(a,b,c,e){return this.zh.remove(String(a),b,c,e)};r.p9=function(a){return this.zh.S3(a)};r.removeAllListeners=function(a){return this.zh?this.zh.removeAll(a):0};
r.bu=function(a,b,c){a=this.zh.rd[String(a)];if(!a)return!0;a=a.concat();for(var e=!0,f=0;f<a.length;++f){var g=a[f];if(g&&!g.Dr&&g.Ap==b){var h=g.listener,k=g.HA||g.src;g.ty&&this.p9(g);e=!1!==h.call(k,c)&&e}}return e&&0!=c.BN};r.cA=function(a,b){return this.zh.cA(String(a),b)};r.xu=function(a,b,c,e){return this.zh.xu(String(a),b,c,e)};r.hasListener=function(a,b){return this.zh.hasListener(v(a)?String(a):void 0,b)};r.JS=function(){C(this.zh,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var zt=function(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},At=function(a){return eval("("+a+")")},Ct=function(a,b){return(new Bt(b)).bm(a)},Bt=function(a){this.WC=a};
Bt.prototype.bm=function(a){var b=[];this.SN(a,b);return b.join("")};Bt.prototype.SN=function(a,b){if(null==a)b.push(nk);else{if(typeof a==qk){if(gq(a)){this.Hxa(a,b);return}if(a instanceof String||a instanceof Number||a instanceof Boolean)a=a.valueOf();else{this.Jxa(a,b);return}}switch(typeof a){case so:this.u5(a,b);break;case pk:this.Ixa(a,b);break;case Me:b.push(String(a));break;case lh:b.push(nk);break;default:throw Error("Unknown type: "+typeof a);}}};
var Dt={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Et=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;Bt.prototype.u5=function(a,b){b.push('"',a.replace(Et,function(a){var b=Dt[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Dt[a]=b);return b}),'"')};Bt.prototype.Ixa=function(a,b){b.push(isFinite(a)&&!isNaN(a)?String(a):nk)};
Bt.prototype.Hxa=function(a,b){var c=a.length;b.push("[");for(var e="",f=0;f<c;f++)b.push(e),e=a[f],this.SN(this.WC?this.WC.call(a,String(f),e):e,b),e=",";b.push("]")};Bt.prototype.Jxa=function(a,b){b.push("{");var c="",e;for(e in a)if(Object.prototype.hasOwnProperty.call(a,e)){var f=a[e];typeof f!=lh&&(b.push(c),this.u5(e,b),b.push(":"),this.SN(this.WC?this.WC.call(a,e,f):f,b),c=",")}b.push("}")};var Ft={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var Gt=/<[^>]*>|&[^;]+;/g,Ht=function(a,b){return b?a.replace(Gt,""):a},It=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Jt=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Kt=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Lt=/^http:\/\/.*/,Mt=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*$"),
Nt=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc][^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*$"),Ot=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Arab|Hebr|Thaa|Nkoo|Tfng))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Pt=/\s+/,Qt=/[\d\u06f0-\u06f9]/,Rt=function(a,b){for(var c=0,e=0,f=!1,g=Ht(a,b).split(Pt),h=0;h<g.length;h++){var k=g[h];Kt.test(Ht(k,void 0))?(c++,e++):Lt.test(k)?f=!0:Jt.test(Ht(k,void 0))?
e++:Qt.test(k)&&(f=!0)}return 0==e?f?1:0:.4<c/e?-1:1};var Tt=function(){this.hE="";this.Saa=St};Tt.prototype.vl=!0;Tt.prototype.zi=function(){return this.hE};Tt.prototype.toString=function(){return"Const{"+this.hE+"}"};var Ut=function(a){if(a instanceof Tt&&a.constructor===Tt&&a.Saa===St)return a.hE;jr("expected object of type Const, got '"+a+"'");return"type_error:Const"},St={},Vt=function(a){var b=new Tt;b.hE=a;return b};var Xt=function(){this.MC="";this.Baa=Wt};Xt.prototype.vl=!0;var Wt={};Xt.prototype.zi=function(){return this.MC};Xt.prototype.toString=function(){return"SafeStyle{"+this.MC+"}"};Xt.prototype.Oj=function(a){this.MC=a;return this};
var Yt=(new Xt).Oj(""),$t=function(a){var b="",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var e=a[c];if(null!=e){if(e instanceof Tt)e=Ut(e),C(!/[{;}]/.test(e),"Value does not allow [{;}].");else if(Zt.test(e)){for(var f=!0,g=!0,h=0;h<e.length;h++){var k=e.charAt(h);"'"==k&&g?f=!f:'"'==k&&f&&(g=!g)}f&&g||(jr("String value requires balanced quotes, got: "+e),e="zClosurez")}else jr("String value allows only [-,.\"'%_!# a-zA-Z0-9], rgb() and rgba(), got: "+
e),e="zClosurez";b+=c+":"+e+";"}}if(!b)return Yt;C(!/[<>]/.test(b),"Forbidden characters in style string: "+b);return(new Xt).Oj(b)},Zt=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;var bu=function(){this.LC="";this.Aaa=au};bu.prototype.vl=!0;var au={},du=function(a){var b="",c=function(a){gq(a)?D(a,c):b+=cu(a)};D(arguments,c);return(new bu).Oj(b)},fu=function(a){a=Ut(a);if(0===a.length)return eu;C(!Rq(a,"<"),"Forbidden '<' character in style sheet string: "+a);return(new bu).Oj(a)};bu.prototype.zi=function(){return this.LC};bu.prototype.toString=function(){return"SafeStyleSheet{"+this.LC+"}"};
var cu=function(a){if(a instanceof bu&&a.constructor===bu&&a.Aaa===au)return a.LC;jr("expected object of type SafeStyleSheet, got '"+a+pa+fq(a));return"type_error:SafeStyleSheet"};bu.prototype.Oj=function(a){this.LC=a;return this};var eu=(new bu).Oj("");var gu=function(){var a=v(t.URL)&&v(t.URL.createObjectURL)?t.URL:v(t.webkitURL)&&v(t.webkitURL.createObjectURL)?t.webkitURL:v(t.createObjectURL)?t:null;if(null!=a)return a;throw Error("This browser doesn't seem to support blob URLs");};var iu=function(){this.ek="";this.Caa=hu};r=iu.prototype;r.vl=!0;r.zi=function(){return this.ek};r.mK=!0;r.Ej=function(){return 1};r.toString=function(){return"SafeUrl{"+this.ek+"}"};
var ju=function(a){if(a instanceof iu&&a.constructor===iu&&a.Caa===hu)return a.ek;jr("expected object of type SafeUrl, got '"+a+pa+fq(a));return"type_error:SafeUrl"},ku=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,mu=function(a){if(a instanceof iu)return a;a=a.vl?a.zi():String(a);ku.test(a)||(a=Jd);return lu(a)},hu={},lu=function(a){var b=new iu;b.ek=a;return b};lu(Id);var ou=function(){this.NC="";this.Xaa=nu};r=ou.prototype;r.vl=!0;r.zi=function(){return this.NC};r.mK=!0;r.Ej=function(){return 1};r.toString=function(){return"TrustedResourceUrl{"+this.NC+"}"};var pu=function(a){if(a instanceof ou&&a.constructor===ou&&a.Xaa===nu)return a.NC;jr("expected object of type TrustedResourceUrl, got '"+a+pa+fq(a));return"type_error:TrustedResourceUrl"},nu={},qu=function(a){var b=new ou;b.NC=a;return b};var su=function(){this.ek="";this.zaa=ru;this.hH=null};r=su.prototype;r.mK=!0;r.Ej=function(){return this.hH};r.vl=!0;r.zi=function(){return this.ek};r.toString=function(){return"SafeHtml{"+this.ek+"}"};
var tu=function(a){if(a instanceof su&&a.constructor===su&&a.zaa===ru)return a.ek;jr("expected object of type SafeHtml, got '"+a+pa+fq(a));return"type_error:SafeHtml"},vu=function(a){if(a instanceof su)return a;var b=null;a.mK&&(b=a.Ej());return uu(Qq(a.vl?a.zi():String(a)),b)},wu=function(a){if(a instanceof su)return a;a=vu(a);return uu(Iq(tu(a)),a.Ej())},xu=function(a){if(a instanceof su)return a;a=vu(a);var b;b=tu(a);b=Iq(b.replace(/  /g," &#160;"),void 0);return uu(b,a.Ej())},yu=/^[a-zA-Z0-9-]+$/,
zu={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Au={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Du=function(a,b,c){Bu(a);return Cu(a,b,c)},Bu=function(a){if(!yu.test(a))throw Error("Invalid tag name <"+a+">.");if(a.toUpperCase()in Au)throw Error("Tag name <"+a+"> is not allowed for SafeHtml.");},Fu=function(a,b){var c=Eu({type:"text/css"},{},b),e="";a=Mr(a);for(var f=0;f<a.length;f++)e+=cu(a[f]);e=
uu(e,0);return Cu(uo,c,e)},Gu=function(a){var b=0,c="",e=function(a){gq(a)?D(a,e):(a=vu(a),c+=tu(a),a=a.Ej(),0==b?b=a:0!=a&&b!=a&&(b=null))};D(arguments,e);return uu(c,b)},Hu=function(a,b){var c=Gu(Pr(arguments,1));c.hH=a;return c},ru={},uu=function(a,b){return(new su).Oj(a,b)};su.prototype.Oj=function(a,b){this.ek=a;this.hH=b;return this};
var Cu=function(a,b,c){var e=null,f;f="<"+a+Iu(a,b);null!=c?gq(c)||(c=[c]):c=[];!0===Ft[a.toLowerCase()]?(C(!c.length,"Void tag <"+a+"> does not allow content."),f+=">"):(e=Gu(c),f+=">"+tu(e)+"</"+a+">",e=e.Ej());(a=b&&b.dir)&&(e=/^(ltr|rtl|auto)$/i.test(a)?0:null);return uu(f,e)},Iu=function(a,b){var c="";if(b)for(var e in b){if(!yu.test(e))throw Error('Invalid attribute name "'+e+'".');var f=b[e];if(null!=f){var g,h=a;g=e;if(f instanceof Tt)f=Ut(f);else if(g.toLowerCase()==uo){if(!lq(f))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+
typeof f+" given: "+f);f instanceof Xt||(f=$t(f));f instanceof Xt&&f.constructor===Xt&&f.Baa===Wt?f=f.MC:(jr("expected object of type SafeStyle, got '"+f+pa+fq(f)),f="type_error:SafeStyle")}else{if(/^on/i.test(g))throw Error('Attribute "'+g+'" requires goog.string.Const value, "'+f+'" given.');if(g.toLowerCase()in zu)if(f instanceof ou)f=pu(f);else if(f instanceof iu)f=ju(f);else if(x(f))f=mu(f).zi();else throw Error('Attribute "'+g+'" on tag "'+h+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+
f+'" given.');}f.vl&&(f=f.zi());C(x(f)||jq(f),"String or number value expected, got "+typeof f+" with value: "+f);g=g+'="'+Qq(String(f))+'"';c+=" "+g}}return c},Eu=function(a,b,c){var e={},f;for(f in a)C(f.toLowerCase()==f,Dc),e[f]=a[f];for(f in b)C(f.toLowerCase()==f,Dc),e[f]=b[f];for(f in c){var g=f.toLowerCase();if(g in a)throw Error(Hb+g+'" attribute, got "'+f+la+c[f]+'"');g in b&&delete e[g];e[f]=c[f]}return e};uu("<!DOCTYPE html>",0);var Ju=uu("",0),Ku=uu("<br>",0);var Lu=function(a,b,c){lr(Ut(a),dk);C(!Dq(Ut(a)),ek);return uu(b,c||null)};var Mu=function(a){return function(){return a}},Nu=Mu(!0),Ou=Mu(null),Pu=function(a){return a},Qu=function(a){return function(){throw Error(a);}};var Ru="StopIteration"in t?t.StopIteration:{message:"StopIteration",stack:""},Su=function(){};Su.prototype.next=function(){throw Ru;};Su.prototype.rg=function(){return this};
var Tu=function(a){if(a instanceof Su)return a;if(typeof a.rg==lh)return a.rg(!1);if(hq(a)){var b=0,c=new Su;c.next=function(){for(;;){if(b>=a.length)throw Ru;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},Uu=function(a,b,c){if(hq(a))try{D(a,b,c)}catch(e){if(e!==Ru)throw e;}else{a=Tu(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(e){if(e!==Ru)throw e;}}},Vu=function(a){if(hq(a))return Nr(a);a=Tu(a);var b=[];Uu(a,function(a){b.push(a)});return b},Wu=function(a,b){try{return Tu(a).next()}catch(c){if(c!=
Ru)throw c;return b}};var K=function(a,b){this.zb={};this.Bb=[];this.Mx=this.Ab=0;var c=arguments.length;if(1<c){if(c%2)throw Error(xd);for(var e=0;e<c;e+=2)this.set(arguments[e],arguments[e+1])}else a&&this.addAll(a)};r=K.prototype;r.xa=function(){return this.Ab};r.pb=function(){this.Cp();for(var a=[],b=0;b<this.Bb.length;b++)a.push(this.zb[this.Bb[b]]);return a};r.kb=function(){this.Cp();return this.Bb.concat()};r.Xb=function(a){return Xu(this.zb,a)};
r.oj=function(a){for(var b=0;b<this.Bb.length;b++){var c=this.Bb[b];if(Xu(this.zb,c)&&this.zb[c]==a)return!0}return!1};r.Dd=function(a,b){if(this===a)return!0;if(this.Ab!=a.xa())return!1;var c=b||Yu;this.Cp();for(var e,f=0;e=this.Bb[f];f++)if(!c(this.get(e),a.get(e)))return!1;return!0};var Yu=function(a,b){return a===b};r=K.prototype;r.bc=function(){return 0==this.Ab};r.clear=function(){this.zb={};this.Mx=this.Ab=this.Bb.length=0};
r.remove=function(a){return Xu(this.zb,a)?(delete this.zb[a],this.Ab--,this.Mx++,this.Bb.length>2*this.Ab&&this.Cp(),!0):!1};r.Cp=function(){if(this.Ab!=this.Bb.length){for(var a=0,b=0;a<this.Bb.length;){var c=this.Bb[a];Xu(this.zb,c)&&(this.Bb[b++]=c);a++}this.Bb.length=b}if(this.Ab!=this.Bb.length){for(var e={},b=a=0;a<this.Bb.length;)c=this.Bb[a],Xu(e,c)||(this.Bb[b++]=c,e[c]=1),a++;this.Bb.length=b}};r.get=function(a,b){return Xu(this.zb,a)?this.zb[a]:b};
r.set=function(a,b){Xu(this.zb,a)||(this.Ab++,this.Bb.push(a),this.Mx++);this.zb[a]=b};r.addAll=function(a){var b;a instanceof K?(b=a.kb(),a=a.pb()):(b=cs(a),a=bs(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};r.forEach=function(a,b){for(var c=this.kb(),e=0;e<c.length;e++){var f=c[e],g=this.get(f);a.call(b,g,f,this)}};r.clone=function(){return new K(this)};r.sx=function(){this.Cp();for(var a={},b=0;b<this.Bb.length;b++){var c=this.Bb[b];a[c]=this.zb[c]}return a};
r.rg=function(a){this.Cp();var b=0,c=this.Mx,e=this,f=new Su;f.next=function(){if(c!=e.Mx)throw Error("The map has changed since the iterator was created");if(b>=e.Bb.length)throw Ru;var f=e.Bb[b++];return a?f:e.zb[f]};return f};var Xu=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Zu=function(a){return a.xa&&typeof a.xa==lh?a.xa():hq(a)||x(a)?a.length:as(a)},$u=function(a){if(a.pb&&typeof a.pb==lh)return a.pb();if(x(a))return a.split("");if(hq(a)){for(var b=[],c=a.length,e=0;e<c;e++)b.push(a[e]);return b}return bs(a)},av=function(a){if(a.kb&&typeof a.kb==lh)return a.kb();if(!a.pb||typeof a.pb!=lh){if(hq(a)||x(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return cs(a)}},bv=function(a,b,c){if(a.forEach&&typeof a.forEach==lh)a.forEach(b,c);else if(hq(a)||
x(a))D(a,b,c);else for(var e=av(a),f=$u(a),g=f.length,h=0;h<g;h++)b.call(c,f[h],e&&e[h],a)},cv=function(a,b,c){if(typeof a.every==lh)return a.every(b,c);if(hq(a)||x(a))return Ar(a,b,c);for(var e=av(a),f=$u(a),g=f.length,h=0;h<g;h++)if(!b.call(c,f[h],e&&e[h],a))return!1;return!0};var dv=function(a){this.zb=new K;a&&this.addAll(a)},ev=function(a){var b=typeof a;return b==qk&&a||b==lh?"o"+oq(a):b.substr(0,1)+a};r=dv.prototype;r.xa=function(){return this.zb.xa()};r.add=function(a){this.zb.set(ev(a),a)};r.addAll=function(a){a=$u(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};r.removeAll=function(a){a=$u(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};r.remove=function(a){return this.zb.remove(ev(a))};r.clear=function(){this.zb.clear()};r.bc=function(){return this.zb.bc()};
r.contains=function(a){return this.zb.Xb(ev(a))};r.AK=function(a){var b=new dv;a=$u(a);for(var c=0;c<a.length;c++){var e=a[c];this.contains(e)&&b.add(e)}return b};r.pb=function(){return this.zb.pb()};r.clone=function(){return new dv(this)};r.Dd=function(a){return this.xa()==Zu(a)&&this.Vqa(a)};
r.Vqa=function(a){var b=Zu(a);if(this.xa()>b)return!1;!(a instanceof dv)&&5<b&&(a=new dv(a));return cv(this,function(b){var e=a;return e.contains&&typeof e.contains==lh?e.contains(b):e.oj&&typeof e.oj==lh?e.oj(b):hq(e)||x(e)?Fr(e,b):es(e,b)})};r.rg=function(){return this.zb.rg(!1)};var fv=function(a,b){var c=[],e=function(a,g,h){var k=g+"  ";h=new dv(h);try{if(v(a))if(null===a)c.push("NULL");else if(x(a))c.push('"'+a.replace(/\n/g,"\n"+g)+'"');else if(kq(a))c.push(String(a).replace(/\n/g,"\n"+g));else if(lq(a))if(h.contains(a))c.push("*** reference loop detected ***");else{h.add(a);c.push("{");for(var n in a)if(b||!kq(a[n]))c.push("\n"),c.push(k),c.push(n+" = "),e(a[n],k,h);c.push("\n"+g+"}")}else c.push(a);else c.push("undefined")}catch(q){c.push("*** "+q+" ***")}};e(a,"",
new dv);return c.join("")},hv=function(a,b){try{var c;var e=cq("window.location.href");if(x(a))c={message:a,name:"Unknown error",lineNumber:Ec,fileName:e,stack:Ec};else{var f,g,h=!1;try{f=a.lineNumber||a.kNa||Ec}catch(ca){f=Ec,h=!0}try{g=a.fileName||a.filename||a.sourceURL||t.$googDebugFname||e}catch(ca){g=Ec,h=!0}c=!h&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||Ec,name:a.name||"UnknownError",lineNumber:f,fileName:g,stack:a.stack||Ec}}var k;var n=c.fileName;null!=n||
(n="");if(/^https?:\/\//i.test(n)){var q=mu(n),u=Vt("view-source scheme plus HTTP/HTTPS URL"),A="view-source:"+ju(q);lr(Ut(u),dk);C(!Dq(Ut(u)),ek);k=lu(A)}else k=lu(Ut(Vt("sanitizedviewsrc")));return Gu(xu("Message: "+c.message+"\nUrl: "),Du("a",{href:k,target:"_new"},c.fileName),xu("\nLine: "+c.lineNumber+"\n\nBrowser stack:\n"+c.stack+"-> [end]\n\nJS stack traversal:\n"+gv(b)+"-> "))}catch(ca){return xu("Exception trying to expose exception! You win, we lose. "+ca)}},gv=function(a){var b;b=Error();
if(Error.captureStackTrace)Error.captureStackTrace(b,a||gv),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=iv(a||arguments.callee.caller,[]));return b},iv=function(a,b){var c=[];if(Fr(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(jv(a)+"(");for(var e=a.arguments,f=0;e&&f<e.length;f++){0<f&&c.push(", ");var g;g=e[f];switch(typeof g){case qk:g=g?qk:nk;break;case so:break;case pk:g=String(g);break;case Me:g=g?Wo:Qg;break;case lh:g=(g=jv(g))?
g:"[fn]";break;default:g=typeof g}40<g.length&&(g=g.substr(0,40)+"...");c.push(g)}b.push(a);c.push(")\n");try{c.push(iv(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")},jv=function(a){if(kv[a])return kv[a];a=String(a);if(!kv[a]){var b=/function ([^\(]+)/.exec(a);kv[a]=b?b[1]:"[Anonymous]"}return kv[a]},kv={};var lv=function(a,b,c,e,f){this.reset(a,b,c,e,f)};lv.prototype.pz=null;var mv=0;r=lv.prototype;r.reset=function(a,b,c,e,f){typeof f==pk||mv++;this.P8=e||z();this.Yf=a;this.XB=b;this.u1=c;delete this.pz};r.Lya=function(a){this.pz=a};r.zo=function(a){this.Yf=a};r.getMessage=function(){return this.XB};r.LO=function(a){this.XB=a};var nv=function(a){this.Fb=a;this.Jj=this.Ja=this.Yf=this.ia=null},ov=function(a,b){this.name=a;this.value=b};ov.prototype.toString=function(){return this.name};
var pv=new ov("SHOUT",1200),qv=new ov("SEVERE",1E3),rv=new ov("WARNING",900),sv=new ov("INFO",800),tv=new ov("CONFIG",700),uv=new ov("FINE",500),vv=new ov("FINER",400),wv=[new ov("OFF",Infinity),pv,qv,rv,sv,tv,uv,vv,new ov("FINEST",300),new ov("ALL",0)],xv=null,yv=function(a){if(!xv){xv={};for(var b=0,c;c=wv[b];b++)xv[c.value]=c,xv[c.name]=c}return xv[a]||null},zv=function(a){t.console&&(t.console.timeStamp?t.console.timeStamp(a):t.console.markTimeline&&t.console.markTimeline(a));t.msWriteProfilerMark&&
t.msWriteProfilerMark(a)};r=nv.prototype;r.getName=function(){return this.Fb};r.eS=function(a){this.Jj||(this.Jj=[]);this.Jj.push(a)};r.Wva=function(a){var b=this.Jj;return!!b&&Kr(b,a)};r.getParent=function(){return this.ia};r.Xc=function(){this.Ja||(this.Ja={});return this.Ja};r.zo=function(a){this.Yf=a};r.GX=function(){if(this.Yf)return this.Yf;if(this.ia)return this.ia.GX();jr("Root logger has no level set.");return null};r.r0=function(a){return a.value>=this.GX().value};
r.log=function(a,b,c){this.r0(a)&&(kq(b)&&(b=b()),this.YV(this.ZX(a,b,c)))};r.ZX=function(a,b,c){a=new lv(a,String(b),this.Fb);c&&a.Lya(c);return a};r.vP=function(a,b){this.log(qv,a,b)};r.h$=function(a,b){this.log(rv,a,b)};r.info=function(a,b){this.log(sv,a,b)};r.Wga=function(a,b){this.log(uv,a,b)};r.Lra=function(a){this.r0(a.Yf)&&this.YV(a)};r.YV=function(a){zv("log:"+a.getMessage());for(var b=this;b;)b.cda(a),b=b.getParent()};r.cda=function(a){if(this.Jj)for(var b=0,c;c=this.Jj[b];b++)c(a)};
r.Tw=function(a){this.ia=a};r.qba=function(a,b){this.Xc()[a]=b};var Av={},Bv=null,Cv=function(){Bv||(Bv=new nv(""),Av[""]=Bv,Bv.zo(tv))},Dv=function(){Cv();return Bv},Ev=function(a){Cv();var b;if(!(b=Av[a])){b=new nv(a);var c=a.lastIndexOf("."),e=a.substr(c+1),c=Ev(a.substr(0,c));c.qba(e,b);b.Tw(c);Av[a]=b}return b};var Fv=function(a,b){var c=Ev(a);b&&c&&c.zo(b);return c},Gv=function(a,b,c){a&&a.vP(b,c)},Hv=function(a,b,c){a&&a.h$(b,c)},L=function(a,b,c){a&&a.info(b,c)},Iv=function(a,b,c){a&&a.Wga(b,c)};var Jv=function(a,b,c){this.sra=c;this.qj=a;this.Yl=b;this.iC=0;this.Qb=null};Jv.prototype.get=function(){var a;0<this.iC?(this.iC--,a=this.Qb,this.Qb=a.next,a.next=null):a=this.qj();return a};Jv.prototype.put=function(a){this.Yl(a);this.iC<this.sra&&(this.iC++,a.next=this.Qb,this.Qb=a)};var Kv=function(a){t.setTimeout(function(){throw a;},0)},Lv,Mv=function(){var a=t.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!xs("Presto")&&(a=function(){var a=document.createElement(oc);a.style.display=lk;a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),e="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,
a=y(function(a){if(("*"==e||a.origin==e)&&a.data==c)this.port1.onmessage()},this);b.addEventListener(Nj,a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,e)}}});if("undefined"!==typeof a&&!xs("Trident")&&!xs("MSIE")){var b=new a,c={},e=c;b.port1.onmessage=function(){if(v(c.next)){c=c.next;var a=c.AT;c.AT=null;a()}};return function(a){e.next={AT:a};e=e.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement(Oc)?function(a){var b=
document.createElement(Oc);b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){t.setTimeout(a,0)}};var Nv=function(){this.VE=this.cp=null},Pv=new Jv(function(){return new Ov},function(a){a.reset()},100);Nv.prototype.add=function(a,b){var c=this.Tka();c.set(a,b);this.VE?this.VE.next=c:(C(!this.cp),this.cp=c);this.VE=c};Nv.prototype.remove=function(){var a=null;this.cp&&(a=this.cp,this.cp=this.cp.next,this.cp||(this.VE=null),a.next=null);return a};Nv.prototype.Rwa=function(a){Pv.put(a)};Nv.prototype.Tka=function(){return Pv.get()};var Ov=function(){this.next=this.scope=this.gI=null};
Ov.prototype.set=function(a,b){this.gI=a;this.scope=b;this.next=null};Ov.prototype.reset=function(){this.next=this.scope=this.gI=null};var Uv=function(a,b){Qv||Rv();Sv||(Qv(),Sv=!0);Tv.add(a,b)},Qv,Rv=function(){if(t.Promise&&t.Promise.resolve){var a=t.Promise.resolve(void 0);Qv=function(){a.then(Xv)}}else Qv=function(){var a=Xv;!kq(t.setImmediate)||t.Window&&t.Window.prototype&&!xs(ac)&&t.Window.prototype.setImmediate==t.setImmediate?(Lv||(Lv=Mv()),Lv(a)):t.setImmediate(a)}},Sv=!1,Tv=new Nv,Xv=function(){for(var a;a=Tv.remove();){try{a.gI.call(a.scope)}catch(b){Kv(b)}Tv.Rwa(a)}Sv=!1};var Yv=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Zv=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var aw=function(a,b){this.sa=0;this.ah=void 0;this.yp=this.ij=this.ia=null;this.uA=this.PH=!1;if(a!=dq)try{var c=this;a.call(b,function(a){c.Gr(2,a)},function(a){if(!(a instanceof $v))try{if(a instanceof Error)throw a;throw Error("Promise rejected.");}catch(b){}c.Gr(3,a)})}catch(e){this.Gr(3,e)}},bw=function(){this.next=this.context=this.or=this.Zn=this.Hm=null;this.fy=!1};bw.prototype.reset=function(){this.context=this.or=this.Zn=this.Hm=null;this.fy=!1};
var cw=new Jv(function(){return new bw},function(a){a.reset()},100),dw=function(a,b,c){var e=cw.get();e.Zn=a;e.or=b;e.context=c;return e};aw.prototype.then=function(a,b,c){null!=a&&mr(a,Ik);null!=b&&mr(b,Jk);return this.pba(kq(a)?a:null,kq(b)?b:null,c)};Yv(aw);r=aw.prototype;r.QCa=function(a,b,c){null!=a&&mr(a,Ik);null!=b&&mr(b,Jk);this.YR(dw(a||dq,b||null,c))};r.cancel=function(a){0==this.sa&&Uv(function(){var b=new $v(a);this.xT(b)},this)};
r.xT=function(a){0==this.sa&&(this.ia?(this.ia.hda(this,a),this.ia=null):this.Gr(3,a))};r.hda=function(a,b){if(this.ij){for(var c=0,e=null,f=null,g=this.ij;g&&(g.fy||(c++,g.Hm==a&&(e=g),!(e&&1<c)));g=g.next)e||(f=g);e&&(0==this.sa&&1==c?this.xT(b):(f?this.Rva(f):this.h3(),this.wW(e,3,b)))}};r.YR=function(a){this.Hoa()||2!=this.sa&&3!=this.sa||this.T4();this.qva(a)};
r.pba=function(a,b,c){var e=dw(null,null,null);e.Hm=new aw(function(f,g){e.Zn=a?function(b){try{var e=a.call(c,b);f(e)}catch(n){g(n)}}:f;e.or=b?function(a){try{var e=b.call(c,a);!v(e)&&a instanceof $v?g(a):f(e)}catch(n){g(n)}}:g});e.Hm.ia=this;this.YR(e);return e.Hm};r.oDa=function(a){C(1==this.sa);this.sa=0;this.Gr(2,a)};r.pDa=function(a){C(1==this.sa);this.sa=0;this.Gr(3,a)};
r.Gr=function(a,b){if(0==this.sa){this===b&&(a=3,b=new TypeError("Promise cannot resolve to itself"));this.sa=1;var c;a:{var e=b,f=this.oDa,g=this.pDa;if(e instanceof aw)e.QCa(f,g,this),c=!0;else if(Zv(e))e.then(f,g,this),c=!0;else{if(lq(e))try{var h=e.then;if(kq(h)){ew(e,h,f,g,this);c=!0;break a}}catch(k){g.call(this,k);c=!0;break a}c=!1}}c||(this.ah=b,this.sa=a,this.ia=null,this.T4(),3!=a||b instanceof $v||fw(this,b))}};
var ew=function(a,b,c,e,f){var g=!1,h=function(a){g||(g=!0,c.call(f,a))},k=function(a){g||(g=!0,e.call(f,a))};try{b.call(a,h,k)}catch(n){k(n)}};r=aw.prototype;r.T4=function(){this.PH||(this.PH=!0,Uv(this.Zk,this))};r.Hoa=function(){return!!this.ij};r.qva=function(a){C(null!=a.Zn);this.yp?this.yp.next=a:this.ij=a;this.yp=a};r.h3=function(){var a=null;this.ij&&(a=this.ij,this.ij=a.next,a.next=null);this.ij||(this.yp=null);null!=a&&C(null!=a.Zn);return a};
r.Rva=function(a){C(this.ij);C(null!=a);a.next==this.yp&&(this.yp=a);a.next=a.next.next};r.Zk=function(){for(var a;a=this.h3();)this.wW(a,this.sa,this.ah);this.PH=!1};r.wW=function(a,b,c){3==b&&a.or&&!a.fy&&this.jwa();if(a.Hm)a.Hm.ia=null,gw(a,b,c);else try{a.fy?a.Zn.call(a.context):gw(a,b,c)}catch(e){hw.call(null,e)}cw.put(a)};var gw=function(a,b,c){2==b?a.Zn.call(a.context,c):a.or&&a.or.call(a.context,c)};aw.prototype.jwa=function(){var a;for(a=this;a&&a.uA;a=a.ia)a.uA=!1};
var fw=function(a,b){a.uA=!0;Uv(function(){a.uA&&hw.call(null,b)})},hw=Kv,$v=function(a){yq.call(this,a)};B($v,yq);$v.prototype.name=Ue;var iw=function(a,b){J.call(this);this.Le=a||1;this.ws=b||t;this.NF=y(this.TCa,this);this.vL=z()};B(iw,J);r=iw.prototype;r.enabled=!1;r.Ba=null;r.setInterval=function(a){this.Le=a;this.Ba&&this.enabled?(this.stop(),this.start()):this.Ba&&this.stop()};r.TCa=function(){if(this.enabled){var a=z()-this.vL;0<a&&a<.8*this.Le?this.Ba=this.ws.setTimeout(this.NF,this.Le-a):(this.Ba&&(this.ws.clearTimeout(this.Ba),this.Ba=null),this.Gfa(),this.enabled&&(this.Ba=this.ws.setTimeout(this.NF,this.Le),this.vL=z()))}};
r.Gfa=function(){this.dispatchEvent(Ko)};r.start=function(){this.enabled=!0;this.Ba||(this.Ba=this.ws.setTimeout(this.NF,this.Le),this.vL=z())};r.stop=function(){this.enabled=!1;this.Ba&&(this.ws.clearTimeout(this.Ba),this.Ba=null)};r.A=function(){iw.g.A.call(this);this.stop();delete this.ws};var M=function(a,b,c){if(kq(a))c&&(a=y(a,c));else if(a&&typeof a.handleEvent==lh)a=y(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:t.setTimeout(a,b||0)},jw=function(a){t.clearTimeout(a)};var kw=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,lw=function(a,b){return a?b?decodeURI(a):decodeURIComponent(a):a},mw=function(a){var b=a.match(kw);a=b[1];var c=b[2],e=b[3],b=b[4],f="";a&&(f+=a+":");e&&(f+="//",c&&(f+=c+"@"),f+=e,b&&(f+=":"+b));return f},nw=function(a,b){if(a)for(var c=a.split("&"),e=0;e<c.length;e++){var f=c[e].indexOf("="),g,h=null;0<=f?(g=c[e].substring(0,f),h=c[e].substring(f+1)):g=c[e];b(g,h?Hq(h):"")}},
ow=function(a,b,c){a=[a,"&",b];null!=c&&a.push("=",encodeURIComponent(String(c)));a[1]&&(c=a[0],b=c.indexOf("#"),0<=b&&(a.push(c.substr(b)),a[0]=c=c.substr(0,b)),b=c.indexOf("?"),0>b?a[1]="?":b==c.length-1&&(a[1]=void 0));return a.join("")},pw=function(a,b,c,e){for(var f=c.length;0<=(b=a.indexOf(c,b))&&b<e;){var g=a.charCodeAt(b-1);if(38==g||63==g)if(g=a.charCodeAt(b+f),!g||61==g||38==g||35==g)return b;b+=f+1}return-1},qw=/#|$/,rw=function(a,b){var c=a.search(qw),e=pw(a,0,b,c);if(0>e)return null;
var f=a.indexOf("&",e);if(0>f||f>c)f=c;e+=b.length+1;return Hq(a.substr(e,f-e))},sw=/[?&]($|#)/,tw=function(a,b){for(var c=a.search(qw),e=0,f,g=[];0<=(f=pw(a,e,b,c));)g.push(a.substring(e,f)),e=Math.min(a.indexOf("&",f)+1||c,c);g.push(a.substr(e));return g.join("").replace(sw,"$1")};var uw=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};var vw=function(){};vw.prototype.mT=null;vw.prototype.getOptions=function(){return this.mT||(this.mT=this.Wpa())};var ww,xw=function(){};B(xw,vw);xw.prototype.zG=function(){var a=this.kY();return a?new ActiveXObject(a):new XMLHttpRequest};xw.prototype.Wpa=function(){var a={};this.kY()&&(a[0]=!0,a[1]=!0);return a};
xw.prototype.kY=function(){if(!this.m_&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b=0;b<a.length;b++){var c=a[b];try{return new ActiveXObject(c),this.m_=c}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return this.m_};ww=new xw;var yw=function(a){J.call(this);this.headers=new K;this.XE=a||null;this.Na=!1;this.WE=this.Ea=null;this.V0=this.sf="";this.qc=0;this.El="";this.Gn=this.nK=this.QA=this.GH=!1;this.qk=0;this.Jo=null;this.jw="";this.QE=this.mva=this.bp=!1};B(yw,J);yw.prototype.H=Fv("goog.net.XhrIo");var zw=/^https?$/i,Aw=[Hc,"PUT"],Bw=[];r=yw.prototype;r.wda=function(){this.dispose();Kr(Bw,this)};r.OD=function(a){this.qk=Math.max(0,a)};r.bAa=function(a){this.jw=a};r.uP=function(a){this.bp=a};
r.send=function(a,b,c,e){if(this.Ea)throw Error("[goog.net.XhrIo] Object is active with another request="+this.sf+"; newUri="+a);b=b?b.toUpperCase():"GET";this.sf=a;this.El="";this.qc=0;this.V0=b;this.GH=!1;this.Na=!0;this.Ea=this.FG();this.WE=this.XE?this.XE.getOptions():ww.getOptions();this.Ea.onreadystatechange=y(this.J2,this);this.mva&&"onprogress"in this.Ea&&(this.Ea.onprogress=y(function(a){this.H2(a,!0)},this),this.Ea.upload&&(this.Ea.upload.onprogress=y(this.H2,this)));try{Iv(this.H,this.Bj("Opening Xhr")),
this.nK=!0,this.Ea.open(b,String(a),!0),this.nK=!1}catch(g){Iv(this.H,this.Bj("Error opening Xhr: "+g.message));this.aq(5,g);return}a=c||"";var f=this.headers.clone();e&&bv(e,function(a,b){f.set(b,a)});e=Dr(f.kb(),Cw);c=t.FormData&&a instanceof t.FormData;!Fr(Aw,b)||e||c||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");f.forEach(function(a,b){this.Ea.setRequestHeader(b,a)},this);this.jw&&(this.Ea.responseType=this.jw);"withCredentials"in this.Ea&&this.Ea.withCredentials!==
this.bp&&(this.Ea.withCredentials=this.bp);try{this.OT(),0<this.qk&&(this.QE=Dw(this.Ea),Iv(this.H,this.Bj("Will abort after "+this.qk+"ms if incomplete, xhr2 "+this.QE)),this.QE?(this.Ea.timeout=this.qk,this.Ea.ontimeout=y(this.$h,this)):this.Jo=M(this.$h,this.qk,this)),Iv(this.H,this.Bj("Sending request")),this.QA=!0,this.Ea.send(a),this.QA=!1}catch(g){Iv(this.H,this.Bj("Send error: "+g.message)),this.aq(5,g)}};
var Dw=function(a){return H&&Rs(9)&&jq(a.timeout)&&v(a.ontimeout)},Cw=function(a){return"content-type"==a.toLowerCase()};r=yw.prototype;r.FG=function(){return this.XE?this.XE.zG():ww.zG()};r.$h=function(){"undefined"!=typeof bq&&this.Ea&&(this.El="Timed out after "+this.qk+"ms, aborting",this.qc=8,Iv(this.H,this.Bj(this.El)),this.dispatchEvent(Lo),this.abort(8))};r.aq=function(a,b){this.Na=!1;this.Ea&&(this.Gn=!0,this.Ea.abort(),this.Gn=!1);this.El=b;this.qc=a;this.NV();this.Cy()};
r.NV=function(){this.GH||(this.GH=!0,this.dispatchEvent(kf),this.dispatchEvent(Hg))};r.abort=function(a){this.Ea&&this.Na&&(Iv(this.H,this.Bj("Aborting")),this.Na=!1,this.Gn=!0,this.Ea.abort(),this.Gn=!1,this.qc=a||7,this.dispatchEvent(kf),this.dispatchEvent(Hd),this.Cy())};r.A=function(){this.Ea&&(this.Na&&(this.Na=!1,this.Gn=!0,this.Ea.abort(),this.Gn=!1),this.Cy(!0));yw.g.A.call(this)};r.J2=function(){this.ob||(this.nK||this.QA||this.Gn?this.I2():this.Gta())};r.Gta=function(){this.I2()};
r.I2=function(){if(this.Na&&"undefined"!=typeof bq)if(this.WE[1]&&4==this.kn()&&2==this.Ij())Iv(this.H,this.Bj("Local request error detected and ignored"));else if(this.QA&&4==this.kn())M(this.J2,0,this);else if(this.dispatchEvent(mm),this.$A()){Iv(this.H,this.Bj("Request complete"));this.Na=!1;try{this.aL()?(this.dispatchEvent(kf),this.dispatchEvent(wo)):(this.qc=6,this.El=this.zY()+" ["+this.Ij()+"]",this.NV())}finally{this.Cy()}}};
r.H2=function(a,b){C(a.type===fm,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Ew(a,fm));this.dispatchEvent(Ew(a,b?"downloadprogress":pp))};var Ew=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}};r=yw.prototype;
r.Cy=function(a){if(this.Ea){this.OT();var b=this.Ea,c=this.WE[0]?dq:null;this.WE=this.Ea=null;a||this.dispatchEvent(lm);try{b.onreadystatechange=c}catch(e){Gv(this.H,"Problem encountered resetting onreadystatechange: "+e.message)}}};r.OT=function(){this.Ea&&this.QE&&(this.Ea.ontimeout=null);jq(this.Jo)&&(jw(this.Jo),this.Jo=null)};r.ac=function(){return!!this.Ea};r.$A=function(){return 4==this.kn()};
r.aL=function(){var a=this.Ij(),b;a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:b=!0;break a;default:b=!1}return b||0===a&&!this.zqa()};r.zqa=function(){var a=String(this.sf).match(kw)[1]||null;!a&&t.self&&t.self.location&&(a=t.self.location.protocol,a=a.substr(0,a.length-1));return zw.test(a?a.toLowerCase():"")};r.kn=function(){return this.Ea?this.Ea.readyState:0};r.Ij=function(){try{return 2<this.kn()?this.Ea.status:-1}catch(a){return-1}};
r.zY=function(){try{return 2<this.kn()?this.Ea.statusText:""}catch(a){return Iv(this.H,"Can not get status: "+a.message),""}};r.bA=function(){return String(this.sf)};r.re=function(){try{return this.Ea?this.Ea.responseText:""}catch(a){return Iv(this.H,"Can not get responseText: "+a.message),""}};r.Du=function(){try{if(this.Ea&&"responseBody"in this.Ea)return this.Ea.responseBody}catch(a){Iv(this.H,"Can not get responseBody: "+a.message)}return null};
r.Fa=function(a){if(this.Ea){var b=this.Ea.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));return zt(b)}};r.getResponseHeader=function(a){return this.Ea&&this.$A()?this.Ea.getResponseHeader(a):void 0};r.getAllResponseHeaders=function(){return this.Ea&&this.$A()?this.Ea.getAllResponseHeaders():""};r.aA=function(){return x(this.El)?this.El:String(this.El)};r.Bj=function(a){return a+" ["+this.V0+" "+this.sf+" "+this.Ij()+"]"};var Fw=function(a,b){this.x=v(a)?a:0;this.y=v(b)?b:0};Fw.prototype.clone=function(){return new Fw(this.x,this.y)};Fw.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var Gw=function(a,b){return new Fw(a.x-b.x,a.y-b.y)};r=Fw.prototype;r.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};r.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};r.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
r.translate=function(a,b){a instanceof Fw?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),jq(b)&&(this.y+=b));return this};r.scale=function(a,b){var c=jq(b)?b:a;this.x*=a;this.y*=c;return this};var Hw=function(a,b){this.width=a;this.height=b},Iw=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};r=Hw.prototype;r.clone=function(){return new Hw(this.width,this.height)};r.toString=function(){return"("+this.width+" x "+this.height+")"};r.Bca=function(){return this.width*this.height};r.IS=function(){return this.width/this.height};r.bc=function(){return!this.Bca()};r.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
r.zz=function(a){return this.width<=a.width&&this.height<=a.height};r.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};r.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};r.scale=function(a,b){var c=jq(b)?b:a;this.width*=a;this.height*=c;return this};r.rw=function(a){a=this.IS()>a.IS()?a.width/this.width:a.height/this.height;return this.scale(a)};var Jw=!H||Ts(9),Kw=!Es&&!H||H&&Ts(9)||Es&&Rs("1.9.1"),Lw=H&&!Rs("9");var Mw=function(a,b){a.innerHTML=tu(b)};var N=function(a){return a?new Nw(Ow(a)):zq||(zq=new Nw)},O=function(a){return x(a)?document.getElementById(a):a},Qw=function(a,b,c){return Pw(document,a,b,c)},Rw=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):Pw(document,"*",a,b)},Sw=function(a,b){var c=b||document;return(c.getElementsByClassName?c.getElementsByClassName(a)[0]:c.querySelectorAll&&c.querySelector?c.querySelector("."+a):Pw(document,"*",a,b)[0])||null},Pw=function(a,b,c,e){a=e||
a;b=b&&"*"!=b?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){e={};for(var f=0,g=0,h;h=a[g];g++)b==h.nodeName&&(e[f++]=h);e.length=f;return e}return a}a=a.getElementsByTagName(b||"*");if(c){e={};for(g=f=0;h=a[g];g++)b=h.className,typeof b.split==lh&&Fr(b.split(/\s+/),c)&&(e[f++]=h);e.length=f;return e}return a},Uw=function(a,b){Wr(b,function(b,e){e==uo?a.style.cssText=b:
"class"==e?a.className=b:"for"==e?a.htmlFor=b:Tw.hasOwnProperty(e)?a.setAttribute(Tw[e],b):Aq(e,"aria-")||Aq(e,"data-")?a.setAttribute(e,b):a[e]=b})},Tw={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:$h,maxlength:"maxLength",nonce:"nonce",role:vm,rowspan:"rowSpan",type:Xo,usemap:"useMap",valign:"vAlign",width:Rp},Ww=function(a){a=(a||window).document;a=Vw(a)?a.documentElement:a.body;return new Hw(a.clientWidth,a.clientHeight)},Yw=function(a){var b=
Xw(a);a=a.parentWindow||a.defaultView;return H&&Rs("10")&&a.pageYOffset!=b.scrollTop?new Fw(b.scrollLeft,b.scrollTop):new Fw(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},Xw=function(a){return a.scrollingElement?a.scrollingElement:!Fs&&Vw(a)?a.documentElement:a.body||a.documentElement},Zw=function(a){return a?a.parentWindow||a.defaultView:window},ax=function(a,b,c){return $w(document,arguments)},$w=function(a,b){var c=String(b[0]),e=b[1];if(!Jw&&e&&(e.name||e.type)){c=["<",c];e.name&&c.push(' name="',
Qq(e.name),'"');if(e.type){c.push(' type="',Qq(e.type),'"');var f={};os(f,e);delete f.type;e=f}c.push(">");c=c.join("")}c=a.createElement(c);e&&(x(e)?c.className=e:gq(e)?c.className=e.join(" "):Uw(c,e));2<b.length&&bx(a,c,b,2);return c},bx=function(a,b,c,e){function f(c){c&&b.appendChild(x(c)?a.createTextNode(c):c)}for(;e<c.length;e++){var g=c[e];!hq(g)||lq(g)&&0<g.nodeType?f(g):D(cx(g)?Nr(g):g,f)}},dx=function(a,b){var c=a.createElement(d);H?(Mw(c,Gu(Ku,b)),c.removeChild(c.firstChild)):Mw(c,b);if(1==
c.childNodes.length)c=c.removeChild(c.firstChild);else{for(var e=a.createDocumentFragment();c.firstChild;)e.appendChild(c.firstChild);c=e}return c},Vw=function(a){return"CSS1Compat"==a.compatMode},ex=function(a,b){a.appendChild(b)},fx=function(a,b){bx(Ow(a),a,arguments,1)},gx=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},hx=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)},ix=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)},jx=function(a,b,c){a.insertBefore(b,
a.childNodes[c]||null)},kx=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},lx=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)},mx=function(a){return Kw&&void 0!=a.children?a.children:wr(a.childNodes,function(a){return 1==a.nodeType})},ox=function(a){return v(a.firstElementChild)?a.firstElementChild:nx(a.firstChild,!0)},px=function(a){return v(a.nextElementSibling)?a.nextElementSibling:nx(a.nextSibling,!0)},nx=function(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;
return a},qx=function(a){return lq(a)&&1==a.nodeType},rx=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},Ow=function(a){C(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},sx=function(a){return a.contentDocument||a.contentWindow.document},tx=function(a,b){C(null!=a,"goog.dom.setTextContent expects a non-null value for node");
if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{gx(a);var c=Ow(a);a.appendChild(c.createTextNode(String(b)))}},ux={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},vx={IMG:" ",BR:"\n"},yx=function(a){return wx(a)&&xx(a)},zx=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))},wx=function(a){a=a.getAttributeNode("tabindex");return null!=
a&&a.specified},xx=function(a){a=a.tabIndex;return jq(a)&&0<=a&&32768>a},Bx=function(a){if(Lw&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Ax(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");Lw||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a},Cx=function(a){var b=[];Ax(a,b,!1);return b.join("")},Ax=function(a,b,c){if(!(a.nodeName in ux))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,
"")):b.push(a.nodeValue);else if(a.nodeName in vx)b.push(vx[a.nodeName]);else for(a=a.firstChild;a;)Ax(a,b,c),a=a.nextSibling},cx=function(a){if(a&&typeof a.length==pk){if(lq(a))return typeof a.item==lh||typeof a.item==so;if(kq(a))return typeof a.item==lh}return!1},Ex=function(a,b,c,e){if(!b&&!c)return null;var f=b?b.toUpperCase():null;return Dx(a,function(a){return(!f||a.nodeName==f)&&(!c||x(a.className)&&Fr(a.className.split(/\s+/),c))},!0,e)},Dx=function(a,b,c,e){c||(a=a.parentNode);for(c=0;a&&
(null==e||c<=e);){C("parentNode"!=a.name);if(b(a))return a;a=a.parentNode;c++}return null},Fx=function(a){try{return a&&a.activeElement}catch(b){}return null},Nw=function(a){this.ic=a||t.document||document};r=Nw.prototype;r.v=N;r.Q5=function(a){this.ic=a};r.N=function(){return this.ic};r.b=function(a){return x(a)?this.ic.getElementById(a):a};r.ti=function(a,b,c){return Pw(this.ic,a,b,c)};r.oq=function(a,b){return Rw(a,b||this.ic)};r.Lc=function(a,b){return Sw(a,b||this.ic)};
r.He=function(a,b){var c=Sw(a,b||this.ic);return C(c,"No element found with className: "+a)};r.dR=Nw.prototype.ti;r.setProperties=Uw;r.Gu=function(a){return Ww(a||this.xb())};r.j=function(a,b,c){return $w(this.ic,arguments)};r.createElement=function(a){return this.ic.createElement(String(a))};r.createTextNode=function(a){return this.ic.createTextNode(String(a))};
r.OU=function(a,b,c){var e=this.ic;c=!!c;for(var f=e.createElement(gd),g=f.appendChild(e.createElement(hd)),h=0;h<a;h++){for(var k=e.createElement("TR"),n=0;n<b;n++){var q=e.createElement("TD");c&&tx(q,"\u00a0");k.appendChild(q)}g.appendChild(k)}return f};r.Th=function(a){return dx(this.ic,a)};r.lv=function(){return Vw(this.ic)};r.xb=function(){var a=this.ic;return a.parentWindow||a.defaultView};r.DX=function(){return Xw(this.ic)};r.Pf=function(){return Yw(this.ic)};
r.ju=function(a){return Fx(a||this.ic)};r.appendChild=ex;r.append=fx;r.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case qc:case oc:case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case Oc:case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};r.wf=gx;r.jv=hx;r.yl=ix;r.yK=jx;
r.removeNode=kx;r.Xc=mx;r.gn=ox;r.Nja=px;r.mv=qx;r.contains=rx;r.iY=Ow;r.jg=tx;r.Sj=function(a){var b;(b="A"==a.tagName||a.tagName==qc||a.tagName==id||a.tagName==Pc||a.tagName==zb?!a.disabled&&(!wx(a)||xx(a)):yx(a))&&H?(a=!kq(a.getBoundingClientRect)||H&&null==a.parentElement?{height:a.offsetHeight,width:a.offsetWidth}:a.getBoundingClientRect(),a=null!=a&&0<a.height&&0<a.width):a=b;return a};r.Wha=Ex;var Gx=function(a,b){this.Bd=this.Jx=this.Re="";this.vr=null;this.hu=this.Wg="";this.Mg=this.Qqa=!1;var c;a instanceof Gx?(this.Mg=v(b)?b:a.Mg,this.Bo(a.Re),this.qP(a.Jx),this.ik(a.Bd),this.UO(a.vr),this.Te(a.getPath()),this.Wh(a.Fg().clone()),this.Sr(a.hu)):a&&(c=String(a).match(kw))?(this.Mg=!!b,this.Bo(c[1]||"",!0),this.qP(c[2]||"",!0),this.ik(c[3]||"",!0),this.UO(c[4]),this.Te(c[5]||"",!0),this.Wh(c[6]||"",!0),this.Sr(c[7]||"",!0)):(this.Mg=!!b,this.vf=new Hx(null,null,this.Mg))};r=Gx.prototype;
r.toString=function(){var a=[],b=this.Re;b&&a.push(Ix(b,Jx,!0),":");var c=this.Bd;if(c||b==Vg)a.push("//"),(b=this.Jx)&&a.push(Ix(b,Jx,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.vr,null!=c&&a.push(":",String(c));if(c=this.getPath())this.LJ()&&"/"!=c.charAt(0)&&a.push("/"),a.push(Ix(c,"/"==c.charAt(0)?Kx:Lx,!0));(c=this.HX())&&a.push("?",c);(c=this.hu)&&a.push("#",Ix(c,Mx));return a.join("")};
r.resolve=function(a){var b=this.clone(),c=a.Poa();c?b.Bo(a.Re):c=a.Toa();c?b.qP(a.Jx):c=a.LJ();c?b.ik(a.Bd):c=a.Noa();var e=a.getPath();if(c)b.UO(a.vr);else if(c=a.NZ()){if("/"!=e.charAt(0))if(this.LJ()&&!this.NZ())e="/"+e;else{var f=b.getPath().lastIndexOf("/");-1!=f&&(e=b.getPath().substr(0,f+1)+e)}f=e;if(".."==f||"."==f)e="";else if(Rq(f,"./")||Rq(f,"/.")){for(var e=Aq(f,"/"),f=f.split("/"),g=[],h=0;h<f.length;){var k=f[h++];"."==k?e&&h==f.length&&g.push(""):".."==k?((1<g.length||1==g.length&&
""!=g[0])&&g.pop(),e&&h==f.length&&g.push("")):(g.push(k),e=!0)}e=g.join("/")}else e=f}c?b.Te(e):c=a.Ooa();c?b.Wh(a.Cia()):c=a.Ioa();c&&b.Sr(a.hu);return b};r.clone=function(){return new Gx(this)};r.Bo=function(a,b){this.yh();if(this.Re=b?Nx(a,!0):a)this.Re=this.Re.replace(/:$/,"");return this};r.Poa=function(){return!!this.Re};r.qP=function(a,b){this.yh();this.Jx=b?Nx(a):a;return this};r.Toa=function(){return!!this.Jx};r.ik=function(a,b){this.yh();this.Bd=b?Nx(a,!0):a;return this};r.LJ=function(){return!!this.Bd};
r.UO=function(a){this.yh();if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Bad port number "+a);this.vr=a}else this.vr=null;return this};r.Noa=function(){return null!=this.vr};r.getPath=function(){return this.Wg};r.Te=function(a,b){this.yh();this.Wg=b?Nx(a,!0):a;return this};r.NZ=function(){return!!this.Wg};r.Ooa=function(){return""!==this.vf.toString()};r.Wh=function(a,b){this.yh();a instanceof Hx?(this.vf=a,this.vf.CO(this.Mg)):(b||(a=Ix(a,Ox)),this.vf=new Hx(a,null,this.Mg));return this};
r.setQuery=function(a,b){return this.Wh(a,b)};r.HX=function(){return this.vf.toString()};r.Cia=function(){return this.vf.WCa()};r.Fg=function(){return this.vf};r.getQuery=function(){return this.HX()};r.W=function(a,b){this.yh();this.vf.set(a,b);return this};r.D6=function(a,b){this.yh();gq(b)||(b=[String(b)]);this.vf.rP(a,b);return this};r.Ge=function(a){return this.vf.pb(a)};r.cb=function(a){return this.vf.get(a)};r.Sr=function(a,b){this.yh();this.hu=b?Nx(a):a;return this};r.Ioa=function(){return!!this.hu};
r.w1=function(){this.yh();this.W("zx",cr());return this};r.dw=function(a){this.yh();this.vf.remove(a);return this};r.yh=function(){if(this.Qqa)throw Error("Tried to modify a read-only Uri");};r.CO=function(a){this.Mg=a;this.vf&&this.vf.CO(a);return this};
var Px=function(a,b){return a instanceof Gx?a.clone():new Gx(a,b)},Nx=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ix=function(a,b,c){return x(a)?(a=encodeURI(a).replace(b,Qx),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Qx=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Jx=/[#\/\?@]/g,Lx=/[\#\?:]/g,Kx=/[\#\?]/g,Ox=/[\#\?@]/g,Mx=/#/g,Hx=function(a,b,c){this.Ab=this.Hc=null;this.Yk=a||null;this.Mg=!!c};
Hx.prototype.vj=function(){if(!this.Hc&&(this.Hc=new K,this.Ab=0,this.Yk)){var a=this;nw(this.Yk,function(b,c){a.add(Hq(b),c)})}};var Rx=function(a,b,c){b=av(a);if("undefined"==typeof b)throw Error("Keys are undefined");c=new Hx(null,null,c);a=$u(a);for(var e=0;e<b.length;e++){var f=b[e],g=a[e];gq(g)?c.rP(f,g):c.add(f,g)}return c};r=Hx.prototype;r.xa=function(){this.vj();return this.Ab};
r.add=function(a,b){this.vj();this.Rq();a=this.rq(a);var c=this.Hc.get(a);c||this.Hc.set(a,c=[]);c.push(b);this.Ab=kr(this.Ab)+1;return this};r.remove=function(a){this.vj();a=this.rq(a);return this.Hc.Xb(a)?(this.Rq(),this.Ab=kr(this.Ab)-this.Hc.get(a).length,this.Hc.remove(a)):!1};r.clear=function(){this.Rq();this.Hc=null;this.Ab=0};r.bc=function(){this.vj();return 0==this.Ab};r.Xb=function(a){this.vj();a=this.rq(a);return this.Hc.Xb(a)};r.oj=function(a){var b=this.pb();return Fr(b,a)};
r.kb=function(){this.vj();for(var a=this.Hc.pb(),b=this.Hc.kb(),c=[],e=0;e<b.length;e++)for(var f=a[e],g=0;g<f.length;g++)c.push(b[e]);return c};r.pb=function(a){this.vj();var b=[];if(x(a))this.Xb(a)&&(b=Mr(b,this.Hc.get(this.rq(a))));else{a=this.Hc.pb();for(var c=0;c<a.length;c++)b=Mr(b,a[c])}return b};r.set=function(a,b){this.vj();this.Rq();a=this.rq(a);this.Xb(a)&&(this.Ab=kr(this.Ab)-this.Hc.get(a).length);this.Hc.set(a,[b]);this.Ab=kr(this.Ab)+1;return this};
r.get=function(a,b){var c=a?this.pb(a):[];return 0<c.length?String(c[0]):b};r.rP=function(a,b){this.remove(a);0<b.length&&(this.Rq(),this.Hc.set(this.rq(a),Nr(b)),this.Ab=kr(this.Ab)+b.length)};r.toString=function(){if(this.Yk)return this.Yk;if(!this.Hc)return"";for(var a=[],b=this.Hc.kb(),c=0;c<b.length;c++)for(var e=b[c],f=encodeURIComponent(String(e)),e=this.pb(e),g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));a.push(h)}return this.Yk=a.join("&")};r.WCa=function(){return Nx(this.toString())};
r.Rq=function(){this.Yk=null};r.clone=function(){var a=new Hx;a.Yk=this.Yk;this.Hc&&(a.Hc=this.Hc.clone(),a.Ab=this.Ab);return a};r.rq=function(a){a=String(a);this.Mg&&(a=a.toLowerCase());return a};r.CO=function(a){a&&!this.Mg&&(this.vj(),this.Rq(),this.Hc.forEach(function(a,c){var e=c.toLowerCase();c!=e&&(this.remove(c),this.rP(e,a))},this));this.Mg=a};r.extend=function(a){for(var b=0;b<arguments.length;b++)bv(arguments[b],function(a,b){this.add(b,a)},this)};var Ux=function(){J.call(this);this.Fb="closure_frame"+Sx++;this.kK=[];Tx[this.Fb]=this},Vx;B(Ux,J);var Tx={},Sx=0,Wx=function(a,b){var c=N(a);bv(b,function(b,f){gq(b)||(b=[b]);D(b,function(b){b=c.j(qc,{type:ai,name:f,value:b});a.appendChild(b)})})};r=Ux.prototype;r.H=Fv("goog.net.IframeIo");r.jc=null;r.ra=null;r.En=null;r.Nsa=0;r.Na=!1;r.jt=!1;r.iE=!1;r.sf=null;r.uv=null;r.qc=0;r.Cn=null;r.$u=!1;
r.send=function(a,b,c,e){if(this.Na)throw Error(Fd);this.sf=a=new Gx(a);b=b?b.toUpperCase():"GET";c&&a.w1();L(this.H,"Sending iframe request: "+a+" ["+b+"]");Vx||(Vx=ax("FORM"),Vx.acceptCharset="utf-8",c=Vx.style,c.position=Ld,c.visibility=ai,c.top=c.left="-10px",c.width=c.height="10px",c.overflow=ai,document.body.appendChild(Vx));this.jc=Vx;"GET"==b&&Wx(this.jc,a.Fg());e&&Wx(this.jc,e);this.jc.action=a.toString();this.jc.method=b;this.m5();this.QT()};
r.n5=function(a,b,c){if(this.Na)throw Error(Fd);b=new Gx(b||a.action);c&&b.w1();L(this.H,"Sending iframe request from form: "+b);this.sf=b;this.jc=a;this.jc.action=b.toString();this.m5()};r.abort=function(a){if(this.Na){L(this.H,"Request aborted");var b=this.lA();C(b);tt(b);this.iE=this.Na=this.jt=!1;this.qc=a||7;this.dispatchEvent(Hd);this.RL()}};
r.A=function(){Iv(this.H,"Disposing iframeIo instance");this.Na&&(Iv(this.H,"Aborting active request"),this.abort());Ux.g.A.call(this);this.ra&&this.U4();this.TV();delete this.FH;this.sf=this.uv=this.jc=null;this.qc=0;delete Tx[this.Fb]};r.$A=function(){return this.jt};r.aL=function(){return this.iE};r.ac=function(){return this.Na};r.re=function(){return this.uv};r.Fa=function(){return zt(this.uv)};r.bA=function(){return this.sf};r.aA=function(){return uw(this.qc)};r.Kya=function(a){this.FH=a};
r.m5=function(){this.Na=!0;this.jt=!1;this.qc=0;this.xG();if(H&&!Rs("11")){this.jc.target=this.En||"";this.wS();this.$u||I(this.ra,mm,this.BM,!1,this);try{this.HH=!1,this.jc.submit()}catch(A){this.$u||rt(this.ra,mm,this.BM,!1,this),this.Ld(1)}}else{Iv(this.H,"Setting up iframes and cloning form");this.wS();var a=this.En+"_inner",b=sx(this.ra),c;document.baseURI?(c=Qq(a),c=Lu(Vt("Short HTML snippet, input escaped, safe URL, for performance"),'<head><base href="'+Qq(document.baseURI)+'"></head><body><iframe id="'+
c+'" name="'+c+'"></iframe>')):(c=Qq(a),c=Lu(Vt("Short HTML snippet, input escaped, for performance"),'<body><iframe id="'+c+'" name="'+c+'"></iframe>'));Bs&&!Fs?Mw(b.documentElement,c):b.write(tu(c));this.$u||I(b.getElementById(a),uj,this.oC,!1,this);var e=this.jc.getElementsByTagName(id);c=0;for(var f=e.length;c<f;c++){var g=e[c].value;Cx(e[c])!=g&&(tx(e[c],g),e[c].value=g)}e=b.importNode(this.jc,!0);e.target=a;e.action=this.jc.action;b.body.appendChild(e);var g=this.jc.getElementsByTagName(Pc),
h=e.getElementsByTagName(Pc);c=0;for(f=g.length;c<f;c++)for(var k=g[c].getElementsByTagName(Fc),n=h[c].getElementsByTagName(Fc),q=0,u=k.length;q<u;q++)n[q].selected=k[q].selected;g=this.jc.getElementsByTagName(qc);h=e.getElementsByTagName(qc);c=0;for(f=g.length;c<f;c++)if(g[c].type==Vg&&g[c].value!=h[c].value){Iv(this.H,"File input value not cloned properly.  Will submit using original form.");this.jc.target=a;e=this.jc;break}Iv(this.H,"Submitting form");try{this.HH=!1,e.submit(),b.close(),Es&&M(this.N8,
250,this)}catch(A){c=this.H,f=hv(A,void 0),f=tu(f),Gv(c,"Error when submitting form: "+f),this.$u||rt(b.getElementById(a),uj,this.oC,!1,this),b.close(),this.Ld(2)}}};r.BM=function(){if(this.ra.readyState==kf){rt(this.ra,mm,this.BM,!1,this);var a;try{if(a=sx(this.ra),H&&a.location==Id&&!navigator.onLine){this.Ld(9);return}}catch(b){this.Ld(1);return}this.iZ(a)}};r.oC=function(){if(!Bs||Fs||this.CI().location!=Id){rt(this.lA(),uj,this.oC,!1,this);try{this.iZ(this.CI())}catch(a){this.Ld(1)}}};
r.iZ=function(a){Iv(this.H,"Iframe loaded");this.jt=!0;this.Na=!1;var b;try{var c=a.body;this.uv=c.textContent||c.innerText}catch(f){b=1}var e;b||typeof this.FH!=lh||(e=this.FH(a))&&(b=4);(a=this.H)&&a.log(vv,"Last content: "+this.uv,void 0);(a=this.H)&&a.log(vv,"Last uri: "+this.sf,void 0);b?(Iv(this.H,"Load event occurred but failed"),this.Ld(b,e)):(Iv(this.H,"Load succeeded"),this.iE=!0,this.qc=0,this.dispatchEvent(kf),this.dispatchEvent(wo),this.RL())};
r.Ld=function(a,b){this.HH||(this.Na=this.iE=!1,this.jt=!0,this.qc=a,4==a&&C(v(b)),this.dispatchEvent(kf),this.dispatchEvent(Hg),this.RL(),this.HH=!0)};r.RL=function(){L(this.H,"Ready for new requests");this.U4();this.TV();this.dispatchEvent(lm)};
r.xG=function(){Iv(this.H,"Creating iframe");this.En=this.Fb+"_"+(this.Nsa++).toString(36);var a={name:this.En,id:this.En};H&&7>Number(Ps)&&(a.src=Ji);this.ra=N(this.jc).j(oc,a);a=this.ra.style;a.visibility=ai;a.width=a.height="10px";a.display=lk;Fs?a.marginTop=a.marginLeft="-10px":(a.position=Ld,a.top=a.left="-10px")};r.wS=function(){N(this.jc).N().body.appendChild(this.ra)};
r.U4=function(){var a=this.ra;a&&(a.onreadystatechange=null,a.onload=null,a.onerror=null,this.kK.push(a));this.Cn&&(jw(this.Cn),this.Cn=null);Es||Bs&&!Fs?this.Cn=M(this.UV,2E3,this):this.UV();this.En=this.ra=null};r.UV=function(){this.Cn&&(jw(this.Cn),this.Cn=null);for(;0!=this.kK.length;){var a=this.kK.pop();L(this.H,"Disposing iframe");kx(a)}};r.QT=function(){this.jc&&this.jc==Vx&&gx(this.jc)};r.TV=function(){this.QT();this.jc=null};r.CI=function(){return this.ra?sx(this.lA()):null};
r.lA=function(){return this.ra?H&&!Rs("11")?this.ra:sx(this.ra).getElementById(this.En+"_inner"):null};r.N8=function(){if(this.Na){var a=this.CI();a&&!ts(a,"documentUri")?(this.$u||rt(this.lA(),uj,this.oC,!1,this),navigator.onLine?(Hv(this.H,"Silent Firefox error detected"),this.Ld(3)):(Hv(this.H,"Firefox is offline so report offline error instead of silent error"),this.Ld(9))):M(this.N8,250,this)}};var Xx={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var by=function(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(Yx.test(c))return b.Vu=Zx(c),b.type="hex",b;c=$x(a);if(c.length){var e=c[0];a=c[1];c=c[2];e=Number(e);a=Number(a);c=Number(c);if(e!=(e&255)||a!=(a&255)||c!=(c&255))throw Error('"('+e+","+a+","+c+'") is not a valid RGB color');e=ay(e.toString(16));a=ay(a.toString(16));c=ay(c.toString(16));b.Vu="#"+e+a+c;b.type="rgb";return b}if(Xx&&(c=Xx[a.toLowerCase()]))return b.Vu=c,b.type="named",b;throw Error(a+" is not a valid color string");
},cy=/#(.)(.)(.)/,Zx=function(a){if(!Yx.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(cy,"#$1$1$2$2$3$3"));return a.toLowerCase()},dy=function(a){a=Zx(a);return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]},Yx=/^#(?:[0-9a-f]{3}){1,2}$/i,ey=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,$x=function(a){var b=a.match(ey);if(b){a=Number(b[1]);var c=Number(b[2]),b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=
c&&0<=b&&255>=b)return[a,c,b]}return[]},ay=function(a){return 1==a.length?"0"+a:a};var gy=function(a){fy();return uu(a,null)},hy=function(a){fy();return qu(a)},fy=dq;var iy=function(a,b,c,e){this.top=a;this.right=b;this.bottom=c;this.left=e};r=iy.prototype;r.Tf=function(){return this.right-this.left};r.Dh=function(){return this.bottom-this.top};r.clone=function(){return new iy(this.top,this.right,this.bottom,this.left)};r.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};
r.contains=function(a){return this&&a?a instanceof iy?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};r.expand=function(a,b,c,e){lq(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(e));return this};
r.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};r.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};r.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
r.translate=function(a,b){a instanceof Fw?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(kr(a),this.left+=a,this.right+=a,jq(b)&&(this.top+=b,this.bottom+=b));return this};r.scale=function(a,b){var c=jq(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};var jy=function(a,b,c,e){this.left=a;this.top=b;this.width=c;this.height=e};r=jy.prototype;r.clone=function(){return new jy(this.left,this.top,this.width,this.height)};r.VCa=function(){return new iy(this.top,this.left+this.width,this.top+this.height,this.left)};r.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
r.AK=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var e=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(e<=a)return this.left=b,this.top=e,this.width=c-b,this.height=a-e,!0}return!1};r.contains=function(a){return a instanceof Fw?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
r.Ie=function(){return new Hw(this.width,this.height)};r.Oka=function(){return new Fw(this.left,this.top)};r.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};r.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
r.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};r.translate=function(a,b){a instanceof Fw?(this.left+=a.x,this.top+=a.y):(this.left+=kr(a),jq(b)&&(this.top+=b));return this};r.scale=function(a,b){var c=jq(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var P=function(a,b,c){if(x(b))(b=ky(a,b))&&(a.style[b]=c);else for(var e in b){c=a;var f=b[e],g=ky(c,e);g&&(c.style[g]=f)}},ly={},ky=function(a,b){var c=ly[b];if(!c){var e=fr(b),c=e;void 0===a.style[e]&&(e=(Fs?"Webkit":Es?"Moz":H?"ms":Bs?"O":null)+gr(e),void 0!==a.style[e]&&(c=e));ly[b]=c}return c},my=function(a,b){var c=a.style[fr(b)];return"undefined"!==typeof c?c:a.style[ky(a,b)]||""},ny=function(a,b){var c=Ow(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,
null))?c[b]||c.getPropertyValue(b)||"":""},oy=function(a,b){return ny(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},py=function(a){return oy(a,Zl)},ry=function(a,b,c){var e;b instanceof Fw?(e=b.x,b=b.y):(e=b,b=c);a.style.left=qy(e,!1);a.style.top=qy(b,!1)},sy=function(a){return new Fw(a.offsetLeft,a.offsetTop)},ty=function(a){a=a?Ow(a):document;return!H||Ts(9)||N(a).lv()?a.documentElement:a.body},uy=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,
right:0,bottom:0}}H&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b},vy=function(a){if(H&&!Ts(8))return C(a&&"offsetParent"in a),a.offsetParent;var b=Ow(a),c=oy(a,Zl),e=c==bh||c==Ld;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=oy(a,Zl),e=e&&"static"==c&&a!=b.documentElement&&a!=b.body,!e&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==
bh||c==Ld||c==rm))return a;return null},xy=function(a){for(var b=new iy(0,Infinity,Infinity,0),c=N(a),e=c.N().body,f=c.N().documentElement,g=c.DX();a=vy(a);)if(!(H&&0==a.clientWidth||Fs&&0==a.clientHeight&&a==e)&&a!=e&&a!=f&&oy(a,"overflow")!=Mp){var h=wy(a),k=new Fw(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}e=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,
e);b.top=Math.max(b.top,g);c=c.Gu();b.right=Math.min(b.right,e+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},Ay=function(a,b,c){var e=b||Xw(document),f=wy(a),g=wy(e),h=yy(e);e==Xw(document)?(b=f.x-e.scrollLeft,f=f.y-e.scrollTop,H&&!Ts(10)&&(b+=h.left,f+=h.top)):(b=f.x-g.x-h.left,f=f.y-g.y-h.top);h=zy(a);a=e.clientWidth-h.width;h=e.clientHeight-h.height;g=e.scrollLeft;e=e.scrollTop;c?(g+=b-a/2,e+=f-h/2):(g+=Math.min(b,Math.max(b-
a,0)),e+=Math.min(f,Math.max(f-h,0)));return new Fw(g,e)},By=function(a,b,c){b=b||Xw(document);a=Ay(a,b,c);b.scrollLeft=a.x;b.scrollTop=a.y},wy=function(a){var b=Ow(a);nr(a,"Parameter is required");var c=new Fw(0,0),e=ty(b);if(a==e)return c;a=uy(a);b=N(b).Pf();c.x=a.left+b.x;c.y=a.top+b.y;return c},Dy=function(a,b){var c=Cy(a),e=Cy(b);return new Fw(c.x-e.x,c.y-e.y)},Ey=function(a){a=uy(a);return new Fw(a.left,a.top)},Cy=function(a){C(a);if(1==a.nodeType)return Ey(a);a=a.changedTouches?a.changedTouches[0]:
a;return new Fw(a.clientX,a.clientY)},Hy=function(a,b,c){if(b instanceof Hw)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Fy(a,b);Gy(a,c)},qy=function(a,b){typeof a==pk&&(a=(b?Math.round(a):a)+p);return a},Gy=function(a,b){a.style.height=qy(b,!0)},Fy=function(a,b){a.style.width=qy(b,!0)},Iy=function(a){var b;var c=zy;if(oy(a,"display")!=lk)b=c(a);else{b=a.style;var e=b.display,f=b.visibility,g=b.position;b.visibility=ai;b.position=Ld;b.display=Bi;a=c(a);b.display=e;
b.position=g;b.visibility=f;b=a}return b},zy=function(a){var b=a.offsetWidth,c=a.offsetHeight,e=Fs&&!b&&!c;return v(b)&&!e||!a.getBoundingClientRect?new Hw(b,c):(a=uy(a),new Hw(a.right-a.left,a.bottom-a.top))},Jy=function(a){var b=wy(a);a=Iy(a);return new jy(b.x,b.y,a.width,a.height)},Ky=function(a,b){C(a);var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")},Q=function(a,b){a.style.display=b?"":lk},Ly=function(a){return a.style.display!=
lk},My=function(a,b){var c=cu(b);H&&v(a.cssText)?a.cssText=c:a.innerHTML=c},Ny=function(a){return ym==oy(a,"direction")},Oy=Es?"MozUserSelect":Fs||Cs?"WebkitUserSelect":null,Py=function(a,b,c){c=c?null:a.getElementsByTagName("*");if(Oy){if(b=b?lk:"",a.style&&(a.style[Oy]=b),c){a=0;for(var e;e=c[a];a++)e.style&&(e.style[Oy]=b)}}else if(H||Bs)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;e=c[a];a++)e.setAttribute("unselectable",b)},Qy=function(a){return new Hw(a.offsetWidth,a.offsetHeight)},
Ty=function(a){var b=Ow(a),c=H&&a.currentStyle;if(c&&N(b).lv()&&c.width!=Be&&c.height!=Be&&!c.boxSizing)return b=Ry(a,c.width,Rp,"pixelWidth"),a=Ry(a,c.height,$h,"pixelHeight"),new Hw(b,a);c=Qy(a);b=Sy(a);a=yy(a);return new Hw(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)},Ry=function(a,b,c,e){if(/^\d+px?$/.test(b))return parseInt(b,10);var f=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[e];a.style[c]=f;a.runtimeStyle[c]=
g;return b},Uy=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?Ry(a,c,mj,"pixelLeft"):0},Vy=function(a,b){if(H){var c=Uy(a,b+"Left"),e=Uy(a,b+"Right"),f=Uy(a,b+"Top"),g=Uy(a,b+"Bottom");return new iy(f,e,g,c)}c=ny(a,b+"Left");e=ny(a,b+"Right");f=ny(a,b+"Top");g=ny(a,b+"Bottom");return new iy(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(c))},Sy=function(a){return Vy(a,"padding")},Wy=function(a){return Vy(a,"margin")},Xy={thin:2,medium:4,thick:6},Yy=function(a,b){if((a.currentStyle?
a.currentStyle[b+"Style"]:null)==lk)return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Xy?Xy[c]:Ry(a,c,mj,"pixelLeft")},yy=function(a){if(H&&!Ts(9)){var b=Yy(a,"borderLeft"),c=Yy(a,"borderRight"),e=Yy(a,"borderTop");a=Yy(a,"borderBottom");return new iy(e,c,a,b)}b=ny(a,"borderLeftWidth");c=ny(a,"borderRightWidth");e=ny(a,"borderTopWidth");a=ny(a,"borderBottomWidth");return new iy(parseFloat(e),parseFloat(c),parseFloat(a),parseFloat(b))};var Zy=function(a){var b=a.offsetLeft,c=a.offsetParent;c||py(a)!=bh||(c=Ow(a).documentElement);if(!c)return b;if(Es)var e=yy(c),b=b+e.left;else Ts(8)&&!Ts(9)&&(e=yy(c),b-=e.left);return Ny(c)?c.clientWidth-(b+a.offsetWidth):b};var $y=function(a,b,c){E.call(this);this.$f=a;this.Le=b||0;this.La=c;this.Vc=y(this.Sp,this)};B($y,E);r=$y.prototype;r.fa=0;r.A=function(){$y.g.A.call(this);this.stop();delete this.$f;delete this.La};r.start=function(a){this.stop();this.fa=M(this.Vc,v(a)?a:this.Le)};r.stop=function(){this.ac()&&jw(this.fa);this.fa=0};r.Yt=function(){this.stop();this.Sp()};r.ac=function(){return 0!=this.fa};r.Sp=function(){this.fa=0;this.$f&&this.$f.call(this.La)};var az={},bz=null,cz=function(a){a=oq(a);delete az[a];gs(az)&&bz&&bz.stop()},ez=function(){bz||(bz=new $y(function(){dz(z())},20));var a=bz;a.ac()||a.start()},dz=function(a){Wr(az,function(b){b.Ysa(a)});gs(az)||ez()};var fz=function(){J.call(this);this.sa=0;this.endTime=this.startTime=null};B(fz,J);r=fz.prototype;r.W6=function(){this.sa=1};r.DAa=function(){this.sa=-1};r.iP=function(){this.sa=0};r.rv=function(){return 1==this.sa};r.Cl=function(){return-1==this.sa};r.G0=function(){return 0==this.sa};r.Ug=function(){this.ni("begin")};r.ck=function(){this.ni(Gg)};r.u2=function(){this.ni("finish")};r.Eta=function(){this.ni("pause")};r.G2=function(){this.ni("play")};r.Hta=function(){this.ni("resume")};r.M2=function(){this.ni("stop")};
r.ni=function(a){this.dispatchEvent(a)};var gz=function(a,b,c,e){fz.call(this);if(!gq(a)||!gq(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.os=a;this.sga=b;this.duration=c;this.QR=e;this.coords=[];this.Vo=!1;this.Zg=0;this.pL=null};B(gz,fz);r=gz.prototype;
r.play=function(a){if(a||this.G0())this.Zg=0,this.coords=this.os;else if(this.rv())return!1;cz(this);this.startTime=a=z();this.Cl()&&(this.startTime-=this.duration*this.Zg);this.endTime=this.startTime+this.duration;this.pL=this.startTime;this.Zg||this.Ug();this.G2();this.Cl()&&this.Hta();this.W6();var b=oq(this);b in az||(az[b]=this);ez();this.hV(a);return!0};r.stop=function(a){cz(this);this.iP();a&&(this.Zg=1);this.u9(this.Zg);this.M2();this.ck()};
r.pause=function(){this.rv()&&(cz(this),this.DAa(),this.Eta())};r.A=function(){this.G0()||this.stop(!1);this.dta();gz.g.A.call(this)};r.DV=function(){this.dispose()};r.Ysa=function(a){this.hV(a)};r.hV=function(a){kr(this.startTime);kr(this.endTime);kr(this.pL);this.Zg=(a-this.startTime)/(this.endTime-this.startTime);1<=this.Zg&&(this.Zg=1);this.pL=a;this.u9(this.Zg);1==this.Zg?(this.iP(),cz(this),this.u2(),this.ck()):this.rv()&&this.Mv()};
r.u9=function(a){kq(this.QR)&&(a=this.QR(a));this.coords=Array(this.os.length);for(var b=0;b<this.os.length;b++)this.coords[b]=(this.sga[b]-this.os[b])*a+this.os[b]};r.Mv=function(){this.ni(Yd)};r.dta=function(){this.ni("destroy")};r.ni=function(a){this.dispatchEvent(new hz(a,this))};var hz=function(a,b){G.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.Zg=b.Zg;this.state=b.sa};B(hz,G);var iz=function(a,b,c,e,f){gz.call(this,b,c,e,f);this.element=a};B(iz,gz);r=iz.prototype;r.Qo=dq;r.Jh=function(){v(this.Mi)||(this.Mi=Ny(this.element));return this.Mi};r.Mv=function(){this.Qo();iz.g.Mv.call(this)};r.ck=function(){this.Qo();iz.g.ck.call(this)};r.Ug=function(){this.Qo();iz.g.Ug.call(this)};var jz=function(a,b,c,e,f){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");iz.apply(this,arguments)};B(jz,iz);
jz.prototype.Qo=function(){var a=this.Vo&&this.Jh()?um:mj;this.element.style[a]=Math.round(this.coords[0])+p;this.element.style.top=Math.round(this.coords[1])+p};var kz=function(a,b,c,e){var f=[this.Vo?Zy(a):a.offsetLeft,a.offsetTop];jz.call(this,a,f,b,c,e)};B(kz,jz);kz.prototype.Ug=function(){this.os=[this.Vo?Zy(this.element):this.element.offsetLeft,this.element.offsetTop];kz.g.Ug.call(this)};var lz=function(a,b,c,e,f){iz.call(this,a,[b],[c],e,f)};B(lz,iz);
lz.prototype.Qo=function(){this.element.style.height=Math.round(this.coords[0])+p};var mz=function(a,b,c,e,f){jq(b)&&(b=[b]);jq(c)&&(c=[c]);iz.call(this,a,b,c,e,f);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.vB=-1};B(mz,iz);var nz=1/1024;r=mz.prototype;r.Qo=function(){var a=this.coords[0];Math.abs(a-this.vB)>=nz&&(Ky(this.element,a),this.vB=a)};r.Ug=function(){this.vB=-1;mz.g.Ug.call(this)};r.ck=function(){this.vB=-1;mz.g.ck.call(this)};
r.show=function(){this.element.style.display=""};r.Je=function(){this.element.style.display=lk};var oz=function(a,b,c){mz.call(this,a,0,1,b,c)};B(oz,mz);var pz=function(a,b,c){mz.call(this,a,1,0,b,c)};B(pz,mz);pz.prototype.Ug=function(){this.show();pz.g.Ug.call(this)};pz.prototype.ck=function(){this.Je();pz.g.ck.call(this)};var qz=function(a,b,c){mz.call(this,a,0,1,b,c)};B(qz,mz);qz.prototype.Ug=function(){this.show();qz.g.Ug.call(this)};
var rz=function(a,b,c,e,f){if(3!=b.length||3!=c.length)throw Error("Start and end points must be 3D");iz.apply(this,arguments)};B(rz,iz);rz.prototype.J5=function(){for(var a=[],b=0;b<this.coords.length;b++)a[b]=Math.round(this.coords[b]);a="rgb("+a.join(",")+")";this.element.style.backgroundColor=a};rz.prototype.Qo=function(){this.J5()};
var sz=function(a,b,c,e){function f(){a.style.backgroundColor=g}var g=a.style.backgroundColor||"",h=oy(a,De),h=h&&h!=Vo&&"rgba(0, 0, 0, 0)"!=h?dy(by(h).Vu):[255,255,255];b=new rz(a,b,h,c);e?e.o(b,Gg,f):I(b,Gg,f);b.play()};var tz=function(a){return 1-Math.pow(1-a,3)},uz=function(a){return 3*a*a-2*a*a*a};var vz,wz=/org.mozilla|com.google|org.jdom|Object|java.lang/;function R(a,b,c){vz&&(vz.DV(),vz=null);a&&wz.test(a)&&(a="Server Error");var e=O("sites-notice");c?tx(e,a):e.innerHTML=a;a=O("sites-status");a.style.display==lk&&(vz=new qz(a,b||50),vz.play());return a}w("JOT_setStatusMsg",R,void 0);webspace.page.setStatusMsg=R;function xz(a){vz&&(vz.DV(),vz=null);vz=new pz(O("sites-status"),a&&typeof a==pk?a:50);I(vz,Gg,function(){gx(O("sites-notice"))},!1);vz.play()}w("JOT_clearStatusMsg",xz,void 0);var yz=function(){yw.call(this)};B(yz,yw);var zz=function(a,b,c,e,f,g,h){var k=new yz;b=y(k.sda,k,b,c);I(k,wo,b);I(k,Hg,b);I(k,Lo,b);I(k,Hd,b);I(k,lm,k.dispose,!1,k);k.send(a,e,f,g,h)};yz.prototype.send=function(a,b,c,e,f){a=new Gx(a);a.W($i,wq.get("jotxtok"));if(f)for(var g in f)a.W(g,f[g]);yz.g.send.call(this,a.toString(),b,c,e)};
yz.prototype.sda=function(a,b,c){try{var e=c.target.Fa()}catch(f){}e&&e.error&&"not-logged-in"==e.error?R("You need to be signed in to complete this action. Click "+(jb+webspace.signInUrl+'">here</a> to sign in again.')):c.type==wo&&a?a(c):c.type!=wo&&b&&b(c)};var Az=function(a,b){null!=a&&this.append.apply(this,arguments)};r=Az.prototype;r.jd="";r.set=function(a){this.jd=""+a};r.append=function(a,b,c){this.jd+=String(a);if(null!=b)for(var e=1;e<arguments.length;e++)this.jd+=arguments[e];return this};r.clear=function(){this.jd=""};r.toString=function(){return this.jd};var Bz=function(){Ux.call(this);this.Kya(this.LCa)};B(Bz,Ux);Bz.prototype.xS=function(a,b,c){a[b]?a[b].value=c:(b=ax(jo,{style:"display:none;"},ax(Ci,{name:b,value:c,type:ai})),a.appendChild(b))};Bz.prototype.LCa=function(a){var b=null;v(Zw(a).rc)&&(b=502);return b};Bz.prototype.Zba=function(a){var b=wq.get("jotxtok")||"";this.xS(a,$i,b)};var Cz;"undefined"==typeof Cz&&(Cz=[]);var Dz;"undefined"==typeof Dz&&(Dz=[]);var Ez=function(a){return 0<=a?a.toString(16).toUpperCase():"-"+(-a).toString(16).toUpperCase()};var Fz=function(a){a=a.className;return x(a)&&a.match(/\S+/g)||[]},Gz=function(a,b){for(var c=Fz(a),e=Pr(arguments,1),f=c.length+e.length,g=c,h=0;h<e.length;h++)Fr(g,e[h])||g.push(e[h]);g=c.join(" ");a.className=g;return c.length==f},Iz=function(a,b){var c=Fz(a),e=Pr(arguments,1),f=Hz(c,e),g=f.join(" ");a.className=g;return f.length==c.length-e.length},Hz=function(a,b){return wr(a,function(a){return!Fr(b,a)})},Jz=function(a,b){return Fr(Fz(a),b)};var Kz=function(a,b,c){b||(b={});c=c||window;var e;e=a instanceof iu?a:mu("undefined"!=typeof a.href?a.href:String(a));a=b.target||a.target;var f=[],g;for(g in b)switch(g){case Rp:case $h:case So:case mj:f.push(g+"="+b[g]);break;case "target":case "noreferrer":break;default:f.push(g+"="+(b[g]?1:0))}g=f.join(",");As()&&c.navigator&&c.navigator.standalone&&a&&"_self"!=a?(g=c.document.createElement("A"),e=e instanceof iu?e:mu(e),g.href=ju(e),g.setAttribute("target",a),b.noreferrer&&g.setAttribute("rel",
"noreferrer"),b=document.createEvent("MouseEvent"),b.initMouseEvent(ef,!0,!0,c,1),g.dispatchEvent(b),b={}):b.noreferrer?(b=c.open("",a,g),c=ju(e),b&&(Ds&&Rq(c,";")&&(c="'"+c.replace(/'/g,"%27")+"'"),b.opener=null,c=Lu(Vt("b/12014412, meta tag with sanitized URL"),'<META HTTP-EQUIV="refresh" content="0; url='+Qq(c)+'">'),b.document.write(tu(c)),b.document.close())):b=c.open(ju(e),a,g);return b};var Lz=function(a,b){if("FORM"==a.tagName)for(var c=a.elements,e=0;a=c[e];e++)Lz(a,b);else 1==b&&a.blur(),a.disabled=b},Mz=function(a){var b=a.type;if(!v(b))return null;switch(b.toLowerCase()){case af:case "radio":return a.checked?a.value:null;case "select-one":return b=a.selectedIndex,0<=b?a.options[b].value:null;case Im:for(var b=[],c,e=0;c=a.options[e];e++)c.selected&&b.push(c.value);return b.length?b:null;default:return v(a.value)?a.value:null}};var Nz=function(a){if(a.altKey&&!a.ctrlKey||a.metaKey||112<=a.keyCode&&123>=a.keyCode)return!1;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!Es;default:return 166>a.keyCode||183<a.keyCode}},Qz=function(a,b,c,e,f){if(!(H||Cs||Fs&&Rs("525")))return!0;if(Hs&&f)return Oz(a);if(f&&!e)return!1;jq(b)&&
(b=Pz(b));if(!c&&(17==b||18==b||Hs&&91==b))return!1;if((Fs||Cs)&&e&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(H&&e&&b==a)return!1;switch(a){case 13:return!0;case 27:return!(Fs||Cs)}return Oz(a)},Oz=function(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(Fs||Cs)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;
default:return!1}},Pz=function(a){if(Es)a=Rz(a);else if(Hs&&Fs)a:switch(a){case 93:a=91;break a}return a},Rz=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};var Tz=function(a){J.call(this);this.G=a;I(a,Sz,this.Fh,!1,this);I(a,ef,this.rn,!1,this)};B(Tz,J);var Sz=Es?ej:dj;Tz.prototype.Fh=function(a){(13==a.keyCode||Fs&&3==a.keyCode)&&this.OV(a)};Tz.prototype.rn=function(a){this.OV(a)};Tz.prototype.OV=function(a){var b=new Uz(a);if(this.dispatchEvent(b)){b=new Vz(a);try{this.dispatchEvent(b)}finally{a.stopPropagation()}}};Tz.prototype.A=function(){Tz.g.A.call(this);rt(this.G,Sz,this.Fh,!1,this);rt(this.G,ef,this.rn,!1,this);delete this.G};
var Vz=function(a){$s.call(this,a.ld);this.type=l};B(Vz,$s);var Uz=function(a){$s.call(this,a.ld);this.type="beforeaction"};B(Uz,$s);var Wz={pR:["BC","AD"],K$:["Before Christ","Anno Domini"],kaa:"JFMAMJJASOND".split(""),Oaa:"JFMAMJJASOND".split(""),vR:"January February March April May June July August September October November December".split(" "),Hs:"January February March April May June July August September October November December".split(" "),CR:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),FR:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),KR:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Qaa:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ER:"Sun Mon Tue Wed Thu Fri Sat".split(" "),GR:"Sun Mon Tue Wed Thu Fri Sat".split(" "),NIa:"SMTWTFS".split(""),Paa:"SMTWTFS".split(""),DR:["Q1","Q2","Q3","Q4"],AR:["1st quarter","2nd quarter","3rd quarter","4th quarter"],eR:["AM","PM"],gp:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Qx:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],mR:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],$E:6,LR:[5,6],aF:5},Xz=
Wz,Xz=Wz;var Yz=function(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31},Zz=function(a,b,c,e,f,g){x(a)?(this.qg="y"==a?b:0,this.ag="m"==a?b:0,this.If="d"==a?b:0,this.Fc="h"==a?b:0,this.Rd="n"==a?b:0,this.Sd="s"==a?b:0):(this.qg=a||0,this.ag=b||0,this.If=c||0,this.Fc=e||0,this.Rd=f||0,this.Sd=g||0)};
Zz.prototype.Ko=function(a){var b=Math.min(this.qg,this.ag,this.If,this.Fc,this.Rd,this.Sd),c=Math.max(this.qg,this.ag,this.If,this.Fc,this.Rd,this.Sd);if(0>b&&0<c)return null;if(!a&&0==b&&0==c)return"PT0S";c=[];0>b&&c.push("-");c.push("P");(this.qg||a)&&c.push(Math.abs(this.qg)+"Y");(this.ag||a)&&c.push(Math.abs(this.ag)+"M");(this.If||a)&&c.push(Math.abs(this.If)+"D");if(this.Fc||this.Rd||this.Sd||a)c.push("T"),(this.Fc||a)&&c.push(Math.abs(this.Fc)+"H"),(this.Rd||a)&&c.push(Math.abs(this.Rd)+"M"),
(this.Sd||a)&&c.push(Math.abs(this.Sd)+"S");return c.join("")};Zz.prototype.Dd=function(a){return a.qg==this.qg&&a.ag==this.ag&&a.If==this.If&&a.Fc==this.Fc&&a.Rd==this.Rd&&a.Sd==this.Sd};Zz.prototype.clone=function(){return new Zz(this.qg,this.ag,this.If,this.Fc,this.Rd,this.Sd)};Zz.prototype.add=function(a){this.qg+=a.qg;this.ag+=a.ag;this.If+=a.If;this.Fc+=a.Fc;this.Rd+=a.Rd;this.Sd+=a.Sd};
var $z=function(a,b,c){jq(a)?(this.qa=this.iT(a,b||0,c||1),this.PB(c||1)):lq(a)?(this.qa=this.iT(a.getFullYear(),a.getMonth(),a.getDate()),this.PB(a.getDate())):(this.qa=new Date(z()),a=this.qa.getDate(),this.qa.setHours(0),this.qa.setMinutes(0),this.qa.setSeconds(0),this.qa.setMilliseconds(0),this.PB(a))};r=$z.prototype;r.iT=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};r.bn=Xz.$E;r.yz=Xz.aF;
r.clone=function(){var a=new $z(this.qa);a.bn=this.bn;a.yz=this.yz;return a};r.getFullYear=function(){return this.qa.getFullYear()};r.getYear=function(){return this.getFullYear()};r.getMonth=function(){return this.qa.getMonth()};r.getDate=function(){return this.qa.getDate()};r.getTime=function(){return this.qa.getTime()};r.getDay=function(){return this.qa.getDay()};r.ija=function(){return(this.getDay()+6)%7};r.Zka=function(){return(this.ija()-this.bn+7)%7};r.getUTCFullYear=function(){return this.qa.getUTCFullYear()};
r.getUTCMonth=function(){return this.qa.getUTCMonth()};r.getUTCDate=function(){return this.qa.getUTCDate()};r.getUTCDay=function(){return this.qa.getDay()};r.getUTCHours=function(){return this.qa.getUTCHours()};r.getUTCMinutes=function(){return this.qa.getUTCMinutes()};r.fY=function(){return Yz(this.getFullYear(),this.getMonth())};r.getTimezoneOffset=function(){return this.qa.getTimezoneOffset()};
r.oJ=function(){var a;a=this.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0<a?"-":"+")+$q(c,2)+":"+$q(b,2)}return a};r.set=function(a){this.qa=new Date(a.getFullYear(),a.getMonth(),a.getDate())};r.setFullYear=function(a){this.qa.setFullYear(a)};r.setYear=function(a){this.setFullYear(a)};r.setMonth=function(a){this.qa.setMonth(a)};r.setDate=function(a){this.qa.setDate(a)};r.setTime=function(a){this.qa.setTime(a)};r.setUTCFullYear=function(a){this.qa.setUTCFullYear(a)};
r.setUTCMonth=function(a){this.qa.setUTCMonth(a)};r.setUTCDate=function(a){this.qa.setUTCDate(a)};r.vO=function(a){this.bn=a};r.Z5=function(a){this.yz=a};
r.add=function(a){if(a.qg||a.ag){var b=this.getMonth()+a.ag+12*a.qg,c=this.getYear()+Math.floor(b/12),b=b%12;0>b&&(b+=12);var e=Math.min(Yz(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(e)}a.If&&(b=new Date(this.getYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.If),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),this.PB(a.getDate()))};
r.Ko=function(a,b){return[this.getFullYear(),$q(this.getMonth()+1,2),$q(this.getDate(),2)].join(a?"-":"")+(b?this.oJ():"")};r.Dd=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};r.toString=function(){return this.Ko()};r.PB=function(a){this.getDate()!=a&&(a=this.getDate()<a?1:-1,this.qa.setUTCHours(this.qa.getUTCHours()+a))};r.valueOf=function(){return this.qa.valueOf()};
var aA=function(a,b,c,e,f,g,h){this.qa=jq(a)?new Date(a,b||0,c||1,e||0,f||0,g||0,h||0):new Date(a&&a.getTime?a.getTime():z())};B(aA,$z);r=aA.prototype;r.getHours=function(){return this.qa.getHours()};r.getMinutes=function(){return this.qa.getMinutes()};r.getSeconds=function(){return this.qa.getSeconds()};r.getMilliseconds=function(){return this.qa.getMilliseconds()};r.getUTCDay=function(){return this.qa.getUTCDay()};r.getUTCHours=function(){return this.qa.getUTCHours()};r.getUTCMinutes=function(){return this.qa.getUTCMinutes()};
r.getUTCSeconds=function(){return this.qa.getUTCSeconds()};r.getUTCMilliseconds=function(){return this.qa.getUTCMilliseconds()};r.setHours=function(a){this.qa.setHours(a)};r.setMinutes=function(a){this.qa.setMinutes(a)};r.setSeconds=function(a){this.qa.setSeconds(a)};r.setMilliseconds=function(a){this.qa.setMilliseconds(a)};r.setUTCHours=function(a){this.qa.setUTCHours(a)};r.setUTCMinutes=function(a){this.qa.setUTCMinutes(a)};r.setUTCSeconds=function(a){this.qa.setUTCSeconds(a)};
r.setUTCMilliseconds=function(a){this.qa.setUTCMilliseconds(a)};r.add=function(a){$z.prototype.add.call(this,a);a.Fc&&this.setUTCHours(this.qa.getUTCHours()+a.Fc);a.Rd&&this.setUTCMinutes(this.qa.getUTCMinutes()+a.Rd);a.Sd&&this.setUTCSeconds(this.qa.getUTCSeconds()+a.Sd)};
r.Ko=function(a,b){var c=$z.prototype.Ko.call(this,a);return a?c+" "+$q(this.getHours(),2)+":"+$q(this.getMinutes(),2)+":"+$q(this.getSeconds(),2)+(b?this.oJ():""):c+"T"+$q(this.getHours(),2)+$q(this.getMinutes(),2)+$q(this.getSeconds(),2)+(b?this.oJ():"")};r.Dd=function(a){return this.getTime()==a.getTime()};r.toString=function(){return this.Ko()};r.clone=function(){var a=new aA(this.qa);a.vO(this.bn);a.Z5(this.yz);return a};var bA=function(){},dA=function(a){if(typeof a==pk){var b=new bA;b.j8=a;var c;c=a;if(0==c)c="Etc/GMT";else{var e=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);e.push(Math.floor(c/60)%100);c%=60;0!=c&&e.push(":",$q(c,2));c=e.join("")}b.pQ=c;c=a;0==c?c="UTC":(e=["UTC",0>c?"+":"-"],c=Math.abs(c),e.push(Math.floor(c/60)%100),c%=60,0!=c&&e.push(":",c),c=e.join(""));a=cA(a);b.AQ=[c,c];b.Oo={vLa:a,HR:a};b.ys=[];return b}b=new bA;b.pQ=a.id;b.j8=-a.std_offset;b.AQ=a.names;b.Oo=a.names_ext;b.ys=a.transitions;return b},
cA=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push($q(Math.floor(a/60)%100,2),":",$q(a%60,2));return b.join("")};r=bA.prototype;r.xX=function(a){a=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes())/36E5;for(var b=0;b<this.ys.length&&a>=this.ys[b];)b+=2;return 0==b?0:this.ys[b-1]};r.Uia=function(a){return cA(this.cJ(a))};r.$I=function(a){return this.AQ[this.FK(a)?3:1]};r.cJ=function(a){return this.j8-this.xX(a)};
r.jka=function(a){a=-this.cJ(a);var b=[0>a?"-":"+"];a=Math.abs(a);b.push($q(Math.floor(a/60)%100,2),$q(a%60,2));return b.join("")};r.xka=function(a){return this.AQ[this.FK(a)?2:0]};r.FK=function(a){return 0<this.xX(a)};r.Via=function(a){return this.FK(a)?v(this.Oo.I$)?this.Oo.I$:this.Oo.DST_GENERIC_LOCATION:v(this.Oo.HR)?this.Oo.HR:this.Oo.STD_GENERIC_LOCATION};var eA=function(a,b){C(v(a),"Pattern must be defined");C(v(b)||v(Xz),Vh);this.sc=[];this.Ia=b||Xz;typeof a==pk?this.np(a):this.sg(a)},fA=[/^\'(?:[^\']|\'\')*\'/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/],gA=function(a){return a.getHours?a.getHours():0};
eA.prototype.sg=function(a){for(hA&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<fA.length;++c){var e=a.match(fA[c]);if(e){e=e[0];a=a.substring(e.length);0==c&&("''"==e?e="'":(e=e.substring(1,e.length-1),e=e.replace(/\'\'/,"'")));this.sc.push({text:e,type:c});break}}if(b===a)throw Error("Malformed pattern part: "+a);}};
eA.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-b.cJ(a)):0,e=c?new Date(a.getTime()+c):a,f=e;b&&e.getTimezoneOffset()!=a.getTimezoneOffset()&&(f=6E4*(e.getTimezoneOffset()-a.getTimezoneOffset()),e=new Date(e.getTime()+f),c+=0<c?-864E5:864E5,f=new Date(a.getTime()+c));for(var c=[],g=0;g<this.sc.length;++g){var h=this.sc[g].text;1==this.sc[g].type?c.push(this.vha(h,a,e,f,b)):c.push(h)}return c.join("")};
eA.prototype.np=function(a){var b;if(4>a)b=this.Ia.gp[a];else if(8>a)b=this.Ia.Qx[a-4];else if(12>a)b=this.Ia.mR[a-8],b=b.replace("{1}",this.Ia.gp[a-8]),b=b.replace("{0}",this.Ia.Qx[a-8]);else{this.np(10);return}this.sg(b)};eA.prototype.tf=function(a){a=String(a);var b=this.Ia||Xz;if(void 0!==b.iF){for(var c=[],e=0;e<a.length;e++){var f=a.charCodeAt(e);c.push(48<=f&&57>=f?String.fromCharCode(b.iF+f-48):a.charAt(e))}a=c.join("")}return a};var hA=!1;
eA.prototype.uha=function(a,b){var c=0<b.getFullYear()?1:0;return 4<=a?this.Ia.K$[c]:this.Ia.pR[c]};eA.prototype.Lha=function(a,b){var c=b.getFullYear();0>c&&(c=-c);2==a&&(c%=100);return this.tf($q(c,a))};eA.prototype.yha=function(a,b){var c=b.getMonth();switch(a){case 5:return this.Ia.kaa[c];case 4:return this.Ia.vR[c];case 3:return this.Ia.CR[c];default:return this.tf($q(c+1,a))}};
var iA=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");};r=eA.prototype;r.qha=function(a,b){iA(b);return this.tf($q(gA(b)||24,a))};r.wha=function(a,b){var c=b.getTime()%1E3/1E3;return this.tf(c.toFixed(Math.min(3,a)).substr(2)+(3<a?$q(0,a-3):""))};r.tha=function(a,b){var c=b.getDay();return 4<=a?this.Ia.KR[c]:this.Ia.ER[c]};
r.rha=function(a,b){iA(b);var c=gA(b);return this.Ia.eR[12<=c&&24>c?1:0]};r.pha=function(a,b){iA(b);return this.tf($q(gA(b)%12||12,a))};r.nha=function(a,b){iA(b);return this.tf($q(gA(b)%12,a))};r.oha=function(a,b){iA(b);return this.tf($q(gA(b),a))};r.Eha=function(a,b){var c=b.getDay();switch(a){case 5:return this.Ia.Paa[c];case 4:return this.Ia.Qaa[c];case 3:return this.Ia.GR[c];default:return this.tf($q(c,1))}};
r.Fha=function(a,b){var c=b.getMonth();switch(a){case 5:return this.Ia.Oaa[c];case 4:return this.Ia.Hs[c];case 3:return this.Ia.FR[c];default:return this.tf($q(c+1,a))}};r.zha=function(a,b){var c=Math.floor(b.getMonth()/3);return 4>a?this.Ia.DR[c]:this.Ia.AR[c]};r.sha=function(a,b){return this.tf($q(b.getDate(),a))};r.xha=function(a,b){iA(b);return this.tf($q(b.getMinutes(),a))};r.Bha=function(a,b){iA(b);return this.tf($q(b.getSeconds(),a))};
r.Kha=function(a,b){var c=b.getDate(),e=this.Ia.aF,c=new Date(b.getFullYear(),b.getMonth(),c),f=this.Ia.$E||0,e=c.valueOf()+864E5*(((v(e)?e:3)-f+7)%7-((c.getDay()+6)%7-f+7)%7);return this.tf($q(Math.floor(Math.round((e-(new Date((new Date(e)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,a))};r.Iha=function(a,b,c){c=c||dA(b.getTimezoneOffset());return 4>a?c.jka(b):this.tf(c.Uia(b))};r.Jha=function(a,b,c){c=c||dA(b.getTimezoneOffset());return 4>a?c.xka(b):c.$I(b)};
r.Gha=function(a,b){b=b||dA(a.getTimezoneOffset());return b.pQ};r.Hha=function(a,b,c){c=c||dA(b.getTimezoneOffset());return 2>=a?c.pQ:c.Via(b)};
r.vha=function(a,b,c,e,f){var g=a.length;switch(a.charAt(0)){case "G":return this.uha(g,c);case "y":return this.Lha(g,c);case "M":return this.yha(g,c);case "k":return this.qha(g,e);case "S":return this.wha(g,e);case "E":return this.tha(g,c);case "a":return this.rha(g,e);case "h":return this.pha(g,e);case "K":return this.nha(g,e);case "H":return this.oha(g,e);case "c":return this.Eha(g,c);case "L":return this.Fha(g,c);case "Q":return this.zha(g,c);case "d":return this.sha(g,c);case "m":return this.xha(g,
e);case "s":return this.Bha(g,e);case "v":return this.Gha(b,f);case "V":return this.Hha(g,b,f);case "w":return this.Kha(g,e);case "z":return this.Jha(g,b,f);case "Z":return this.Iha(g,b,f);default:return""}};var mA=function(a,b,c,e,f,g,h,k,n){C(c);var q=jA(c),u=Jy(a),A=xy(a);A&&u.AK(new jy(A.left,A.top,A.right-A.left,A.bottom-A.top));var A=N(a),ca=N(c);if(A.N()!=ca.N()){var na=A.N().body;var ca=ca.xb(),Ia=new Fw(0,0),Ra=Zw(Ow(na));if(ts(Ra,Yk)){var Yc=na;do{var qf=Ra==ca?wy(Yc):Ey(C(Yc));Ia.x+=qf.x;Ia.y+=qf.y}while(Ra&&Ra!=ca&&Ra!=Ra.parent&&(Yc=Ra.frameElement)&&(Ra=Ra.parent))}na=Gw(Ia,wy(na));!H||Ts(9)||A.lv()||(na=Gw(na,A.Pf()));u.left+=na.x;u.top+=na.y}a=kA(a,b);b=u.left;a&4?b+=u.width:a&2&&(b+=
u.width/2);u=new Fw(b,u.top+(a&1?u.height:0));u=Gw(u,q);f&&(u.x+=(a&4?-1:1)*f.x,u.y+=(a&1?-1:1)*f.y);var yc;if(h)if(n)yc=n;else if(yc=xy(c))yc.top-=q.y,yc.right-=q.x,yc.bottom-=q.y,yc.left-=q.x;return lA(u,c,e,g,yc,h,k)},jA=function(a){var b;if(a=a.offsetParent){var c="HTML"==a.tagName||"BODY"==a.tagName;c&&"static"==py(a)||(b=wy(a),c||(c=(c=Ny(a))&&Es?-a.scrollLeft:!c||Ds&&Rs("8")||oy(a,"overflowX")==Mp?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft,b=Gw(b,new Fw(c,a.scrollTop))))}return b||
new Fw},lA=function(a,b,c,e,f,g,h){a=a.clone();var k=kA(b,c);c=Iy(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var n=0;if(e||0!=k)k&4?a.x-=h.width+(e?e.right:0):k&2?a.x-=h.width/2:e&&(a.x+=e.left),k&1?a.y-=h.height+(e?e.bottom:0):e&&(a.y+=e.top);if(g){if(f){e=a;k=h;n=0;65==(g&65)&&(e.x<f.left||e.x>=f.right)&&(g&=-2);132==(g&132)&&(e.y<f.top||e.y>=f.bottom)&&(g&=-5);e.x<f.left&&g&1&&(e.x=f.left,n|=1);if(g&16){var q=e.x;e.x<f.left&&(e.x=f.left,n|=4);e.x+k.width>f.right&&(k.width=Math.min(f.right-
e.x,q+k.width-f.left),k.width=Math.max(k.width,0),n|=4)}e.x+k.width>f.right&&g&1&&(e.x=Math.max(f.right-k.width,f.left),n|=1);g&2&&(n|=(e.x<f.left?16:0)|(e.x+k.width>f.right?32:0));e.y<f.top&&g&4&&(e.y=f.top,n|=2);g&32&&(q=e.y,e.y<f.top&&(e.y=f.top,n|=8),e.y+k.height>f.bottom&&(k.height=Math.min(f.bottom-e.y,q+k.height-f.top),k.height=Math.max(k.height,0),n|=8));e.y+k.height>f.bottom&&g&4&&(e.y=Math.max(f.bottom-k.height,f.top),n|=2);g&8&&(n|=(e.y<f.top?64:0)|(e.y+k.height>f.bottom?128:0));f=n}else f=
256;n=f}g=new jy(0,0,0,0);g.left=a.x;g.top=a.y;g.width=h.width;g.height=h.height;f=n;if(f&496)return f;ry(b,g.Oka());h=g.Ie();Iw(c,h)||(c=h,h=Ow(b),a=N(h).lv(),!H||Rs("10")||a&&Rs("8")?(b=b.style,Es?b.MozBoxSizing=Ne:Fs?b.WebkitBoxSizing=Ne:b.boxSizing=Ne,b.width=Math.max(c.width,0)+p,b.height=Math.max(c.height,0)+p):(h=b.style,a?(a=Sy(b),b=yy(b),h.pixelWidth=c.width-b.left-a.left-a.right-b.right,h.pixelHeight=c.height-b.top-a.top-a.bottom-b.bottom):(h.pixelWidth=c.width,h.pixelHeight=c.height)));
return f},kA=function(a,b){return(b&8&&Ny(a)?b^4:b)&-9};var nA,oA={QEa:Od,$Ea:xe,dFa:Ce,pFa:"busy",z$:bf,NFa:"controls",dGa:cg,hGa:gg,CGa:"dropeffect",PGa:Ng,aHa:"flowto",oHa:"grabbed",sHa:Zh,HIDDEN:ai,MHa:"invalid",W$:gj,UHa:hj,aIa:"level",gIa:tj,JIa:"multiline",KIa:"multiselectable",eJa:"orientation",hJa:Tk,BJa:Yl,DJa:"pressed",READONLY:"readonly",YJa:"relevant",bKa:"required",SELECTED:Km,vKa:"setsize",kLa:"sort",fMa:"valuemax",gMa:"valuemin",hMa:xp,iMa:"valuetext"};var pA={UEa:"alert",VEa:"alertdialog",YEa:"application",ZEa:"article",v$:"banner",qFa:Qe,xFa:af,CFa:"columnheader",DFa:jf,GFa:"complementary",KFa:"contentinfo",cGa:"definition",fGa:eg,gGa:"directory",nR:ng,FORM:"form",Q$:Wh,rHa:Xh,R$:"group",tHa:"heading",FHa:ui,cIa:"link",Y$:oj,eIa:pj,fIa:"listitem",hIa:"log",jIa:"main",oIa:"marquee",pIa:"math",tIa:"menu",uIa:"menubar",vIa:"menuitem",wIa:Mj,xIa:"menuitemradio",OIa:ik,WIa:"note",cJa:Kk,vaa:am,GJa:"progressbar",MJa:"radio",NJa:"radiogroup",VJa:"region",
hKa:"row",iKa:"rowgroup",jKa:"rowheader",mKa:"scrollbar",nKa:Em,tKa:Mm,iLa:"slider",nLa:"spinbutton",uLa:ro,yLa:"tab",BLa:"tablist",CLa:"tabpanel",GLa:"textbox",HLa:"textinfo",JLa:"timer",LLa:"toolbar",MLa:"tooltip",OLa:"tree",PLa:"treegrid",QLa:"treeitem"};var qA=[jf,Wh,"group",pj,"menu","menubar","radiogroup","row","rowgroup","tablist","textbox","toolbar","tree","treegrid"],rA=function(a,b){b?(C(es(pA,b),"No such ARIA role "+b),a.setAttribute(vm,b)):a.removeAttribute(vm)},S=function(a,b,c){gq(c)&&(c=c.join(" "));var e=sA(b);""===c||void 0==c?(nA||(nA={atomic:!1,autocomplete:lk,dropeffect:lk,haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:zp,readonly:!1,relevant:"additions text",required:!1,sort:lk,busy:!1,disabled:!1,hidden:!1,invalid:Qg}),
c=nA,b in c?a.setAttribute(e,c[b]):a.removeAttribute(e)):a.setAttribute(e,c)},tA=function(a,b){a.removeAttribute(sA(b))},uA=function(a,b){var c=a.getAttribute(sA(b));return null==c||void 0==c?"":String(c)},vA=function(a){var b=uA(a,Od);return Ow(a).getElementById(b)},wA=function(a,b){var c="";b&&(c=b.id,C(c,"The active element should have an id."));S(a,Od,c)},xA=function(a){return uA(a,gj)},yA=function(a,b){S(a,gj,b)},sA=function(a){C(a,"ARIA attribute cannot be empty.");C(es(oA,a),"No such ARIA attribute "+
a);return"aria-"+a};var zA=function(a){if(a.classList)return a.classList;a=a.className;return x(a)&&a.match(/\S+/g)||[]},AA=function(a,b){a.className=b},BA=function(a,b){return a.classList?a.classList.contains(b):Fr(zA(a),b)},T=function(a,b){a.classList?a.classList.add(b):BA(a,b)||(a.className+=0<a.className.length?" "+b:b)},CA=function(a,b){if(a.classList)D(b,function(b){T(a,b)});else{var c={};D(zA(a),function(a){c[a]=!0});D(b,function(a){c[a]=!0});a.className="";for(var e in c)a.className+=0<a.className.length?" "+
e:e}},DA=function(a,b){a.classList?a.classList.remove(b):BA(a,b)&&(a.className=wr(zA(a),function(a){return a!=b}).join(" "))},EA=function(a,b){a.classList?D(b,function(b){DA(a,b)}):a.className=wr(zA(a),function(a){return!Fr(b,a)}).join(" ")},FA=function(a,b,c){c?T(a,b):DA(a,b)};var GA=function(a){E.call(this);this.La=a;this.Bb={}};B(GA,E);var HA=[];r=GA.prototype;r.o=function(a,b,c,e){return this.zB(a,b,c,e)};r.Fl=function(a,b,c,e,f){return this.zB(a,b,c,e,f)};r.zB=function(a,b,c,e,f){gq(b)||(b&&(HA[0]=b.toString()),b=HA);for(var g=0;g<b.length;g++){var h=I(a,b[g],c||this.handleEvent,e||!1,f||this.La||this);if(!h)break;this.Bb[h.key]=h}return this};r.Zf=function(a,b,c,e){return this.g1(a,b,c,e)};
r.g1=function(a,b,c,e,f){if(gq(b))for(var g=0;g<b.length;g++)this.g1(a,b[g],c,e,f);else{a=qt(a,b,c||this.handleEvent,e,f||this.La||this);if(!a)return this;this.Bb[a.key]=a}return this};r.cr=function(a,b,c,e){return this.zra(a,b,c,e)};r.zra=function(a,b,c,e,f){b.o(a,c,e,f||this.La||this,this);return this};
r.Ca=function(a,b,c,e,f){if(gq(b))for(var g=0;g<b.length;g++)this.Ca(a,b[g],c,e,f);else c=c||this.handleEvent,f=f||this.La||this,c=kt(c),e=!!e,b=ct(a)?a.xu(b,c,e,f):a?(a=mt(a))?a.xu(b,c,e,f):null:null,b&&(st(b),delete this.Bb[b.key]);return this};r.removeAll=function(){Wr(this.Bb,function(a,b){this.Bb.hasOwnProperty(b)&&st(a)},this);this.Bb={}};r.A=function(){GA.g.A.call(this);this.removeAll()};r.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var IA=function(a,b,c){J.call(this);this.target=a;this.handle=b||a;this.zL=c||new jy(NaN,NaN,NaN,NaN);this.ic=Ow(a);this.J=new GA(this);this.ha(this.J);this.deltaY=this.deltaX=this.s8=this.r8=this.screenY=this.screenX=this.clientY=this.clientX=0;this.oc=!0;this.Vm=!1;this.q3=!0;this.i_=0;this.Vo=this.npa=!1;I(this.handle,[To,Uj],this.jx,!1,this)};B(IA,J);var JA=t.document&&t.document.documentElement&&!!t.document.documentElement.setCapture;r=IA.prototype;r.C=function(){return this.J};
r.GO=function(a){this.zL=a||new jy(NaN,NaN,NaN,NaN)};r.K6=function(a){this.iD=a};r.X=function(a){this.oc=a};r.A=function(){IA.g.A.call(this);rt(this.handle,[To,Uj],this.jx,!1,this);this.NT();this.handle=this.target=null};r.A0=function(){v(this.Mi)||(this.Mi=Ny(this.target));return this.Mi};
r.jx=function(a){var b=a.type==Uj;if(!this.oc||this.Vm||b&&!a.qv())this.dispatchEvent("earlycancel");else{if(0==this.i_)if(this.TW(a))this.Vm=!0,this.q3&&b&&a.preventDefault();else return;else this.q3&&b&&a.preventDefault();this.ZAa();this.clientX=this.r8=a.clientX;this.clientY=this.s8=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.Rda();this.RM=N(this.ic).Pf()}};
r.ZAa=function(){var a=this.ic,b=a.documentElement,c=!JA;this.J.o(a,["touchmove",Vj],this.bna,c);this.J.o(a,["touchend",Yj],this.Zm,c);JA?(b.setCapture(!1),this.J.o(b,"losecapture",this.Zm)):this.J.o(Zw(a),Ke,this.Zm);H&&this.npa&&this.J.o(a,ug,rs);this.iD&&this.J.o(this.iD,Cm,this.sC,c)};r.TW=function(a){return this.dispatchEvent(new KA(oo,this,a.clientX,a.clientY,a))};r.NT=function(){this.J.removeAll();JA&&this.ic.releaseCapture()};
r.Zm=function(a,b){this.NT();this.Vm?(this.Vm=!1,this.dispatchEvent(new KA(Gg,this,a.clientX,a.clientY,a,this.c1(this.deltaX),this.d1(this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
r.bna=function(a){if(this.oc){var b=(this.Vo&&this.A0()?-1:1)*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.Vm){var e=this.r8-this.clientX,f=this.s8-this.clientY;if(e*e+f*f>this.i_)if(this.TW(a))this.Vm=!0;else{this.ob||this.Zm(a);return}}c=this.nT(b,c);b=c.x;c=c.y;this.Vm&&this.dispatchEvent(new KA("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(this.XV(a,b,c,!1),a.preventDefault())}};
r.nT=function(a,b){var c=N(this.ic).Pf();a+=c.x-this.RM.x;b+=c.y-this.RM.y;this.RM=c;this.deltaX+=a;this.deltaY+=b;return new Fw(this.c1(this.deltaX),this.d1(this.deltaY))};r.sC=function(a){var b=this.nT(0,0);a.clientX=this.clientX;a.clientY=this.clientY;this.XV(a,b.x,b.y,!0)};r.XV=function(a,b,c){this.hfa(b,c);this.dispatchEvent(new KA("drag",this,a.clientX,a.clientY,a,b,c))};
r.c1=function(a){var b=this.zL,c=isNaN(b.left)?null:b.left,b=isNaN(b.width)?0:b.width;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};r.d1=function(a){var b=this.zL,c=isNaN(b.top)?null:b.top,b=isNaN(b.height)?0:b.height;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};r.Rda=function(){this.deltaX=this.Vo?Zy(this.target):this.target.offsetLeft;this.deltaY=this.target.offsetTop};
r.hfa=function(a,b){this.Vo&&this.A0()?this.target.style.right=a+p:this.target.style.left=a+p;this.target.style.top=b+p};var KA=function(a,b,c,e,f,g,h,k){G.call(this,a);this.clientX=c;this.clientY=e;this.Sca=f;this.left=v(g)?g:b.deltaX;this.top=v(h)?h:b.deltaY;this.Rfa=!!k};B(KA,G);var LA=H?Ji:Id;var MA=function(a){J.call(this);this.G=a;a=H?eh:Ke;this.wra=I(this.G,H?dh:ch,this,!H);this.xra=I(this.G,a,this,!H)};B(MA,J);MA.prototype.handleEvent=function(a){var b=new $s(a.ld);b.type=a.type==dh||a.type==ch?dh:eh;this.dispatchEvent(b)};MA.prototype.A=function(){MA.g.A.call(this);st(this.wra);st(this.xra);delete this.G};var NA=function(){};eq(NA);NA.prototype.oM=0;NA.prototype.Jd=function(){return":"+(this.oM++).toString(36)};var U=function(a){J.call(this);this.ba=a||N();this.Mi=OA;this.fa=null;this.Y=!1;this.G=null;this.ol=void 0;this.sh=this.Ja=this.ia=this.ca=null;this.i$=!1};B(U,J);U.prototype.kpa=NA.K();var OA=null,PA=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?ci:ap;case 4:return b?"activate":$f;case 8:return b?Hm:"unselect";case 16:return b?"check":"uncheck";case 32:return b?ch:Ke;case 64:return b?"open":ff}throw Error("Invalid component state");};r=U.prototype;
r.I=function(){return this.fa||(this.fa=this.kpa.Jd())};r.CD=function(a){this.ia&&this.ia.sh&&(hs(this.ia.sh,this.fa),is(this.ia.sh,a,this));this.fa=a};r.b=function(){return this.G};r.md=function(){var a=this.G;C(a,"Can not call getElementStrict before rendering/decorating.");return a};r.Sa=function(a){this.G=a};r.oq=function(a){return this.G?this.ba.oq(a,this.G):[]};r.Lc=function(a){return this.G?this.ba.Lc(a,this.G):null};
r.He=function(a){var b=this.Lc(a);C(b,"Expected element in component with class: %s",a);return b};r.C=function(){this.ol||(this.ol=new GA(this));return this.ol};r.Ha=function(a){if(this==a)throw Error(vd);if(a&&this.ia&&this.fa&&this.ia.dl(this.fa)&&this.ia!=a)throw Error(vd);this.ia=a;U.g.hm.call(this,a)};r.getParent=function(){return this.ia};r.hm=function(a){if(this.ia&&this.ia!=a)throw Error("Method not supported");U.g.hm.call(this,a)};r.v=function(){return this.ba};r.j=function(){this.G=this.ba.createElement(d)};
r.Z=function(a){this.sN(a)};r.a4=function(a){this.sN(a.parentNode,a)};r.sN=function(a,b){if(this.Y)throw Error(Kb);this.G||this.j();a?a.insertBefore(this.G,b||null):this.ba.N().body.appendChild(this.G);this.ia&&!this.ia.Y||this.D()};r.U=function(a){if(this.Y)throw Error(Kb);if(a&&this.Bc(a)){this.i$=!0;var b=Ow(a);this.ba&&this.ba.N()==b||(this.ba=N(a));this.Ka(a);this.D()}else throw Error("Invalid element to decorate");};r.Bc=function(){return!0};r.Ka=function(a){this.G=a};
r.D=function(){this.Y=!0;this.Ua(function(a){!a.Y&&a.b()&&a.D()})};r.Ra=function(){this.Ua(function(a){a.Y&&a.Ra()});this.ol&&this.ol.removeAll();this.Y=!1};r.A=function(){this.Y&&this.Ra();this.ol&&(this.ol.dispose(),delete this.ol);this.Ua(function(a){a.dispose()});!this.i$&&this.G&&kx(this.G);this.ia=this.ca=this.G=this.sh=this.Ja=null;U.g.A.call(this)};r.Rg=function(a){return this.I()+"."+a};r.v1=function(a){var b={},c;for(c in a)b[c]=this.Rg(a[c]);return b};r.Eja=function(){return this.ca};
r.Sc=function(a){this.ca=a};r.fl=function(a){if(!this.Y)throw Error("Operation not supported while component is not in document");return this.ba.b(this.Rg(a))};r.la=function(a,b){this.Xe(a,this.ub(),b)};
r.Xe=function(a,b,c){C(!!a,"Provided element must not be null.");if(a.Y&&(c||!this.Y))throw Error(Kb);if(0>b||b>this.ub())throw Error("Child component index out of bounds");this.sh&&this.Ja||(this.sh={},this.Ja=[]);if(a.getParent()==this){var e=a.I();this.sh[e]=a;Kr(this.Ja,a)}else is(this.sh,a.I(),a);a.Ha(this);Qr(this.Ja,b,0,a);a.Y&&this.Y&&a.getParent()==this?(c=this.M(),b=c.childNodes[b]||null,b!=a.b()&&c.insertBefore(a.b(),b)):c?(this.G||this.j(),b=this.za(b+1),a.sN(this.M(),b?b.G:null)):this.Y&&
!a.Y&&a.G&&a.G.parentNode&&1==a.G.parentNode.nodeType&&a.D()};r.M=function(){return this.G};r.Jh=function(){null==this.Mi&&(this.Mi=Ny(this.Y?this.G:this.ba.N().body));return this.Mi};r.Ao=function(a){if(this.Y)throw Error(Kb);this.Mi=a};r.Md=function(){return!!this.Ja&&0!=this.Ja.length};r.ub=function(){return this.Ja?this.Ja.length:0};r.iia=function(){var a=[];this.Ua(function(b){a.push(b.I())});return a};
r.dl=function(a){if(this.sh&&a){var b=this.sh;a=(null!==b&&a in b?b[a]:void 0)||null}else a=null;return a};r.za=function(a){return this.Ja?this.Ja[a]||null:null};r.Ua=function(a,b){this.Ja&&D(this.Ja,a,b)};r.pf=function(a){return this.Ja&&a?sr(this.Ja,a):-1};r.removeChild=function(a,b){if(a){var c=x(a)?a:a.I();a=this.dl(c);c&&a&&(hs(this.sh,c),Kr(this.Ja,a),b&&(a.Ra(),a.G&&kx(a.G)),a.Ha(null))}if(!a)throw Error("Child is not in parent component");return a};
r.T3=function(a,b){return this.removeChild(this.za(a),b)};r.wf=function(a){for(var b=[];this.Md();)b.push(this.T3(0,a));return b};var QA=function(a,b){this.G=a;this.ba=b};QA.prototype.bya=function(a){if(a){this.Jq||(this.Jq=[]);a=this.ba.Xc(this.ba.N().body);for(var b=0;b<a.length;b++){var c=a[b];c==this.G||uA(c,ai)||(S(c,ai,!0),this.Jq.push(c))}}else if(this.Jq){for(b=0;b<this.Jq.length;b++)tA(this.Jq[b],ai);this.Jq=null}};var RA=function(a,b){J.call(this);this.La=new GA(this);this.Rr(a||null);b&&this.Ue(b)};B(RA,J);r=RA.prototype;r.G=null;r.XS=!0;r.VS=null;r.WS=null;r.Nn=!1;r.iBa=!1;r.Y0=-1;r.qL=-1;r.WZ=!1;r.gga=!0;r.Ya=Ro;r.Aa=function(){return this.Ya};r.Ue=function(a){this.Ya=a};r.b=function(){return this.G};r.Rr=function(a){this.DH();this.G=a};r.Ew=function(a){this.DH();this.XS=a};r.f6=function(a){this.DH();this.WZ=a};r.QD=function(a,b){this.hs=a;this.Mq=b};r.C=function(){return this.La};
r.DH=function(){if(this.Nn)throw Error("Can not change this state of the popup while showing.");};r.R=function(){return this.Nn};r.jB=function(){return this.Nn||150>z()-this.qL};r.F=function(a){this.hs&&this.hs.stop();this.Mq&&this.Mq.stop();a?this.NP():this.Nq()};r.oa=dq;
r.NP=function(){if(!this.Nn&&this.xM()){if(!this.G)throw Error("Caller must call setElement before trying to show the popup");this.oa();var a=Ow(this.G);this.WZ&&this.La.o(a,dj,this.eta,!0);if(this.XS)if(this.La.o(a,Uj,this.kC,!0),H){var b;try{b=a.activeElement}catch(e){}for(;b&&b.nodeName==oc;){try{var c=sx(b)}catch(e){break}a=c;b=a.activeElement}this.La.o(a,Uj,this.kC,!0);this.La.o(a,$f,this.s2)}else this.La.o(a,Ke,this.s2);this.Ya==Ro?this.JP():this.Ya==ak&&this.oa();this.Nn=!0;this.Y0=z();this.qL=
-1;this.hs?(qt(this.hs,Gg,this.Oc,!1,this),this.hs.play()):this.Oc()}};r.Nq=function(a){if(!this.Nn||!this.$sa(a))return!1;this.La&&this.La.removeAll();this.Nn=!1;this.qL=z();this.Mq?(qt(this.Mq,Gg,sq(this.nU,a),!1,this),this.Mq.play()):this.nU(a);return!0};r.nU=function(a){this.Ya==Ro?this.iBa?M(this.IA,0,this):this.IA():this.Ya==ak&&this.Csa();this.Vg(a)};r.JP=function(){this.G.style.visibility=Mp;Q(this.G,!0)};r.IA=function(){this.G.style.visibility=ai;Q(this.G,!1)};
r.Csa=function(){this.G.style.top=ra};r.xM=function(){return this.dispatchEvent(Ge)};r.Oc=function(){this.dispatchEvent(bn)};r.$sa=function(a){return this.dispatchEvent({type:Fe,target:a})};r.Vg=function(a){this.dispatchEvent({type:bi,target:a})};r.kC=function(a){a=a.target;rx(this.G,a)||this.u0(a)||!this.J0(a)||this.AP()||this.Nq(a)};r.eta=function(a){27==a.keyCode&&this.Nq(a.target)&&(a.preventDefault(),a.stopPropagation())};
r.s2=function(a){if(this.gga){var b=Ow(this.G);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||rx(this.G,a)||"BODY"==a.tagName)return}else if(a.target!=b)return;this.AP()||this.Nq()}};r.u0=function(a){return zr(this.VS||[],function(b){return a===b||rx(b,a)})};r.J0=function(a){return this.WS?rx(this.WS,a):!0};r.AP=function(){return 150>z()-this.Y0};r.A=function(){RA.g.A.call(this);this.La.dispose();F(this.hs);F(this.Mq);delete this.G;delete this.La;delete this.VS};var SA=function(a,b){U.call(this,b);this.nEa=!!a;this.Zq=null};B(SA,U);r=SA.prototype;r.Bh=null;r.Hb=!1;r.$e=null;r.le=null;r.Tc=null;r.Cm=!1;r.V=function(){return"goog-modalpopup"};r.cl=function(){return this.$e};r.j=function(){SA.g.j.call(this);var a=this.b();C(a);var b=Fq(this.V()).split(" ");CA(a,b);zx(a,!0);Q(a,!1);this.y1();this.NU()};
r.y1=function(){this.nEa&&!this.le&&(this.le=this.v().j(pi,{frameborder:0,style:"border:0;vertical-align:bottom;",src:LA}),this.le.className=this.V()+"-bg",Q(this.le,!1),Ky(this.le,0));this.$e||(this.$e=this.v().j(d,this.V()+"-bg"),Q(this.$e,!1))};r.NU=function(){this.Tc||(this.Tc=this.v().createElement(Qc),Q(this.Tc,!1),zx(this.Tc,!0),this.Tc.style.position=Ld)};r.q7=function(){this.Cm=!0;try{this.Tc.focus()}catch(a){}M(this.iw,0,this)};r.iw=function(){this.Cm=!1};
r.lwa=function(){C(!!this.$e,"Background element must not be null.");this.le&&hx(this.le,this.b());hx(this.$e,this.b())};r.Bc=function(a){return!!a&&a.tagName==d};r.Ka=function(a){SA.g.Ka.call(this,a);a=Fq(this.V()).split(" ");CA(C(this.b()),a);this.y1();this.NU();zx(this.b(),!0);Q(this.b(),!1)};r.D=function(){this.lwa();SA.g.D.call(this);ix(this.Tc,this.b());this.Bh=new MA(this.v().N());this.C().o(this.Bh,dh,this.ota);this.WN(!1)};
r.Ra=function(){this.R()&&this.F(!1);F(this.Bh);SA.g.Ra.call(this);kx(this.le);kx(this.$e);kx(this.Tc)};r.F=function(a){C(this.Y,"ModalPopup must be rendered first.");a!=this.Hb&&(this.io&&this.io.stop(),this.tp&&this.tp.stop(),this.ho&&this.ho.stop(),this.sp&&this.sp.stop(),this.Y&&this.WN(a),a?this.NP():this.Nq())};r.WN=function(a){this.T1||(this.T1=new QA(this.md(),this.ba));this.T1.bya(a)};r.QD=function(a,b,c,e){this.io=a;this.ho=b;this.tp=c;this.sp=e};
r.NP=function(){if(this.dispatchEvent(Ge)){try{this.Zq=this.v().N().activeElement}catch(a){}this.zN();this.oa();this.C().o(this.v().xb(),tm,this.zN);this.K7(!0);this.focus();this.Hb=!0;this.io&&this.tp?(qt(this.io,Gg,this.Oc,!1,this),this.tp.play(),this.io.play()):this.Oc()}};r.Nq=function(){this.dispatchEvent(Fe)&&(this.C().Ca(this.v().xb(),tm,this.zN),this.Hb=!1,this.ho&&this.sp?(qt(this.ho,Gg,this.Vg,!1,this),this.sp.play(),this.ho.play()):this.Vg(),this.Qwa())};
r.Qwa=function(){try{var a=this.v(),b=a.N().body,c=a.N().activeElement||b;if(!this.Zq||this.Zq==b){this.Zq=null;return}(c==b||a.contains(this.b(),c))&&this.Zq.focus()}catch(e){}this.Zq=null};r.K7=function(a){this.le&&Q(this.le,a);this.$e&&Q(this.$e,a);Q(this.b(),a);Q(this.Tc,a)};r.Oc=function(){this.dispatchEvent(bn)};r.Vg=function(){this.K7(!1);this.dispatchEvent(bi)};r.R=function(){return this.Hb};r.focus=function(){this.aX()};
r.zN=function(){this.le&&Q(this.le,!1);this.$e&&Q(this.$e,!1);var a=this.v().N(),b=Ww(Zw(a)||window),c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth)),a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.le&&(Q(this.le,!0),Hy(this.le,c,a));this.$e&&(Q(this.$e,!0),Hy(this.$e,c,a))};
r.oa=function(){var a=this.v().N(),b=Zw(a)||window;if(py(this.b())==bh)var c=a=0;else c=this.v().Pf(),a=c.x,c=c.y;var e=Iy(this.b()),b=Ww(b),a=Math.max(a+b.width/2-e.width/2,0),c=Math.max(c+b.height/2-e.height/2,0);ry(this.b(),a,c);ry(this.Tc,a,c)};r.ota=function(a){this.Cm?this.iw():a.target==this.Tc&&M(this.aX,0,this)};r.aX=function(){try{H&&this.v().N().body.focus(),this.b().focus()}catch(a){}};
r.A=function(){F(this.io);this.io=null;F(this.ho);this.ho=null;F(this.tp);this.tp=null;F(this.sp);this.sp=null;SA.g.A.call(this)};var UA=function(a,b,c){SA.call(this,b,c);this.Be=a||"modal-dialog";this.hc=TA()};B(UA,SA);r=UA.prototype;r.JH=!0;r.Tu=!0;r.eM=!0;r.dz=!0;r.ly=.5;r.fd="";r.Cc=null;r.Cd=null;r.Ee=!1;r.ec=null;r.ye=null;r.qE=null;r.ke=null;r.Yb=null;r.yd=null;r.Wv=eg;r.V=function(){return this.Be};r.$a=function(a){this.fd=a;this.ye&&tx(this.ye,a)};r.ee=function(){return this.fd};r.jg=function(a){this.Uw(wu(a))};r.Uw=function(a){this.Cc=a;this.Yb&&Mw(this.Yb,a)};r.Jb=function(){return null!=this.Cc?tu(this.Cc):""};
r.ll=function(){return this.Wv};r.VO=function(a){this.Wv=a};r.ro=function(){this.b()||this.Z()};r.M=function(){this.ro();return this.Yb};r.nn=function(){this.ro();return this.ec};r.Mka=function(){this.ro();return this.ye};r.Eu=function(){this.ro();return this.ke};r.eia=function(){this.ro();return this.yd};r.Dj=function(){this.ro();return this.b()};r.cl=function(){this.ro();return UA.g.cl.call(this)};r.bO=function(a){this.ly=a;this.b()&&(a=this.cl())&&Ky(a,this.ly)};r.w6=function(a){a!=this.eM&&this.x6(a)};
r.x6=function(a){this.eM=a;if(this.Y){var b=this.v(),c=this.cl(),e=this.le;a?(e&&b.jv(e,this.b()),b.jv(c,this.b())):(b.removeNode(e),b.removeNode(c))}this.R()&&this.WN(a)};r.nia=function(){return this.V()};r.Hya=function(a){this.dz=a;this.mO(a&&this.Y)};r.lea=function(){return new IA(this.b(),this.ec)};
r.mO=function(a){var b=Fq(this.Be+"-title-draggable").split(" ");this.b()&&(a?CA(C(this.ec),b):EA(C(this.ec),b));a&&!this.Cd?(this.Cd=this.lea(),CA(C(this.ec),b),I(this.Cd,oo,this.lO,!1,this)):!a&&this.Cd&&(this.Cd.dispose(),this.Cd=null)};
r.j=function(){UA.g.j.call(this);var a=this.b();C(a,"getElement() returns null");var b=this.v();this.ec=b.j(d,this.Be+"-title",this.ye=b.j(Qc,{className:this.Be+"-title-text",id:this.I()},this.fd),this.ke=b.j(Qc,this.Be+"-title-close"));fx(a,this.ec,this.Yb=b.j(d,this.Be+ta),this.yd=b.j(d,this.Be+"-buttons"));rA(this.ye,"heading");rA(this.ke,Qe);zx(this.ke,!0);yA(this.ke,Jb);this.qE=this.ye.id;rA(a,this.ll());S(a,hj,this.qE||"");this.Cc&&Mw(this.Yb,this.Cc);Q(this.ke,this.Tu);this.hc&&this.hc.GF(this.yd);
Q(this.yd,!!this.hc);this.bO(this.ly)};
r.Ka=function(a){UA.g.Ka.call(this,a);a=this.b();C(a,"The DOM element for dialog cannot be null.");var b=this.Be+ta;this.Yb=Qw(null,b,a)[0];this.Yb||(this.Yb=this.v().j(d,b),this.Cc&&Mw(this.Yb,this.Cc),a.appendChild(this.Yb));var b=this.Be+"-title",c=this.Be+"-title-text",e=this.Be+"-title-close";(this.ec=Qw(null,b,a)[0])?(this.ye=Qw(null,c,this.ec)[0],this.ke=Qw(null,e,this.ec)[0]):(this.ec=this.v().j(d,b),a.insertBefore(this.ec,this.Yb));this.ye?(this.fd=Bx(this.ye),this.ye.id||(this.ye.id=this.I())):
(this.ye=ax(Qc,{className:c,id:this.I()}),this.ec.appendChild(this.ye));this.qE=this.ye.id;S(a,hj,this.qE||"");this.ke||(this.ke=this.v().j(Qc,e),this.ec.appendChild(this.ke));Q(this.ke,this.Tu);b=this.Be+"-buttons";(this.yd=Qw(null,b,a)[0])?(this.hc=new VA(this.v()),this.hc.U(this.yd)):(this.yd=this.v().j(d,b),a.appendChild(this.yd),this.hc&&this.hc.GF(this.yd),Q(this.yd,!!this.hc));this.bO(this.ly)};
r.D=function(){UA.g.D.call(this);this.C().o(this.b(),dj,this.$n).o(this.b(),ej,this.$n);this.C().o(this.yd,ef,this.ata);this.mO(this.dz);this.C().o(this.ke,ef,this.Qta);var a=this.b();C(a,"The DOM element for dialog cannot be null");rA(a,this.ll());""!==this.ye.id&&S(a,hj,this.ye.id);this.eM||this.x6(!1)};r.Ra=function(){this.R()&&this.F(!1);this.mO(!1);UA.g.Ra.call(this)};r.F=function(a){a!=this.R()&&(this.Y||this.Z(),UA.g.F.call(this,a))};r.Oc=function(){UA.g.Oc.call(this);this.dispatchEvent("aftershow")};
r.Vg=function(){UA.g.Vg.call(this);this.dispatchEvent(Rd);this.Ee&&this.dispose()};r.lO=function(){var a=this.v().N(),b=Ww(Zw(a)||window),c=Math.max(a.body.scrollWidth,b.width),a=Math.max(a.body.scrollHeight,b.height),e=Iy(this.b());py(this.b())==bh?this.Cd.GO(new jy(0,0,Math.max(0,b.width-e.width),Math.max(0,b.height-e.height))):this.Cd.GO(new jy(0,0,c-e.width,a-e.height))};r.Qta=function(){this.EJ()};
r.EJ=function(){if(this.Tu){var a=this.hc,b=a&&a.kj;b?(a=a.get(b),this.dispatchEvent(new WA(b,a))&&this.F(!1)):this.F(!1)}};r.yO=function(a){this.Tu=a;this.ke&&Q(this.ke,this.Tu)};r.tO=function(a){this.JH=a};r.Ri=function(a){this.Ee=a};r.GI=function(){return this.Ee};r.A=function(){this.yd=this.ke=null;UA.g.A.call(this)};r.Vh=function(a){this.hc=a;this.yd&&(this.hc?this.hc.GF(this.yd):Mw(this.yd,Ju),Q(this.yd,!!this.hc))};
r.ata=function(a){if((a=this.Uga(a.target))&&!a.disabled){a=a.name;var b=this.hc.get(a);this.dispatchEvent(new WA(a,b))&&this.F(!1)}};r.Uga=function(a){for(;null!=a&&a!=this.yd;){if(a.tagName==zb)return a;a=a.parentNode}return null};
r.$n=function(a){var b=!1,c=!1,e=this.hc,f=a.target;if(a.type==dj)if(this.JH&&27==a.keyCode){var g=e&&e.kj,f=f.tagName==Pc&&!f.disabled;g&&!f?(c=!0,b=e.get(g),b=this.dispatchEvent(new WA(g,b))):f||(b=!0)}else 9==a.keyCode&&a.shiftKey&&f==this.b()&&this.q7();else if(13==a.keyCode){if(f.tagName==zb&&!f.disabled)g=f.name;else if(f==this.ke)this.EJ();else if(e){var h=e.Qk,k=h&&e.Cj(h),f=(f.tagName==id||f.tagName==Pc||"A"==f.tagName)&&!f.disabled;!k||k.disabled||f||(g=h)}g&&e&&(c=!0,b=this.dispatchEvent(new WA(g,
String(e.get(g)))))}else f==this.ke&&32==a.keyCode&&this.EJ();if(b||c)a.stopPropagation(),a.preventDefault();b&&this.F(!1)};var WA=function(a,b){this.type=fg;this.key=a;this.caption=b};B(WA,G);var VA=function(a){this.ba=a||N();K.call(this)},XA,YA;B(VA,K);r=VA.prototype;r.Be="goog-buttonset";r.Qk=null;r.G=null;r.kj=null;r.set=function(a,b,c,e){K.prototype.set.call(this,a,b);c&&(this.Qk=a);e&&(this.kj=a);return this};r.Vd=function(a,b,c){return this.set(a.key,a.caption,b,c)};
r.GF=function(a){this.G=a;this.Z()};r.Z=function(){if(this.G){Mw(this.G,Ju);var a=N(this.G);this.forEach(function(b,c){var e=a.j(zb,{name:c},b);c==this.Qk&&(e.className=this.Be+ua);this.G.appendChild(e)},this)}};r.U=function(a){if(a&&1==a.nodeType){this.G=a;a=this.G.getElementsByTagName(zb);for(var b=0,c,e,f;c=a[b];b++)if(e=c.name||c.id,f=Bx(c)||c.value,e){var g=0==b;this.set(e,f,g,c.name==Ue);g&&T(c,this.Be+ua)}}};r.b=function(){return this.G};r.v=function(){return this.ba};
r.Cj=function(a){for(var b=this.mX(),c=0,e;e=b[c];c++)if(e.name==a||e.id==a)return e;return null};r.mX=function(){return this.G.getElementsByTagName(zb)};r.Rxa=function(a){for(var b=this.mX(),c=0,e;e=b[c];c++)e.disabled=!a};
var ZA={xR:sk,fp:Ue,GMa:"yes",UIa:"no",kKa:"save",MFa:Pf},$A={key:sk,caption:"OK"},aB={key:Ue,caption:Gb},bB={key:"yes",caption:"Yes"},cB={key:"no",caption:"No"},dB={key:"save",caption:Rc},eB={key:Pf,caption:"Continue"},fB=function(){return(new VA).Vd($A,!0,!0)},TA=function(){return(new VA).Vd($A,!0).Vd(aB,!1,!0)};"undefined"!=typeof document&&(XA=fB(),YA=TA(),(new VA).Vd(bB,!0).Vd(cB,!1,!0),(new VA).Vd(bB).Vd(cB,!0).Vd(aB,!1,!0),(new VA).Vd(eB).Vd(dB).Vd(aB,!0,!0));var gB=function(a,b,c,e){J.call(this);this.ba=c||N();this.Yp=a;this.eg=[];this.ICa=b?b:0;this.R9=!!e;this.qj()};B(gB,J);r=gB.prototype;
r.qj=function(){this.Yp.className="goog-tabpane";var a=this.lia();this.df=this.ba.j("UL",{className:"goog-tabpane-tabs",tabIndex:"0"});this.Wc=this.ba.j(d,"goog-tabpane-cont");this.Yp.appendChild(this.Wc);var b=pr(this.Yp);switch(this.ICa){case 0:b.insertBefore(this.df,this.Wc);b.insertBefore(this.xU(),this.Wc);T(b,"goog-tabpane-top");break;case 1:b.appendChild(this.df);b.appendChild(this.xU());T(b,"goog-tabpane-bottom");break;case 2:b.insertBefore(this.df,this.Wc);T(b,"goog-tabpane-left");break;
case 3:b.insertBefore(this.df,this.Wc);T(b,"goog-tabpane-right");break;default:throw Error("Invalid tab location");}this.df.tabIndex=0;I(this.df,this.R9?Uj:ef,this.mC,!1,this);I(this.df,dj,this.nC,!1,this);this.Bea(a)};
r.xU=function(){fy();var a=(new bu).Oj(".goog-tabpane-clear { clear: both; height: 0px; overflow: hidden }"),b=N(void 0),c,e=b.N();H&&e.createStyleSheet?(c=e.createStyleSheet(),My(c,a)):(e=b.ti("HEAD")[0],e||(c=b.ti("BODY")[0],e=b.j("HEAD"),c.parentNode.insertBefore(e,c)),c=b.j("STYLE"),My(c,a),b.appendChild(e,c));return this.ba.j(d,"goog-tabpane-clear")};r.A=function(){gB.g.A.call(this);rt(this.df,this.R9?Uj:ef,this.mC,!1,this);rt(this.df,dj,this.nC,!1,this);delete this.Yp;this.Wc=this.df=null};
r.lia=function(){for(var a=[],b=ox(this.Yp);b;)a.push(b),b=px(b);return a};r.Bea=function(a){for(var b,c=0;b=a[c];c++)this.Ms(new hB(b))};
r.Ms=function(a,b){a.ia&&a.ia!=this&&a.ia instanceof gB&&a.ia.bwa(a);var c=this.eg.length;v(b)&&b!=c?(c=b,this.eg.splice(c,0,a),this.df.insertBefore(a.Wk,this.df.childNodes[c])):(this.eg.push(a),this.df.appendChild(a.Wk));a.Tw(this,c);this.we||(this.we=a,this.dispatchEvent(new iB(Xe,this,this.we)));this.Wc.appendChild(a.Wc);a.tP(a==this.we);for(var e=c+1;c=this.eg[e];e++)c.In=e};
r.bwa=function(a){jq(a)&&(a=this.eg[a]);this.eg.splice(a.In,1);a.Tw(null);kx(a.Wk);kx(a.Wc);for(var b=0;a=this.eg[b];b++)a.Tw(this,b)};r.kl=function(a){return this.eg[a]};r.$O=function(a){!a.isEnabled()||this.we&&a==this.we||(this.we.tP(!1),a.tP(!0),this.we=a,this.dispatchEvent(new iB(Xe,this,this.we)))};r.Af=function(a){0<=a&&a<this.eg.length&&this.$O(this.eg[a])};r.Hg=function(){return this.we?this.we.In:-1};r.M=function(){return this.Wc||null};r.b=function(){return this.Yp||null};
r.mC=function(a){for(var b=a.target;b!=this.df;){if("LI"==b.tagName){var c;for(c=0;b=b.previousSibling;c++);this.Af(c);break}b=b.parentNode}a.preventDefault()};r.nC=function(a){if(!(a.altKey||a.metaKey||a.ctrlKey))switch(a.keyCode){case 37:a=this.we.In-1;this.Af(0>a?this.eg.length-1:a);break;case 39:a=this.we.In+1;this.Af(a>=this.eg.length?0:a);break;case 36:this.Af(0);break;case 35:this.Af(this.eg.length-1)}};
var hB=function(a,b,c){var e,f;if(x(a)&&!v(b))e=a;else if(b)e=b,f=a;else if(a){if(b=ox(a))e=Bx(b),b.parentNode.removeChild(b);f=a}this.ba=c||N();this.Wc=f||this.ba.j(d);this.Wk=this.ba.j("LI",null,e);this.In=this.ia=null;this.oc=!0};r=hB.prototype;r.ee=function(){return Bx(this.Wk)};r.$a=function(a){tx(this.Wk,a)};r.nn=function(){return this.Wk};r.M=function(){return this.Wc};r.getParent=function(){return this.ia};r.select=function(){this.ia&&this.ia.$O(this)};
r.X=function(a){this.oc=a;this.Wk.className=a?Nh:"goog-tabpane-tab-disabled"};r.isEnabled=function(){return this.oc};r.tP=function(a){this.isEnabled()&&(this.Wc.style.display=a?"":lk,this.Wk.className=a?"goog-tabpane-tab-selected":Nh)};r.Tw=function(a,b){this.ia=a;this.In=v(b)?b:null};var iB=function(a,b,c){G.call(this,a,b);this.page=c};B(iB,G);var jB=function(){};jB.prototype.oa=function(){};var kB=function(a,b,c){this.element=a;this.Nk=b;this.mua=c};B(kB,jB);kB.prototype.oa=function(a,b,c){mA(this.element,this.Nk,a,b,void 0,c,this.mua)};var lB=function(a,b,c,e){kB.call(this,a,b);this.Pn=c?5:0;this.MM=e||void 0};B(lB,kB);lB.prototype.mja=function(){return this.Pn};lB.prototype.Vr=function(a){this.Pn=a};lB.prototype.oa=function(a,b,c,e){var f=mA(this.element,this.Nk,a,b,null,c,10,e,this.MM);if(f&496){var g=this.ay(f,this.Nk);b=this.ay(f,b);f=mA(this.element,g,a,b,null,c,10,e,this.MM);f&496&&(g=this.ay(f,g),b=this.ay(f,b),mA(this.element,g,a,b,null,c,this.Pn,e,this.MM))}};lB.prototype.ay=function(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};var mB=function(a,b,c,e){lB.call(this,a,b,c||e);(c||e)&&this.Vr(65|(e?32:132))};B(mB,lB);var nB=function(a,b){this.Mk=a instanceof Fw?a:new Fw(a,b)};B(nB,jB);nB.prototype.oa=function(a,b,c,e){C(a);var f;f=Ow(a);var g=f.body;f=f.documentElement;f=new Fw(g.scrollLeft||f.scrollLeft,g.scrollTop||f.scrollTop);g=this.Mk.x+f.x;f=this.Mk.y+f.y;var h=jA(a),g=g-h.x;f-=h.y;lA(new Fw(g,f),a,b,c,null,null,e)};var oB=function(a,b){nB.call(this,a,b)};B(oB,nB);oB.prototype.Pn=0;oB.prototype.Vr=function(a){this.Pn=a};oB.prototype.oa=function(a,b,c,e){var f=ty(a),f=xy(f),g=N(a).DX(),g=new Fw(this.Mk.x+g.scrollLeft,this.Mk.y+g.scrollTop),h=b,k=lA(g,a,h,c,f,10,e);if(0!=(k&496)){if(k&16||k&32)h^=4;if(k&64||k&128)h^=1;k=lA(g,a,h,c,f,10,e);0!=(k&496)&&lA(g,a,b,c,f,this.Pn,e)}};var pB=function(a,b){J.call(this);a&&this.Wd(a,b)};B(pB,J);r=pB.prototype;r.G=null;r.rB=null;r.jL=null;r.sB=null;r.Pg=-1;r.Tj=-1;r.AF=!1;
var qB={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},rB={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},sB=H||Cs||Fs&&Rs("525"),tB=Hs&&Es;r=pB.prototype;
r.Fh=function(a){(Fs||Cs)&&(17==this.Pg&&!a.ctrlKey||18==this.Pg&&!a.altKey||Hs&&91==this.Pg&&!a.metaKey)&&this.q4();-1==this.Pg&&(a.ctrlKey&&17!=a.keyCode?this.Pg=17:a.altKey&&18!=a.keyCode?this.Pg=18:a.metaKey&&91!=a.keyCode&&(this.Pg=91));sB&&!Qz(a.keyCode,this.Pg,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):(this.Tj=Pz(a.keyCode),tB&&(this.AF=a.altKey))};r.q4=function(){this.Tj=this.Pg=-1};r.Gma=function(a){this.q4();this.AF=a.altKey};
r.handleEvent=function(a){var b=a.ld,c,e,f=b.altKey;H&&a.type==ej?(c=this.Tj,e=13!=c&&27!=c?b.keyCode:0):(Fs||Cs)&&a.type==ej?(c=this.Tj,e=0<=b.charCode&&63232>b.charCode&&Oz(c)?b.charCode:0):Bs&&!Fs?(c=this.Tj,e=Oz(c)?b.keyCode:0):(c=b.keyCode||this.Tj,e=b.charCode||0,tB&&(f=this.AF),Hs&&63==e&&224==c&&(c=191));var g=c=Pz(c),h=b.keyIdentifier;c?63232<=c&&c in qB?g=qB[c]:25==c&&a.shiftKey&&(g=9):h&&h in rB&&(g=rB[h]);a=g==this.Pg;this.Pg=g;b=new uB(g,e,a,b);b.altKey=f;this.dispatchEvent(b)};r.b=function(){return this.G};
r.Wd=function(a,b){this.sB&&this.detach();this.G=a;this.rB=I(this.G,ej,this,b);this.jL=I(this.G,dj,this.Fh,b,this);this.sB=I(this.G,fj,this.Gma,b,this)};r.detach=function(){this.rB&&(st(this.rB),st(this.jL),st(this.sB),this.sB=this.jL=this.rB=null);this.G=null;this.Tj=this.Pg=-1};r.A=function(){pB.g.A.call(this);this.detach()};var uB=function(a,b,c,e){$s.call(this,e);this.type=cj;this.keyCode=a;this.charCode=b;this.repeat=c};B(uB,$s);var wB=function(a,b){if(!a)throw Error("Invalid class name "+a);if(!kq(b))throw Error("Invalid decorator function "+b);vB[a]=b},xB={},vB={};var yB=function(a){this.Bm=a};eq(yB);var zB=function(a,b){var c=new a;c.V=function(){return b};return c};r=yB.prototype;r.Fd=function(){return this.Bm};r.CH=function(a,b){a&&(a.tabIndex=b?0:-1)};r.j=function(a){return a.v().j(d,this.be(a).join(" "))};r.M=function(a){return a};r.Bc=function(a){return a.tagName==d};r.U=function(a,b){b.id&&a.CD(b.id);var c=this.V(),e=!1,f=zA(b);f&&D(f,function(b){b==c?e=!0:b&&this.gP(a,b,c)},this);e||T(b,c);this.mV(a,this.M(b));return b};
r.gP=function(a,b,c){b==c+va?a.X(!1):b==c+"-horizontal"?a.setOrientation(fi):b==c+"-vertical"&&a.setOrientation(zp)};r.mV=function(a,b,c){if(b){c=c||b.firstChild;for(var e;c&&c.parentNode==b;){e=c.nextSibling;if(1==c.nodeType){var f=this.pu(c);f&&(f.Sa(c),a.isEnabled()||f.X(!1),a.la(f),f.U(c))}else c.nodeValue&&""!=Fq(c.nodeValue)||b.removeChild(c);c=e}}};r.pu=function(a){a:{var b;C(a);a=zA(a);for(var c=0,e=a.length;c<e;c++)if(b=a[c],b=b in vB?vB[b]():null){a=b;break a}a=null}return a};
r.Od=function(a){a=a.b();C(a,"The container DOM element cannot be null.");Py(a,!0,Es);H&&(a.hideFocus=!0);var b=this.Fd();b&&rA(a,b)};r.$b=function(a){return a.b()};r.V=function(){return"goog-container"};r.be=function(a){var b=this.V(),c=[b,a.$c==fi?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+va);return c};r.zX=function(){return zp};var AB=function(){},BB;eq(AB);var CB=function(a,b){var c=new a;c.V=function(){return b};return c},DB={button:"pressed",checkbox:bf,menuitem:Km,menuitemcheckbox:bf,menuitemradio:bf,radio:bf,tab:Km,treeitem:Km};r=AB.prototype;r.Fd=function(){};r.j=function(a){return a.v().j(d,this.be(a).join(" "),a.Jb())};r.M=function(a){return a};r.Zp=function(a,b,c){if(a=a.b?a.b():a){var e=[b];H&&!Rs("7")&&(e=this.uI(zA(a),b),e.push(b));(c?CA:EA)(a,e)}};r.gW=function(a,b,c){this.Zp(a,b,c)};r.Bc=function(){return!0};
r.U=function(a,b){b.id&&a.CD(b.id);var c=this.M(b);c&&c.firstChild?a.Qr(c.firstChild.nextSibling?Nr(c.childNodes):c.firstChild):a.Qr(null);var e=0,f=this.V(),g=this.Sf(),h=!1,k=!1,n=!1,q=Nr(zA(b));D(q,function(a){h||a!=f?k||a!=g?e|=this.pA(a):k=!0:(h=!0,g==f&&(k=!0));1==this.pA(a)&&(pr(c),yx(c)&&zx(c,!1))},this);a.hP(e);h||(q.push(f),g==f&&(k=!0));k||q.push(g);var u=a.Ah;u&&q.push.apply(q,u);if(H&&!Rs("7")){var A=this.uI(q);0<A.length&&(q.push.apply(q,A),n=!0)}h&&k&&!u&&!n||AA(b,q.join(" "));return b};
r.Od=function(a){a.Jh()&&this.Ao(a.b(),!0);a.isEnabled()&&this.Se(a,a.R())};r.aO=function(a,b){var c=b||this.Fd();if(c){C(a,md);var e=a.getAttribute(vm)||null;c!=e&&rA(a,c)}};r.C5=function(a,b){C(a);C(b);var c=a.BS;null!=c&&this.$N(b,c);a.R()||S(b,ai,!a.R());a.isEnabled()||this.Zi(b,1,!a.isEnabled());a.vb(8)&&this.Zi(b,8,a.ge());a.vb(16)&&this.Zi(b,16,a.qf());a.vb(64)&&this.Zi(b,64,a.fe())};r.$N=function(a,b){yA(a,b)};r.Or=function(a,b){Py(a,!b,!H&&!Bs)};
r.Ao=function(a,b){this.Zp(a,this.Sf()+"-rtl",b)};r.Sj=function(a){var b;return a.vb(32)&&(b=a.$b())?yx(b):!1};r.Se=function(a,b){var c;if(a.vb(32)&&(c=a.$b())){if(!b&&a.eB()){try{c.blur()}catch(e){}a.eB()&&a.Jg(null)}yx(c)!=b&&zx(c,b)}};r.F=function(a,b){Q(a,b);a&&S(a,ai,!b)};r.setState=function(a,b,c){var e=a.b();if(e){var f=this.fn(b);f&&this.Zp(a,f,c);this.Zi(e,b,c)}};
r.Zi=function(a,b,c){BB||(BB={1:gg,8:Km,16:bf,64:Ng});C(a,md);b=BB[b];var e=a.getAttribute(vm)||null;e&&(e=DB[e]||b,b=b==bf||b==Km?e:b);b&&S(a,b,c)};r.mb=function(a,b){var c=this.M(a);if(c&&(gx(c),b))if(x(b))tx(c,b);else{var e=function(a){if(a){var b=Ow(c);c.appendChild(x(a)?b.createTextNode(a):a)}};gq(b)?D(b,e):!hq(b)||"nodeType"in b?e(b):D(Nr(b),e)}};r.$b=function(a){return a.b()};r.V=function(){return"goog-control"};r.TX=function(){return[]};r.Sf=function(){return this.V()};
r.be=function(a){var b=this.V(),c=[b],e=this.Sf();e!=b&&c.push(e);b=this.oia(a.getState());c.push.apply(c,b);(a=a.Ah)&&c.push.apply(c,a);H&&!Rs("7")&&c.push.apply(c,this.uI(c));return c};r.uI=function(a,b){var c=[];b&&(a=Mr(a,[b]));D(this.TX(),function(e){!Ar(e,sq(Fr,a))||b&&!Fr(e,b)||c.push(e.join("_"))});return c};r.oia=function(a){for(var b=[];a;){var c=a&-a;b.push(this.fn(c));a&=~c}return b};r.fn=function(a){this.By||this.wU();return this.By[a]};
r.pA=function(a){this.u8||this.Kea();a=parseInt(this.u8[a],10);return isNaN(a)?0:a};r.wU=function(){var a=this.Sf(),b=!Rq(a.replace(/\xa0|\s/g," ")," ");C(b,"ControlRenderer has an invalid css class: '"+a+"'");this.By={1:a+va,2:a+"-hover",4:a+"-active",8:a+"-selected",16:a+"-checked",32:a+"-focused",64:a+"-open"}};r.Kea=function(){this.By||this.wU();this.u8=ms(this.By)};var EB=function(a,b,c){U.call(this,c);if(!b){b=this.constructor;for(var e;b;){e=oq(b);if(e=xB[e])break;b=b.g?b.g.constructor:null}b=e?kq(e.K)?e.K():new e:null}this.O=b;this.Qr(v(a)?a:null);this.BS=null};B(EB,U);r=EB.prototype;r.Cc=null;r.sa=0;r.ox=39;r.jy=255;r.fE=0;r.Hb=!0;r.Ah=null;r.un=!0;r.ey=!1;r.Wv=null;r.BD=function(a){this.Y&&a!=this.un&&this.jW(a);this.un=a};r.$b=function(){return this.O.$b(this)};r.uu=function(){return this.Rb||(this.Rb=new pB)};
r.zk=function(a){a&&(this.Ah?Fr(this.Ah,a)||this.Ah.push(a):this.Ah=[a],this.O.gW(this,a,!0))};r.nN=function(a){a&&this.Ah&&Kr(this.Ah,a)&&(0==this.Ah.length&&(this.Ah=null),this.O.gW(this,a,!1))};r.Zp=function(a,b){b?this.zk(a):this.nN(a)};r.j=function(){var a=this.O.j(this);this.Sa(a);this.O.aO(a,this.ll());this.ey||this.O.Or(a,!1);this.R()||this.O.F(a,!1)};r.ll=function(){return this.Wv};r.VO=function(a){this.Wv=a};r.$N=function(a){this.BS=a;var b=this.b();b&&this.O.$N(b,a)};r.M=function(){return this.O.M(this.b())};
r.Bc=function(a){return this.O.Bc(a)};r.Ka=function(a){a=this.O.U(this,a);this.Sa(a);this.O.aO(a,this.ll());this.ey||this.O.Or(a,!1);this.Hb=a.style.display!=lk};r.D=function(){EB.g.D.call(this);this.O.C5(this,this.md());this.O.Od(this);if(this.ox&-2&&(this.un&&this.jW(!0),this.vb(32))){var a=this.$b();if(a){var b=this.uu();b.Wd(a);this.C().o(b,cj,this.Mc).o(a,ch,this.nf).o(a,Ke,this.Jg)}}};
r.jW=function(a){var b=this.C(),c=this.b();a?(b.o(c,Xj,this.Kg).o(c,Uj,this.Yc).o(c,Yj,this.Uf).o(c,Wj,this.Nu),this.Iu!=dq&&b.o(c,Of,this.Iu),H&&(Rs(9)||b.o(c,Zf,this.YY),this.Zu||(this.Zu=new FB(this),this.ha(this.Zu)))):(b.Ca(c,Xj,this.Kg).Ca(c,Uj,this.Yc).Ca(c,Yj,this.Uf).Ca(c,Wj,this.Nu),this.Iu!=dq&&b.Ca(c,Of,this.Iu),H&&(Rs(9)||b.Ca(c,Zf,this.YY),F(this.Zu),this.Zu=null))};r.Ra=function(){EB.g.Ra.call(this);this.Rb&&this.Rb.detach();this.R()&&this.isEnabled()&&this.O.Se(this,!1)};
r.A=function(){EB.g.A.call(this);this.Rb&&(this.Rb.dispose(),delete this.Rb);delete this.O;this.Zu=this.Ah=this.Cc=null};r.Jb=function(){return this.Cc};r.mb=function(a){this.O.mb(this.b(),a);this.Qr(a)};r.Qr=function(a){this.Cc=a};r.si=function(){var a=this.Jb();if(!a)return"";a=x(a)?a:gq(a)?xr(a,Cx).join(""):Bx(a);return Eq(a)};r.cO=function(a){this.mb(a)};r.Ao=function(a){EB.g.Ao.call(this,a);var b=this.b();b&&this.O.Ao(b,a)};r.Or=function(a){this.ey=a;var b=this.b();b&&this.O.Or(b,a)};r.R=function(){return this.Hb};
r.F=function(a,b){if(b||this.Hb!=a&&this.dispatchEvent(a?bn:bi)){var c=this.b();c&&this.O.F(c,a);this.isEnabled()&&this.O.Se(this,a);this.Hb=a;return!0}return!1};r.isEnabled=function(){return!this.Lg(1)};r.Jqa=function(){var a=this.getParent();return!!a&&typeof a.isEnabled==lh&&!a.isEnabled()};r.X=function(a){!this.Jqa()&&this.Mn(1,!a)&&(a||(this.setActive(!1),this.dd(!1)),this.R()&&this.O.Se(this,a),this.setState(1,!a,!0))};r.KK=function(){return this.Lg(2)};
r.dd=function(a){this.Mn(2,a)&&this.setState(2,a)};r.ac=function(){return this.Lg(4)};r.setActive=function(a){this.Mn(4,a)&&this.setState(4,a)};r.ge=function(){return this.Lg(8)};r.ig=function(a){this.Mn(8,a)&&this.setState(8,a)};r.qf=function(){return this.Lg(16)};r.Ud=function(a){this.Mn(16,a)&&this.setState(16,a)};r.eB=function(){return this.Lg(32)};r.yo=function(a){this.Mn(32,a)&&this.setState(32,a)};r.fe=function(){return this.Lg(64)};r.Ob=function(a){this.Mn(64,a)&&this.setState(64,a)};
r.getState=function(){return this.sa};r.Lg=function(a){return!!(this.sa&a)};r.setState=function(a,b,c){c||1!=a?this.vb(a)&&b!=this.Lg(a)&&(this.O.setState(this,a,b),this.sa=b?this.sa|a:this.sa&~a):this.X(!b)};r.hP=function(a){this.sa=a};r.vb=function(a){return!!(this.ox&a)};r.Db=function(a,b){if(this.Y&&this.Lg(a)&&!b)throw Error(Kb);!b&&this.Lg(a)&&this.setState(a,!1);this.ox=b?this.ox|a:this.ox&~a};r.Wf=function(a){return!!(this.jy&a)&&this.vb(a)};
r.vD=function(a,b){this.jy=b?this.jy|a:this.jy&~a};r.Jw=function(a,b){this.fE=b?this.fE|a:this.fE&~a};r.Mn=function(a,b){return this.vb(a)&&this.Lg(a)!=b&&(!(this.fE&a)||this.dispatchEvent(PA(a,b)))&&!this.ob};r.Kg=function(a){!GB(a,this.b())&&this.dispatchEvent("enter")&&this.isEnabled()&&this.Wf(2)&&this.dd(!0)};r.Nu=function(a){!GB(a,this.b())&&this.dispatchEvent("leave")&&(this.Wf(4)&&this.setActive(!1),this.Wf(2)&&this.dd(!1))};r.Iu=dq;var GB=function(a,b){return!!a.relatedTarget&&rx(b,a.relatedTarget)};
r=EB.prototype;r.Yc=function(a){this.isEnabled()&&(this.Wf(2)&&this.dd(!0),a.qv()&&(this.Wf(4)&&this.setActive(!0),this.O&&this.O.Sj(this)&&this.$b().focus()));!this.ey&&a.qv()&&a.preventDefault()};r.Uf=function(a){this.isEnabled()&&(this.Wf(2)&&this.dd(!0),this.ac()&&this.ad(a)&&this.Wf(4)&&this.setActive(!1))};r.YY=function(a){this.isEnabled()&&this.ad(a)};
r.ad=function(a){this.Wf(16)&&this.Ud(!this.qf());this.Wf(8)&&this.ig(!0);this.Wf(64)&&this.Ob(!this.fe());var b=new G(l,this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.FC=a.FC);return this.dispatchEvent(b)};r.nf=function(){this.Wf(32)&&this.yo(!0)};r.Jg=function(){this.Wf(4)&&this.setActive(!1);this.Wf(32)&&this.yo(!1)};r.Mc=function(a){return this.R()&&this.isEnabled()&&this.Ec(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
r.Ec=function(a){return 13==a.keyCode&&this.ad(a)};if(!kq(EB))throw Error("Invalid component class "+EB);if(!kq(AB))throw Error("Invalid renderer class "+AB);var HB=oq(EB);xB[HB]=AB;wB("goog-control",function(){return new EB(null)});var FB=function(a){E.call(this);this.My=a;this.Dy=!1;this.La=new GA(this);this.ha(this.La);a=this.My.md();this.La.o(a,Uj,this.zA).o(a,Yj,this.$ma).o(a,ef,this.rn)};B(FB,E);var IB=!H||Ts(9);FB.prototype.zA=function(){this.Dy=!1};FB.prototype.$ma=function(){this.Dy=!0};
var JB=function(a,b){if(!IB)return a.button=0,a.type=b,a;var c=document.createEvent("MouseEvents");c.initMouseEvent(b,a.bubbles,a.cancelable,a.view||null,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,a.relatedTarget||null);return c};FB.prototype.rn=function(a){if(this.Dy)this.Dy=!1;else{var b=a.ld,c=b.button,e=b.type,f=JB(b,Uj);this.My.Yc(new $s(f,a.currentTarget));f=JB(b,Yj);this.My.Uf(new $s(f,a.currentTarget));IB||(b.button=c,b.type=e)}};
FB.prototype.A=function(){this.My=null;FB.g.A.call(this)};var KB=function(a,b,c){U.call(this,c);this.O=b||yB.K();this.$c=a||this.O.zX()};B(KB,U);r=KB.prototype;r.kL=null;r.Rb=null;r.O=null;r.$c=null;r.Hb=!0;r.oc=!0;r.iI=!0;r.qb=-1;r.td=null;r.WB=!1;r.oS=!1;r.O2=!0;r.mj=null;r.$b=function(){return this.kL||this.O.$b(this)};r.uu=function(){return this.Rb||(this.Rb=new pB(this.$b()))};r.j=function(){this.Sa(this.O.j(this))};r.M=function(){return this.O.M(this.b())};r.Bc=function(a){return this.O.Bc(a)};
r.Ka=function(a){this.Sa(this.O.U(this,a));a.style.display==lk&&(this.Hb=!1)};r.D=function(){KB.g.D.call(this);this.Ua(function(a){a.Y&&this.K3(a)},this);var a=this.b();this.O.Od(this);this.F(this.Hb,!0);this.C().o(this,"enter",this.vJ).o(this,ci,this.wJ).o(this,ap,this.HJ).o(this,"open",this.hna).o(this,ff,this.uJ).o(a,Uj,this.Yc).o(Ow(a),Yj,this.Yla).o(a,[Uj,Yj,Xj,Wj,Of],this.Cla);this.Sj()&&this.hW(!0)};
r.hW=function(a){var b=this.C(),c=this.$b();a?b.o(c,ch,this.nf).o(c,Ke,this.Jg).o(this.uu(),cj,this.Mc):b.Ca(c,ch,this.nf).Ca(c,Ke,this.Jg).Ca(this.uu(),cj,this.Mc)};r.Ra=function(){this.vc(-1);this.td&&this.td.Ob(!1);this.WB=!1;KB.g.Ra.call(this)};r.A=function(){KB.g.A.call(this);this.Rb&&(this.Rb.dispose(),this.Rb=null);this.O=this.td=this.mj=this.kL=null};r.vJ=function(){return!0};
r.wJ=function(a){var b=this.pf(a.target);if(-1<b&&b!=this.qb){var c=this.Eh();c&&c.dd(!1);this.qb=b;c=this.Eh();this.WB&&c.setActive(!0);this.O2&&this.td&&c!=this.td&&(c.vb(64)?c.Ob(!0):this.td.Ob(!1))}b=this.b();C(b,kd);null!=a.target.b()&&S(b,Od,a.target.b().id)};r.HJ=function(a){a.target==this.Eh()&&(this.qb=-1);a=this.b();C(a,kd);tA(a,Od)};r.hna=function(a){(a=a.target)&&a!=this.td&&a.getParent()==this&&(this.td&&this.td.Ob(!1),this.td=a)};
r.uJ=function(a){a.target==this.td&&(this.td=null);var b=this.b(),c=a.target.b();b&&a.target.KK()&&c&&wA(b,c)};r.Yc=function(a){this.oc&&this.gm(!0);var b=this.$b();b&&yx(b)?b.focus():a.preventDefault()};r.Yla=function(){this.gm(!1)};r.Cla=function(a){var b=this.Wja(a.target);if(b)switch(a.type){case Uj:b.Yc(a);break;case Yj:b.Uf(a);break;case Xj:b.Kg(a);break;case Wj:b.Nu(a);break;case Of:b.Iu(a)}};
r.Wja=function(a){if(this.mj)for(var b=this.b();a&&a!==b;){var c=a.id;if(c in this.mj)return this.mj[c];a=a.parentNode}return null};r.nf=function(){};r.Jg=function(){this.vc(-1);this.gm(!1);this.td&&this.td.Ob(!1)};r.Mc=function(a){return this.isEnabled()&&this.R()&&(0!=this.ub()||this.kL)&&this.Ec(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
r.Ec=function(a){var b=this.Eh();if(b&&typeof b.Mc==lh&&b.Mc(a)||this.td&&this.td!=b&&typeof this.td.Mc==lh&&this.td.Mc(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.Sj())this.$b().blur();else return!1;break;case 36:this.Xu();break;case 35:this.Yoa();break;case 38:if(this.$c==zp)this.aK();else return!1;break;case 37:if(this.$c==fi)this.Jh()?this.$J():this.aK();else return!1;break;case 40:if(this.$c==zp)this.$J();else return!1;break;case 39:if(this.$c==
fi)this.Jh()?this.aK():this.$J();else return!1;break;default:return!1}return!0};r.K3=function(a){var b=a.b(),b=b.id||(b.id=a.I());this.mj||(this.mj={});this.mj[b]=a};r.la=function(a,b){rr(a,EB,"The child of a container must be a control");KB.g.la.call(this,a,b)};r.Xe=function(a,b,c){rr(a,EB);a.Jw(2,!0);a.Jw(64,!0);!this.Sj()&&this.oS||a.Db(32,!1);a.BD(!1);var e=a.getParent()==this?this.pf(a):-1;KB.g.Xe.call(this,a,b,c);a.Y&&this.Y&&this.K3(a);this.FDa(e,b)};
r.FDa=function(a,b){-1==a&&(a=this.ub());a==this.qb?this.qb=Math.min(this.ub()-1,b):a>this.qb&&b<=this.qb?this.qb++:a<this.qb&&b>this.qb&&this.qb--};r.removeChild=function(a,b){a=x(a)?this.dl(a):a;rr(a,EB);if(a){var c=this.pf(a);-1!=c&&(c==this.qb?(a.dd(!1),this.qb=-1):c<this.qb&&this.qb--);(c=a.b())&&c.id&&this.mj&&hs(this.mj,c.id)}a=KB.g.removeChild.call(this,a,b);a.BD(!0);return a};r.setOrientation=function(a){if(this.b())throw Error(Kb);this.$c=a};r.R=function(){return this.Hb};
r.F=function(a,b){if(b||this.Hb!=a&&this.dispatchEvent(a?bn:bi)){this.Hb=a;var c=this.b();c&&(Q(c,a),this.Sj()&&this.O.CH(this.$b(),this.oc&&this.Hb),b||this.dispatchEvent(this.Hb?"aftershow":Rd));return!0}return!1};r.isEnabled=function(){return this.oc};r.X=function(a){this.oc!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.oc=!0,this.Ua(function(a){a.j$?delete a.j$:a.X(!0)})):(this.Ua(function(a){a.isEnabled()?a.X(!1):a.j$=!0}),this.oc=!1,this.gm(!1)),this.Sj()&&this.O.CH(this.$b(),a&&this.Hb))};
r.Sj=function(){return this.iI};r.Se=function(a){a!=this.iI&&this.Y&&this.hW(a);this.iI=a;this.oc&&this.Hb&&this.O.CH(this.$b(),a)};r.wO=function(a){this.oS=a};r.Oza=function(a){this.O2=a};r.vc=function(a){(a=this.za(a))?a.dd(!0):-1<this.qb&&this.Eh().dd(!1)};r.dd=function(a){this.vc(this.pf(a))};r.Eh=function(){return this.za(this.qb)};r.Xu=function(){this.Oq(function(a,b){return(a+1)%b},this.ub()-1)};r.Yoa=function(){this.Oq(function(a,b){a--;return 0>a?b-1:a},0)};
r.$J=function(){this.Oq(function(a,b){return(a+1)%b},this.qb)};r.aK=function(){this.Oq(function(a,b){a--;return 0>a?b-1:a},this.qb)};r.Oq=function(a,b){for(var c=0>b?this.pf(this.td):b,e=this.ub(),c=a.call(this,c,e),f=0;f<=e;){var g=this.za(c);if(g&&this.wy(g))return this.BO(c),!0;f++;c=a.call(this,c,e)}return!1};r.wy=function(a){return a.R()&&a.isEnabled()&&a.vb(2)};r.BO=function(a){this.vc(a)};r.gm=function(a){this.WB=a};var LB=function(){};B(LB,AB);eq(LB);LB.prototype.V=function(){return Fh};var MB=function(a,b,c){EB.call(this,a,c||LB.K(),b);this.Db(1,!1);this.Db(2,!1);this.Db(4,!1);this.Db(32,!1);this.hP(1)};B(MB,EB);wB(Fh,function(){return new MB(null)});var NB=function(){this.eG=[]};B(NB,AB);eq(NB);r=NB.prototype;r.lq=function(a){var b=this.eG[a];if(!b){switch(a){case 0:b=this.Sf()+"-highlight";break;case 1:b=this.Sf()+"-checkbox";break;case 2:b=this.Sf()+ta}this.eG[a]=b}return b};r.Fd=function(){return"menuitem"};r.j=function(a){var b=a.v().j(d,this.be(a).join(" "),this.yU(a.Jb(),a.v()));this.qO(a,b,a.vb(8)||a.vb(16));return b};r.M=function(a){return a&&a.firstChild};
r.U=function(a,b){C(b);this.Goa(b)||b.appendChild(this.yU(b.childNodes,a.v()));BA(b,Hh)&&(a.wD(!0),this.wD(a,b,!0));return NB.g.U.call(this,a,b)};r.mb=function(a,b){var c=this.M(a),e=this.KJ(a)?c.firstChild:null;NB.g.mb.call(this,a,b);e&&!this.KJ(a)&&c.insertBefore(e,c.firstChild||null)};r.Goa=function(a){a=ox(a);var b=this.lq(2);return!!a&&BA(a,b)};r.yU=function(a,b){var c=this.lq(2);return b.j(d,c,a)};r.Ww=function(a,b,c){a&&b&&this.qO(a,b,c)};r.wD=function(a,b,c){a&&b&&this.qO(a,b,c)};
r.KJ=function(a){if(a=this.M(a)){a=a.firstChild;var b=this.lq(1);return!!a&&qx(a)&&BA(a,b)}return!1};r.qO=function(a,b,c){this.aO(b,a.ll());this.C5(a,b);c!=this.KJ(b)&&(FA(b,Hh,c),b=this.M(b),c?(c=this.lq(1),b.insertBefore(a.v().j(d,c),b.firstChild||null)):b.removeChild(b.firstChild))};r.fn=function(a){switch(a){case 2:return this.lq(0);case 16:case 8:return Ih;default:return NB.g.fn.call(this,a)}};
r.pA=function(a){var b=this.lq(0);switch(a){case Ih:return 16;case b:return 2;default:return NB.g.pA.call(this,a)}};r.V=function(){return"goog-menuitem"};var OB=function(a,b,c,e){EB.call(this,a,e||NB.K(),c);this.setValue(b)};B(OB,EB);r=OB.prototype;r.getValue=function(){var a=this.ca;return null!=a?a:this.si()};r.setValue=function(a){this.Sc(a)};r.Db=function(a,b){OB.g.Db.call(this,a,b);switch(a){case 8:this.hAa(b);break;case 16:this.jya(b)}};r.Ww=function(a){this.Db(8,a)};r.hAa=function(a){this.qf()&&!a&&this.Ud(!1);var b=this.b();b&&this.O.Ww(this,b,a)};r.wD=function(a){this.Db(16,a)};r.jya=function(a){var b=this.b();b&&this.O.wD(this,b,a)};
r.si=function(){var a=this.Jb();return gq(a)?(a=xr(a,function(a){return qx(a)&&(BA(a,"goog-menuitem-accel")||BA(a,"goog-menuitem-mnemonic-separator"))?"":Cx(a)}).join(""),Eq(a)):OB.g.si.call(this)};r.Uf=function(a){var b=this.getParent();if(b){var c=b.R2;b.R2=null;if(b=c&&jq(a.clientX))b=new Fw(a.clientX,a.clientY),b=c==b?!0:c&&b?c.x==b.x&&c.y==b.y:!1;if(b)return}OB.g.Uf.call(this,a)};r.Ec=function(a){return a.keyCode==this.dM&&this.ad(a)?!0:OB.g.Ec.call(this,a)};r.Dja=function(){return this.dM};
wB("goog-menuitem",function(){return new OB(null)});OB.prototype.ll=function(){return this.vb(16)?Mj:this.vb(8)?"menuitemradio":OB.g.ll.call(this)};OB.prototype.getParent=function(){return EB.prototype.getParent.call(this)};OB.prototype.vq=function(){return EB.prototype.vq.call(this)};var PB=function(){};B(PB,AB);eq(PB);PB.prototype.j=function(a){return a.v().j(d,this.V())};PB.prototype.U=function(a,b){b.id&&a.CD(b.id);if("HR"==b.tagName){var c=b;b=this.j(a);hx(b,c);kx(c)}else T(b,this.V());return b};PB.prototype.mb=function(){};PB.prototype.V=function(){return Gh};var QB=function(a,b){EB.call(this,null,a||PB.K(),b);this.Db(1,!1);this.Db(2,!1);this.Db(4,!1);this.Db(32,!1);this.hP(1)};B(QB,EB);QB.prototype.D=function(){QB.g.D.call(this);var a=this.b();C(a,"The DOM element for the separator cannot be null.");rA(a,Mm)};wB(Gh,function(){return new QB});var RB=function(a){this.Bm=a||"menu"};B(RB,yB);eq(RB);r=RB.prototype;r.Bc=function(a){return"UL"==a.tagName||RB.g.Bc.call(this,a)};r.pu=function(a){return"HR"==a.tagName?new QB:RB.g.pu.call(this,a)};r.wg=function(a,b){return rx(a.b(),b)};r.V=function(){return Ch};r.Od=function(a){RB.g.Od.call(this,a);a=a.b();C(a,"The menu DOM element cannot be null.");S(a,Zh,Wo)};var SB=function(a){QB.call(this,PB.K(),a)};B(SB,QB);wB(Gh,function(){return new QB});var TB=function(a,b){KB.call(this,zp,b||RB.K(),a);this.Se(!1)};B(TB,KB);r=TB.prototype;r.zm=!0;r.gca=!1;r.V=function(){return this.O.V()};r.wg=function(a){if(this.O.wg(this,a))return!0;for(var b=0,c=this.ub();b<c;b++){var e=this.za(b);if(typeof e.wg==lh&&e.wg(a))return!0}return!1};r.zc=function(a){this.la(a,!0)};r.Ck=function(a,b){this.Xe(a,b,!0)};r.removeItem=function(a){(a=this.removeChild(a,!0))&&a.dispose()};r.nd=function(a){return this.za(a)};r.jl=function(){return this.ub()};
r.Gj=function(){var a=[];this.Ua(function(b){a.push(b)});return a};r.setPosition=function(a,b){var c=this.R();c||Q(this.b(),!0);var e=this.b(),f=a,g=b,h=wy(e);f instanceof Fw&&(g=f.y,f=f.x);f=kr(f)-h.x;ry(e,e.offsetLeft+f,e.offsetTop+(Number(g)-h.y));c||Q(this.b(),!1)};r.getPosition=function(){return this.R()?wy(this.b()):null};r.dm=function(a){(this.zm=a)&&this.Se(!0)};
r.F=function(a,b,c){(b=TB.g.F.call(this,a,b))&&a&&this.Y&&this.zm&&this.$b().focus();this.R2=a&&c&&jq(c.clientX)?new Fw(c.clientX,c.clientY):null;return b};r.vJ=function(a){this.zm&&this.$b().focus();return TB.g.vJ.call(this,a)};r.wy=function(a){return(this.gca||a.isEnabled())&&a.R()&&a.vb(2)};r.Ka=function(a){this.ffa(a);TB.g.Ka.call(this,a)};r.Ec=function(a){var b=TB.g.Ec.call(this,a);b||this.Ua(function(c){!b&&c.Dja&&c.dM==a.keyCode&&(this.isEnabled()&&this.dd(c),b=c.Mc(a))},this);return b};
r.vc=function(a){TB.g.vc.call(this,a);(a=this.za(a))&&By(a.b(),this.b())};r.ffa=function(a){var b=this.O;a=this.v().ti(d,b.V()+ta,a);for(var c=a.length,e=0;e<c;e++)b.mV(this,a[e])};var UB=function(a,b){TB.call(this,a,b);this.dm(!0);this.F(!1,!0);this.lg=new K};B(UB,TB);r=UB.prototype;r.U8=!1;r.T0=0;r.Ka=function(a){UB.g.Ka.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&this.Wd(this.v().b(a),1)};r.D=function(){UB.g.D.call(this);this.lg.forEach(this.NS,this);var a=this.C();a.o(this,l,this.m2);a.o(this.v().N(),Uj,this.r2,!0);Fs&&a.o(this.v().N(),Of,this.r2,!0)};
r.Wd=function(a,b,c,e,f){this.CK(a)||(b=this.sU(a,b,c,e,f),this.Y&&this.NS(b),a=sq(this.zta,a),this.b()&&this.C().o(this.b(),dj,a))};r.zta=function(a,b){if(27==b.keyCode)a.focus();else{var c=this.za(this.qb);if(c){var c=c.b(),e=new $s(b.ld,c);e.target=c;32!=b.keyCode&&13!=b.keyCode||wt(c,dj,!1,e);32==b.keyCode&&this.Je()}}};r.sU=function(a,b,c,e,f){if(!a)return null;b={G:a,K8:b,nsa:c,KH:e?Of:Uj,IB:f};this.lg.set(oq(a),b);return b};r.CK=function(a){return a?this.lg.Xb(oq(a)):!1};
r.NS=function(a){this.C().o(a.G,a.KH,this.tC);a.KH!=Of&&this.C().o(a.G,dj,this.Mta)};r.detach=function(a){if(!this.CK(a))throw Error("Menu not attached to provided element, unable to detach.");a=oq(a);this.Y&&this.rfa(this.lg.get(a));this.lg.remove(a)};r.rfa=function(a){this.C().Ca(a.G,a.KH,this.tC)};r.b7=function(a){this.U8=a};
r.W7=function(a,b,c){var e=this.R();this.jB()&&this.U8?this.Je():this.dispatchEvent(Ge)&&(b="undefined"!=typeof b?b:8,e||(this.b().style.visibility=ai),Q(this.b(),!0),a.oa(this.b(),b,c),e||(this.b().style.visibility=Mp),this.vc(-1),this.F(!0))};r.E7=function(a,b,c){b=v(a.K8)?new lB(a.G,a.K8,!0):new oB(b,c);b.Vr&&b.Vr(5);this.W7(b,a.nsa,a.IB,a.G)};r.x7=function(a,b,c){this.W7(new mB(a,b,!0),c,null,a)};r.Je=function(){this.R()&&(this.F(!1),this.R()||(this.T0=z()))};
r.jB=function(){return this.R()||this.GEa()};r.GEa=function(){return 150>z()-this.T0};r.m2=function(){this.Je()};r.tC=function(a){this.N2(a)};r.Mta=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||this.N2(a);40==a.keyCode&&this.Xu()};r.N2=function(a){for(var b=this.lg.kb(),c=0;c<b.length;c++){var e=this.lg.get(b[c]);if(e.G==a.currentTarget){this.E7(e,a.clientX,a.clientY);a.preventDefault();a.stopPropagation();break}}};r.r2=function(a){this.R()&&!this.wg(a.target)&&this.Je()};
r.Jg=function(a){UB.g.Jg.call(this,a);this.Je()};r.A=function(){UB.g.A.call(this);this.lg&&(this.lg.clear(),delete this.lg)};var VB=function(a,b){this.k8=a;this.lz=b},WB=new $z(0,0,1),XB=new $z(9999,11,31);VB.prototype.getStartDate=function(){return this.k8};VB.prototype.contains=function(a){return a.valueOf()>=this.k8.valueOf()&&a.valueOf()<=this.lz.valueOf()};VB.prototype.iterator=function(){return new YB(this)};var YB=function(a){this.nM=a.getStartDate().clone();this.lz=Number(a.lz.Ko())};B(YB,Su);YB.prototype.next=function(){if(Number(this.nM.Ko())>this.lz)throw Ru;var a=this.nM.clone();this.nM.add(new Zz("d",1));return a};var ZB={MR:"y",EMa:"y G",FMa:"MMM y",aba:"MMMM y",daa:"MMM d",FIa:"MMMM dd",GIa:"M/d",wR:"MMMM d",HIa:"MMM d, y",yMa:"EEE, MMM d",zMa:"EEE, MMM d, y",bGa:"d"},$B=ZB,$B=ZB;var aC=function(a,b){this.Kca=a;this.ba=b||N()};r=aC.prototype;r.v=function(){return this.ba};r.wa=function(){return this.Kca};
r.rwa=function(a,b,c,e){b?(e=this.v().createElement("TD"),e.colSpan=c?1:2,this.Ce(e,"\u00ab",this.wa()+Ca),a.appendChild(e),e=this.v().createElement("TD"),e.colSpan=c?6:5,e.className=this.wa()+"-monthyear",a.appendChild(e),e=this.v().createElement("TD"),this.Ce(e,"\u00bb",this.wa()+za),a.appendChild(e)):(c=this.v().createElement("TD"),c.colSpan=5,this.Ce(c,"\u00ab",this.wa()+Ca),this.Ce(c,"",this.wa()+"-month"),this.Ce(c,"\u00bb",this.wa()+za),b=this.v().createElement("TD"),b.colSpan=3,this.Ce(b,
"\u00ab",this.wa()+"-previousYear"),this.Ce(b,"",this.wa()+"-year"),this.Ce(b,"\u00bb",this.wa()+"-nextYear"),e.indexOf("y")<e.indexOf("m")?(a.appendChild(b),a.appendChild(c)):(a.appendChild(c),a.appendChild(b)))};
r.pwa=function(a,b){var c=this.v().createElement("TD");c.colSpan=b?2:3;c.className=this.wa()+"-today-cont";this.Ce(c,"Today",this.wa()+Da);a.appendChild(c);c=this.v().createElement("TD");c.colSpan=b?4:3;a.appendChild(c);c=this.v().createElement("TD");c.colSpan=2;c.className=this.wa()+"-none-cont";this.Ce(c,"None",this.wa()+Aa);a.appendChild(c)};
r.Ce=function(a,b,c){var e=[this.wa()+"-btn"];c&&e.push(c);c=this.v().createElement(zb);c.className=e.join(" ");c.appendChild(this.v().createTextNode(b));a.appendChild(c);return c};var bC=function(a,b,c,e){U.call(this,c);this.Cf=b||Xz;this.HEa=this.Cf.GR;this.fpa=new eA("d",this.Cf);this.epa=new eA("dd",this.Cf);this.hpa=new eA("w",this.Cf);this.hK=new eA($B.MR||"y",this.Cf);this.gpa=new eA($B.aba||"MMMM y",this.Cf);this.O=e||new aC(this.wa(),this.v());this.uc=new $z(a);this.uc.Z5(this.Cf.aF);this.uc.vO(this.Cf.$E);this.yc=this.uc.clone();this.yc.setDate(1);this.UE="      ".split(" ");this.UE[this.Cf.LR[0]]=this.wa()+"-wkend-start";this.UE[this.Cf.LR[1]]=this.wa()+"-wkend-end";
this.Xq={};this.pn=[]};B(bC,U);r=bC.prototype;r.GP=!0;r.IBa=!0;r.wEa=new VB(WB,XB);r.Kga=!0;r.ZD=!0;r.V7=!0;r.zF=!0;r.Q7=!0;r.Y7=!1;r.nV=null;r.Qra=!1;r.iz=null;r.hz=null;r.gz=null;r.kda=NA.K();r.wa=function(){return"goog-date-picker"};r.Qya=function(a){this.yc.vO(a);this.ai();this.J3()};r.sAa=function(a){this.GP=a;this.ai()};r.eL=function(a){return this.wEa.contains(a)};r.vAa=function(a){this.ZD=a;this.A9();this.x9();this.ai()};
r.WDa=function(){Q(this.dW,this.Q7);Q(this.cW,this.zF);Q(this.J8,this.Q7||this.zF)};r.r3=function(){this.yc.add(new Zz("m",-1));this.ai();this.Zt()};r.d2=function(){this.yc.add(new Zz("m",1));this.ai();this.Zt()};r.hva=function(){this.yc.add(new Zz("y",-1));this.ai();this.Zt()};r.Osa=function(){this.yc.add(new Zz("y",1));this.ai();this.Zt()};r.i5=function(){this.setDate(new $z)};r.h5=function(){this.zF&&this.setDate(null)};r.Uha=function(){return this.yc.clone()};
r.getDate=function(){return this.uc&&this.uc.clone()};r.setDate=function(a){this.gO(a,!0)};r.gO=function(a,b){var c=a==this.uc||a&&this.uc&&a.getFullYear()==this.uc.getFullYear()&&a.getMonth()==this.uc.getMonth(),e=a==this.uc||c&&a.getDate()==this.uc.getDate();this.uc=a&&new $z(a);a&&(this.yc.set(this.uc),this.yc.setFullYear(this.uc.getFullYear()),this.yc.setDate(1));this.ai();b&&this.dispatchEvent(new cC(Hm,this,this.uc));e||this.dispatchEvent(new cC(Xe,this,this.uc));c||this.Zt()};
r.A9=function(){if(this.iz){for(var a=this.iz;a.firstChild;)a.removeChild(a.firstChild);this.O.rwa(a,this.Y7,this.ZD,this.Cf.gp[0].toLowerCase());this.Y7?(this.gi(a,this.wa()+Ca,this.r3),this.gi(a,this.wa()+za,this.d2),this.hz=Sw(this.wa()+"-monthyear",a)):(this.gi(a,this.wa()+Ca,this.r3),this.gi(a,this.wa()+za,this.d2),this.gi(a,this.wa()+"-month",this.FBa),this.gi(a,this.wa()+"-previousYear",this.hva),this.gi(a,this.wa()+"-nextYear",this.Osa),this.gi(a,this.wa()+"-year",this.UBa),this.Wm=Sw(this.wa()+
"-month",a),this.Ot=N().Lc(this.wa()+"-year",a))}};r.gi=function(a,b,c){a=Sw(b,a);this.C().o(a,ef,function(a){a.preventDefault();c.call(this,a)})};r.x9=function(){if(this.gz){var a=this.gz;gx(a);this.O.pwa(a,this.ZD);this.gi(a,this.wa()+Da,this.i5);this.gi(a,this.wa()+Aa,this.h5);this.dW=Sw(this.wa()+Da,a);this.cW=Sw(this.wa()+Aa,a);this.WDa()}};
r.Ka=function(a){bC.g.Ka.call(this,a);C(a);T(a,this.wa());var b=this.ba.createElement(gd),c=this.ba.createElement("THEAD"),e=this.ba.createElement(hd),f=this.ba.createElement("TFOOT");rA(e,Wh);e.tabIndex="0";this.lE=e;this.J8=f;var g=this.ba.createElement("TR");g.className=this.wa()+"-head";this.iz=g;this.A9();c.appendChild(g);var h;this.Mf=[];for(var k=0;7>k;k++){g=this.ba.createElement("TR");this.Mf[k]=[];for(var n=0;8>n;n++)h=this.ba.createElement(0==n||0==k?"th":Bo),0!=n&&0!=k||n==k||(h.className=
0==n?this.wa()+"-week":this.wa()+"-wday",rA(h,0==n?"rowheader":"columnheader")),g.appendChild(h),this.Mf[k][n]=h;e.appendChild(g)}g=this.ba.createElement("TR");g.className=this.wa()+"-foot";this.gz=g;this.x9();f.appendChild(g);b.cellSpacing="0";b.cellPadding="0";b.appendChild(c);b.appendChild(e);b.appendChild(f);a.appendChild(b);this.J3();this.ai();a.tabIndex=0};r.j=function(){bC.g.j.call(this);this.Ka(this.b())};
r.D=function(){bC.g.D.call(this);var a=this.C();a.o(this.lE,ef,this.nma);a.o(this.XI(this.b()),cj,this.oma)};r.Ra=function(){bC.g.Ra.call(this);this.Np();for(var a in this.Xq)this.Xq[a].dispose();this.Xq={}};r.create=bC.prototype.U;r.A=function(){bC.g.A.call(this);this.cW=this.dW=this.Ot=this.hz=this.Wm=this.gz=this.iz=this.J8=this.lE=this.Mf=null};
r.nma=function(a){if("TD"==a.target.tagName){var b,c=-2,e=-2;for(b=a.target;b;b=b.previousSibling,c++);for(b=a.target.parentNode;b;b=b.previousSibling,e++);a=this.pn[e][c];this.eL(a)&&this.setDate(a.clone())}};
r.oma=function(a){var b,c;switch(a.keyCode){case 33:a.preventDefault();b=-1;break;case 34:a.preventDefault();b=1;break;case 37:a.preventDefault();c=-1;break;case 39:a.preventDefault();c=1;break;case 38:a.preventDefault();c=-7;break;case 40:a.preventDefault();c=7;break;case 36:a.preventDefault(),this.i5();case 46:a.preventDefault();this.h5();break;case 13:case 32:a.preventDefault(),this.gO(this.uc,!0);default:return}this.uc?(a=this.uc.clone(),a.add(new Zz(0,b,c))):(a=this.yc.clone(),a.setDate(1));
this.eL(a)&&this.gO(a,!1)};r.FBa=function(a){a.stopPropagation();a=[];for(var b=0;12>b;b++)a.push(this.Cf.Hs[b]);this.FU(this.Wm,a,this.Zma,this.Cf.Hs[this.yc.getMonth()])};r.UBa=function(a){a.stopPropagation();a=[];for(var b=this.yc.getFullYear(),c=this.yc.clone(),e=-5;5>=e;e++)c.setFullYear(b+e),a.push(this.hK.format(c));this.FU(this.Ot,a,this.Doa,this.hK.format(this.yc))};r.Zma=function(a){a=Number(a.getAttribute(Hi));this.yc.setMonth(a);this.ai();this.Wm.focus&&this.Wm.focus()};
r.Doa=function(a){3==a.firstChild.nodeType&&(a=Number(a.getAttribute(Hi)),this.yc.setFullYear(this.yc.getFullYear()+a-5),this.ai());this.Ot.focus()};
r.FU=function(a,b,c,e){this.Np();var f=this.ba.createElement(d);f.className=this.wa()+"-menu";this.gr=null;for(var g=this.ba.createElement("UL"),h=0;h<b.length;h++){var k=this.ba.j("LI",null,b[h]);k.setAttribute(Hi,h);b[h]==e&&(this.gr=k);g.appendChild(k)}f.appendChild(g);f.style.left=a.offsetLeft+a.parentNode.offsetLeft+p;f.style.top=a.offsetTop+p;f.style.width=a.clientWidth+p;this.Wm.parentNode.appendChild(f);this.ma=f;this.gr||(this.gr=g.firstChild);this.gr.className=this.wa()+ya;this.ZL=c;a=this.C();
a.o(this.ma,ef,this.jZ);a.o(this.XI(this.ma),cj,this.kZ);a.o(this.ba.N(),ef,this.Np);f.tabIndex=0;f.focus()};r.jZ=function(a){a.stopPropagation();this.Np();this.ZL&&this.ZL(a.target)};
r.kZ=function(a){a.stopPropagation();var b,c=this.gr;switch(a.keyCode){case 35:a.preventDefault();b=c.parentNode.lastChild;break;case 36:a.preventDefault();b=c.parentNode.firstChild;break;case 38:a.preventDefault();b=c.previousSibling;break;case 40:a.preventDefault();b=c.nextSibling;break;case 13:case 9:case 0:a.preventDefault(),this.Np(),this.ZL(c)}b&&b!=c&&(c.className="",b.className=this.wa()+ya,this.gr=b)};
r.Np=function(){if(this.ma){var a=this.C();a.Ca(this.ma,ef,this.jZ);a.Ca(this.XI(this.ma),cj,this.kZ);a.Ca(this.ba.N(),ef,this.Np);kx(this.ma);delete this.ma}};
r.ai=function(){if(this.b()){var a=this.yc.clone();a.setDate(1);this.hz&&tx(this.hz,this.gpa.format(a));this.Wm&&tx(this.Wm,this.Cf.Hs[a.getMonth()]);this.Ot&&tx(this.Ot,this.hK.format(a));var b=a.Zka(),c=a.fY();a.add(new Zz("m",-1));a.setDate(a.fY()-(b-1));this.GP&&!this.Kga&&33>c+b&&a.add(new Zz("d",-7));b=new Zz("d",1);this.pn=[];for(c=0;6>c;c++){this.pn[c]=[];for(var e=0;7>e;e++){this.pn[c][e]=a.clone();var f=a.getFullYear();a.add(b);0==a.getMonth()&&1==a.getDate()&&f++;a.setFullYear(f)}}this.Dva()}};
r.Dva=function(){if(this.b())for(var a=this.yc.getMonth(),b=new $z,c=b.getFullYear(),e=b.getMonth(),b=b.getDate(),f=0;6>f;f++){this.ZD?(tx(this.Mf[f+1][0],this.hpa.format(this.pn[f][0])),this.Mf[f+1][0].className=this.wa()+"-week"):(tx(this.Mf[f+1][0],""),this.Mf[f+1][0].className="");for(var g=0;7>g;g++){var h=this.pn[f][g],k=this.Mf[f+1][g+1];k.id||(k.id=this.kda.Jd());C(k,"The table DOM element cannot be null.");rA(k,Xh);var n=[this.wa()+"-date"];this.eL(h)||n.push(this.wa()+"-unavailable-date");
if(this.IBa||h.getMonth()==a){h.getMonth()!=a&&n.push(this.wa()+"-other-month");var q=(g+this.yc.bn+7)%7;this.UE[q]&&n.push(this.UE[q]);h.getDate()==b&&h.getMonth()==e&&h.getFullYear()==c&&n.push(this.wa()+"-today");this.uc&&h.getDate()==this.uc.getDate()&&h.getMonth()==this.uc.getMonth()&&h.getFullYear()==this.uc.getFullYear()&&(n.push(this.wa()+"-selected"),C(this.lE,"The table body DOM element cannot be null"),S(this.lE,Od,k.id));this.nV&&(q=this.nV(h))&&n.push(q);h=this.Qra?this.epa.format(h):
this.fpa.format(h);tx(k,h)}else tx(k,"");n=n.join(" ");k.className=n}4<=f&&Q(this.Mf[f+1][0].parentElement||this.Mf[f+1][0].parentNode,this.pn[f][0].getMonth()==a||this.GP)}};r.Zt=function(){var a=new cC("changeActiveMonth",this,this.Uha());this.dispatchEvent(a)};r.J3=function(){if(this.b()){if(this.V7)for(var a=0;7>a;a++)tx(this.Mf[0][a+1],this.HEa[((a+this.yc.bn+7)%7+1)%7]);Q(this.Mf[0][0].parentElement||this.Mf[0][0].parentNode,this.V7)}};
r.XI=function(a){var b=oq(a);b in this.Xq||(this.Xq[b]=new pB(a));return this.Xq[b]};var cC=function(a,b,c){G.call(this,a,b);this.qa=c};B(cC,G);var dC=function(a,b){this.fo=8;this.HC=b||void 0;RA.call(this,a)};B(dC,RA);r=dC.prototype;r.TO=function(a){this.fo=a;this.R()&&this.oa()};r.getPosition=function(){return this.HC||null};r.setPosition=function(a){this.HC=a||void 0;this.R()&&this.oa()};r.zu=function(){return this.IB||null};r.q6=function(a,b,c,e){this.IB=null==a||a instanceof iy?a:new iy(a,b,c,e);this.R()&&this.oa()};
r.oa=function(){if(this.HC){var a=!this.R()&&this.Aa()!=ak,b=this.b();a&&(b.style.visibility=ai,Q(b,!0));this.HC.oa(b,this.fo,this.IB);a&&Q(b,!1)}};var eC=function(a,b){U.call(this,b);this.De=a||new bC};B(eC,U);r=eC.prototype;r.De=null;r.lb=null;r.wB=null;r.zm=!0;r.j=function(){eC.g.j.call(this);this.b().className="goog-popupdatepicker";this.lb=new dC(this.b());this.lb.hm(this)};r.R=function(){return this.lb?this.lb.R():!1};r.D=function(){eC.g.D.call(this);if(!this.De.Y){var a=this.b();a.style.visibility=ai;Q(a,!1);this.De.U(a)}this.C().o(this.De,Xe,this.Nv).o(this.De,Hm,this.yM)};
r.A=function(){eC.g.A.call(this);this.lb&&(this.lb.dispose(),this.lb=null);this.De.dispose();this.wB=this.De=null};r.Bc=function(){return!1};r.Oz=function(){return this.De};r.getDate=function(){return this.De.getDate()};r.setDate=function(a){this.De.setDate(a)};r.Wd=function(a){this.C().o(a,Uj,this.L7)};r.detach=function(a){this.C().Ca(a,Uj,this.L7)};r.dm=function(a){this.zm=a};
r.KBa=function(a,b){this.wB=a;this.lb.setPosition(new kB(a,9,197));this.C().Ca(this.De,Xe,this.Nv).Ca(this.De,Hm,this.yM);b||this.De.setDate(null);this.dispatchEvent(bn);this.lb.F(!0);this.zm&&this.b().focus();this.C().o(this.De,Xe,this.Nv).o(this.De,Hm,this.yM)};r.L7=function(a){this.KBa(a.currentTarget)};r.UJ=function(){this.lb.F(!1);this.zm&&this.wB&&this.wB.focus()};r.yM=function(a){this.UJ();this.dispatchEvent(a)};r.Nv=function(a){this.dispatchEvent(a)};var fC=function(a,b){U.call(this,b);this.Xa=a||""},gC;B(fC,U);fC.prototype.ri=null;fC.prototype.mra=10;var hC=function(){null!=gC||(gC="placeholder"in document.createElement(qc));return gC};r=fC.prototype;r.Hq=!1;r.j=function(){this.Sa(this.v().j(qc,{type:Eo}))};r.Ka=function(a){fC.g.Ka.call(this,a);this.Xa||(this.Xa=a.getAttribute(gj)||"");Fx(Ow(a))==a&&(this.Hq=!0,a=this.b(),C(a),DA(a,this.tv));hC()&&(this.b().placeholder=this.Xa);a=this.b();C(a,nd);S(a,gj,this.Xa)};
r.D=function(){fC.g.D.call(this);this.op();this.Ik();this.b().Xf=this};r.Ra=function(){fC.g.Ra.call(this);this.rj();this.b().Xf=null};r.op=function(){var a=new GA(this);a.o(this.b(),ch,this.tn);a.o(this.b(),Ke,this.Bq);if(hC())this.J=a;else{Es&&a.o(this.b(),[ej,dj,fj],this.fma);var b=Ow(this.b());a.o(Zw(b),uj,this.Boa);this.J=a;this.OS()}};r.OS=function(){!this.lha&&this.J&&this.b().form&&(this.J.o(this.b().form,vo,this.kma),this.lha=!0)};r.rj=function(){this.J&&(this.J.dispose(),this.J=null)};
r.A=function(){fC.g.A.call(this);this.rj()};r.tv="label-input-label";r.tn=function(){this.Hq=!0;var a=this.b();C(a);DA(a,this.tv);if(!hC()&&!this.rl()&&!this.ppa){var b=this,a=function(){b.b()&&(b.b().value="")};H?M(a,10):a()}};r.Bq=function(){hC()||(this.J.Ca(this.b(),ef,this.tn),this.ri=null);this.Hq=!1;this.Ik()};r.fma=function(a){27==a.keyCode&&(a.type==dj?this.ri=this.b().value:a.type==ej?this.b().value=this.ri:a.type==fj&&(this.ri=null),a.preventDefault())};
r.kma=function(){this.rl()||(this.b().value="",M(this.pla,10,this))};r.pla=function(){this.rl()||(this.b().value=this.Xa)};r.Boa=function(){this.Ik()};r.hasFocus=function(){return this.Hq};r.rl=function(){return!!this.b()&&""!=this.b().value&&this.b().value!=this.Xa};r.clear=function(){this.b().value="";null!=this.ri&&(this.ri="")};r.reset=function(){this.rl()&&(this.clear(),this.Ik())};r.setValue=function(a){null!=this.ri&&(this.ri=a);this.b().value=a;this.Ik()};
r.getValue=function(){return null!=this.ri?this.ri:this.rl()?this.b().value:""};r.Ta=function(a){var b=this.b();hC()?(b&&(b.placeholder=a),this.Xa=a):this.rl()||(b&&(b.value=""),this.Xa=a,this.y4());b&&S(b,gj,this.Xa)};r.Eg=function(){return this.Xa};
r.Ik=function(){var a=this.b();C(a,nd);hC()?this.b().placeholder!=this.Xa&&(this.b().placeholder=this.Xa):this.OS();S(a,gj,this.Xa);this.rl()?(a=this.b(),C(a),DA(a,this.tv)):(this.ppa||this.Hq||(a=this.b(),C(a),T(a,this.tv)),hC()||M(this.y4,this.mra,this))};r.X=function(a){this.b().disabled=!a;var b=this.b();C(b);FA(b,this.tv+va,!a)};r.isEnabled=function(){return!this.b().disabled};r.y4=function(){!this.b()||this.rl()||this.Hq||(this.b().value=this.Xa)};var iC=function(a,b,c,e){U.call(this,e);this.jV=a;this.kV=b;this.Qc=new eC(c,e);this.la(this.Qc);this.Qc.dm(!1)};B(iC,U);r=iC.prototype;r.jV=null;r.kV=null;r.Qc=null;r.l3=null;r.Oz=function(){return this.Qc.Oz()};r.getDate=function(){var a=this.WI(),b=this.Qc.getDate();a&&b?a.Dd(b)||this.Qc.setDate(a):this.Qc.setDate(null);return a};r.setDate=function(a){this.Qc.setDate(a)};r.k6=function(a){var b=this.b();b.Xf?b.Xf.setValue(a):b.value=a};
r.hja=function(){var a=this.b();return a.Xf?a.Xf.getValue():a.value};r.l6=function(a){this.k6(a?this.jV.format(a):"")};r.WI=function(){var a=Fq(this.hja());if(a){var b=new aA;if(0<this.kV.uCa(a,b))return b}return null};r.j=function(){this.Sa(this.v().j(qc,{type:Eo}));this.Qc.j()};r.D=function(){(this.l3||this.v().N().body).appendChild(this.Qc.b());iC.g.D.call(this);var a=this.b();this.Qc.Wd(a);this.Qc.setDate(this.WI());a=this.C();a.o(this.Qc,Xe,this.Nv);a.o(this.Qc,bn,this.Fta)};
r.Ra=function(){iC.g.Ra.call(this);var a=this.b();this.Qc.detach(a);this.Qc.Ra();kx(this.Qc.b())};r.Ka=function(a){iC.g.Ka.call(this,a);this.Qc.j()};r.A=function(){iC.g.A.call(this);this.Qc.dispose();this.l3=this.Qc=null};r.UJ=function(){this.Qc.UJ()};r.Fta=function(){var a=this.WI();this.setDate(a);a&&this.l6(this.Oz().getDate())};r.Nv=function(a){this.l6(a.qa)};var jC=xs("Firefox"),kC=zs()||xs("iPod"),lC=xs("iPad"),mC=xs("Android")&&!(ys()||xs("Firefox")||xs("Opera")||xs("Silk")),nC=ys(),oC=xs("Safari")&&!(ys()||xs("Coast")||xs("Opera")||xs(ac)||xs("Silk")||xs("Android"))&&!As();var pC=function(){};B(pC,AB);eq(pC);r=pC.prototype;r.Fd=function(){return Qe};r.Zi=function(a,b,c){switch(b){case 8:case 16:C(a,"The button DOM element cannot be null.");S(a,"pressed",c);break;default:case 64:case 1:pC.g.Zi.call(this,a,b,c)}};r.j=function(a){var b=pC.g.j.call(this,a);this.ed(b,a.Ig());var c=a.getValue();c&&this.setValue(b,c);a.vb(16)&&this.Zi(b,16,a.qf());return b};r.U=function(a,b){b=pC.g.U.call(this,a,b);a.TAa(this.getValue(b));a.cs(this.Ig(b));a.vb(16)&&this.Zi(b,16,a.qf());return b};
r.getValue=dq;r.setValue=dq;r.Ig=function(a){return a.title};r.ed=function(a,b){a&&(b?a.title=b:a.removeAttribute(No))};r.fh=function(a,b){var c=a.Jh(),e=this.Sf()+"-collapse-left",f=this.Sf()+"-collapse-right";a.Zp(c?f:e,!!(b&1));a.Zp(c?e:f,!!(b&2))};r.V=function(){return th};var qC=function(){};B(qC,pC);eq(qC);r=qC.prototype;r.Fd=function(){};r.j=function(a){this.g7(a);return a.v().j(zb,{"class":this.be(a).join(" "),disabled:!a.isEnabled(),title:a.Ig()||"",value:a.getValue()||""},a.si()||"")};r.Bc=function(a){return a.tagName==zb||a.tagName==qc&&(a.type==Qe||a.type==vo||a.type==sm)};r.U=function(a,b){this.g7(a);if(b.disabled){var c=lr(this.fn(1));T(b,c)}return qC.g.U.call(this,a,b)};r.Od=function(a){a.C().o(a.b(),ef,a.ad)};r.Or=dq;r.Ao=dq;r.Sj=function(a){return a.isEnabled()};
r.Se=dq;r.setState=function(a,b,c){qC.g.setState.call(this,a,b,c);(a=a.b())&&1==b&&(a.disabled=c)};r.getValue=function(a){return a.value};r.setValue=function(a,b){a&&(a.value=b)};r.Zi=dq;r.g7=function(a){a.BD(!1);a.vD(255,!1);a.Db(32,!1)};var rC=function(a,b,c){EB.call(this,a,b||qC.K(),c)};B(rC,EB);r=rC.prototype;r.getValue=function(){return this.wb};r.setValue=function(a){this.wb=a;this.O.setValue(this.b(),a)};r.TAa=function(a){this.wb=a};r.Ig=function(){return this.sb};r.ed=function(a){this.sb=a;this.O.ed(this.b(),a)};r.cs=function(a){this.sb=a};r.fh=function(a){this.O.fh(this,a)};r.A=function(){rC.g.A.call(this);delete this.wb;delete this.sb};r.D=function(){rC.g.D.call(this);if(this.vb(32)){var a=this.$b();a&&this.C().o(a,fj,this.Ec)}};
r.Ec=function(a){return 13==a.keyCode&&a.type==cj||32==a.keyCode&&a.type==fj?this.ad(a):32==a.keyCode};wB(th,function(){return new rC(null)});var sC=function(){};B(sC,pC);eq(sC);r=sC.prototype;r.j=function(a){var b={"class":Ah+this.be(a).join(" ")},b=a.v().j(d,b,this.nt(a.Jb(),a.v()));this.ed(b,a.Ig());return b};r.Fd=function(){return Qe};r.M=function(a){return a&&a.firstChild&&a.firstChild.firstChild};r.nt=function(a,b){return b.j(d,Ah+(this.V()+Ba),b.j(d,Ah+(this.V()+xa),a))};r.Bc=function(a){return a.tagName==d};r.LZ=function(a,b){var c=a.v().gn(b),e=this.V()+Ba;return c&&BA(c,e)&&(c=a.v().gn(c),e=this.V()+xa,c&&BA(c,e))?!0:!1};
r.U=function(a,b){C(b);tC(b,!0);tC(b,!1);this.LZ(a,b)||b.appendChild(this.nt(b.childNodes,a.v()));CA(b,[zh,this.V()]);return sC.g.U.call(this,a,b)};r.V=function(){return wh};var tC=function(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,e;c&&c.parentNode==a;){e=b?c.nextSibling:c.previousSibling;if(3==c.nodeType){var f=c.nodeValue;if(""==Fq(f))a.removeChild(c);else{c.nodeValue=b?f.replace(/^[\s\xa0]+/,""):f.replace(/[\s\xa0]+$/,"");break}}else break;c=e}};var uC=function(){};B(uC,sC);eq(uC);uC.prototype.M=function(a){return uC.g.M.call(this,a&&a.firstChild)};uC.prototype.U=function(a,b){var c=Qw("*",Ch,b)[0];if(c){Q(c,!1);Ow(c).body.appendChild(c);var e=new TB;e.U(c);a.gh(e)}return uC.g.U.call(this,a,b)};uC.prototype.nt=function(a,b){return uC.g.nt.call(this,[this.createCaption(a,b),this.Py(b)],b)};uC.prototype.createCaption=function(a,b){return vC(a,this.V(),b)};var vC=function(a,b,c){return c.j(d,Ah+(b+sa),a)};
uC.prototype.Py=function(a){return a.j(d,Ah+(this.V()+wa),"\u00a0")};uC.prototype.V=function(){return Dh};var wC=function(a,b,c,e,f){rC.call(this,a,c||uC.K(),e);this.Db(64,!0);this.Jl=new mB(null,9);b&&this.gh(b);this.osa=null;this.Ba=new iw(500);!kC&&!lC||Rs("533.17.9")||this.a6(!0);this.psa=f||RB.K()};B(wC,rC);r=wC.prototype;r.dB=!1;r.d4=!1;r.rxa=!1;r.D=function(){wC.g.D.call(this);this.QS(!0);this.ma&&this.iy(this.ma,!0);S(this.md(),Zh,!!this.ma)};r.Ra=function(){wC.g.Ra.call(this);this.QS(!1);if(this.ma){this.Ob(!1);this.ma.Ra();this.iy(this.ma,!1);var a=this.ma.b();a&&kx(a)}};
r.A=function(){wC.g.A.call(this);this.ma&&(this.ma.dispose(),delete this.ma);delete this.Tua;this.Ba.dispose()};r.Yc=function(a){wC.g.Yc.call(this,a);this.ac()&&(this.Ob(!this.fe(),a),this.ma&&this.ma.gm(this.fe()))};r.Uf=function(a){wC.g.Uf.call(this,a);this.ma&&!this.ac()&&this.ma.gm(!1)};r.ad=function(){this.setActive(!1);return!0};r.Xla=function(a){this.ma&&this.ma.R()&&!this.wg(a.target)&&this.Ob(!1)};r.wg=function(a){return a&&rx(this.b(),a)||this.ma&&this.ma.wg(a)||!1};
r.Ec=function(a){if(32==a.keyCode){if(a.preventDefault(),a.type!=fj)return!0}else if(a.type!=cj)return!1;if(this.ma&&this.ma.R()){var b=13==a.keyCode||32==a.keyCode,c=this.ma.Mc(a);return 27==a.keyCode||b?(this.Ob(!1),!0):c}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Ob(!0,a),!0):!1};r.Lu=function(){this.Ob(!1)};r.Wma=function(){this.ac()||this.Ob(!1)};r.Jg=function(a){this.dB||this.Ob(!1);wC.g.Jg.call(this,a)};
r.Wa=function(){this.ma||this.gh(new TB(this.v(),this.psa));return this.ma||null};r.gh=function(a){var b=this.ma;a!=b&&(b&&(this.Ob(!1),this.Y&&this.iy(b,!1),delete this.ma),this.Y&&S(this.md(),Zh,!!a),a&&(this.ma=a,a.Ha(this),a.F(!1),a.dm(this.dB),this.Y&&this.iy(a,!0)));return b};r.zc=function(a){this.Wa().la(a,!0)};r.Ck=function(a,b){this.Wa().Xe(a,b,!0)};r.removeItem=function(a){(a=this.Wa().removeChild(a,!0))&&a.dispose()};r.nd=function(a){return this.ma?this.ma.za(a):null};
r.jl=function(){return this.ma?this.ma.ub():0};r.F=function(a,b){var c=wC.g.F.call(this,a,b);c&&!this.R()&&this.Ob(!1);return c};r.X=function(a){wC.g.X.call(this,a);this.isEnabled()||this.Ob(!1)};r.$_=function(){var a=this.Jl.Nk;return 9==a||8==a};r.y5=function(a){this.Jl.Nk=a?9:13};r.eAa=function(a){this.Jl.Vr&&this.Jl.Vr(1|(a?32:4))};r.lB=function(){return this.Jl.mja&&!!(this.Jl.Pn&32)};r.a6=function(a){this.dB=a};r.J6=function(a){this.d4=a};r.E7=function(){this.Ob(!0)};
r.Ob=function(a,b){wC.g.Ob.call(this,a);if(this.ma&&this.Lg(64)==a){if(a){if(!this.ma.Y)if(this.d4){var c=px(this.b());c?this.ma.a4(c):this.ma.Z(this.b().parentNode)}else this.ma.Z();this.e$=xy(this.b());this.kT=Jy(this.b());this.XM();c=!!b&&(13==b.keyCode||32==b.keyCode);b&&(40==b.keyCode||38==b.keyCode)||c&&this.rxa?this.ma.Xu():this.ma.vc(-1)}else{this.setActive(!1);this.ma.gm(!1);if(c=this.b())S(c,Od,""),S(c,Tk,"");null!=this.uC&&(this.uC=void 0,(c=this.ma.b())&&Hy(c,"",""))}this.ma.F(a,!1,b);
this.ob||this.Ica(a)}this.ma&&this.ma.b()&&tA(this.ma.md(),ai)};r.XM=function(){if(this.ma.Y){var a=this.Tua||this.b(),b=this.Jl;this.Jl.element=a;a=this.ma.b();this.ma.R()||(a.style.visibility=ai,Q(a,!0));!this.uC&&this.lB()&&(this.uC=Iy(a));b.oa(a,b.Nk^1,this.osa,this.uC);this.ma.R()||(Q(a,!1),a.style.visibility=Mp)}};
r.pr=function(){var a=Jy(this.b()),b=xy(this.b()),c;c=this.kT;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.e$,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.kT=a,this.e$=b,this.XM())};r.iy=function(a,b){var c=this.C(),e=b?c.o:c.Ca;e.call(c,a,l,this.Lu);e.call(c,a,ff,this.uJ);e.call(c,a,ci,this.wJ);e.call(c,a,ap,this.HJ)};r.QS=function(a){var b=this.C();(a?b.o:b.Ca).call(b,this.b(),dj,this.Cma)};
r.wJ=function(a){(a=a.target.b())&&this.B5(a)};r.Cma=function(a){this.vb(32)&&this.$b()&&this.ma&&this.ma.R()&&a.stopPropagation()};r.HJ=function(){if(!this.ma.Eh()){var a=this.b();C(a,od);S(a,Od,"");S(a,Tk,"")}};r.uJ=function(a){if(this.fe()&&a.target instanceof OB){a=a.target;var b=a.b();a.R()&&a.KK()&&null!=b&&this.B5(b)}};r.B5=function(a){var b=this.b();C(b,od);a=vA(a)||a;if(!a.id){var c=NA.K();a.id=c.Jd()}wA(b,a);S(b,Tk,a.id)};
r.Ica=function(a){var b=this.C(),c=a?b.o:b.Ca;c.call(b,this.v().N(),Uj,this.Xla,!0);this.dB&&c.call(b,this.ma,Ke,this.Wma);c.call(b,this.Ba,Ko,this.pr);a?this.Ba.start():this.Ba.stop()};wB(Dh,function(){return new wC(null)});var xC=function(a){J.call(this);this.cc=[];this.gS(a)};B(xC,J);r=xC.prototype;r.cd=null;r.Td=null;r.Q6=function(a){this.Td=a};r.jl=function(){return this.cc.length};r.z_=function(a){return a?sr(this.cc,a):-1};r.Sia=function(){return this.cc[0]};r.nd=function(a){return this.cc[a]||null};r.gS=function(a){a&&(D(a,function(a){this.Kr(a,!1)},this),Or(this.cc,a))};r.zc=function(a){this.Ck(a,this.jl())};r.Ck=function(a,b){a&&(this.Kr(a,!1),Qr(this.cc,b,0,a))};
r.removeItem=function(a){a&&Kr(this.cc,a)&&a==this.cd&&(this.cd=null,this.dispatchEvent(Hm))};r.Ga=function(){return this.cd};r.Gj=function(){return Nr(this.cc)};r.Gb=function(a){a!=this.cd&&(this.Kr(this.cd,!1),this.cd=a,this.Kr(a,!0));this.dispatchEvent(Hm)};r.Hg=function(){return this.z_(this.cd)};r.Af=function(a){this.Gb(this.nd(a))};r.clear=function(){Hr(this.cc);this.cd=null};r.A=function(){xC.g.A.call(this);delete this.cc;this.cd=null};
r.Kr=function(a,b){a&&(typeof this.Td==lh?this.Td(a,b):typeof a.ig==lh&&a.ig(b))};var yC=function(a,b,c,e,f){wC.call(this,a,b,c,e,f||new RB(pj));this.UG=this.Jb();this.tK=null;this.VO(pj)};B(yC,wC);r=yC.prototype;r.S=null;r.D=function(){yC.g.D.call(this);this.EQ();this.h1()};r.Ka=function(a){yC.g.Ka.call(this,a);(a=this.si())?this.yya(a):this.Ga()||this.Af(0)};r.A=function(){yC.g.A.call(this);this.S&&(this.S.dispose(),this.S=null);this.UG=null};r.Lu=function(a){this.Gb(a.target);yC.g.Lu.call(this,a);a.stopPropagation();this.dispatchEvent(l)};
r.Ou=function(){var a=this.Ga();yC.g.setValue.call(this,a&&a.getValue());this.EQ()};r.gh=function(a){var b=yC.g.gh.call(this,a);a!=b&&(this.S&&this.S.clear(),a&&(this.S?a.Ua(function(a){this.yD(a);this.S.zc(a)},this):this.CG(a)));return b};r.yya=function(a){this.UG=a;this.EQ()};r.zc=function(a){this.yD(a);yC.g.zc.call(this,a);this.S?this.S.zc(a):this.CG(this.Wa());this.DQ()};r.Ck=function(a,b){this.yD(a);yC.g.Ck.call(this,a,b);this.S?this.S.Ck(a,b):this.CG(this.Wa())};
r.removeItem=function(a){yC.g.removeItem.call(this,a);this.S&&this.S.removeItem(a)};r.Gb=function(a){if(this.S){var b=this.Ga();this.S.Gb(a);a!=b&&this.dispatchEvent(Xe)}};r.Af=function(a){this.S&&this.Gb(this.S.nd(a))};r.setValue=function(a){if(null!=a&&this.S)for(var b=0,c;c=this.S.nd(b);b++)if(c&&typeof c.getValue==lh&&c.getValue()==a){this.Gb(c);return}this.Gb(null)};r.getValue=function(){var a=this.Ga();return a?a.getValue():null};r.Ga=function(){return this.S?this.S.Ga():null};
r.Hg=function(){return this.S?this.S.Hg():-1};r.CG=function(a){this.S=new xC;a&&a.Ua(function(a){this.yD(a);this.S.zc(a)},this);this.h1()};r.h1=function(){this.S&&this.C().o(this.S,Hm,this.Ou)};r.EQ=function(){var a=this.Ga();this.mb(a?a.si():this.UG);var b=this.O.M(this.b());b&&this.v().mv(b)&&(null==this.tK&&(this.tK=xA(b)),a=a?a.b():null,yA(b,a?xA(a):this.tK),this.DQ())};
r.DQ=function(){var a=this.O;if(a&&(a=a.M(this.b()))){var b=this.md();a.id||(a.id=NA.K().Jd());rA(a,Kk);S(b,Od,a.id);if(this.S){b=this.S.Gj();S(a,"setsize",this.eY(b));var c=this.S.Hg();S(a,Yl,0<=c?this.eY(Pr(b,0,c+1)):0)}}};r.eY=function(a){return Br(a,function(a){return a instanceof OB})};r.yD=function(a){a.VO(a instanceof OB?Kk:Mm)};r.Ob=function(a,b){yC.g.Ob.call(this,a,b);this.fe()?this.Wa().vc(this.Hg()):this.DQ()};wB("goog-select",function(){return new yC(null)});var AC=function(a,b,c){U.call(this,c);this.B=b||zC;this.MA=wu(a);this.hf=this.we=!1;this.W8=null;this.dca=Ju;this.Kh=!0;this.Yy=-1};B(AC,U);var BC={};r=AC.prototype;r.A=function(){AC.g.A.call(this);this.No&&(this.No.removeNode(this),this.No=null);this.Sa(null)};
r.UA=function(){var a=this.b();if(a){var b=this.wu();b&&!b.id&&(b.id=this.I()+".label");rA(a,"treeitem");S(a,Km,!1);S(a,Ng,!1);S(a,"level",this.el());b&&S(a,hj,b.id);(a=this.ru())&&rA(a,am);(a=this.Rz())&&rA(a,am);if(a=this.en())if(rA(a,"group"),a.hasChildNodes())for(a=this.ub(),b=1;b<=a;b++){var c=this.za(b-1).b();C(c,"The child element cannot be null");S(c,"setsize",a);S(c,Yl,b)}}};r.j=function(){var a=this.v().Th(this.sk());this.Sa(a)};r.D=function(){AC.g.D.call(this);BC[this.I()]=this;this.UA()};
r.Ra=function(){AC.g.Ra.call(this);delete BC[this.I()]};r.Xe=function(a,b){C(!a.getParent());rr(a,AC);var c=this.za(b-1),e=this.za(b);AC.g.Xe.call(this,a,b);a.Ii=c;a.ue=e;c?c.ue=a:this.VW=a;e?e.Ii=a:this.R0=a;var f=this.Kd();f&&a.mP(f);a.iO(this.el()+1);if(this.b()&&(this.Po(),this.qe())){f=this.en();a.b()||a.j();var g=a.b(),h=e&&e.b();f.insertBefore(g,h);this.Y&&a.D();e||(c?c.Po():(Q(f,!0),this.je(this.qe())))}};
r.add=function(a,b){C(!b||b.getParent()==this,"Can only add nodes before siblings");a.getParent()&&a.getParent().removeChild(a);this.Xe(a,b?this.pf(b):this.ub());return a};
r.removeChild=function(a){var b=this.Kd(),c=b?b.Ga():null;if(c==a||a.contains(c))b.hasFocus()?(this.select(),M(this.Ota,10,this)):this.select();AC.g.removeChild.call(this,a);this.R0==a&&(this.R0=a.Ii);this.VW==a&&(this.VW=a.ue);a.Ii&&(a.Ii.ue=a.ue);a.ue&&(a.ue.Ii=a.Ii);c=a.gB();a.No=null;a.Yy=-1;if(b&&(b.removeNode(a),this.Y)){b=this.en();if(a.Y){var e=a.b();b.removeChild(e);a.Ra()}c&&(c=this.VX())&&c.Po();this.Md()||(b.style.display=lk,this.Po(),this.GE())}return a};r.remove=AC.prototype.removeChild;
r.Ota=function(){this.select()};r.el=function(){var a=this.Yy;0>a&&(a=this.Qda(),this.iO(a));return a};r.Qda=function(){var a=this.getParent();return a?a.el()+1:0};r.iO=function(a){if(a!=this.Yy){this.Yy=a;var b=this.ce();if(b){var c=this.jY()+p;this.Jh()?b.style.paddingRight=c:b.style.paddingLeft=c}this.Ua(function(b){b.iO(a+1)})}};r.contains=function(a){for(;a;){if(a==this)return!0;a=a.getParent()}return!1};r.Xc=function(){var a=[];this.Ua(function(b){a.push(b)});return a};r.wi=function(){return this.za(0)};
r.VX=function(){return this.za(this.ub()-1)};r.gB=function(){return!this.ue};r.ge=function(){return this.we};r.select=function(){var a=this.Kd();a&&a.Gb(this)};r.ZO=function(a){if(this.we!=a){this.we=a;this.Ax();var b=this.b();b&&(S(b,Km,a),a&&(a=this.Kd().b(),C(a,"The DOM element for the tree cannot be null"),S(a,Od,this.I())))}};r.qe=function(){return this.hf};r.Mw=function(a){this.hf=a};
r.je=function(a){var b=a!=this.hf;if(!b||this.dispatchEvent(a?"beforeexpand":"beforecollapse")){var c;this.hf=a;c=this.Kd();var e=this.b();if(this.Md()){if(!a&&c&&this.contains(c.Ga())&&this.select(),e){if(c=this.en())if(Q(c,a),a&&this.Y&&!c.hasChildNodes()){var f=[];this.Ua(function(a){f.push(a.sk())});Mw(c,Gu(f));this.Ua(function(a){a.D()})}this.Po()}}else(c=this.en())&&Q(c,!1);e&&(this.GE(),S(e,Ng,a));b&&this.dispatchEvent(a?Mg:"collapse")}};r.toggle=function(){this.je(!this.qe())};r.expand=function(){this.je(!0)};
r.collapse=function(){this.je(!1)};r.Lda=function(){this.Ua(function(a){a.ft()})};r.ft=function(){this.Lda();this.collapse()};r.Gga=function(){this.Ua(function(a){a.qz()})};r.qz=function(){this.Gga();this.expand()};r.mw=function(){var a=this.getParent();a&&(a.je(!0),a.mw())};r.ED=function(a){(this.Kh=a)||this.expand();this.b()&&this.Po()};
r.sk=function(){var a=this.Kd(),b=!a.cx||a==this.getParent()&&!a.dx?this.B.XU:this.B.WU,a=this.qe()&&this.Md(),b={"class":b,style:this.rja()},c=[];a&&this.Ua(function(a){c.push(a.sk())});a=Du(m,b,c);return Du(m,{"class":this.B.JG,id:this.I()},[this.qka(),a])};r.jY=function(){return Math.max(0,(this.el()-1)*this.B.y_)};r.qka=function(){var a={};a[Uk+(this.Jh()?um:mj)]=this.jY()+p;var a={"class":this.ln(),style:a},b=[this.IX(),this.$ia(),this.lja()];return Du(m,a,b)};
r.ln=function(){var a;a=this.ge()?" "+this.B.afa:"";return this.B.dV+a};r.lja=function(){var a=Du(jo,{"class":this.B.KG,title:this.W8||null},this.MA);return Gu(a,Du(jo,{},this.dca))};r.$ia=function(){return Du(jo,{style:{display:"inline-block"},"class":this.Lz()})};r.IX=function(){return Du(jo,{type:Mg,style:{display:"inline-block"},"class":this.LI()})};
r.LI=function(){var a=this.Kd(),b=!a.cx||a==this.getParent()&&!a.dx,c=this.B,e=new Az;e.append(c.Gp," ",c.Tea," ");if(this.Md()){var f=0;a.FP&&this.Kh&&(f=this.qe()?2:1);b||(f=this.gB()?f+4:f+8);switch(f){case 1:e.append(c.aV);break;case 2:e.append(c.$U);break;case 4:e.append(c.ZU);break;case 5:e.append(c.Vea);break;case 6:e.append(c.Uea);break;case 8:e.append(c.bV);break;case 9:e.append(c.Xea);break;case 10:e.append(c.Wea);break;default:e.append(c.Sy)}}else b?e.append(c.Sy):this.gB()?e.append(c.ZU):
e.append(c.bV);return e.toString()};r.rja=function(){var a=this.qe()&&this.Md();return $t({"background-position":this.oX(),display:a?null:lk})};r.oX=function(){return(this.gB()?"-100":(this.el()-1)*this.B.y_)+"px 0"};r.b=function(){var a=AC.g.b.call(this);a||(a=this.v().b(this.I()),this.Sa(a));return a};r.ce=function(){var a=this.b();return a?a.firstChild:null};r.Rz=function(){var a=this.ce();return a?a.firstChild:null};r.ru=function(){var a=this.ce();return a?a.childNodes[1]:null};
r.wu=function(){var a=this.ce();return a&&a.lastChild?a.lastChild.previousSibling:null};r.tI=function(){var a=this.ce();return a?a.lastChild:null};r.en=function(){var a=this.b();return a?a.lastChild:null};r.h6=function(a){this.j_=a;this.Y&&this.GE()};r.U5=function(a){this.BW=a;this.Y&&this.GE()};r.jP=function(a){this.Xh(vu(a))};r.getText=function(){return Uq(tu(this.MA))};r.Xh=function(a){this.MA=a;var b=this.wu();b&&Mw(b,a);(a=this.Kd())&&a.z6(this)};r.SI=function(){return tu(this.MA)};
r.d7=function(a){this.W8=a;var b=this.wu();b&&(b.title=a)};r.Ax=function(){var a=this.ce();a&&(a.className=this.ln())};r.Po=function(){var a=this.Rz();a&&(a.className=this.LI());if(a=this.en())a.style.backgroundPosition=this.oX()};r.GE=function(){this.ru().className=this.Lz()};r.qC=function(a){a.target.getAttribute(Xo)==Mg&&this.Md()?this.Kh&&this.toggle():(this.select(),this.Ax())};r.o2=rs;r.Ov=function(a){a.target.getAttribute(Xo)==Mg&&this.Md()||this.Kh&&this.toggle()};
r.tta=function(a){var b=!0;switch(a.keyCode){case 39:if(a.altKey)break;this.Md()&&(this.qe()?this.wi().select():this.je(!0));break;case 37:if(a.altKey)break;if(this.Md()&&this.qe()&&this.Kh)this.je(!1);else{var c=this.getParent(),e=this.Kd();c&&(e.om||c!=e)&&c.select()}break;case 40:(c=this.bY())&&c.select();break;case 38:(c=this.gJ())&&c.select();break;default:b=!1}b&&(a.preventDefault(),(e=this.Kd())&&e.Eda());return b};r.ZI=function(){return this.qe()&&this.Md()?this.VX().ZI():this};
r.bY=function(){if(this.Md()&&this.qe())return this.wi();for(var a=this,b;a!=this.Kd();){b=a.ue;if(null!=b)return b;a=a.getParent()}return null};r.gJ=function(){var a=this.Ii;if(null!=a)return a.ZI();var a=this.getParent(),b=this.Kd();return!b.om&&a==b||this==b?null:a};r.pe=AC.prototype.Eja;r.dO=AC.prototype.Sc;r.mP=function(a){this.No!=a&&(this.No=a,a.z6(this),this.Ua(function(b){b.mP(a)}))};
var zC={y_:19,$ea:"goog-tree-root goog-tree-item",Yea:"goog-tree-hide-root",JG:"goog-tree-item",WU:"goog-tree-children",XU:"goog-tree-children-nolines",dV:"goog-tree-row",KG:"goog-tree-item-label",Gp:"goog-tree-icon",Tea:"goog-tree-expand-icon",aV:"goog-tree-expand-icon-plus",$U:"goog-tree-expand-icon-minus",Xea:"goog-tree-expand-icon-tplus",Wea:"goog-tree-expand-icon-tminus",Vea:"goog-tree-expand-icon-lplus",Uea:"goog-tree-expand-icon-lminus",bV:"goog-tree-expand-icon-t",ZU:"goog-tree-expand-icon-l",
Sy:"goog-tree-expand-icon-blank",IG:Th,HG:Sh,qt:"goog-tree-file-icon",cV:Th,YU:Sh,afa:Km};var CC=function(a,b,c){AC.call(this,a,b,c)};B(CC,AC);CC.prototype.Kd=function(){if(this.No)return this.No;var a=this.getParent();return a&&(a=a.Kd())?(this.mP(a),a):null};CC.prototype.Lz=function(){var a=this.qe(),b=this.BW;if(a&&b)return b;b=this.j_;if(!a&&b)return b;b=this.B;if(this.Md()){if(a&&b.IG)return b.Gp+" "+b.IG;if(!a&&b.HG)return b.Gp+" "+b.HG}else if(b.qt)return b.Gp+" "+b.qt;return""};var DC=function(a){this.wb=void 0;this.zd={};a&&this.Qxa(a)};r=DC.prototype;r.set=function(a,b){this.B6(a,b,!1)};r.add=function(a,b){this.B6(a,b,!0)};r.B6=function(a,b,c){for(var e=this,f=0;f<a.length;f++){var g=a.charAt(f);e.zd[g]||(e.zd[g]=new DC);e=e.zd[g]}if(c&&void 0!==e.wb)throw Error('The collection already contains the key "'+a+'"');e.wb=b};r.Qxa=function(a){var b=av(a);a=$u(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
r.kia=function(a){for(var b=this,c=0;c<a.length;c++)if(b=b.zd[a.charAt(c)],!b)return;return b};r.get=function(a){return(a=this.kia(a))?a.wb:void 0};r.pb=function(){var a=[];this.LY(a);return a};r.LY=function(a){void 0!==this.wb&&a.push(this.wb);for(var b in this.zd)this.zd[b].LY(a)};r.kb=function(a){var b=[];if(a){for(var c=this,e=0;e<a.length;e++){var f=a.charAt(e);if(!c.zd[f])return[];c=c.zd[f]}c.YI(a,b)}else this.YI("",b);return b};
r.YI=function(a,b){void 0!==this.wb&&b.push(a);for(var c in this.zd)this.zd[c].YI(a+c,b)};r.Xb=function(a){return void 0!==this.get(a)};r.oj=function(a){if(this.wb===a)return!0;for(var b in this.zd)if(this.zd[b].oj(a))return!0;return!1};r.clear=function(){this.zd={};this.wb=void 0};
r.remove=function(a){for(var b=this,c=[],e=0;e<a.length;e++){var f=a.charAt(e);if(!b.zd[f])throw Error('The collection does not have the key "'+a+'"');c.push([b,f]);b=b.zd[f]}a=b.wb;for(delete b.wb;0<c.length;)if(f=c.pop(),b=f[0],f=f[1],b.zd[f].bc())delete b.zd[f];else break;return a};r.clone=function(){return new DC(this)};r.xa=function(){return Zu(this.pb())};r.bc=function(){return void 0===this.wb&&gs(this.zd)};var EC=function(){this.Wn=new DC;this.jd="";this.LB=this.TL=null;this.fr=this.Cv=0};r=EC.prototype;r.dna=function(a){var b=!1;switch(a.keyCode){case 40:case 38:a.ctrlKey&&(this.kra(40==a.keyCode?1:-1),b=!0);break;case 8:a=this.jd.length-1;b=!0;0<a?(this.jd=this.jd.substring(0,a),this.L0(this.jd)):0==a?this.jd="":b=!1;break;case 27:this.jd="",b=!0}return b};
r.soa=function(a){var b=!1;a.ctrlKey||a.altKey||(a=String.fromCharCode(a.charCode||a.keyCode).toLowerCase(),(1==a.length&&" "<=a&&"~">=a||"\u0080"<=a&&"\ufffd">=a)&&(" "!=a||this.jd)&&(this.jd+=a,b=this.L0(this.jd)));return b};r.Mza=function(a){var b=a.getText();if(b&&!Dq(ar(b))){var b=b.toLowerCase(),c=this.Wn.get(b);c?c.push(a):this.Wn.set(b,[a])}};
r.W3=function(a){var b=a.getText();if(b&&!Dq(ar(b))){var b=b.toLowerCase(),c=this.Wn.get(b);if(c){for(var e=a.ub(),f=0;f<e;f++)this.W3(a.za(f));Kr(c,a);c.length||this.Wn.remove(b)}}};r.L0=function(a){var b=!1;(a=this.Wn.kb(a))&&a.length&&(this.Cv=this.fr=0,b=this.Wn.get(a[0]),b=this.f5(b))&&(this.TL=a);return b};
r.kra=function(a){var b=!1,c=this.TL;if(c){var b=null,e=!1;if(this.LB){var f=this.fr+a;0<=f&&f<this.LB.length?(this.fr=f,b=this.LB):e=!0}b||(f=this.Cv+a,0<=f&&f<c.length&&(this.Cv=f),c.length>this.Cv&&(b=this.Wn.get(c[this.Cv])),b&&b.length&&e&&(this.fr=-1==a?b.length-1:0));if(b=this.f5(b))this.TL=c}return b};r.f5=function(a){var b;a&&(this.fr<a.length&&(b=a[this.fr],this.LB=a),b&&(b.mw(),b.select()));return!!b};r.clear=function(){this.jd=""};var FC=function(a,b,c){AC.call(this,a,b,c);this.Mw(!0);this.ZO(!0);this.cd=this;this.wx=new EC;this.Bh=this.Rb=null;this.H=Fv("this");this.jI=!1;this.fha=null;this.dx=this.om=this.FP=this.cx=!0;if(H)try{document.execCommand(Ab,!1,!0)}catch(e){Hv(this.H,"Failed to enable background image cache")}};B(FC,AC);r=FC.prototype;r.Kd=function(){return this};r.el=function(){return 0};r.mw=function(){};r.tn=function(){this.jI=!0;T(C(this.b()),"focused");this.cd&&this.cd.select()};
r.Bq=function(){this.jI=!1;DA(C(this.b()),"focused")};r.hasFocus=function(){return this.jI};r.qe=function(){return!this.om||FC.g.qe.call(this)};r.je=function(a){this.om?FC.g.je.call(this,a):this.Mw(a)};r.IX=function(){return Ju};r.ru=function(){var a=this.ce();return a?a.firstChild:null};r.Rz=function(){return null};r.Po=function(){};r.ln=function(){return FC.g.ln.call(this)+(this.om?"":" "+this.B.Yea)};
r.Lz=function(){var a=this.qe(),b=this.BW;if(a&&b)return b;b=this.j_;if(!a&&b)return b;b=this.B;return a&&b.cV?b.Gp+" "+b.cV:!a&&b.YU?b.Gp+" "+b.YU:""};r.Gb=function(a){if(this.cd!=a){var b=!1;this.cd&&(b=this.cd==this.fha,this.cd.ZO(!1));if(this.cd=a)a.ZO(!0),b&&a.select();this.dispatchEvent(Xe)}};r.Ga=function(){return this.cd};r.cP=function(a){this.cx!=a&&(this.cx=a,this.Y&&this.HQ())};
r.HQ=function(){function a(f){var g=f.en();if(g){var h=!c||b==f.getParent()&&!e?f.B.XU:f.B.WU;g.className=h;if(g=f.Rz())g.className=f.LI()}f.Ua(a)}var b=this,c=b.cx,e=b.dx;a(this)};r.S6=function(a){this.dx!=a&&(this.dx=a,this.Y&&this.HQ())};r.rAa=function(a){this.FP!=a&&(this.FP=a,this.Y&&this.HQ())};r.dP=function(a){if(this.om!=a){this.om=a;if(this.Y){var b=this.ce();b&&(b.className=this.ln())}!a&&this.Ga()==this&&this.wi()&&this.Gb(this.wi())}};
r.UA=function(){FC.g.UA.call(this);var a=this.b();C(a,"The DOM element for the tree cannot be null.");rA(a,"tree");S(a,hj,this.wu().id)};r.D=function(){FC.g.D.call(this);var a=this.b();a.className=this.B.$ea;a.setAttribute("hideFocus",Wo);this.op();this.UA()};r.Ra=function(){FC.g.Ra.call(this);this.rj()};r.op=function(){var a=this.b();a.tabIndex=0;var b=this.Rb=new pB(a),c=this.Bh=new MA(a);this.C().o(c,eh,this.Bq).o(c,dh,this.tn).o(b,cj,this.Mc).o(a,Uj,this.zJ).o(a,ef,this.zJ).o(a,Zf,this.zJ)};
r.rj=function(){this.Rb.dispose();this.Rb=null;this.Bh.dispose();this.Bh=null};r.zJ=function(a){Iv(this.H,"Received event "+a.type);var b=this.Pja(a);if(b)switch(a.type){case Uj:b.qC(a);break;case ef:b.o2(a);break;case Zf:b.Ov(a)}};r.Mc=function(a){var b;(b=this.wx.dna(a)||this.cd&&this.cd.tta(a)||this.wx.soa(a))&&a.preventDefault();return b};r.Pja=function(a){for(var b=a.target;null!=b;){if(a=BC[b.id])return a;if(b==this.b())break;b=b.parentNode}return null};
r.createNode=function(a){return new CC(a||Ju,this.B,this.v())};r.z6=function(a){this.wx.Mza(a)};r.removeNode=function(a){this.wx.W3(a)};r.Eda=function(){this.wx.clear()};var GC=zC;var HC=function(a,b){var c=a?N(a):b;U.call(this,c);this.SM=a||this.v().N().body;this.vC={};this.UQ=0;this.qr=this.kt=this.Lk=null;this.S2=this.T2=0;this.Xg=null;this.KN=!0;this.dn=this.ur=!1};B(HC,U);var IC=[Zl,So,mj,Rp,"cssFloat"],JC=[Zl,So,mj,"display","cssFloat","marginTop","marginLeft","marginRight","marginBottom"];r=HC.prototype;r.j=function(){HC.g.j.call(this);this.Ka(this.b())};r.Ka=function(a){HC.g.Ka.call(this,a);C(a);T(a,"goog-scrollfloater")};
r.D=function(){HC.g.D.call(this);this.Xg||(this.Xg=this.v().j(d,{style:"visibility:hidden"}));this.update();this.WO(this.KN);var a=this.v().xb();this.C().o(a,Cm,this.Fq).o(a,tm,this.update)};r.update=function(){if(this.Y){this.Tp();this.Lk&&(this.kt=Jy(this.Lk));var a=wy(this.b());this.qr=Jy(this.b());this.T2=a.y;this.S2=a.x;this.Fq()}};r.A=function(){HC.g.A.call(this);this.Xg=null};r.WO=function(a){(this.KN=a)?(this.vca(),this.Fq()):this.Tp()};
r.Fq=function(){if(this.KN){var a=this.v().Pf().y;if(this.qr.top-a>=this.UQ)this.Tp();else{var b=this.qr.height+this.UQ;if(this.Lk&&a>this.kt.top+this.kt.height-b)this.Iua();else{var c=this.v().Gu().height;this.cC()||b<c?this.ZW(0):this.qr.height+this.T2>c+a?this.Tp():this.ZW(1)}}}};r.Iua=function(){if((!this.dn||this.Tp())&&!this.ur&&this.dispatchEvent("pin")){var a=this.b();this.y8();a.style.position=rm;a.style.top=this.kt.height-this.qr.height-this.qr.top+this.kt.top+p;this.ur=!0}};
r.ZW=function(a){a=0==a;if((!this.ur||this.Tp())&&this.dispatchEvent("float")){var b=Yw(document).x;if(this.dn)this.CDa();else{var c=this.b(),e=wy(c).x,f=Ty(c).width;this.y8();Hy(this.Xg,c.offsetWidth,c.offsetHeight);P(c,{left:e-b+p,width:f+p,cssFloat:lk});c.parentNode==this.SM?c.parentNode.insertBefore(this.Xg,c):(c.parentNode.replaceChild(this.Xg,c),this.SM.appendChild(c));this.cC()?(c.style.position=Ld,c.style.setExpression(So,'document.compatMode=="CSS1Compat"?documentElement.scrollTop:document.body.scrollTop')):
(c.style.position=bh,a?(c.style.top=this.UQ+p,c.style.bottom=Be):(c.style.top=Be,c.style.bottom="0"));this.dn=!0}}};r.Tp=function(){if(!this.dn&&!this.ur||!this.dispatchEvent("dock"))return!1;var a=this.b();this.dn&&(this.z4(),this.cC()&&a.style.removeExpression(So),this.Xg.parentNode==this.SM?this.Xg.parentNode.removeChild(this.Xg):this.Xg.parentNode.replaceChild(a,this.Xg));this.ur&&this.z4();this.dn=this.ur=!1;return!0};
r.CDa=function(){C(this.dn);var a=Yw(document).x;P(this.b(),{left:this.S2-a+p})};r.y8=function(){var a=this.b();this.vC={};D(IC,function(b){this.vC[b]=a.style[b]},this);D(JC,function(b){this.Xg.style[b]=a.style[b]||(a.currentStyle?a.currentStyle[b]:null)||ny(a,b)},this)};r.z4=function(){var a=this.b(),b;for(b in this.vC)a.style[b]=this.vC[b]};r.cC=function(){return H&&!(Rs("7")&&this.v().lv())};
r.vca=function(){if(this.cC()){var a=this.v().N(),a=ty(a);a.currentStyle.backgroundImage==lk&&(a.style.backgroundImage=this.v().xb().location.protocol==ki?"url(https:///)":"url(about:blank)",a.style.backgroundAttachment=bh)}};var KC=function(a){J.call(this);this.Ba=null;this.G=a;a=H||Cs||Fs&&!Rs("531")&&a.tagName==id;this.J=new GA(this);this.J.o(this.G,a?[dj,"paste","cut","drop",Ci]:Ci,this)};B(KC,J);
KC.prototype.handleEvent=function(a){if(a.type==Ci)H&&Rs(10)&&0==a.keyCode&&0==a.charCode||(this.bG(),this.dispatchEvent(this.CU(a)));else if(a.type!=dj||Nz(a)){var b=a.type==dj?this.G.value:null;H&&229==a.keyCode&&(b=null);var c=this.CU(a);this.bG();this.Ba=M(function(){this.Ba=null;this.G.value!=b&&this.dispatchEvent(c)},0,this)}};KC.prototype.bG=function(){null!=this.Ba&&(jw(this.Ba),this.Ba=null)};KC.prototype.CU=function(a){a=new $s(a.ld);a.type=Ci;return a};
KC.prototype.A=function(){KC.g.A.call(this);this.J.dispose();this.bG();delete this.G};var LC=function(a){U.call(this,a)};B(LC,U);r=LC.prototype;r.qd=null;r.Ka=function(a){LC.g.Ka.call(this,a);this.G_()};r.j=function(){this.Sa(this.v().j(qc,{type:Eo}));this.G_()};r.G_=function(){this.jO();this.qd=new KC(this.b());I(this.qd,Ci,this.jO,!1,this)};r.jO=function(){var a=this.b();if(a){var b=this.getValue();switch(Rt(b)){case 1:a.dir=Aj;break;case -1:a.dir=ym;break;default:a.removeAttribute("dir")}}};r.Ej=function(){var a=this.b().dir;""==a&&(a=null);return a};
r.setValue=function(a){var b=this.b();null!=b.value?b.value=a:tx(b,a);this.jO()};r.getValue=function(){var a=this.b();return null!=a.value?a.value:Cx(a)};r.A=function(){this.qd&&(tt(this.qd),this.qd.dispose(),this.qd=null,LC.g.A.call(this))};var MC=function(a,b,c){for(var e=[],f=0;f<c.length;f++){var g=c[f],h=a.toLowerCase(),k=String(g).toLowerCase(),n=0;if(-1!=k.indexOf(h))n=parseInt((k.indexOf(h)/4).toString(),10);else for(var q=h.split(""),u=-1,A=10,ca=0,na;na=q[ca];ca++)na=k.indexOf(na),na>u?(u=na-u-1,u>A-5&&(u=A-5),n+=u,u=na):(n+=A,A+=5);n<6*h.length&&e.push({sCa:g,V4:n,index:f})}e.sort(function(a,b){var c=a.V4-b.V4;return 0!=c?c:a.index-b.index});a=[];for(ca=0;ca<b&&ca<e.length;ca++)a.push(e[ca].sCa);return a};var NC=function(a,b,c){J.call(this);this.Bv=a;this.Td=c;this.O=b;I(b,["hilite",Hm,"canceldismiss",hg],this.handleEvent,!1,this);this.L=null;this.Lb=[];this.Mj=-1;this.lf=0;this.Jf=this.gb=null;this.O_={}};B(NC,J);r=NC.prototype;r.asa=10;r.YS=!0;r.pS=!1;r.p$=!1;r.i9=!1;r.getToken=function(){return this.L};
r.handleEvent=function(a){var b=this.Bv;if(a.target==this.O)switch(a.type){case "hilite":this.Lj(a.row);break;case Hm:var c=!1;if(jq(a.row)){a=a.row;var e=this.Lb[this.su(a)],c=!!e&&b.XK&&b.XK(e);e&&!c&&this.Mj!=a&&this.Lj(a)}c||this.nD();break;case "canceldismiss":this.ZF();break;case hg:this.lH()}};r.Yxa=function(a){this.YS=a};r.MAa=function(a,b){this.L!=a&&(this.L=a,this.Bv.Gwa(this.L,this.asa,y(this.$ra,this),b),this.ZF())};r.KAa=function(a){this.gb=a};r.fe=function(){return this.O.R()};
r.dK=function(){for(var a=this.lf+this.Lb.length-1,b=this.Mj,c=0;c<this.Lb.length;c++){if(b>=this.lf&&b<a)b++;else if(-1==b)b=this.lf;else if(this.pS&&b==a){this.Lj(-1);break}else if(this.p$&&b==a)b=this.lf;else break;if(this.Lj(b))return!0}return!1};r.b_=function(){for(var a=this.lf+this.Lb.length-1,b=this.Mj,c=0;c<this.Lb.length;c++){if(b>this.lf)b--;else if(this.pS&&b==this.lf){this.Lj(-1);break}else if(!this.p$||-1!=b&&b!=this.lf)break;else b=a;if(this.Lj(b))return!0}return!1};
r.Lj=function(a){var b=this.su(a),c=this.Lb[b];return c&&this.Bv.XK&&this.Bv.XK(c)?!1:(this.Mj=a,this.O.Lj(a),-1!=b)};r.nD=function(){var a=this.su(this.Mj);if(-1!=a){var b=this.Lb[a],c=this.Td.QN(b);this.i9?(this.L=null,this.lH()):this.mi();c||(this.dispatchEvent({type:"update",row:b,index:a}),this.i9&&this.Td.update(!0));return!0}this.mi();this.dispatchEvent({type:"update",row:null,index:null});return!1};r.Koa=function(){return this.fe()&&-1!=this.su(this.Mj)};
r.mi=function(){this.Mj=-1;this.L=null;this.lf+=this.Lb.length;this.Lb=[];window.clearTimeout(this.Jf);this.Jf=null;this.O.mi();this.dispatchEvent(xo);this.dispatchEvent(hg)};r.lH=function(){this.Jf||(this.Jf=window.setTimeout(y(this.mi,this),100))};r.u_=function(){return this.Jf?(window.clearTimeout(this.Jf),this.Jf=null,!0):!1};r.ZF=function(){this.u_()||window.setTimeout(y(this.u_,this),10)};r.A=function(){NC.g.A.call(this);delete this.O_;this.O.dispose();this.Td.dispose();this.Bv=null};
r.$ra=function(a,b,c){this.L==a&&this.qN(b,c)};r.qN=function(a,b){var c=fq(b)==qk&&b,e=(c?c.dNa():b)?this.su(this.Mj):-1;this.lf+=this.Lb.length;this.Lb=a;for(var f=[],g=0;g<a.length;++g)f.push({id:this.SX(g),data:a[g]});g=null;this.gb&&(g=this.O_[oq(this.gb)]||this.gb);this.O.em(g);this.O.qN(f,this.L,this.gb);g=this.YS;c&&void 0!==c.$ha()&&(g=c.$ha());this.Mj=-1;(g||0<=e)&&0!=f.length&&this.L&&(0<=e?this.Lj(this.SX(e)):this.dK());this.dispatchEvent(xo)};
r.su=function(a){a-=this.lf;return 0>a||a>=this.Lb.length?-1:a};r.SX=function(a){return this.lf+a};r.update=function(a){this.Td.update(a)};var QC=function(a,b){var c=0,e=0;if(OC(a))c=a.selectionStart,e=b?-1:a.selectionEnd;else if(H){var f=PC(a),g=f[0],f=f[1];if(g.inRange(f)){g.setEndPoint("EndToStart",f);if(a.type==Ho){for(var c=f.duplicate(),h=g.text,e=h,k=f=c.text,n=!1;!n;)0==g.compareEndPoints("StartToEnd",g)?n=!0:(g.moveEnd($e,-1),g.text==h?e+="\r\n":n=!0);if(b)g=[e.length,-1];else{for(g=!1;!g;)0==c.compareEndPoints("StartToEnd",c)?g=!0:(c.moveEnd($e,-1),c.text==f?k+="\r\n":g=!0);g=[e.length,e.length+k.length]}return g}c=g.text.length;
e=b?-1:g.text.length+f.text.length}}return[c,e]},PC=function(a){var b=a.ownerDocument||a.document,c=b.selection.createRange();a.type==Ho?(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]},RC=function(a,b){a.type==Ho&&(b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g,"\n").length);return b},OC=function(a){try{return typeof a.selectionStart==pk}catch(b){return!1}};var SC=function(a,b,c,e){E.call(this);e=e||150;this.kr=null!=c?c:!0;this.lAa(a||",;");this.Vj=b||"";this.fva=!1;this.eva=this.kr;this.Ba=0<e?new iw(e):null;this.Zd=new GA(this);this.kF=new GA(this);this.Rb=new pB;this.U0=-1};B(SC,E);var TC=(kC||lC)&&!Rs("533.17.9");r=SC.prototype;r.JEa=!0;r.Qha=!0;r.L9=!1;r.Gxa=!0;r.Fxa=!0;r.mF=null;r.fc=null;r.uL="";r.wm=!1;r.EN=!1;r.BDa=!0;r.Hca=function(a){this.Pb=a};r.ju=function(){return this.fc};r.getValue=function(){return this.fc.value};
r.setValue=function(a){this.fc.value=a};r.wX=function(){return QC(this.fc,!0)[0]};r.uya=function(a){var b=this.fc,c=a;if(OC(b))b.selectionStart=c;else if(H){var e=PC(b),f=e[0];f.inRange(e[1])&&(c=RC(b,c),f.collapse(!0),f.move($e,c),f.select())}b=this.fc;OC(b)?b.selectionEnd=a:H&&(e=PC(b),c=e[1],e[0].inRange(c)&&(a=RC(b,a),b=RC(b,QC(b,!0)[0]),c.collapse(!0),c.moveEnd($e,a-b),c.select()))};
r.PS=function(a){qx(a)&&(rA(a,jf),S(a,Ce,oj));this.Zd.o(a,ch,this.nf);this.Zd.o(a,Ke,this.Jg);if(!this.fc&&(this.kF.o(a,dj,this.uta),qx(a))){var b=Ow(a);Fx(b)==a&&this.w3(a)}};r.QN=function(a,b){this.fc&&this.NAa(a.toString(),b);return!1};
r.NAa=function(a,b){if(v(b)?b:this.kr){var c=this.CY(this.getValue(),this.wX()),e=this.UP(this.getValue()),f=a;this.Exa.test(f)||(f=f.replace(/[\s\xa0]+$/,"")+this.ifa);this.JEa&&(0==c||Dq(e[c-1])||(f=" "+f),c==e.length-1&&(f+=" "));if(f!=e[c]){e[c]=f;f=this.fc;(Es||H&&Rs("9"))&&f.blur();f.value=e.join("");for(var g=0,h=0;h<=c;h++)g+=e[h].length;f.focus();this.uya(g)}}else this.setValue(a);this.EN=!0};
r.A=function(){SC.g.A.call(this);null!=this.mF&&window.clearTimeout(this.mF);this.Zd.dispose();delete this.Zd;this.kF.dispose();this.Rb.dispose();F(this.Ba)};r.lAa=function(a,b){this.Bw=a;this.ifa=null!=b?b:this.Bw.substring(0,1);var c=this.kr?"[\\s"+this.Bw+"]+":"[\\s]+";this.k9=new RegExp("^"+c+"|"+c+"$","g");this.Exa=new RegExp("\\s*["+this.Bw+"]$")};
r.Mc=function(a){switch(a.keyCode){case 40:if(this.Pb.fe())return this.gM(),a.preventDefault(),!0;if(!this.kr)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.Pb.fe())return this.jM(),a.preventDefault(),!0;break;case 9:if(!this.Pb.fe()||a.shiftKey||this.fva)this.Pb.mi();else if(this.update(),this.Pb.nD()&&this.eva)return a.preventDefault(),!0;break;case 13:if(this.Pb.fe()){if(this.update(),this.Pb.nD())return a.preventDefault(),a.stopPropagation(),!0}else this.Pb.mi();break;case 27:if(this.Pb.fe())return this.Pb.mi(),
a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.wm)return this.nCa(),!0;break;default:this.Ba&&!this.BDa&&(this.Ba.stop(),this.Ba.start())}return this.vZ(a)};r.vZ=function(a){var b=this.kr&&a.charCode&&-1!=this.Bw.indexOf(String.fromCharCode(a.charCode));this.Gxa&&b&&this.update();return this.Fxa&&b&&this.Pb.nD()?(a.preventDefault(),!0):!1};r.Dma=function(){return!1};
r.xba=function(){this.Rb.Wd(this.fc);this.Zd.o(this.Rb,cj,this.$n);this.Zd.o(this.fc,Uj,this.A2);H&&this.Zd.o(this.fc,ej,this.x2)};r.Tva=function(){this.Zd.Ca(this.Rb,cj,this.$n);this.Rb.detach();this.Zd.Ca(this.fc,fj,this.Dma);this.Zd.Ca(this.fc,Uj,this.A2);H&&this.Zd.Ca(this.fc,ej,this.x2);this.wm&&this.bQ()};r.nf=function(a){this.w3(a.target||null)};
r.w3=function(a){this.kF.removeAll();this.Pb&&this.Pb.ZF();a!=this.fc&&(this.fc=a,this.Ba&&(this.Ba.start(),this.Zd.o(this.Ba,Ko,this.pr)),this.uL=this.getValue(),this.xba())};r.Jg=function(){TC?this.mF=window.setTimeout(y(this.t3,this),0):this.t3()};r.t3=function(){this.fc&&(this.Tva(),this.fc=null,this.Ba&&(this.Ba.stop(),this.Zd.Ca(this.Ba,Ko,this.pr)),this.Pb&&this.Pb.lH())};r.pr=function(){this.update()};r.uta=function(a){this.nf(a)};r.$n=function(a){this.U0=a.keyCode;this.Pb&&this.Mc(a)};
r.y2=function(){this.wm&&229!=this.U0&&this.bQ()};r.z2=function(a){this.wm&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&this.bQ()};r.A2=function(a){this.Pb&&this.Yc(a)};r.Yc=function(){};r.nCa=function(){this.wm||(this.Zd.o(this.fc,fj,this.z2),this.Zd.o(this.fc,ej,this.y2),this.wm=!0)};r.bQ=function(){this.wm&&(this.wm=!1,this.Zd.Ca(this.fc,ej,this.y2),this.Zd.Ca(this.fc,fj,this.z2))};r.x2=function(a){this.vZ(a)};
r.update=function(a){if(this.fc&&(a||this.getValue()!=this.uL)){if(a||!this.EN)a=this.Bua(),this.Pb&&(this.Pb.KAa(this.fc),this.Pb.MAa(a,this.getValue()));this.uL=this.getValue()}this.EN=!1};r.Bua=function(){return this.Cua()};r.jM=function(){return this.L9?this.Pb.dK():this.Pb.b_()};r.gM=function(){return this.L9?this.Pb.b_():this.Pb.dK()};r.Cua=function(){var a=this.wX(),b=this.getValue();return this.mDa(this.UP(b)[this.CY(b,a)])};r.mDa=function(a){return this.k9?String(a).replace(this.k9,""):a};
r.CY=function(a,b){var c=this.UP(a);if(b==a.length)return c.length-1;for(var e=0,f=0,g=0;f<c.length&&g<=b;f++)g+=c[f].length,e=f;return e};r.UP=function(a){if(!this.kr)return[a];a=String(a).split("");for(var b=[],c=[],e=0,f=!1;e<a.length;e++)this.Vj&&-1!=this.Vj.indexOf(a[e])?(this.Qha&&!f&&(b.push(c.join("")),c.length=0),c.push(a[e]),f=!f):f||-1==this.Bw.indexOf(a[e])?c.push(a[e]):(c.push(a[e]),b.push(c.join("")),c.length=0);b.push(c.join(""));return b};var UC=function(a,b,c,e){J.call(this);this.ia=a||document.body;this.ba=N(this.ia);this.Er=!a;this.G=null;this.L="";this.Lb=[];this.to=[];this.m8=this.LA=-1;this.Hb=!1;this.className="ac-renderer";this.eD="ac-row";this.b1=Nd;this.VR="ac-active";this.apa="ac-highlighted";this.Ip=b||null;this.qEa=null!=e?e:!0;this.C1=!0;this.KA=!1;this.Twa=!!c;this.uE=!1;this.RB=0;this.O7=!1};B(UC,J);r=UC.prototype;r.b=function(){return this.G};r.wza=function(a){this.C1=a};r.em=function(a){this.fj=a};
r.qN=function(a,b,c){this.L=b;this.Lb=a;this.LA=-1;this.m8=z();this.gb=c;this.to=[];this.kN()};r.mi=function(){this.Hb&&(this.Hb=!1,this.S8(!1),0<this.RB?(F(this.Am),this.Am=new pz(this.G,this.RB),this.Am.play()):Q(this.G,!1))};r.show=function(){this.Hb||(this.Hb=!0,this.S8(!0),0<this.RB?(F(this.Am),this.Am=new qz(this.G,this.RB),this.Am.play()):Q(this.G,!0))};r.S8=function(a){this.gb&&(S(this.gb,Zh,a),S(C(this.G),Ng,a),S(this.gb,Ng,a),a?S(this.gb,Tk,this.G.id):(tA(this.gb,Tk),wA(this.gb,null)))};
r.R=function(){return this.Hb};r.c_=function(a){var b=0<=a&&a<this.Lb.length?this.Lb[a]:void 0,c=0<=a&&a<this.to.length?this.to[a]:void 0;this.dispatchEvent({type:"rowhilite",zNa:c,row:b?b.data:null})&&(this.bpa(),this.LA=a,c&&(CA(c,[this.VR,this.b1]),this.gb&&wA(this.gb,c),By(c,this.G)))};r.bpa=function(){0<=this.LA&&EA(C(this.to[this.LA]),[this.VR,this.b1])};r.Lj=function(a){if(-1==a)this.c_(-1);else for(var b=0;b<this.Lb.length;b++)if(this.Lb[b].id==a){this.c_(b);break}};
r.Dza=function(a){C(a);CA(a,Fq(this.className).split(" "))};r.esa=function(){if(!this.G){var a=this.ba.j(d,{style:"display:none"});this.O7&&(a.style.overflowY=Be);this.G=a;this.Dza(a);rA(a,pj);a.id=NA.K().Jd();this.ba.appendChild(this.ia,a);I(a,ef,this.rn,!1,this);I(a,Uj,this.zA,!1,this);I(a,Xj,this.oZ,!1,this)}};
r.kN=function(){this.esa();this.uE&&(this.G.style.visibility=ai);this.KEa&&(this.G.style.minWidth=this.KEa.clientWidth+p);this.to.length=0;this.ba.wf(this.G);if(this.Ip&&this.Ip.Z)this.Ip.Z(this,this.G,this.Lb,this.L);else{var a=null;D(this.Lb,function(b){b=this.vwa(b,this.L);this.uE?this.G.insertBefore(b,a):this.ba.appendChild(this.G,b);a=b},this)}0==this.Lb.length?this.mi():(this.show(),this.oa(),Py(this.G,!0))};r.Xha=function(){var a=this.Twa?5:1;this.uE&&(a^=1);return a};
r.oa=function(){if(this.gb&&this.Er){var a=this.fj||this.gb,b=this.Xha(),c=65;this.O7&&(this.G.style.height="",c|=32);mA(a,b,this.G,b^1,null,null,c);this.uE&&(this.G.style.visibility=Mp)}};r.A=function(){this.G&&(rt(this.G,ef,this.rn,!1,this),rt(this.G,Uj,this.zA,!1,this),rt(this.G,Xj,this.oZ,!1,this),this.ba.removeNode(this.G),this.G=null,this.Hb=!1);F(this.Am);this.ia=null;UC.g.A.call(this)};r.uwa=function(a,b,c){tx(c,a.data.toString())};r.iCa=function(a,b){this.k$=!1;this.cK(a,b)};
r.cK=function(a,b){if(this.KA||!this.k$)if(3==a.nodeType){var c=null;gq(b)&&1<b.length&&!this.KA&&(c=Pr(b,1));var e=this.Nka(b);if(0!=e.length){for(var f=a.nodeValue,g=this.C1?new RegExp("\\b(?:"+e+")","gi"):new RegExp(e,"gi"),e=[],h=0,k=g.exec(f),n=0;k;)n++,e.push(f.substring(h,k.index)),e.push(f.substring(k.index,g.lastIndex)),h=g.lastIndex,k=g.exec(f);e.push(f.substring(h));if(1<e.length){c=this.KA?n:1;for(f=0;f<c;f++)g=2*f,a.nodeValue=e[g],h=this.ba.createElement("B"),h.className=this.apa,this.ba.appendChild(h,
this.ba.createTextNode(e[g+1])),h=a.parentNode.insertBefore(h,a.nextSibling),a.parentNode.insertBefore(this.ba.createTextNode(""),h.nextSibling),a=h.nextSibling;e=Pr(e,2*c);a.nodeValue=e.join("");this.k$=!0}else c&&this.cK(a,c)}}else for(e=a.firstChild;e;)c=e.nextSibling,this.cK(e,b),e=c};
r.Nka=function(a){var b="";if(!a)return b;gq(a)&&(a=wr(a,function(a){return!Dq(ar(a))}));this.KA?gq(a)?b=xr(a,Xq).join("|"):(b=a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,""),b=Xq(b),b=b.replace(/ /g,"|")):gq(a)?b=0<a.length?Xq(a[0]):"":/^\W/.test(a)||(b=Xq(a));return b};r.vwa=function(a,b){var c=this.ba.j(d,{className:this.eD,id:NA.K().Jd()});rA(c,Kk);this.Ip&&this.Ip.twa?this.Ip.twa(a,b,c):this.uwa(a,b,c);b&&this.qEa&&this.iCa(c,b);T(c,this.eD);this.to.push(c);return c};
r.pY=function(a){for(;a&&a!=this.G&&!BA(a,this.eD);)a=a.parentNode;return a?sr(this.to,a):-1};r.rn=function(a){var b=this.pY(a.target);0<=b&&this.dispatchEvent({type:Hm,row:this.Lb[b].id});a.stopPropagation()};r.zA=function(a){a.stopPropagation();a.preventDefault()};r.oZ=function(a){a=this.pY(a.target);0<=a&&!(300>z()-this.m8)&&this.dispatchEvent({type:"hilite",row:this.Lb[a].id})};var VC=function(a,b,c){E.call(this);this.$f=null!=c?y(a,c):a;this.Le=b;this.Vc=y(this.Pta,this);this.CF=[]};B(VC,E);r=VC.prototype;r.ds=!1;r.Tv=0;r.Ba=null;r.Yt=function(a){this.CF=arguments;this.Ba||this.Tv?this.ds=!0:this.Sp()};r.stop=function(){this.Ba&&(jw(this.Ba),this.Ba=null,this.ds=!1,this.CF=[])};r.pause=function(){this.Tv++};r.resume=function(){this.Tv--;this.Tv||!this.ds||this.Ba||(this.ds=!1,this.Sp())};r.A=function(){VC.g.A.call(this);this.stop()};
r.Pta=function(){this.Ba=null;this.ds&&!this.Tv&&(this.ds=!1,this.Sp())};r.Sp=function(){this.Ba=M(this.Vc,this.Le);this.$f.apply(null,this.CF)};var WC=function(){};B(WC,sC);eq(WC);var XC=[];r=WC.prototype;r.M=function(a){return a&&a.firstChild.firstChild.firstChild.lastChild};r.nt=function(a,b){var c=this.Sf();return b.j(d,Ah+(c+Ba),b.j(d,Ah+(c+xa),b.j(d,c+"-pos",b.j(d,c+"-top-shadow","\u00a0"),b.j(d,c+ta,a))))};r.LZ=function(a,b){var c=this.Sf(),e=a.v().gn(b);return e&&BA(e,c+Ba)&&(e=a.v().gn(e))&&BA(e,c+xa)&&(e=a.v().gn(e))&&BA(e,c+"-pos")&&(e=a.v().gn(e))&&BA(e,c+"-top-shadow")&&(e=a.v().Nja(e))&&BA(e,c+ta)?!0:!1};r.V=function(){return th};
r.Sf=function(){return"goog-button-base"};r.TX=function(){return XC};wB(th,function(){return new rC(null,WC.K())});var YC={ENa:!0},ZC={HNa:!0},$C={GNa:!0},aD={CNa:!0},bD={FNa:!0},cD=function(){throw Error("Do not instantiate directly");};cD.prototype.li=null;cD.prototype.Jb=function(){return this.content};cD.prototype.toString=function(){return this.content};
cD.prototype.sk=function(){if(this.bf===bD)return vu(this.toString());if(this.bf!==YC)throw Error("Sanitized content was not of kind TEXT or HTML.");return Lu(Vt("Soy SanitizedContent of kind HTML produces SafeHtml-contract-compliant value."),this.toString(),this.li)};var dD=function(){cD.call(this)};B(dD,cD);var eD=function(){cD.call(this)};B(eD,cD);var hD=function(a,b,c,e){C(b,bd);a.innerHTML=fD(b(c||gD,void 0,e))},jD=function(a,b,c,e){C(a,bd);e=e||N();a=a(b||gD,void 0,c);b=fD(a);iD(b);a=a instanceof cD?a.sk():gy(b);return e.Th(a)},kD=function(a,b,c,e){C(a,bd);a:if(a=a(b||gD,void 0,c),e=(e||N()).createElement(d),a=fD(a),iD(a),e.innerHTML=a,1==e.childNodes.length&&(a=e.firstChild,1==a.nodeType)){e=a;break a}return e},fD=function(a){if(!lq(a))return String(a);if(a instanceof cD){if(a.bf===YC)return lr(a.Jb());if(a.bf===bD)return Qq(a.Jb())}jr("Soy template output is unsafe for use as HTML: "+
a);return"zSoyz"},iD=function(a){var b=a.match(lD);C(!b,"This template starts with a %s, which cannot be a child of a <div>, as required by soy internals. Consider using goog.soy.renderElement instead.\nTemplate output: %s",b&&b[0],a)},lD=/^<(body|caption|col|colgroup|head|html|tr|td|th|tbody|thead|tfoot)>/i,gD={};var oD=function(a){return Uq(Fq(a.replace(mD,function(a,c){return nD.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))},nD=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,mD=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;var pD=function(a,b){this.Ae=a;this.Afa=!!b;this.ES={0:this.Ae+"-arrowright",1:this.Ae+"-arrowup",2:this.Ae+"-arrowdown",3:this.Ae+"-arrowleft"}};B(pD,jB);r=pD.prototype;r.b0=!1;r.DF=2;r.GS=20;r.oy=3;r.f$=null;r.wM=-5;r.yF=!1;r.em=function(a){this.fj=a};r.setPosition=function(a,b,c,e){null!=a&&(this.oy=a);null!=b&&(this.DF=b);jq(c)&&(this.GS=Math.max(c,15));jq(e)&&(this.wM=e)};r.pO=function(a,b){this.ii=a;this.FS=b};r.gya=function(a){this.yF=a};
r.oa=function(a,b,c){C(this.FS,"Must call setElements first.");this.Er(this.oy,this.Lia(this.oy,this.DF),this.Mia(),0,c)};r.Mia=function(){return 2==this.DF?qD(this.oy)?this.ii.offsetHeight/2:this.ii.offsetWidth/2:this.GS};r.Lia=function(a,b){2==b&&(b=0);return b};r.Fw=function(a){this.b0=a};
r.Er=function(a,b,c,e,f){if(this.fj){var g=rD(a,b),h;h=this.fj;var k=this.ii,n=this.f$,q=Iy(h);a:{var q=(qD(a)?q.height/2:q.width/2)-c,u=kA(h,g);if(n)n=n.clone(),k&&(k=jA(k),n.left+=k.x,n.right+=k.x,n.top+=k.y,n.bottom+=k.y);else if(n=xy(h),!n){h=q;break a}h=Jy(h).VCa();qD(a)?h.top<n.top&&!(u&1)?q-=n.top-h.top:h.bottom>n.bottom&&u&1&&(q-=h.bottom-n.bottom):h.left<n.left&&!(u&4)?q-=n.left-h.left:h.right>n.right&&u&4&&(q-=h.right-n.right);h=q}h=qD(a)?new Fw(this.wM,h):new Fw(h,this.wM);q=qD(a)?6:9;
this.yF&&2==e&&(q=qD(a)?4:1);u=a^3;qD(a)&&this.fj.dir==ym&&(u=a);g=mA(this.fj,rD(u,b),this.ii,g,h,f,this.b0?q:0,void 0,this.f$);if(2!=e&&g&496){this.Er(a^3,b,c,this.yF&&0==e?1:2,f);return}!this.Afa||g&496||(e=parseFloat(this.ii.style.left),f=parseFloat(this.ii.style.top),C(!isNaN(e)&&!isNaN(f),"Could not parse position."),isFinite(e)&&0==e%1&&isFinite(f)&&0==f%1||ry(this.ii,Math.round(e),Math.round(f)))}this.Rua(a,b,c)};
r.Rua=function(a,b,c){var e=this.FS;Wr(this.ES,function(a){FA(e,a,!1)},this);T(e,this.ES[a]);e.style.top=e.style.left=e.style.right=e.style.bottom="";this.fj?(b=Dy(this.fj,this.ii),c=sD(this.fj,a),qD(a)?e.style.top=tD(b.y+c.y,15,this.ii.offsetHeight-15)+p:e.style.left=tD(b.x+c.x,15,this.ii.offsetWidth-15)+p):e.style[0==b?qD(a)?So:mj:qD(a)?Oe:um]=c+p};
var tD=function(a,b,c){return b>c?b:Math.min(Math.max(a,b),c)},rD=function(a,b){switch(a){case 2:return 0==b?1:5;case 1:return 0==b?0:4;case 0:return 0==b?12:13;default:return 0==b?8:9}},sD=function(a,b){var c=0,e=0,f=Iy(a);switch(b){case 2:c=f.width/2;break;case 1:c=f.width/2;e=f.height;break;case 0:e=f.height/2;break;case 3:c=f.width,e=f.height/2}return new Fw(c,e)},qD=function(a){return 0==a||3==a};var uD=function(a){E.call(this);this.dom=a||N()};B(uD,E);uD.prototype.A_=function(){rA(this.b(),this.Fd());S(this.b(),tj,Xl)};uD.prototype.Fd=function(){return"tooltip"};var vD=function(a){uD.call(this,a);this.Yb=this.dom.j(m,"jfk-tooltip-contentId");this.EF=this.dom.j(m,"jfk-tooltip-arrow",this.dom.j(m,"jfk-tooltip-arrowimplbefore"),this.dom.j(m,"jfk-tooltip-arrowimplafter"));this.sQ=this.dom.j(m,{"class":Ri,role:"tooltip"},this.Yb,this.EF);this.A_()};B(vD,uD);vD.prototype.b=function(){return this.sQ};vD.prototype.M=function(){return this.Yb};vD.prototype.A=function(){this.sQ&&kx(this.sQ)};var wD=function(a){vD.call(this,a)};B(wD,vD);wD.prototype.A_=function(){rA(this.b(),this.Fd())};var zD=function(a){a=a||N();var b=oq(a.N());xD[b]||(xD[b]=new yD(a))},BD=function(a,b,c){AD(a,b,c)},AD=function(a,b,c){c||(c=b instanceof su?oD(tu(b)):b);a.removeAttribute(No);a.removeAttribute(Yf);a.removeAttribute(Xf);b?(b instanceof su?a.sv=b:(a.setAttribute(Xf,b),a.sv=null),a.setAttribute(te,c)):(a.sv=null,a.removeAttribute(te));zD(N(a))},xD={},yD=function(a){GA.call(this);this.P=a;this.zg=new $y(this.RCa,0,this);this.ha(this.zg);var b=Zw();this.ZB=kq(b.MutationObserver)?new b.MutationObserver(y(this.rla,
this)):null;a=a.N();this.o(a,[Wj,Uj,ef,Ke,Zs,dj],this.zda,!0);this.o(a,[Xj,ch,Ys],this.Nxa,!0)};B(yD,GA);r=yD.prototype;r.A=function(){this.RT();yD.g.A.call(this)};r.a9=function(a){switch(a.type){case Uj:case Xj:case Wj:case ef:this.o0=!1;break;case dj:this.o0=!0}};
r.Nxa=function(a){this.ZB&&this.ZB.disconnect();this.a9(a);var b=a.target;a=a.type==ch||a.type==Ys;var c=this.sb&&rx(this.sb.M(),b);if(this.o0||!a||c){this.mqa=a;if(a=b&&b.getAttribute&&this.ZB)a=b.getAttribute(vm)||null,a=Fr(qA,a);a&&(this.Vsa(b),(a=vA(b))&&(b=a));this.wc=b}else this.wc=null;this.xN()};r.Vsa=function(a){this.ZB.observe(a,{attributes:!0})};r.zda=function(a){this.a9(a);var b=a.target;a=a.type==Uj||a.type==ef;b=this.sb&&rx(this.sb.M(),b);a&&b||(this.wc=null,this.xN())};
r.rla=function(a){D(a,y(function(a){var c=vA(a.target);c&&"aria-activedescendant"==a.attributeName&&(this.wc=c,this.xN())},this))};r.xN=function(){this.RT();this.zg.start(this.Ai?50:300)};r.RT=function(){this.kD&&(jw(this.kD),this.kD=0,this.Ai=null)};
r.RCa=function(){if(!this.wc)this.YZ();else if(!(this.Ai&&this.sb&&rx(this.sb.b(),this.wc))||this.Ai.getAttribute("data-tooltip-unhoverable")){var a=Dx(this.wc,function(a){return a.getAttribute&&(a.getAttribute(Yf)||a.getAttribute(Xf)||a.sv)&&!a.getAttribute("data-tooltip-suspended")},!0),b=!1;this.Ai&&this.Ai!=a&&(this.YZ(),b=!0);if(!this.Ai&&a&&(this.Ai=a,this.rBa(a))){var c=Ju;if(a.getAttribute(Yf))for(var e=Rw("jfk-tooltip-data",a),f=0;f<e.length;f++){if(e[f].parentNode==a){c=e[f].cloneNode(!0);
break}}else c=a.sv?a.sv:wu(a.getAttribute(Xf));var e=a.getAttribute("data-tooltip-align"),f=a.getAttribute("data-tooltip-class"),g=a.getAttribute("data-tooltip-offset"),g=Dq(ar(g))?-1:Number(g);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.kD=M(sq(this.R7,this.Ai,c,e,g,f),a,this);return}this.R7(this.Ai,c,e,g,f)}}};
r.rBa=function(a){return a.getAttribute("data-tooltip-only-on-overflow")&&a.offsetWidth>=a.scrollWidth&&a.offsetHeight>=a.scrollHeight||this.mqa&&"mouse"==a.getAttribute("data-tooltip-trigger")?!1:!0};var CD=function(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1};
yD.prototype.R7=function(a,b,c,e,f){this.kD=0;if(!this.sb){this.sb=new wD(this.P);this.ZZ();var g=this.P.N().body,h=this.sb.b();g.appendChild(h);this.ha(this.sb);this.xs=new pD(Ri,!0);this.xs.Fw(!0);this.xs.gya(!0);this.xs.pO(this.sb.b(),this.sb.EF)}a:{if(c)switch(c.toLowerCase().split(",")[1]){case "l":g=0;break a;case "r":g=1;break a}g=2}this.xs.setPosition(CD(c),g,void 0,e);DA(this.sb.b(),Si);this.tE!=f&&(this.tE&&!Dq(ar(this.tE))&&DA(this.sb.b(),this.tE),Dq(ar(f))||T(this.sb.b(),f),this.tE=f);
ry(this.sb.b(),0,0);if(b instanceof su)Mw(this.sb.M(),b);else for(gx(this.sb.M());c=b.firstChild;)this.sb.M().appendChild(c);this.xs.em(a);this.xs.oa(null,0)};yD.prototype.ZZ=function(){this.sb&&T(this.sb.b(),Si)};yD.prototype.YZ=function(){this.ZZ();this.Ai=null};var DD=function(a,b,c){this.C3=null;C(a.length==b.length,"rangeArray and valueArray must have the same length.");this.rCa(a,c);this.values=b};DD.prototype.rCa=function(a,b){this.C3=a;for(var c=1;c<a.length;c++)null==a[c]?a[c]=a[c-1]+1:b&&(a[c]+=a[c-1])};DD.prototype.Gca=function(a){a=this.nja(a);return 0>a?null:this.values[a]};DD.prototype.nja=function(a){for(var b=this.C3,c=0,e=b.length;8<e-c;){var f=e+c>>1;b[f]<=a?c=f:e=f}for(;c<e&&!(a<b[c]);++c);return c-1};var ED=null,FD=function(a){if(44032<=a&&55203>=a)return 16==a%28?10:11;ED||(ED=new DD([0,10,1,2,1,18,95,33,13,1,594,112,275,7,263,45,1,1,1,2,1,2,1,1,56,5,11,11,48,21,16,1,101,7,1,1,6,2,2,1,4,33,1,1,1,30,27,91,11,58,9,34,4,1,9,1,3,1,5,43,3,136,31,1,17,37,1,1,1,1,3,8,4,1,2,1,7,8,2,2,21,8,1,2,17,39,1,1,1,2,6,6,1,9,5,4,2,2,12,2,15,2,1,17,39,2,3,12,4,8,6,17,2,3,14,1,17,39,1,1,3,8,4,1,20,2,29,1,2,17,39,1,1,2,1,6,6,9,6,4,2,2,13,1,16,1,18,41,1,1,1,12,1,9,1,41,3,17,37,4,3,5,7,8,3,2,8,2,30,2,17,39,1,1,1,1,
2,1,3,1,5,1,8,9,1,3,2,30,2,17,38,3,1,2,5,7,1,9,1,10,2,30,2,22,48,5,1,2,6,7,19,2,13,46,2,1,1,1,6,1,12,8,50,46,2,1,1,1,9,11,6,14,2,58,2,27,1,1,1,1,1,4,2,49,14,1,4,1,1,2,5,48,9,1,57,33,12,4,1,6,1,2,2,2,1,16,2,4,2,2,4,3,1,3,2,7,3,4,13,1,1,1,2,6,1,1,14,1,98,96,72,88,349,3,931,15,2,1,14,15,2,1,14,15,2,15,15,14,35,17,2,1,7,8,1,2,9,1,1,9,1,45,3,155,1,87,31,3,4,2,9,1,6,3,20,19,29,44,9,3,2,1,69,23,2,3,4,45,6,2,1,1,1,8,1,1,1,2,8,6,13,128,4,1,14,33,1,1,5,1,1,5,1,1,1,7,31,9,12,2,1,7,23,1,4,2,2,2,2,2,11,3,2,36,
2,1,1,2,3,1,1,3,2,12,36,8,8,2,2,21,3,128,3,1,13,1,7,4,1,4,2,1,203,64,523,1,2,2,24,7,49,16,96,33,3070,3,141,1,96,32,554,6,105,2,30164,4,1,10,33,1,80,2,272,1,3,1,4,1,23,2,2,1,24,30,4,4,3,8,1,1,13,2,16,34,16,1,27,18,24,24,4,8,2,23,11,1,1,12,32,3,1,5,3,3,36,1,2,4,2,1,3,1,69,35,6,2,2,2,2,12,1,8,1,1,18,16,1,3,6,1,5,48,1,1,3,2,2,5,2,1,1,32,9,1,2,2,5,1,1,201,14,2,1,1,9,8,2,1,2,1,2,1,1,1,18,11184,27,49,1028,1024,6942,1,737,16,16,7,216,1,158,2,89,3,513,1,2051,15,40,7,1,1472,1,1,1,53,14,1,57,2,1,45,3,4,2,1,
1,2,1,66,3,36,5,1,6,2,75,2,1,48,3,9,1,1,1258,1,1,1,2,6,1,1,22681,62,4,25042,1,1,3,3,1,5,8,8,2,7,30,4,148,3,8097,26,790017,255],[1,13,1,12,1,0,1,0,1,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,1,0,2,0,2,0,2,0,2,1,0,2,0,2,0,2,0,1,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,4,0,5,2,4,2,0,4,2,4,6,4,0,2,5,0,2,0,5,2,4,0,5,2,0,2,4,2,4,6,0,2,5,0,2,0,5,0,2,4,0,5,2,4,2,6,2,5,0,2,0,2,4,0,5,2,0,4,2,4,6,0,2,0,2,4,0,5,2,0,2,4,2,4,6,2,5,0,2,0,5,0,2,0,5,2,4,2,4,6,0,2,0,4,0,5,0,2,4,2,6,2,5,0,2,0,4,0,5,2,0,4,2,4,2,4,2,4,2,6,2,5,0,2,
0,4,0,5,0,2,4,2,4,6,0,2,0,2,0,4,0,5,6,2,4,2,4,2,4,0,5,0,2,0,4,2,6,0,2,0,5,0,2,0,4,2,0,2,0,5,0,2,0,2,0,2,0,2,0,4,5,2,4,2,6,0,2,0,2,0,2,0,5,0,2,4,2,0,6,4,2,5,0,5,0,4,2,5,2,5,0,5,0,5,2,5,2,0,4,2,0,2,5,0,2,0,7,8,9,0,2,0,5,2,6,0,5,2,6,0,5,2,0,5,2,5,0,2,4,2,4,2,4,2,6,2,0,2,0,2,0,2,0,5,2,4,2,4,2,4,2,0,5,0,5,0,4,0,4,0,5,2,4,0,5,0,5,4,2,4,2,6,0,2,0,2,4,2,0,2,4,0,5,2,4,2,4,2,4,2,4,6,5,0,2,0,2,4,0,5,4,2,4,2,6,4,5,0,5,0,5,0,2,4,2,4,2,4,2,6,0,5,4,2,4,2,0,5,0,2,0,2,4,2,0,2,0,4,2,0,2,0,1,2,1,0,1,0,1,0,2,0,2,0,6,
0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,6,5,2,5,4,2,4,0,5,0,5,0,5,0,5,0,4,0,5,4,6,0,2,0,5,0,2,0,5,2,4,6,0,7,2,4,0,5,0,5,2,4,2,4,2,4,6,0,5,2,4,2,4,2,0,2,0,2,4,0,5,0,5,0,5,0,5,2,0,2,0,2,0,2,0,2,0,5,4,2,4,0,4,6,0,5,0,5,0,5,0,4,2,4,2,4,0,4,6,0,11,8,9,0,2,0,2,0,2,0,2,0,1,0,2,0,1,0,2,0,2,0,2,6,0,4,2,4,0,2,6,0,2,4,0,4,2,4,6,2,0,1,0,2,0,2,4,2,6,0,2,4,0,4,2,4,6,0,2,4,2,4,2,6,2,0,4,2,0,2,4,2,0,4,2,1,2,0,2,0,2,0,2,0,14,0,1,2],!0));return ED.Gca(a)},GD=function(a,b,c){a=FD(a);b=FD(b);return(12==a&&13==b?!1:1==a||12==
a||13==a||1==b||12==b||13==b?!0:7==a&&(7==b||8==b||10==b||11==b)||!(10!=a&&8!=a||8!=b&&9!=b)||(11==a||9==a)&&9==b||2==b||6==b||6==a&&5==b?!1:!0)&&!(c&&(3==a||4==b))};var HD=function(a){return 32>=a||4096<=a&&(8192<=a&&8198>=a||8200<=a&&8203>=a||5760==a||6158==a||8232==a||8233==a||8287==a||12288==a)},JD=function(a,b,c){c=c||10;if(c>a.length)return a;for(var e=[],f=0,g=0,h=0,k=0,n=0;n<a.length;n++){var q=k,k=a.charCodeAt(n),q=768<=k&&!b(q,k,!0);f>=c&&!HD(k)&&!q&&(e.push(a.substring(h,n),ID),h=n,f=0);g?62==k&&60==g?g=0:59==k&&38==g&&(g=0,f++):60==k||38==k?g=k:HD(k)?f=0:8204<=k&&8207>=k||8234<=k&&8238>=k||f++}e.push(a.substr(h));return e.join("")},KD=H&&Rs(8),ID=
Fs?"<wbr></wbr>":Bs?"&shy;":KD?"&#8203;":"<wbr>";var LD=function(a,b){this.Fp=typeof a==pk?0<a?1:0>a?-1:null:null==a?null:a?-1:1;this.jca=!!b};r=LD.prototype;r.zga=Rt;r.zca=function(a,b){return 0>Number(a)*Number(b)};r.vfa=function(a,b,c,e){return e&&(this.zca(b,this.Fp)||1==this.Fp&&Nt.test(Ht(a,c))||-1==this.Fp&&Mt.test(Ht(a,c)))?1==this.Fp?"\u200e":"\u200f":""};r.e8=function(a,b){return this.f8(null,a,b)};r.f8=function(a,b,c){null==a&&(a=this.zga(tu(b),!0));return this.eCa(a,b,c)};
r.eCa=function(a,b,c){c=c||void 0==c;var e;e=0!=a&&a!=this.Fp;if(this.jca||e){var f;e&&(f=-1==a?ym:Aj);e=Du(jo,{dir:f},b)}else e=b;b=tu(b);return e=Hu(0,e,this.vfa(b,a,!0,c))};r.mark=function(){switch(this.Fp){case 1:return"\u200e";case -1:return"\u200f";default:return""}};var MD=function(a,b){return null!=a&&a.bf===b},ND=function(a){if(null!=a)switch(a.li){case 1:return 1;case -1:return-1;case 0:return 0}return null},OD=function(){cD.call(this)};B(OD,cD);OD.prototype.bf=YC;var V=function(a){return null!=a&&a.bf===YC?(C(a.constructor===OD),a):a instanceof su?PD(tu(a),a.Ej()):PD(Qq(String(String(a))),ND(a))},QD=function(){cD.call(this)};B(QD,cD);QD.prototype.bf={DNa:!0};QD.prototype.li=1;var RD=function(){cD.call(this)};B(RD,cD);RD.prototype.bf=ZC;RD.prototype.li=1;
var SD=function(){cD.call(this)};B(SD,cD);SD.prototype.bf=$C;SD.prototype.li=1;var TD=function(){cD.call(this)};B(TD,cD);TD.prototype.bf=aD;TD.prototype.li=1;var UD=function(){cD.call(this)};B(UD,eD);UD.prototype.bf={BNa:!0};UD.prototype.li=1;var VD=function(a,b){this.content=String(a);this.li=null!=b?b:null};B(VD,dD);VD.prototype.bf=bD;
var WD=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return new b(String(a))}},XD=function(a,b){return new VD(a,b)},PD=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,e){var f=new b(String(a));void 0!==e&&(f.li=e);return f}}(OD);WD(QD);WD(RD);WD(SD);var YD=WD(TD);WD(UD);
var ZD=function(a,b,c,e){return jD(a,b,e,new Nw(c))},$D=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return(a=String(a))?new b(a):""}},aE=function(a,b){var c=String(a);return c?new VD(c,b):""},bE=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,e){var f=String(a);if(!f)return"";f=new b(f);void 0!==e&&(f.li=e);return f}}(OD);$D(QD);$D(SD);$D(RD);var cE=$D(TD);$D(UD);
var dE=/^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\b/,nE=function(a,b){if(!b)return String(a).replace(eE,"").replace(jE,"&lt;");var c=String(a).replace(/\[/g,"&#91;"),e=[],f=[],c=c.replace(eE,function(a,c){if(c&&(c=c.toLowerCase(),b.hasOwnProperty(c)&&b[c])){var g=e.length,q="</",u="";if("/"!=a.charAt(1)){for(var q="<",A;A=kE.exec(a);)if(A[1]&&"dir"==A[1].toLowerCase()){if(A=A[2]){if("'"==A.charAt(0)||'"'==A.charAt(0))A=A.substr(1,A.length-2);A=A.toLowerCase();
if(A==Aj||A==ym||A==Be)u=' dir="'+A+'"'}break}kE.lastIndex=0}e[g]=q+c+">";f[g]=u;return"["+g+"]"}return""}),c=lE(c),g=mE(e),c=c.replace(/\[(\d+)\]/g,function(a,b){return f[b]&&e[b]?e[b].substr(0,e[b].length-1)+f[b]+">":e[b]});return c+g},mE=function(a){for(var b=[],c=0,e=a.length;c<e;++c){var f=a[c];"/"==f.charAt(1)?(f=ur(b,f),0>f?a[c]="":(a[c]=b.slice(f).reverse().join(""),b.length=f)):"<li>"==f&&0>ur(b,"</ol>")&&0>ur(b,"</ul>")?a[c]="":dE.test(f)||b.push("</"+f.substring(1))}return b.reverse().join("")},
oE=function(a){return MD(a,YC)?(C(a.constructor===OD),lE(nE(a.Jb()))):Qq(String(a))},qE=function(a){if(MD(a,aD))return C(a.constructor===TD),a.Jb().replace(/([^"'\s])$/,"$1 ");a=String(a);pE.test(a)||(jr("Bad value `%s` for |filterHtmlAttributes",[a]),a="zSoyz");return a},vE=function(a){if(MD(a,ZC))return C(a.constructor===RD),rE(a);if(MD(a,$C))return C(a.constructor===SD),rE(a);a instanceof iu?a=rE(ju(a)):a instanceof ou?a=rE(pu(a)):(a=String(a),sE.test(a)?a=a.replace(tE,uE):(jr("Bad value `%s` for |filterNormalizeUri",
[a]),a=Kd));return a},wE=function(a){return MD(a,bD)?(jr("Tainted SanitizedContentKind.TEXT for |noAutoescape: `%s`",[a.Jb()]),"zSoyz"):a},xE={},yE=function(a,b){var c=xE[a]||(xE[a]=new LD(a)),e=Lu(Vt("Soy |bidiSpanWrap is applied on an autoescaped text."),String(b)),c=c.f8(ND(b),e);return tu(c)},zE=function(a,b,c,e,f){c=c instanceof Function?c.displayName||c.name||bp:c instanceof Object?c.constructor.displayName||c.constructor.name||Object.prototype.toString.call(c):null===c?nk:typeof c;return C(a,
"expected param "+b+" of type "+e+(", but got "+c)+".",f)},AE={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},BE=function(a){return AE[a]},CE={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09",
"\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9",
"\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},uE=function(a){return CE[a]},DE=/[\x00\x22\x27\x3c\x3e]/g,tE=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,
sE=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,EE=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,pE=/^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,lE=function(a){return String(a).replace(DE,BE)},rE=function(a){return String(a).replace(tE,uE)},eE=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,jE=/</g,kE=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var FE=function(a){var b;a=a||{};var c=PD,e='<div role="button"'+(a.id?' id="'+oE(a.id)+'"':"")+' class="',f,g;f=a||{};var h="goog-inline-block jfk-button ";switch(lq(g=f.style)?g.toString():g){case 0:h+=Pi;break;case 2:h+="jfk-button-action";break;case 3:h+=Oi;break;case 1:h+="jfk-button-default";break;case 4:h+="jfk-button-flat";break;case 5:h+="jfk-button-mini";break;case 6:h+="jfk-button-contrast";break;default:h+=Pi}h+=(1==f.width?" jfk-button-narrow":"")+(f.checked?" jfk-button-checked":"")+
(f.Ff?" "+f.Ff:"")+(f.disabled?" jfk-button-disabled":"");return c(e+oE(XD(h))+'"'+(a.disabled?' aria-disabled="true"':' tabindex="'+(a.kE?oE(a.kE):"0")+'"')+(a.title?" "+(a.Es?Xf:No)+'="'+oE(a.title)+'"':"")+(a.value?' value="'+oE(a.value)+'"':"")+(a.attributes?" "+qE(a.attributes):"")+">"+V(null==(b=a.content)?"":b)+cb)};FE.ya="jfk.templates.button.strict";var HE=function(a,b,c,e){rC.call(this,a,GE.K(),b);this.mx=c||0;this.pg=e||0;this.TQ=!1};B(HE,rC);r=HE.prototype;r.Tf=function(){return this.pg};r.as=function(a){this.mx!=a&&(this.mx=a,this.YL())};r.SD=function(a){this.pg!=a&&(this.pg=a,this.YL())};r.RD=function(a){this.TQ=a};r.ed=function(a){this.cs(a);var b=this.b();b&&(this.TQ?AD(b,a,void 0):a?b.title=a:b.removeAttribute(No))};r.X=function(a){this.isEnabled()!=a&&(HE.g.X.call(this,a),this.YL())};r.focus=function(){var a=this.md();try{a.focus()}catch(b){}};
r.yo=function(a){HE.g.yo.call(this,a);this.Xr(!1)};r.Yc=function(a){HE.g.Yc.call(this,a);this.isEnabled()&&this.Xr(!0)};r.Uf=function(a){HE.g.Uf.call(this,a);this.isEnabled()&&this.Xr(!0)};r.Xr=function(a){this.b()&&FA(this.b(),"jfk-button-clear-outline",a)};r.YL=function(){this.b()&&this.O.wDa(this)};
var IE=function(a,b){return new HE(a,b,2)},JE=function(a,b){return new HE(a,b,4)},LE=function(a){return IE(KE("//ssl.gstatic.com/ui/v1/button/search-white.png"),a)},KE=function(a,b){if(x(a)){var c=a;a=ax(ui);a.src=c;Hy(a,21,21)}T(a,"jfk-button-img");c=[];c.push(a);if(b){var e=ax(jo,"jfk-button-label",b);c.push(e)}return c},GE=function(){this.h8=this.V()+"-standard";this.SR=this.V()+"-action";this.s3=this.V()+"-primary";this.pV=this.V()+ua;this.YW=this.V()+"-flat";this.b2=this.V()+"-narrow";this.S1=
this.V()+"-mini";this.pU=this.V()+"-contrast"};B(GE,pC);eq(GE);r=GE.prototype;r.um=function(a,b,c){a&&c.as(a);b&&c.SD(b)};r.V=function(){return Ni};r.j=function(a){rr(a,HE,"Button is expected to be instance of jfk.Button");var b=a.v(),c=kD(FE,{disabled:!a.isEnabled(),checked:a.qf(),style:a.mx,title:a.Ig(),Es:a.TQ,value:a.getValue(),width:a.Tf()},void 0,b);b.append(c,a.Jb());this.U(a,c);return c};
r.U=function(a,b){GE.g.U.call(this,a,b);this.MT||(this.MT=ps(this.h8,sq(this.um,0,null),this.SR,sq(this.um,2,null),this.s3,sq(this.um,3,null),this.pV,sq(this.um,1,null),this.YW,sq(this.um,4,null),this.S1,sq(this.um,5,null),this.pU,sq(this.um,6,null),this.b2,sq(this.um,null,1)));for(var c=zA(b),e=0;e<c.length;++e){var f=this.MT[c[e]];f&&f(a)}if(c=b.getAttribute(Xf))a.cs(c),a.RD(!0);return b};r.getValue=function(a){return a.getAttribute(wp)||""};r.setValue=function(a,b){a&&a.setAttribute(wp,b)};
r.wDa=function(a){function b(a,b){(a?c:e).push(b)}C(a.b(),"Button element must already exist when updating style.");var c=[],e=[],f=a.mx;b(0==f,this.h8);b(2==f,this.SR);b(3==f,this.s3);b(4==f,this.YW);b(5==f,this.S1);b(1==f,this.pV);b(6==f,this.pU);b(1==a.Tf(),this.b2);b(!a.isEnabled(),this.V()+va);EA(a.b(),e);CA(a.b(),c)};wB(Ni,function(){return new HE(null)});var NE=function(a,b){gq(b)||(b=[b]);C(0<b.length,"At least one Css3Property should be specified.");var c=xr(b,function(a){if(x(a))return a;nr(a,"Expected css3 property to be an object.");var b=a.eN+" "+a.duration+"s "+a.timing+" "+a.Mp+"s";C(a.eN&&jq(a.duration)&&a.timing&&jq(a.Mp),"Unexpected css3 property value: %s",b);return b});ME(a,c.join(","))},OE=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(H)return Rs("10.0");var a=document.createElement(d),b=Fs?"-webkit":
Es?"-moz":H?"-ms":Bs?"-o":null,c={transition:zk};b&&(c[b+"-transition"]=zk);Mw(a,Du(m,{style:c}));a=a.firstChild;C(a.nodeType==Node.ELEMENT_NODE);return""!=my(a,"transition")}),ME=function(a,b){P(a,"transition",b)};var PE=function(a,b,c,e,f){fz.call(this);this.G=a;this.Vp=b;this.Kpa=c;this.NW=e;this.ys=gq(f)?f:[f]};B(PE,fz);r=PE.prototype;r.play=function(){if(this.rv())return!1;this.Ug();this.G2();this.startTime=z();this.W6();if(OE())return P(this.G,this.Kpa),this.Df=M(this.Lua,void 0,this),!0;this.cQ(!1);return!1};r.Lua=function(){Iy(this.G);NE(this.G,this.ys);P(this.G,this.NW);this.Df=M(y(this.cQ,this,!1),1E3*this.Vp)};r.stop=function(){this.rv()&&this.cQ(!0)};
r.cQ=function(a){ME(this.G,"");jw(this.Df);P(this.G,this.NW);this.endTime=z();this.iP();a?this.M2():this.u2();this.ck()};r.A=function(){this.stop();PE.g.A.call(this)};r.pause=function(){C(!1,"Css3 transitions does not support pause action.")};var QE=function(a,b,c,e,f){return new PE(a,b,{opacity:e},{opacity:f},{eN:"opacity",duration:b,timing:c,Mp:0})},RE=function(a,b){return QE(a,b,"ease-out",0,1)},SE=function(a,b){return QE(a,b,"ease-in",1,0)};var VE=function(a,b){var c=sq(TE,a,b);a.Y?c():H?qt(a,bn,c):qt(a,Ge,c);var e=null;I(a,bn,function(){a.dz&&(e=new UE(a))});I(a,bi,function(){F(e)})},TE=function(a,b){a.bO(.75);var c=a.hc;c&&b&&(c=c.Cj(b))&&T(c,"goog-buttonset-action");var c=RE(a.b(),.13),e=SE(a.b(),.13),f=QE(a.cl(),.13,"ease-out",0,.75),g=QE(a.cl(),.13,"ease-in",.75,0);a.QD(c,e,f,g)},XE=function(a,b,c,e,f,g,h){b=wu(b);c=c||null;f=f?(new VA).Vd({key:sk,caption:f},!0,!0):fB();return WE(a,b,c,c,e,g||"jfk-alert",f,h)},WE=function(a,b,c,
e,f,g,h,k){g=g||"jfk-confirm";var n=new UA(void 0,!0,k);n.$a(a);n.Uw(b);n.Vh(h||TA());n.Ri(!0);n.Z();a=n.b();C(a,"The dialog element cannot be null");T(a,g);VE(n,sk);b=n.Rg("msg");n.M().id=b;rA(a,"alertdialog");S(a,cg,b);qt(n,fg,function(a){c&&a.key==n.hc.Qk?c.call(f):e&&e.call(f)});n.F(!0);return n},UE=function(a){IA.call(this,a.b());this.Qa=a;I(this,oo,this.gBa,!1,this)};B(UE,IA);
UE.prototype.gBa=function(a){a=a.Sca;if(this.Qa.dz&&BA(a.target,this.Qa.nia())){var b=Iy(this.Qa.b()),b=new iy(0,b.width,b.height,0),c=Sy(this.Qa.b());b.expand(-1*c.top,-1*c.right,-1*c.bottom,-1*c.left);if(!b.contains(new Fw(a.offsetX,a.offsetY)))return this.lO(),!0}return!1};
UE.prototype.lO=function(){var a=this.Qa.v().N(),b=Ww(Zw(a)),c=Iy(this.Qa.b());if(py(this.Qa.b())==bh)a=b.width-c.width,b=b.height-c.height;else var e=Math.max(a.body.scrollHeight,b.height),a=Math.max(a.body.scrollWidth,b.width)-c.width,b=e-c.height;this.GO(new jy(0,0,Math.max(0,a),Math.max(0,b)))};var YE={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"caps-lock",27:"esc",32:"space",33:"pg-up",34:"pg-down",35:Gg,36:"home",37:mj,38:"up",39:um,40:"down",45:"insert",46:"delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:Lm,61:"equals",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",93:"context",96:"num-0",
97:"num-1",98:"num-2",99:"num-3",100:"num-4",101:"num-5",102:"num-6",103:"num-7",104:"num-8",105:"num-9",106:"num-multiply",107:"num-plus",109:"num-minus",110:"num-period",111:"num-division",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",186:Lm,187:"equals",189:"dash",188:",",190:".",191:"/",192:"`",219:"open-square-bracket",220:"\\",221:"close-square-bracket",222:"single-quote",224:"win"};var ZE=function(){};B(ZE,pC);eq(ZE);r=ZE.prototype;r.j=function(a){var b={"class":Ah+this.be(a).join(" ")},b=a.v().j(d,b,a.Jb());this.ed(b,a.Ig());return b};r.Fd=function(){return Qe};r.Bc=function(a){return a.tagName==d};r.U=function(a,b){C(b);T(b,zh);return ZE.g.U.call(this,a,b)};r.getValue=function(){return""};r.V=function(){return xh};wB(xh,function(){return new rC(null,ZE.K())});var $E=function(){};B($E,ZE);eq($E);r=$E.prototype;r.j=function(a){var b={"class":Ah+this.be(a).join(" ")},b=a.v().j(d,b,[this.createCaption(a.Jb(),a.v()),this.Py(a.v())]);this.ed(b,a.Ig());return b};r.M=function(a){return a&&a.firstChild};
r.U=function(a,b){var c=Qw("*",Ch,b)[0];if(c){Q(c,!1);a.v().N().body.appendChild(c);var e=new TB;e.U(c);a.gh(e)}Qw("*",this.V()+sa,b)[0]||b.appendChild(this.createCaption(b.childNodes,a.v()));Qw("*",this.V()+wa,b)[0]||b.appendChild(this.Py(a.v()));return $E.g.U.call(this,a,b)};r.createCaption=function(a,b){return b.j(d,Ah+(this.V()+sa),a)};r.Py=function(a){return a.j(d,{"class":Ah+(this.V()+wa),"aria-hidden":!0},"\u00a0")};r.V=function(){return yh};wB(yh,function(){return new wC(null,null,$E.K())});var bF=function(a,b,c){yC.call(this,a,b,$E.K(),c);this.Yv=new aF(1E3);this.ha(this.Yv)};B(bF,yC);r=bF.prototype;r.j=function(){bF.g.j.call(this);T(this.b(),"jfk-select")};
r.XM=function(){if(this.Wa().Y){var a=this.b();Cy(a);var b=this.$_()?8:12,c=this.Wa().b(),e=!1;this.Wa().R()||(e=!0,c.style.visibility=ai,Q(c,!0));var f=Math.max(this.Hg(),0),f=this.Wa().za(f),g=0;if(this.lB()){var h=c.scrollTop;c.style.overflowY=Mp;c.style.height=Be;e||(g=Cy(f.b()).y-Cy(this.b()).y,g=h-g)}var e=f?f.b().offsetTop:0,h=xy(a),k=0;h&&(k=xy(c),k=Math.min(Math.max(h.top,k.top+2),k.bottom-2)-h.top);mA(a,b,c,this.$_()?8:12,new Fw(0,k-e),null,65|(this.lB()?32:132),null);this.lB()&&(a=Cy(f.b()).y-
Cy(this.b()).y,c.style.overflowY=Be,c.scrollTop=g+a);this.Wa().R()||(Q(c,!1),c.style.visibility=Mp)}};r.Ec=function(a){var b=bF.g.Ec.call(this,a);return a.type!=cj||!this.Wa()||a.altKey||a.ctrlKey||a.metaKey||a.FC?b:this.fe()||32!=a.keyCode?b?(!this.fe()||38!=a.keyCode&&40!=a.keyCode||this.nW(),!0):Oz(a.keyCode)?(a=a.charCode?String.fromCharCode(a.charCode):" ",this.Yv.add(a),b=this.Yv.vt,this.Yv.Vy?this.SW(a,!1):this.SW(b,1<b.length),!0):!1:(this.Yv.p4(),b)};
r.nW=function(){var a=this.Wa().Eh();a&&By(a.b(),this.Wa().M())};r.SW=function(a,b){var c=this.fe()?this.Wa().qb:this.Hg(),e=new RegExp("^"+Xq(a),"i");b||++c;for(var c=0>c?0:c,f=this.Wa(),g=0,h=f.ub();g<h;++g){var k=(c+g)%h,n=f.za(k),q=n.si();if(n.isEnabled()&&q&&e.test(q)){this.iAa(k);break}}};r.iAa=function(a){this.fe()?(this.Wa().vc(a),this.nW()):this.Af(a)};var aF=function(a){E.call(this);this.zg=new $y(this.p4,a,this);this.ha(this.zg)};B(aF,E);
aF.prototype.add=function(a){C(1==a.length,"nextLetter: '"+a+"' must be a single character");a==this.vt?this.Vy=!0:this.Vy||(this.vt+=a);this.zg.start()};aF.prototype.p4=function(){this.vt="";this.Vy=!1};aF.prototype.Vy=!1;aF.prototype.vt="";var cF=function(){};B(cF,AB);eq(cF);r=cF.prototype;r.j=function(a){var b=a.v().j(Qc,this.be(a).join(" "));this.H5(b,a.lj);return b};r.U=function(a,b){b=cF.g.U.call(this,a,b);C(b);var c=zA(b),e=!1;Fr(c,this.mu(null))?e=null:Fr(c,this.mu(!0))?e=!0:Fr(c,this.mu(!1))&&(e=!1);a.lya(e);C(b,"The element cannot be null.");S(b,bf,this.DS(e));return b};r.Fd=function(){return af};
r.H5=function(a,b){if(a){C(a);var c=this.mu(b);C(c);C(a);BA(a,c)||(Wr(dF,function(b){b=this.mu(b);C(a);FA(a,b,b==c)},this),S(a,bf,this.DS(b)))}};r.DS=function(a){return null==a?"mixed":1==a?Wo:Qg};r.V=function(){return"goog-checkbox"};r.mu=function(a){var b=this.Sf();if(1==a)return b+"-checked";if(0==a)return b+"-unchecked";if(null==a)return b+"-undetermined";throw Error("Invalid checkbox state: "+a);};var eF=function(a,b,c){c=c||cF.K();EB.call(this,null,c,b);this.lj=v(a)?a:!1};B(eF,EB);var dF={z$:!0,RLa:!1,SLa:null};r=eF.prototype;r.Xa=null;r.qf=function(){return 1==this.lj};r.ara=function(){return null==this.lj};r.Ud=function(a){a!=this.lj&&(this.lj=a,this.O.H5(this.b(),this.lj))};r.lya=function(a){this.lj=a};r.Ta=function(a){if(this.Y){var b=this.eB();this.Ra();this.Xa=a;this.D();b&&this.md().focus()}else this.Xa=a};r.toggle=function(){this.Ud(this.lj?!1:!0)};
r.D=function(){eF.g.D.call(this);if(this.un){var a=this.C();this.Xa&&a.o(this.Xa,ef,this.tJ).o(this.Xa,Xj,this.Kg).o(this.Xa,Wj,this.Nu).o(this.Xa,Uj,this.Yc).o(this.Xa,Yj,this.Uf);a.o(this.b(),ef,this.tJ)}a=this.md();this.Xa&&a!=this.Xa&&Dq(xA(a))&&(this.Xa.id||(this.Xa.id=this.Rg("lbl")),S(a,hj,this.Xa.id))};r.X=function(a){eF.g.X.call(this,a);if(a=this.b())a.tabIndex=this.isEnabled()?0:-1};
r.tJ=function(a){a.stopPropagation();var b=this.lj?"uncheck":"check";this.isEnabled()&&!a.target.href&&this.dispatchEvent(b)&&(a.preventDefault(),this.toggle(),this.dispatchEvent(Xe))};r.Ec=function(a){32==a.keyCode&&(this.ad(a),this.tJ(a));return!1};wB("goog-checkbox",function(){return new eF});var fF=function(a,b,c){wC.call(this,null,null,a,c);this.I_=b||null};B(fF,wC);r=fF.prototype;r.xw=2;r.X=function(a){fF.g.X.call(this,a);this.G5(a)};r.G5=function(a){this.jq().disabled=!a};r.Yc=function(a){this.v().contains(this.jq(),a.target)||fF.g.Yc.call(this,a)};r.jq=function(){return this.v().ti(qc,Jh,this.M())[0]};r.TY=function(){2==this.xw?(this.Xw(0),this.nd(0)&&this.nd(0).dispatchEvent(l)):(this.Xw(2),this.nd(1)&&this.nd(1).dispatchEvent(l))};r.Vma=function(a){0==a.target.ca?this.Xw(0):this.Xw(2)};
r.sF=function(){this.nd(0)&&this.nd(1)&&(this.C().o(this.Wa(),l,this.Vma),this.nd(0).Sc(0),this.nd(1).Sc(2))};r.oF=function(){this.C().o(this.jq(),ef,this.TY)};r.j=function(){fF.g.j.call(this);this.uU();var a=new OB("All",null,this.v(),this.I_),b=new OB("None",null,this.v(),this.I_);this.zc(a);this.zc(b);this.oF();this.sF()};r.uU=function(){var a=this.v().createElement(qc);a.type=af;a.className=Jh;this.mb(a)};r.Ka=function(a){fF.g.Ka.call(this,a);this.oF();this.sF()};
r.gh=function(a){fF.g.gh.call(this,a);this.sF()};r.Xw=function(a){if(this.xw!=a){var b=this.jq();0==a?(b.checked=!0,Ky(b,1)):1==a?(b.checked=!0,Ky(b,.5)):(b.checked=!1,Ky(b,1));this.xw=a}};wB("goog-selectionmenubutton-button",function(){return new fF});var gF=function(a){a=a||{};return PD('<span class="jfk-checkbox goog-inline-block'+(a.n9?" jfk-checkbox-undetermined":a.checked?" jfk-checkbox-checked":" jfk-checkbox-unchecked")+(a.disabled?" jfk-checkbox-disabled":"")+(a.Ff?" "+oE(a.Ff):"")+'" role="checkbox" aria-checked="'+(a.n9?"mixed":a.checked?Wo:Qg)+'"'+(a.Dca?'aria-labelledby="'+oE(a.Dca)+'"':a.Cca?ue+oE(a.Cca)+'"':"")+(a.id?'id="'+oE(a.id)+'"':"")+(a.disabled?'aria-disabled="true" tabindex="-1"':'tabindex="'+(a.kE?oE(a.kE):"0")+'"')+(a.attributes?
" "+qE(a.attributes):"")+'dir="ltr"><div class="jfk-checkbox-checkmark" role="presentation"></div></span>')};gF.ya="jfk.templates.checkbox.main";var hF=function(a,b){var c=CB(cF,"jfk-checkbox");eF.call(this,a,b,c);this.Db(4,!0)};B(hF,eF);r=hF.prototype;r.j=function(){this.Sa(kD(gF,{checked:this.qf(),disabled:!this.isEnabled(),n9:this.ara()},void 0,this.v()))};r.Ka=function(a){hF.g.Ka.call(this,a);T(a,zh);this.b().dir=Aj;this.Lc(Qi)||this.hea();rA(this.He(Qi),am)};r.hea=function(){var a=this.v().j(m,Qi);this.b().appendChild(a)};r.yo=function(a){hF.g.yo.call(this,a);this.Xr(!1)};r.Yc=function(a){hF.g.Yc.call(this,a);this.isEnabled()&&this.Xr(!0)};
r.Xr=function(a){this.b()&&FA(this.b(),"jfk-checkbox-clearOutline",a)};var iF=function(a){fF.call(this,$E.K(),null,a);this.Xd=new hF;this.Xd.Db(32,!1)};B(iF,fF);r=iF.prototype;r.jq=function(){return this.Xd.b()};r.uU=function(){this.Xd.Z();this.mb(this.Xd.b())};r.Ka=function(a){iF.g.Ka.call(this,a);this.Xd.U(this.Lc("jfk-checkbox"))};r.G5=function(a){this.Xd.X(a)};r.oF=function(){this.C().o(this.Xd,Xe,this.TY)};r.Xw=function(a){this.xw!=a&&(0==a?this.Xd.Ud(!0):1==a?this.Xd.Ud(null):this.Xd.Ud(!1),this.xw=a)};r.A=function(){F(this.Xd);iF.g.A.call(this)};wB("jfk-selectionmenubutton",function(){return new iF});var jF=function(a,b){this.Mk=a instanceof Fw?a:new Fw(a,b)};B(jF,jB);jF.prototype.oa=function(a,b,c,e){mA(ty(a),0,a,b,this.Mk,c,null,e)};var kF=function(a,b,c){this.ba=c||(a?N(O(a)):N());dC.call(this,this.ba.j(d,{style:"position:absolute;display:none;"}));this.NG=new Fw(1,1);this.Xm=new dv;this.Lo=null;a&&this.Wd(a);null!=b&&this.jP(b)};B(kF,dC);var lF=[];r=kF.prototype;r.wc=null;r.className="goog-tooltip";r.y7=500;r.Voa=0;r.v=function(){return this.ba};r.Wd=function(a){a=O(a);this.Xm.add(a);I(a,Xj,this.Kg,!1,this);I(a,Wj,this.AA,!1,this);I(a,Vj,this.nZ,!1,this);I(a,ch,this.nf,!1,this);I(a,Ke,this.AA,!1,this)};
r.detach=function(a){if(a)a=O(a),this.EV(a),this.Xm.remove(a);else{for(var b=this.Xm.pb(),c=0;a=b[c];c++)this.EV(a);this.Xm.clear()}};r.EV=function(a){rt(a,Xj,this.Kg,!1,this);rt(a,Wj,this.AA,!1,this);rt(a,Vj,this.nZ,!1,this);rt(a,ch,this.nf,!1,this);rt(a,Ke,this.AA,!1,this)};r.qAa=function(a){this.y7=a};r.jP=function(a){tx(this.b(),a)};r.Xh=function(a){var b=this.b();b&&Mw(b,a)};
r.Rr=function(a){var b=this.b();b&&kx(b);kF.g.Rr.call(this,a);a?(b=this.ba.N().body,b.insertBefore(a,b.lastChild),this.Hva()):(F(this.Lo),this.Lo=null)};r.Hva=function(){F(this.Lo);this.Lo=new MA(C(this.b()));this.ha(this.Lo);I(this.Lo,dh,this.dt,void 0,this);I(this.Lo,eh,this.eE,void 0,this)};r.getText=function(){return Bx(this.b())};r.SI=function(){return this.b().innerHTML};r.getState=function(){return this.gs?this.R()?4:1:this.Wu?3:this.R()?2:0};
r.xM=function(){if(!RA.prototype.xM.call(this))return!1;if(this.anchor)for(var a,b=0;a=lF[b];b++)rx(a.b(),this.anchor)||a.F(!1);Ir(lF,this);a=this.b();a.className=this.className;this.dt();I(a,Xj,this.zZ,!1,this);I(a,Wj,this.yZ,!1,this);this.hG();return!0};r.Vg=function(){Kr(lF,this);for(var a=this.b(),b,c=0;b=lF[c];c++)b.anchor&&rx(a,b.anchor)&&b.F(!1);this.c3&&this.c3.eE();rt(a,Xj,this.zZ,!1,this);rt(a,Wj,this.yZ,!1,this);this.anchor=void 0;0==this.getState()&&(this.lD=!1);RA.prototype.Vg.call(this)};
r.jsa=function(a,b){this.anchor==a&&this.Xm.contains(this.anchor)&&(this.lD||!this.wNa?(this.F(!1),this.R()||this.Qua(a,b)):this.anchor=void 0);this.gs=void 0};r.ju=function(){return this.wc};r.Qua=function(a,b){this.anchor=a;this.setPosition(b||this.fJ(0));this.F(!0)};r.hsa=function(a){this.Wu=void 0;if(a==this.anchor){a=this.v();var b=a.ju();a=b&&this.b()&&a.contains(this.b(),b);null!=this.wc&&(this.wc==this.b()||this.Xm.contains(this.wc))||a||this.Foa()||this.F(!1)}};
r.Foa=function(){return!(!this.LT||!this.LT.wc)};r.P4=function(a){var b=this.ba.Pf();this.NG.x=a.clientX+b.x;this.NG.y=a.clientY+b.y};r.Kg=function(a){var b=this.Hz(a.target);this.wc=b;this.dt();b!=this.anchor&&(this.anchor=b,this.o8(b),this.FT(),this.P4(a))};r.Hz=function(a){try{for(;a&&!this.Xm.contains(a);)a=a.parentNode;return a}catch(b){return null}};r.nZ=function(a){this.P4(a);this.lD=!0};
r.nf=function(a){this.wc=a=this.Hz(a.target);this.lD=!0;if(this.anchor!=a){this.anchor=a;var b=this.fJ(1);this.dt();this.o8(a,b);this.FT()}};r.fJ=function(a){return 0==a?(a=this.NG.clone(),new mF(a)):new nF(this.wc)};r.FT=function(){if(this.anchor)for(var a,b=0;a=lF[b];b++)rx(a.b(),this.anchor)&&(a.LT=this,this.c3=a)};
r.AA=function(a){var b=this.Hz(a.target),c=this.Hz(a.relatedTarget);b!=c&&(b==this.wc&&(this.wc=null),this.hG(),this.lD=!1,!this.R()||a.relatedTarget&&rx(this.b(),a.relatedTarget)?this.anchor=void 0:this.eE())};r.zZ=function(){var a=this.b();this.wc!=a&&(this.dt(),this.wc=a)};r.yZ=function(a){var b=this.b();this.wc!=b||a.relatedTarget&&rx(b,a.relatedTarget)||(this.wc=null,this.eE())};r.o8=function(a,b){this.gs||(this.gs=M(y(this.jsa,this,a,b),this.y7))};
r.hG=function(){this.gs&&(jw(this.gs),this.gs=void 0)};r.eE=function(){2==this.getState()&&(this.Wu=M(y(this.hsa,this,this.anchor),this.Voa))};r.dt=function(){this.Wu&&(jw(this.Wu),this.Wu=void 0)};r.A=function(){this.F(!1);this.hG();this.detach();this.b()&&kx(this.b());this.wc=null;delete this.ba;kF.g.A.call(this)};var mF=function(a,b){jF.call(this,a,b)};B(mF,jF);
mF.prototype.oa=function(a,b,c){b=ty(a);b=xy(b);c=c?new iy(c.top+10,c.right,c.bottom,c.left+10):new iy(10,0,0,10);lA(this.Mk,a,8,c,b,9)&496&&lA(this.Mk,a,8,c,b,5)};var nF=function(a){kB.call(this,a,5)};B(nF,kB);nF.prototype.oa=function(a,b,c){var e=new Fw(10,0);mA(this.element,this.Nk,a,b,e,c,9)&496&&mA(this.element,4,a,1,e,c,5)};var oF=function(a,b,c,e,f){e=e||(b?N(O(b)):N());this.O=a;a=e.N().body;var g=this.O.b();a.appendChild(g);Q(this.O.b(),!1);this.className=Ri;kF.call(this,b,c,e);this.ha(this.O);this.Rr(this.O.b());b=RE(this.O.b(),.13);c=SE(this.O.b(),.13);this.QD(b,c);this.Rs=new pD(Ri,!0);this.Rs.setPosition(null!=f?f:1,void 0,void 0,-1);this.Rs.pO(this.O.b(),this.O.EF);this.Rs.Fw(!0);this.qAa(300)};B(oF,kF);r=oF.prototype;r.fJ=function(){this.Rs.em(this.ju());return this.Rs};r.M=function(){return this.O.M()};
r.jP=function(a){tx(this.M(),a)};r.Xh=function(a){Mw(this.M(),a)};r.getText=function(){return Bx(this.M())};r.SI=function(){return this.M().innerHTML};var pF=function(a){var b='<div class="jfk-bubble" role="alertdialog"'+(a.uid?' aria-describedby="'+oE(a.uid)+'"':"")+'><div class="jfk-bubble-content-id"'+(a.uid?' id="'+oE(a.uid)+'"':"")+"></div>";a.vBa&&(b+='<div class="jfk-bubble-closebtn-id jfk-bubble-closebtn" aria-label="'+lE(Jb)+'" role="button" tabindex=0></div>');return PD(b+'<div class="jfk-bubble-arrow-id jfk-bubble-arrow"><div class="jfk-bubble-arrowimplbefore"></div><div class="jfk-bubble-arrowimplafter"></div></div></div>')};pF.ya="jfk.templates.bubble.main";var qF=function(a,b,c,e){c=c||(a?N(O(a)):N());var f=new vD(c);oF.call(this,f,a,b,c,e)};B(qF,oF);var rF=function(a,b){E.call(this);this.iV=a;this.Ne=b};B(rF,E);rF.prototype.axa=function(a,b,c,e){this.BBa("Running script","Running script "+Qq(b));a=this.Sha(a,b,e);c=this.Tha(c).toString();b=y(this.mna,this,b);a=a.toString();e=new yw;Bw.push(e);b&&e.o(kf,b);e.Zf(lm,e.wda);e.send(c,Hc,a,void 0)};
rF.prototype.mna=function(a,b){var c=b.target.Fa();switch(c.result){case "AUTH_REQUIRED":this.IP("Script requires authorization","Script "+(Qq(a)+" requires authorization"));this.DBa(c.authPanelUrl,c.authPanel);break;case "OK":this.IP("Finished script","Finished script "+Qq(a));break;default:this.IP("Script experienced an error","Script "+(Qq(a)+" experienced an error")),this.tBa(c.error)}};
rF.prototype.Tha=function(a){var b=new Gx;b.Te((""==this.iV?"/macros":"/a/macros/"+this.iV)+"/macroClient");this.WAa(b,a);return b};rF.prototype.Sha=function(a,b,c){var e=new Hx;e.set("cmd",2);null!=a&&e.set("lib",a);e.set("funcName",b);c&&e.set("authMae",c);this.Ne&&e.set("hl",this.Ne);e.set("authVersion","2");return e};var sF=function(a,b,c,e){UA.call(this,void 0,!0,e);this.Da=a;a=this.M();c=N(a);e=c.j(m);e.innerHTML=b;c.appendChild(a,e);this.Vh(YA);this.$a("Authorization Required");this.F(!0);this.Ri(!0);this.addEventListener(fg,this.Zca)};B(sF,UA);sF.prototype.Zca=function(a){this.Sna(a.key);a.BN=!1};sF.prototype.Sna=function(a){a!=Ue&&Kz(this.Da,{target:Gd,height:500,width:600,top:(screen.height-500)/2,left:(screen.width-600)/2,scrollbars:!0});this.F(!1)};var tF=function(a,b,c){rF.call(this,a.domain!=bg?a.domain:"",b);this.P=c||N();this.xk=a};B(tF,rF);w("gsites.pages.view.SitesMaestroRunner",tF,void 0);r=tF.prototype;r.faa="Running Apps Scripts is available for signed in users only";r.WAa=function(a,b){a.W("mid",b)};r.DBa=function(a,b){(new sF(a,b,"sitesAppsScriptAuthDialog"+this.xk.name.replace(/-/g,""))).F(!0)};r.BBa=function(a,b){R(Qq(a+": "+b))};r.IP=function(a,b){R(Qq(a+": "+b))};r.tBa=function(a){var b=new UA;b.$a("Alert");b.jg(a);b.Vh(XA);b.F(!0)};
r.Ke=function(){this.Apa();this.zpa()};tF.prototype.initListeners=tF.prototype.Ke;tF.prototype.Apa=function(){for(var a=this.P.dR("a","apps-script-run-link"),b=0;b<a.length;b++){var c=a[b],e=c.id.split("#");3==e.length&&I(c,ef,this.Rja(e[1],e[2],e[0]),!1,this)}};tF.prototype.zpa=function(){for(var a=this.P.dR("a","apps-script-disabled-link"),b=0;b<a.length;b++)I(a[b],ef,this.EBa,!1,this)};tF.prototype.Vpa=function(){JOT_addListener(mf,y(this.Ke,this))};tF.prototype.installEditRender=tF.prototype.Vpa;
tF.prototype.EBa=function(){R(this.faa)};tF.prototype.Rja=function(a,b,c){return function(){this.axa(a,b,c)}};var vF=function(a,b){var c=Array.prototype.slice.call(arguments),e=c.shift();if("undefined"==typeof e)throw Error("[goog.string.format] Template required");return e.replace(/%([0\-\ \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,e,k,n,q,u,A){if("%"==q)return"%";var ca=c.shift();if("undefined"==typeof ca)throw Error("[goog.string.format] Not enough arguments");arguments[0]=ca;return uF[q].apply(null,arguments)})},uF={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",
0)?a+Zq(" ",Number(c)-a.length):Zq(" ",Number(c)-a.length)+a},f:function(a,b,c,e,f){e=a.toString();isNaN(f)||""==f||(e=parseFloat(a).toFixed(f));var g;g=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(e=g+e);if(isNaN(c)||e.length>=Number(c))return e;e=isNaN(f)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(f);a=Number(c)-e.length-g.length;return e=0<=b.indexOf("-",0)?g+e+Zq(" ",a):g+Zq(0<=b.indexOf("0",0)?"0":" ",a)+e},d:function(a,b,c,e,f,g,h,k){return uF.f(parseInt(a,
10),b,c,e,0,g,h,k)}};uF.i=uF.d;uF.u=uF.d;var wF=!1,xF=[],yF=function(){wF=!1;D(xF,function(a){a()});xF=[]};w(co,yF,void 0);var zF=function(a){for(var b=0;b<a.length;b++){var c=a[b],e=ox(c);null!=e&&"chartSpec"==e.name&&e.value&&google.visualization.drawChart(Uq(e.value),c)}},BF=function(){var a=O(An);a&&(a=Qw(d,"sites-gviz-chart",a))&&0<a.length&&(xF.push(sq(zF,a)),lq(cq("google.visualization.ChartEditor"))?yF():wF||(wF=!0,a=vF("//www.google.com/jsapi?client=google-gviz&autoload={modules:[%s]}",Ct({name:"visualization",packages:["charteditor_base"],version:webspace.gvizVersion||"1",language:webspace.page.locale||"en",
callback:co})),AF.dr(a)))},CF=function(){var a=O(An);if(a)for(var a=Qw("FORM","sites-iframe-gviz-form",a),b=0;b<a.length;b++)a[b].submit()};JOT_addListener(mf,BF);JOT_addListener("decorateGvizCharts",BF);JOT_addListener(mf,CF);JOT_addListener(lf,CF);var DF=/^[\w+/]+[=]{0,2}$/;var EF=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var e=c||t,f=e.document,g;(g=(g=(g=(e||t).document.querySelector("script[nonce]"))&&g.getAttribute("nonce"))&&DF.test(g)?g:void 0)&&(a.nonce=g);if("help"==a.flow){var h=cq("document.location.href",e);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=1200>=k.length)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];e.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||
"//www.google.com/tools/feedback";if(h=e.GOOGLE_FEEDBACK_START)h.apply(e,b);else{var e=c+"/load.js?",n;for(n in a)b=a[n],null!=b&&!lq(b)&&(e+=encodeURIComponent(n)+"="+encodeURIComponent(b)+"&");a=f.createElement(Am);g&&a.setAttribute("nonce",g);a.src=e;f.body.appendChild(a)}};w("userfeedback.api.startFeedback",EF,void 0);var FF=function(a,b,c){try{c=c||"en";if(0<=b.indexOf("/")){var e=b.split("?#",2)[0];"/"==e.slice(-1)&&(e=e.slice(0,-1));b=e.slice(e.lastIndexOf("/")+1);if(!b||0<=b.indexOf(".")||b==pn||b==rn)b="dashboard"}EF({productId:"70",flow:"help",helpCenterContext:b,helpCenterPath:"/sites",anchor:O(a),locale:c})}catch(f){window.open("http://support.google.com/sites/?hl="+c)}};w("sites.util.helpBox",FF,void 0);var GF=function(a,b,c,e){this.IEa=a;this.AE=b;this.cxa=c;this.c9=e};r=GF.prototype;r.create=function(){ga("create",this.IEa,{name:this.AE,sampleRate:this.cxa})};r.b9=function(){this.SO();var a={};a.hitCallback=y(function(){ga[this.c9]=!0},this);ga(this.AE+".send","pageview",a)};r.Z8=function(a,b,c,e){if(e&&e.hitCallback){var f=e.hitCallback;if(this.Aqa()){var g=M(f,1E3);e.hitCallback=function(){jw(g);f()}}else{f();return}}ga(this.AE+".send",Jg,a,b,c,e)};r.SO=function(){};
r.set=function(a,b){ga(this.AE+".set",a,b)};r.Aqa=function(){return!!ga[this.c9]};var HF=function(){GF.call(this,"UA-38003561-1","SitesTracker",100,"__sites_ga_loaded__")};B(HF,GF);
HF.prototype.SO=function(){this.set("anonymizeIp",!0);this.set("page",webspace.page.path+window.location.search+window.location.hash);var a="Guest";webspace.domain==bg?a="Default domain":"nodomain"==webspace.domain?a="No domain":webspace.user.domainUser&&webspace.user.domain==webspace.domain&&(a="Domain user");var b=webspace.user.hasWriteAccess?"Write access":"No write access",c=webspace.user.hasAdminAccess?"Admin access":"No admin access",e=webspace.isPublic?"Public":"Restricted",f=webspace.isConsumer?
"Consumer":"Hosted",g="Not Embedded";if(window.self!=window.top)try{g=null!=window.top.location?"Embedded in Sites":gc}catch(h){g=gc}this.set("dimension1",a);this.set("dimension2",b);this.set("dimension3",c);this.set("dimension4",e);this.set("dimension5",f);this.set("dimension6",g);this.set("metric1",webspace.page.revision)};var IF=function(){GF.call(this,"UA-45214764-1","CorpSitesTracker",100,"__corp_sites_ga_loaded__")};B(IF,GF);
IF.prototype.SO=function(){this.set("anonymizeIp",!0);this.set("dimension1",webspace.domain);this.set("dimension2",webspace.name);this.set("dimension3",webspace.page.path);this.set("dimension4",webspace.page.wuid);this.set("metric1",webspace.page.revision)};var JF=new HF,KF=new IF,LF=function(){return"google.com"==webspace.domain};
w("sites.core.Analytics.createTracker",function(){window.GoogleAnalyticsObject="ga";window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)};window.ga.l=1*new Date;var a=document.createElement(Am),b=document.getElementsByTagName(Am)[0];a.async=1;a.src=Ga;b.parentNode.insertBefore(a,b);JF.create();LF()&&KF.create()},void 0);w("sites.core.Analytics.trackPageview",function(){JF.b9();LF()&&KF.b9()},void 0);var NF=function(a,b,c,e){LF()&&(MF(2,e),KF.Z8(a,b,c,e));JF.Z8(a,b,c,e)};
w("sites.core.Analytics.trackEvent",NF,void 0);var MF=function(a,b){var c=b&&b.hitCallback;c&&(b.hitCallback=function(){var b=a;return function(){b--;b||c()}}())},OF=function(a,b,c,e){e=e||{};e.hitCallback=c;NF(a,b,void 0,e)};w("sites.core.Analytics.trackEventAndCall",OF,void 0);var PF=function(a,b,c,e){OF(a,b,function(){window.location.href=c},e)};w("sites.core.Analytics.trackEventAndNavigate",PF,void 0);var QF=function(a){J.call(this);this.bv={};this.av={};this.La=new GA(this);this.ia=a};B(QF,J);var RF=[H&&!Rs("11")?mm:uj,Hd,Hg];r=QF.prototype;r.fS=function(a,b,c){(b=x(b)?b:b.src)&&(this.bv[a]={src:b,qU:v(c)?c:null})};r.Xva=function(a){delete this.bv[a];var b=this.av[a];b&&(delete this.av[a],this.La.Ca(b,RF,this.B2),gs(this.av)&&gs(this.bv)&&this.dispatchEvent(kf))};r.start=function(){var a=this.bv;D(cs(a),function(b){var c=a[b];c&&(delete a[b],this.BB(c,b))},this)};
r.BB=function(a,b){if(!this.ob){var c;c=this.ia?N(this.ia).j("IMG"):new Image;a.qU&&(c.crossOrigin=a.qU);this.La.o(c,RF,this.B2);this.av[b]=c;c.id=b;c.src=a.src}};r.B2=function(a){var b=a.currentTarget;if(b){if(a.type==mm)if(b.readyState==kf)a.type=uj;else return;"undefined"==typeof b.naturalWidth&&(a.type==uj?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.ob||this.Xva(b.id)}};
r.A=function(){delete this.bv;delete this.av;F(this.La);QF.g.A.call(this)};var SF=function(){this.Nj=new QF;I(this.Nj,uj,this.pC,!1,this)};w("gsites.util.ImagePreloader",SF,void 0);var TF=new Hw(96,96);SF.prototype.Vf=function(a,b){for(var c=Qw(ui,b,O(a)),e=!1,f=0;f<c.length;f++){var g=c[f];g.height&&g.width?("undefined"==typeof g.naturalWidth&&(g.naturalWidth=g.width),"undefined"==typeof g.naturalHeight&&(g.naturalHeight=g.height),this.pC(null,g)):g.src&&(e=!0,this.Nj.fS(g.id,g.src))}e&&this.start()};w("gsites.util.ImagePreloader.prototype.init",SF.prototype.Vf,void 0);
SF.prototype.start=function(){this.Nj.start()};SF.prototype.pC=function(a,b){var c=a?a.target:b;if(c&&v(c.naturalWidth)&&v(c.naturalHeight)){var e=O(c.id);if(e){var f=new Hw(c.naturalWidth,c.naturalHeight);f.zz(TF)?(e.height=c.naturalHeight,e.width=c.naturalWidth):(c=f.rw(TF),e.height=c.height,e.width=c.width);e.style.display=""}}};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
var UF=function(a,b){this.sD=[];this.n2=a;this.tV=b||null;this.Hu=this.an=!1;this.ah=void 0;this.QP=this.fT=this.MF=!1;this.CE=0;this.ia=null;this.OF=0};r=UF.prototype;r.cancel=function(a){if(this.an)this.ah instanceof UF&&this.ah.cancel();else{if(this.ia){var b=this.ia;delete this.ia;a?b.cancel(a):b.Rca()}this.n2?this.n2.call(this.tV,this):this.QP=!0;this.an||this.ef(new VF(this))}};r.Rca=function(){this.OF--;0>=this.OF&&this.cancel()};r.oU=function(a,b){this.MF=!1;this.KQ(a,b)};
r.KQ=function(a,b){this.an=!0;this.ah=b;this.Hu=!a;this.cu()};r.Ik=function(){if(this.an){if(!this.QP)throw new WF(this);this.QP=!1}};r.Ac=function(a){this.Ik();this.KS(a);this.KQ(!0,a)};r.ef=function(a){this.Ik();this.KS(a);this.KQ(!1,a)};r.KS=function(a){C(!(a instanceof UF),"An execution sequence may not be initiated with a blocking Deferred.")};r.pa=function(a,b){return this.Ks(a,null,b)};r.ei=function(a,b){return this.Ks(null,a,b)};
r.Ks=function(a,b,c){C(!this.fT,"Blocking Deferreds can not be re-used");this.sD.push([a,b,c]);this.an&&this.cu();return this};r.then=function(a,b,c){var e,f,g=new aw(function(a,b){e=a;f=b});this.Ks(e,function(a){a instanceof VF?g.cancel():f(a)});return g.then(a,b,c)};Yv(UF);UF.prototype.isError=function(a){return a instanceof Error};UF.prototype.MZ=function(){return zr(this.sD,function(a){return kq(a[1])})};
UF.prototype.cu=function(){if(this.CE&&this.an&&this.MZ()){var a=this.CE,b=XF[a];b&&(b.r4(),delete XF[a]);this.CE=0}this.ia&&(this.ia.OF--,delete this.ia);for(var a=this.ah,c=b=!1;this.sD.length&&!this.MF;){var e=this.sD.shift(),f=e[0],g=e[1],e=e[2];if(f=this.Hu?g:f)try{var h=f.call(e||this.tV,a);v(h)&&(this.Hu=this.Hu&&(h==a||this.isError(h)),this.ah=a=h);if(Zv(a)||typeof t.Promise===lh&&a instanceof t.Promise)this.MF=c=!0}catch(k){a=k,this.Hu=!0,this.MZ()||(b=!0)}}this.ah=a;c&&(h=y(this.oU,this,
!0),c=y(this.oU,this,!1),a instanceof UF?(a.Ks(h,c),a.fT=!0):a.then(h,c));b&&(a=new YF(a),XF[a.fa]=a,this.CE=a.fa)};var ZF=function(a){var b=new UF;b.Ac(a);return b},$F=function(a){var b=new UF;b.ef(a);return b},WF=function(){yq.call(this)};B(WF,yq);WF.prototype.message="Deferred has already fired";WF.prototype.name="AlreadyCalledError";var VF=function(){yq.call(this)};B(VF,yq);VF.prototype.message="Deferred was canceled";VF.prototype.name="CanceledError";
var YF=function(a){this.fa=t.setTimeout(y(this.SCa,this),0);this.aq=a};YF.prototype.SCa=function(){C(XF[this.fa],"Cannot throw an error that is not scheduled.");delete XF[this.fa];throw this.aq;};YF.prototype.r4=function(){t.clearTimeout(this.fa)};var XF={};var eG=function(a,b){var c=b||{},e=c.document||document,f=document.createElement(Oc),g={W4:f,$h:void 0},h=new UF(aG,g),k=null,n=null!=c.timeout?c.timeout:5E3;0<n&&(k=window.setTimeout(function(){bG(f,!0);h.ef(new cG(1,"Timeout reached for loading script "+a))},n),g.$h=k);f.onload=f.onreadystatechange=function(){f.readyState&&f.readyState!=xj&&f.readyState!=kf||(bG(f,c.yda||!1,k),h.Ac(null))};f.onerror=function(){bG(f,!0,k);h.ef(new cG(0,"Error while loading script "+a))};g=c.attributes||{};os(g,{type:Fo,
charset:"UTF-8",src:a});Uw(f,g);dG(e).appendChild(f);return h},dG=function(a){var b=a.getElementsByTagName("HEAD");return!b||Gr(b)?a.documentElement:b[0]},aG=function(){if(this&&this.W4){var a=this.W4;a&&a.tagName==Oc&&bG(a,!0,this.$h)}},bG=function(a,b,c){null!=c&&t.clearTimeout(c);a.onload=dq;a.onerror=dq;a.onreadystatechange=dq;b&&window.setTimeout(function(){kx(a)},0)},cG=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);yq.call(this,c);this.code=a};B(cG,yq);var fG=function(){this.Sl={}};fG.prototype.AAa=function(a){this.Sl["card/source"]=a;return this};fG.prototype.getSource=function(){var a=this.Sl["card/source"];return null!=a?String(a):""};fG.prototype.sx=function(){return this.Sl};var iG=function(a){a=a||N();a=oq(a.N());gG[a]||(gG[a]=new hG);return gG[a]},gG={},hG=function(){E.call(this);this.Uv=[];this.B=new fG};B(hG,E);r=hG.prototype;r.DW=!1;r.q0=!1;r.uk=null;r.TE=null;r.s9=null;r.EB=function(){var a=cq("gapi.load");kq(a)&&!this.q0?(this.q0=!0,a("card",y(this.lma,this))):this.DW||(this.DW=!0,eG(mi).pa(y(this.EB,this)))};
r.lma=function(){this.uk=cq("gapi.config.update");this.TE=cq("gapi.card.watch");this.s9=cq("gapi.card.unwatch");this.configure(this.B);for(var a=0;a<this.Uv.length;a++){var b=this.Uv[a];this.l$(b.b(),b.getUserData())}this.Uv=[]};r.configure=function(a){this.B=a;a=a.sx();if(this.uk)for(var b in a)this.uk(b,a[b])};r.l$=function(a,b){this.TE?(Gz(a,"g-hovercard"),b&&a.setAttribute("data-userid",b),this.TE(a)):(this.Uv.push(new jG(a,b)),this.EB())};
r.A=function(){hG.g.A.call(this);delete this.TE;delete this.s9;delete this.Uv};var jG=function(a,b){this.G=a;this.sEa=b};jG.prototype.b=function(){return this.G};jG.prototype.getUserData=function(){return this.sEa};var kG=function(a,b){C(v(b)||v(Xz),Vh);this.sc=[];this.Ia=b||Xz;typeof a==pk?this.np(a):this.sg(a)};r=kG.prototype;
r.sg=function(a){for(var b=!1,c="",e=0;e<a.length;e++){var f=a.charAt(e);if(" "==f)for(0<c.length&&(this.sc.push({text:c,count:0,ip:!1}),c=""),this.sc.push({text:" ",count:0,ip:!1});e<a.length-1&&" "==a.charAt(e+1);)e++;else if(b)"'"==f?e+1<a.length&&"'"==a.charAt(e+1)?(c+="'",e++):b=!1:c+=f;else if(0<="GyMdkHmsSEDahKzZvQL".indexOf(f)){0<c.length&&(this.sc.push({text:c,count:0,ip:!1}),c="");var g=this.Mja(a,e);this.sc.push({text:f,count:g,ip:!1});e+=g-1}else"'"==f?e+1<a.length&&"'"==a.charAt(e+1)?
(c+="'",e++):b=!0:c+=f}0<c.length&&this.sc.push({text:c,count:0,ip:!1});if(b)throw Error("Malformed pattern: closing ' mark missing");this.Yra()};r.np=function(a){var b;11<a&&(a=10);4>a?b=this.Ia.gp[a]:8>a?b=this.Ia.Qx[a-4]:(b=this.Ia.mR[a-8],b=b.replace("{1}",this.Ia.gp[a-8]),b=b.replace("{0}",this.Ia.Qx[a-8]));this.sg(b)};r.parse=function(a,b,c){return this.U_(a,b,c||0,!1)};r.uCa=function(a,b,c){return this.U_(a,b,c||0,!0)};
r.U_=function(a,b,c,e){for(var f=new lG,g=[c],h=-1,k=0,n=0,q=0;q<this.sc.length;q++)if(0<this.sc[q].count)if(0>h&&this.sc[q].ip&&(h=q,k=c,n=0),0<=h){var u=this.sc[q].count;if(q==h&&(u-=n,n++,0==u))return 0;this.B8(a,g,this.sc[q],u,f)||(q=h-1,g[0]=k)}else{if(h=-1,!this.B8(a,g,this.sc[q],0,f))return 0}else{h=-1;if(" "==this.sc[q].text.charAt(0)){if(u=g[0],this.c8(a,g),g[0]>u)continue}else if(a.indexOf(this.sc[q].text,g[0])==g[0]){g[0]+=this.sc[q].text.length;continue}return 0}return f.$ca(b,e)?g[0]-
c:0};r.Mja=function(a,b){for(var c=a.charAt(b),e=b+1;e<a.length&&a.charAt(e)==c;)e++;return e-b};r.QK=function(a){if(0>=a.count)return!1;var b="MydhHmsSDkK".indexOf(a.text.charAt(0));return 0<b||0==b&&3>a.count};r.Yra=function(){for(var a=!1,b=0;b<this.sc.length;b++)this.QK(this.sc[b])?!a&&b+1<this.sc.length&&this.QK(this.sc[b+1])&&(a=!0,this.sc[b].ip=!0):a=!1};r.c8=function(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)};
r.B8=function(a,b,c,e,f){this.c8(a,b);var g=b[0],h=c.text.charAt(0),k=-1;if(this.QK(c))if(0<e){if(g+e>a.length)return!1;k=this.Sv(a.substring(0,g+e),b)}else k=this.Sv(a,b);switch(h){case "G":return k=this.Qn(a,b,this.Ia.pR),0<=k&&(f.era=k),!0;case "M":case "L":return this.zCa(a,b,f,k);case "E":return this.xCa(a,b,f);case "a":return k=this.Qn(a,b,this.Ia.eR),0<=k&&(f.sS=k),!0;case "y":return this.BCa(a,b,g,k,c,f);case "Q":return this.ACa(a,b,f,k);case "d":return 0<=k&&(f.day=k),!0;case "S":return this.yCa(k,
b,g,f);case "h":12==k&&(k=0);case "K":case "H":case "k":return 0<=k&&(f.Fc=k),!0;case "m":return 0<=k&&(f.Rd=k),!0;case "s":return 0<=k&&(f.Sd=k),!0;case "z":case "Z":case "v":return this.ECa(a,b,f);default:return!1}};r.BCa=function(a,b,c,e,f,g){var h;if(0>e){h=a.charAt(b[0]);if("+"!=h&&"-"!=h)return!1;b[0]++;e=this.Sv(a,b);if(0>e)return!1;"-"==h&&(e=-e)}h||2!=b[0]-c||2!=f.count?g.year=e:g.OAa(e);return!0};
r.zCa=function(a,b,c,e){if(0>e){e=this.Qn(a,b,this.Ia.vR.concat(this.Ia.Hs).concat(this.Ia.CR).concat(this.Ia.FR));if(0>e)return!1;c.month=e%12}else c.month=e-1;return!0};r.ACa=function(a,b,c,e){if(0>e){e=this.Qn(a,b,this.Ia.AR);0>e&&(e=this.Qn(a,b,this.Ia.DR));if(0>e)return!1;c.month=3*e;c.day=1;return!0}return!1};r.xCa=function(a,b,c){var e=this.Qn(a,b,this.Ia.KR);0>e&&(e=this.Qn(a,b,this.Ia.ER));if(0>e)return!1;c.RG=e;return!0};
r.yCa=function(a,b,c,e){b=b[0]-c;e.bM=3>b?a*Math.pow(10,3-b):Math.round(a/Math.pow(10,b-3));return!0};r.ECa=function(a,b,c){a.indexOf("GMT",b[0])==b[0]&&(b[0]+=3);return this.Aua(a,b,c)};
r.Aua=function(a,b,c){if(b[0]>=a.length)return c.BQ=0,!0;var e=1;switch(a.charAt(b[0])){case "-":e=-1;case "+":b[0]++}var f=b[0],g=this.Sv(a,b);if(0>g)return!1;var h;if(b[0]<a.length&&":"==a.charAt(b[0])){h=60*g;b[0]++;g=this.Sv(a,b);if(0>g)return!1;h+=g}else h=g,h=24>h&&2>=b[0]-f?60*h:h%100+h/100*60;c.BQ=-(h*e);return!0};
r.Sv=function(a,b){if(this.Ia.iF){for(var c=[],e=b[0];e<a.length;e++){var f=a.charCodeAt(e)-this.Ia.iF;c.push(0<=f&&9>=f?String.fromCharCode(f+48):a.charAt(e))}a=c.join("")}else a=a.substring(b[0]);c=a.match(/^\d+/);if(!c)return-1;b[0]+=c[0].length;return parseInt(c[0],10)};r.Qn=function(a,b,c){var e=0,f=-1;a=a.substring(b[0]).toLowerCase();for(var g=0;g<c.length;g++){var h=c[g].length;h>e&&0==a.indexOf(c[g].toLowerCase())&&(f=g,e=h)}0<=f&&(b[0]+=e);return f};var lG=function(){};
lG.prototype.OAa=function(a){var b=(new Date).getFullYear()-80,c=b%100;this.lca=a==c;return this.year=a+=100*Math.floor(b/100)+(a<c?100:0)};
lG.prototype.$ca=function(a,b){void 0!=this.era&&void 0!=this.year&&0==this.era&&0<this.year&&(this.year=-(this.year-1));void 0!=this.year&&a.setFullYear(this.year);var c=a.getDate();a.setDate(1);void 0!=this.month&&a.setMonth(this.month);if(void 0!=this.day)a.setDate(this.day);else{var e=Yz(a.getFullYear(),a.getMonth());a.setDate(c>e?e:c)}kq(a.setHours)&&(void 0==this.Fc&&(this.Fc=a.getHours()),void 0!=this.sS&&0<this.sS&&12>this.Fc&&(this.Fc+=12),a.setHours(this.Fc));kq(a.setMinutes)&&void 0!=this.Rd&&
a.setMinutes(this.Rd);kq(a.setSeconds)&&void 0!=this.Sd&&a.setSeconds(this.Sd);kq(a.setMilliseconds)&&void 0!=this.bM&&a.setMilliseconds(this.bM);if(b&&(void 0!=this.year&&this.year!=a.getFullYear()||void 0!=this.month&&this.month!=a.getMonth()||void 0!=this.day&&this.day!=a.getDate()||24<=this.Fc||60<=this.Rd||60<=this.Sd||1E3<=this.bM))return!1;void 0!=this.BQ&&(c=a.getTimezoneOffset(),a.setTime(a.getTime()+6E4*(this.BQ-c)));this.lca&&(c=new Date,c.setFullYear(c.getFullYear()-80),a.getTime()<c.getTime()&&
a.setFullYear(c.getFullYear()+100));if(void 0!=this.RG)if(void 0==this.day)c=(7+this.RG-a.getDay())%7,3<c&&(c-=7),e=a.getMonth(),a.setDate(a.getDate()+c),a.getMonth()!=e&&a.setDate(a.getDate()+(0<c?-7:7));else if(this.RG!=a.getDay())return!1;return!0};var mG=function(){this.O3=z()},nG=new mG;mG.prototype.set=function(a){this.O3=a};mG.prototype.reset=function(){this.set(z())};mG.prototype.get=function(){return this.O3};var oG=function(a){this.Hi=a||"";this.mCa=nG};r=oG.prototype;r.rca=!0;r.sBa=!0;r.LBa=!0;r.CBa=!0;r.B7=!1;r.OBa=!1;
var qG=function(a){a=new Date(a.P8);return pG(a.getFullYear()-2E3)+pG(a.getMonth()+1)+pG(a.getDate())+" "+pG(a.getHours())+":"+pG(a.getMinutes())+":"+pG(a.getSeconds())+"."+pG(Math.floor(a.getMilliseconds()/10))},pG=function(a){return 10>a?"0"+a:String(a)},rG=function(a,b){var c=(a.P8-b)/1E3,e=c.toFixed(3),f=0;if(1>c)f=2;else for(;100>c;)f++,c*=10;for(;0<f--;)e=" "+e;return e},sG=function(a){oG.call(this,a)};B(sG,oG);sG.prototype.B7=!0;sG.prototype.Aha=function(a){return a?this.fX(a).zi():""};
sG.prototype.fX=function(a){if(!a)return Ju;var b;switch(a.Yf.value){case pv.value:b="dbg-sh";break;case qv.value:b="dbg-sev";break;case rv.value:b="dbg-w";break;case sv.value:b="dbg-i";break;default:b="dbg-f"}var c=[];c.push(this.Hi," ");this.sBa&&c.push("[",qG(a),"] ");this.LBa&&c.push("[",rG(a,this.mCa.get()),"s] ");this.CBa&&c.push("[",a.u1,"] ");this.OBa&&c.push("[",a.Yf.name,"] ");var c=xu(c.join("")),e=Ju;this.B7&&a.pz&&(e=Gu(Ku,hv(a.pz)));a=xu(a.getMessage());b=Du(jo,{"class":b},Gu(a,e));
return this.rca?Gu(c,b,Ku):Gu(c,b)};var tG=function(a){J.call(this);this.xm=a||window;this.CL=I(this.xm,tm,this.vn,!1,this);this.nb=Ww(this.xm)};B(tG,J);tG.prototype.Ie=function(){return this.nb?this.nb.clone():null};tG.prototype.A=function(){tG.g.A.call(this);this.CL&&(st(this.CL),this.CL=null);this.nb=this.xm=null};tG.prototype.vn=function(){var a=Ww(this.xm);Iw(a,this.nb)||(this.nb=a,this.dispatchEvent(tm))};w("sites.Hovercard",function(){var a=(new fG).AAa(rn);iG(void 0).configure(a);for(var a=Qw(null,"sites-admininfobox-hovercard",null),b=0;b<a.length;b++){var c=a[b],e=N(c);iG(e).l$(c,void 0)}},void 0);var uG=function(){this.jX=this.kX=!1};eq(uG);var vG=function(a){uG.K().Bra(a)};w("sites.util.GapiLoader.loadGapi",vG,void 0);uG.prototype.Bra=function(a){if(this.jX)a();else{if(!this.kX){this.kX=!0;var b=y(this.Wya,this);this.xV=eG(ni);this.xV.pa(b)}this.xV.pa(a)}};uG.prototype.Wya=function(){this.jX=!0};var wG=function(a,b,c){this.pca=a;webspace.features.contactStoreMigrationPollForGapi?(a=y(this.F_,this,b,c),a=y(this.j1,this,a),webspace.features.gapiLoaderUtil?vG(a):this.Nua(a)):(a=y(this.F_,this,b,c),this.j1(a))};B(wG,E);w("sites.CommentPane",wG,void 0);r=wG.prototype;r.Nua=function(a){var b=10,c=100,e=function(){window.gapi?a():0<b?(c*=2,b--,M(e,c)):console.log("Failed to load comments.")};e()};r.j1=function(a){eG(this.pca).pa(a)};
r.F_=function(a,b){var c=ps("c",!1,Docos.OptionName.PANE_DIV,O("sites-comment-docos-pane"),Docos.OptionName.RESOLVE,!1,Docos.OptionName.SHOW_ERRORS,!0,Docos.OptionName.HIDE_NOTIFICATION_SETTINGS,!0,Docos.OptionName.DISABLE_STREAM_PANE_FOCUS_WRAPPING,!0);b&&(c[Docos.OptionName.READONLY]=!0);this.uH=new Docos(c);this.Z();a&&this.Jfa()};r.Jfa=function(){this.uH.displayNotificationControlDialog()};r.Z=function(){this.uH.renderPaneSurface()};r.A=function(){wG.g.A.call(this);F(this.uH)};var xG=function(){this.Eb=[];this.EH=[];this.Gm=!1;this.result=this.jE=null},yG;xG.prototype.pa=function(a,b){if(typeof a!=lh)throw"Callback must be a function";b&&(a=y(a,b));this.Eb.push(a);this.Gm&&this.jE&&this.OC(this.result)};xG.prototype.addCallback=xG.prototype.pa;r=xG.prototype;r.ei=function(a,b){if(typeof a!=lh)throw"Errback must be a function";b&&(a=y(a,b));this.EH.push(a);this.Gm&&!this.jE&&this.u3(this.result)};
r.Ac=function(a){xq&&this.jn().info("Got result: "+a);if(this.Gm)throw Sb;this.jE=this.Gm=!0;this.OC(a)};
r.OC=function(a){this.result=a;if(this.Eb.length){var b=this.Eb.shift();try{xq&&this.jn().info("Passing result to callback handler");var c=b(a)}catch(e){xq&&this.jn().h$("Caught error running callback:"+e,e);this.Gm=!1;this.ef(e);return}c instanceof xG?(xq&&this.jn().info("Callback returned Deferred, waiting for result"),c.pa(this.OC,this),c.ei(this.ef,this)):this.Eb.length?(xq&&this.jn().info(this.Eb.length+" callbacks remaining."),this.OC(c)):this.result=c}};
r.ef=function(a){xq&&this.jn().info("Got error: "+a,a);if(this.Gm)throw Sb;this.Gm=!0;this.jE=!1;this.u3(a)};r.u3=function(a){this.result=a;var b;if(this.EH.length)for(;b=this.EH.shift();)try{b(a)}catch(c){}else xq&&this.jn().vP("Unhandled error: "+a,a)};r.jn=function(){yG||(yG=Ev("goog.deferred.Deferred"));return yG};
var zG=function(a){this.zV=a;this.ah=new xG;this.cD=[];for(var b=0;b<a.length;b++){var c=a[b];if(!(c instanceof xG))throw"All items in DeferredArray array must be Deferred objects";c.pa(this.vla,this);c.ei(this.cma,this)}};zG.prototype.vla=function(a){this.cD.push([!0,a]);this.pT()};zG.prototype.cma=function(a){this.cD.push([!1,a]);this.pT()};zG.prototype.pT=function(){this.cD.length==this.zV.length&&this.ah.Ac(this.cD)};zG.prototype.pa=function(a){this.ah.pa(a)};var BG=function(){if(AG)return AG;this.H=Dv();this.H.zo(rv);this.H.eS(y(this.Oma,this));this.Mra=new sG;AG=this},AG=null;BG.prototype.enabled=!0;BG.prototype.Uja=function(){var a=document.getElementById(nn);a||(a=document.createElement(m),a.id=nn,document.body.appendChild(a));return a};BG.prototype.Oma=function(a){if(this.enabled){var b=this.Uja().appendChild(document.createElement(m));b.className="sites-debug-log-logrecord";b.innerHTML=this.Mra.Aha(a)}};w("DebugLogDisplay",BG,void 0);var AF={rNa:[],LL:{},q1:{}};w("ResourceLoader",AF,void 0);AF.yu=function(){AF.H||(AF.H=Ev("sites.ResourceLoader"));return AF.H};AF.dr=function(a){var b=new xG;if(AF.q1[a])b.Ac(!0);else{var c=AF.LL[a];c||(AF.yu().info("loading "+a),c=AF.EB(a));c.pa(b.Ac,b);c.ei(b.ef,b)}b.pa(function(){AF.yu().info("ready: "+a)});b.ei(function(a){AF.yu().vP("error loading resource",a)});return b};AF.loadResource=AF.dr;
AF.er=function(a){for(var b=[],c=0;c<a.length;c++)b.push(AF.dr(a[c]));a=new zG(b);a.pa(function(){AF.yu().info("Done.")});return a};AF.loadResources=AF.er;
AF.EB=function(a){var b=new xG;b.pa(function(){delete AF.LL[a];AF.q1[a]=!0});var c=document.getElementsByTagName("head")[0];if(!c)throw"No head element found, aborting";var e,f=/\.css(\?|$)/.exec(a);f?(e=document.createElement("link"),e.href=a,e.rel="stylesheet"):/\.js$|\.js\?|\/jsapi$|\/jsapi\?/.exec(a)&&(e=document.createElement(Am),e.src=a);if("undefined"!=typeof e.readyState)e.onreadystatechange=function(){e.readyState!=xj&&e.readyState!=kf||b.Ac(!0)};else if(f){var g,h=function n(){n.Yga||(n.Yga=
!0,window.clearInterval(g),b.Ac(!0))};g=window.setInterval(function(){try{h()}catch(a){15!=a.code&&h()}},100);window.setTimeout(h,3E3)}else e.onload=function(){b.Ac(!0)};c.appendChild(e);b.pa(function(){AF.yu().info("loaded: "+a)});return AF.LL[a]=b};xG.prototype.addCallback=xG.prototype.pa;var CG=function(a,b){this.a2={};this.mpa={};this.L4=b;JOT_addListener("registerForRpc",y(this.Kva,this));var c=this;this.L4.register("resize_iframe",function(a){c.bza(this.f,a)})};w("gsites.RpcHub",CG,void 0);CG.prototype.Kva=function(a){var b=a.payload[0],c=a.payload[1],e=document.getElementById(c);if(e&&e.name){var f=e.name;e.src=a.payload[2];this.L4.setAuthToken(f,b);this.a2[f]=c;this.mpa[c]=f}};CG.prototype.bza=function(a,b){var c=document.getElementById(this.a2[a]);c&&(c.style.height=b+p)};(function(){function a(a){a&&"ping"==a.data&&a.source.postMessage("pong",a.origin)}window.addEventListener&&window.addEventListener(Nj,a,!1)})();w("JOT_addParamToUri",function(a,b,c){a=a instanceof Gx?a:new Gx(new String(a));a.W(b,c);return a},void 0);function DG(a){for(var b=new Az,c=!1,e=!0,f=0;f<arguments.length;f++){var g=arguments[f];if(typeof g==so){var h=0==g.indexOf("/");c&&h?g=g.substring(1):c||h||e||b.append("/");e=!1;c=g.lastIndexOf("/")==g.length-1;b.append(g)}}return b.toString()}webspace.getPath=DG;function EG(a){a=FG(a);var b={};a&&GG(b,a);return b}w("JOT_getCompParts",EG,void 0);
function FG(a){return a.id&&0==a.id.indexOf(Cb)?a:FG(a.parentNode)}function GG(a,b){for(var c=b.childNodes,e=0;e<c.length;e++){var f=c[e];if(1==f.nodeType&&(!f.id||0!=f.id.indexOf(Cb))){var g=f.getAttribute("jotId");if(g){f.jNa=g;var h=a[g];if(h){if(!(h instanceof Array)){var k=[];k.push(h);h=a[g]=k}h.push(f)}else a[g]=f}GG(a,f)}}}
function HG(a){I(window,uj,function(){var b=webspace.analyticsAccountId,c=webspace.enableUniversalAnalytics,e=webspace.baseUri;if(b&&c){var f="ga";window.GoogleAnalyticsObject?f=window.GoogleAnalyticsObject:(window[f]=window[f]||function(){(window[f].q=window[f].q||[]).push(arguments)},window[f].l=1*new Date,window.GoogleAnalyticsObject=f,AF.dr(Ga));var g=window[f];g("create",b,{cookieDomain:e});g("send","pageview");a&&g("set","admin",!0)}})}
function IG(a,b){I(window,uj,function(){AF.dr((ki==document.location.protocol?"https://ssl.":"http://www.")+"google-analytics.com/ga.js").pa(function(){var c=webspace.analyticsAccountId,e=webspace.enableAnalytics,f=webspace.baseUri;c&&e&&b&&(c=window._gat._getTracker(c),c._setCookiePath(f),c._trackPageview(),c._trackPageLoadTime(),a&&c._setVar("admin"));if(c=webspace.domainAnalyticsAccountId)c=window._gat._getTracker(c),-1!=document.location.host.indexOf(".google.com")&&(f=f.slice(0,f.lastIndexOf("/")),
c._setCookiePath(f)),c._trackPageview(),c._trackPageLoadTime()})})}w("JOT_insertAnalyticsCode",function(a,b){b?(HG(a),webspace.domainAnalyticsAccountId&&IG(a,!1)):IG(a,!0)},void 0);
w("JOT_insertTranslateCode",function(a,b){tq("translateCallback",function(){var a=cq("google.translate.TranslateElement");new a({pageLanguage:b,floatPosition:a.FloatPosition.BOTTOM_RIGHT,autoDisplay:!1});document.documentElement.style.height=Be});I(window,uj,function(){AF.dr(document.location.protocol+"//translate.google.com/translate_a/element.js?cb=translateCallback&hl="+a)})},void 0);function JG(a,b,c,e){a=webspace.baseUri+a;b="json="+encodeURIComponent(Ct(b));zz(a,c,e,Hc,b)}
w("JOT_callEndpoint",JG,void 0);function KG(a,b,c,e,f,g,h,k){var n=webspace.baseUri+"/system/services/gateway/?service="+encodeURIComponent(a);b.requestPath=b.requestPath||(new Gx(new String(window.location))).getPath();a=f||Hc;f=function(a,b){a&&(new Gx(new String(window.location))).cb(b)&&(n+="&"+b+"=true")};f(g,"nofwd");f(k,"ffwd");b=Ct(b);var q;h=h||{};a==Hc?q="json="+encodeURIComponent(b):h.json=b;zz(n,c,e,a,q,void 0,h)}w("JOT_callGateway",KG,void 0);
function LG(a,b,c,e,f){var g=webspace.baseUri+"/system/services/gateway-upload/?service="+a,h=new Bz;e&&I(h,wo,e);f&&I(h,Hg,f);c=c||{};c.service=a;a=Ct(c);h.xS(b,"json",a);b.acceptCharset="utf-8";h.Zba(b);h.n5(b,g)}w("JOT_postFormToGateway",LG,void 0);function MG(a){return-1==Rt(a,void 0)?ym:Aj}w("JOT_getTextDir",MG,void 0);w("JOT_setTextDir",function(a){null!=a.value&&(a.dir=MG(a.value))},void 0);function NG(a,b){if(a){var c=b==ym?"\u200f":"\u200e";return c+a+c}return""}w("JOT_wrapTextDir",NG,void 0);
w("JOT_setMobilePreview",function(){var a=window.getComputedStyle(document.body,null),b=document.getElementById(An);b.style.backgroundColor=a.backgroundColor;b.style.backgroundImage=a.backgroundImage;b.style.backgroundRepeat=a.backgroundRepeat;b.style.backgroundAttachment=a.backgroundAttachment;b.style.backgroundPosition=a.backgroundPosition;document.body.style.background=Qp},void 0);webspace.redirect=function(a){window.location.href=a};webspace.search=function(a,b,c){KG("Search",a,b,c)};
webspace.shallowSearch=function(a,b,c){KG("ShallowSearch",a,b,c)};w("webspace.shallowSearch",webspace.shallowSearch,void 0);webspace.cNa=function(a,b,c){KG(mc,a,b,c)};webspace.KNa=function(a,b,c){KG(Tc,a,b,c)};function OG(a){var b=!1,c=a.getAttribute(Mo);c&&(c=parseInt(c,10));if(c){var e=a.getAttribute("issitelocale");(e=e?window.JOT_formatRelativeToNow(c,e):window.JOT_formatRelativeToNow(c))?b=!0:(e=a.getAttribute(No)||(new eA(10)).format(new Date(c)),a.removeAttribute(Mo));tx(a,e)}return b}
function PG(){var a=!1;if(window.JOT_formatRelativeToNow)for(var b=Qw(jo),c=b.length-1;0<=c;c--)OG(b[c])&&(a=!0);a?QG():RG&&(window.clearInterval(RG),RG=null)}var RG;function QG(){RG||(RG=window.setInterval(PG,2E4),I(window,"pageshow",PG))}w("JOT_setInnerRelativeTime",function(a,b,c){for(var e=a.firstChild;e;e=e.nextSibling)if(e.getAttribute&&e.getAttribute(Mo)){a=e;break}b?a.setAttribute(Mo,b):a.removeAttribute(Mo);a.setAttribute(No,c||(new Date(b)).toLocaleString());OG(a);QG()},void 0);QG();
JOT_addListener(mf,PG);window.JOT_SUBPAGE_click=function(a){a=new $s(a||window.event);if(a.target.className==Og)return a=a.target.parentNode.parentNode,Jz(a,gf)?Iz(a,gf):Gz(a,gf),!1};webspace.printUrl=new Gx(new String(window.location));webspace.printUrl.W("tmpl","/system/app/templates/print/");webspace.printUrl.W("showPrintDialog","1");var SG=function(){E.call(this);this.X4=Xw(document);this.La=new GA(this);this.ha(this.La);this.Jr=null;var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;a&&(a=y(a,window));this.k4=a};B(SG,E);eq(SG);JOT_addListener("pageLoaded",function(){SG.K().Ipa()});r=SG.prototype;r.Wqa=function(){return!!document.querySelector};r.Ipa=function(){if(this.Wqa())for(var a=Qw(m,"goog-toc"),b=0;b<a.length;b++)this.Hpa(a[b])};
r.Hpa=function(a){a=Qw("a",null,a);for(var b=0;b<a.length;b++){var c=a[b],e=c.getAttribute("href"),f=e&&e.substring(1);if(e=e&&"#"==e[0]&&this.Hka(f))f=y(this.nxa,this,e,f),this.La.o(c,ef,f)}};r.Hka=function(a){return a&&(a=document.querySelector("a[name="+a+"]"))&&a.parentNode&&a.parentNode.tagName&&a.parentNode.tagName.match(/H[1-9]/)?a.parentNode:null};
r.nxa=function(a,b,c){a=wy(a).y;this.Jr=new gz([this.X4.scrollTop],[a],200,tz);this.La.o(this.Jr,Yd,this.sC);this.La.o(this.Jr,Gg,sq(this.Ita,b));this.Jr.play();c&&c.preventDefault()};r.sC=function(a){this.k4?this.k4(y(this.L6,this,a.x)):this.L6(a.x)};r.L6=function(a){this.X4.scrollTop=a};r.Ita=function(a){a&&(window.location.hash=a);F(this.Jr);this.Jr=null};var TG=function(a,b,c,e){HE.call(this,null);this.Vl=function(){window.location.href=a};b&&c&&(this.Vl=function(){PF(b,c,a,e)})};B(TG,HE);w("sites.components.NavigationButton",TG,void 0);var UG=function(a){this.P=a||N()};w("sites.components.Paginator",UG,void 0);
UG.prototype.Ke=function(a,b,c,e,f,g,h){0>e&&(e=0);if("desc"==(g||"asc")){var k=e-f;g=e+f;f=g>=c;c=c-e==c}else g=e-f,k=e+f,f=0>g,c=k>=c;e=k;e=ow(tw(String(window.location),rk),rk,e);g=ow(tw(String(window.location),rk),rk,g);g=new TG(g);g.U(O(a));g.fh(2);if(!f){if(k=O(a)){switch(h){case Zd:a="View newer posts";break;case "revisions":a="View older revisions";break;default:a="Previous"}AD(k,a,void 0)}I(g,l,g.Vl)}g.X(!f);f=new TG(e);f.U(O(b));f.fh(1);if(!c){if(b=O(b)){switch(h){case Zd:a="View older posts";
break;case "revisions":a="View newer revisions";break;default:a="Next"}AD(b,a,void 0)}I(f,l,f.Vl)}f.X(!c)};UG.prototype.initListeners=UG.prototype.Ke;var VG=function(a,b,c){UB.call(this,null,c);this.Vwa=a;this.X8=Sw("sites-navigation-link",a);this.UT=!!b;b=Sw(On,a);this.Wd(a,9,8);this.b7(!1);this.U(b)};B(VG,UB);w("gsites.HoverPopupMenu",VG,void 0);var WG=[],XG=function(a,b){wB(Pn,function(){var a=CB(NB,Pn);return new OB(null,null,null,a)});for(var c=zB(RB,On),e=Qw(null,a),f=0;f<e.length;f++)WG.push(new VG(e[f],b,c))};w("gsites.HoverPopupMenu.createSiteDropdownMenus",XG,void 0);
w("gsites.HoverPopupMenu.setSiteDropdownMenusFocusable",function(a){for(var b=0;b<WG.length;b++)WG[b].dm(a)},void 0);r=VG.prototype;r.hCa=function(){this.R()&&(this.JA=M(y(this.isa,this),250))};r.fG=function(){this.JA&&(jw(this.JA),this.JA=void 0)};r.isa=function(){this.fG();this.ac()||this.Je()};r.D=function(){VG.g.D.call(this);this.UT?(this.eDa=this.X8.href,this.X8.href="javascript:void(0);"):this.C().o(this.v().N(),Xj,this.Dta,!0)};
r.Wd=function(a,b,c,e,f){this.CK(a)||(a=this.sU(a,b,c,e,f),this.UT?this.C().o(a.G,ef,this.Lta):this.C().o(a.G,Xj,this.Nta))};r.Nta=function(a){this.Kn=!0;this.fG();VG.g.tC.call(this,a)};r.Lta=function(a){this.ac()?window.location.href=this.eDa:(this.Kn=!0,this.fG(),VG.g.tC.call(this,a))};r.Dta=function(a){this.R()&&(this.Kn=a.target instanceof Element&&this.wg(a.target),this.ac()||this.JA||this.hCa())};r.ac=function(){return this.Kn};r.m2=function(){};r.Jg=function(){this.ac()||this.Je()};
r.wg=function(a){return this.v().contains(this.Vwa,a)};var YG=function(){};w("sites.util.GearsMenu",YG,void 0);YG.prototype.Bpa=function(){var a=O(Nn),b=Sw("sites-gears-button-icon");a&&b&&(b=new wC(b,null,$E.K()),b.U(a),a=b.Wa(),this.E_(a))};var ZG=function(a,b){FF(a,b||"viewPage")};
YG.prototype.E_=function(a){this.Il(a,"sites-view-page-help",sq(ZG,Tj,"viewPage"));this.Il(a,"sites-help",sq(ZG,Nn,document.URL));var b=DG(webspace.baseUri,"/system/app/pages/meta/dashboard/userSettings");this.Il(a,"sites-user-settings",function(){window.location=b});this.Il(a,"googleadmin-enabled-link",function(){document.cookie="JOT_GA=false; path=/";window.location.reload(!0)});this.Il(a,"googleadmin-disabled-link",function(){document.cookie="JOT_GA=true; path=/";window.location.reload(!0)});var c=
DG(webspace.baseUri,"/system/pages/siteAdminTool");this.Il(a,"sites-admin-page",function(){window.location=c});var e=DG(webspace.baseUri,"/system/app/pages/meta/dashboard/domainAdminTool");this.Il(a,"sites-domain-admin-page",function(){window.location=e});this.Il(a,"sites-internal-feedback",function(){window.open("http://sites.google.com/a/google.com/JotSpot_Help/")})};YG.prototype.Il=function(a,b,c){(a=a.dl(b))&&I(a,l,c)};var $G=function(a,b){E.call(this);this.Tqa=!!a;(this.Hqa=!!b)||(new YG).Bpa();this.Tqa&&this.Fpa()};B($G,E);w("sites.util.OneGoogle",$G,void 0);var aH={my:"Search my sites",all:"Search all sites"};r=$G.prototype;r.uw=null;r.MN=null;r.Zl=null;
r.Fpa=function(){if(window.gbar){var a=window.gbar.qfae,b=window.gbar.qfgf;if(a&&b){this.uw=b();this.MN=this.uw.elements.scope;this.Zl=this.uw.elements.q;I(this.uw,vo,y(function(a){this.B0()||a.preventDefault()},this));var c=new TB;Wr(aH,function(a,b){c.zc(new OB(a,b))});var b=new yC(null,c,new $E),e=ax(d,["sites-search-scope-selector",zh]);b.y5(!1);b.J6(!0);b.Z(e);var f=Mz(this.MN);b.setValue(f);I(b,Xe,y(this.Ina,this));a(e)}}};
r.Ina=function(a){a=a.target.Ga().ca;var b=this.MN,c=b.type;if(v(c))switch(c.toLowerCase()){case af:case "radio":b.checked=a;break;case "select-one":b.selectedIndex=-1;if(x(a))for(var e=0;c=b.options[e];e++)if(c.value==a){c.selected=!0;break}break;case Im:c=a;x(c)&&(c=[c]);for(var f=0;e=b.options[f];f++)if(e.selected=!1,c)for(var g,h=0;g=c[h];h++)e.value==g&&(e.selected=!0);break;default:b.value=null!=a?a:""}this.Zl.placeholder=aH[a];this.B0()&&this.uw.submit()};
r.B0=function(){var a=Mz(this.Zl);return x(a)&&!Dq(a)};var bH=function(){this.Yb=Sw("sites-admin-content-pane")||Sw("goog-ws-dash-main")||O("sites-chrome-everything-scrollbar")||O(An);this.OP=Sw("sites-admin-sidebar-wrapper");this.SZ=Sw("sites-system-edit-header")||Sw("sites-header-divider");this.bX=Sw("sites-adminfooter")||Sw("sites-dash-footer");var a=new tG(window);I(a,tm,y(this.resize,this))};B(bH,E);eq(bH);w("sites.util.PageContentResizer.getInstance",bH.K,void 0);bH.prototype.Mya=function(a){this.Bga=!!a};bH.prototype.setExcludeFooter=bH.prototype.Mya;
bH.prototype.IDa=function(a){a=Ww().height-a;this.Yb&&(P(this.Yb,$h,a+p),P(this.Yb,Ok,Be));this.OP&&(P(this.OP,$h,a+p),P(this.OP,Ok,Be))};bH.prototype.resize=function(){var a=0;this.SZ&&(a+=Iy(this.SZ).height);!this.Bga&&this.bX&&(a+=Iy(this.bX).height);this.IDa(a)};bH.prototype.resize=bH.prototype.resize;var cH=function(a){var b='<table width="500px">';a=a.lpa;for(var c=a.length,e=0;e<c;e++)var f=a[e],b=b+('<tr><td width="16px" id="upload-icon-'+V(f)+'" style="background-repeat: no-repeat; background-position: center center;"></td><td width="184px" id="upload-name-'+V(f)+'"></td><td width="300px"><div id="upload-status-text-'+V(f)+'"></div><div id="upload-status-progress-'+V(f)+'"></div></td></tr>');return b+hb};cH.ya="soy.sites.attachments.Dialog.content";var dH=function(a){return PD((a.b3?'<label><input jotId="showPageTitleEl" type="checkbox" '+qE(a.a3)+"/>Show page title</label>":"")+(a.A8?'<br/><label><input jotId="allowSubpagesEl" type="checkbox" '+qE(a.z8)+"/>Show links to sub-pages</label>":"")+(a.RS?'<br/><label><input jotId="allowAttachmentsEl" type="checkbox" '+qE(a.SS)+"/>Allow attachments</label>":"")+(a.dU?'<br/><label><input jotId="allowCommentsEl" type="checkbox" '+qE(a.eU)+"/>Allow comments</label>":""))},eH=function(a,b,c){c=c||{};
return PD('<table cellspacing="10px">'+(a.Z1?rb+(c.Pa?Ea+c.Pa+qa:"")+'width: 25%; vertical-align: top">Template name:</td><td><input jotId="pageTemplateName" type="text" size="30"'+(a.zl?' style="'+(c.Pa?Ea+c.Pa+qa:"")+ti:"")+' value="_pageURL_" /></td></tr>':"")+rb+(c.Pa?Ea+c.Pa+qa:"")+'width: 25%; vertical-align: top">Description:</td><td><input jotId="pageTemplateDesc" type="text" size="30" value="'+oE(a.description)+'"/><br/>Shown to the user in the create page on hover</td></tr></table>')},fH=
function(a,b,c){c=c||{};return PD('<table cellspacing="10px"><tr><td style="'+(c.Pa?Ea+c.Pa+qa:"")+'width: 25%; vertical-align: top">Default location:</td><td><strong><span jotId="defaultLocationLabel">'+V(a.defaultLocationPath)+'</span></strong>&nbsp; (<a href="javascript:;" id="templateDefaultLocationAnchor" onclick="'+(c.Pa?Ea+c.Pa+qa:"")+'JOT_postEvent(\'showSelectDefaultTemplateLocation\'); return false">change</a>)<input type="hidden" jotId="defaultLocationWuid" value="'+oE(a.defaultLocationWuid)+
'" /><br/><div id="sites-template-default-loc">When pages are created with this page template, they will be added to this location in your site.</div></td></tr></table>')},gH=function(a,b,c){c=c||{};b=PD;c='<p jotId="confirmText" class="goog-ws-large">Really delete "'+V(a.Z2)+'"?</p><p jotId="errorPageText" class="goog-ws-deletePage-lockText" style="'+(c.Pa?Ea+c.Pa+qa:"")+'display:none">&#160;</p>';var e;e=PD;var f='<div jotId="pageList-'+oE(a.Y2)+'" class="goog-ws-tree-wrapper sites-delete-items-subtree jfk-scrollbar"><p><strong>Deleting "'+
V(a.Z2)+'" will delete the following items:</strong></p><div jotId="treeDiv-'+oE(a.Y2)+'">Loading page list&#8230;<span id="spinnerWait" class="goog-inline-block"><img src="';a=a.baseUri;MD(a,ZC)?(C(a.constructor===RD),a=rE(a)):MD(a,$C)?(C(a.constructor===SD),a=rE(a)):a instanceof iu?a=rE(ju(a)):a instanceof ou?a=rE(pu(a)):(a=String(a),EE.test(a)?a=a.replace(tE,uE):(jr("Bad value `%s` for |filterNormalizeMediaUri",[a]),a=Kd));e=e(f+oE(a)+'/system/app/images/spinner.gif" /></span></div></div>');return b(c+
e)},hH=function(){return PD("<b>Oops!</b><br/>")},iH=function(a,b,c){return PD(hH(null,null,c)+"You cannot delete these pages because they include the landing page (<b>"+V(a.ora)+"</b>). Please either move the landing page or switch to a different landing page.")};iH.ya="soy.sites.pageactions.deletePageErrorLandingPage";var jH=function(a,b,c){return PD(hH(null,null,c)+"This page no longer exists - maybe it was deleted by someone else?")};jH.ya="soy.sites.pageactions.deletePageErrorNotFound";
var kH=function(a,b,c){return PD(hH(null,null,c)+"One or more of the pages to be deleted are locked because they are currently being edited. You must wait until they are finished editing before deleting.")};kH.ya="soy.sites.pageactions.deletePageErrorDescendants";var lH=function(a,b,c){return PD(hH(null,null,c)+"This page is locked because it is currently being edited by <b>"+V(a.Kra)+"</b>. You must wait until they are finished before deleting it.")};lH.ya="soy.sites.pageactions.deletePageErrorCurrent";
var mH=function(a,b,c){return PD(hH(null,null,c)+"You can not delete this page because you don't have editing rights on its parent. Ask the site's owner to grant you access to the parent page.")};mH.ya="soy.sites.pageactions.deletePageErrorParentPermission";var nH=function(a,b,c){return PD(hH(null,null,c)+"You can not delete this page because you don't have editing rights on one of its subpages. Ask the site's owner to grant you access to the subpages.")};nH.ya="soy.sites.pageactions.deletePageErrorChildPermission";
var oH=function(a,b,c){return PD(hH(null,null,c)+"You can not delete this page because of an unknown error.")};oH.ya="soy.sites.pageactions.deletePageErrorPageUnknown";var pH=function(a){for(var b='<table class="goog-ws-deletePage-table"><tr><th>Page</th><th>Locked by</th></tr>',c=a.results,e=c.length,f=0;f<e;f++)var g=c[f],b=b+(g.wuid!=a.opa?'<tr><td><a href="'+oE(vE(g.path))+'">'+V(g.title)+"</a></td><td>"+V(g.lockUser)+ib:"");return PD(b+hb)};pH.ya="soy.sites.pageactions.deleteErrorLockTable";
var qH=function(){return PD('<div class="goog-adsense-promo-popup"><div class="goog-adsense-promo-up-arrow"></div><div class="goog-adsense-promo-dismiss"><span class="modal-dialog-title-close"></span></div><div class="goog-adsense-promo-title"><strong>Make money with AdSense</strong></div><div class="goog-adsense-promo-content"><div class="goog-adsense-promo-img"></div><div class="goog-adsense-promo-text"><p>Use Google AdSense to earn revenue by displaying ads that are precisely targeted to your Site. Click to begin earning money with AdSense!</p></div></div><div class="goog-adsense-promo-monetize-btn"></div></div>')};
qH.ya="soy.sites.pageactions.adSensePromo";var rH=function(a){zE(x(a.message)||a.message instanceof cD,Nj,a.message,to);var b=a.message;zE(iq(a.eu)||1===a.eu||0===a.eu,"fitToScreen",a.eu,Me);return PD((a.eu?'<div class="sites-cookie-notice-fit" tab-index="-1">':'<div class="sites-cookie-notice" tab-index="-1">')+"<div>"+V(b)+"</div><br></div>")};rH.ya="soy.sites.notice.viewerNotice";var sH=function(a){return'<p>Link your Google+ page to your site.</p><p>The Google+ badge helps you grow your audience on Google+ and show more recommendations in Google search by letting people add you to their circles and +1 your page, all without leaving your site.</p><p><a href="https://developers.google.com/+/plugins/badge/" target="_blank">Learn more about Google+ badges</a></p><p id="'+V(a.Nd.Yaa)+'" '+(a.url?"":'style="visibility:none"')+'><span class="sites-plus-page-url-preview">This badge will link to: <a id="'+
V(a.Nd.Zaa)+'" target="_new" href="'+V(a.url)+'">'+V(a.url)+'</a></span> <span id="'+V(a.Nd.y$)+'" class="plus-page-change-url">Change</span></p><div><p><label for="size" class="sites-plusone-properties-label">Style:</label> <select jotId="style" id="style"><option value="badge" '+("badge"==a.style?Km:"")+'>Standard badge</option><option value="smallbadge" '+("smallbadge"==a.style?Km:"")+'>Small badge</option><option value="smallicon" '+("smallicon"==a.style?Km:"")+'>Small icon</option><option value="mediumicon" '+
("mediumicon"==a.style?Km:"")+'>Medium icon</option><option value="largeicon" '+("largeicon"==a.style?Km:"")+">Large icon</option></select></p></div>"};sH.ya="sites.editor.embed.templates.plusbadge.dialog";var tH=function(a){return'<div class="sites-sitelayout-chrome-hint">'+V(a.cpa)+cb};tH.ya="sites.editor.chrome.templates.chromeelementhint.main";var uH=function(a){return'<table style="width: 100%;"><tbody><tr><td class="goog-ws-edit-nav-title"><b>Text to display:</b></td><td><input type="text" id="sites-chrome-externalurl-title" value="'+V(a.title)+'" class="sites-chrome-externalurl-input" /></td></tr><tr><td class="goog-ws-edit-nav-title"><b>URL or email:</b></td><td><input type="text" id="sites-chrome-externalurl-url" value="'+V(a.url)+'" class="sites-chrome-externalurl-input" /></td></tr><tr><td colspan=2><span jotid="linkNewWindowSpan"><label><input id="sites-chrome-externalurl-opennewwin" type="checkbox" '+
(a.P2?bf:"")+" />Open this link in a new window</label></span></td></tr></tbody></table>"};uH.ya="sites.editor.chrome.templates.externalurl.main";var vH=function(a){var b='<div class="goog-ws-edit-nav">'+(a.fB?"":'<div><table><tr><td style="vertical-align: baseline"><strong>Title:&nbsp;</strong></td><td style="vertical-align: baseline"><input id="navTitle" type="text" value="'+V(a.title)+'" /><br /><label><input type="checkbox" id="displayTitleCheckbox" /> Display title</label></td></tr></table><hr/></div>')+'<div id="fullNavEditor">'+(a.fB?"":'<label><input type="checkbox" id="dynamicModeCheckbox" /> Automatically organize my navigation</label><div style="margin-top: 12px" id="dynamicModeEditor">Levels of pages to show: <select id="depthSelector"><option>1</option><option>2</option><option>3</option><option>all</option></select></div>'),
c;c='<table class="goog-ws-edit-nav-table" id="manualModeEditor"><tr><td valign="top"><p><strong>Select pages to show</strong></p><div class="goog-ws-list-gadget"><div id="pageListEl"></div></div><p><a id="addPageBtn" class="sites-chrome-navigationdialog-addpage sites-chrome-navigationdialog-action" tabindex="0">Add page</a> <a id="addLinkBtn" class="sites-chrome-navigationdialog-addlink sites-chrome-navigationdialog-action" tabindex="0">Add URL</a></p></td><td valign="top" class="goog-ws-edit-nav-icons"><p><a id="moveUpBtn"><span class="sites-chrome-navigationdialog-btn sites-chrome-navigationdialog-icon-up" title="Move Up" /></a></p><p><a id="moveDownBtn"><span class="sites-chrome-navigationdialog-btn sites-chrome-navigationdialog-icon-down" title="Move Down" /></a></p>'+
(a.pK?'<p><a id="indentBtn"><span class="sites-chrome-navigationdialog-btn '+V(a.pK)+'" title="Indent" /></a></p>':"")+(a.KM?'<p><a id="outdentBtn"><span class="sites-chrome-navigationdialog-btn '+V(a.KM)+'" title="Outdent" /></a></p>':"")+'<p><a id="removeBtn"><span class="sites-chrome-navigationdialog-btn sites-chrome-navigationdialog-icon-remove" title="Remove" /></a></p></td></tr></table>';return b+c+'</div><br/><p>Include a link to:<br /><label><input type="checkbox" id="showSitemap" /> Sitemap</label><br /><label><input type="checkbox" id="showRecentSiteActivity" /> Recent site activity</label></p></div>'+
(a.fB?'<hr/><div><table><tr><td><p><strong>Style</strong><br/></p></td><td></td></tr><tr><td><label><input type="radio" name="navbarTabType" id="navbarTabTypeBoxes" />Boxes</label><br/><label><input type="radio" name="navbarTabType" id="navbarTabTypeTabs" />Tabs</label><br/><label><input type="radio" name="navbarTabType" id="navbarTabTypeLinks" />Links</label></td><td></td></tr></table></div>':"")};vH.ya="sites.editor.chrome.templates.navigationdialog.main";var wH=function(){return'<div><div>The Google Sites AdSense API has been shut down.</div><div>AdSense modifications are no longer supported within Google Sites.</div><div><a target="_blank" href="https://support.google.com/sites/answer/3156640">Learn more<a></div></div><div style="display: none"><select id="adlayout" name="adlayout"></select><span id="sites-pageelements-adsense-adunittype" /><input id="sites-pageelements-adsense-text-and-image" name="adunittype" /><input id="sites-pageelements-adsense-text-only" name="adunittype" /><input id="sites-pageelements-adsense-five-link-unit" name="adunittype" /></div>'};
wH.ya="sites.editor.chrome.templates.sidebaradsensedialog.deprecatedDialog";var xH=function(a){zE(x(a.event)||a.event instanceof cD,Jg,a.event,to);return'<div class="goog-ws-text"><table><tr><td><label class="goog-ws-label-inline"><strong>Event:</strong></label></td><td><input id="eventEl" type="text" aria-label="Event:" value="'+V(a.event)+'" tabindex="0"/></td></tr><tr><td><label class="goog-ws-label-inline"><strong>Event date:</strong></label> </td><td><input id="dateEl" type="text" aria-label="Event date:" tabindex="0"/></td></tr></table></div>'};xH.ya="sites.editor.chrome.templates.sidebarcountdowndialog.main";var yH=function(a){return'<p>Number of activities to show: <input id="numItemsEl" type="text" value="'+V(a.qM)+'" /> <span style="display:none; color:red;" id="errEl">Must be a valid number of activities</span></p>'};yH.ya="sites.editor.chrome.templates.sidebarrecentsiteactivitydialog.main";var zH=function(a){return'<div class="goog-ws-text"><p><label class="goog-ws-label-inline"><strong>Title:</strong></label>&#160;<input id="titleEl" type="text" value="'+V(a.title)+'" /></p><p><label><strong>Content:</strong></label><div id="textBoxContent" class="goog-ws-text-content"></div></p></div>'};zH.ya="sites.editor.chrome.templates.sidebartextboxdialog.main";var AH=function(a){return'<div class="sites-sitelayouteditor-sidebar-widget-toolbar"><span class="sites-camelot-icon sites-sitelayouteditor-drag-icon"></span><span>'+V(a.title)+'</span><span id="'+V(a.id)+'_delete" class="sites-camelot-icon sites-camelot-delete-icon"></span></div>'};AH.ya="sites.editor.chrome.templates.sidebarwidgettoolbar.main";var BH=function(a){for(var b='<div class="sites-sitelayouteditor-toolbar-button" id='+V(a.id)+'><span class="',c=a.ipa,e=c.length,f=0;f<e;f++)b+=V(c[f])+" ";return b+='sites-camelot-icon"></span><span>'+V(a.label)+"</span></div>"};BH.ya="sites.editor.chrome.templates.sitelayouttoolbar.button";
var CH=function(a){return'<div class="goog-inline-block sites-sitewidth-editor"><span class="sites-sitewidth-label">Site width:</span><div id="sites-sitewidth-radio-container" class="goog-inline-block"></div><input type="text" id="sites-sitewidth" name="width" onclick="this.focus()" class="text-input sites-sitewidth-editor-text" placeholder="'+V(a.Jua)+'"'+(a.isSiteRtlLocale?'dir="rtl"/>':'dir="ltr"/>')+cb};CH.ya="sites.editor.chrome.templates.sitelayouttoolbar.siteWidth";var DH=function(){return'<div id="sites-chrome-sidebar-editor" class="sites-sitelayouteditor-sidebar-editor"><span>Sidebar</span><span id="sites-chrome-add-sitebarwidget" class="sites-sidebar-icon-add-widget sites-camelot-icon"></span><span id="sites-chrome-editsidebar" class="sites-sidebar-icon-edit sites-camelot-icon"></span></div>'};DH.ya="sites.editor.chrome.templates.sidebareditor.main";var EH=function(){};B(EH,ZE);eq(EH);EH.prototype.V=function(){return Ni};var FH=function(a,b,c){UA.call(this,a,b,c)};B(FH,UA);var GH=0;FH.prototype.F=function(a){a!=this.R()&&(FH.g.F.call(this,a),a?GH++:GH=Math.max(GH-1,0),this.focus())};FH.prototype.focus=function(){if(this.R()){var a=this.Dj();a&&(zx(a,!0),a.focus())}};
FH.prototype.oa=function(){var a=this.ba.N(),b=Zw(a)||window,a=N((b||t||window).document).Pf(),c=a.x,a=a.y,e=Iy(this.b()),b=Ww(b),c=Math.max(c+b.width/2-e.width/2,0),f=O("gb"),g=20;f&&(g+=Iy(f).height);a=Math.max(a+b.height/2-e.height/2,g);ry(this.b(),c,a)};w("gsites.components.JotDialog.prototype.reposition",FH.prototype.oa,void 0);FH.prototype.close=function(){this.F(!1);this.dispose()};var JH=function(a){J.call(this);this.MG=this.mm={};this.Z0=0;this.cla=qs(HH);this.NCa=qs(IH);this.rS=!0;this.fca=this.kca=!1;this.wsa=!0;this.hca=!1;this.lF=null;this.Ppa(a)},KH;B(JH,J);var LH=function(a){this.yP=a||null;this.next=a?null:{}},HH=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],IH=["color","date","datetime","datetime-local",Ag,"month",pk,"password",Em,"tel",Eo,"time",rp,"week"];r=JH.prototype;r.Wxa=function(a){this.rS=a};r.M3=function(a,b){MH(this.mm,this.W_(1,arguments),a)};
r.q9=function(a){NH(this.mm,this.W_(0,arguments))};r.W_=function(a,b){var c;if(x(b[a]))c=xr(OH(b[a]),function(a){kr(a.keyCode,"A non-modifier key is needed in each stroke.");return a.keyCode&255|a.xsa<<8});else{var e=b,f=a;gq(b[a])&&(e=b[a],f=0);for(c=[];f<e.length;f+=2)c.push(e[f]&255|e[f+1]<<8)}return c};r.rDa=function(){this.mm={}};r.A=function(){JH.g.A.call(this);this.rDa();this.Bda()};
var OH=function(a){a=a.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ").toLowerCase();a=a.split(" ");for(var b=[],c,e=0;c=a[e];e++){var f=c.split("+"),g=null;c=0;for(var h,k=0;h=f[k];k++){switch(h){case "shift":c|=1;continue;case "ctrl":c|=2;continue;case "alt":c|=4;continue;case "meta":c|=8;continue}null===g||jr("At most one non-modifier key can be in a stroke.");f=h;if(!KH){g={};k=void 0;for(k in YE)g[YE[k]]=Pz(parseInt(k,10));KH=g}g=KH[f];kr(g,"Key name not found in goog.events.KeyNames: "+h);
break}b.push({keyCode:g,xsa:c})}return b};r=JH.prototype;r.Ppa=function(a){this.Uj=a;I(this.Uj,dj,this.Fh,!1,this);Es&&I(this.Uj,fj,this.cZ,!1,this);Is&&!Es&&(I(this.Uj,ej,this.GZ,!1,this),I(this.Uj,fj,this.HZ,!1,this))};r.cZ=function(a){if(Hs){if(224==a.keyCode){this.O1=!0;M(function(){this.O1=!1},400,this);return}var b=a.metaKey||this.O1;67!=a.keyCode&&88!=a.keyCode&&86!=a.keyCode||!b||(a.metaKey=b,this.Fh(a))}32==this.lF&&32==a.keyCode&&a.preventDefault();this.lF=null};
r.SK=function(a){return Is&&!Es&&a.ctrlKey&&a.altKey};r.GZ=function(a){32<a.keyCode&&this.SK(a)&&(this.y0=!0)};r.HZ=function(a){!this.y0&&this.SK(a)&&this.Fh(a)};r.Bda=function(){rt(this.Uj,dj,this.Fh,!1,this);Es&&rt(this.Uj,fj,this.cZ,!1,this);Is&&!Es&&(rt(this.Uj,ej,this.GZ,!1,this),rt(this.Uj,fj,this.HZ,!1,this));this.Uj=null};
var MH=function(a,b,c){var e=b.shift(),f=a[e];if(f&&(0==b.length||f.yP))throw Error("Keyboard shortcut conflicts with existing shortcut");b.length?(e=e.toString(),f=new LH,f=e in a?a[e]:a[e]=f,MH(C(f.next,"An internal node must have a next map"),b,c)):a[e]=new LH(c)},NH=function(a,b){var c=b.shift(),e=a[c];e&&(0==b.length?e.yP&&delete a[c]:e.next&&(NH(e.next,b),gs(e.next)&&delete a[c]))};
JH.prototype.Fh=function(a){if(this.fL(a))if(a.type==dj&&this.SK(a))this.y0=!1;else{var b=Pz(a.keyCode),c=b&255|((a.shiftKey?1:0)|(a.ctrlKey?2:0)|(a.altKey?4:0)|(a.metaKey?8:0))<<8;this.MG[c]&&!this.Qoa()||this.fO(this.mm);if(c=this.MG[c])if(c.next)this.fO(c.next),a.preventDefault();else{this.fO(this.mm);this.rS&&a.preventDefault();this.kca&&a.stopPropagation();var c=lr(c.yP,"A terminal node must have a string shortcut identifier."),e=a.target,f=this.dispatchEvent(new PH("shortcut",c,e));(f&=this.dispatchEvent(new PH("shortcut_"+
c,c,e)))||a.preventDefault();Es&&(this.lF=b)}}};JH.prototype.fL=function(a){var b=a.keyCode;if(16==b||17==b||18==b)return!1;var c=a.target,e=c.tagName==id||c.tagName==qc||c.tagName==zb||c.tagName==Pc,f=!e&&(c.isContentEditable||c.ownerDocument&&"on"==c.ownerDocument.designMode);return!e&&!f||this.cla[b]||this.fca?!0:f?!1:this.wsa&&(a.altKey||a.ctrlKey||a.metaKey)?!0:c.tagName==qc&&this.NCa[c.type]?13==b:c.tagName==qc||c.tagName==zb?this.hca?!0:32!=b:!1};
JH.prototype.Qoa=function(){return 1500<=z()-this.Z0};JH.prototype.fO=function(a){this.MG=a;this.Z0=z()};var PH=function(a,b,c){G.call(this,a,c);this.identifier=b};B(PH,G);var RH=function(a){a=a||{};UA.call(this,a.className,a.mEa,a.WMa);this.$a(a.title||"");this.yk=a.dba||null;this.lG=null;this.wT=a.ida||null;this.ki={};this.Om=a.dH||"";this.nE=this.Sra(a);this.WD=this.g8=this.kj=this.Is=null;this.Sx=a.MMa||null;this.Om&&(QH[this.Om]=this);this.reposition=this.oa;this.contentEl=this.M();this.setModal=this.w6;this.setActionEnabled=this.w5};B(RH,FH);var QH={};r=RH.prototype;
r.j=function(){RH.g.j.call(this);var a=this.M(),b;b=this.nE;b='<div id="COMP_dialog'+wE(b.dH)+'">'+wE(b.sfa)+'<div><div class="modal-dialog-buttons '+wE(b.Ada)+'">'+(b.KZ?'<a jotId="btnOk" id="'+wE(b.l2)+'"></a>&nbsp;':"")+'<a jotId="btnCancel" id="'+wE(b.yT)+'"></a></div></div></div>';a.innerHTML=b};
r.D=function(){RH.g.D.call(this);Dq(ar(this.nE.Yx))||Gz(this.Dj(),this.nE.Yx);Gz(this.Dj(),"legacy-jot-dialog");var a=this.M();P(a,"padding","0");this.Ida=this.Eu();this.Ura();this.Jba();this.compParts=this.ki=EG(a.firstChild)};r.w5=function(a,b){this.Is.X(a);Q(this.g8,void 0==b?!a:b)};
r.Jba=function(){var a=this.C();this.Is&&a.o(this.Is,l,this.Aq);a.o(this.kj,l,this.wA);this.lG=new Tz(this.Ida);a.o(this.lG,l,this.wA);JOT_addListener("dialogCancel"+this.Om,y(this.wA,this));if(this.Sx){this.WD||(this.WD=new JH(this.Dj()),this.WD.M3("doAction",this.Sx));var b=this;a.o(this.WD,"shortcut",function(a){"doAction"==a.identifier&&b.Aq(a)})}};
r.Ura=function(){var a=this.nE;this.Vh(null);Q(this.eia(),!1);var b=this.v(),c=EH.K();if(a.KZ){var e=b.b(a.l2),f=new rC(a.Rx,c);f.Z(e);Gz(f.b(),Oi);this.Is=f;if(this.Sx){var g=SH(this.Sx),g=a.Rx+" \u202a("+g+")\u202c",f=new qF(f.b(),g,this.v());this.ha(f)}f=webspace.getPath(webspace.baseUri,Sa);f=ax(ui,{src:f,style:"display:none;",className:"sites-embed-dialog-spinner"});e.parentNode.insertBefore(f,e.nextSibling);this.g8=f}b=b.b(a.yT);f=new rC(a.$F,c);f.Z(b);this.kj=f;Gz(f.b(),Pi)};
r.Aq=function(a){var b=!0;this.yk&&(a.eventSrc=a.eventSrc||a.target.b&&a.target.b()||a.target,b=this.yk(a));if(b||void 0==b)this.F(!1),this.dispose()};r.wA=function(a){var b=!0;this.wT&&(a.eventSrc=a.eventSrc||a.target,b=this.wT(a));if(b||"undefined"==typeof b)this.F(!1),this.dispose()};r.$n=function(a){27==a.keyCode&&this.JH?this.wA(a):RH.g.$n.call(this,a)};
r.Sra=function(a){var b={};b.Rx=a.Rx||"OK";b.$F=a.$F||Gb;b.Ada="sites-clear";b.sfa=this.wia(a);b.dH=this.Om;b.yT=this.Rg("cancelBtn");b.l2=this.Rg("okBtn");b.KZ=!!this.yk;b.Yx=a.Yx;return b};r.wia=function(a){var b=a.template,b=b instanceof cD?b.Jb():b;return a.K0?this.ywa(b,a.K0):b};r.ywa=function(a,b){for(var c in b)a=a.replace(new RegExp("_"+c+"_","gi"),b[c]);return a};
r.A=function(){F(this.lG);JOT_removeAllListenersForName("dialogCancel"+this.Om);this.Om&&delete QH[this.Om];F(this.Is);F(this.kj);RH.g.A.call(this)};var TH=function(a,b){return b.tia()-a.tia()};var UH=function(a){this.fDa=a};UH.prototype.toString=function(){return this.fDa};var VH=new UH(Kp),WH=new UH("selection"),XH=new UH(wp),YH=new UH(Fg),ZH=new UH(Xe),$H=new UH(l);var aI=function(a){this.data=a};var bI=function(a){E.call(this);this.On=1;this.CC=[];this.QC=0;this.Bf=[];this.Xi={};this.Fca=!!a};B(bI,E);bI.prototype.subscribe=function(a,b,c){var e=this.Xi[a];e||(e=this.Xi[a]=[]);var f=this.On;this.Bf[f]=a;this.Bf[f+1]=b;this.Bf[f+2]=c;this.On=f+3;e.push(f);return f};bI.prototype.unsubscribe=function(a,b,c){if(a=this.Xi[a]){var e=this.Bf;if(a=Dr(a,function(a){return e[a+1]==b&&e[a+2]==c}))return this.tm(a)}return!1};
bI.prototype.tm=function(a){var b=this.Bf[a];if(b){var c=this.Xi[b];0!=this.QC?(this.CC.push(a),this.Bf[a+1]=dq):(c&&Kr(c,a),delete this.Bf[a],delete this.Bf[a+1],delete this.Bf[a+2])}return!!b};
bI.prototype.zr=function(a,b){var c=this.Xi[a];if(c){for(var e=Array(arguments.length-1),f=1,g=arguments.length;f<g;f++)e[f-1]=arguments[f];if(this.Fca)for(f=0;f<c.length;f++){var h=c[f];cI(this.Bf[h+1],this.Bf[h+2],e)}else{this.QC++;try{for(f=0,g=c.length;f<g;f++)h=c[f],this.Bf[h+1].apply(this.Bf[h+2],e)}finally{if(this.QC--,0<this.CC.length&&0==this.QC)for(;c=this.CC.pop();)this.tm(c)}}return 0!=f}return!1};var cI=function(a,b,c){Uv(function(){a.apply(b,c)})};
bI.prototype.clear=function(a){if(a){var b=this.Xi[a];b&&(D(b,this.tm,this),delete this.Xi[a])}else this.Bf.length=0,this.Xi={}};bI.prototype.xa=function(a){if(a){var b=this.Xi[a];return b?b.length:0}a=0;for(b in this.Xi)a+=this.xa(b);return a};bI.prototype.A=function(){bI.g.A.call(this);this.clear();this.CC.length=0};var dI=function(a){E.call(this);this.mo=new bI(a);this.ha(this.mo)};B(dI,E);r=dI.prototype;r.subscribe=function(a,b,c){return this.mo.subscribe(a.toString(),b,c)};r.unsubscribe=function(a,b,c){return this.mo.unsubscribe(a.toString(),b,c)};r.tm=function(a){return this.mo.tm(a)};r.zr=function(a,b){return this.mo.zr(a.toString(),b)};r.clear=function(a){this.mo.clear(v(a)?a.toString():void 0)};r.xa=function(a){return this.mo.xa(v(a)?a.toString():void 0)};var eI=function(a,b,c){this.eN=a;this.newValue=b;this.oldValue=c};var fI=function(a,b){E.call(this);this.fa=a;this.Ct={};this.wk=b?ks(b):{};this.Lpa=ks(this.wk);this.j6();this.no=new bI;this.sm=new dI;this.hF=1E6};B(fI,E);r=fI.prototype;r.j6=function(){v(this.wk["keys-enabled"])||(this.wk["keys-enabled"]=!0);this.isEnabled()||(this.Ct[ag]=!0)};r.A=function(){fI.g.A.call(this);this.no.dispose();this.sm.dispose();delete this.no;delete this.sm;delete this.wk};r.I=function(){return this.fa};r.isEnabled=function(){return!!this.getProperty(Fg)};
r.X=function(a,b){var c=b||ag,e=!0;if(a){delete this.Ct[c];for(var f in this.Ct){e=!1;break}}else this.Ct[c]=!0,e=!1;this.setProperty(Fg,e)};r.R=function(){return!!this.getProperty(Mp)};r.F=function(a){this.setProperty(Mp,a)};r.ge=function(){return!!this.getProperty(Km)};r.ig=function(a){this.setProperty(Km,a)};r.lu=function(){return this.getProperty(Ve)||""};r.Qja=function(){return this.getProperty("node-label")||null};r.Eg=function(){return this.getProperty(gj)||""};
r.yja=function(){return this.getProperty("long-label")||""};r.wI=function(){var a=this.yja();return a?a:(a=this.Qja())?Bx(a):this.Eg()};r.TI=function(){return this.getProperty("icon")};r.kb=function(){return this.getProperty("keys")};r.getValue=function(){return this.getProperty(wp)};r.setValue=function(a){this.setProperty(wp,a)};r.getProperty=function(a){return this.wk[a]};
r.setProperty=function(a,b){var c=this.wk[a];if(b!==c){this.wk[a]=b;this.sm.zr(ZH,new eI(a,b,c));var e=gI(a);e&&this.sm.zr(e,new eI(a,b,c))}};r.Fka=function(){var a=this.getProperty("synonyms");if(a){for(var a=a.split("|"),b=a.length-1;0<=b;b--)a[b]&&(a[b]=Fq(a[b])),a[b]||Jr(a,b);return a}return[]};r.gq=function(a,b){if(this.isEnabled()){var c=this.wk.selected;null!=c&&this.ig(!c);this.no.zr(l,a,b);this.sm.zr($H,new aI(a,b))}};r.subscribe=function(a,b,c){return this.no.subscribe(a,b,c)};
r.FCa=function(a,b,c){return this.sm.subscribe(a,b,c)+this.hF};r.unsubscribe=function(a,b,c){return this.no.unsubscribe(a,b,c)};r.tm=function(a){return a>this.hF?this.sm.tm(a-this.hF):this.no.tm(a)};r.reset=function(){this.no.clear();this.sm.clear();this.wk=ks(this.Lpa);this.Ct={};this.j6()};var gI=function(a){switch(a){case Mp:return VH;case Km:return WH;case wp:return XH;case Fg:return YH;default:return null}};var hI=xs("Macintosh")||As();var jI=function(a,b){gq(b)&&(b=b[0]);for(var c in iI)b.match(new RegExp("-"+c,"gi"))||(b=b.replace(new RegExp(c,"gi"),iI[c]));hI&&(c=!a.getProperty(jh),b.match(c?/(Meta|Ctrl)\+.(\+.*)?$/:/Meta\+.(\+.*)?$/)?(b=b.replace(/Meta\+/g,"\u2318"),c&&(b=b.replace(/Ctrl\+/g,"\u2318"))):(b=b.replace(/Meta\+/g,"\u2318+"),c&&(b=b.replace(/Ctrl\+/g,"\u2318+"))),b=b.replace(/(?=\w*Alt(?!Gr))(\w+)/g,"Option"));b=b.replace(/Ctrl/g,"Ctrl");b=b.replace(/Shift/g,"Shift");b=b.replace(/Alt/g,"Alt");b=b.replace(/Option/g,
"Option");b=b.replace(/Meta/g,"Meta");b=b.replace(/backspace/gi,"Backspace");b=b.replace(/tab/gi,"Tab");b=b.replace(/enter/gi,"Enter");b=b.replace(/pause/gi,"Pause");b=b.replace(/caps-lock/gi,"Caps-Lock");b=b.replace(/esc/gi,"Esc");b=b.replace(/space/gi,"Space");b=b.replace(/pg-up/gi,"Pg-Up");b=b.replace(/pg-down/gi,"Pg-Down");b=b.replace(/end/gi,"End");b=b.replace(/home/gi,"Home");b=b.replace(/insert/gi,"Insert");return b=b.replace(/delete/gi,"Delete")},iI={"close-square-bracket":"]",dash:"-",down:"\u2193",
equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191"};var kI=function(){this.eG=[]};B(kI,NB);eq(kI);r=kI.prototype;r.j=function(a){var b=kI.g.j.call(this,a);C(b);T(b,Kh);this.XR(a,b);return b};r.U=function(a,b){b=kI.g.U.call(this,a,b);C(b);T(b,Kh);this.XR(a,b);var c=Qw(d,Ch,b);if(c.length){var e=new TB(a.v()),c=c[0];Q(c,!1);a.v().N().body.appendChild(c);e.U(c);a.gh(e,!0)}return b};r.mb=function(a,b){var c=this.M(a),e=c&&c.lastChild;kI.g.mb.call(this,a,b);e&&c.lastChild!=e&&BA(e,Lh)&&c.appendChild(e)};
r.Od=function(a){kI.g.Od.call(this,a);var b=a.M(),c=a.v().ti(Qc,Lh,b)[0];lI(a,c);c!=b.lastChild&&b.appendChild(c);a=a.b();C(a,"The sub menu DOM element cannot be null.");S(a,Zh,Wo)};r.XR=function(a,b){var c=a.v().j(Qc);c.className=Lh;lI(a,c);this.M(b).appendChild(c)};var lI=function(a,b){C(b);a.Jh()?(T(b,Mh),tx(b,a.cy?"\u25c4":"\u25ba")):(DA(b,Mh),tx(b,a.cy?"\u25ba":"\u25c4"))};var mI=function(a,b,c,e){OB.call(this,a,b,c,e||kI.K())};B(mI,OB);r=mI.prototype;r.Jf=null;r.MP=null;r.$L=!1;r.wd=null;r.rz=!1;r.cy=!0;r.Oqa=!1;r.D=function(){mI.g.D.call(this);this.C().o(this.getParent(),bi,this.E2);this.wd&&this.JD(this.wd,!0)};r.Ra=function(){this.C().Ca(this.getParent(),bi,this.E2);this.wd&&(this.JD(this.wd,!1),this.rz||(this.wd.Ra(),kx(this.wd.b())));mI.g.Ra.call(this)};r.A=function(){this.wd&&!this.rz&&this.wd.dispose();this.wd=null;mI.g.A.call(this)};
r.dd=function(a,b){mI.g.dd.call(this,a);b&&this.Wa().gm(!0);a||(this.Jf&&jw(this.Jf),this.Jf=M(this.sj,218,this))};r.LP=function(){var a=this.getParent();a&&a.Eh()==this&&(this.X6(!0),this.LV())};r.sj=function(){var a=this.wd;a&&a.getParent()==this&&(this.X6(!1),a.Ua(function(a){typeof a.sj==lh&&a.sj()}))};r.Dp=function(){this.Jf&&jw(this.Jf);this.MP&&jw(this.MP)};r.F=function(a,b){var c=mI.g.F.call(this,a,b);c&&!this.R()&&this.sj();return c};
r.LV=function(){this.getParent().Ua(function(a){a!=this&&typeof a.sj==lh&&(a.sj(),a.Dp())},this)};r.Mc=function(a){var b=a.keyCode,c=this.Jh()?37:39,e=this.Jh()?39:37;if(!this.$L){if(!this.isEnabled()||b!=c&&b!=this.dM)return!1;this.LP();this.Wa().Xu();this.Dp()}else if(!this.Wa().Mc(a))if(b==e)this.sj();else return!1;a.preventDefault();return!0};r.cta=function(){this.wd.getParent()==this&&(this.Dp(),this.vq().dd(this),this.LV())};r.E2=function(a){a.target==this.vq()&&(this.sj(),this.Dp())};
r.Kg=function(a){this.isEnabled()&&(this.Dp(),this.MP=M(this.LP,218,this));mI.g.Kg.call(this,a)};r.ad=function(a){this.Dp();if(this.vb(8)||this.vb(16))return mI.g.ad.call(this,a);this.LP();return!0};r.X6=function(a){!a&&this.Wa()&&this.Wa().vc(-1);this.dispatchEvent(PA(64,a));var b=this.Wa();a!=this.$L&&FA(C(this.b()),"goog-submenu-open",a);a!=b.R()&&(a&&(b.Y||b.Z(),b.vc(-1)),b.F(a),a&&this.Uua());this.$L=a};r.JD=function(a,b){var c=this.C();(b?c.o:c.Ca).call(c,a,"enter",this.cta)};
r.Uua=function(){var a=new lB(this.b(),this.cy?12:8,this.Oqa),b=this.Wa(),c=b.b();b.R()||(c.style.visibility=ai,Q(c,!0));a.oa(c,this.cy?8:12);b.R()||(Q(c,!1),c.style.visibility=Mp)};r.zc=function(a){this.Wa().la(a,!0)};r.Ck=function(a,b){this.Wa().Xe(a,b,!0)};r.removeItem=function(a){(a=this.Wa().removeChild(a,!0))&&a.dispose()};r.nd=function(a){return this.Wa().za(a)};r.jl=function(){return this.Wa().ub()};r.Gj=function(){return this.Wa().Gj()};
r.Wa=function(){this.wd?this.rz&&this.wd.getParent()!=this&&this.wd.Ha(this):this.gh(new TB(this.v()),!0);this.wd.b()||this.wd.j();return this.wd};r.gh=function(a,b){var c=this.wd;a!=c&&(c&&(this.sj(),this.Y&&this.JD(c,!1)),this.wd=a,this.rz=!b,a&&(a.Ha(this),a.F(!1,!0),a.dm(!1),a.Se(!1),this.Y&&this.JD(a,!0)))};r.wg=function(a){return this.Wa().wg(a)};wB(Kh,function(){return new mI(null)});var nI=function(){},oI=new nI,pI=[ef,Es?ej:dj,fj];nI.prototype.o=function(a,b,c,e,f){var g=function(a){var c=kt(b),f=qx(a.target)?a.target.getAttribute(vm)||null:null;a.type==ef&&a.qv()?c.call(e,a):13!=a.keyCode&&3!=a.keyCode||a.type==fj?32!=a.keyCode||a.type!=fj||f!=Qe&&"tab"!=f||(c.call(e,a),a.preventDefault()):(a.type=ej,c.call(e,a))};g.$f=b;g.mxa=e;f?f.o(a,pI,g,c):I(a,pI,g,c)};
nI.prototype.Ca=function(a,b,c,e,f){for(var g,h=0;g=pI[h];h++)for(var k=ut(a,g,!!c),n,q=0;n=k[q];q++)if(n.listener.$f==b&&n.listener.mxa==e){f?f.Ca(a,g,n.listener,c,e):rt(a,g,n.listener,c,e);break}};var sI=function(a,b,c){return PD(nb+oE(a.Wda)+'" class="CSS_SHORTCUTS_HELP_POPUP_PREF_CONTAINER '+(a.enabled?"CSS_SHORTCUTS_HELP_POPUP_PREF_ENABLED":"")+'"><div class="CSS_SHORTCUTS_HELP_POPUP_PREF_CONTENT"><span id="'+oE(a.MCa)+'">'+qI(a,null,c)+'</span> <span id="'+oE(a.tra)+'" role="link" class="CSS_SHORTCUTS_HELP_POPUP_PREF_LINK" tabindex="0">'+rI(a,null,c)+"</span></div></div>")};sI.ya="apps.action.shortcutPrefComponentTemplate";
var qI=function(a){var b="",b=a.enabled?b+"Keyboard shortcuts are enabled.":b+"Keyboard shortcuts are disabled.";return PD(b)};qI.ya="apps.action.prefTextTemplate";var rI=function(a){var b="",b=a.enabled?b+"Disable":b+"Enable";return PD(b)};rI.ya="apps.action.prefLinkTemplate";var tI=function(a,b,c){U.call(this,c);this.qga=a;this.$Ca=b;this.P=c};B(tI,U);tI.prototype.j=function(){this.Ka(this.ba.createElement(m))};tI.prototype.Ka=function(a){this.Sa(a);hD(a,sI,{enabled:this.qga(),Wda:this.Rg("spc_cont"),MCa:this.Rg("spc_text"),tra:this.Rg("spc_link")})};tI.prototype.D=function(){this.C().cr(this.P.b(this.Rg("spc_link")),oI,this.$Ca)};var uI=function(a){var b='<div class="apps-shortcutshelppopup-dialog"><div class="apps-shortcutshelppopup-content-wrapper"></div>',b=a.oEa?b+('<div class="apps-shortcutshelppopup-close"><span id="'+oE(a.YT)+'" class="modal-dialog-title-close" tabindex="0" role="button"></span></div>'):b+('<div class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_WRAPPER"><span id="'+oE(a.YT)+'" class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK" tabindex="0" role="button">Close</span></div>');return PD(b+cb)};uI.ya="apps.action.shortcutDialogContainerTemplate";
var vI=function(a,b,c){a=""+('<div class="apps-shortcutshelppopup-container'+(a.QZ==He?" apps-shortcutshelppopup-hc-black":a.QZ==Qp?" apps-shortcutshelppopup-hc-white":"")+'"><div class="apps-shortcutshelppopup-header" role="presentation"><div><div class="apps-shortcutshelppopup-title-container apps-shortcutshelppopup-header-element"><h2 id="'+oE(a.eH)+'" class="apps-shortcutshelppopup-dialog-title">Keyboard shortcuts</h2><input type="text" class="apps-shortcutshelppopup-input jfk-textinput" role="combobox" aria-autocomplete="list" placeholder="'+
lE(Wc)+'"/><div class="apps-shortcutshelppopup-input-button jfk-button-action jfk-button" tabindex="0"><div class="apps-shortcutshelppopup-input-button-img"></div></div></div><div class="apps-shortcutshelppopup-tearoff-link-container apps-shortcutshelppopup-header-element"><a target="keyboard_shortcuts_help_window" href="'+oE(vE(a.zP))+'" class="apps-shortcutshelppopup-tearoff-link apps-shortcutshelppopup-help-center-link">View all shortcuts in Help Center</a></div></div></div><div class="apps-shortcutshelppopup-search-banner">'+
V(FE({Ff:aE(re),style:0,kE:0,content:bE('<div class="apps-shortcutshelppopup-reset-search-button-icon"><div class="apps-shortcutshelppopup-reset-search-button-img"></div></div>')},null,c))+'<h3 class="apps-shortcutshelppopup-search-label"></h3></div></div>');return PD(a)};vI.ya="apps.action.shortcutContainerTemplate";
var wI=function(a){var b=(a.SA?kb:"")+'<div tabindex="-1" class="apps-shortcutshelppopup-result-container"><table cellpadding="0" tabindex="0" class="apps-shortcutshelppopup-content" aria-label="'+oE(a.JCa)+'"><tbody>';a=a.PY;for(var c=a.length,e=0;e<c;e++)for(var f=a[e],b=b+(f.title?'<tr><th colspan="2"><h3 class="apps-shortcutshelppopup-content-header'+(0==e?" apps-shortcutshelppopup-content-header-first":"")+'">'+V(f.title)+eb:""),f=f.Ti,g=f.length,h=0;h<g;h++)var k=f[h],b=b+('<tr><td class="apps-shortcutshelppopup-shortcut-desc apps-shortcutshelppopup-content-element">'+
V(k.description)+'</td><td class="apps-shortcutshelppopup-shortcut-key apps-shortcutshelppopup-content-element">'+V(k.keys)+ib);return PD(b+"</tbody></table></div>")};wI.ya="apps.action.shortcutContentTemplate";
var xI=function(a){var b;b=""+('<div class="CSS_SHORTCUTS_HELP_POPUP_CONTAINER jfk-scrollbar-dark"><table cellpadding="0" class="CSS_APP_TABLE CSS_SHORTCUTS_HELP_POPUP_HEADER"><tr><td class="CSS_SHORTCUTS_HELP_POPUP_TITLE CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT" id="'+oE(a.eH)+'" class="apps-shortcutshelppopup-dialog-title">Keyboard shortcuts</td><td class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_CONTAINER CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT"><a target="keyboard_shortcuts_help_window" href="'+oE(vE(a.zP))+
'" class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK apps-shortcutshelppopup-help-center-link">View all shortcuts in Help Center</a> | <span class="CSS_SHORTCUTS_HELP_CLOSE_PLACEHOLDER"></span></td></tr></table>'+(a.SA?kb:"")+'<table cellpadding="0" class="CSS_APP_TABLE CSS_SHORTCUTS_HELP_POPUP_CONTENT"><tr>');a=a.Oda;for(var c=a.length,e=0;e<c;e++){var f=a[e];b+='<td class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT"><table cellpadding="0" class="CSS_APP_TABLE"><tbody>';for(var g=f.length,h=0;h<g;h++){var k=
f[h];b+='<tr><th class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER" /><th class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER"><h3>'+V(k.title)+eb;for(var k=k.Ti,n=k.length,q=0;q<n;q++){var u=k[q];b+='<tr><td class="CSS_SHORTCUTS_HELP_POPUP_KEY CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT">'+V(u.keys)+'</td><td class="CSS_SHORTCUTS_HELP_POPUP_DESCRIPTION CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT">'+V(u.description)+ib}}b+="</tbody></table></td>"}return PD(b+"</tr></table></div>")};xI.ya="apps.action.legacyShortcutBannerTemplate";var yI=null;var AI=function(a,b,c){this.Bi=a||null;this.WF=!!b;this.tW=c;this.zb=new K;this.Qb=new zI("",void 0);this.Qb.next=this.Qb.Yg=this.Qb};r=AI.prototype;r.QW=function(a){(a=this.zb.get(a))&&this.WF&&(a.remove(),this.Q_(a));return a};r.get=function(a,b){var c=this.QW(a);return c?c.value:b};r.set=function(a,b){var c=this.QW(a);c?c.value=b:(c=new zI(a,b),this.zb.set(a,c),this.Q_(c))};r.shift=function(){return this.i3(this.Qb.next)};r.pop=function(){return this.i3(this.Qb.Yg)};
r.remove=function(a){return(a=this.zb.get(a))?(this.removeNode(a),!0):!1};r.removeNode=function(a){a.remove();this.zb.remove(a.key)};r.xa=function(){return this.zb.xa()};r.bc=function(){return this.zb.bc()};r.kb=function(){return this.map(function(a,b){return b})};r.pb=function(){return this.map(function(a){return a})};r.contains=function(a){return this.some(function(b){return b==a})};r.Xb=function(a){return this.zb.Xb(a)};r.clear=function(){this.l9(0)};
r.forEach=function(a,b){for(var c=this.Qb.next;c!=this.Qb;c=c.next)a.call(b,c.value,c.key,this)};r.map=function(a,b){for(var c=[],e=this.Qb.next;e!=this.Qb;e=e.next)c.push(a.call(b,e.value,e.key,this));return c};r.some=function(a,b){for(var c=this.Qb.next;c!=this.Qb;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};r.every=function(a,b){for(var c=this.Qb.next;c!=this.Qb;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
r.Q_=function(a){this.WF?(a.next=this.Qb.next,a.Yg=this.Qb,this.Qb.next=a,a.next.Yg=a):(a.Yg=this.Qb.Yg,a.next=this.Qb,this.Qb.Yg=a,a.Yg.next=a);null!=this.Bi&&this.l9(this.Bi)};r.l9=function(a){for(;this.xa()>a;){var b=this.WF?this.Qb.Yg:this.Qb.next;this.removeNode(b);this.tW&&this.tW(b.key,b.value)}};r.i3=function(a){this.Qb!=a&&this.removeNode(a);return a.value};var zI=function(a,b){this.key=a;this.value=b};
zI.prototype.remove=function(){this.Yg.next=this.next;this.next.Yg=this.Yg;delete this.Yg;delete this.next};var BI=function(a,b){SC.call(this,null,null,!1);this.Fe=new J;this.ha(this.Fe);a.o(l,y(function(){var a=b.value;this.bI(a,a)},this));this.PS(b)};B(BI,SC);BI.prototype.QN=function(a,b){BI.g.QN.call(this,a,b);this.bI(a.toString(),this.getValue());return!1};BI.prototype.Mc=function(a){return 13!=a.keyCode||this.Pb.Koa()?BI.g.Mc.call(this,a):(a=this.getValue(),this.bI(a,a),!0)};BI.prototype.bI=function(a,b){this.Pb.mi();this.Fe.dispatchEvent(new CI(a,b))};
var CI=function(a,b){G.call(this,"a");this.lra=a;this.iv=b};B(CI,G);var DI={Alt:"Option",Ctrl:"\u2318",Meta:"\u2318"},SH=function(a,b,c){a=a.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ");a=xr(a.match(/[+ ]|[^+ ]+/g),function(a){a=" "==a?"then":a;return(c&&"Ctrl"==a||!hI?"":DI[a])||a});return b?a:a.join(" ")},GI=function(a){a=xr(a,function(a){return xr(a,EI)});FI(a);return a},EI=function(a){var b=a.title;a=xr(a.Ti,function(a){if(gq(a)){var e=NA.K().Jd(),e=new fI(e);e.setProperty("keys",a[0]);e.setProperty(gj,a[1]);a[2]&&e.setProperty(jh,!0);e.setProperty(Ve,b);
a=e}return a});return{title:b,Ti:a}},FI=function(a){for(var b=0;b<a.length;++b)for(var c=a[b],e=0;e<c.length;++e)for(var f=c[e],g=f.title,f=f.Ti,h=0;h<f.length;++h){var k=f[h],n=k.lu();C(n,"Action "+k.I()+" should have a CATEGORY property");C(g==n,"For action "+k.I()+" category should be the same from data and from action")}};var HI=function(a){this.Js=a};
HI.prototype.Gwa=function(a,b,c){this.Js.ova(a).pa(function(a){return wr(a,II)}).pa(function(c){var f=[],g;g=(g="en".match(/^\w{2,3}([-_]|$)/))?g[0].replace(/[_-]/g,""):"";if(-1=="ja ko lo my th zh".split(" ").indexOf(g)){for(g=0;g<c.length;++g){var h=c[g].iu(),k=JI(h.wI());k&&(f=f.concat(k));h=h.Fka();for(k=0;k<h.length;++k){var n=JI(h[k]);n&&(f=f.concat(n))}}Rr(f)}c=f;f=[];if(""!=a)for(g=Xq(a),g=new RegExp("(^|\\W+)"+g,"i"),h=0;h<c.length&&f.length<b;h++)k=c[h],String(k).match(g)&&f.push(k);0==
f.length&&(f=MC(a,b,c));return f}).pa(sq(c,a))};var II=function(a){a=a.iu();return!!(a&&a.wI()&&a.kb())},JI=function(a){return a.toLocaleLowerCase().replace(/([\^$.*+?=!:'",\-|\\/()[\]{}])/g," ").replace(/\d+/g," ").match(/\S+/g)};var KI=function(a,b,c,e,f,g){U.call(this,c);this.jb=GI(a);this.UZ=b;this.qd=null;this.fH=NA.K().Jd();this.TA=!(!e||!f);this.YG=null;this.Js=g||null;this.aj=null!=this.Js;this.Iv=null;this.mM=!0;this.Lk=this.Im=null;this.NK=!0;(this.IC=this.TA?new tI(e,f,this.v()):null)&&this.ha(this.IC);this.Qj=null;this.aj&&(this.Qj=LE(),this.la(this.Qj),this.Qj.SD(0))};B(KI,U);KI.prototype.Bc=function(){return!1};
KI.prototype.j=function(){KI.g.j.call(this);var a=this.md();if(this.aj){var b=this.fH,c=this.UZ;if(null==yI){var e=N(),f=e.N(),g=e.createElement(m);g.style.backgroundColor="rgb(1, 2, 3)";e.appendChild(f.body,g);f=ny(g,De);f=f.replace(/ /g,"");f="rgb(0,0,0)"===f?He:"rgb(255,255,255)"===f?Qp:lk;e.removeNode(g);yI=f}this.Lk=kD(vI,{eH:b,zP:c,QZ:yI});this.v().appendChild(a,this.Lk);this.rN();C(this.Qj);this.Qj.U(this.He(qe))}else hD(a,xI,this.pja())};
KI.prototype.pja=function(){var a=xr(this.jb,function(a){return LI(a,!1)});return{eH:this.fH,zP:this.UZ,Oda:a,SA:this.TA}};KI.prototype.Eia=function(){this.YG||(this.YG={PY:yr(this.jb,function(a,b){return Mr(a,LI(b,!0))},[]),SA:this.TA});return this.YG};
var NI=function(a){for(var b=new AI,c=[],e=0;e<a.length;++e){var f=a[e].iu(),g=MI(f,!0),f=f.lu();""==f?c.push(g):(b.Xb(f)||b.set(f,[]),b.get(f).push(g))}a=b.map(function(a,b){return{title:b,Ti:a}});c.length&&(a.length?a.push({title:"More shortcuts",Ti:c}):a.push({Ti:c}));return a},LI=function(a,b){return xr(a,function(a){var e=xr(a.Ti,function(a){return MI(a,b)});return{title:a.title,Ti:e}})},MI=function(a,b){var c=a.wI(),e=OI(a),f;f=e.replace(/pg-up/i,"page up");f=f.replace(/pg-down/i,"page down");
f=f.replace("`","backtick");f=f.replace("~","tilde");f=f.replace("-","hyphen");f=f.replace("_","underscore");f=f.replace("=","equals");f=f.replace("[","left bracket");f=f.replace("]","right bracket");f=f.replace(";",Lm);f=f.replace(":","colon");f=f.replace(",","comma");f=f.replace(".","period");f=f.replace("/","slash");f=f.replace("\\","backslash");f=f.replace(iI.up,"up");f=f.replace(iI.down,"down");f=f.replace(iI.left,mj);f=f.replace(iI.right,um);f="shortcut "+f+".";return{keys:b?PD(qb+oE(f)+'">'+
yE(1,V(e))+fb):PD(qb+oE(f)+'" class="CSS_SHORTCUTS_HELP_POPUP_KEY_MNEMONIC">'+yE(1,V(e))+fb),description:c}},OI=function(a){var b=a.kb();return gq(b)?(b=xr(b,function(b){return jI(a,b)}),b.join(" or ")):jI(a,b)};r=KI.prototype;r.D=function(){KI.g.D.call(this);this.aj&&this.PAa();this.Iv=this.He("apps-shortcutshelppopup-help-center-link");this.NO(this.mM);this.IC&&this.IC.Z(this.He("apps-shortcutshelppopup-pref-component"));this.C().o(this.Iv,ef,this.yA)};
r.PAa=function(){var a=this.He(re);AD(a,"Clear search",void 0);this.C().cr(a,oI,this.xna);a=this.He("apps-shortcutshelppopup-input");yA(a,Wc);C(this.Qj);this.Qj.X(!0);var b=this.Qj.md();AD(b,Wc,void 0);a=new BI(this.Qj,a);a.Fe.o("a",y(this.Kna,this));this.qd=a;var b=new HI(C(this.Js)),c=new UC;c.wza(!1);c.className="apps-shortcutshelppopup-ac-renderer";c.eD="apps-shortcutshelppopup-ac-row";b=new NC(b,c,a);b.Yxa(!1);a.Hca(b)};r.reset=function(){this.Jwa();this.M7(!1);this.rN();this.He(qe).value=""};
r.Jwa=function(){var a=this.He(se);tx(a,Kc)};r.Ra=function(){KI.g.Ra.call(this);this.Iv=null};r.yA=function(){this.dispatchEvent(ff)};r.Kna=function(a){a.iv?(a=a.lra,this.Js.ova(a).pa(y(this.qwa,this,a))):this.NK||this.reset()};r.xna=function(){this.reset();this.He(qe).focus()};r.M7=function(a){Q(this.He(re),a)};r.NO=function(a){this.mM=a;this.Iv&&Q(this.Iv,this.mM)};r.Zha=function(){return this.qd?this.qd.Pb.O.b():null};
r.qwa=function(a,b){var c='Search results for "'+(a+'"'),e='No search results for "'+(a+'"'),f=wr(b,II);Ur(f,TH);b=f.slice(0,30);f=this.He(se);c=0==b.length?e:c;tx(f,c);this.M7(!0);this.rN(NI(b),c);0==b.length?this.He(re).focus():this.v().Lc("apps-shortcutshelppopup-content").focus()};
r.rN=function(a,b){var c;a?(c={PY:a,SA:this.TA},this.NK=!1):(c=this.Eia(),this.NK=!0);c.JCa=b?b:Kc;this.Im&&this.Lk.removeChild(this.Im);this.Im=kD(wI,c);this.Lk.appendChild(this.Im);(c=this.He(re))&&(a&&0==a.length?T(c,pe):DA(c,pe))};var PI=function(a,b,c,e,f,g,h){SA.call(this,c,e);this.lm=new KI(a,b,e,f,g,h);this.la(this.lm);this.ZT=NA.K().Jd();this.aj=null!=h};B(PI,SA);r=PI.prototype;r.V=function(){return this.aj?"apps-shortcutshelppopup":"shortcuts-modalpopup"};r.Bc=function(){return!1};
r.j=function(){PI.g.j.call(this);var a=this.v(),b=this.md();Q(b,!1);hD(b,uI,{YT:this.ZT,oEa:this.aj});var c=this.He("apps-shortcutshelppopup-content-wrapper");this.lm.j();a.appendChild(c,this.lm.md());rA(b,eg);S(b,hj,this.lm.fH);this.aj||T(b,"CSS_SHORTCUTS_HELP_POPUP")};r.D=function(){PI.g.D.call(this);var a=this.v(),b=a.b(this.ZT);this.aj&&AD(b,Jb,void 0);this.C().cr(b,oI,this.yA);a=a.iY(this.b());this.C().o(a,Uj,this.kC,!0);this.C().o(this.b(),dj,this.CM);this.C().o(this.lm,ff,this.yA)};
r.F=function(a){this.aj&&this.Y&&!this.R()&&a&&this.lm.reset();PI.g.F.call(this,a)};r.yA=function(){this.F(!1)};r.NO=function(a){this.lm.NO(a)};r.oa=function(){PI.g.oa.call(this);var a=this.b();if(a&&!this.aj){var b;this.R()?(b=ty(a),b=xy(b),b=.9*(b.bottom-b.top)):(b=this.v().N(),b=.9*Ww(Zw(b)||window).height);P(a,"maxHeight",b+p);P(a,mj,"10%");P(a,So,"10%")}};r.kC=function(a){var b=this.lm.Zha();b&&rx(b,a.target)||rx(this.b(),a.target)||this.F(!1)};
r.CM=function(a){27==a.keyCode?(this.F(!1),a.stopPropagation(),a.preventDefault()):9==a.keyCode&&a.shiftKey&&a.target==this.b()&&this.q7()};var QI=function(){E.call(this);this.Ag={};this.bU={};this.lb=null;this.mB=!0};B(QI,E);var RI=new Gx("https://support.google.com/sites/bin/answer.py?answer=189191");QI.prototype.lh=function(a){var b=a.RV;b&&(this.Ag[b]=this.Ag[b]||[],this.Ag[b].push(a),this.mB=!0)};QI.prototype.addAction=QI.prototype.lh;QI.prototype.addAction=QI.prototype.lh;QI.prototype.po=function(a){for(var b in this.Ag)Lr(this.Ag[b],function(b){return b.I()==a.I()}),0==this.Ag[b].length&&delete this.Ag[b];this.mB=!0};
QI.prototype.removeAction=QI.prototype.po;r=QI.prototype;r.eO=function(a,b){this.bU[a]=b};r.ria=function(a){return this.bU[a]||0};r.getData=function(){var a=[],b;for(b in this.Ag){for(var c=[],e=0;e<this.Ag[b].length;++e){var f=this.Ag[b][e];f.isEnabled()&&c.push([f.RX(),f.Eg()])}e=this.ria(b);a[e]=a[e]||[];a[e].push({title:b,Ti:c})}return a};r.Roa=function(){for(var a in this.Ag)for(var b=this.Ag[a],c=0;c<b.length;c++)if("showHelpPopup"!=b[c].I())return!0;return!1};
r.Vra=function(){var a=this.lb;F(a);a=RI.W("hl",webspace.page.locale);a=new PI(this.getData(),a.toString());a.Z();this.lb=a;this.mB=!1;for(var a=Rw("CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT",this.lb.b()),b=0;b<a.length;b++)zx(a[b],!0)};r.R=function(){return!!this.lb&&this.lb.R()};QI.prototype.isVisible=QI.prototype.R;QI.prototype.F=function(a,b){a&&this.mB&&this.Vra();this.Roa()&&(this.lb.F(a),this.lb.b().focus(),b&&qt(this.lb,bi,b))};QI.prototype.setVisible=QI.prototype.F;
QI.prototype.A=function(){F(this.lb);this.lb=null};var TI=function(a,b,c,e,f,g,h,k){h={};h.label=b;h.hint=b;Hs&&e&&0<=e.search(/Ctrl/i)&&!k?h.keys=e.replace(/Ctrl/ig,"Meta"):h.keys=e;h[jh]=k||!1;fI.call(this,a,h);this.X(!!c);g&&this.FCa($H,SI(g));this.RV=f||null};B(TI,fI);
var UI=function(a,b,c){var e=c||0;return function(c){GH==e&&a.call(b,c)}},SI=function(a){return function(b){(b=b.data)&&b.preventDefault();a(b)}},VI={"close-square-bracket":"]",dash:"-",down:"\u2193",equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191"};
TI.prototype.RX=function(){var a=this.getProperty("helpKeys"),a=a||this.kb();gq(a)&&(a=a.join(" "));if(x(a))for(var b in VI)a=a.replace(new RegExp(b,"gi"),VI[b]);return a};TI.prototype.kp=function(a){if(this.sb)this.sb.Wd(a);else{var b=this.getProperty("hint"),c;webspace.user.keyboardShortcuts&&!webspace.user.renderMobile&&(c=this.kb());gq(c)&&(c=c[0]);this.sb=new qF(a,c?b+" ("+c+")":b)}};TI.prototype.A=function(){F(this.sb);TI.g.A.call(this)};var WI=function(a,b,c,e){TI.call(this,"showHelpPopup","Open shortcut help",a,c,e,y(this.Xza,this,!0));this.lb=b};B(WI,TI);WI.prototype.Xza=function(a,b){this.lb.F(a);b&&b.preventDefault()};var XI=function(a){JH.call(this,a||document);this.di={};this.oc=!0;this.zn=new QI;this.w7={};this.Wxa(!1)};B(XI,JH);r=XI.prototype;r.Eba=function(a){a=new WI(!0,this.zn,"Ctrl + /",a);this.lh(a,a.gq)};r.lh=function(a,b,c){if(!webspace.user.renderMobile&&webspace.user.keyboardShortcuts){this.di[a.I()]=a;var e=a.kb()||[];gq(e)||(e=[e]);if(!c)for(c=0;c<e.length;c++)this.M3(a.I(),e[c]);a.RV&&this.zn.lh(a);this.Iba(a,b)}};r.Iba=function(a,b){this.w7[a.I()]=I(this,"shortcut_"+a.I(),y(b,a))};
r.po=function(a){if(!webspace.user.renderMobile&&webspace.user.keyboardShortcuts){var b=a.kb();if(gq(b))for(var c=b.length,e=0;e<c;++e)this.q9(b[e]);else this.q9(b);this.zn.po(a);this.Zva(a);delete this.di[a.I()]}};r.Zva=function(a){var b=this.w7;st(b[a.I()]);b[a.I()]=null};r.isEnabled=function(){return this.oc};r.X=function(a){this.oc=a};r.fL=function(a){return this.oc?XI.g.fL.call(this,a):!1};r.A=function(){var a=this.di,b;for(b in a)this.po(a[b]);F(this.zn);this.zn=null;XI.g.A.call(this)};var YI=function(){XI.call(this);this.Eba(yb);this.Qba(yb);var a=this.zn;a.eO(yb,0);a.eO($c,1);a.eO(Ic,2)};B(YI,XI);eq(YI);YI.prototype.Qba=function(a){a=new WI(!0,this.zn,"Shift + /",a);a.setProperty("helpKeys","?");this.lh(a,a.gq)};var ZI=function(a){TI.call(this,"focusSearchBox","Search",a,"/",yb,y(this.eha,this))};B(ZI,TI);ZI.prototype.eha=function(a){var b=O(Zi);b&&(b.focus(),a&&a.preventDefault())};var $I=function(a,b){TI.call(this,Ak,Ib,b,"Shift + t",Ic,y(this.Yta,this));this.hA=a};B($I,TI);$I.prototype.Yta=function(){window.location.href=this.hA()};var aJ=function(a,b){TI.call(this,"closeSiteLayoutEditor",Jb,b,"Esc","Actions",UI(a,this))};B(aJ,TI);var bJ=function(a,b){b?TI.call(this,en,"Delete page",!0,"Shift + 3",Ic,UI(a,this)):TI.call(this,en,"You can't delete your home page. Click 'Manage site' to change your home page or delete your site.",!1,null,null,UI(a,this))};B(bJ,TI);var cJ=function(a){TI.call(this,"editPage",0==webspace.page.path.indexOf(Ja)?cc:bc,a,"e",Ic,UI(this.$fa,this))};B(cJ,TI);cJ.prototype.$fa=function(){window.jstiming.load.t={};window.jstiming.load.tick("_start_edit");NF(td,bc);JOT_postEvent(Vk)};var dJ=function(a){TI.call(this,zg,dc,a,"Shift + L",Ic,UI(this.aga,this))};B(dJ,TI);dJ.prototype.aga=function(){JOT_postEvent(Ek)};var eJ=function(a){TI.call(this,Ck,"Manage site",a,"g m",$c,y(this.aua,this))};B(eJ,TI);eJ.prototype.aua=function(){webspace.manageUrl&&(window.location.href=webspace.manageUrl)};var fJ=function(a,b){TI.call(this,"showMoreActionsMenu","More actions",b,"m",yb,UI(a,this))};B(fJ,TI);var gJ=function(a,b){TI.call(this,fn,"Move page",b,"Shift + m",Ic,UI(sq(this.Dsa,a)))};B(gJ,TI);gJ.prototype.Dsa=function(a,b){b&&b.preventDefault&&b.preventDefault();a()};var hJ=function(a){TI.call(this,"openCopyPage","Copy page",a,"Shift + c",Ic,y(this.Zta,this))};B(hJ,TI);hJ.prototype.Zta=function(){var a=0==webspace.page.path.indexOf(Ja);webspace.baseUri&&webspace.page&&webspace.page.path&&PF(td,"Copy page",webspace.baseUri+"/system/app/pages/createPage?isCopy=true&"+(a?"pt=":"source=")+webspace.page.path)};var iJ=function(a){TI.call(this,Bk,0==webspace.page.path.indexOf(Ja)?Ob:"Create page",a,"c",$c,y(this.$ta,this))};B(iJ,TI);iJ.prototype.$ta=function(){var a=0==webspace.page.path.indexOf(Ja);webspace.baseUri&&webspace.page&&webspace.page.path&&PF(td,Pb,webspace.baseUri+"/system/app/pages/createPage?"+(a?"pt=":"source=")+webspace.page.path)};var jJ=function(a){TI.call(this,Dk,"Revision history",a,"g r",Ic,y(this.cua,this))};B(jJ,TI);jJ.prototype.cua=function(){webspace.baseUri&&webspace.page&&webspace.page.wuid&&(window.location.href=webspace.baseUri+"/system/app/pages/admin/revisions?wuid="+webspace.page.wuid)};var kJ=function(a){TI.call(this,cm,"Preview page as viewer",a,"g p",Ic,y(this.gva,this))};B(kJ,TI);kJ.prototype.gva=function(){window.open(window.location+"?previewAsViewer=1")};var lJ=function(a){TI.call(this,"printPage","Print page",a,"Ctrl + p",Ic,y(this.iva,this))};B(lJ,TI);lJ.prototype.iva=function(a){a&&a.preventDefault();webspace.printUrl&&window.open(webspace.printUrl)};var mJ=function(a,b){TI.call(this,zm,"Save As Page Template",b,"Shift + g",Ic,UI(a,this))};B(mJ,TI);var nJ=function(a,b){TI.call(this,gn,"Page settings",b,"u",Ic,UI(this.JBa,this));this.YD=a};B(nJ,TI);nJ.prototype.JBa=function(a){a||(a=new G(""));a.payload||(a.payload={});this.YD(a)};var oJ=function(a){TI.call(this,hn,"Share site",a,"Shift + s",$c,UI(this.PBa,this))};B(oJ,TI);oJ.prototype.PBa=function(){PF(td,Xc,webspace.commonSharingUrl+"#"+webspace.page.path)};var pJ=function(a){TI.call(this,"smartPreview",ad,a,"s p",Ic,y(this.$Ba,this))};B(pJ,TI);pJ.prototype.$Ba=function(){PF(td,ad,webspace.getPath(webspace.baseUri,webspace.page.path,tb))};var qJ=function(a,b){TI.call(this,Po,"Toggle page subscription",b,"f",Ic,UI(this.aDa,this));this.rE=a};B(qJ,TI);qJ.prototype.aDa=function(a){a||(a=new G(""));a.payload||(a.payload={});this.rE(a)};var rJ=function(a,b){TI.call(this,Qo,"Toggle site subscription",b,"Shift + f",$c,UI(a))};B(rJ,TI);var sJ=function(a){this.Yca=a||"sites-searchbox-search-button";this.v7=YI.K()};B(sJ,E);w("sites.Searchbox",sJ,void 0);var tJ=null,uJ=function(a,b,c,e){F(tJ);tJ=new sJ(a);tJ.Ke(b,!0,c,e)};w("sites.Searchbox.initialize",uJ,void 0);sJ.prototype.Zl=null;sJ.prototype.uo=null;sJ.prototype.Xf=null;
sJ.prototype.Ke=function(a,b,c,e){this.Zl=O(Zi);var f=O(Sn),g=O(this.Yca),h=O("sites-searchbox-scope");f&&I(f,vo,this.HT,!1,this);if(g){var k=O("sites-searchbox-select-dropdown");this.uo=new HE(null);this.uo.U(g);I(this.uo,l,this.n8,!1,this);var n;if(k&&a){n=new yC(null,null,new vJ);n.y5(!1);n.U(k);for(var q,k=0;k<a.length;k++){var u=a[k],A=new OB(u.label,u);n.zc(A);u.id==c&&(q=A)}q&&n.Gb(q);e&&(n.zc(new SB),c=new OB(e.label,e),n.zc(c));I(n,Xe,y(function(a){a=a.target.Ga().ca;a.id?(h.value=a.id,f.action=
a.action,b?tx(g,a.label):(this.uo.ed(a.label),this.Xf.Ta(a.label),this.Zl.setAttribute(te,a.label)),this.n8()):a.url&&(window.location.href=a.url)},this))}b||(a=n?n.Ga().ca:a[0],this.uo.ed(a.label),this.Xf=new fC(a.label),this.Xf.U(this.Zl))}a=new ZI(!0);this.v7.lh(a,a.gq);this.hI=a};sJ.prototype.initListeners=sJ.prototype.Ke;sJ.prototype.HT=function(a){var b=this.Xf?this.Xf.getValue():this.Zl.value;if(Fq(b))return!0;a&&a.preventDefault();return!1};sJ.prototype.n8=function(){this.HT()&&O(Sn).submit()};
sJ.prototype.A=function(){this.hI&&(this.v7.po(this.hI),F(this.hI));F(this.uo);this.uo=null;F(this.Xf);this.Xf=null;sJ.g.A.call(this)};var vJ=function(){};B(vJ,$E);vJ.prototype.fn=function(a){return 2==a?"jfk-button-hover":vJ.g.fn.call(this,a)};function _START_TEMPLATE_SECTION(){}function _END_TEMPLATE_SECTION(){}function _TEMPLATE_VARIABLE(){}function _INLINE_TEMPLATE_SECTION(){}function _PARENS(){}function _TEMPLATE_INCLUDE(){};function wJ(a){var b=document.createElement(d);b.innerHTML="<iframe onload='this.pool_locked=false'></iframe>";var c=b.getElementsByTagName(oc)[0];c.style.visibility=ai;c.style.width=c.style.height="0px";c.style.border="0px";c.style.position=Ld;c.g3=a;this.lc[this.lc.length]=c;b.removeChild(c);return c}
function xJ(a){if(a.match(/^http[s]?:\/\//)){var b=this;window.setTimeout(function(){for(var c=null,e=b.lc.length-1;0<=e;e--){var f=b.lc[e];if(f&&!f.g3)if(f.parentNode.removeChild(f),window.ActiveXObject)b.lc[e]=null,b.lc.splice(e,1);else{f.g3=!0;c=f;break}}c=c?c:b.qea(!0);c.src=a;document.body.appendChild(c)},0)}}function yJ(){for(var a=0;a<this.lc.length;a++)this.lc[a].onload=null,this.lc[a]=null;this.lc.length=0;this.lc=[]}
function zJ(){for(var a=0;a<this.lc.length;a++){var b=this.lc[a];b&&b.parentNode.removeChild(b)}}function AJ(){this.lc=[];this.qea=wJ;this.iframe=xJ;this.clear=yJ;this.dispose=zJ}function BJ(a,b){_IFPC.xe[a]=b}function CJ(a){delete _IFPC.xe[a]}
function DJ(a,b,c,e,f,g,h,k){if(!_IFPC.ob){var n=4095-e.length,n=parseInt(n/3,10);"undefined"==typeof h&&(h=!0);if(k)a=[a,"..",_IFPC.xp,1,1,encodeURIComponent(JSON.stringify({ANa:b,LMa:c,$Ma:"..",t:window.KMa[a.split("_")[2]]}))].join("&"),_IFPC.OA.iframe(e+"#"+a);else for(c=c.slice(0),c.unshift(_IFPC.Br(f)),c.unshift(g),c.unshift(b),c.unshift(a),b=_IFPC.Qt(c),c=parseInt(b.length/n,10),0<b.length%n&&(c+=1),f=0;f<c;f++)_IFPC.OA.iframe(e+"#"+_IFPC.Qt([a,_IFPC.xp,c,f,b.substr(f*n,n),h]));_IFPC.xp++}}
function EJ(){_IFPC.xe={};_IFPC.Eb={};_IFPC.OA.clear()}function FJ(){_IFPC.ob||(_IFPC.ob=!0,_IFPC.OA.dispose(),_IFPC.clear())}function GJ(a){var b=_IFPC.TG(a)[0],c=null;try{c=window.parent.frames[b]}catch(e){}try{c||window.parent.parent.frames[b]==window.parent||(window.parent.parent.frames[b].setTimeout(function(){},0),c=window.parent.parent.frames[b])}catch(e){}c||(c=window.parent.parent);c&&void 0!=c._IFPC?(b=function(){c._IFPC.DA(a)},window.ActiveXObject?b():c.setTimeout(b,0)):c=null}
function HJ(a){a=_IFPC.TG(a);var b=a.shift(),c=a.shift(),e=a.shift(),f=a.shift(),g=a.shift();a=a.shift();b=b+"_"+c;_IFPC.bo[b]||(_IFPC.bo[b]=[]);_IFPC.bo[b].push([f,g]);if(_IFPC.bo[b].length==e){_IFPC.bo[b].sort(function(a,b){return parseInt(a[0],10)-parseInt(b[0],10)});g="";for(f=0;f<e;f++)g+=_IFPC.bo[b][f][1];_IFPC.bo[b]=null;var f=_IFPC.TG(g),b=f.shift(),c=f.shift(),e=f.shift(),g=f.shift(),h=_IFPC.ska(c);if(h)a=h.apply(null,f),_IFPC.cqa(g)&&(a.unshift(g),_IFPC.call(b,_IFPC.gR,a,e,null,""));else if(a)throw Error("Service "+
c+" not registered.");}}function IJ(a){return _IFPC.xe.hasOwnProperty(a)?_IFPC.xe[a]:null}function JJ(a){var b="";a&&typeof a==lh&&(b=_IFPC.Jja(),_IFPC.Eb[b]=a);return b}function KJ(a){_IFPC.Eb.hasOwnProperty(a)&&(_IFPC.Eb[a]=null)}function LJ(a){return a&&_IFPC.Eb.hasOwnProperty(a)?_IFPC.Eb[a]:null}function MJ(){return _IFPC.fR+_IFPC.dda++}function NJ(a){return 0==(a+"").indexOf(_IFPC.fR)}
function OJ(a){a=a.split("&");for(var b=0;b<a.length;b++){var c=decodeURIComponent(a[b]);try{c=JSON.parse(c)}catch(e){}a[b]=c}return a}function PJ(a){for(var b=[],c=0;c<a.length;c++){var e=JSON.stringify(a[c]);b.push(encodeURIComponent(e))}return b.join("&")}function QJ(a){var b=_IFPC.gia(a);if(b){for(var c=[],e=1;e<arguments.length;e++)c[c.length]=arguments[e];b.apply(null,c);_IFPC.sDa(a)}else throw Error("Invalid callbackId");}var _IFPC={};
(function(a){(a=window.cba&&window.cba(a))&&1==a.exp_rpc_js&&(window.M$=!0);window.M$?_IFPC={Li:function(a,c){window.gadgets.rpc.register(a,function(){var a=this.a.slice(0);a.unshift(this.f);c.apply(null,a)})},DE:function(a){window.gadgets.rpc.unregister(a)},DA:function(a){window.gadgets.rpc.receive(a)},call:function(a,c,e,f,g,h,k,n){h=window.gadgets.rpc;f==h.getRelayUrl("..")&&(a="..");e||(e=[]);n||(e=e.slice(1));e.unshift(g);e.unshift(c);e.unshift(a);h.call.apply(h,e)}}:(_IFPC={Li:BJ,DE:CJ,call:DJ,
clear:EJ,dispose:FJ,vNa:GJ,tNa:GJ,DA:HJ,fR:"cbid",gR:"ifpc_callback",OA:new AJ,bo:{},xe:{},Eb:{},dda:0,xp:0,ob:!1,ska:IJ,Br:JJ,sDa:KJ,gia:LJ,Jja:MJ,cqa:NJ,TG:OJ,Qt:PJ,fda:QJ},_IFPC.Li(_IFPC.gR,_IFPC.fda));_IFPC.registerService=_IFPC.Li;_IFPC.unregisterService=_IFPC.DE;_IFPC.call=_IFPC.call;_IFPC.handleRequest=_IFPC.DA})(document.location.href);var RJ=function(a){this.nr=0;this.WL=a||100;this.gj=[]};r=RJ.prototype;r.add=function(a){var b=this.gj[this.nr];this.gj[this.nr]=a;this.nr=(this.nr+1)%this.WL;return b};r.get=function(a){a=this.g2(a);return this.gj[a]};r.set=function(a,b){a=this.g2(a);this.gj[a]=b};r.xa=function(){return this.gj.length};r.bc=function(){return 0==this.gj.length};r.clear=function(){this.nr=this.gj.length=0};r.pb=function(){return this.Lja(this.xa())};
r.Lja=function(a){var b=this.xa(),c=[];for(a=this.xa()-a;a<b;a++)c.push(this.get(a));return c};r.kb=function(){for(var a=[],b=this.xa(),c=0;c<b;c++)a[c]=c;return a};r.Xb=function(a){return a<this.xa()};r.oj=function(a){for(var b=this.xa(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};r.g2=function(a){if(a>=this.gj.length)throw Error("Out of bounds exception");return this.gj.length<this.WL?a:(this.nr+Number(a))%this.WL};var TJ=function(a,b){this.identifier=a||"";this.outputBuffer=[];this.Hi=b||"";this.hD=new RJ(500);this.A3=y(this.Lba,this);this.Mha=new sG(this.Hi);this.Sga={};this.E5(!0);this.oc="1"==SJ(this.identifier,Fg);t.setInterval(y(this.ixa,this),7500)};r=TJ.prototype;r.n$="LOGGING";r.nga=!1;r.xd=null;r.XQ=!1;var UJ=r.d0=!1;r=TJ.prototype;r.hT=null;r.mL=z();r.Vf=function(){this.oc&&this.JM()};r.isEnabled=function(){return this.oc};r.X=function(a){(this.oc=a)&&this.JM();this.xD(Fg,a?"1":"0")};
r.E5=function(a){if(a!=this.d0){this.d0=a;var b=Dv();a?b.eS(this.A3):b.Wva(this.A3)}};r.Sba=function(){this.r$(Du("hr"))};r.xn=function(){return!!this.xd&&!this.xd.closed};r.clear=function(){this.hD.clear();this.xn()&&this.ZQ()};r.Lba=function(a){if(!this.Sga[a.u1]){var b=this.Mha.fX(a);this.r$(b);this.nga&&a.Yf.value>=qv.value&&this.X(!0)}};r.r$=function(a){this.oc?(this.JM(),this.hD.add(a),this.$Q(a)):this.hD.add(a)};
r.$Q=function(a){this.outputBuffer.push(a);t.clearTimeout(this.hT);750<z()-this.mL?this.YQ():this.hT=t.setTimeout(y(this.YQ,this),250)};r.YQ=function(){this.mL=z();if(this.xn()){var a=this.xd.document.body,a=a&&100>=a.scrollHeight-(a.scrollTop+a.clientHeight),b=Gu(this.outputBuffer);this.xd.document.write(tu(b));this.outputBuffer.length=0;a&&this.xd.scrollTo(0,1E6)}};r.q$=function(){for(var a=this.hD.pb(),b=0;b<a.length;b++)this.$Q(a[b])};
r.JM=function(){if(!this.xn()&&!this.XQ){var a=this.ou("dbg","0,0,800,500").split(","),b=Number(a[0]),c=Number(a[1]),e=Number(a[2]),a=Number(a[3]);this.XQ=!0;this.xd=window.open("",this.ala(),"width="+e+",height="+a+",toolbar=no,resizable=yes,scrollbars=yes,left="+b+",top="+c+",status=no,screenx="+b+",screeny="+c);this.xd||UJ||(alert("Logger popup was blocked"),UJ=!0);this.XQ=!1;this.xd&&this.ZQ()}};r.ala=function(){return H?this.identifier.replace(/[\s\-\.\,]/g,"_"):this.identifier};r.qA=function(){return fu(Vt("*{font:normal 14px monospace;}.dbg-sev{color:#F00}.dbg-w{color:#E92}.dbg-sh{background-color:#fd4;font-weight:bold;color:#000}.dbg-i{color:#666}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}"))};
r.ZQ=function(){if(this.xn()){this.xd.document.open();var a=Du(m,{"class":"dbg-ev",style:Vt("text-align:center;")},Gu(this.n$,Ku,Du("small",{},"Logger: "+this.identifier))),a=Gu(Fu(this.qA()),Du("hr"),a,Du("hr"));this.$Q(a);this.q$()}};r.xD=function(a,b){var c=(a+this.identifier).replace(/[;=\s]/g,"_");document.cookie=c+"="+encodeURIComponent(b)+";path=/;expires="+(new Date(z()+2592E6)).toUTCString()};r.ou=function(a,b){return SJ(this.identifier,a,b)};
var SJ=function(a,b,c){a=(b+a).replace(/[;=\s]/g,"_");b=String(document.cookie);var e=b.indexOf(a+"=");return-1!=e?(c=b.indexOf(";",e),decodeURIComponent(b.substring(e+a.length+1,-1==c?b.length:c))):c||""};TJ.prototype.ixa=function(){this.xn()&&this.xD("dbg",(this.xd.screenX||this.xd.screenLeft||0)+","+(this.xd.screenY||this.xd.screenTop||0)+","+(this.xd.outerWidth||800)+","+(this.xd.outerHeight||500))};var VJ=function(a,b){this.tva();TJ.call(this,a,b);this.cf=null};B(VJ,TJ);var WJ;a:{try{WJ=!!window.localStorage.getItem;break a}catch(a){}WJ=!1}var XJ=WJ;r=VJ.prototype;r.YQ=function(){this.mL=z();if(this.xn()){for(var a=this.cf.b("log"),b=100>=a.scrollHeight-(a.scrollTop+a.offsetHeight),c=0;c<this.outputBuffer.length;c++){var e=this.cf.j(d,"logmsg");Mw(e,this.outputBuffer[c]);a.appendChild(e)}this.outputBuffer.length=0;this.w4();b&&(a.scrollTop=a.scrollHeight)}};
r.ZQ=function(){if(this.xn()){var a=this.xd.document;a.open();var b=this.Zia();a.write(tu(b));a.close();(H?a.body:this.xd).onresize=y(this.w4,this);this.cf=new Nw(a);this.cf.b("openbutton").onclick=y(this.bua,this);this.cf.b("closebutton").onclick=y(this.Jda,this);this.cf.b("clearbutton").onclick=y(this.clear,this);this.cf.b("exitbutton").onclick=y(this.Fga,this);this.q$()}};
r.bua=function(){var a=C(this.cf.b("optionsarea"));Mw(a,Ju);for(var b=YJ(),c=this.cf,e=0;e<b.length;e++){var f=b[e],g=f.Yf?f.Yf.name:pc,f=c.j(d,{},this.Kia("sel"+f.getName(),g),c.j(Qc,{},f.getName()||"(root)"));a.appendChild(f)}this.cf.b(Lk).style.display="block";return!1};r.Kia=function(a,b){for(var c=this.cf,e=c.j(Pc,{id:a}),f=0;f<wv.length;f++){var g=wv[f],h=c.j(Fc,{},g.name);b==g.name&&(h.selected=!0);e.appendChild(h)}e.appendChild(c.j(Fc,{selected:b==pc},pc));return e};
r.Jda=function(){this.cf.b(Lk).style.display=lk;for(var a=YJ(),b=this.cf,c=0;c<a.length;c++){var e=a[c],f=b.b("sel"+e.getName()),f=f.options[f.selectedIndex].text;f==pc?e.zo(null):e.zo(yv(f))}this.LEa();return!1};r.w4=function(){var a=this.cf,b=a.b("log"),c=a.b("head");b.style.top=c.offsetHeight+p;b.style.height=a.N().body.offsetHeight-c.offsetHeight-(H?4:0)+p};r.Fga=function(){this.X(!1);this.xd&&this.xd.close()};
r.qA=function(){var a=VJ.g.qA.call(this),b=fu(Vt("html,body{height:100%;width:100%;margin:0px;padding:0px;background-color:#FFF;overflow:hidden}*{}.logmsg{border-bottom:1px solid #CCC;padding:2px;font:90% monospace}#head{position:absolute;width:100%;font:x-small arial;border-bottom:2px solid #999;background-color:#EEE;}#head p{margin:0px 5px;}#log{position:absolute;width:100%;background-color:#FFF;}#options{position:absolute;right:0px;width:50%;height:100%;border-left:1px solid #999;background-color:#DDD;display:none;padding-left: 5px;font:normal small arial;overflow:auto;}#openbutton,#closebutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:5px;font:x-small arial;}#clearbutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:80px;font:x-small arial;}#exitbutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:50px;font:x-small arial;}select{font:x-small arial;margin-right:10px;}hr{border:0;height:5px;background-color:#8c8;color:#8c8;}"));return du(a,
b)};r.Zia=function(){var a=Du("head",{},Gu(Du(No,{},"Logging: "+this.identifier),Fu(this.qA()))),b=Du("body",{},Gu(Du(m,{id:"log",style:Vt("overflow:auto")}),Du(m,{id:"head"},Gu(Du("p",{},Du("b",{},"Logging: "+this.identifier)),Du("p",{},this.n$),Du(jo,{id:"clearbutton"},"clear"),Du(jo,{id:"exitbutton"},"exit"),Du(jo,{id:"openbutton"},Lk))),Du(m,{id:Lk},Gu(Du("big",{},Du("b",{},"Options:")),Du(m,{id:"optionsarea"}),Du(jo,{id:"closebutton"},"save and close")))));return Du("html",{},Gu(a,b))};
r.LEa=function(){if(XJ)for(var a=YJ(),b=ZJ(),c=0;c<a.length;c++){var e=Rg+a[c].getName(),f=a[c].Yf;e in b?f?window.localStorage.getItem(e)!=f.name&&window.localStorage.setItem(e,f.name):window.localStorage.removeItem(e):f&&window.localStorage.setItem(e,f.name)}};r.tva=function(){if(XJ){var a=ZJ(),b;for(b in a){var a=b.replace(Rg,""),a=Ev(a),c=a.Yf,e=window.localStorage.getItem(b).toString();c&&c.toString()==e||a.zo(yv(e))}}};
var ZJ=function(){for(var a={},b=0,c=window.localStorage.length;b<c;b++){var e=window.localStorage.key(b);null!=e&&Aq(e,Rg)&&(a[e]=!0)}return a},YJ=function(){var a=bs(Av);Tr(a,function(a,c){return Sr(a.getName(),c.getName())});return a};var $J=!1,aK="",bK=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&($J=!0,a.description)){aK=bK(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){$J=!0;aK="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes[oe],$J=!(!a||!a.enabledPlugin))){aK=bK(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");$J=!0;aK=bK(b.GetVariable("$version"));return}catch(c){}try{b=
new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");$J=!0;aK="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),$J=!0,aK=bK(b.GetVariable("$version"))}catch(c){}})();var cK=$J,dK=aK;var eK=function(a){switch(a){case 6:case 9:case 8:case 1:return kk;case 2:return Ei;case 7:return Hd;case 5:return Lg;case 0:return"noerror";default:return cp}},fK=function(a){switch(a){case Hd:return"Canceled";case kk:return"Lost connection to server";case Ei:return"Unable to read file";case Gm:return"Security error";case Om:return"Server rejected";case Nm:return"Server returned invalid response";default:return"Unexpected error"}};var gK=function(a){J.call(this);this.kf=a;this.bD=this.sf="";this.J=new GA(this)};B(gK,J);r=gK.prototype;r.ka=Fv("apps.uploader.net.FileIo");r.dispatchEvent=function(a){try{return gK.g.dispatchEvent.call(this,a)}catch(b){Gv(this.ka,hc,b)}};r.getFile=function(){return this.kf};r.bA=function(){return this.sf};r.re=function(){return this.bD};r.aAa=function(a){this.bD=a};r.send=function(a){this.sf=a;this.am(a)};
r.ql=function(a){Iv(this.ka,"Got upload response:\n"+a);this.bD=a||"";var b;try{b=At(this.bD)}catch(c){this.handleError(Nm,uc);return}void 0!=b.sessionStatus?(null!=this.kf.nc&&this.Fi(this.kf.nc),this.dispatchEvent(wo)):void 0!=b.errorMessage?this.handleError(Om,"Server rejected upload."):this.handleError(Nm,uc)};r.handleError=function(a,b){this.kf.sO(a,x(b)?b:b.message);this.dispatchEvent(Hg)};r.Fi=function(a){this.kf.D5(a);this.dispatchEvent(fm)};
r.oG=function(){throw Error("computeMd5() not implemented");};r.C=function(){return this.J};r.A=function(){gK.g.A.call(this);F(this.J)};var hK=function(a,b,c){gK.call(this,a);this.WW=b;this.fI=c;this.Dx=!1};B(hK,gK);hK.prototype.ka=Fv("apps.uploader.net.FlashFileIo");hK.prototype.abort=function(){this.Dx&&kq(this.fI.cancelUpload)&&this.fI.cancelUpload(this.WW.id)};hK.prototype.am=function(a){this.fI.startUpload(this.WW.id,a);this.Dx=!0};
hK.prototype.ima=function(a){switch(a.type){case "onOpen":Iv(this.ka,"Flash:onOpen "+this.getFile());break;case "onProgress":this.Fi(a.bytesLoaded);break;case vk:this.ql(a.data);break;case "onHttpError":this.handleError(kk,"HTTP Error "+a.code);break;case xk:this.handleError(Gm,a.error);break;case "onIoError":this.handleError(Ei,"An error occured while reading the file.")}};var iK=["classid","data","movie",Xo,"typemustmatch"],jK=function(a,b){var c={},e;for(e in a)C(e.toLowerCase()==e,Dc),c[e]=a[e];for(e in b){var f=e.toLowerCase();f in a&&delete c[f];c[e]=b[e]}f=[];for(e in c)f.push(Cu("param",{name:e,value:c[e]}));return f},kK=function(a,b,c){var e=function(a,b,c){for(var e in b)for(var n=e.toLowerCase(),q=0;q<a.length;q++){var u=a[q];C(u.toLowerCase()==u);if(n==u)throw Error(Hb+u+'" '+c+', got "'+e+la+b[e]+'"');}};e(a,b,"attribute");e(a,c,"param")};var lK=function(){};var mK=function(){};B(mK,lK);mK.prototype.xa=function(){var a=0;Uu(this.rg(!0),function(b){lr(b);a++});return a};mK.prototype.clear=function(){var a=Vu(this.rg(!0)),b=this;D(a,function(a){b.remove(a)})};var nK=function(a){this.kh=a};B(nK,mK);r=nK.prototype;r.DK=function(){if(!this.kh)return!1;try{return this.kh.setItem("__sak","1"),this.kh.removeItem("__sak"),!0}catch(a){return!1}};r.set=function(a,b){try{this.kh.setItem(a,b)}catch(c){if(0==this.kh.length)throw"Storage mechanism: Storage disabled";throw dd;}};r.get=function(a){a=this.kh.getItem(a);if(!x(a)&&null!==a)throw cd;return a};r.remove=function(a){this.kh.removeItem(a)};r.xa=function(){return this.kh.length};
r.rg=function(a){var b=0,c=this.kh,e=new Su;e.next=function(){if(b>=c.length)throw Ru;var e=lr(c.key(b++));if(a)return e;e=c.getItem(e);if(!x(e))throw cd;return e};return e};r.clear=function(){this.kh.clear()};r.key=function(a){return this.kh.key(a)};var oK=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.kh=a};B(oK,nK);var qK=function(a,b){this.x8=a;this.Ve=null;if(H&&!Ts(9)){pK||(pK=new K);this.Ve=pK.get(a);this.Ve||(b?this.Ve=document.getElementById(b):(this.Ve=document.createElement("userdata"),this.Ve.addBehavior("#default#userData"),document.body.appendChild(this.Ve)),pK.set(a,this.Ve));try{this.Era()}catch(c){this.Ve=null}}};B(qK,mK);var rK={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},pK=null,sK=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(a){return rK[a]})};
r=qK.prototype;r.DK=function(){return!!this.Ve};r.set=function(a,b){this.Ve.setAttribute(sK(a),b);this.GN()};r.get=function(a){a=this.Ve.getAttribute(sK(a));if(!x(a)&&null!==a)throw cd;return a};r.remove=function(a){this.Ve.removeAttribute(sK(a));this.GN()};r.xa=function(){return this.aJ().attributes.length};
r.rg=function(a){var b=0,c=this.aJ().attributes,e=new Su;e.next=function(){if(b>=c.length)throw Ru;var e=C(c[b++]);if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if(!x(e))throw cd;return e};return e};r.clear=function(){for(var a=this.aJ(),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);this.GN()};r.Era=function(){this.Ve.load(this.x8)};r.GN=function(){try{this.Ve.save(this.x8)}catch(a){throw dd;}};r.aJ=function(){return this.Ve.XMLDocument.documentElement};var tK=function(a,b){this.Ev=a;this.Hi=b+"::"};B(tK,mK);tK.prototype.set=function(a,b){this.Ev.set(this.Hi+a,b)};tK.prototype.get=function(a){return this.Ev.get(this.Hi+a)};tK.prototype.remove=function(a){this.Ev.remove(this.Hi+a)};tK.prototype.rg=function(a){var b=this.Ev.rg(!0),c=this,e=new Su;e.next=function(){for(var e=b.next();e.substr(0,c.Hi.length)!=c.Hi;)e=b.next();return a?e.substr(c.Hi.length):c.Ev.get(e)};return e};var uK=function(a){var b=new oK;(b=b.DK()?a?new tK(b,a):b:null)||(a=new qK(a||"UserDataSharedStore"),b=a.DK()?a:null);return b};var vK=function(a){this.Yj=a};vK.prototype.set=function(a,b){v(b)?this.Yj.set(a,Ct(b)):this.Yj.remove(a)};vK.prototype.get=function(a){var b;try{b=this.Yj.get(a)}catch(c){return}if(null!==b)try{return zt(b)}catch(c){throw ed;}};vK.prototype.remove=function(a){this.Yj.remove(a)};var wK=function(a){this.Gda=a;this.jb={};this.Rl={};this.Lm=null;this.J=new GA;this.ha(this.J);if(a=uK("google-upload"))this.Lm=new vK(a),this.xva()};B(wK,E);var xK=function(){this.vm=[];this.Cr=null};r=wK.prototype;r.H=Fv("apps.uploader.common.Stats");r.Fy=function(a,b,c,e,f){a&&b&&(f=f||z(),L(this.H,"Collect: "+b+", "+c+", "+e+", "+f),c={time:f,type:c},e&&(c.details=e),this.jb[a]||(this.jb[a]={}),this.jb[a][b]||(this.jb[a][b]=new xK),this.jb[a][b].vm.push(c))};
r.gla=function(a,b,c,e){if(b&&!(1>=b.length)){var f=b[0];L(this.H,"Grouped uploads with group id: "+f);b={upload_id:b};c&&(b.latency_ms=c);e&&(b.total_size=e);this.jb[a]||(this.jb[a]={});this.jb[a][f]||(this.jb[a][f]=new xK);this.jb[a][f].Cr=b}};
r.report=function(){if(!gs(this.jb))for(var a in this.jb)if(!gs(this.jb[a])){var b=Ct(this.Rha(this.jb[a]));L(this.H,"Sending stats report:\n"+b);this.Rl[a]=this.jb[a];this.jb[a]={};var c=this.Dea();this.J.o(c,wo,y(this.rna,this,a));this.J.o(c,Hg,y(this.qna,this,a));c.send(a,Hc,b)}};
r.Rha=function(a){var b=[],c=[],e;for(e in a)a[e].vm&&0<a[e].vm.length&&b.push({upload_id:e,events:a[e].vm,client_version:this.Gda}),a[e].Cr&&c.push(a[e].Cr);a={};0<b.length&&(a.upload_events=b);0<c.length&&(a.related_uploads=c);return a};r.aM=function(a,b){for(var c in b)a[c]?(a[c].vm=a[c].vm.concat(b[c].vm),b[c].Cr&&(a[c].Cr=b[c].Cr)):a[c]=b[c]};r.Dea=function(){return new yw};r.rna=function(a){this.Rl[a]={}};r.qna=function(a){this.aM(this.Rl[a],this.jb[a]);this.jb[a]=this.Rl[a];this.Rl[a]={}};
r.$K=function(){return!!this.Lm};r.qCa=function(){if(this.$K()){var a=null;try{a=this.Lm.get(qo)}catch(e){return}a||(a={});for(var b in this.Rl){var c=a[b]||{};this.aM(c,this.Rl[b]);a[b]=c}for(b in this.jb)c=a[b]||{},this.aM(c,this.jb[b]),a[b]=c;this.Lm.set(qo,a);this.Rl={};this.jb={}}};r.xva=function(){if(this.$K())try{this.jb=this.Lm.get(qo),this.yEa(),this.jb?this.Lm.remove(qo):this.jb={}}catch(a){this.jb={}}};
r.yEa=function(){if(this.jb)if(this.jb instanceof Object)for(var a in this.jb)if(this.jb[a]instanceof Object){var b=this.jb[a],c;for(c in b)b[c].vm||delete b[c]}else delete this.jb[a];else this.jb={}};r.clear=function(){this.$K()&&this.Lm.set(qo,{})};var yK=function(a){this.Yj=a};B(yK,vK);var zK=function(a){this.data=a},AK=function(a){return!v(a)||a instanceof zK?a:new zK(a)},BK=function(a){a=a.data;if(!v(a))throw ed;return a};yK.prototype.set=function(a,b){yK.g.set.call(this,a,AK(b))};yK.prototype.on=function(a){a=yK.g.get.call(this,a);if(!v(a)||a instanceof Object)return a;throw ed;};yK.prototype.get=function(a){return(a=this.on(a))?BK(a):void 0};var CK=function(a){this.Yj=a};B(CK,yK);var DK=function(a){var b=a.creation;a=a.expiration;return!!a&&a<z()||!!b&&b>z()};CK.prototype.set=function(a,b,c){if(b=AK(b)){if(c){if(c<z()){CK.prototype.remove.call(this,a);return}b.expiration=c}b.creation=z()}CK.g.set.call(this,a,b)};CK.prototype.on=function(a,b){var c=CK.g.on.call(this,a);if(c)if(!b&&DK(c))CK.prototype.remove.call(this,a);else return c};var EK=function(a){this.Yj=a};B(EK,CK);EK.prototype.Ria=function(a,b){var c=[];Uu(a,function(a){var f;try{f=EK.prototype.on.call(this,a,!0)}catch(g){if(g==ed){b&&c.push(a);return}throw g;}if(!v(f))c.push(a);else if(DK(f))c.push(a);else if(b)try{BK(f)}catch(g){if(g==ed)c.push(a);else throw g;}},this);return c};EK.prototype.Nda=function(a,b){var c=this.Ria(a,b);D(c,function(a){EK.prototype.remove.call(this,a)},this);return c};EK.prototype.Fy=function(a){this.Nda(this.Yj.rg(!0),a)};var FK=function(){this.sa=[];this.ev=this.dv=0};FK.prototype.qza=function(a,b){or(a,"Key parameter must be a byte array");b||(b=a.length);for(var c=this.sa,e=0;256>e;++e)c[e]=e;for(var f=0,e=0;256>e;++e){var f=f+c[e]+a[e%b]&255,g=c[e];c[e]=c[f];c[f]=g}this.ev=this.dv=0};FK.prototype.Dfa=function(a){for(var b=this.dv,c=this.ev,e=this.sa,f=0;f<a;++f){var b=b+1&255,c=c+e[b]&255,g=e[b];e[b]=e[c];e[c]=g}this.dv=b;this.ev=c};
FK.prototype.Rea=function(a,b){b||(b=a.length);for(var c=this.dv,e=this.ev,f=this.sa,g=0;g<b;++g){var c=c+1&255,e=e+f[c]&255,h=f[c];f[c]=f[e];f[e]=h;a[g]^=f[f[c]+f[e]&255]}this.dv=c;this.ev=e};var GK=function(a){for(var b=[],c=0,e=0;e<a.length;e++){for(var f=a.charCodeAt(e);255<f;)b[c++]=f&255,f>>=8;b[c++]=f}return b},HK=function(a){return xr(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};var IK=null,JK=null;var KK=function(){this.ne=-1};var LK=function(){this.ne=64;this.Oa=[];this.PF=[];this.$aa=[];this.yC=[];this.yC[0]=128;for(var a=1;a<this.ne;++a)this.yC[a]=0;this.xE=this.Qq=0;this.reset()};B(LK,KK);LK.prototype.reset=function(){this.Oa[0]=1732584193;this.Oa[1]=4023233417;this.Oa[2]=2562383102;this.Oa[3]=271733878;this.Oa[4]=3285377520;this.xE=this.Qq=0};
LK.prototype.Kk=function(a,b){b||(b=0);var c=this.$aa;if(x(a))for(var e=0;16>e;e++)c[e]=a.charCodeAt(b)<<24|a.charCodeAt(b+1)<<16|a.charCodeAt(b+2)<<8|a.charCodeAt(b+3),b+=4;else for(e=0;16>e;e++)c[e]=a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3],b+=4;for(e=16;80>e;e++){var f=c[e-3]^c[e-8]^c[e-14]^c[e-16];c[e]=(f<<1|f>>>31)&4294967295}for(var g=this.Oa[0],h=this.Oa[1],k=this.Oa[2],n=this.Oa[3],q=this.Oa[4],u,e=0;80>e;e++)40>e?20>e?(f=n^h&(k^n),u=1518500249):(f=h^k^n,u=1859775393):60>e?(f=h&k|n&(h|k),u=2400959708):
(f=h^k^n,u=3395469782),f=(g<<5|g>>>27)+f+q+u+c[e]&4294967295,q=n,n=k,k=(h<<30|h>>>2)&4294967295,h=g,g=f;this.Oa[0]=this.Oa[0]+g&4294967295;this.Oa[1]=this.Oa[1]+h&4294967295;this.Oa[2]=this.Oa[2]+k&4294967295;this.Oa[3]=this.Oa[3]+n&4294967295;this.Oa[4]=this.Oa[4]+q&4294967295};
LK.prototype.update=function(a,b){if(null!=a){v(b)||(b=a.length);for(var c=b-this.ne,e=0,f=this.PF,g=this.Qq;e<b;){if(0==g)for(;e<=c;)this.Kk(a,e),e+=this.ne;if(x(a))for(;e<b;){if(f[g]=a.charCodeAt(e),++g,++e,g==this.ne){this.Kk(f);g=0;break}}else for(;e<b;)if(f[g]=a[e],++g,++e,g==this.ne){this.Kk(f);g=0;break}}this.Qq=g;this.xE+=b}};
LK.prototype.digest=function(){var a=[],b=8*this.xE;56>this.Qq?this.update(this.yC,56-this.Qq):this.update(this.yC,this.ne-(this.Qq-56));for(var c=this.ne-1;56<=c;c--)this.PF[c]=b&255,b/=256;this.Kk(this.PF);for(c=b=0;5>c;c++)for(var e=24;0<=e;e-=8)a[b]=this.Oa[c]>>e&255,++b;return a};var MK=function(a,b){this.Yj=a;this.d5=GK(b);this.Fda=new Bt};B(MK,EK);r=MK.prototype;
r.PJ=function(a){var b=new LK;b.update(GK(a));b.update(this.d5);a=b.digest();C(hq(a),"encodeByteArray takes an array as a parameter");if(!IK)for(IK={},JK={},b=0;65>b;b++)IK[b]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(b),JK[b]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(b);for(var b=JK,c=[],e=0;e<a.length;e+=3){var f=a[e],g=e+1<a.length,h=g?a[e+1]:0,k=e+2<a.length,n=k?a[e+2]:0,q=f>>2,f=(f&3)<<4|h>>4,h=(h&15)<<2|n>>6,n=n&63;k||(n=64,g||
(h=64));c.push(b[q],b[f],b[h],b[n])}return c.join("")};r.kW=function(a,b,c){if(!(0<a.length))throw Error("Non-empty salt must be provided");var e=new LK;e.update(GK(b));e.update(a);e.update(this.d5);a=new FK;a.qza(e.digest());a.Dfa(1536);c=GK(c);a.Rea(c);if(8192>=c.length)c=String.fromCharCode.apply(null,c);else{e="";for(a=0;a<c.length;a+=8192)b=Pr(c,a,a+8192),e+=String.fromCharCode.apply(null,b);c=e}return c};r.gfa=function(a,b,c){return this.kW(a,b,c)};
r.set=function(a,b,c){if(v(b)){for(var e=[],f=0;8>f;++f)e[f]=Math.floor(256*Math.random());b=new zK(this.kW(e,a,this.Fda.bm(b)));b.salt=e;MK.g.set.call(this,this.PJ(a),b,c)}else MK.prototype.remove.call(this,a)};r.on=function(a,b){var c=MK.g.on.call(this,this.PJ(a),b);if(c){var e=BK(c),f=c.salt;if(!x(e)||!gq(f)||!f.length)throw ed;e=this.gfa(f,a,e);try{c.data=zt(e)}catch(g){throw"Storage: The value could not be decrypted";}return c}};r.remove=function(a){MK.g.remove.call(this,this.PJ(a))};var NK=function(){this.Ch=[];this.hi=[]};r=NK.prototype;r.gsa=function(){Gr(this.Ch)&&(this.Ch=this.hi,this.Ch.reverse(),this.hi=[])};r.enqueue=function(a){this.hi.push(a)};r.Nm=function(){this.gsa();return this.Ch.pop()};r.xa=function(){return this.Ch.length+this.hi.length};r.bc=function(){return Gr(this.Ch)&&Gr(this.hi)};r.clear=function(){this.Ch=[];this.hi=[]};r.contains=function(a){return Fr(this.Ch,a)||Fr(this.hi,a)};
r.remove=function(a){var b;b=this.Ch;var c=ur(b,a);0<=c?(Jr(b,c),b=!0):b=!1;return b||Kr(this.hi,a)};r.pb=function(){for(var a=[],b=this.Ch.length-1;0<=b;--b)a.push(this.Ch[b]);for(var c=this.hi.length,b=0;b<c;++b)a.push(this.hi[b]);return a};var QK=function(a,b){v(a.name)?(this.name=a.name,this.code=OK[a.name]):(this.code=a.code,this.name=PK(a.code));yq.call(this,Cq("%s %s",this.name,b))};B(QK,yq);var PK=function(a){var b=fs(OK,function(b){return a==b});if(!v(b))throw Error("Invalid code: "+a);return b},OK={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var RK=function(a,b){G.call(this,a.type,b);this.ld=a};B(RK,G);var SK=function(){J.call(this);this.Pe=new FileReader;this.Pe.onloadstart=y(this.Rp,this);this.Pe.onprogress=y(this.Rp,this);this.Pe.onload=y(this.Rp,this);this.Pe.onabort=y(this.Rp,this);this.Pe.onerror=y(this.Rp,this);this.Pe.onloadend=y(this.Rp,this)};B(SK,J);r=SK.prototype;r.abort=function(){try{this.Pe.abort()}catch(a){throw new QK(a,"aborting read");}};r.kn=function(){return this.Pe.readyState};r.getError=function(){return this.Pe.error&&new QK(this.Pe.error,"reading file")};
r.Rp=function(a){this.dispatchEvent(new RK(a,this))};r.A=function(){SK.g.A.call(this);delete this.Pe};r.readAsBinaryString=function(a){this.Pe.readAsBinaryString(a)};r.readAsArrayBuffer=function(a){this.Pe.readAsArrayBuffer(a)};var UK=function(a){var b=new SK,c=TK(b);b.readAsArrayBuffer(a);return c};SK.prototype.readAsText=function(a,b){this.Pe.readAsText(a,b)};
var TK=function(a){var b=new UF;a.o("loadend",sq(function(a,b){var f=b.Pe.result,g=b.getError();null==f||g?a.ef(g):a.Ac(f);b.dispose()},b,a));return b};var VK=function(a){var b=t.BlobBuilder||t.WebKitBlobBuilder;if(v(b)){for(var b=new b,c=0;c<arguments.length;c++)b.append(arguments[c]);return b.getBlob()}b=Nr(arguments);c=t.BlobBuilder||t.WebKitBlobBuilder;if(v(c)){for(var c=new c,e=0;e<b.length;e++)c.append(b[e],void 0);b=c.getBlob(void 0)}else if(v(t.Blob))b=new Blob(b,{});else throw Error("This browser doesn't seem to support creating Blobs");return b},WK=function(a,b,c){v(c)||(c=a.size);return a.webkitSlice?a.webkitSlice(b,c):a.mozSlice?a.mozSlice(b,
c):a.slice?Es&&!Rs("13.0")||Fs&&!Rs("537.1")?(0>b&&(b+=a.size),0>b&&(b=0),0>c&&(c+=a.size),c<b&&(c=b),a.slice(b,c-b)):a.slice(b,c):null};var XK=function(a,b){for(var c=[a],e=b.length-1;0<=e;--e)c.push(typeof b[e],b[e]);return c.join("\x0B")};var YK=function(a,b){var c=b||XK;return function(){var b=this||t,b=b.closure_memoize_cache_||(b.closure_memoize_cache_={}),f=c(oq(a),arguments);return b.hasOwnProperty(f)?b[f]:b[f]=a.apply(this,arguments)}}(function(){if(!t.Blob)return!1;var a=new Uint8Array(100),b;try{b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});var aL=function(a,b,c,e,f,g){J.call(this);this.fa=ZK++;this.uxa=z();this.Wg=$K(a)||"";this.nc=null!=b?b:null;this.N1=new K;this.TC=$K(c);this.xf=e;this.Iga={};new K;this.Nh=g||null;L(this.H,"Created new "+this)};B(aL,J);var bL={DEFAULT:ag,V$:Di,QJa:pm,Raa:oo,Waa:Uo,Taa:wo,ERROR:Hg,oaa:Zk,fp:Ue};r=aL.prototype;r.H=Fv("apps.uploader.File");r.vp=0;r.qc="noerror";r.uB="";r.Qi=null;r.kx=null;r.GG=null;r.So=null;r.c0=!1;r.Pwa=0;r.sT=!1;
var ZK=0,$K=function(a){if(!a)return a;Is&&(a=a.replace(/\\/g,"/"));Bq(a,"/")&&(a=a.substring(0,a.length-1));return a};r=aL.prototype;r.I=function(){return String(this.fa)};r.getName=function(){var a=this.Iz();return this.TC?this.TC+"/"+a:a};r.getExtension=function(){var a=this.getName(),b=a.lastIndexOf(".");return 0>b?null:a.substr(b+1)};r.fja=function(){if(!this.nc)return null;var a=new LK;a.update(GK(this.Wg+"|"+this.nc));return HK(a.digest())};r.Iz=function(){return this.Wg.split("/").pop()};
r.Yza=function(a){this.TC=$K(a)};r.Te=function(a){this.Wg=$K(a)};r.getPath=function(){return this.Wg};r.D5=function(a){this.vp=a};r.sO=function(a,b){this.qc=a;this.uB=b||""};r.Gw=function(a){this.nc=a};r.m6=function(a){this.c0=a};r.Eza=function(a){this.N1=new K(a)};r.R6=function(a){this.Qi=a};r.EAa=function(a){this.kx=a};r.N5=function(a){this.GG=a};r.qJ=function(){return this.GG?this.GG:this.Qi};r.oP=function(a){this.So=a};
r.hza=function(a){var b={};a=a.replace(/\r/g,"").split("\n");for(var c=0;c<a.length;c++){var e=a[c],f=e.indexOf(":");0>f||(b[e.substring(0,f)]=e.substring(f+2,e.length))}new K(b)};r.dqa=function(){return"."==this.Iz()};r.z5=function(a){if(this.ica=a)this.nc=a.size};r.hya=function(a){this.sT=a};r.toString=function(){return["File(id:",this.fa,", path:",this.Wg,", relativeDirectoryPath:",this.TC,", selectionId:",this.xf,", bytesTransferred:",this.vp,", bytesTotal:",this.nc,")"].join("")};var cL=function(a,b,c,e,f,g,h){aL.call(this,a,b,c,e,g);this.IW=f;this.JV=h;this.Rt=[];this.pW={};this.wfa=[]};B(cL,aL);r=cL.prototype;r.addEntry=function(a){a.dqa()?this.wfa.push(a):(this.Rt.push(a),this.pW[a.Iz()]=this.Rt.length-1)};r.Pia=function(a){a=this.pW[a];return void 0!=a?this.Rt[a]:null};r.getEntries=function(){return this.Rt};
r.hU=function(){for(var a=0,b=1,c=0,e=this.Rt,f=0;f<e.length;f++){var g=e[f];if(g instanceof cL){var h=g;h.hU();a+=h.IW;b+=h.JV}else a+=1;c+=g.nc}this.Gw(c);this.Pya(a);this.Bya(b)};r.Pya=function(a){this.IW=a};r.Bya=function(a){this.JV=a};var dL=function(a,b,c){G.call(this,a,c);this.files=b};B(dL,G);var eL=function(a,b,c){G.call(this,a,c);this.file=b};B(eL,G);var fL=function(a,b,c){eL.call(this,"uploadmessagechanged",a,c);this.message=b};B(fL,eL);var gL=function(a,b,c,e){eL.call(this,"filepreviewready",a,e)};B(gL,eL);var hL=function(a,b,c){G.call(this,a,c);this.K9=b};B(hL,G);var iL=function(a){this.file=a};r=iL.prototype;r.VN=null;r.$k=null;r.jN=null;r.blob=null;r.kqa=!1;r.state=ag;var jL=function(a){this.file=a};B(jL,iL);jL.prototype.cI=null;jL.prototype.XW="";var kL=function(a,b){J.call(this);this.kf=a.file;this.Pga=a.$k;this.Qi=b;this.ML=this.VC=this.Q3=this.UC=null;this.Ul=!1;this.ka=Fv("apps.uploader.Recovery")};B(kL,J);
kL.prototype.start=function(){if(this.Ul)Gv(this.ka,"A recovery process is already running");else{this.Ul=!0;var a=new yw;I(a,kf,y(function(){if(this.Ul){if(308==a.Ij()){var b=a.getResponseHeader("Range");this.UC=a.getResponseHeader("X-Range-MD5")||null;var c=a.re(),e=null,f=null;try{e=At(c).sessionStatus,f=e.externalFieldTransfers[0].formPostInfo||e.externalFieldTransfers[0].putInfo}catch(g){}if(b&&this.UC&&e&&f&&(b=/^bytes=(\d+)-(\d+)$/.exec(b))&&(this.Q3=Number(b[1]),this.VC=Number(b[2])+1,0==
this.Q3&&0<this.VC)){this.Pga.oG(this.VC,y(function(a){this.Ul&&(this.ML=a,this.ML==this.UC?(this.kf.R6(f.url||this.Qi),this.kf.N5(f.cross_domain_url),this.kf.D5(this.VC),this.kf.oP(e.upload_id||rw(this.Qi,"upload_id")),this.Ul=!1,this.dispatchEvent(wo)):(this.Ul=!1,L(this.ka,"Hash mismatch, local: "+this.ML+", remote: "+this.UC),this.dispatchEvent("error_hashing")))},this));this.dispatchEvent("hashing");return}}this.Ul=!1;L(this.ka,"Query error, status: "+a.Ij());this.dispatchEvent(Ig)}},this));
a.send(this.Qi,Hc,"",{"X-HTTP-Method-Override":"PUT","Content-Range":"bytes */"+this.kf.nc});this.dispatchEvent("querying")}};kL.prototype.cancel=function(){this.Ul=!1;this.dispatchEvent("canceled")};var lL=function(a,b){J.call(this);this.kf=a;this.sa="INITIALIZING";this.jG=this.vz=this.OW=null;this.d9=b;this.J=new GA(this)};B(lL,J);r=lL.prototype;r.H=Fv("apps.uploader.Session");r.Ix=!1;r.getFile=function(){return this.kf};r.setState=function(a){this.sa=a};r.getState=function(){return this.sa};r.pya=function(a){this.jG=a};r.kq=function(){return this.jG};r.k7=function(a){this.Ix=a};
r.start=function(a){var b=this.eea(y(this.joa,this),y(this.EA,this)),c=this.Iea();try{var e={};os(e,this.getFile().Iga);var f={};f["X-GUploader-Client-Info"]="mechanism="+this.jG+"; clientVersion=125118363";os(e,f);var g=Ct(c);Iv(this.H,"Sending create session request to: "+a+"\n"+g);b.send(a,Hc,g,e)}catch(h){throw Gv(this.H,"Failed to send create session request",h),h;}};r.eea=function(a,b){var c=new yw;c.uP(!0);this.J.o(c,wo,a).o(c,Hg,b);return c};
r.joa=function(a){try{var b=a.target.re();Iv(this.H,"Got create session response:\n"+b);var c=At(b);if(void 0!=c.sessionStatus){var e=c.sessionStatus,f;switch(this.d9){case 0:f="formPostInfo";break;case 1:f="putInfo";break;default:f="formPostInfo"}this.setState(e.state);var g=e.upload_id,h=e.externalFieldTransfers[0],k=h[f].url;this.Ix&&(k=Px(k).Bo("").ik("").toString());var n=h[f].cross_domain_url,q=this.getFile();q.R6(k);q.N5(n);q.oP(g);q.EAa(a.target.getResponseHeader("X-GUploader-Stats-URL"));
q.hza(a.target.getAllResponseHeaders());this.dispatchEvent(po,a.target)}else if(void 0!=c.errorMessage){var u=c.errorMessage,g=u.upload_id,q=this.getFile();q.oP(g);this.ZN(u);this.EA(a,Om)}else this.EA(a,Nm)}catch(A){Hv(this.H,"Invalid response to the create session request",A),this.EA(a,Nm)}};r.v3=function(a){a=At(a);void 0!=a.sessionStatus?(this.setState(a.sessionStatus.state),this.ZN(a.sessionStatus)):void 0!=a.errorMessage&&(this.setState("FAILED"),this.ZN(a.errorMessage))};
r.ZN=function(a){a=a.additionalInfo["uploader_service.GoogleRupioAdditionalInfo"];this.OW=a.completionInfo.status;this.vz=a.completionInfo.customerSpecificInfo};r.EA=function(a,b,c){this.setState("FAILED");b||(b=eK(a.target.qc),c=a.target.aA());this.kf.sO(b,c);this.dispatchEvent("starterror",a.target)};r.dispatchEvent=function(a,b){x(a)?a=new mL(a,this,b):a.request=b;try{return lL.g.dispatchEvent.call(this,a)}catch(c){Gv(this.H,hc,c)}};
r.Iea=function(){var a={protocolVersion:"0.8",createSessionRequest:{fields:[]}};this.Ewa(a,this.getFile());return a};r.Ewa=function(a,b){this.Dwa(a.createSessionRequest,b);nL(a,b.N1)};r.Dwa=function(a,b){var c={external:{name:Vg,filename:b.Iz()}},e;switch(this.d9){case 0:e="formPost";break;case 1:e="put";break;default:e="formPost"}c.external[e]={};e=b.nc;null==e||b.c0||(c.external.size=e);a.fields.push(c)};
var nL=function(a,b){bv(b,function(b,e){a.createSessionRequest.fields.push({inlined:{name:e,content:b,contentType:"text/plain"}})})};lL.prototype.toString=function(){return"Session(state:"+this.getState()+")"};lL.prototype.A=function(){lL.g.A.call(this);F(this.J)};var mL=function(a,b,c){G.call(this,a,b);this.request=c||null};B(mL,G);var oL=function(){J.call(this);this.jf=[];this.eq=new K;this.N3={};this.tA={};this.H9={};this.To=new NK;this.J=new GA(this);this.ha(this.J);this.tc=new wK("125118363");this.ha(this.tc);try{this.J.o(window,"unload",this.Coa)}catch(a){L(this.ka,"Failed to add unload listener",a)}this.tc.report()};B(oL,J);r=oL.prototype;r.ka=Fv("apps.uploader.BaseUploader");r.ym=!0;r.dy=!1;r.Ava=sq(function(){return ZF(!0)});r.Mr="";r.Uy=0;r.csa=1;r.$S=!0;r.jr=!0;r.al=null;r.nS=!1;r.qS=!1;r.Ix=!1;r.R1=51200;
r.nAa=function(a){this.Mr=a};r.aya=function(a){this.$S=a};r.Wr=function(a){this.jr=a};r.uD=function(a){this.nS=a};r.iq=function(){return this.nS&&this.GK()};r.k7=function(a){this.Ix=a};r.EX=function(a){return this.Qfa?this.Qfa(a):this.ZMa};r.SAa=function(a){if(this.dy&&this.VK()){var b=uK("google-upload-recovery");b&&(this.Ki=new MK(b,a))}};r.Txa=function(a){this.dy=a};r.C=function(){return this.J};r.dispatchEvent=function(a){try{return oL.g.dispatchEvent.call(this,a)}catch(b){Hv(this.ka,hc,b)}};
r.getFile=function(a){return(a=this.eq.get(a))?a.file:null};r.Hd=function(a){var b=this.eq.get(a.I());b||(b=this.wG(a),this.eq.set(a.I(),b));return b};r.Ar=function(a){this.To.contains(a)||this.yq(a)||this.Fj(a)!=ag||(a instanceof cL||this.To.enqueue(a),this.Si(a,Di),this.Qga())};r.yq=function(a){return this.Hd(a).VN};r.MI=function(a){return this.Hd(a).$k};
r.zp=function(a,b){switch(this.Fj(a)){case wo:case Hg:case Ue:return}var c=this.MI(a),e=this.yq(a),f=this.Hd(a).jN,g=z(),h=b||!1;e&&this.J.Ca(e,po,this.K2,!1,this);c&&(c.abort(),this.Hd(a).$k=null,h||this.vxa(a));f&&(f.cancel(),this.Hd(a).jN=null);this.To.remove(a);this.fw(a,Ue);this.nG(a,g);this.Hd(a).VN=null;this.uO(a,Hd);this.Si(a,Ue);if(a instanceof cL)for(c=a.getEntries(),e=0;e<c.length;e++)this.zp(c[e],h)};r.gA=function(){return this.jf.length};
r.jp=function(a){this.jf.push(a);this.eq.get(a.I())||this.eq.set(a.I(),this.wG(a));this.dispatchEvent(new eL("fileadded",a));this.qF(a)};r.ct=function(){D(Nr(this.jf),function(a){switch(this.Fj(a)){case ag:case wo:case Zk:case Hg:case Ue:this.Wl(a)}},this)};r.YF=function(a){var b=a||!1;D(Nr(this.jf),function(a){switch(this.Fj(a)){case ag:case Di:this.zp(a,b)}},this);D(Nr(this.jf),function(a){this.zp(a,b)},this)};r.uO=function(a,b,c){a.sO(b,c)};
r.Si=function(a,b){var c=this.Fj(a);if(b!=c&&es(bL,b)){this.Hd(a).state=b;a.hya(this.WK()&&!(a instanceof cL)&&(b==Hg||b==Ue));var e="";if(b==Hg||b==Ue)e=fK(a.qc);this.dispatchEvent(new fL(a,e));L(this.ka,"File state changed from ["+c+"] to ["+b+"]. "+a);this.dispatchEvent(new eL(qp,a));pL(c)&&!pL(b)&&(a.z5(void 0),this.Uy--,this.dC())}};r.Fj=function(a){return this.Hd(a).state};r.reset=function(){D(Nr(this.jf),this.Wl,this)};r.Ru=function(){return this.To.bc()&&0==this.Uy};r.GK=function(){return!1};
r.Ln=function(){return!1};r.VK=function(){return!1};r.Sz=function(){return Nr(this.jf)};r.Wl=function(a){this.zp(a);this.eq.remove(a.I());Kr(this.jf,a);this.dispatchEvent(new eL("fileremoved",a))};r.yx=function(){};r.Cl=function(){return!1};var pL=function(a){return Fr([pm,oo,Uo],a)};r=oL.prototype;r.B3=function(a){this.Ar(a);if(a instanceof cL){a=a.getEntries();for(var b=0;b<a.length;b++)this.B3(a[b])}};r.rva=function(a){this.$S&&this.B3(a)};r.mv=function(a){return!!a.tagName};
r.Wt=function(a){return this.mv(a)?a:a.b()};r.wG=function(a){return new iL(a)};
r.dC=function(){this.Ru()&&this.dispatchEvent("allfilescompleted");if(!this.MS()&&!this.To.bc()){if(Dq(this.Mr))throw Error("session server url has not been set");var a=this.To.Nm();if(!(a instanceof cL)){this.Uy++;if(this.Ki){var b=this.kA(a),c=null,e=null;try{e=(c=this.Ki.on(b))?BK(c):void 0}catch(g){}if(c&&x(e)){var f=e;if(b=rw(e,"upload_id")){this.Ava(b).Ks(function(b){b?this.zva(a,f,c.creation):this.jh(a)},function(){this.jh(a)},this);return}}}this.jh(a)}}};
r.jh=function(a){var b=this.dea(a);this.Hd(a).VN=b;var c=a.qJ();c&&b.setState("OPEN");this.dispatchEvent(new eL("filesessioncreated",a,this));c?this.q8(a,c):(b.start(this.Mr),this.Si(a,oo))};r.Jm=function(a){return new gK(a)};
r.GM=function(a){a=a.target;var b=a.getFile(),c=this.yq(b),e=z();try{c.v3(a.re());var f=c.getState(),g=c.OW;"FINALIZED"!=f||"SUCCESS"!=g&&"QUEUED"!=g?(this.uO(b,Om),this.Si(b,Hg)):this.Si(b,wo)}catch(h){Gv(this.ka,"Invalid response to the upload request",h),this.uO(b,Nm),this.Si(b,Hg)}this.Ki&&(this.Ki.remove(this.kA(b)),this.Ki instanceof EK&&this.Fj(b)==wo&&this.Ki.Fy());this.fw(b,wo);this.nG(b,e)};r.qF=function(a){this.rva(a)};r.WK=function(){return!1};r.pJ=function(){return 0};
r.Coa=function(){this.ct();for(var a=0;a<this.jf.length;a++){var b=this.jf[a];b&&b.kx&&b.So&&this.tc.Fy(b.kx,b.So,"unload","",z())}this.tc.qCa()};r.MS=function(){return this.Uy>=this.csa};r.Qga=function(){for(;!this.MS()&&!this.To.bc();)this.dC()};
r.zva=function(a,b,c){var e=this,f=this.Hd(a);f.$k||(f.$k=this.Jm(a));b=new kL(f,b,c);this.J.o(b,wo,y(this.jh,this,a)).o(b,Ig,y(this.jh,this,a)).o(b,"error_hashing",y(this.jh,this,a)).o(b,"hashing",function(){e.dispatchEvent(new eL("filehashingstarted",a,e))});f.jN=b;b.start();this.Si(a,pm)};
r.q8=function(a,b){if(a.qc!=Hd){if(this.Ki){var c=this.kA(a);try{this.Ki.set(c,a.Qi,z()+864E6)}catch(k){}}c=this.Hd(a);c.$k||(c.$k=this.Jm(a));c=c.$k;this.Si(a,Uo);this.J.o(c,wo,this.GM).o(c,Hg,this.Vta).o(c,fm,this.Wta).o(c,Ee,this.Uta);if(!this.tA[a.I()]){var e=a.So,f=[];this.H9[e]=z();for(var g=0;g<this.jf.length;g++){var h=this.jf[g];h&&!this.tA[h.I()]&&(this.tA[h.I()]=e,f.push(h))}this.N3[e]=f}this.fw(a,Hm,""+(a.Pwa||""),a.uxa);this.fw(a,oo);this.dispatchEvent(new eL("fileiocreated",a,this));
c.send(b)}};r.fw=function(a,b,c,e){e=e||z();var f=a.kx;a=a.So;f&&a&&(this.tc.Fy(f,a,b,c,e),this.tc.report())};r.nG=function(a,b){var c=this.tA[a.I()];if(c){var e=this.N3[c];if(!(2>e.length||e[e.length-1]!=a)){var f=e[0].kx,g=0;if(f){var h=[],k;for(k in e)null!=e[k]&&null!=e[k].So&&(h.push(e[k].So),g+=e[k].nc);this.tc.gla(f,h,parseInt(b-this.H9[c],10),g);this.tc.report()}}}};r.kA=function(a){return this.Mr+":"+a.fja()};
r.dea=function(a){a=new lL(a,this.pJ());a.pya(this.kq());this.Ix&&a.k7(!0);this.J.o(a,po,this.K2).o(a,"starterror",this.Jta);return a};r.K2=function(a){a=a.target.getFile();var b=a.qJ();if(b)this.q8(a,b);else throw Error("no upload URL for "+a);};r.Jta=function(a){a=a.target.getFile();Hv(this.ka,"SessionError: "+a.qc+" "+a.uB+" "+a);this.Si(a,Hg)};r.Wta=function(a){a=a.target.getFile();this.dispatchEvent(new eL(pp,a))};
r.Vta=function(a){a=a.target;var b=a.getFile(),c=z();Hv(this.ka,"UploadError:"+b.qc+" "+b.uB+" "+b);var e=this.yq(b);try{e.v3(a.re())}catch(f){Hv(this.ka,"Invalid response to the upload request: ",a.re())}this.Si(b,Hg);this.fw(b,Hg,b.uB,z());this.nG(b,c);this.Ki&&this.Ki.remove(this.kA(b))};r.Uta=function(a){a=a.target.getFile();this.dispatchEvent(new eL("uploadbackoff",a))};r.vxa=function(a){(a=a.Qi)&&(new yw).send(a,"DELETE")};var qL=function(){oL.call(this);this.rr=new K;this.dI=new K;this.JW=new K;this.HW=new K;this.eI=new K;this.Zv=new dv;this.oo=new dv;this.fu=[]};B(qL,oL);var rL=qu(Ut(Vt("static/uploaderapi.swf"))),sL=1,tL=new K;r=qL.prototype;r.xl="";r.Sh=!1;r.Az=!1;r.Rya=function(a){this.Bz=a};r.Sya=function(a){this.Az=a};r.Wr=function(a){qL.g.Wr.call(this,a);this.kha(this.y6,this)};r.gl=function(a){return this.Dg(a).b(a||this.xl)};r.MX=function(a){return this.gl(a||this.xl).parentNode};
r.j0=function(a){return this.eI.Xb(a||this.xl)};r.install=function(a){if(!a)throw Error(Qk);this.dispatchEvent(new hL(lp,this));this.LF(a)};r.zx=function(a){if(!a)throw Error(Qk);this.dispatchEvent(new hL(np,this));this.yx(a)};r.kq=function(){return"scotty flash"};r.Bl=function(){return this.j0()};r.wG=function(a){return new jL(a)};r.Bk=function(a){this.Sh=a||this.Sh;this.j0()&&this.ym&&this.gl(this.xl).browse(this.jr,this.OX())};
r.yx=function(a){a=this.Wt(a);var b=oq(a),c=this.dI.get(b);c&&c!=this.xl&&(this.Ru()?this.Dg(c).removeNode(this.MX(c)):this.fu.push(c),this.dI.remove(b),this.rr.remove(a))};r.dC=function(){qL.g.dC.call(this);if(this.Ru()){for(var a=0;a<this.fu.length;a++)this.Dg(this.fu[a]).removeNode(this.MX(this.fu[a]));this.fu=[]}};r.zp=function(a,b){this.oo.remove(a.I());qL.g.zp.call(this,a,b)};r.Ar=function(a){this.Zv.contains(a.I())?this.oo.add(a.I()):qL.g.Ar.call(this,a)};
r.jh=function(a){this.Zv.contains(a.I())||this.Pfa(a)};r.Jm=function(a){var b=this.Hd(a).cI;a=new hK(a,b,this.NX(a));this.JW.set(b.id,a);return a};r.Ru=function(){return this.oo.bc()&&qL.g.Ru.call(this)};r.Sxa=function(a){var b=this.ym;a=this.gl(a);a.setAllowAddingFiles(b);FA(a,"uploader-overlay-hidden",!b)};r.kha=function(a,b){D(this.eI.kb(),a,b)};r.y6=function(a){this.gl(a).setMultiSelect(this.jr)};r.Uxa=function(a){this.gl(a).setAllowedFileTypes(this.OX())};
r.oea=function(){return"FLASH_UPLOADER_"+sL++};r.NX=function(a){a=this.Hd(a).XW;return this.gl(a)};r.Dg=function(a){a=this.rr.get(a||this.xl);return N(a)};
r.LF=function(a){a=this.Wt(a);var b=this.oea();this.rr.set(b,a);this.dI.set(oq(a),b);var c=this.Dg(b);this.xl||(this.xl=b,c.xb().onUploaderApiReady=uL);tL.set(b,y(this.v2,this));T(a,kp);var e=Iy(a),f=c.j(m,{"class":"upload-uploader-flash-content"});c.yl(f,a);P(f,Zl,Ld);P(f,Kp,Mp);a.parentNode&&P(a.parentNode,Zl,rm);ry(f,sy(a));this.nea(rL,f,b,e.width,e.height,{allowscriptaccess:"always",allownetworking:Ud,wmode:this.Az?"window":Vo,flashvars:"apiId="+b+(this.Bz?"&"+this.Bz:"")})};
r.nea=function(a,b,c,e,f,g){e={id:c,width:e,height:f};b=this.Dg(c).b(b);H?(kK(iK,e,g),a=jK({allownetworking:lk,allowscriptaccess:"never",movie:a},g),g=Eu({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},e),a=Cu(qk,g,a)):(kK(iK,e,g),g=jK({allownetworking:lk,allowscriptaccess:"never"},g),a=Eu({data:a,type:oe,typemustmatch:""},{},e),a=Cu(qk,a,g));Mw(b,a);this.dispatchEvent(new hL(be,this))};
r.v2=function(a){var b=this.Dg(a),c=this.gl(a);if(c.addListener){this.eI.set(a,!0);var e=a+"flashFileSelection",b=b.xb();b[e]=y(this.AM,this);c.addListener("onSelected",e);e=a+"flashMouseEvent";b[e]=y(this.nta,this);c.addListener("onMouseOver",e);c.addListener("onMouseOut",e);c.addListener("onMouseClick",e);e=a+"flashToFileIo";b[e]=y(this.dha,this);c.addListener("onOpen",e);c.addListener("onProgress",e);c.addListener(vk,e);c.addListener("onHttpError",e);c.addListener(xk,e);c.addListener("onIoError",
e);e=a+"flashImageEvent";b[e]=y(this.rta,this);c.addListener(wk,e);c.addListener("onResizeReady",e);c.addListener("onLoadError",e);this.y6(a);this.Uxa(a);this.Sxa(a);this.dispatchEvent(new hL(mp,this))}else M(y(this.v2,this,a))};
r.AM=function(a){this.dispatchEvent(new G($g));var b=a.apiId;this.gl(b);this.Sh&&this.ct();var c=a.files;this.qS&&Tr(c,function(a,b){return Gq(a.name,b.name,/\d+|\.\d+|\D+/g)});a=xr(c,function(a){return new aL(a.name,a.size,void 0,void 0,a.modificationDate)});D(a,function(a,f){var g=this.Hd(a);g.XW=b;g.cI=c[f];this.HW.set(c[f].id,a)},this);this.dispatchEvent(new G(Zg));this.dispatchEvent(new dL(ah,a))&&(D(a,function(a){this.jp(a)},this),this.dispatchEvent(new dL(Wd,a)))};
r.Pfa=function(a){var b=this.EX(a);if(b){this.dispatchEvent(new eL(Yg,a));var c=this.NX(a);c.setMaxPixelDimension(Math.min(b.Ie().width,b.Ie().height));c.setMinImageByteCountForRescale(this.R1);c.resizeImage(this.Hd(a).cI.id,a.qJ())}else qL.g.jh.call(this,a)};
r.rta=function(a){var b=this.HW.get(a.file);switch(a.type){case wk:this.Zv.remove(b.I());this.dispatchEvent(new gL(b,"data:image/jpg;base64,"+a.data,a.version));this.oo.contains(b.I())&&(this.oo.remove(b.I()),this.Ar(b));break;case "onResizeReady":b.Gw(a.fileSize);this.dispatchEvent(new eL(Xg,b));qL.g.jh.call(this,b);break;case "onLoadError":this.Zv.contains(b.I())?(this.Zv.remove(b.I()),this.dispatchEvent(new eL("filepreviewerror",b)),this.oo.contains(b.I())&&(this.oo.remove(b.I()),this.Ar(b))):
(this.dispatchEvent(new eL(Xg,b)),qL.g.jh.call(this,b))}};r.dha=function(a){this.JW.get(a.file).ima(a)};r.nta=function(a){var b;switch(a.type){case "onMouseOver":b="flashmouseover";break;case "onMouseOut":b="flashmouseout";break;case "onMouseClick":b="flashmouseclick"}a=this.rr.get(a.apiId);this.dispatchEvent({type:b,sourceOverlay:a})};r.OX=function(){var a=this.al;if(gq(a)&&a.length)return[{description:"Allowed files",extension:"*"+a.join(";*")}]};var uL=function(a){tL.get(a)(a)};var vL=function(a,b,c){gK.call(this,a);this.jc=b;this.Sb=null;this.lx=15E3;this.Zga=5E3;this.vS=500;this.yr=null;this.vk=c||0;this.sL=this.tL=0};B(vL,gK);r=vL.prototype;r.ka=Fv("apps.uploader.net.HtmlFormFileIo");r.abort=function(){this.Sb.abort()};
r.am=function(a){var b=this.sea();this.Sb=b;this.C().o(b,wo,this.fZ).o(b,Hg,function(b){var e;var f=window.location.href;e=a.match(kw)[1]||null;var g=lw(a.match(kw)[3]||null,!0),h=Number(a.match(kw)[4]||null)||null;if(e||g||h){var k=f.match(kw)[1]||null,n=lw(f.match(kw)[3]||null,!0),f=Number(f.match(kw)[4]||null)||null;e=k||n||f?e==k&&g==n&&h==f:!0}else e=!0;e?this.eZ(b):this.xxa()});b.n5(this.jc,a);0<this.lx&&M(this.qD,this.Zga,this);this.sL=(new Date).getTime()};r.sea=function(){return new Ux};
r.fZ=function(a){try{var b=a.target.re(),c=(b&&At(b)).sessionStatus;if(c){var e=c.externalFieldTransfers[0],f=this.getFile();null==f.nc&&(f.Gw(e.bytesTotal),f.m6(!1))}}catch(g){Gv(this.ka,"Error while setting file size on success",g)}this.ql(a.target.re()||"")};r.eZ=function(a){this.handleError(eK(a.target.qc),a.target.aA())};r.r5=function(a,b){var c=new yw;this.C().o(c,wo,a).o(c,Hg,b);try{var e=this.getFile().Qi;c.send(e,"GET")}catch(f){Hv(this.ka,"Error while sending status query",f)}};
r.qD=function(){this.Sb.ac()&&this.r5(y(this.zma,this),y(this.yma,this))};r.xxa=function(){this.r5(y(this.fZ,this),y(this.eZ,this))};
r.zma=function(a){if(this.Sb.ac()){try{var b=a.target.re(),c=At(b).sessionStatus.externalFieldTransfers[0],e=c.bytesTransferred,f=this.getFile();if(null==f.nc)if(0<c.bytesTotal)f.Gw(c.bytesTotal),f.m6(!0);else{Hv(this.ka,"Status query response missing bytes total.");M(this.qD,this.lx,this);return}var g=f.nc;null!=this.yr&&this.yr.stop(!1);var h=(new Date).getTime();if(0<this.tL||0==this.vk)this.vk=Math.round((e-this.tL)/(h-this.sL));this.tL=e;this.sL=h;var k=this.lx+this.vS,n=f.vp,q=Math.round(e+
k*this.vk);q>g&&(q=g,k=Math.round((g-e)/this.vk)+this.vS);this.yr=new gz([n],[q],k,uz);this.C().o(this.yr,Yd,y(function(a){this.Fi(Math.round(a.x))},this));this.yr.play();L(this.ka,"Status query reports "+Math.round(e/g*100)+"% transferred. Animating from "+Math.round(n/g*100)+"% to "+Math.round(q/g*100)+"% over next "+Math.round(k/1E3)+" seconds. Upload speed is "+this.vk+"KBps")}catch(u){Hv(this.ka,"Error while processing status query",u)}this.Sb.ac()&&M(this.qD,this.lx,this)}};
r.yma=function(){Hv(this.ka,"Status query reports error.");this.Sb.ac()&&M(this.qD,this.lx,this)};r.A=function(){vL.g.A.call(this);F(this.yr)};var wL=function(a){oL.call(this);this.lI=new K;this.dX=new K;this.Fz=new K;this.oua=new K;this.Pm=a||!1};B(wL,oL);r=wL.prototype;r.ka=Fv("apps.uploader.HtmlFormUploader");r.n0=!1;r.vk=0;r.oB=!1;r.mta=function(a,b,c){this.dispatchEvent(new G($g));a=new aL(a);c=this.dX.get(c);this.lI.set(a.I(),c);Hy(c.childNodes[0],0,0);this.DU(b);this.dispatchEvent(new G(Zg));this.dispatchEvent(new dL(ah,[a]))&&(this.jp(a),this.dispatchEvent(new dL(Wd,[a])))};
r.install=function(a){a&&(this.oB=!0);this.dispatchEvent(new hL(lp,this));a&&this.DU(a,this.Pm);this.n0=!0;this.dispatchEvent(new hL(mp,this));a||M(function(){this.Bk(!1)},1,this)};r.zx=function(a){this.dispatchEvent(new hL(np,this));a&&(a=this.Fz.get(oq(a)))&&Q(a,!1)};r.kq=function(){return"scotty html form"};r.Bl=function(){return this.n0};r.Sz=function(){var a=wL.g.Sz.call(this);return wr(a,function(a){return!this.lqa(a)},this)};r.yx=function(a){a=oq(this.Wt(a));(a=this.Fz.get(a))&&Q(a,!1)};
r.GM=function(a){this.vk=a.target.vk;wL.g.GM.call(this,a)};r.Bk=function(a){this.ym&&!this.oB&&(a?this.ct():this.jp(new aL))};r.Wl=function(a){wL.g.Wl.call(this,a);this.lI.remove(a.I());0!=this.jf.length||this.oB||this.Bk(!1)};r.WK=function(){return!0};r.qF=function(a){this.oB&&wL.g.qF.call(this,a)};r.Jm=function(a){var b=this.lI.get(a.I());return new vL(a,b,this.vk)};r.lqa=function(a){return""==a.getPath()};
r.DU=function(a,b){var c=oq(a);this.oua.set(c,a);var e=N(a);T(a,kp);var f=Iy(a),g={type:Vg,name:"Filedata",size:20,"class":"uploader-upload-input",style:["opacity:0;filter:alpha(opacity=0)","font-size:"+f.height+p,"height:"+f.height+p,"position:absolute",Ny(a)?"left:0px":"right:0px","top:0px"].join(";"),tabIndex:b?-1:0};this.al&&(g.accept=this.al.join(","));var g=e.j(Ci,g),h=e.j("form",{method:Hc,enctype:bk,encoding:bk},g);this.dX.set(c,h);var k=this.Fz.get(c);k||(k=e.j(m,{style:Pk+f.width+jm+f.height+
p}),this.Fz.set(c,k),e.yl(k,a),P(k,Zl,Ld),a.parentNode&&P(a.parentNode,Zl,rm),ry(k,sy(a)));e.append(k,h);this.C().o(g,Xe,function(b){this.mta(this.vCa(b.target.value),a,c)})};r.vCa=function(a){a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12));return a};var AL=function(){if(H){if(xL(ab))return ab;if(xL("1.6.0"))return"1.6.0";if(xL($a))return $a;if(xL(Za))return Za}else if(Es||Bs||Fs){var a;a:{for(a=0;a<navigator.mimeTypes.length;++a){var b=navigator.mimeTypes[a].type.match(/^application\/x-java-applet;jpi-version=(.*)$/);if(null!=b){a=b[1];break a}}a=null}if(null!=a)return a;if(yL("1.7"))return ab;if(yL("1.6"))return"1.6.0";if(yL("1.5"))return $a;if(yL(Za))return Za;if(Fs){if(zL(ab))return ab;if(zL("1.6"))return"1.6.0";if(zL("1.5"))return $a;if(zL(Za))return Za}}return null},
xL=function(a){if(!ActiveXObject)return!1;try{return null!=new ActiveXObject("JavaWebStart.isInstalled."+a+".0")}catch(b){return!1}},yL=function(a){if(!navigator.mimeTypes)return!1;for(var b=/^application\/x-java-applet\x3Bversion=(1\.8|1\.7|1\.6|1\.5|1\.4\.2)$/,c=0;c<navigator.mimeTypes.length;++c){var e=navigator.mimeTypes[c].type.match(b);if(null!=e&&0<=er(e[1],a))return!0}return!1},zL=function(a){if(!navigator.plugins||!navigator.plugins.length)return!1;for(var b=0;b<navigator.plugins.length;++b){var c=
navigator.plugins[b].description;if(-1!=c.search(/^Java Switchable Plug-in (Cocoa)/)){if(0<=er($a,a))return!0}else if(-1!=c.search(/^Java/)&&Is&&0<=er($a,a))return!0}return er($a,a)?!0:!1};var BL=function(a,b){gK.call(this,a);this.gd=b;this.Dx=!1;this.$v=null;this.VT="There was a client error with the upload.";this.bsa=5242880};B(BL,gK);BL.prototype.abort=function(){this.Dx&&(this.gd.abortUpload(this.getFile().xf),window.clearInterval(this.$v))};
BL.prototype.am=function(a){switch(String(this.gd.startUpload(a,this.getFile().xf,this.bsa))){case "SUCCESS":this.Oua();this.Dx=!0;break;case "INVALID_URL":this.handleError(Lg,"A Url with an invalid domain was detected: "+a);break;case "UNKNOWN_ERROR":case "MISSING_SELECTION":this.handleError(Lg,this.VT)}};
BL.prototype.QDa=function(){var a=this.getFile(),b=zt(this.gd.getProgress(a.xf));b||(window.clearTimeout(this.$v),this.handleError(Lg,"Unable to obtain file upload progress from java plugin."),this.gd.freeResources(a.xf));var c=b.state,e=b.bytesTransfered;b.bytesTotal&&a.Gw(b.bytesTotal);switch(c){case "COMPLETE":window.clearTimeout(this.$v);this.Fi(e);this.ql(this.gd.readServerResponse(a.xf));this.gd.freeResources(a.xf);break;case "IN_PROGRESS":this.Fi(e);break;case "CLIENT_ERROR":window.clearTimeout(this.$v),
this.handleError(Lg,this.VT),this.gd.freeResources(a.xf)}};BL.prototype.Oua=function(){this.$v=window.setInterval(y(BL.prototype.QDa,this),50)};var CL=function(a,b){oL.call(this);this.yS=a;this.Ne=b||"en_US";this.gd=null;this.Sh=!1;this.hB=null;this.Na=this.IL=!1;this.HL=0;this.ufa="Upload";this.sxa="Select";this.Qs="1";this.Isa=!Js;this.uD(!0)};B(CL,oL);var DL=1;r=CL.prototype;r.ka=Fv("apps.uploader.JavaUploader");
r.install=function(){this.dispatchEvent(new hL(lp,this));var a=this.fea(),b=N(document.body),c=b.j("applet",{id:a,archive:this.yS,code:"com.google.uploader.service.client.applet.UploaderApplet",width:this.Qs,height:this.Qs,style:"position: absolute; top: -"+this.Qs+"px; left: -"+this.Qs+"px;"});b.appendChild(document.body,c);this.gd=c;L(this.ka,"Inserted applet into DOM with id: "+a);this.dispatchEvent(new hL(be,this));this.hB=window.setInterval(y(function(){var a=!1;try{this.gd&&(this.Na=this.gd.isActive())?
(this.IL=this.gd.isLoaded())?(L(this.ka,"Successfully loaded JAVA mechanism."),this.dispatchEvent(new hL(mp,this)),window.clearTimeout(this.hB)):a=!0:this.HL++}catch(b){this.HL++}a?(L(this.ka,"No security permission for JAVA mechanism."),this.dispatchEvent(new hL(op,this)),window.clearTimeout(this.hB)):10<=this.HL&&(L(this.ka,"Failed to load JAVA mechanism."),this.dispatchEvent(new hL(ae,this)),window.clearTimeout(this.hB))},this),50)};r.zx=function(){this.dispatchEvent(new hL(np,this));kx(this.gd)};
r.Bk=function(a){this.Sh=a||this.Sh;this.IL&&this.ym&&(this.ym=!1,this.lda(),window.setTimeout(y(function(){this.gd.setLocale(this.Ne);var a=this.gd.selectFiles(this.ufa,this.sxa,this.jr,this.al||[],this.iq(),this.Isa);this.Asa();this.AM(a);this.ym=!0},this),50))};r.Wl=function(a){CL.g.Wl.call(this,a);this.gd.freeResources(a.xf)};r.kq=function(){return"scotty java"};r.Bl=function(){return this.IL};r.Ln=function(){return!0};r.GK=function(){return!0};r.Jm=function(a){return new BL(a,this.gd)};
r.pJ=function(){return 1};r.fea=function(){return"JAVA_UPLOADER_"+DL++};r.Asa=function(){var a="-"+this.Qs+p;P(this.gd,{top:a,left:a})};r.lda=function(){P(this.gd,{top:"50%",left:"50%"})};r.AM=function(a){this.dispatchEvent(new G($g));this.Sh&&this.ct();a=zt(a);a=xr(a,y(function(a){var c=this.AU(a);c instanceof cL&&this.bS(a.c,c,c);return c},this));this.dispatchEvent(new G(Zg));this.dispatchEvent(new dL(ah,a))&&(D(a,function(a){this.jp(a)},this),this.dispatchEvent(new dL(Wd,a)))};
r.bS=function(a,b,c){for(var e=0;e<a.length;e++){var f=a[e],g=this.AU(f);g instanceof cL&&((f=f.c)?this.bS(f,g,c):(f=g.getName()+"/",f=new aL(f+".",0,f),g.addEntry(f)));b.addEntry(g)}};r.AU=function(a){var b=a.r;return null!=a.f?new cL(a.n,a.s,b,a.i,a.f):new aL(a.n,a.s,b,a.i)};var EL=function(a,b){gK.call(this,a);this.Ze=b;this.ka=Fv("apps.uploader.net.SilverlightFileIo")};B(EL,gK);EL.prototype.am=function(a){this.Ze.HintedUpload(this.getFile().xf,a,this.getFile().vp)};EL.prototype.abort=function(){this.Ze.Abort(this.getFile().xf)};EL.prototype.oG=function(a,b){this.Ze.ComputeMd5(this.getFile().xf,a,b)};
EL.prototype.Kta=function(a){var b=a.StatusAsString;switch(b){case "UPLOADING":case "RECOVERABLE_ERROR":case "SEVERE_ERROR":(a=a.UploadedBytesAsString)&&this.Fi(Number(a));break;case "SUCCEEDED":this.ql(a.ResponseString);break;case "FAILED":a=a.LastErrorAsString;Hv(this.ka,"Silverlight returned error: "+a);b=cp;switch(a){case "NETWORK_ERROR":b=kk;break;case "IO_ERROR":b=Ei;break;case "RESOURCE_ERROR":b=Lg;break;case "SECURITY_ERROR":b=Gm;break;case "SERVER_REJECTED":b=Om;break;case "INVALID_RESPONSE":case "SERVER_ERROR":b=
Nm;break;case "UNKNOWN_ERROR":b=cp;break;default:Gv(this.ka,"Unhandled Silverlight upload error: "+a)}this.handleError(b,a);break;case "ABORTED":break;default:Gv(this.ka,"Unhandled Silverlight upload status: "+b)}};var FL=["data","source",Xo,"typemustmatch"];var HL=function(a,b){oL.call(this);this.fa=b||"silverlightObject";var c;a instanceof ou?c=a:(c=mu(a),c=hy(ju(c)));this.MEa=c;this.Ze=this.BF=null;this.WH=new K;this.ka=Fv("apps.uploader.SilverlightUploader");GL||(GL=new K)};B(HL,oL);var GL=null;r=HL.prototype;
r.install=function(){var a=GL;if(a.Xb(this.fa))throw Error("A Silverlight uploader with the same tag already exists");this.dispatchEvent(new hL(lp,this));var b={id:this.fa,width:128,height:32},c=document,e=N(c.body);t.silverlightOnLoad=IL;t.silverlightOnError=JL;var f=e.j(m);P(f,{position:Ld,top:"-32px",left:"-128px",width:128,height:32});e.appendChild(c.body,f);var c=this.MEa,g={onload:"silverlightOnLoad",onerror:"silverlightOnError",debug:Wo};kK(FL,b,g);c=jK({source:c},g);g={data:qu(Ut(Vt("data:application/x-silverlight-2,"))),
type:"application/x-silverlight-2",typemustmatch:""};b=Eu(g,{},b);b=Cu(qk,b,c);Mw(f,b);L(this.ka,"Inserted the Silverlight object into DOM: "+this.fa);this.dispatchEvent(new hL(be,this));this.BF=e.b(this.fa);a.set(this.fa,this)};r.zx=function(){var a=GL;this.dispatchEvent(new hL(np,this));kx(this.BF);a.remove(this.fa)};r.kq=function(){return"scotty silverlight"};r.Bl=function(){return!!this.Ze};r.Ln=function(){return!0};r.VK=function(){return!0};
r.Bk=function(){if(this.Pj()){var a=this.Ze.Browse();if(a&&a.length){this.dispatchEvent(new G($g));for(var b=[],c=0;c<a.length;++c){var e=a[c];b[c]=new aL(e.FileName,Number(e.SizeBytesAsString),"",e.FileId)}this.dispatchEvent(new G(Zg));this.dispatchEvent(new dL(ah,b));D(b,function(a){this.jp(a)},this);this.dispatchEvent(new dL(Wd,b))}}};r.Wl=function(a){var b=a.xf;HL.g.Wl.call(this,a);this.Ze.Discard(b);this.WH.remove(b)};
r.Jm=function(a){if(!this.Ze)throw Error("The Silverlight application has not yet loaded");var b=new EL(a,this.Ze);this.WH.set(a.xf,b);return b};
r.Pj=function(){if(this.Ze)return!0;var a=this.BF.Content;if(!a)return Gv(this.ka,"Error accessing Silverlight application"),this.dispatchEvent(new hL($d,this)),!1;try{this.Ze=a.Uploader}catch(b){}if(!this.Ze)return Gv(this.ka,"The Silverlight application did not load properly"),this.dispatchEvent(new hL($d,this)),!1;this.Ze.OnStateUpdate=KL;L(this.ka,"The Silverlight application has loaded: "+this.fa);this.dispatchEvent(new hL(mp,this));return!0};
r.GW=function(a){Gv(this.ka,"The Silverlight application has failed: "+this.fa);this.Ze||this.dispatchEvent(new hL(ae,this));D(this.jf,function(b){this.Fj(b)==Uo&&this.MI(b).handleError(Lg,a)},this)};
var LL=function(a){var b=GL;try{var c=a.Id;if(c)return b.get(c)}catch(f){}try{var e=a.GetHost();return b.get(e.id)}catch(f){}throw Error("Failed to obtain the Silverlight host element ID");},IL=function(a){(a=LL(a))&&a.Pj()},KL=function(a,b){LL(a).WH.get(b.FileId).Kta(b)},JL=function(a,b){var c=b.errorMessage||b.Message||"";if(c){var e=Fv("apps.uploader.SilverlightUploader[App]");Gv(e,c)}e=null;if(a)try{e=LL(a)}catch(f){}e?e.GW(c):D(GL.pb(),function(a){a.GW(c)})};var ML=function(a,b){J.call(this);this.OJ=a;this.QJ=this.Uc=null;this.Hk=0;this.PZ=Infinity;this.Oca=b||5E6;this.$d=null;this.H=Fv("goog.crypt.BlobHasher")};B(ML,J);r=ML.prototype;r.hash=function(a){this.abort();this.OJ.reset();this.Uc=a;this.QJ=null;this.Hk=0;this.dispatchEvent("started");this.x3()};r.abort=function(){this.$d&&(this.$d.abort(),this.$d=null);this.Uc&&(this.Uc=null,this.dispatchEvent(Hd))};r.Qf=function(){return this.QJ};
r.x3=function(){C(this.Uc,"A hash computation must be in progress.");if(this.Hk<this.Uc.size)if(this.PZ<=this.Hk)this.dispatchEvent("throttled");else{this.$d=new FileReader;this.$d.onload=y(this.yta,this);this.$d.onerror=y(this.lC,this);var a=Math.min(Math.min(this.PZ,this.Uc.size)-this.Hk,this.Oca),b=WK(this.Uc,this.Hk,this.Hk+a);b&&b.size==a?this.$d.readAsArrayBuffer?this.$d.readAsArrayBuffer(b):this.$d.readAsBinaryString?this.$d.readAsBinaryString(b):(Gv(this.H,"Failed calling the chunk reader"),
this.lC()):(Gv(this.H,"Failed slicing the blob"),this.lC())}else this.QJ=this.OJ.digest(),this.Uc=null,this.dispatchEvent(kf)};r.yta=function(){L(this.H,"Successfully loaded a chunk");var a=null;this.$d.result instanceof Array||x(this.$d.result)?a=this.$d.result:t.ArrayBuffer&&t.Uint8Array&&this.$d.result instanceof ArrayBuffer&&(a=new Uint8Array(this.$d.result));a?(this.OJ.update(a),this.Hk+=a.length,this.$d=null,this.dispatchEvent(fm),this.x3()):(Gv(this.H,"Failed reading the chunk"),this.lC())};
r.lC=function(){this.Uc=this.$d=null;this.dispatchEvent(Hg)};var NL=function(){this.ne=64;this.Oa=Array(4);this.Pca=Array(this.ne);this.vE=this.Us=0;this.reset()};B(NL,KK);NL.prototype.reset=function(){this.Oa[0]=1732584193;this.Oa[1]=4023233417;this.Oa[2]=2562383102;this.Oa[3]=271733878;this.vE=this.Us=0};
NL.prototype.Kk=function(a,b){b||(b=0);var c=Array(16);if(x(a))for(var e=0;16>e;++e)c[e]=a.charCodeAt(b++)|a.charCodeAt(b++)<<8|a.charCodeAt(b++)<<16|a.charCodeAt(b++)<<24;else for(e=0;16>e;++e)c[e]=a[b++]|a[b++]<<8|a[b++]<<16|a[b++]<<24;var e=this.Oa[0],f=this.Oa[1],g=this.Oa[2],h=this.Oa[3],k;k=e+(h^f&(g^h))+c[0]+3614090360&4294967295;e=f+(k<<7&4294967295|k>>>25);k=h+(g^e&(f^g))+c[1]+3905402710&4294967295;h=e+(k<<12&4294967295|k>>>20);k=g+(f^h&(e^f))+c[2]+606105819&4294967295;g=h+(k<<17&4294967295|
k>>>15);k=f+(e^g&(h^e))+c[3]+3250441966&4294967295;f=g+(k<<22&4294967295|k>>>10);k=e+(h^f&(g^h))+c[4]+4118548399&4294967295;e=f+(k<<7&4294967295|k>>>25);k=h+(g^e&(f^g))+c[5]+1200080426&4294967295;h=e+(k<<12&4294967295|k>>>20);k=g+(f^h&(e^f))+c[6]+2821735955&4294967295;g=h+(k<<17&4294967295|k>>>15);k=f+(e^g&(h^e))+c[7]+4249261313&4294967295;f=g+(k<<22&4294967295|k>>>10);k=e+(h^f&(g^h))+c[8]+1770035416&4294967295;e=f+(k<<7&4294967295|k>>>25);k=h+(g^e&(f^g))+c[9]+2336552879&4294967295;h=e+(k<<12&4294967295|
k>>>20);k=g+(f^h&(e^f))+c[10]+4294925233&4294967295;g=h+(k<<17&4294967295|k>>>15);k=f+(e^g&(h^e))+c[11]+2304563134&4294967295;f=g+(k<<22&4294967295|k>>>10);k=e+(h^f&(g^h))+c[12]+1804603682&4294967295;e=f+(k<<7&4294967295|k>>>25);k=h+(g^e&(f^g))+c[13]+4254626195&4294967295;h=e+(k<<12&4294967295|k>>>20);k=g+(f^h&(e^f))+c[14]+2792965006&4294967295;g=h+(k<<17&4294967295|k>>>15);k=f+(e^g&(h^e))+c[15]+1236535329&4294967295;f=g+(k<<22&4294967295|k>>>10);k=e+(g^h&(f^g))+c[1]+4129170786&4294967295;e=f+(k<<
5&4294967295|k>>>27);k=h+(f^g&(e^f))+c[6]+3225465664&4294967295;h=e+(k<<9&4294967295|k>>>23);k=g+(e^f&(h^e))+c[11]+643717713&4294967295;g=h+(k<<14&4294967295|k>>>18);k=f+(h^e&(g^h))+c[0]+3921069994&4294967295;f=g+(k<<20&4294967295|k>>>12);k=e+(g^h&(f^g))+c[5]+3593408605&4294967295;e=f+(k<<5&4294967295|k>>>27);k=h+(f^g&(e^f))+c[10]+38016083&4294967295;h=e+(k<<9&4294967295|k>>>23);k=g+(e^f&(h^e))+c[15]+3634488961&4294967295;g=h+(k<<14&4294967295|k>>>18);k=f+(h^e&(g^h))+c[4]+3889429448&4294967295;f=
g+(k<<20&4294967295|k>>>12);k=e+(g^h&(f^g))+c[9]+568446438&4294967295;e=f+(k<<5&4294967295|k>>>27);k=h+(f^g&(e^f))+c[14]+3275163606&4294967295;h=e+(k<<9&4294967295|k>>>23);k=g+(e^f&(h^e))+c[3]+4107603335&4294967295;g=h+(k<<14&4294967295|k>>>18);k=f+(h^e&(g^h))+c[8]+1163531501&4294967295;f=g+(k<<20&4294967295|k>>>12);k=e+(g^h&(f^g))+c[13]+2850285829&4294967295;e=f+(k<<5&4294967295|k>>>27);k=h+(f^g&(e^f))+c[2]+4243563512&4294967295;h=e+(k<<9&4294967295|k>>>23);k=g+(e^f&(h^e))+c[7]+1735328473&4294967295;
g=h+(k<<14&4294967295|k>>>18);k=f+(h^e&(g^h))+c[12]+2368359562&4294967295;f=g+(k<<20&4294967295|k>>>12);k=e+(f^g^h)+c[5]+4294588738&4294967295;e=f+(k<<4&4294967295|k>>>28);k=h+(e^f^g)+c[8]+2272392833&4294967295;h=e+(k<<11&4294967295|k>>>21);k=g+(h^e^f)+c[11]+1839030562&4294967295;g=h+(k<<16&4294967295|k>>>16);k=f+(g^h^e)+c[14]+4259657740&4294967295;f=g+(k<<23&4294967295|k>>>9);k=e+(f^g^h)+c[1]+2763975236&4294967295;e=f+(k<<4&4294967295|k>>>28);k=h+(e^f^g)+c[4]+1272893353&4294967295;h=e+(k<<11&4294967295|
k>>>21);k=g+(h^e^f)+c[7]+4139469664&4294967295;g=h+(k<<16&4294967295|k>>>16);k=f+(g^h^e)+c[10]+3200236656&4294967295;f=g+(k<<23&4294967295|k>>>9);k=e+(f^g^h)+c[13]+681279174&4294967295;e=f+(k<<4&4294967295|k>>>28);k=h+(e^f^g)+c[0]+3936430074&4294967295;h=e+(k<<11&4294967295|k>>>21);k=g+(h^e^f)+c[3]+3572445317&4294967295;g=h+(k<<16&4294967295|k>>>16);k=f+(g^h^e)+c[6]+76029189&4294967295;f=g+(k<<23&4294967295|k>>>9);k=e+(f^g^h)+c[9]+3654602809&4294967295;e=f+(k<<4&4294967295|k>>>28);k=h+(e^f^g)+c[12]+
3873151461&4294967295;h=e+(k<<11&4294967295|k>>>21);k=g+(h^e^f)+c[15]+530742520&4294967295;g=h+(k<<16&4294967295|k>>>16);k=f+(g^h^e)+c[2]+3299628645&4294967295;f=g+(k<<23&4294967295|k>>>9);k=e+(g^(f|~h))+c[0]+4096336452&4294967295;e=f+(k<<6&4294967295|k>>>26);k=h+(f^(e|~g))+c[7]+1126891415&4294967295;h=e+(k<<10&4294967295|k>>>22);k=g+(e^(h|~f))+c[14]+2878612391&4294967295;g=h+(k<<15&4294967295|k>>>17);k=f+(h^(g|~e))+c[5]+4237533241&4294967295;f=g+(k<<21&4294967295|k>>>11);k=e+(g^(f|~h))+c[12]+1700485571&
4294967295;e=f+(k<<6&4294967295|k>>>26);k=h+(f^(e|~g))+c[3]+2399980690&4294967295;h=e+(k<<10&4294967295|k>>>22);k=g+(e^(h|~f))+c[10]+4293915773&4294967295;g=h+(k<<15&4294967295|k>>>17);k=f+(h^(g|~e))+c[1]+2240044497&4294967295;f=g+(k<<21&4294967295|k>>>11);k=e+(g^(f|~h))+c[8]+1873313359&4294967295;e=f+(k<<6&4294967295|k>>>26);k=h+(f^(e|~g))+c[15]+4264355552&4294967295;h=e+(k<<10&4294967295|k>>>22);k=g+(e^(h|~f))+c[6]+2734768916&4294967295;g=h+(k<<15&4294967295|k>>>17);k=f+(h^(g|~e))+c[13]+1309151649&
4294967295;f=g+(k<<21&4294967295|k>>>11);k=e+(g^(f|~h))+c[4]+4149444226&4294967295;e=f+(k<<6&4294967295|k>>>26);k=h+(f^(e|~g))+c[11]+3174756917&4294967295;h=e+(k<<10&4294967295|k>>>22);k=g+(e^(h|~f))+c[2]+718787259&4294967295;g=h+(k<<15&4294967295|k>>>17);k=f+(h^(g|~e))+c[9]+3951481745&4294967295;this.Oa[0]=this.Oa[0]+e&4294967295;this.Oa[1]=this.Oa[1]+(g+(k<<21&4294967295|k>>>11))&4294967295;this.Oa[2]=this.Oa[2]+g&4294967295;this.Oa[3]=this.Oa[3]+h&4294967295};
NL.prototype.update=function(a,b){v(b)||(b=a.length);for(var c=b-this.ne,e=this.Pca,f=this.Us,g=0;g<b;){if(0==f)for(;g<=c;)this.Kk(a,g),g+=this.ne;if(x(a))for(;g<b;){if(e[f++]=a.charCodeAt(g++),f==this.ne){this.Kk(e);f=0;break}}else for(;g<b;)if(e[f++]=a[g++],f==this.ne){this.Kk(e);f=0;break}}this.Us=f;this.vE+=b};
NL.prototype.digest=function(){var a=Array((56>this.Us?this.ne:2*this.ne)-this.Us);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;for(var c=8*this.vE,b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var e=0;32>e;e+=8)a[c++]=this.Oa[b]>>>e&255;return a};var OL=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};OL.prototype.clone=function(){return new OL(this.start,this.end)};OL.prototype.toString=function(){return"["+this.start+", "+this.end+"]"};var PL=function(a){gK.call(this,a);this.request=null;this.TN=0;this.sa=ag;this.xg=null;this.IF=!1;this.px=null};B(PL,gK);r=PL.prototype;r.ka=Fv("apps.uploader.net.ResumableFileIo");r.Zxa=function(a){this.IF=a};r.Cl=function(){return"paused"==this.sa};r.abort=function(){this.OR();this.sa=ag};r.OR=function(){L(this.ka,"aborting...");this.r9();this.request&&(this.request.abort(),this.request=null)};
r.am=function(a){var b=new K;b.set("X-HTTP-Method-Override","PUT");b.set("Content-Type",ce);b.set("X-GUploader-No-308","yes");var c=this.getFile().nc,e=this.getFile().vp,f=Math.min(e+104857600,c)-1,g=c?new OL(e,f):null;e<=f&&(0==e&&f==c-1||b.set("Content-Range","bytes "+e+"-"+f+"/"+c));this.zw(a,b,g);this.sa=Uo};r.pause=function(){if(this.sa==ag)throw Error("Cannot pause an upload that is not started");this.OR();this.sa="paused";L(this.ka,"Paused file "+this.getFile())};
r.resume=function(){if(!this.Cl())throw Error("Cannot resume an upload that is not paused");this.xg=null;this.rD();L(this.ka,"Manually resuming file "+this.getFile())};r.kxa=function(a,b){this.r9();this.px=M(function(){this.px=null;a.call(this)},b,this)};r.r9=function(){null!=this.px&&(jw(this.px),this.px=null)};
r.rD=function(){this.request=new yw;this.C().o(this.request,mm,this.qZ);this.sa=km;L(this.ka,"Sending query request.");this.request.send(this.getFile().Qi,Hc,"",{"X-HTTP-Method-Override":"PUT","Content-Range":"bytes */"+this.getFile().nc})};r.qZ=function(){switch(this.lka()){case 1:case 2:case 3:case 0:break;case 4:this.BJ();break;default:this.handleError(Lg,"Unknown request state")}};
r.BJ=function(){var a=this.mka();this.aAa(a);var b=this.oY(),c=this.nka();switch(b){case 308:this.zna();break;case 200:this.ql(a);break;case 408:case 500:case 502:case 503:case 504:this.IF?(Iv(this.ka,"Handling retryable HTTP "+b+" error"),this.rZ()):this.handleError(kk,c);break;default:this.handleError(kk,c)}};r.rZ=function(){switch(this.sa){case Uo:this.rD();break;case km:this.aT(y(this.rD,this));break;default:this.handleError(Lg,"Illegal state while handling retryable error")}};
r.zna=function(){Iv(this.ka,"Handling 308 (Resume Incomplete)");var a=!1,b=this.nY("Range");if(b){var c=/^bytes=(\d+)-(\d+)$/.exec(b);c||this.handleError(Nm,"Illegal Range header: "+b);b=Number(c[2]);b>=this.TN&&(this.xg=null,a=!0);this.TN=b+1;this.Fi(b+1)}else if(this.sa==km)this.TN=0,this.Fi(0);else{L(this.ka,"Could not read Range header.");this.rD();return}a?this.am(this.bA()):this.aT(y(this.am,this,this.bA()))};
r.aT=function(a){null==this.xg?(this.xg=5E3,this.dispatchEvent(Ee)):(this.xg*=2,6E4<=this.xg&&(this.xg=6E4));Iv(this.ka,"Backoff for "+this.xg/1E3+" s");this.kxa(a,this.xg)};r.ql=function(a){PL.g.ql.call(this,a);this.sa=ag;this.xg=null};r.handleError=function(a,b){PL.g.handleError.call(this,a,b);this.sa=ag;this.xg=null};r.lka=function(){return this.request.kn()};r.nY=function(a){return this.request.getResponseHeader(a)||null};r.mka=function(){return this.request.re()};
r.oY=function(){var a;try{a=this.nY("X-HTTP-Status-Code-Override")}catch(b){a=null}a=parseInt(a,10);return isFinite(a)?a:this.request.Ij()};r.nka=function(){return this.request.zY()};var QL=function(a,b){gK.call(this,a);this.Uc=b};B(QL,gK);r=QL.prototype;r.ka=Fv("apps.uploader.net.XhrFileIo");r.Sb=null;r.am=function(a){var b=this.Pea();this.Sb=b;this.C().o(b,wo,function(){this.ql(b.re())}).o(b,Hg,function(){this.handleError(eK(b.qc),b.aA())}).o(b,fm,function(a){this.Fi(a.ld.loaded)});b.send(a,Hc,this.Uc,{"Content-Type":this.Uc.type||ce})};r.abort=function(){this.Sb.abort()};r.Pea=function(){return new RL};var RL=function(){yw.call(this);this.J=new GA(this)};B(RL,yw);
RL.prototype.FG=function(){var a=RL.g.FG.call(this);this.J.o(a.upload,fm,this.dispatchEvent);return a};RL.prototype.A=function(){RL.g.A.call(this);F(this.J)};var SL=function(a,b){PL.call(this,a);this.Uc=b;this.Em=null};B(SL,PL);r=SL.prototype;r.ka=Fv("apps.uploader.net.ResumableXhrFileIo");r.zw=function(a,b,c){this.request=new RL;var e=c?c.start:0;this.C().o(this.request,mm,this.qZ).o(this.request,fm,function(a){this.Fi(e+a.ld.loaded)});var f=this.Uc;c&&(f=WK(this.Uc,c.start,c.end+1),C(f),L(this.ka,"Sending partial blob: "+c));this.request.send(a,Hc,f,b)};
r.BJ=function(){0==this.oY()?this.IF?(Iv(this.ka,"Handling retryable network error"),this.rZ()):this.handleError(kk,"network error"):SL.g.BJ.call(this)};r.abort=function(){this.Em&&this.Em.abort();SL.g.abort.call(this)};r.oG=function(a,b){var c=new NL;this.Em=new ML(c);var e=this;I(this.Em,kf,function(){var a=e.Em.Qf();e.Em=null;b(HK(a))});c=WK(this.Uc,0,a);C(c);this.Em.hash(c)};var TL=function(a){if(0==a.length)return null;for(var b={},c=[],e=[],f=0;f<a.length;f++){var g=a[f],h=g.getPath(),k=h.substring(0,h.indexOf("/"));if(0==k.length)e.push(g);else{var n=b[k];n||(n=new cL(k),b[k]=n,c.push(n));h=h.substring(0,h.lastIndexOf("/"));g.Yza(h);h=h.split("/");for(k=1;k<h.length;k++){var q=h[k],u=n.Pia(q);u||(u=new cL(q,void 0,h.slice(0,k).join("/")),n.addEntry(u));n=u}n.addEntry(g)}}for(f=0;f<c.length;f++)c[f].hU();return c.concat(e)};var UL=function(a){return(a=a.exec(us))?a[1]:""},VL=function(){if(jC)return UL(/Firefox\/([0-9.]+)/);if(H||Cs||Bs)return Ps;if(nC)return UL(/Chrome\/([0-9.]+)/);if(oC&&!As())return UL(/Version\/([0-9.]+)/);if(kC||lC){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(us);if(a)return a[1]+"."+a[2]}else if(mC)return(a=UL(/Android\s+([0-9.]+)/))?a:UL(/Version\/([0-9.]+)/);return""}();var WL=Fv("apps.photos.processing.resizer"),XL=function(a,b,c){if(nC&&0<=er(VL,18)){for(var e=!1,f=0;100>f;f++){var g;try{g=b.getImageData(Math.floor(Math.random()*a.width),Math.floor(Math.random()*a.height),1,1).data}catch(h){L(WL,"Canvas getImageData() failed: "+(c?c+": ":"")+h);break}if(g&&(0!=g[0]||0!=g[1]||0!=g[2])){e=!0;break}}return e}return!0},YL=function(){};YL.prototype.t4=function(a,b,c){var e=b.getContext("2d");e.drawImage(a,0,0,b.width,b.height);return XL(b,e,c)?ZF():$F(Error(lc))};for(var ZL=Array(256),$L=0;256>$L;$L++)ZL[$L]=Math.pow($L/255,1.6);var aM=Array(24576),bM;for(bM=-8192;0>bM;++bM)aM[8192+bM]=0;for(var cM=1/8191;8191>=bM;++bM){var dM=Math.pow(cM*bM,.625);aM[8192+bM]=1<=dM?255:Math.round(255*dM)}for(;16384>bM;++bM)aM[8192+bM]=255;
var eM=function(a,b,c,e,f,g,h){var k=1+f;f*=.25;for(var n=4*e-5,q=4*e-1;q>n;--q)e=k*b[q]-f*(b[q-4]+b[q]+a[q]+c[q]),g[q+h]=aM[8192.5+e|0];for(;3<q;--q)e=k*b[q]-f*(b[q-4]+b[q+4]+a[q]+c[q]),g[q+h]=aM[8192.5+e|0];for(;0<=q;--q)e=k*b[q]-f*(b[q]+b[q+4]+a[q]+c[q]),g[q+h]=aM[8192.5+e|0]},fM=function(a){var b=Array(a);for(--a;0<=a;--a)b[a]=0;return b},gM=function(a,b,c,e,f,g,h,k,n,q,u){if(0>=n||0>=q||0>=c||0>=e)throw Error("Negative dimension");if(4*n>u||4*c>f)throw Error("Incoherent stride");if(n>c||q>e)throw Error("Cannot upscale");
if(3>n||3>q)throw Error("Destination is too small");if(-1>g||1<g)throw Error("Invalid sharpening");this.iv=a;this.v_=b;this.spa=c;this.qpa=e;this.rpa=f;this.eBa=g;this.kua=h;this.U2=k;this.jua=n;this.hua=q;this.iua=u;this.$ga=1/n;this.bha=1/q;this.aha=n*q*8191/(c*e);this.RR=fM(u);this.hX=fM(u);this.s$=e;this.u$=this.t$=0;this.Lb=this.pw=this.ow=this.dD=null;0!=g&&(this.Lb=[fM(u),fM(u),fM(u)],this.dD=this.ow=this.pw=this.Lb[2])};gM.prototype.getTime=function(){return z()};
gM.prototype.bxa=function(a){var b=this.iv,c=this.v_,e=this.spa,f=this.qpa,g=this.rpa,h=this.eBa,k=this.kua,n=this.U2,q=this.jua,u=this.hua,A=this.iua,ca=this.$ga,na=this.bha,Ia=this.aha,Ra=this.RR,Yc=this.hX,qf=this.s$,yc=this.t$,di,vl=v(a)?a:50;0>=vl?(a=0,di=1):(a=this.getTime(),di=a+vl);for(var wl=this.u$;wl<f&&a<di;++wl){var Mc=c,qf=qf-u,Xb=0>=qf,Pe=0;Xb&&(Pe=na*-qf,qf+=f);for(var wf=ZL,fh=0,Vv=0,Wv=0,fE=0,gE=0,hE=0,iE=0,YP=q;0<YP;--YP){for(Wv+=e-q;0<Wv;)fE+=wf[b[Mc++]],gE+=wf[b[Mc++]],hE+=wf[b[Mc++]],
iE+=wf[b[Mc++]],Wv-=q;var xl=ca*-Wv,tr=wf[b[Mc++]],qj=tr*xl,tr=fE+tr-qj;Ra[fh++]+=tr;var fE=qj,qj=wf[b[Mc++]],rj=qj*xl,qj=gE+qj-rj;Ra[fh++]+=qj;var gE=rj,rj=wf[b[Mc++]],sj=rj*xl,rj=hE+rj-sj;Ra[fh++]+=rj;hE=sj;sj=wf[b[Mc++]];xl*=sj;sj=iE+sj-xl;Ra[fh++]+=sj;iE=xl;Xb&&(Yc[Vv++]=tr*Pe,Yc[Vv++]=qj*Pe,Yc[Vv++]=rj*Pe,Yc[Vv++]=sj*Pe)}if(Xb){Mc=4*q;Xb=0;if(0==h)for(Pe=aM;Xb<Mc;)k[Xb+n]=Pe[8192.5+(Ra[Xb]-Yc[Xb])*Ia|0],++Xb;else{C(this.dD,"this.row1_");C(this.ow,"this.row2_");C(this.pw,"this.row3_");C(this.Lb,
"this.rows_");Pe=this.dD;wf=this.ow;for(fh=this.pw;Xb<Mc;)fh[Xb]=(Ra[Xb]-Yc[Xb])*Ia,++Xb;0<yc&&(eM(Pe,wf,fh,q,h,k,n-A),yc==u-1&&eM(wf,fh,fh,q,h,k,n));this.dD=wf;this.ow=fh;this.pw=this.Lb[yc%3]}Mc=Ra;Ra=Yc;Yc=Mc;n+=A;++yc}c+=g;0>=vl?a++:a=this.getTime()}this.v_=c;this.U2=n;this.RR=Ra;this.hX=Yc;this.s$=qf;this.t$=yc;this.u$=wl;return wl>=f};
var hM=function(a,b,c,e,f,g,h,k,n,q,u,A){var ca=new gM(a,b,c,e,f,g,h,k,n,q,u),na=!1,Ia=new UF(function(){na=!0}),Ra=function(){if(!na)try{ca.bxa(A)?Ia.Ac(null):M(Ra)}catch(a){Ia.ef(a)}};Ra();return Ia},iM=function(){};
iM.prototype.t4=function(a,b,c){var e=N(a).createElement("canvas");e.width=a.width;e.height=a.height;var f=e.getContext("2d");f.drawImage(a,0,0);if(!XL(e,f,c))return $F(Error(lc));c=f.getImageData(0,0,a.width,a.height);var g=b.getContext("2d"),h=g.createImageData(b.width,b.height);if(!c.data||!h.data)return $F(Error("Failed to access pixel data"));a=hM(c.data,0,a.width,a.height,4*a.width,.3,h.data,0,b.width,b.height,4*b.width);a.pa(function(){g.putImageData(h,0,0)},this);return a};var nM=function(a,b,c,e,f){var g=new Uint8Array(a);a=jM(g);if(0==a.length)return null;var h=0;D(a,function(a){h+=a.length});var k=0,n=new Uint8Array(h);D(a,function(a){n.set(g.subarray(a.offset,a.offset+a.length),k);if(a.iqa){for(var h,A=73==n[k+10],ca=kM(n,k+14,A)+10,na=2+ca,ca=na+12*lM(n,ca,A);na<ca;na+=12){var Ia=lM(n,na,A);switch(Ia){case 256:mM(n,na+8,e,A);break;case 257:mM(n,na+8,f,A);break;case 282:case 283:var Ra=kM(n,na+8,A)+10,Yc=n,qf=Ra,yc=A;Ia=kM(n,Ra,A)/kM(n,Ra+4,A)*(282==Ia?e/b:f/c);
if(isFinite(Ia)&&0==Ia%1)Ia=[Ia,1];else{for(var Ra=0>Ia,Ia=Math.abs(Ia),di=1,vl=1,wl=0,Mc=0,Xb;1E7>=Mc*(Xb=Math.floor(Ia))+vl;){var Pe=di*Xb+wl,wl=di,di=Pe,Pe=Mc*Xb+vl,vl=Mc,Mc=Pe;Xb=Ia-Xb;if(1E-6>Xb)break;Ia=1/Xb;if(2147483647<Xb)break}Ia=[Ra?-di:di,Mc]}mM(Yc,qf,Ia[0],yc);mM(Yc,qf+4,Ia[1],yc);break;case 34665:h=kM(n,na+8,A)+10}}if(h)for(A=73==n[k+10],na=2+h,h=na+12*lM(n,h,A);na<h;na+=12)switch(lM(n,na,A)){case 40962:mM(n,na+8,e,A);break;case 40963:mM(n,na+8,f,A)}}k+=a.length});return n},jM=function(a){var b=
[];if(2>a.byteLength||255!=a[0]||216!=a[1])return[];for(var c=2;c<a.byteLength;){var e=a[c++];if(255!=e)return[];var e=a[c++],f=(a[c]<<8)+a[c+1];switch(e){case 225:var g=a[c+8];b.push({Zra:e,offset:c-2,length:f+2,iqa:69==a[c+2]&&120==a[c+3]&&105==a[c+4]&&102==a[c+5]&&0==a[c+6]&&0==a[c+7]&&g==a[c+9]&&(73==g||77==g)&&42==lM(a,c+10,73==g)});break;case 236:b.push({Zra:e,offset:c-2,length:f+2});break;case 218:return b;case 216:return[];case 217:return[]}c+=f}return b},lM=function(a,b,c){c=c?1:0;return(a[b+
c]<<8)+a[b+1-c]},kM=function(a,b,c){c=c?1:0;return(a[b+3*c]<<24)+(a[b+1+c]<<16)+(a[b+2-c]<<8)+a[b+3-3*c]},mM=function(a,b,c,e){e=e?1:0;a[b+3-3*e]=c&255;a[b+2-e]=c>>8&255;a[b+1+e]=c>>16&255;a[b+3*e]=c>>24&255};var oM=function(a,b){G.call(this,a);this.rf=b};B(oM,G);oM.prototype.getItem=function(){return this.rf};var pM=function(){E.call(this);this.sM=0;this.iL=new NK;this.J=new GA(this);this.ha(this.J)},qM;B(pM,E);pM.prototype.start=function(a,b){var c=new rM(a,b);this.iL.enqueue(c);this.l8();return c};pM.prototype.l8=function(){if(!this.iL.bc()&&1>this.sM){var a=this.iL.Nm();this.J.o(a,["b","c","d"],this.sta);this.sM++;M(y(a.start,a),0)}};pM.prototype.sta=function(a){if("c"==a.type||"d"==a.type)this.sM--,this.J.removeAll(),M(function(){a.getItem().dispose();this.l8()},0,this)};
var rM=function(a,b){J.call(this);this.Uc=a;this.eb=b;this.fa=sM++};B(rM,J);var sM=0;r=rM.prototype;r.H=Fv("apps.uploader.ImageProcessor.Item");r.Op=!1;r.nb=void 0;r.start=function(){this.dispatchEvent(new oM("b",this));var a=this.Fn=document.createElement(ui);a.onload=y(this.pC,this);a.onerror=y(this.qta,this);var b;b=this.Uc;b=gu().createObjectURL(b);a.src=b};r.pC=function(){L(this.H,"Image loaded: "+this.fa);this.Mpa().ei(this.pD,this).pa(this.bta,this)};
r.bta=function(){if(this.eb.dva&&this.Op){var a=UK(this.Uc);a.pa(function(a){var c;try{var e=this.Ie();this.xW=(c=nM(a,this.Fn.width,this.Fn.height,e.width,e.height))?c:void 0}catch(f){L(this.H,"APP1 extraction failed: "+this.fa+": "+f)}this.pD()},this);a.ei(this.pD,this)}else this.pD()};r.qta=function(){L(this.H,"Image load failed: "+this.fa);this.dispatchEvent(new oM("d",this))};r.pD=function(){this.Uc=null;this.dispatchEvent(new oM("c",this))};
r.Mpa=function(){L(this.H,"initializeCanvas_ started: "+this.fa);var a=new Hw(this.Fn.width,this.Fn.height);this.eb.Soa()&&!a.zz(this.eb.Ie())&&(a.rw(this.eb.Ie()).round(),this.Op=!0);if(this.eb.fNa()){var b=(0,this.eb.xNa)(a);this.Op=!Iw(b,a);a=b}var c=document.createElement("canvas");c.width=a.width;c.height=a.height;b=(1==this.eb.YMa?new iM:new YL).t4(this.Fn,c,this.fa);b.pa(function(){this.Kp=c.toDataURL(si,this.eb.uNa/100);this.nb=a},this);b.ei(function(){this.Op=!1},this);return b};r.Ie=function(){return this.nb};
r.getBlob=function(){L(this.H,"getBlob started: "+this.fa);this.eb.dva&&!this.Op&&jr("You asked us to preserve EXIF data, but this method would lose them.");if(this.Kp&&"data:"==this.Kp.substr(0,5)){var a=this.Kp.indexOf(",");if(0<a){var b=this.Kp.substr(5,a-5).split(";"),a=this.Kp.substr(a+1);"base64"===b[b.length-1]&&(a=window.atob(a));try{var c;a:{var b=a,e=this.xW,f=a=0,g;if(e){for(g=0;g<b.length;){var h=b.charCodeAt(g++);if(255!=h)break;h=b.charCodeAt(g++);if(216==h)a=f=g;else if(224==h)a=f=
g+=((b.charCodeAt(g)&255)<<8)+(b.charCodeAt(g+1)&255);else{225==h&&(a=g-2,f=g+((b.charCodeAt(g)&255)<<8)+(b.charCodeAt(g+1)&255));break}}if(0==a){c=null;break a}}var k=e?e.length:0,n=new Uint8Array(b.length+k);g=0;var q;for(q=0;q<a;q++,g++)n[g]=b.charCodeAt(q)&255;for(q=0;q<k;q++,g++)n[g]=e[q]&255;for(q=f;q<b.length;q++,g++)n[g]=b.charCodeAt(q)&255;c=VK(n.buffer)}return c}catch(u){L(this.H,"blobFromData_ failed: "+this.fa+": "+u)}}}return null};
r.A=function(){var a=this.Fn,b=a.src;a.onload=a.onerror=null;gu().revokeObjectURL(b);delete this.eb;delete this.Fn;delete this.Kp;delete this.xW};var tM=function(a,b){oL.call(this);this.Jn=new K;this.rr=new K;this.NM=new dv;this.X2=sq(this.Bk,!1);this.s_=new pM;this.ha(this.s_);this.zB=a||!1;this.Pm=b||!1};B(tM,oL);r=tM.prototype;r.H=Fv("apps.uploader.XhrUploader");r.Sh=!1;r.Wr=function(a){tM.g.Wr.call(this,a);this.Jn.forEach(function(a){a&&(this.jr?a.multiple=Wo:a.removeAttribute("multiple"))},this)};
r.uD=function(a){tM.g.uD.call(this,a);this.Jn.forEach(function(a){a&&(this.iq()?a.webkitdirectory=Wo:a.removeAttribute("webkitdirectory"))},this)};
r.Aba=function(a,b,c,e){if(Gr(a))return b||this.dispatchEvent(new G(Zg)),[];this.Sh&&this.ct();var f=xr(a,function(a){var b=this.iq()?a.webkitRelativePath||a.relativePath||a.name:a.name||a.fileName;return new aL(b,a.size||a.fileSize,void 0,void 0,a.lastModifiedDate&&a.lastModifiedDate.getTime(),a.type)},this);e&&this.iq()&&D(e,function(a){f.push(new aL(a+"."))});D(f,function(b,e){var f=this.Hd(b);f.blob=a[e];c&&(f.kqa=!0)},this);this.iq()&&(f=TL(f));this.qS&&Tr(f,function(a,b){var c=a.getName(),e=
b.getName();return Gq(c,e,/\d+|\.\d+|\D+/g)});if(!b&&(this.dispatchEvent(new G(Zg)),!this.dispatchEvent(new dL(ah,f))))return[];D(f,function(a){this.jp(a)},this);b||this.dispatchEvent(new dL(Wd,f));return f};r.install=function(a){if(!a)throw Error(Qk);this.dispatchEvent(new hL(lp,this));this.LF(a,this.zB,this.Pm)};r.zx=function(a){if(!a)throw Error(Qk);this.dispatchEvent(new hL(np,this));this.yx(a)};r.kq=function(){return this.Ln()?"scotty xhr resumable":"scotty xhr non-resumable"};r.Bl=function(){return!0};
r.GK=function(){return void 0!=(this.Tz()||ax(Ci,{type:Vg})).webkitdirectory};r.Ln=function(){return!!File.prototype.slice||!!File.prototype.webkitSlice&&!Gs||!!File.prototype.mozSlice};r.VK=function(){return this.Ln()};r.Jm=function(a){var b=a.ica||this.Hd(a).blob;C(b);return this.Ln()?(a=new SL(a,b),a.Zxa(!0),a):new QL(a,b)};r.Bk=function(a){this.ym&&(this.Sh=a||this.Sh,this.Tz().click())};
r.yx=function(a){var b=oq(this.Wt(a));kq(this.Uq)&&this.Uq()?(this.C().Ca(a,this.mv(a)?ef:l,this.X2),this.NM.remove(b)):(a=this.Jn.get(b))&&Q(a.parentNode,!1);this.Jn.remove(b)};r.jh=function(a){var b=y(tM.g.jh,this,a),c=this.EX(a),e;a:{if(!v(qM)){qM=!1;try{if(YK()&&document.createElement("canvas").getContext){gu().revokeObjectURL("");e=qM=!0;break a}}catch(f){}}e=qM}e&&c&&a.nc>=this.R1?(e=this.Hd(a).blob,c=this.s_.start(e,c),this.C().o(c,["b","c","d"],y(this.rma,this,a,b))):b()};r.WK=function(){return!0};
r.Cl=function(a){return this.Fj(a)!=Uo?!1:(a=this.MI(a))&&a.Cl&&a.Cl()};r.A=function(){tM.g.A.call(this);jw(this.yba)};r.pJ=function(){return this.Ln()?1:0};r.Tz=function(){return this.Jn.pb()[0]};r.Uq=function(){return Fs||H&&Rs(10)||Es&&Rs(12)};
r.zba=function(a,b){var c=O(a);this.rr.set(oq(c),c);var e={},f=null,g=N(c);if(kq(this.Uq)&&this.Uq()&&!this.Tz())e={type:Vg,style:"height:0;visibility:hidden;position:absolute"},this.al&&(e.accept=this.al.join(",")),f=g.j(Ci,e),g.yl(f,c);else{T(c,kp);var h=Iy(c),e={type:Vg,style:"opacity:0;font-size:"+h.height+jm+h.height+"px;position:absolute;right:0px;top:0px",tabIndex:b?-1:0};this.al&&(e.accept=this.al.join(","));f=g.j(Ci,e);e=g.j(m,{style:Pk+h.width+jm+h.height+p},f);g.yl(e,c);P(e,Zl,Ld);P(c.parentNode,
Zl,rm);ry(e,sy(c))}f&&(this.Jn.set(oq(c),f),this.C().o(f,Xe,function(){this.dispatchEvent(new G($g));this.Aba(f.files);f.value=""}))};r.LF=function(a,b,c){var e=this.Wt(a),f=oq(e);if(kq(this.Uq)&&this.Uq()&&(!this.NM.contains(f)&&b&&(this.C().o(a,this.mv(a)?ef:l,this.X2),this.NM.add(f)),this.Tz()))return;(a=this.Jn.get(f))?Q(a.parentNode,!0):this.yba=M(function(){this.zba(e,c);this.HDa();this.dispatchEvent(new hL(mp,this))},void 0,this)};r.HDa=function(){this.Wr(this.jr);this.uD(this.iq())};
r.rma=function(a,b,c){var e=c.getItem();switch(c.type){case "b":this.dispatchEvent(new eL(Yg,a));break;case "c":case "d":"c"==c.type&&(e.Op&&a.z5(e.getBlob()),this.dispatchEvent(new eL(Xg,a))),this.qDa(e),b()}};r.qDa=function(a){this.C().Ca(a,["b","c","d"])};var uM=function(a,b,c,e){J.call(this);if(Dq(ar(a)))throw Error("sessionServerUrl can't be empty");this.Mr=a;this.qh=[];this.hb=null;this.Fx=void 0;this.Az=c?!0:!1;0<=us.indexOf("Firefox/2.")&&(c=window.location,c instanceof Gx||(c=Px(c)),a instanceof Gx||(a=Px(a)),c.resolve(a));!ww.zG().upload||Es&&!Rs("1.9.2")||this.qh.push("XHR");if(e){var f;if("undefined"==typeof ActiveXObject)f=null;else try{f=(new ActiveXObject("AgControl.AgControl")).IsVersionSupported("3.0")}catch(g){f=null}iq(f)?e=f:(f=navigator.plugins?
(f=navigator.plugins["Silverlight Plug-In"])?f.description:"":null,e=x(f)?3<=parseInt(f,10):!1)}e&&this.qh.push(Zc);b&&(!navigator.javaEnabled()||nC&&!Is||oC&&Is||Bs?b=!1:(b=AL(),b=!!b&&0<=er(b,"1.5.0_0")));b&&this.qh.push("JAVA");cK&&(!Js&&0<=er(dK,"10")||0<=er(dK,"11"))&&this.qh.push("FLASH");this.qh.push(nc);L(this.H,"Available mechanisms: "+this.qh)};B(uM,J);r=uM.prototype;r.H=Fv("apps.uploader.UploadManager2");r.gka=function(){return this.qh[0]};
r.Owa=function(a,b){L(this.H,"Restricting mechanisms to: "+a);if(!a)throw Error("allowedMechanisms must be defined");gq(a)||(a=[a]);if(Gr(a))throw Error("allowedMechanisms must not be empty");D(a,function(a){if(!this.yqa(a))throw Error("Unknown upload mechanism: "+a);},this);var c;c=b?wr(a,function(a){return Fr(this.qh,a)},this):wr(this.qh,function(b){return Fr(a,b)});if(Gr(c))throw new vM("No allowed mechanism is currently available");this.qh=c;L(this.H,"Available mechanisms now: "+c)};
r.yqa=function(a){return es(wM,a)};r.eza=function(a,b){this.mha=a;this.Pm=b};r.VAa=function(a,b,c){this.OEa=a;this.NEa=b;this.Pm=c};
r.TU=function(a){var b=null,c=this.gka();c?L(this.H,"Creating uploader for mechanism "+c):L(this.H,"No mechanisms left to create an uploader");switch(c){case "JAVA":this.hb=new CL(this.yS,this.NMa);break;case "XHR":this.hb=new tM(this.NEa,this.Pm);b=this.OEa;break;case Zc:this.hb=new HL(this.NNa);break;case "FLASH":this.cha&&(b=this.cha,b instanceof ou?rL=b:(b=ju(mu(b)),rL=hy(b)));this.hb=new qL;this.Bz&&this.hb.Rya(this.Bz);this.hb.Sya(this.Az);b=this.aNa;break;case nc:this.hb=new wL(this.Pm);b=
this.mha;break;default:this.hb=null}if(!this.hb)return a&&a(null),null;this.hb.hm(this);b=O(b);a&&(this.Fx=a,I(this.hb,[ae,op,"applettimedout",$d],y(this.Sma,this,c,b)),I(this.hb,mp,y(this.Tma,this,c,b)));this.hb.install(b);this.hb.nAa(this.Mr);iq(this.dy)&&this.hb.Txa(this.dy);this.uEa&&this.hb.SAa(this.uEa);return a?null:this.hb};r.Tma=function(a,b,c){c.K9==this.hb&&this.Fx&&(this.Fx(this.hb),this.Fx=void 0)};r.Sma=function(a,b,c){c.K9==this.hb&&(this.hb.zx(b),Kr(this.qh,a),this.TU(this.Fx))};
var wM={RHa:"JAVA",ZGa:"FLASH",yHa:nc,DMa:"XHR",NKa:Zc},vM=function(){};B(vM,Error);var xM=new VJ("apps.uploader");xM.X(!1);w("apps.uploader.showDebugWindow",function(){xM.X(!0)},void 0);var yM=function(a){var b=null;try{b=a.cssRules||a.rules}catch(c){if(15==c.code)throw c.styleSheet=a,c;}return b},zM=function(a,b){var c=[],e=a||document.styleSheets,f=v(b)?b:!1;if(e.imports&&e.imports.length)for(var g=0,h=e.imports.length;g<h;g++)Or(c,zM(e.imports[g]));else if(e.length)for(g=0,h=e.length;g<h;g++)Or(c,zM(e[g]));else{var k=yM(e);if(k&&k.length)for(var g=0,h=k.length,n;g<h;g++)n=k[g],n.styleSheet&&Or(c,zM(n.styleSheet))}!(e.type||e.rules||e.cssRules)||e.disabled&&!f||c.push(e);return c},
AM=function(a,b){var c=b?b.N():document,e=c.createElement("STYLE");e.type="text/css";c.getElementsByTagName("HEAD")[0].appendChild(e);e.styleSheet?e.styleSheet.cssText=a:e.appendChild(c.createTextNode(a));return e};var BM=function(){if(!H)return!1;try{return new ActiveXObject(Bc),!0}catch(a){return!1}},CM=H&&BM();var DM=function(){J.call(this);this.cc=[];this.lg=[];this.tw=[];this.pd=this.bL=this.ZK=!1};B(DM,J);r=DM.prototype;r.Bl=function(){return this.pd};r.uF=function(a){this.lg.push(a);this.ZK=a.bL=!0};r.K6=function(a){this.iD=a};r.Vf=function(){if(!this.pd){for(var a,b=0;a=this.cc[b];b++)this.D_(a);this.pd=!0}};r.D_=function(a){this.ZK&&(I(a.element,Uj,a.U1,!1,a),this.TP&&T(C(a.element),this.TP));this.bL&&this.lQ&&T(C(a.element),this.lQ)};
r.VV=function(a){this.ZK&&(rt(a.element,Uj,a.U1,!1,a),this.TP&&DA(C(a.element),this.TP));this.bL&&this.lQ&&DA(C(a.element),this.lQ);a.dispose()};r.Yva=function(){for(var a,b=0;a=this.cc[b];b++)this.VV(a);this.cc.length=0};
r.jx=function(a,b){if(!this.Kf)if(this.Kf=b,0==this.dispatchEvent(new EM(ug,this,this.Kf)))this.Kf=null;else{var c=b.ut;this.Kt=this.zU(c);var e=Ow(c);e.body.appendChild(this.Kt);this.Cd=this.mea(c,this.Kt,a);this.Cd.K6(this.iD);I(this.Cd,"drag",this.X1,!1,this);I(this.Cd,Gg,this.Zm,!1,this);I(e.body,"selectstart",this.I8);this.uva();this.vva();this.dj=null;this.Epa();this.Cd.jx(a);a.preventDefault()}};
r.uva=function(){this.us=[];for(var a,b=0;a=this.lg[b];b++)for(var c,e=0;c=a.cc[e];e++)this.uba(a,c);this.nk||(this.nk=new iy(0,0,0,0))};r.vva=function(){var a,b,c,e;for(b=0;a=this.tw[b];b++)a.pG=[],a.Q4=a.G.scrollLeft,a.R4=a.G.scrollTop,c=wy(a.G),e=Iy(a.G),a.hd=new iy(c.y,c.x+e.width,c.y+e.height,c.x);for(b=0;e=this.us[b];b++)for(c=0;a=this.tw[c];c++)rx(a.G,e.G)&&(a.pG.push(e),e.sw=a)};r.mea=function(a,b,c){a=this.FX(a,b,c);b.style.position=Ld;b.style.left=a.x+p;b.style.top=a.y+p;return new IA(b)};
r.Zm=function(a){var b=a.Rfa?null:this.dj;if(b&&b.gb){var c=a.clientX;a=a.clientY;var e=this.qY(),f=c+e.x,e=a+e.y,g;this.nx&&(g=this.nx(b.rf,b.hd,f,e));this.dispatchEvent(new EM("drag",this,this.Kf,b.gb,b.rf,b.G,c,a,f,e));b.gb.dispatchEvent(new EM("drop",this,this.Kf,b.gb,b.rf,b.G,c,a,f,e,g))}this.dispatchEvent(new EM("dragend",this,this.Kf,b?b.gb:void 0,b?b.rf:void 0,b?b.G:void 0));rt(this.Cd,"drag",this.X1,!1,this);rt(this.Cd,Gg,this.Zm,!1,this);b=Ow(this.Kf.ut);rt(b.body,"selectstart",this.I8);
this.cca(this.dj?this.dj.rf:null)};r.cca=function(){this.Lfa()};r.Lfa=function(){this.Mfa();this.Cd.dispose();kx(this.Kt);delete this.Kf;delete this.Kt;delete this.Cd;delete this.us;delete this.dj};
r.X1=function(a){var b=this.Qia(a),c=b.x,e=b.y,f=this.dj;this.dispatchEvent(new EM("drag",this,this.Kf,f?f.gb:void 0,f?f.rf:void 0,f?f.G:void 0,a.clientX,a.clientY,c,e));var g;if(f){this.nx&&f.gb&&(g=this.nx(f.rf,f.hd,c,e));if(f.hd.contains(b)&&g==this.WR)return;f.gb&&(this.dispatchEvent(new EM(sg,this,this.Kf,f.gb,f.rf,f.G)),f.gb.dispatchEvent(new EM(sg,this,this.Kf,f.gb,f.rf,f.G,void 0,void 0,void 0,void 0,this.WR)));this.WR=g;this.dj=null}this.nk.contains(b)&&((f=this.dj=this.Ika(b))&&f.gb?(this.nx&&
(g=this.nx(f.rf,f.hd,c,e)),b=new EM(tg,this,this.Kf,f.gb,f.rf,f.G),b.GCa=g,this.dispatchEvent(b),f.gb.dispatchEvent(new EM(tg,this,this.Kf,f.gb,f.rf,f.G,a.clientX,a.clientY,void 0,void 0,g))):f||(this.dj=this.dsa(c,e)))};r.I8=function(){return!1};r.Epa=function(){var a,b;for(b=0;a=this.tw[b];b++)I(a.G,Cm,this.kU,!1,this)};r.Mfa=function(){for(var a=0,b;b=this.tw[a];a++)rt(b.G,Cm,this.kU,!1,this),b.pG=[]};
r.kU=function(a){for(var b=0,c;c=this.tw[b];b++)if(a.target==c.G){var e=c.R4-c.G.scrollTop,f=c.Q4-c.G.scrollLeft;c.R4=c.G.scrollTop;c.Q4=c.G.scrollLeft;this.Lf&&this.dj==this.Lf&&(0<e?this.Lf.hd.top+=e:this.Lf.hd.bottom+=e,0<f?this.Lf.hd.left+=f:this.Lf.hd.right+=f);for(var g=0,h;h=c.pG[g];g++)h=h.hd,h.top+=e,h.left+=f,h.bottom+=e,h.right+=f,this.oT(h)}this.Cd.sC(a)};r.zU=function(a){a=this.kea(a);C(a);this.Sfa&&T(a,this.Sfa);return a};
r.FX=function(a){var b=wy(a);a=Wy(a);b.x-=2*(a.left||0);b.y-=2*(a.top||0);return b};r.Hda=function(a){a:{for(var b=a.cloneNode(!0),c=a.getElementsByTagName(id),e=b.getElementsByTagName(id),f=0;f<c.length;f++)e[f].value=c[f].value;switch(a.tagName){case "TR":a=ax(gd,null,ax(hd,null,b));break a;case "TD":case "TH":a=ax(gd,null,ax(hd,null,ax("TR",null,b)));break a;case id:b.value=a.value;default:a=b}}return a};r.kea=function(a){return this.Hda(a)};
r.uba=function(a,b){for(var c=b.Jia(),e=0;e<c.length;e++){var f=c[e],g=this.Nia(b,f);this.us.push(new FM(g,a,b,f));this.oT(g)}};r.Nia=function(a,b){var c=wy(b),e=Iy(b);return new iy(c.y,c.x+e.width,c.y+e.height,c.x)};r.oT=function(a){if(1==this.us.length)this.nk=new iy(a.top,a.right,a.bottom,a.left);else{var b=this.nk;b.left=Math.min(a.left,b.left);b.right=Math.max(a.right,b.right);b.top=Math.min(a.top,b.top);b.bottom=Math.max(a.bottom,b.bottom)}};
r.dsa=function(a,b){this.Lf||(this.Lf=new FM(this.nk.clone()));var c=this.Lf.hd;c.top=this.nk.top;c.right=this.nk.right;c.bottom=this.nk.bottom;c.left=this.nk.left;for(var e=0,f;f=this.us[e];e++){var g=f.hd;f.sw&&(f=f.sw.hd,g=new iy(Math.max(g.top,f.top),Math.min(g.right,f.right),Math.min(g.bottom,f.bottom),Math.max(g.left,f.left)));f=null;a>=g.right?f=g.right>c.left?g.right:c.left:a<g.left&&(f=g.left<c.right?g.left:c.right);var h=null;b>=g.bottom?h=g.bottom>c.top?g.bottom:c.top:b<g.top&&(h=g.top<
c.bottom?g.top:c.bottom);null===f||null===h||(Math.abs(f-a)>Math.abs(h-b)?h=null:f=null);null!==f?f<=a?c.left=f:c.right=f:null!==h&&(h<=b?c.top=h:c.bottom=h)}return 10<=(c.right-c.left)*(c.bottom-c.top)?this.Lf:null};r.Ika=function(a){for(var b,c=0;b=this.us[c];c++)if(b.hd.contains(a))if(b.sw){if(b.sw.hd.contains(a))return b}else return b;return null};r.qY=function(){return N(this.Kt).Pf()};r.Qia=function(a){var b=this.qY();return new Fw(a.clientX+b.x,a.clientY+b.y)};
r.A=function(){DM.g.A.call(this);this.Yva()};var EM=function(a,b,c,e,f,g,h,k,n,q,u){G.call(this,a);this.xh=c;this.Uk=f;this.clientX=h;this.clientY=k;this.GCa=u};B(EM,G);var GM=function(a,b){J.call(this);this.element=O(a);this.data=b;this.ia=null;this.J=new GA(this);this.ha(this.J);this.ut=null;if(!this.element)throw Error("Invalid argument");};B(GM,J);r=GM.prototype;r.getData=function(){return this.data};r.II=function(a){return a};r.Jia=function(){return[this.element]};
r.U1=function(a){if(a.qv()){var b=this.II(a.target);b&&this.lsa(a,b)}};r.Ha=function(a){this.ia=a};r.lsa=function(a,b){this.J.o(b,Vj,this.V1,!1).o(b,Wj,this.V1,!1);var c=Ow(b);this.J.o(c,Yj,this.zsa,!0);this.ut=b;this.XP=new Fw(a.clientX,a.clientY)};r.V1=function(a){var b=this.ut,b=a.type==Wj&&a.target==b;if(5<Math.abs(a.clientX-this.XP.x)+Math.abs(a.clientY-this.XP.y)||b)this.J.removeAll(),this.ia.jx(a,this);a.preventDefault()};r.zsa=function(){this.J.removeAll();delete this.XP;this.ut=null};
var FM=function(a,b,c,e){this.hd=a;this.gb=b;this.rf=c;this.G=e||null;this.sw=null};var HM=function(){DM.call(this)};B(HM,DM);HM.prototype.zc=function(a,b){var c=new GM(a,b);this.pF(c)};HM.prototype.pF=function(a){a.Ha(this);this.cc.push(a);this.Bl()&&this.D_(a)};HM.prototype.removeItem=function(a){a=O(a);for(var b,c=0;b=this.cc[c];c++)if(b.element==a){this.cc.splice(c,1);this.VV(b);break}};HM.prototype.setSelection=function(){};var IM=function(){J.call(this)};B(IM,J);r=IM.prototype;r.wb=0;r.Ph=0;r.Ci=100;r.pi=0;r.aQ=1;r.Rj=!1;r.kM=!1;r.setValue=function(a){a=this.nw(a);this.wb!=a&&(this.wb=a+this.pi>this.Ci?this.Ci-this.pi:a<this.Ph?this.Ph:a,this.Rj||this.kM||this.dispatchEvent(Xe))};r.getValue=function(){return this.nw(this.wb)};
r.KD=function(a){if(this.Ph!=a){var b=this.Rj;this.Rj=!0;this.Ph=a;a+this.pi>this.Ci&&(this.pi=this.Ci-this.Ph);a>this.wb&&this.setValue(a);a>this.Ci&&(this.pi=0,this.ID(a),this.setValue(a));(this.Rj=b)||this.kM||this.dispatchEvent(Xe)}};r.fA=function(){return this.nw(this.Ph)};
r.ID=function(a){a=this.nw(a);if(this.Ci!=a){var b=this.Rj;this.Rj=!0;this.Ci=a;a<this.wb+this.pi&&this.setValue(a-this.pi);a<this.Ph&&(this.pi=0,this.KD(a),this.setValue(this.Ci));a<this.Ph+this.pi&&(this.pi=this.Ci-this.Ph);(this.Rj=b)||this.kM||this.dispatchEvent(Xe)}};r.eA=function(){return this.nw(this.Ci)};r.nw=function(a){return null==this.aQ?a:this.Ph+Math.round((a-this.Ph)/this.aQ)*this.aQ};var JM=function(a){U.call(this,a);this.Tl=new IM;I(this.Tl,Xe,this.Ala,!1,this)};B(JM,U);var KM={vertical:"progress-bar-vertical",horizontal:"progress-bar-horizontal"};r=JM.prototype;r.j=function(){this.mg=this.QU();var a=KM[this.$c];this.Sa(this.v().j(d,a,this.mg));this.l7();this.v6();this.t6()};r.D=function(){JM.g.D.call(this);this.op();this.og();var a=this.b();C(a,pd);rA(a,"progressbar");S(a,tj,Xl)};r.Ra=function(){JM.g.Ra.call(this);this.rj()};r.QU=function(){return this.v().j(d,gm)};
r.op=function(){H&&7>Ps&&I(this.b(),tm,this.og,!1,this)};r.rj=function(){H&&7>Ps&&rt(this.b(),tm,this.og,!1,this)};r.Ka=function(a){JM.g.Ka.call(this,a);T(C(this.b()),KM[this.$c]);a=Qw(null,gm,this.b())[0];a||(a=this.QU(),this.b().appendChild(a));this.mg=a};r.getValue=function(){return this.Tl.getValue()};r.setValue=function(a){this.Tl.setValue(a);this.b()&&this.l7()};r.l7=function(){var a=this.b();C(a,pd);S(a,xp,this.getValue())};r.fA=function(){return this.Tl.fA()};
r.KD=function(a){this.Tl.KD(a);this.b()&&this.v6()};r.v6=function(){var a=this.b();C(a,pd);S(a,"valuemin",this.fA())};r.eA=function(){return this.Tl.eA()};r.ID=function(a){this.Tl.ID(a);this.b()&&this.t6()};r.t6=function(){var a=this.b();C(a,pd);S(a,"valuemax",this.eA())};r.$c=fi;r.Ala=function(){this.og();this.dispatchEvent(Xe)};
r.og=function(){if(this.mg){var a=this.fA(),b=this.eA(),a=(this.getValue()-a)/(b-a),b=Math.round(100*a);this.$c==zp?H&&7>Ps?(this.mg.style.top="0",this.mg.style.height=bb,b=this.mg.offsetHeight,a=Math.round(a*b),this.mg.style.top=b-a+p,this.mg.style.height=a+p):(this.mg.style.top=100-b+"%",this.mg.style.height=b+"%"):this.mg.style.width=b+"%"}};r.Qpa=function(){var a=this.mg.style;this.$c==zp?(a.left="0",a.width=bb):(a.top=a.left="0",a.height=bb)};
r.setOrientation=function(a){if(this.$c!=a){var b=KM[this.$c],c=KM[a];this.$c=a;if(a=this.b())BA(a,b)&&(DA(a,b),T(a,c)),this.Qpa(),this.og()}};r.A=function(){this.rj();JM.g.A.call(this);this.mg=null;this.Tl.dispose()};var LM=function(){};B(LM,PB);eq(LM);LM.prototype.j=function(a){return a.v().j(d,this.be(a).join(" ")+ea,"\u00a0")};LM.prototype.U=function(a,b){b=LM.g.U.call(this,a,b);C(b);T(b,zh);return b};LM.prototype.V=function(){return Rh};var MM=function(){this.Bm="toolbar"};B(MM,yB);eq(MM);MM.prototype.pu=function(a){return"HR"==a.tagName?new QB(LM.K()):MM.g.pu.call(this,a)};MM.prototype.V=function(){return"goog-toolbar"};MM.prototype.zX=function(){return fi};var NM=function(a,b,c){KB.call(this,b,a||MM.K(),c)};B(NM,KB);NM.prototype.nf=function(a){NM.g.nf.call(this,a);this.WB||this.Xu()};var OM=function(){};B(OM,sC);eq(OM);OM.prototype.V=function(){return Oh};var PM=function(a,b,c){rC.call(this,a,b||OM.K(),c)};B(PM,rC);wB(Oh,function(){return new PM(null)});var QM=function(){};B(QM,uC);eq(QM);QM.prototype.createCaption=function(a,b){return QM.g.createCaption.call(this,RM(a,b),b)};var RM=function(a,b){return b.j(d,"goog-color-menu-button-indicator",a)};QM.prototype.setValue=function(a,b){a&&SM(this.M(a),b)};var SM=function(a,b){if(a&&a.firstChild){var c;if(c=b)c=!!(Yx.test("#"==b.charAt(0)?b:"#"+b)||$x(b).length||Xx&&Xx[b.toLowerCase()]);c=c?by(b).Vu:null;a.firstChild.style.borderBottomColor=c||(H?"":Vo)}};
QM.prototype.Od=function(a){var b=a.b();C(b);this.setValue(b,a.getValue());T(b,vh);QM.g.Od.call(this,a)};var TM=function(a,b,c,e,f){this.fg=!!b;this.node=null;this.Yh=0;this.t8=!1;this.iU=!c;a&&this.setPosition(a,e);this.depth=void 0!=f?f:this.Yh||0;this.fg&&(this.depth*=-1)};B(TM,Su);r=TM.prototype;r.setPosition=function(a,b,c){if(this.node=a)this.Yh=jq(b)?b:1!=this.node.nodeType?0:this.fg?-1:1;jq(c)&&(this.depth=c)};r.clone=function(){return new TM(this.node,this.fg,!this.iU,this.Yh,this.depth)};r.Nwa=function(){var a=this.fg?1:-1;this.Yh==a&&(this.Yh=-1*a,this.depth+=this.Yh*(this.fg?-1:1))};
r.next=function(){var a;if(this.t8){if(!this.node||this.iU&&0==this.depth)throw Ru;a=this.node;var b=this.fg?-1:1;if(this.Yh==b){var c=this.fg?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-1*b)}else(c=this.fg?a.previousSibling:a.nextSibling)?this.setPosition(c):this.setPosition(a.parentNode,-1*b);this.depth+=this.Yh*(this.fg?-1:1)}else this.t8=!0;a=this.node;if(!this.node)throw Ru;return a};r.hqa=function(){return-1==this.Yh};
r.Dd=function(a){return a.node==this.node&&(!this.node||a.Yh==this.Yh)};r.splice=function(a){var b=this.node;this.Nwa();this.fg=!this.fg;TM.prototype.next.call(this);this.fg=!this.fg;for(var c=hq(arguments[0])?arguments[0]:arguments,e=c.length-1;0<=e;e--)ix(c[e],b);kx(b)};var UM=function(a,b,c,e){TM.call(this,a,b,c,null,e)};B(UM,TM);UM.prototype.next=function(){do UM.g.next.call(this);while(this.hqa());return this.node};var VM=function(){};B(VM,AB);eq(VM);var WM=0;r=VM.prototype;r.j=function(a){var b=this.be(a);a=a.v().j(d,b?b.join(" "):null,this.pea(a.Jb(),a.Ie(),a.v()));rA(a,Wh);return a};r.pea=function(a,b,c){for(var e=[],f=0,g=0;f<b.height;f++){for(var h=[],k=0;k<b.width;k++){var n=a&&a[g++];h.push(this.vG(n,c))}e.push(this.BG(h,c))}return this.OU(e,c)};r.OU=function(a,b){var c=b.j(gd,this.V()+"-table",b.j(hd,this.V()+"-body",a));c.cellSpacing=0;c.cellPadding=0;return c};
r.BG=function(a,b){var c=b.j("TR",this.V()+"-row",a);rA(c,"row");return c};r.vG=function(a,b){var c=b.j("TD",{"class":this.V()+"-cell",id:this.V()+"-cell-"+WM++},a);rA(c,Xh);S(c,Km,!1);if(!Bx(c)&&!xA(c)){var e=this.Tga(c);e&&yA(c,e)}return c};r.Tga=function(a){a=new UM(a);for(var b="",c;!b&&(c=Wu(a,null));)1==c.nodeType&&(b=xA(c)||c.title);return b};r.Bc=function(){return!1};r.U=function(){return null};
r.mb=function(a,b){if(a){var c=Qw(hd,this.V()+"-body",a)[0];if(c){var e=0;D(c.rows,function(a){D(a.cells,function(a){gx(a);if(b){var c=b[e++];c&&a.appendChild(c)}})});if(e<b.length){for(var f=[],g=N(a),h=c.rows[0].cells.length;e<b.length;){var k=b[e++];f.push(this.vG(k,g));f.length==h&&(k=this.BG(f,g),c.appendChild(k),f.length=0)}if(0<f.length){for(;f.length<h;)f.push(this.vG("",g));k=this.BG(f,g);c.appendChild(k)}}}Py(a,!0,Es)}};
r.AI=function(a,b){for(var c=a.b();b&&1==b.nodeType&&b!=c;){if("TD"==b.tagName&&BA(b,this.V()+"-cell"))return b.firstChild;b=b.parentNode}return null};r.Xoa=function(a,b,c){b&&(b=this.qX(b),C(b),FA(b,this.V()+"-cell-hover",c),c?S(a.md(),Od,b.id):b.id==uA(a.md(),Od)&&tA(a.md(),Od))};r.qX=function(a){return a?a.parentNode:null};r.qxa=function(a,b,c){b&&(a=b.parentNode,FA(a,this.V()+"-cell-selected",c),S(a,Km,c))};r.V=function(){return"goog-palette"};var YM=function(a,b,c){EB.call(this,a,b||VM.K(),c);this.vD(88,!1);this.rt=new XM;this.rt.hm(this);this.rL=-1};B(YM,EB);r=YM.prototype;r.nb=null;r.qb=-1;r.S=null;r.A=function(){YM.g.A.call(this);this.S&&(this.S.dispose(),this.S=null);this.nb=null;this.rt.dispose()};r.Qr=function(a){YM.g.Qr.call(this,a);this.lS();this.S?(this.S.clear(),this.S.gS(a)):(this.S=new xC(a),this.S.Q6(y(this.Kr,this)),this.C().o(this.S,Hm,this.Ou));this.qb=-1};r.si=function(){return""};r.cO=function(){};
r.Kg=function(a){YM.g.Kg.call(this,a);var b=this.O.AI(this,a.target);b&&a.relatedTarget&&rx(b,a.relatedTarget)||b!=this.Xz()&&this.g6(b)};r.Yc=function(a){YM.g.Yc.call(this,a);this.ac()&&(a=this.O.AI(this,a.target),a!=this.Xz()&&this.g6(a))};r.ad=function(a){var b=this.Xz();return b?(a&&this.kBa(a)&&this.Gb(b),YM.g.ad.call(this,a)):!1};r.kBa=function(a){return this.Ga()?a.type!=Yj?!0:!!this.O.AI(this,a.target):!0};
r.Mc=function(a){var b=this.Jb(),b=b?b.length:0,c=this.nb.width;if(0==b||!this.isEnabled())return!1;if(13==a.keyCode||32==a.keyCode)return this.ad(a);if(36==a.keyCode)return this.vc(0),!0;if(35==a.keyCode)return this.vc(b-1),!0;var e=0>this.qb?this.Hg():this.qb;switch(a.keyCode){case 37:if(-1==e||0==e)e=b;this.vc(e-1);a.preventDefault();return!0;case 39:return e==b-1&&(e=-1),this.vc(e+1),a.preventDefault(),!0;case 38:-1==e&&(e=b+c-1);if(e>=c)return this.vc(e-c),a.preventDefault(),!0;break;case 40:if(-1==
e&&(e=-c),e<b-c)return this.vc(e+c),a.preventDefault(),!0}return!1};r.Ou=function(){};r.Ie=function(){return this.nb};r.Cb=function(a,b){if(this.b())throw Error(Kb);this.nb=jq(a)?new Hw(a,b):a;this.lS()};r.Xz=function(){var a=this.Jb();return a&&a[this.qb]};r.Wia=function(){return this.O.qX(this.Xz())};r.vc=function(a){a!=this.qb&&(this.a_(this.qb,!1),this.rL=this.qb,this.qb=a,this.a_(a,!0),this.dispatchEvent("e"))};r.g6=function(a){var b=this.Jb();this.vc(b&&a?sr(b,a):-1)};
r.Hg=function(){return this.S?this.S.Hg():-1};r.Ga=function(){return this.S?this.S.Ga():null};r.Af=function(a){this.S&&this.S.Af(a)};r.Gb=function(a){this.S&&this.S.Gb(a)};r.a_=function(a,b){if(this.b()){var c=this.Jb();if(c&&0<=a&&a<c.length){var e=this.Wia();this.rt.b()!=e&&this.rt.Sa(e);this.rt.nDa(b)&&this.O.Xoa(this,c[a],b)}}};r.dd=function(a){a&&-1==this.qb?this.vc(-1<this.rL?this.rL:0):a||this.vc(-1);YM.g.dd.call(this,a)};r.Kr=function(a,b){this.b()&&this.O.qxa(this,a,b)};
r.lS=function(){var a=this.Jb();if(a)if(this.nb&&this.nb.width){if(a=Math.ceil(a.length/this.nb.width),!jq(this.nb.height)||this.nb.height<a)this.nb.height=a}else a=Math.ceil(Math.sqrt(a.length)),this.nb=new Hw(a,a);else this.nb=new Hw(0,0)};var XM=function(){EB.call(this,null);this.Jw(2,!0)};B(XM,EB);XM.prototype.nDa=function(a){this.dd(a);return this.KK()==a};var ZM=function(a,b,c){this.Gy=a||[];YM.call(this,null,b||VM.K(),c);this.rya(this.Gy)};B(ZM,YM);r=ZM.prototype;r.fC=null;r.tB=null;r.rya=function(a,b){this.Gy=a;this.tB=b||null;this.fC=null;this.mb(this.iea())};r.jJ=function(){var a=this.Ga();return a?(a=my(a,"background-color"),$M(a)):null};r.YO=function(a){a=$M(a);this.fC||(this.fC=xr(this.Gy,function(a){return $M(a)}));this.Af(a?sr(this.fC,a):-1)};
r.iea=function(){return xr(this.Gy,function(a,b){var c=this.v().j(d,{"class":this.O.V()+"-colorswatch",style:"background-color:"+a});c.title=this.tB&&this.tB[b]?this.tB[b]:"#"==a.charAt(0)?"RGB ("+dy(a).join(", ")+")":a;return c},this)};var $M=function(a){if(a)try{return by(a).Vu}catch(b){}return null};var aN=function(a,b,c,e){wC.call(this,a,b,c||QM.K(),e)};B(aN,wC);
var bN={pHa:"#000 #444 #666 #999 #ccc #eee #f3f3f3 #fff".split(" "),jLa:"#f00 #f90 #ff0 #0f0 #0ff #00f #90f #f0f".split(" "),lJa:"#f4cccc #fce5cd #fff2cc #d9ead3 #d0e0e3 #cfe2f3 #d9d2e9 #ead1dc #ea9999 #f9cb9c #ffe599 #b6d7a8 #a2c4c9 #9fc5e8 #b4a7d6 #d5a6bd #e06666 #f6b26b #ffd966 #93c47d #76a5af #6fa8dc #8e7cc3 #c27ba0 #cc0000 #e69138 #f1c232 #6aa84f #45818e #3d85c6 #674ea7 #a64d79 #990000 #b45f06 #bf9000 #38761d #134f5c #0b5394 #351c75 #741b47 #660000 #783f04 #7f6000 #274e13 #0c343d #073763 #20124d #4c1130".split(" ")},cN=
function(a,b){var c=new TB(b);a&&D(a,function(a){c.la(a,!0)});Wr(bN,function(a){a=new ZM(a,null,b);a.Cb(8);c.la(a,!0)});return c};r=aN.prototype;r.jJ=function(){return this.getValue()};r.YO=function(a){this.setValue(a)};r.setValue=function(a){for(var b=0,c;c=this.nd(b);b++)typeof c.YO==lh&&c.YO(a);aN.g.setValue.call(this,a)};r.Lu=function(a){typeof a.target.jJ==lh?this.setValue(a.target.jJ()):a.target.getValue()==lk&&this.setValue(null);aN.g.Lu.call(this,a);a.stopPropagation();this.dispatchEvent(l)};
r.Ob=function(a,b){a&&0==this.jl()&&(this.gh(cN(null,this.v())),this.setValue(this.getValue()));aN.g.Ob.call(this,a,b)};wB(vh,function(){return new aN(null)});var dN=function(){};B(dN,uC);eq(dN);dN.prototype.V=function(){return Qh};var eN=function(){};B(eN,dN);eq(eN);eN.prototype.createCaption=function(a,b){return vC(RM(a,b),this.V(),b)};eN.prototype.setValue=function(a,b){a&&SM(this.M(a),b)};eN.prototype.Od=function(a){this.setValue(a.b(),a.getValue());T(C(a.b()),Ph);eN.g.Od.call(this,a)};var fN=function(a,b,c,e){aN.call(this,a,b,c||eN.K(),e)};B(fN,aN);wB(Ph,function(){return new fN(null)});var gN=function(a,b,c,e){wC.call(this,a,b,c||dN.K(),e)};B(gN,wC);wB(Qh,function(){return new gN(null)});var hN=function(a,b,c,e){yC.call(this,a,b,c||dN.K(),e)};B(hN,yC);wB("goog-toolbar-select",function(){return new hN(null)});var iN=function(a,b){QB.call(this,a||LM.K(),b)};B(iN,QB);wB(Rh,function(){return new iN});var jN=function(a){a=a||{};return PD('<div class="jfk-radiobutton'+(a.checked?" jfk-radiobutton-checked":"")+(a.disabled?" jfk-radiobutton-disabled":"")+(a.Ff?" "+oE(a.Ff):"")+'"'+(a.name?' data-name="'+oE(a.name)+'"':"")+(a.value?' data-value="'+oE(a.value)+'"':"")+(a.id?' id="'+oE(a.id)+'"':"")+(a.attributes?" "+qE(a.attributes):"")+' role="radio"><span class="jfk-radiobutton-radio"></span><div class="jfk-radiobutton-label">'+(a.label?V(a.label):"")+"</div></div>")};jN.ya="jfk.templates.radiobutton.strict";var lN=function(a,b,c,e){EB.call(this,null,kN.K(),a);this.wb=c||"";this.Fb=e||"";this.Db(16,!0);this.vD(16,!1);b&&this.Ta(b)};B(lN,EB);r=lN.prototype;r.ad=function(a){this.Ud(!0);return lN.g.ad.call(this,a)};r.Ec=function(a){switch(a.keyCode){case 38:case 37:return this.dispatchEvent(a.ctrlKey?"g":"i"),!0;case 40:case 39:return this.dispatchEvent(a.ctrlKey?"f":"h"),!0;case 32:return this.ad(a);case 9:return this.dispatchEvent(a.shiftKey?"l":"k"),!1}return lN.g.Ec.call(this,a)};
r.setValue=function(a){this.wb=a;var b=this.b();b&&this.O.setValue(b,a)};r.getValue=function(){return this.wb};r.Rw=function(a){this.Fb=a;this.b()&&this.O.Rw(this.b(),a)};r.getName=function(){return this.Fb};r.Ud=function(a){lN.g.Ud.call(this,a)};r.X=function(a){lN.g.X.call(this,a);this.dispatchEvent("j")};r.Ta=function(a){this.Xa=a;this.b()&&this.O.Ta(this.b(),this.Xa)};r.Eg=function(){return this.Xa};var kN=function(){};B(kN,AB);eq(kN);r=kN.prototype;
r.j=function(a){var b=kD(jN,{checked:a.qf(),disabled:!a.isEnabled(),name:a.getName(),value:a.getValue()},void 0,a.v());(a=a.Eg())&&this.Ta(b,a);return b};r.U=function(a,b){kN.g.U.call(this,a,b);var c=b.getAttribute("data-value");c&&a.setValue(c);(c=b.getAttribute("data-name"))&&a.Rw(c);c=this.M(b);C(c);c.firstChild?a.Ta(c.firstChild.nextSibling?Nr(c.childNodes):c.firstChild):a.Ta(null);return b};r.Fd=function(){return"radio"};r.Ta=function(a,b){var c=this.M(a);C(c);gx(c);fx(c,b)};
r.setValue=function(a,b){a.setAttribute("data-value",b)};r.Rw=function(a,b){a.setAttribute("data-name",b)};r.M=function(a){return Sw(this.V()+"-label",a)};r.V=function(){return"jfk-radiobutton"};var nN=function(a,b){J.call(this);this.Fb=b||"";this.S=new xC;this.ha(this.S);this.J=new GA(this);this.ha(this.J);this.S.Q6(mN);this.J.o(this.S,Hm,sq(this.dispatchEvent,Xe));this.J.o(this,"f",this.Mla);this.J.o(this,"g",this.Nla);this.J.o(this,"h",this.Zla);this.J.o(this,"i",this.voa);this.J.o(this,"j",this.BA);this.J.o(this,"k",sq(this.Bq,!1));this.J.o(this,"l",sq(this.Bq,!0));a&&D(a,this.Vd,this)};B(nN,J);r=nN.prototype;
r.Vd=function(a){C(null!=a);this.J.o(a,l,this.Aq);a.hm(this);a.Rw(this.Fb);var b=a.qf();this.S.zc(a);b&&this.kk(a);a.b()&&this.BA()};r.kk=function(a){this.S.Gb(a);this.BA()};r.nA=function(){return this.S.Ga()};r.Kz=function(a){return this.S.nd(a)};r.getName=function(){return this.Fb};r.tY=function(){var a=this.nA();return a?a.getValue():null};r.Uya=function(a,b){var c=this.S.nd(a);b&&this.kk(c);D(this.S.Gj(),function(a){a.b()&&zx(a.b(),c==a)});try{c.b().focus()}catch(e){}};
r.Ez=function(a,b,c){b=this.$H(a,b);-1!=b&&this.S.nd(b)&&(zx(a.b(),!1),this.Uya(b,c))};r.$H=function(a,b){for(var c=this.S.jl(),e=this.S.z_(a),f=1;f<=c;f++){var g;g=(e+b*f)%c;g=0>g*c?g+c:g;if(this.Kz(g).isEnabled())return g}return-1};r.voa=function(a){a=a.target;C(a);this.Ez(a,-1,!0)};r.Zla=function(a){a=a.target;C(a);this.Ez(a,1,!0)};r.Nla=function(a){a=a.target;C(a);this.Ez(a,-1,!1)};r.Mla=function(a){a=a.target;C(a);this.Ez(a,1,!1)};r.Bq=function(a,b){var c=this.BA(b);try{var e=c[a?0:1];e&&e.b().focus()}catch(f){}};
r.BA=function(){var a=this.nA(),b=this.Kz(0),c=a&&a.isEnabled(),e=c?a:b;C(e,"Must have at least one button in the group");e.isEnabled()||(a=this.$H(e,1),e=-1!=a?this.Kz(a):null);var f=e;e&&!c&&(a=this.$H(e,-1),f=-1!=a?this.Kz(a):null);D(this.S.Gj(),function(a){a.b()&&zx(a.b(),e==a||f==a)});return[e,f]};r.Aq=function(a){a=a.target;this.kk(a);try{a.b().focus()}catch(b){}};r.A=function(){D(this.S.Gj(),function(a){F(a)});nN.g.A.call(this)};var mN=function(a,b){a.Ud(b);a.b()&&zx(a.b(),b)};var oN=function(a){return(a.U7?'<p class="plus-page-url-dialog-warning">You must link your Google+ page to the site before you can add a badge.</p>':"")+"<p>Google+ Direct Connect helps visitors find your Google+ page and add it to their circles from directly within Google Search. Once you've created your Google+ page, finish connecting it to your site by adding the page ID below.</p>"+(a.P7?'<p class="plus-page-url-dialog-warning">This setting will affect your entire site.</p>':"")+'<p class="plus-page-url-prefix">https://plus.google.com/<input type="text" id="'+
oE(a.Rpa)+'" value="'+oE(a.id)+'" class="plus-page-id-input" aria-label="Your Google+ page ID"/>/</p>'};oN.ya="sites.pages.settings.templates.PlusPageDialog.content";var pN=function(a,b,c){this.hb=a;this.Qa=new FH;this.p2=c;this.LW=b.length;this.Qa.$a("Uploading...");this.Qa.Vh((new VA).set(ZA.fp,Jb,!0,!0));VE(this.Qa,ZA.fp);this.dN={};c=[];for(a=0;a<b.length;a++)if(b[a]){var e=b[a].I();c[a]=e;this.dN[e]=new JM}hD(this.Qa.M(),cH,{lpa:c});this.Qa.Hya(!0);this.Qa.F(!0);for(a=0;a<b.length;a++)e=c[a],this.zf(e,"Queued..."),this.dN[e].Z(O(ep+e));for(a=0;a<b.length;a++)if(c=b[a])this.Jza(c.I(),c.getName(),c.nc),this.update(c);I(this.Qa,fg,y(this.Dla,this))};
w("sites.attachments.Dialog",pN,void 0);r=pN.prototype;r.update=function(a){var b=a.I(),c=this.hb.Fj(a);c==Di?this.zf(b,"Queued..."):c==oo?(this.i6(b,"url("+webspace.getPath(webspace.baseUri,Sa)+")"),this.H6(b,0)):c==Uo?(a=100*a.vp/a.nc,isNaN(a)&&(a=0),this.H6(b,a)):c==wo?(this.gG(b),this.zf(b,"Complete."),this.LW--,0==this.LW&&(b=this.Qa.hc,b.Cj(b.kj).click())):c==Hg||c==Zk?(this.gG(b),this.Ld(a)):(this.gG(b),this.Dda(b))};
r.Ld=function(a){var b=a.I();(a=this.hb.yq(a))?(a=a.vz)?1==a.error?this.zf(b,yd):2==a.error?this.zf(b,"You do not have permission to upload to this area."):3==a.error?this.zf(b,"The file you are trying to upload is too large."):4==a.error?this.zf(b,"You are attempting to upload a file with a reserved name or an unsafe extension. Please rename your file and try again."):5==a.error?this.zf(b,"The file you are trying to upload is empty."):6==a.error?this.zf(b,"A webpage exists with this file name. Please rename your file and try again."):
7==a.error?this.zf(b,"You have exceeded your storage quota. Please delete some existing files and try again."):this.zf(b,yd):this.zf(b,yd):this.zf(b,yd)};r.Dla=function(){this.p2&&this.p2()};r.Jza=function(a,b,c){b=18<b.length?b.slice(0,15)+"...":b;null!=c&&(b+=" ("+Math.ceil(c/1024)+"k)");tx(O("upload-name-"+a),b)};r.i6=function(a,b){var c=O("upload-icon-"+a);c&&P(c,"background-image",b)};r.gG=function(a){this.i6(a,"")};r.Dda=function(a){this.zf(a,"")};
r.zf=function(a,b){var c=O(ep+a),e=O(fp+a);tx(e,b);Q(c,!1);Q(e,!0)};r.H6=function(a,b){var c=O(ep+a),e=O(fp+a);this.dN[a].setValue(b);Q(e,!1);Q(c,!0)};var qN=function(a,b,c,e,f){this.Bd=webspace.domain;this.xk=webspace.name;this.Wg=webspace.page.path;this.lX=!1;this.KW=this.XH=this.Qa=null;this.YP=0;this.bW=!1;this.Sm=null;c&&(this.Sm=new HE(f),this.Sm.X(!1),e?this.Sm.Z(O(a)):this.Sm.U(O(a)));e=webspace.scottyUrl;webspace.user.sessionIndex&&(e+="?authuser="+webspace.user.sessionIndex);e=new uM(e);e.Owa(["XHR",nc]);e.VAa(a);e.eza(a);this.hb=e.TU();this.hb.Wr(b);this.hb.aya(!1);c?I(this.Sm,l,y(this.RY,this)):I(O(a),ef,y(this.RY,this));I(this.hb,ah,
y(this.gma,this));I(this.hb,qp,y(this.BZ,this));I(this.hb,pp,y(this.BZ,this))};w("sites.attachments.UploadButton",qN,void 0);r=qN.prototype;r.j7=function(a){this.Wg=a};r.X5=function(a,b){this.XH=a;this.KW=b};r.Xya=function(a){this.lX=a};r.Iya=function(a){this.bW=a};r.X=function(a){null!=this.Sm&&this.Sm.X(a)};r.RY=function(){this.YP=this.JX();this.hb.Bk(!1)};r.BZ=function(a){this.Qa&&a.file&&this.Qa.update(a.file)};
r.Eua=function(a){if(null!=this.XH)for(var b=0;b<a.files.length;b++)if(!a.files[b].getName().match(this.XH))return!1;return!0};r.gma=function(a,b){if(this.Eua(a)){!b&&a.files&&(this.Qa=new pN(this.hb,a.files,y(this.jC,this)));var c=Qg;this.lX&&(c=Wo);var e=Qg;this.bW&&(e=Wo);c={domain:this.Bd,webspace:this.xk,path:this.Wg,generateFileName:c,editorAdded:e};for(e=0;e<a.files.length;e++)a.files[e].Eza(c),this.hb.Ar(a.files[e])}else alert(this.KW)};
r.JX=function(){var a=this.hb.Sz();return a?a.length:0};r.aY=function(){var a=[],b=this.hb.Sz();if(b)for(var c=0,e=this.YP;e<b.length;e++)if(b[e]){var f=this.hb.yq(b[e]);f&&(f=f.vz)&&f.path&&(a[c]=f.path,c++)}return a};r.jC=function(){window.location.reload()};var rN=/.*?\.(gif|jpg|jpeg|png)\s*$/i;w("sites.attachments.UploadButton.initFileCabinetButton",function(a){a=new qN(a,!0,!0,!1);a.X(!0);return a},void 0);
w("sites.attachments.UploadButton.initAttachmentManagementButton",function(a){a=new qN(a,!0,!0,!1);a.j7("/");a.X(!0);return a},void 0);w("sites.attachments.UploadButton.initColorsAndFontsButton",function(a,b){var c=new qN(a,!1,!0,!1);c.j7("/config");c.Xya(!0);c.X5(rN,xb);c.jC=function(){var a=c.aY();1==a.length&&b(a[0]);H&&(c.YP=c.JX())};c.X(!0);return c},void 0);
w("sites.attachments.UploadButton.initTrogEditImageUploadButton",function(a,b){var c=new qN(a,!0,!0,!0,"Upload Images");c.Iya(!0);c.X5(rN,xb);c.jC=function(){var a=c.aY();0!=a.length&&b(a)};c.X(!0);return c},void 0);var sN=0,vN=function(){sN++;KG("RenderAttachments",{page:webspace.page.path},sq(tN,sN),uN);Q(O(vn),!0)},tN=function(a,b){if(a==sN){Q(O(vn),!1);var c=b.target.Fa();if(c.error)uN(b);else{var e=O("sites-attachments-container"),c=c.html;gx(e);c="<doc>"+c+"</doc>";if("undefined"!=typeof DOMParser)c=(new DOMParser).parseFromString(c,"application/xml");else if(CM){var f=new ActiveXObject(Bc);f.resolveExternals=!1;f.validateOnParse=!1;try{f.setProperty("ProhibitDTD",!0),f.setProperty("MaxXMLSize",2048),f.setProperty("MaxElementDepth",
256)}catch(g){}f.loadXML(c);c=f}else throw Error("Your browser does not support loading xml documents");for(c=c.documentElement;f=c.firstChild;)e.appendChild(f);wN("sites-attachments-add-file-btn")}}},wN=function(a){a=new qN(a,!0,!1,!1);a.X(!0);a.jC=function(){vN()};return a};w("sites.attachments.PageAttachmentsUtils.initUploadButton",wN,void 0);var uN=function(){R("Error retrieving attachment list.")};var xN={PKa:pn,KHa:zi,JHa:yi},yN=function(a){return es(xN,a)?a:iq(a)?a?zi:yi:pn};var zN=function(a){a&&this.Tza(a)};r=zN.prototype;r.kl=function(){return this.NR};r.Tza=function(a){this.NR=a};r.la=function(a){var b=this.Kv||0;this[b]=a;this.Kv=b+1;return a};r.Ms=function(a){return this.la(new zN(a))};r.Ua=function(a,b){if(b){var c=[],e;for(e in this){var f=this[e];"undefined"!=typeof f&&f.kl&&c.push(f)}c.sort(b);for(e=0;e<c.length;e++)a(c[e])}else for(e in this)f=this[e],"undefined"!=typeof f&&f.kl&&a(f)};var AN=function(){zN.apply(this)};B(AN,zN);
AN.prototype.sba=function(a){function b(a,c,g){var h=a.shift(),k=g[h];k||(k=new zN,g[h]=k);0==a.length?k.NR=c:b(a,c,k)}if(a.path){var c=a.path.split("/");""==c[0]&&c.shift();b(c,a,this)}};AN.prototype.DB=function(a){for(var b=0;b<a.length;b++)this.sba(a[b]);this.Ssa=a.length};GC.iG=JOT_clearDotPath;
var BN=function(a,b,c,e,f,g,h,k){U.call(this);this.Sc(a);this.H7=b;this.yk=f;this.cz=g;this.Td=k;this.oK=!!h;this.Ql={};this.tr={};this.Gi={};this.uK=0;this.MB=Number.MAX_VALUE;this.O0=function(a){return Qq(a[Dj])};this.Kh=this.yH=!0;this.xk=c;GC.iG||(GC.iG=this.xk.baseUri+"/system/app/images/cleardot.gif");a=pq(GC);e?this.ea=new FC(gy(e||""),a):(e=vu(this.xk.siteTitle||""),this.ea=new FC(e,a),b={path:"/"},b[Dj]=tu(e),a=this.ea.Ga(),a.dO(b),a.d7("/"),b=MG(this.xk.siteTitle),a.Xh(Du(jo,{dir:b},e)),
this.yk&&I(this.ea,Xe,y(this.yk,this)),this.cz&&(a.Ov=sq(this.cz,a)));this.oK&&(this.ea.h6(bo),this.ea.U5(bo),this.ea.cP(!1),this.ea.S6(!1),this.ea.rAa(!0));this.Xe(this.ea,0);this.bCa=null;this.wv=!1};B(BN,U);r=BN.prototype;r.jA=function(a){return a.split("/").length-1};r.ED=function(a){this.Kh=a};r.Aza=function(a){this.MB=a};r.Nw=function(a){this.O0=a};r.FD=function(a){(this.wv=a)&&this.C().o(this.ea,"beforeexpand",this.lta)};
r.Qy=function(a){var b=this.ea.createNode("");this.xk.page.isSiteRtlLocale&&b.Ao(!0);b.ED(this.Kh);b.dO(a);this.so(b);this.yk&&(b.o2=y(this.yk,this));this.cz&&(b.Ov=sq(this.cz,b));this.oK&&(a=this.fka(a.pageInheritsPermissions),b.h6(a),b.U5(a));return b};r.fka=function(a){var b="sites-tree-icon-permissions-icon";switch(yN(a)){case pn:b+=" sites-tree-icon-permissions-site-icon";break;case zi:b+=" sites-tree-icon-permissions-inherits-icon";break;case yi:b+=" sites-tree-icon-permissions-ignores-icon"}return b};
r.j=function(){function a(b,g){var h=g.kl(),k=b;h&&(k=h.path?this.jA(h.path):0,k>this.uK&&(this.uK=k),k=e.Qy(h),this.wv&&h.path&&(this.tr[h.path]=k),b.add(k),e.so(k));g.Ua(y(a,this,k),c)}var b=this.ea,c=this.bCa,e=this;this.H7?a.call(this,b,this.ca):this.ca.Ua(y(a,this,b),c);b.j();this.Sa(b.b())};r.kga=function(a){this.ea.Y&&(!this.yH&&a?this.ea.op():a||this.ea.rj());this.yH=a};
r.D=function(){BN.g.D.call(this);if(this.Td){var a=this;I(this.ea.Rb,cj,function(b){13==b.keyCode&&(a.Td(b),b.preventDefault())})}this.yH||this.ea.rj();30<this.ca.Ssa?this.ft():this.wv||this.qz();this.Ft(this.ea,Ii,!0)};r.Zja=function(){function a(a){var e={},f=a.pe(),g=f.path;g?0!=g.indexOf("/system/")&&(g=f.wuid):(g=f.url,e.title=f[Dj],e.openNewWin=!!f[Cj]);e.id=g;a.wi()&&(e.children=b(a));return e}function b(b){var e=[];for(b=b.wi();b;b=b.ue)e.push(a(b));return e}return b(this.ea)};
r.aP=function(a,b){if("/"==a)return this.ea.Gb(this.ea),this.ea;if(!this.ea.Xc().length)return null;var c=a;a+="/";for(var e=this.ea,f=!0;f;)for(var g=e.Xc(),f=!1,h=0;h<g.length;h++){var k=g[h];if(Aq(a,k.pe().path+"/")){f=!0;e=k;break}}if(this.wv&&e&&e!=b&&e.pe().path!=c)return e.expand(),this.C().Zf(this,"lazyLoad",y(this.aP,this,c,e)),null;e.mw();this.ea.Gb(e);return e};BN.prototype.setSelectedPageByPath=BN.prototype.aP;
BN.prototype.jAa=function(a){function b(c){if(c.pe().wuid==a)return c;for(c=c.wi();c;c=c.ue){var f=b(c);if(f)return f}return null}var c=b(this.ea);this.ea.Gb(c);return c};BN.prototype.setSelectedPageByWuid=BN.prototype.jAa;BN.prototype.Pka=function(){return this.ea};BN.prototype.getTreeControl=BN.prototype.Pka;BN.prototype.Bc=function(){return!1};BN.prototype.qz=function(){this.ea.qz()};BN.prototype.ft=function(){this.ea.ft();this.ea.je(!0)};
BN.prototype.Ga=function(a){var b=this.ea.Ga();a||b!=this.ea||this.H7||(b=null);return b};BN.prototype.getSelectedItem=BN.prototype.Ga;r=BN.prototype;r.Ms=function(a,b){var c=this.Qy(a),e,f;b?(e=b.getParent(),f=b.ue):(e=this.ea,f=null);e.add(c,f);this.so(c);return c};r.ewa=function(){var a=this.Ga();if(a){var b=a.getParent(),c=a.ue||a.Ii;null==c&&b!=this.ea&&(c=b);b.remove(a);this.ea.Gb(c);return!0}return!1};r.so=function(a){var b=a.pe();a.Xh(gy(this.O0(b,a)));a.d7(b.url||b.path||null)};
r.FO=function(a,b){a.dO(b);this.so(a)};r.hM=function(a,b,c){if(b&&b!=this.ea){var e=b.getParent();c&&(b=b.ue);e.add(a,b);this.so(a);this.ea.Gb(a);return!0}return!1};r.Esa=function(){var a=this.Ga();if(a){var b=a,c;do if(c=b.ue,!c&&(b=b.getParent(),b===this.ea))return!1;while(null==c);return this.hM(a,c,!0)}return!1};r.Fsa=function(){var a=this.Ga();return null!=a&&this.hM(a,a.gJ(),!1)};
r.upa=function(){var a=this.Ga();if(a){var b=a.Ii,c=this.MB!==Number.MAX_VALUE;if(b&&(!c||b.el()+1<=this.MB)){b.add(a);b.expand();this.so(a);this.ea.Gb(a);if(c){for(var c=[],e=0;e<a.ub();e++){var f=a.za(e);a.el()+this.HY(f)>this.MB&&c.push(f)}for(e=0;e<c.length;e++)b.add(c[e])}return!0}}return!1};r.lua=function(){var a=this.Ga();if(a){var b=a.getParent();if(b&&b!=this.ea)return this.hM(a,b,!0)}return!1};
r.Hba=function(a,b){var c=b.target.getResponseJson(),e=a.pe().path,f=c.pages,c=c.UMa;this.Ql[e]||(this.Ql[e]=a);for(var g={},h=f.length,k=0;k<h;k++){var n=f[k],q=n.path;if(!this.tr[q]&&!this.Ql[q]){var u=this.Qy(n);this.Ql[q]=u;var n=this.jA(q),q=q.split("/"),A=q.slice(0,n).join("/");g[A]=1;if(A=this.Ql[A]||this.tr[A])for(A.add(u),u=1;u<n;u++)(A=q.slice(0,u).join("/"))&&(this.Gi[A]=1)}}for(var ca in g)this.jA(ca)<c-1&&(this.Gi[ca]=1);this.Gi[e]=1;e=a.wi();e.pe().loadingNode&&(a.removeChild(e),a.Ua(y(function(a){var b=
a.b();b&&(b.style.display="");this.Ft(a,Ii)},this)));this.dispatchEvent("lazyLoad")};r.Bsa=function(a,b){var c=a.pe(),e=b.pe(),f=c.path,g=DG(e.path,CN(f.substring(f.lastIndexOf("/")+1),e.path)),h=Bx(a.tI());tx(a.tI(),"(Moving)");webspace.iM({path:f,newPath:g},y(function(c){tx(a.tI(),h);c=c.target.Fa();c.error?R(c.error.substring(c.error.lastIndexOf(":")+1)):(a.getParent().remove(a),this.B9(f,g,a),b.add(a),b.expand(),this.Ft(a,Ii,!0),xz())},this))};
r.HY=function(a){if(!a)return 0;for(var b=0,c=0;c<a.ub();c++)b=Math.max(this.HY(a.za(c)),b);return b+1};r.B9=function(a,b,c){var e=c.ca;if(0==e.path.indexOf(a)){var f=e.path;e.path=b+e.path.substring(a.length);this.JDa(c,f,e.path);c.Sa(null);this.so(c);c.Ua(y(this.B9,this,a,b))}};r.JDa=function(a,b,c){this.Ql[b]&&(this.Ql[c]=a,delete this.Ql[b]);this.Gi[b]&&(this.Gi[c]=this.Gi[b],delete this.Gi[b]);this.tr[b]&&(this.tr[c]=a,delete this.tr[b])};
r.lta=function(a){a=a.target;var b=a.pe().path,c=this.jA(b);if(c<this.uK-1||this.Gi[b]||"/"==b)a.mw(),this.C().Zf(a,Mg,function(a){a.target.Ua(y(function(a){this.Ft(a,Ii,!0)},this))});else if(!ds(this.Gi,b)){this.Gi[b]=null;var e=a.wi(),f=this.Qy({loadingNode:!0,"main/title":"",path:""});f.Xh(Du(jo,{style:{"font-style":"italic"}},"Loading"));a.add(f,e);a.expand();this.C().Zf(this,Mg,function(a){a=a.target.Xc();for(var b=a.length,c=1;c<b;c++){var e=a[c].b();e&&(e.style.display=lk)}});KG("ShallowSearch",
{forDescendants:b,order:"path",filterName:"pagetreeview",filterVars:{$clickedPathDepth:c,$clickedPathDepth2:c+4},limit:2500,includePermissionsMetaData:this.oK,adjustDepthForLargeResults:!0},y(this.Hba,this,a))}return!0};r.Ft=function(a,b,c){a.ce()&&this.dispatchEvent(new DN(b,a));c&&a.Md()&&a.Ua(y(function(a){this.Ft(a,b,c)},this))};r.dispose=function(){this.HI()||this.ea.dispose()};BN.prototype.dispose=BN.prototype.dispose;var DN=function(a,b){G.call(this,a);this.L8=b};B(DN,G);
DN.prototype.A=function(){DN.g.A.call(this);this.L8=null};var FN=function(a){this.fx=O(a||"sites-sidebar-expander");this.J=new GA(this);this.aU=!1;this.v0=null;EN.push(this)};B(FN,E);var EN=[];w("sites.CollapsibleSidebar.createCollapsibles",function(a){var b=O("mobile-sidebar-expander");b&&(new FN(b)).eT(a,!0);if(a=Sw("sites-header-nav"))b=new FN("sites-horiz-expander"),b.eT(a),b.ND(!0)},void 0);r=FN.prototype;r.Ui=null;
r.eT=function(a,b){this.Ui=O(a);b&&(this.J.o(window,["orientationchange",tm],y(this.CT,this)),this.CT());this.fx&&this.J.o(new Tz(this.fx),l,y(this.bDa,this));this.Ui&&Iz(this.Ui,"initial")};r.ND=function(a){if(this.fx&&this.Ui){this.aU=a;var b=this.fx;a?Gz(b,hf):Iz(b,hf);b=this.Ui;a?Gz(b,hf):Iz(b,hf);a||this.Kda()}};r.A=function(){F(this.J);this.fx=this.Ui=null;FN.g.A.call(this)};r.bDa=function(){this.ND(!this.aU)};r.CT=function(){var a=this.uda();a!=this.v0&&(this.ND(a),this.v0=a)};
r.uda=function(){if(webspace.features.mobileOrientationFix){if("undefined"!==typeof window.orientation)return!(0!=window.orientation&&180!=window.orientation);var a=Ww();return a.width<a.height}return!(0!=window.orientation&&180!=window.orientation)};r.Kda=function(){for(var a=0,b;b=EN[a];++a)this!=b&&b.ND(!0)};var GN=function(a,b,c,e,f,g){this.fa=a;this.Xa=b;this.Ya=c;this.a8=e||null;this.Da=f||null;this.M_=v(g)?g:null};w("sites.core.SearchProvider",GN,void 0);r=GN.prototype;r.I=function(){return this.fa};r.Eg=function(){return this.Xa};r.Aa=function(){return this.Ya};r.getUrl=function(){return this.Da};r.Dd=function(a){return this==a?!0:a.fa==this.fa&&a.Xa==this.Xa&&a.Ya==this.Ya&&a.a8==this.a8&&a.Da==this.Da&&a.M_==this.M_};var HN=function(a,b){this.na=a||{};this.KO(b?b.logoUrl:null);this.P5(b?b.defaultLogoUrl:null);this.o7(b?b.webspaceType:null);this.T5(b?b.expandedHorizontalNavigationTree:null);this.d6(b?b.genericWidgetIconUrl:null);this.Z6(b?b.textWidgetIconUrl:null);this.I6(b?b.recentChangesWidgetIconUrl:null);this.M5(b?b.countdownWidgetIconUrl:null);this.dya(b?b.bleedSiteHeaderBackgroundColorRepeat:null);this.eya(b?b.bleedSiteHeaderBackgroundImageRepeat:null);this.zya(b?b.defaultHorizNavStyle:null)};
w("sites.core.Config",HN,void 0);r=HN.prototype;r.PL=null;r.WG=null;r.m$=null;r.RH=null;r.sI=null;r.mQ=null;r.iN=null;r.tG=null;r.sV=null;var IN={HFa:Kf,xHa:ii},JN={dIa:"links",ALa:"tabs",oFa:"boxes"},KN={X$:mj,yaa:um,NONE:mk};r=HN.prototype;r.qw=function(a,b){var c=y(this.dxa,this,y(this.Jla,this,b)),e=y(this.exa,this);KG("SaveConfig",{properties:a.na},c,e)};r.Jla=function(a){LN(a)};
r.dxa=function(a,b){var c=b.target.Fa().error;c?R("ERROR: Your changes were not saved. Please try again in a few minutes. ["+c+"]"):(R("Your changes have been saved."),xz(1E4),a&&a())};r.exa=function(){R("ERROR: Your changes were not saved. Please try again in a few minutes.")};r.clone=function(a){this.na=ks(a.na);this.KO(a.PL);this.P5(a.WG);this.o7(a.NY());this.T5(a.RH);this.d6(a.sI);this.Z6(a.mQ);this.I6(a.iN);this.M5(a.tG)};r.OI=function(){return this.na[vf]};r.AO=function(a){this.na[vf]=a};
r.Vz=function(){var a=this.OI();return a?"%"==a?"logo":Wf:Io};r.Wz=function(){var a=this.na[yf];return a==So?So:a==Oj?Oj:a==Oe?Oe:Io};r.QX=function(){return this.na[xf]==We?We:mo};r.vja=function(){return this.na[zf]};r.HO=function(a){this.na[zf]=a};r.dA=function(){var a=this.vja();return"DEFAULT_LOGO"==a?webspace.isConsumer?lk:qg:"NO_LOGO"==a?lk:Wf};r.xja=function(){return this.na[Af]};r.vza=function(a){this.na[Af]=a};r.zO=function(a,b){a==Wf&&b?this.AO(String(b)):"logo"==a?this.AO("%"):a==Io&&this.AO(null)};
r.aza=function(a){this.na[yf]=a==So||a==Oj||a==Oe?a:Io};r.$ya=function(a){this.na[xf]=a==We?a:mo};r.JO=function(a,b,c){a==lk?this.HO("NO_LOGO"):a==qg?this.HO("DEFAULT_LOGO"):a==Wf&&b&&c&&(this.HO(b),this.vza(c),this.KO(DG(webspace.baseUri,"/config/customLogo.gif?revision="+this.xja())))};r.oqa=function(){return this.Vz()==Io};r.l0=function(){return"logo"==this.Vz()};r.nqa=function(){return this.Vz()==Wf};r.tqa=function(){return this.Wz()==Io};r.uqa=function(){return this.Wz()==So};
r.sqa=function(){return this.Wz()==Oj};r.rqa=function(){return this.Wz()==Oe};r.qqa=function(){return this.QX()==mo};r.pqa=function(){return this.QX()==We};r.Dqa=function(){return this.dA()==lk};r.Cqa=function(){return this.dA()==qg};r.Bqa=function(){return this.dA()==Wf};r.P5=function(a){this.WG=a||""};r.KO=function(a){this.PL=a||""};r.NY=function(){return this.m$==ii?ii:Kf};r.o7=function(a){this.m$=es(IN,a)?a:Kf};r.hra=function(){return this.NY()==ii};r.zka=function(){return!!this.na[pf]};
r.uAa=function(a){this.na[pf]=!!a};r.yka=function(){return!!this.na[of]};r.tAa=function(a){this.na[of]=!!a};r.RI=function(){var a=this.na[rf];return es(JN,a)?a:this.yX()};r.cza=function(a){this.na[rf]=es(JN,a)?a:this.yX()};r.dza=function(a){this.na["component/navbar/navigationTree"]=a};r.T5=function(a){this.RH=a||"{}"};r.d6=function(a){this.sI=a||""};r.Z6=function(a){this.mQ=a||""};r.I6=function(a){this.iN=a||""};r.M5=function(a){this.tG=a||""};r.Xqa=function(){return!!this.na[Ff]};
r.GAa=function(a){this.na[Ff]=a};r.$qa=function(){return!!this.na[If]};r.JAa=function(a){this.na[If]=a};r.Zqa=function(){return!!this.na[Hf]};r.IAa=function(a){this.na[Hf]=a};r.Yqa=function(){return!!this.na[Gf]};r.HAa=function(a){this.na[Gf]=a};r.ov=function(){var a=this.na[sf];return!a||"goog-ws-none"!=a&&-1==a.indexOf("nohead")};r.Sq=function(){return!!this.na[Bf]};r.F0=function(){return this.pv()||this.Vq()};r.pv=function(){var a=this.na[sf];return!a||-1!=a.indexOf(mj)};
r.Vq=function(){var a=this.na[sf];return!!a&&-1!=a.indexOf(um)};r.bB=function(){var a=this.na[uf];return!!a&&a!=lk};r.jza=function(a){this.na[sf]=this.xI(!!a,this.xY(),this.Sq())};r.Bia=function(){return this.na[tf]};r.vya=function(a){this.na[tf]=a};r.kza=function(a){this.na[Bf]=!!a;this.na[sf]=this.xI(this.ov(),this.xY(),!!a)};r.fP=function(a){es(KN,a)&&(this.na[sf]=this.xI(this.ov(),a,this.Sq()))};r.xY=function(){return this.pv()?mj:this.Vq()?um:mk};r.iza=function(a){this.na[uf]=a?"content":lk};
r.xI=function(a,b,c){var e="goog-ws";if(!a&&b==mk&&!c)return e+"-none";c&&(e+="-nav");e+="-"+b;a||(e+="-nohead");return e};r.xAa=function(a){this.na[Df]=a.toString()};r.T6=function(a){this.na[Cf]=a||""};r.yY=function(){return Number(this.na[Df])||150};r.wY=function(){return this.na[Cf]};r.oA=function(){return this.na[nf+this.na[Cf]+"/items"]||[]};r.eP=function(a){this.na[nf+this.na[Cf]+"/items"]=a||[]};r.yf=function(a,b,c){this.na[nf+c+"/"+a]=b};r.Of=function(a,b){return this.na[nf+b+"/"+a]};
r.lJ=function(a){var b=this.na[nf+a+"/type"];b==Oa&&this.na[nf+a+"/myLinksOnly"]&&(b=Pa);return b};r.Nva=function(a){a=nf+a+"/";for(var b in this.na)-1!=b.indexOf(a)&&(this.na[b]=null)};r.U6=function(a){this.na[Ef]=a};r.mJ=function(){return this.na[Ef]};r.dya=function(a){this.Mca=a};r.eya=function(a){this.Nca=a};r.zya=function(a){es(JN,a)&&(this.sV=a)};r.yX=function(){return this.sV||"boxes"};r.Sqa=function(){return this.na["config/search/settings/disabled"]?!1:!0};var MN=!1,LN=function(a){MN||(MN=!0,KG("GetDialogProperties",{},sq(NN,a),ON))},NN=function(a,b){MN=!1;var c=b.target.Fa();a(new HN(c.props,c.extraProps))},ON=function(){MN=!1;R("Error loading the site layout editing dialogs.")};var PN=function(a,b){this.B=a;this.P=b||N()};PN.prototype.v=function(){return this.P};PN.prototype.update=function(){this.bx()?this.show():this.Je()};PN.prototype.handleError=function(){R("ERROR: The page could not be updated with your changes. Please reload the page.")};var QN=function(a,b){for(var c=0;c<b.length;c++){var e=a.b(b[c]);if(e){var f=a.j(d,Un,e.childNodes),g=a.j(d,Tn);a.appendChild(f,g);a.appendChild(e,f)}}},RN=function(a,b){for(var c=0;c<b.length;c++){var e=a.b(b[c]);if(e){var f=a.Lc(Un,e),g=a.Lc(Tn);a.removeNode(g);f&&(g=a.Xc(f),a.append(e,g),a.removeNode(f))}}},SN=function(a){(a=a.b(Jn))&&a.setAttribute(yk,"return false")};var TN=function(a,b){PN.call(this,a,b);this.bb=this.v().b(In);this.KCa=this.v().b(Cn)};B(TN,PN);r=TN.prototype;r.bx=function(){return this.B.ov()};r.show=function(){KG("RenderHeader",{},y(this.wn,this),y(this.handleError,this));zx(this.bb,!0);Q(this.bb,!0)};r.Je=function(){this.v().wf(this.bb);zx(this.bb,!1);Q(this.bb,!1)};
r.wn=function(a){a=a.target.Fa();this.$Da(a.html);this.KCa.className=a.hboxClassName;this.EDa();var b=zt(a.serializedScopes),c=zt(a.configureSearch);this.pBa()&&uJ(a.searchButtonId,b.object,a.defaultScopeJsSafe,c)};r.EDa=function(){var a=this.B.Vz(),b=this.jqa(a,this.B.dA());this.Oya(b);this.wya(!b&&a==Wf)};r.pBa=function(){return this.B.Sqa()};r.jqa=function(a,b){return a!=Wf&&b==Wf};r.Oya=function(a){a=a?Be:"";var b=this.v().b(Cn),c=this.v().b("sites-chrome-header-wrapper");Gy(b,a);Gy(c,a)};
r.wya=function(a){a=a?this.B.OI()||"":"";var b=this.v().b("sites-header-title");Gy(b,a)};r.$Da=function(a){var b=document.createElement(m);b.innerHTML="<table><tr>"+a+"</tr></table>";a=mx(b.firstChild.rows[0]);QN(this.v(),a);this.v().wf(this.bb);this.v().append(this.bb,a);SN(this.v())};var VN=function(a){var b=a.b(Dn);b&&UN(a,b,"Click to edit horizontal navigation")},WN=function(a){var b=a.b(Bn);b&&UN(a,b,"Click to edit custom footer")},UN=function(a,b,c){Dq(Bx(b))&&(c=ZD(tH,{cpa:c}),a.yK(b,c,0))};var XN=function(a,b){PN.call(this,a,b);this.bb=this.v().b(Dn)};B(XN,PN);XN.prototype.bx=function(){return this.B.Sq()};XN.prototype.show=function(){KG("RenderNavigationBar",{page:webspace.page.path},y(this.wn,this),y(this.handleError,this));zx(this.bb,!0);Q(this.bb,!0)};XN.prototype.Je=function(){this.v().wf(this.bb);zx(this.bb,!1);Q(this.bb,!1)};XN.prototype.wn=function(a){a=a.target.Fa();this.bb.innerHTML=a.html;XG("sites-header-nav-dropdown",!1);QN(this.v(),[this.bb]);VN(this.v())};var ZN=function(){this.Loa=!!cq("gbar.lPWF");this.qI=!1;YN=[];YN.push("g-plusone");webspace.features.plusBadge&&YN.push("g-plus");window.JMa={lang:webspace.page.locale,qNa:"explicit"}};eq(ZN);var YN=[],$N=function(a){ZN.K().go(a)};w("sites.util.Plus.go",$N,void 0);JOT_addListener("renderPlus",function(a){$N(a.payload)});r=ZN.prototype;r.go=function(a){a=O(a||null)||document.body;this.Moa(a)&&(this.Loa?this.fla(a):this.ela(a))};
r.Moa=function(a){for(var b=0;b<YN.length;b++)if(0<Qw(m,YN[b],a).length)return!0;return!1};r.pN=function(a){gapi.plusone.go(a)};r.oN=function(a){webspace.features.plusBadge&&gapi.plus.go(a)};r.xO=function(a){this.qI=a};r.ela=function(a){var b=y(this.bda,this,a);this.qI?b():webspace.features.gapiLoaderUtil?(b=y(this.ada,this,a),vG(b)):this.Ara(b)};r.Ara=function(a){var b=eG(ni);b.pa(y(this.xO,this,!0));b.pa(a)};r.ada=function(a){this.xO(!0);this.pN(a);this.oN(a)};r.bda=function(a){this.pN(a);this.oN(a)};
r.fla=function(a){gbar.lPWF(y(this.pN,this,a));webspace.features.plusBadge&&(a=y(this.oN,this,a),this.qI?a():gbar.lPWF(y(this.Fra,this,a)))};r.Fra=function(a){var b=y(this.xO,this,!0);gapi.load("plus",function(){b();a()})};var aO=function(a,b){PN.call(this,a,b)};B(aO,PN);r=aO.prototype;r.Ui=null;r.bx=function(){return!0};r.show=function(){var a=this.kJ(),b=this.B.F0();if(b){Fy(a,this.B.yY());var c=this.zia(),e=this.via();c!=e&&this.wAa(a,e)}Q(a,b)};r.Je=function(){};r.Uba=function(a,b){var c=this.B.lJ(a);c&&KG(Nc,{id:a,type:c,path:webspace.page.path},y(this.doa,this,a,b),y(this.handleError,this))};
r.wAa=function(a,b){var c=this.v().b(xn);b==um?(this.v().yl(a,c),a.id=Hn,a.className="sites-layout-sidebar-right"):b==mj&&(this.v().jv(a,c),a.id=Gn,a.className=Qn)};r.kJ=function(){this.Ui||(this.Ui=this.v().b(Gn)||this.v().b(Hn));return this.Ui};r.doa=function(a,b,c){c=c.target.Fa();c=this.v().Th(gy(c.html));this.kJ().appendChild(c);QN(this.v(),[c]);$N(Cb+a);b(a)};r.zia=function(){return Jz(this.kJ(),Qn)?mj:um};r.via=function(){var a=this.B.Vq();return this.B.pv()?mj:a?um:ai};
r.Bx=function(a,b){var c=this.B.lJ(a);c&&KG(Nc,{id:a,type:c,path:webspace.page.path},y(this.eoa,this,a,b),y(this.handleError,this))};r.eoa=function(a,b,c){c=c.target.Fa();c=this.v().Th(gy(c.html));var e=this.v().b(Cb+a);lx(c,e);QN(this.v(),[c]);$N(Cb+a);b(a)};var bO=function(a,b){this.B=a;this.P=b||N()};bO.prototype.Dg=function(){return this.P};bO.prototype.update=function(){var a=this.B.mJ();this.kwa();a&&!webspace.user.renderMobile?this.V6(a):this.V6()};
bO.prototype.kwa=function(){for(var a=zM(),b=0;b<a.length;b++){var c=a[b].href;if(c&&-1!=c.indexOf("overlay.css")){var e=yM(a[b]);if(!e)break;for(c=0;c<e.length;c++)if("#sites-chrome-header, #sites-chrome-main, #sites-chrome-footer"==e[c].selectorText){a=a[b];b=c;a.deleteRule?a.deleteRule(b):a.removeRule(b);break}else if("#sites-chrome-page-wrapper"==e[c].selectorText||"#sites-chrome-everything"==e[c].selectorText){var f=a[b],g=c;f.deleteRule?f.deleteRule(g):f.removeRule(g)}break}}};
bO.prototype.V6=function(a){a=a||"";var b=this.Dg().b(An);P(b,"min-width",a);if("no-repeat"==this.B.Mca&&"no-repeat"==this.B.Nca)b=this.Dg().b("sites-chrome-page-wrapper"),Fy(b,a);else{var b=this.Dg().b(Cn),c=this.Dg().b("sites-chrome-main"),e=this.Dg().b(Bn);Fy(b,a);Fy(c,a);Fy(e,a)}};var cO=function(a,b){PN.call(this,a,b);this.bb=O(yn)};B(cO,PN);cO.prototype.bx=function(){return!0};cO.prototype.show=function(){KG("RenderSystemFooter",{},y(this.wn,this),y(this.handleError,this))};cO.prototype.Je=function(){};cO.prototype.wn=function(a){a=a.target.Fa();this.bb.innerHTML=a.html;QN(this.v(),[this.bb])};var dO=function(a,b){PN.call(this,a,b);this.bb=this.v().b(Bn)};B(dO,PN);dO.prototype.bx=function(){return this.B.bB()};dO.prototype.show=function(){KG("RenderCustomFooter",{},y(this.wn,this),y(this.handleError,this));zx(this.bb,!0);Q(this.bb,!0)};dO.prototype.Je=function(){this.v().wf(this.bb);zx(this.bb,!1);Q(this.bb,!1)};dO.prototype.wn=function(a){a=a.target.Fa();this.bb.innerHTML=a.html;QN(this.v(),[this.bb]);WN(this.v());this.bb.scrollIntoView()};var eO=function(){};w("sites.editor.chrome.LayoutHelper",eO,void 0);eO.prototype.h2=function(a){a=String(a).replace(/\s*/g,"");a=a.replace(/[^0-9]/g,"");if("0"===a)throw Error(Ed);if(!a)throw Error("No digits supplied.");return Number(a)};
eO.prototype.Psa=function(a){var b=String(a).replace(/[^0-9px%]/g,"");if(-1!=b.indexOf("%")||-1!=b.indexOf(p)){a=b.match(/([0-9]*)/)[0];if(!a)throw"Units provided without digits.";if(0==a)throw Ed;if(100<a&&-1!=b.indexOf("%"))throw">100% is invalid";return b}b=Number(a);if(isNaN(b))throw"No units provided, and value that was provided is not a number.";if(0>b)throw"Negative number is invalid.";if(0==b)throw Ed;b+=100>=b?"%":p;if(!b)throw"Could not handle value: "+a;return b};
eO.prototype.Fqa=function(a){a=Number(a);return isFinite(a)&&0==a%1&&0<=a&&2147483648>a};var fO=function(a,b){var c=cq("sites.editor.ToolbarProvider.provideToolbar")(!0,!1,!0,!1),c=new (cq("sites.editor.Editor"))("/config",c);c.addField(Go,!1,null,"body { font-family:Arial,Verdana,sans-serif;font-size:13px; }").setContent(a);c.setBaseZindex(200);c.open(!0);b(c)},gO=function(a){return(a=a.getField(Go))?a.getContent().replace(/\&nbsp;/g,"&#160;"):""};var hO=function(a,b,c){G.call(this,Jf);this.mda=a;this.Uqa=b;this.nwa=c||null};B(hO,G);var iO=function(a,b,c){UA.call(this,void 0,!1,c);this.Sc(a);this.Qg=b;this.Vb=new TN(this.ca,this.v());this.$a("Configure site header");this.C().o(this,fg,y(this.Dc,this))};B(iO,FH);w("sites.editor.chrome.HeaderDialog",iO,void 0);r=iO.prototype;
r.j=function(){iO.g.j.call(this);var a=this.M(),b;b={};b='<h4 class="sitelayout-dlg-header-group">Alignment</h4><table border="0"><tr><td style="'+(b.Pa?Ea+b.Pa+"*//*"+b.Pa+qa:"")+'width: 84px; vertical-align: middle"><label class="sitelayout-dlg-header-group">Vertical:</label></td><td><select id="sites-chrome-headerdialog-verticalalign" class="sitelayout-dlg-header-group"><option value="themedefault" id="sites-chrome-headerdialog-verticalalign-themedefault">theme default</option><option value="top" id="sites-chrome-headerdialog-verticalalign-top">top</option><option value="middle" id="sites-chrome-headerdialog-verticalalign-middle">middle</option><option value="bottom" id="sites-chrome-headerdialog-verticalalign-bottom">bottom</option></select></td></tr></table><table border="0"><tr><td style="'+(b.Pa?
Ea+b.Pa+"*//*"+b.Pa+qa:"")+'width: 84px; vertical-align: middle"><label class="sitelayout-dlg-header-group">Horizontal:</label></td><td><select id="sites-chrome-headerdialog-horizontalalign" class="sitelayout-dlg-header-group"><option value="standard" id="sites-chrome-headerdialog-horizontalalign-standard">Standard</option><option value="center" id="sites-chrome-headerdialog-horizontalalign-center">Center</option></select></td></tr></table>';var c;c={};a.innerHTML='<div class="sitelayout-dlg-section"><table border="0" class="sitelayout-dlg-section-border sitelayout-dlg-horizontal"><tr><td><h4 class="sitelayout-dlg-header-group">Height</h4><div><label class="sitelayout-dlg-header-group"><input id="sites-chrome-headerdialog-usethemedefault" name="headerheight" type="radio" class="sitelayout-dlg-header-group"/> Use theme default value</label></div><div><label class="sitelayout-dlg-header-group"><input id="sites-chrome-headerdialog-uselogoheight" name="headerheight" type="radio" class="sitelayout-dlg-header-group"/> Use logo size</label></div><div><span class="sitelayout-dlg-header-group"><input id="sites-chrome-headerdialog-usecustomheight" name="headerheight" type="radio" class="sitelayout-dlg-header-group"/> </span><input id="sites-chrome-headerdialog-customheight" type="text" dir="ltr" class="text-input sitelayout-dlg-header-group"/> pixels</div></td><td>'+
b+'</td></tr><tr><td colspan="2">'+('<div class="goog-ws-logo sites-clear"><p><strong>Select Logo:</strong></p><table><tr><td><div><input id="sites-chrome-headerdialog-usenologo" type="radio" name="logo" class="goog-ws-logo-radio" /> No Logo</div><div><input id="sites-chrome-headerdialog-usecustomlogo" type="radio" name="logo" class="goog-ws-logo-radio" /> Custom Logo<div class="goog-ws-logo-custom"><img id="sites-chrome-headerdialog-customlogoimage" style="'+(c.Pa?Ea+c.Pa+"*//*"+c.Pa+qa:"")+'display:block;margin:2px 0;max-width:230px"/></div><div class="goog-ws-logo-upload sites-clear"><form id="sites-chrome-headerdialog-logoattachmentform" enctype="multipart/form-data" method="POST" style="'+
(c.Pa?Ea+c.Pa+"*//*"+c.Pa+qa:"")+'margin-bottom: 5px;"><p>Attach a file:<br/><input id="sites-chrome-headerdialog-logofileinput" name="userfile" type="file"/><input type="hidden" name="pagePath" value="/config" /><input type="hidden" name="overrideFileName" value="customLogo.gif" /></p></form></div></div></td><td><div id="sites-chrome-header-dialog-usedefaultlogo-container"><input id="sites-chrome-headerdialog-usedefaultlogo" type="radio" name="logo" class="goog-ws-logo-radio" /> Domain Default Logo <span id="sites-chrome-headerdialog-defaultlogo-none">(No logo)</span><br /><img class="goog-ws-logo-default-scaled" id="sites-chrome-headerdialog-defaultlogoimage"/></div></td></tr></table></div>')+
"</td></tr></table></div>"};
r.D=function(){iO.g.D.call(this);var a=this.v();this.rEa=a.b("sites-chrome-headerdialog-usethemedefault");this.Q9=a.b("sites-chrome-headerdialog-uselogoheight");this.PQ=a.b("sites-chrome-headerdialog-usecustomheight");this.PG=a.b("sites-chrome-headerdialog-customheight");a.b("sites-chrome-headerdialog-verticalalign");this.AEa=a.b("sites-chrome-headerdialog-verticalalign-themedefault");this.b$=a.b("sites-chrome-headerdialog-verticalalign-top");this.a$=a.b("sites-chrome-headerdialog-verticalalign-middle");this.Z9=
a.b("sites-chrome-headerdialog-verticalalign-bottom");a.b("sites-chrome-headerdialog-horizontalalign");this.dpa=a.b("sites-chrome-headerdialog-horizontalalign-standard");this.d_=a.b("sites-chrome-headerdialog-horizontalalign-center");this.P9=a.b("sites-chrome-headerdialog-usedefaultlogo");this.S9=a.b("sites-chrome-headerdialog-usenologo");this.NE=a.b("sites-chrome-headerdialog-usecustomlogo");this.O9=a.b("sites-chrome-header-dialog-usedefaultlogo-container");a.b("sites-chrome-header-dialog-defaultlogoimage-container");
this.qV=a.b("sites-chrome-headerdialog-defaultlogo-none");this.Xy=a.b("sites-chrome-headerdialog-defaultlogoimage");this.QG=a.b("sites-chrome-headerdialog-customlogoimage");this.Pra=a.b("sites-chrome-headerdialog-logoattachmentform");this.OL=a.b("sites-chrome-headerdialog-logofileinput");a.b(Cn);this.C().o(this.OL,Xe,y(this.Rma,this))};r.Oc=function(){iO.g.Oc.call(this);this.$i(this.ca)};r.$i=function(a){this.DDa(a);this.bEa(a);this.GDa(a);this.KDa(a);this.ADa(a);this.OL.value=""};
r.DDa=function(a){this.rEa.checked=a.oqa();this.Q9.checked=a.l0();a.nqa()?(this.PQ.checked=!0,this.PG.value=a.OI()):(this.PQ.checked=!1,this.PG.value=null)};r.bEa=function(a){this.AEa.selected=a.tqa();this.b$.selected=a.uqa();this.a$.selected=a.sqa();this.Z9.selected=a.rqa()};r.GDa=function(a){this.dpa.selected=a.qqa();this.d_.selected=a.pqa()};r.KDa=function(a){this.P9.checked=a.Cqa();this.S9.checked=a.Dqa();a.Bqa()?(this.NE.checked=!0,this.QG.src=a.PL):(this.NE.checked=!1,this.QG.src=JOT_clearDotPath)};
r.ADa=function(a){a.hra()?(Q(this.O9,!0),a=a.WG,"NO_LOGO"==a?(Q(this.qV,!0),Q(this.Xy,!1),this.Xy.src=""):(Q(this.qV,!1),Q(this.Xy,!0),this.Xy.src=a)):Q(this.O9,!1)};r.Dc=function(a){if(sk==a.key){a=this.od();if(!a)return!1;this.dispatchEvent(new hO(a,!1,y(this.Vb.update,this.Vb)))}this.dispose();return!0};
r.od=function(){var a=new HN;if(this.PQ.checked)try{a.zO(Wf,this.Qg.h2(this.PG.value))}catch(b){alert("Please enter a valid value for header height.");return}else a.zO(this.Q9.checked?"logo":Io);a.aza(this.Wka());a.$ya(this.Xia());this.NE.checked&&this.Ora?a.JO(Wf,"CUSTOM_LOGO_2",this.Nra):this.P9.checked?a.JO(qg):this.S9.checked&&(a.JO(lk),a.l0()&&a.zO(Io));return a};r.Wka=function(){return this.Z9.selected?Oe:this.a$.selected?Oj:this.b$.selected?So:Io};
r.Xia=function(){return this.d_.selected?We:mo};r.Rma=function(){this.OL.value.match(rN)?LG("AttachFile",this.Pra,null,y(this.Qma,this),y(this.Pma,this)):alert(xb)};r.Qma=function(a){a=a.target.Fa();a.error?/TooLarge/.exec(a.error)?R(this.wja(a.maxSize)):/AttachmentEmpty/.exec(a.error)?R("ERROR: The attachment is empty."):R(a.error):(this.Ora=!0,this.Nra=a.version,this.NE.checked=!0,this.QG.src=a.cacheUrl)};
r.wja=function(a){return"ERROR: The attachment exceeds the maximum size of "+((Math.round(a/1048576)||1)+" megabytes.")};r.Pma=function(){R("An error occurred while uploading the file.")};var jO=function(a){a=Fq(a);if(0>a.indexOf(":"))if(0<a.indexOf("@"))a="mailto:"+a;else if(0<a.indexOf(".")||0<a.indexOf("/"))a="http://"+a;else return null;var b=a.match(/^([a-zA-Z]+):([^\s<>]+)$/);if(!b||!b[1]||!b[2])return null;b=b[1].toLowerCase();return"javascript"==b||b==Vg?null:a};var kO=function(a,b,c,e,f,g,h,k){this.ia=a;this.vH=ax(m,{className:"goog-sites-pagefinder goog-ws-lp-list"});this.ia.appendChild(this.vH);this.rm=[];this.wE=0;this.Td=b;this.Aga=!!e;this.LH=!!f;this.MH=!!g;this.Dga=!!h;this.uW=!!k;this.jQ=[];this.Hn={};this.jD=!1;this.jU="goog-ws-tree-wrapper jfk-scrollbar";this.uW||this.Gea();this.tea();c&&this.show()};r=kO.prototype;r.Gs=1;r.hp=0;r.$$=5;r.show=function(){gs(this.Hn)&&(this.xQ?this.BL||this.m1():this.LU());this.uW||this.hg.focus()};
r.b5=function(){this.LN&&this.NN(this.hg.value);return this.LN};r.Gea=function(){var a=ax(m);this.vH.appendChild(a);gx(a);ex(a,ax(Ci,{type:Eo,size:"15"}));this.hg=a.firstChild;I(this.hg,ej,function(a){13==a.keyCode&&(this.NN(this.hg.value),a.stopPropagation())},!1,this);I(this.hg,ch,function(){this.LN=!0},!1,this);I(this.hg,Ke,function(){this.LN=!1},!1,this);var b=LE();b.Z(a);I(b,l,function(){this.NN(this.hg.value)},!1,this)};r.JT=function(a){return z()-a>6E4*this.$$?!0:!1};
r.m1=function(){if(this.Hn.recentChanges||this.BL&&!this.JT(this.BL))return!1;this.Hn.recentChanges=!0;KG("LoadRecentChanges",{excludeCurrentPath:this.LH,currentPath:webspace.page.path},y(this.wva,this),null);return!0};
r.LU=function(){this.Hn.siteMap||this.xQ&&!this.JT(this.xQ)||(this.Hn.siteMap=!0,webspace.shallowSearch(this.LH?{forAll:!0,includeReadOnly:!this.MH,includePermissionsMetaData:!0,filterName:"pageFinderExcludeCurrent",filterVars:{$path:webspace.page.path}}:{forAll:!0,includeReadOnly:!this.MH,includePermissionsMetaData:!0,filterName:Wk},y(this.kDa,this)))};
r.tea=function(){var a=ax(m);this.vH.appendChild(a);this.Wi=new gB(a,0);I(this.Wi,Xe,function(){var a=this.jQ[this.Wi.Hg()];a&&a()},!1,this);this.tF("Site map",this.hp);this.jQ[this.hp]=y(this.LU,this);this.Dga||(this.tF("My Recent Changes",this.Gs),this.jQ[this.Gs]=y(this.m1,this));this.Wi.kl(this.hp).M().className=this.jU};r.wva=function(a){a=a.target.getResponseJson();a.error?R("Error finding recent changes."):(this.Hn.recentChanges=!1,this.BL=z(),this.c4(a.myChanges,this.Gs))};
r.kDa=function(a){a=a.target.getResponseJson();if(a.error)R("Error finding Site Tree.");else{this.Hn.siteMap=!1;this.xQ=z();this.rm[this.hp]={};var b=this.Wi.kl(this.hp).M();gx(b);var c=ax(m);b.appendChild(c);this.ix=lO(a,void 0,c,null,y(this.iDa,this),function(a){var b=-1==Rt(a[Dj],void 0)?ym:Aj;return'<span title="'+Qq(a.path)+ja+b+'">'+Qq(a[Dj])+fb},!0,this.Td);this.KP()}};
r.WBa=function(a){this.jD=!1;a=a.target.getResponseJson();a.error?R("Error searching site."):(v(this.b8)||(this.b8=this.tF("Search results")),this.c4(a,this.b8,!0))};r.tF=function(a,b){var c=!1,e=a;if(65<a.length+this.wE){var f=65-this.wE;a=a.substring(0,2<f?f:2);c=!0}else 20<a.length&&(a=a.substring(0,20),c=!0);this.wE+=a.length;f=new hB(null,a);c&&f.nn().setAttribute(No,e);this.Wi.Ms(f,b);gx(f.M());e=f.M();c=ax("ul",null,ax("li",null,ax("strong",null,Ac)));e.appendChild(c);return f.In};
r.c4=function(a,b,c){this.rm[b]={};var e=this.Wi.kl(b).M();gx(e);e=e.appendChild(ax("ul"));if(0==a.length)a=ax(m,{style:"margin:10px"},"No results found"),e.appendChild(a);else{e.className=this.jU;for(var f=0;f<a.length;f++)a[f].path&&e.appendChild(this.b4(a[f],b))}c&&this.Wi.Af(b);this.KP();this.gX&&this.dEa(this.gX)};
r.b4=function(a,b){var c=ax("li"),e=c.appendChild(ax("a"));e.href="#";var f=-1==Rt(a[Dj],void 0)?ym:Aj,g=Uq(a[Dj]),h=e.appendChild(ax(jo));h.setAttribute("dir",f);tx(h,g);e.onclick=function(){return!1};e.title=a.path;e.wuid=a.wuid;I(e,Uj,this.jja(a.path));var k=this,n=a.path;I(e,dj,function(a){13==a.keyCode&&(k.Lr(n),k.Td&&k.Td(a),a.preventDefault())});this.rm[b]||(this.rm[b]={});this.rm[b][a.path]=e;return c};r.jja=function(a){return y(function(){this.Lr(a)},this)};
r.iDa=function(){var a=this.ix.getSelectedItem(!0);a&&this.Lr(a.getClientData().path)};r.NN=function(a){a&&!this.jD&&(this.jD=!0,KG("KeywordSearch",{excludeCurrentPath:this.LH,currentPath:webspace.page.path,excludeAttachments:this.Aga,excludeNonEditablePages:this.MH,keywords:a,limit:100},y(this.WBa,this),y(function(){this.jD=!1},this)))};
r.dEa=function(a){this.gX=null;var b=this.Wi.kl(this.Gs);if(!this.Lr(a.path)){var c=b.M(),e=this.b4(a,this.Gs);c.firstChild?c.insertBefore(e,c.firstChild):c.appendChild(e);this.Lr(a.path)}this.Wi.$O(b)};r.sY=function(){return this.Pi&&this.eh&&0<this.eh.length?Bx(this.eh[0]):null};r.Lr=function(a,b){this.uDa();this.Pi=a;this.KP();0!=this.eh.length||b||(this.ww=this.Pi=null);return null!=this.Pi};
r.KP=function(){var a=null;if(this.Pi){var b=this.Wi.Hg(),c=null;this.eh=[];for(var e=0;e<this.rm.length;e++){if(e==this.hp){var f=null;if(this.ix){var g=this.ix.setSelectedPageByPath(this.Pi);g&&(f=g.getLabelElement().parentNode,a=a||g.getClientData().wuid)}}else this.rm[e]&&(f=this.rm[e][this.Pi])&&(a=a||f.wuid);f&&(Gz(f,Km),this.eh.push(f),e==b&&(c=f))}0<this.eh.length&&(f=c?c:this.eh[0],f!=c&&H||f.focus())}this.ww=a};
r.uDa=function(){if(this.eh&&0!=this.eh.length){for(var a=0;a<this.eh.length;a++)Iz(this.eh[a],Km);this.ww=this.Pi=this.eh=null}};r.dispose=function(){this.ix&&this.ix.dispose()};var mO=function(a,b,c){UA.call(this,void 0,!1,c);this.Rv=a;this.zs=b||null;this.$a(this.zs?"Edit URL or email address":"Add a URL or email address");this.C().o(this,fg,y(this.Dc,this))};B(mO,FH);w("sites.editor.chrome.NavigationAddLinkDialog",mO,void 0);r=mO.prototype;r.qQ=null;r.ME=null;r.Q2=null;r.j=function(){mO.g.j.call(this);var a={webspace:webspace};null==this.zs?(a.url="",a.title="",a.P2=!1):(a.url=this.zs.pe().url||"",a.title=this.zs.pe()[Dj],a.P2=!!this.zs.pe()[Cj]);hD(this.M(),uH,a)};
r.Oc=function(){mO.g.Oc.call(this);var a=this.v();this.qQ=a.b("sites-chrome-externalurl-title");this.qQ.focus();this.ME=a.b("sites-chrome-externalurl-url");this.Q2=a.b("sites-chrome-externalurl-opennewwin")};r.Dc=function(a){if(sk==a.key){this.v();a=jO(this.ME.value);if(!a)return this.ME.focus(),this.ME.select(),XE("Warning","Please enter a valid URL or email address."),!1;var b=Fq(this.qQ.value)||a;this.NDa(a,b,this.Q2.checked,this.zs)}this.dispose();return!0};
r.NDa=function(a,b,c,e){if(e){var f=e.pe();f.url=a;f[Dj]=b;f[Cj]=c;this.Rv.FO(e,f)}else this.Rv.P_({url:a,"main/title":b,"main/openNewWin":c})};var nO=function(a,b){UA.call(this,void 0,!1,b);this.Rv=a;this.$a("Select page to add");this.C().o(this,fg,y(this.Dc,this))};B(nO,FH);w("sites.editor.chrome.NavigationAddPageDialog",nO,void 0);r=nO.prototype;r.g9=null;r.sr=null;r.j=function(){nO.g.j.call(this);this.M().appendChild(this.v().j(m,{id:"treeDiv"}))};r.Oc=function(){nO.g.Oc.call(this);this.g9=this.v().b("treeDiv");this.sr=new kO(this.g9,y(this.Dc,this),!0,!0);this.oa();var a=sy(this.b());ry(this.b(),a.x+20,a.y+80)};
r.Dc=function(a){if(void 0==a.key||sk==a.key)if(this.sr.ww)a={wuid:this.sr.ww,path:this.sr.Pi,"main/title":this.sr.sY()},this.Rv.PM[a.wuid]=a,this.Rv.P_(a);else return XE("Warning","Please select a page."),!1;this.dispose();return!0};r.A=function(){F(this.sr);nO.g.A.call(this)};var oO=function(a,b,c,e){UA.call(this,void 0,!1,b);this.Sc(a);this.PM={};if(this.Dl=!!c){if(!e)throw"opt_sidebarWidgetId must be defined";this.fb=e;this.ks=new aO(a,this.v())}else this.g_=new XN(a,this.v());this.$a("Configure navigation");this.C().o(this,fg,y(this.Dc,this))};B(oO,FH);w("sites.editor.chrome.NavigationDialog",oO,void 0);r=oO.prototype;r.wQ=null;r.Y1=null;r.W1=null;r.R3=null;r.x_=null;r.V2=null;r.jS=null;r.hS=null;r.hx=null;r.cw=null;r.AL=null;r.kQ=null;r.gT=null;r.ng=null;r.rH=null;
r.Nt=null;r.yt=null;r.$V=null;r.z1=null;r.c2=null;r.j=function(){oO.g.j.call(this);var a=this.Dl?this.Aka():this.Yia();hD(this.M(),vH,a);Gz(this.Dj(),"sites-sitelayouteditor-navigation-dialog")};r.Yia=function(){return{title:null,baseUri:webspace.baseUri,fB:!0,pK:this.UX(),KM:this.hY()}};r.Aka=function(){var a=this.ca.Of(No,this.fb);a||(a="Navigation");return{title:a,baseUri:webspace.baseUri,fB:!1,pK:this.UX(),KM:this.hY()}};r.UX=function(){return webspace.page.isRtlLocale?En:Fn};
r.hY=function(){return webspace.page.isRtlLocale?Fn:En};r.nla=function(a){(new nO(this)).F(!0);a.stopPropagation();a.preventDefault()};r.mla=function(a){(new mO(this)).F(!0);a.stopPropagation();a.preventDefault()};
r.D=function(){oO.g.D.call(this);var a=this.v();this.wQ=a.b("pageListEl");this.Y1=a.b("moveUpBtn");this.W1=a.b("moveDownBtn");this.R3=a.b("removeBtn");this.x_=a.b("indentBtn");this.V2=a.b("outdentBtn");this.jS=a.b("addPageBtn");this.hS=a.b("addLinkBtn");this.hx=a.b("showSitemap");this.cw=a.b("showRecentSiteActivity");this.Dl?(this.rH=a.b("displayTitleCheckbox"),this.Nt=a.b("dynamicModeCheckbox"),this.yt=a.b("depthSelector"),this.$V=a.b("dynamicModeEditor"),this.z1=a.b("manualModeEditor"),this.c2=
a.b("navTitle")):(this.AL=a.b("navbarTabTypeLinks"),this.kQ=a.b("navbarTabTypeTabs"),this.gT=a.b("navbarTabTypeBoxes"));this.C().o(new Tz(this.jS),l,this.nla).o(new Tz(this.hS),l,this.mla)};r.Oc=function(){oO.g.Oc.call(this);this.$i(this.ca)};
r.$i=function(){this.v();this.ng=this.Uca(this.Qka());if(this.Dl){this.rH.checked=this.ca.Of("hideTitle",this.fb)!=Wo;var a=this.ca.Of(hk,this.fb)||0;this.Nt.checked=0<a;this.yt.selectedIndex=Math.min(this.yt.options.length,a||2)-1;this.D7();this.C().o(this.Nt,ef,this.D7);this.hx.checked=this.ca.Of("showSiteMap",this.fb);this.cw.checked=this.ca.Of("showRecents",this.fb)}else this.ng.Aza(2),this.hx.checked=this.ca.zka(),this.cw.checked=this.ca.yka(),this.AL.checked="links"==this.ca.RI(),this.kQ.checked=
"tabs"==this.ca.RI(),this.gT.checked="boxes"==this.ca.RI();this.ng.C().o(new Tz(this.Y1),l,this.ng.Fsa).o(new Tz(this.W1),l,this.ng.Esa).o(new Tz(this.R3),l,this.ng.ewa).o(new Tz(this.x_),l,this.ng.upa).o(new Tz(this.V2),l,this.ng.lua)};r.Qka=function(){var a=new AN;this.ZR(a,this.Ija());return a};r.ZR=function(a,b){for(var c=0;c<b.length;c++){var e=this.Vca(b[c]);e&&a.la(e)}};
r.Vca=function(a){var b,c=null;typeof a==so?b=a:(b=a.id,c=a.children);b=Fq(b);if(!b||"/system/app/pages/sitemap/hierarchy"===b||"/system/app/pages/recentChanges"===b)return null;var e=a;e&&0==b.indexOf("wuid:")&&a.title?(e={wuid:b,"main/title":a.title,path:a.path},this.PM[b]=e):e&&0==b.indexOf("wuid:")?e=this.PM[b]:0!=b.indexOf("wuid:")&&(e={url:b,"main/title":a.title,"main/openNewWin":!!a.openNewWin});a=null;e&&(a=new zN(e),typeof c==qk&&this.ZR(a,c));return a};
r.Uca=function(a){a=new BN(a,!1,webspace,void 0,void 0,y(this.cna,this));a.Nw(function(a,b){var f=a[Dj];if(f)var g=b.getParent()==b.Kd(),h=!!a[Cj],f=""+(g?"<b>":"")+V(f)+(h?'<span class="sites-chrome-navigationdialog-btn sites-chrome-navigationdialog-icon-popout"/>':"")+(g?"</b>":"");return f});a.ED(!1);var b=a.ea;b.dP(!1);b.cP(!1);b=b.B;b.qt=null;b.IG=b.HG=null;b.dV="goog-tree-row jot-navconfig-tree-row";gx(this.wQ);a.j();ex(this.wQ,a.b());a.D();return a};
r.cna=function(a,b){a.pe().url&&(new mO(this,a)).F(!0);b.stopPropagation();b.preventDefault()};r.Ija=function(){var a;if(a=this.Dl?this.ca.Of(jk,this.fb):this.ca.RH)try{a=zt(a),a.children&&(a=a.children)}catch(b){a=null}return a||[]};r.D7=function(){var a=this.Nt.checked;Q(this.$V,a);Q(this.z1,!a)};r.Dc=function(a){if(sk==a.key){a=this.od();if(!a)return!1;var b;b=this.Dl?y(this.ks.Bx,this.ks,this.fb):y(this.g_.update,this.g_);this.dispatchEvent(new hO(a,this.Dl,b))}this.dispose();return!0};
r.od=function(){var a=new HN;if(this.Dl){var b=0;this.Nt.checked?(b=Math.max(0,this.yt.selectedIndex)+1,b>=this.yt.options.length&&(b=999)):a.yf(jk,this.uY(),this.fb);a.yf(hk,String(b),this.fb);a.yf("showSiteMap",this.hx.checked,this.fb);a.yf("showRecents",this.cw.checked,this.fb);a.yf(No,this.c2.value,this.fb);a.yf("hideTitle",String(!this.rH.checked),this.fb)}else a.dza(this.uY()),a.uAa(this.hx.checked),a.tAa(this.cw.checked),a.cza(this.Gka());return a};r.uY=function(){return Ct(this.ng.Zja())};
r.Gka=function(){return this.AL.checked?"links":this.kQ.checked?"tabs":"boxes"};r.P_=function(a){a=this.ng.Ms(a,this.ng.Ga());this.ng.ea.Gb(a)};r.FO=function(a,b){this.ng.FO(a,b)};var pO=function(a,b,c){UA.call(this,void 0,!1,b);this.Sc(a);this.$a("Configure Ad Placement");this.fb=c;this.Vh(fB());this.Vb=new aO(a,this.v());this.Ri(!0)};B(pO,FH);pO.prototype.j=function(){pO.g.j.call(this);hD(this.M(),wH);Fy(this.M().parentNode,"475px")};var qO=function(a,b,c){UA.call(this,void 0,!1,b);this.Sc(a);this.$a("Configure Countdown");this.fb=c;this.Vb=new aO(a,this.v());this.C().o(this,fg,y(this.Dc,this))};B(qO,FH);r=qO.prototype;r.rW=null;r.xt=null;r.j=function(){qO.g.j.call(this);var a=this.ca.Of(Jg,this.fb)||"";hD(this.M(),xH,{event:a})};
r.D=function(){qO.g.D.call(this);var a=Xz.gp[1],b=new eA(a),a=new kG(a),b=new iC(b,a),a=b.Oz();a.vAa(!1);a.sAa(!1);"ja"==webspace.page.locale&&a.Qya(6);var a=this.v(),c=a.b("dateEl");b.U(c);this.xt=b;this.ha(b);this.owa();this.rW=a.b("eventEl")};
r.owa=function(){var a=this.ca.Of("fromDateUTC",this.fb);if(a){var b=new $z;Rq(a,"-")?(a=a.split("-"),b.setYear(a[0]),b.setMonth(a[1]-1),b.setDate(a[2])):b.setTime(a);this.xt.setDate(b)}else(b=this.ca.Of("fromDate",this.fb))&&"undefined"!=b?this.xt.k6(b):this.xt.setDate(new $z)};r.xga=function(a){alert(a)};
r.od=function(){var a=this.xt.getDate();if(!a)return this.xga("Please enter a valid date."),null;var b=new HN;b.yf(Jg,this.rW.value,this.fb);a=a.getYear()+"-"+(a.getMonth()+1)+"-"+a.getDate();b.yf("fromDateUTC",a,this.fb);return b};r.Dc=function(a){if(sk==a.key){a=this.od();if(!a)return!1;this.dispatchEvent(new hO(a,!0,y(this.Vb.Bx,this.Vb,this.fb)))}this.dispose();return!0};var rO=function(a,b,c){UA.call(this,a,b,c);this.$a("Google+ Page URL");this.C().o(this,fg,this.Hla);VE(this,this.hc.Qk)};B(rO,FH);var sO=/^\d+$/;r=rO.prototype;r.wK=null;r.Pd=null;r.UH=null;r.j=function(){rO.g.j.call(this);this.wK=this.Rg("plusPageInput");var a=this.M(),b={id:webspace.plusPageId,Rpa:this.wK};this.UH&&os(b,this.UH);this.v().appendChild(a,ZD(oN,b))};r.D=function(){rO.g.D.call(this);this.b().style.width="475px";var a=this.v().b(this.wK);this.C().o(a,[fj,Xe],this.wma);this.Pd=a};
r.wma=function(){this.Pd.style.color=this.I0(Fq(this.Pd.value))?He:"red"};r.rO=function(a){this.yO(a);Lz(this.Pd,!a);this.hc.Rxa(a)};r.rA=function(){var a=this.UI();return null!==a&&""!==a?(a=encodeURIComponent(String(a)),"https://plus.google.com/"+a+"/"):""};r.UI=function(){if(this.Pd){var a=Fq(this.Pd.value);if(this.I0(a))return a}return null};r.I0=function(a){return""===a||sO.test(a)};r.W5=function(a){this.UH=a};
r.Hla=function(a){if(a.key!=this.hc.Qk)return!0;a=this.UI();if(null===a)return R("Invalid page ID"),M(xz,5E3),!1;if(this.rA()==webspace.plusPageUrl)return!0;KG("SaveConfig",{properties:{"config/plusPageId":a}},y(this.Fna,this),y(this.tZ,this));this.rO(!1);return!1};r.Fna=function(a){a.target.getResponseJson().error?this.tZ(a):this.Gna(a)};r.Gna=function(){webspace.plusPageUrl=this.rA();webspace.plusPageId=this.UI();xz();this.rO(!0);this.F(!1)};
r.tZ=function(){R("Unable to save the setting. Please try again later.");this.rO(!0)};r.A=function(){this.Pd=null;rO.g.A.call(this)};var tO=function(){};r=tO.prototype;r.e3=null;r.LE=null;r.N9=null;r.OQ=null;r.DT=null;r.jna=function(a,b,c,e){this.N9=O(c);this.DT=O(a);this.OQ=O(b);this.LE=new rO;this.e3=e;I(this.LE,bi,this.Gla,!1,this);I(new Tz(this.DT),l,y(this.T7,this));this.LE.W5({P7:!0,U7:!webspace.plusPageUrl});webspace.plusPageUrl||this.T7()};r.T7=function(){this.LE.F(!0)};r.Gla=function(){webspace.plusPageUrl?this.PDa():this.e3.F(!1)};
r.PDa=function(){var a=webspace.plusPageUrl;Q(this.N9,!!a);a&&(this.OQ.href=a,tx(this.OQ,a))};var uO=function(a,b,c){UA.call(this,void 0,!1,c);this.Sc(a);this.Mua=new tO;this.$a("Configure Google+ Badge");this.fb=b;this.Vb=new aO(a,this.v());this.C().o(this,fg,y(this.Dc,this));this.Ri(!0)};B(uO,FH);var vO={y$:"changeUrlId",Zaa:tp,Yaa:"urlPreviewId"};uO.prototype.j=function(){uO.g.j.call(this);var a={style:this.ca.Of(uo,this.fb)||"",url:webspace.plusPageUrl,Nd:vO};hD(this.M(),sH,a);Fy(this.M().parentNode,"475px")};
uO.prototype.D=function(){uO.g.D.call(this);this.wCa=this.v().b(uo);this.Mua.jna("changeUrlId",tp,"urlPreviewId",this)};uO.prototype.od=function(){var a=new HN;a.yf(uo,this.wCa.value,this.fb);return a};uO.prototype.Dc=function(a){sk==a.key&&(a=this.od(),this.dispatchEvent(new hO(a,!0,y(this.Vb.Bx,this.Vb,this.fb))));return!0};var wO=function(a,b,c,e,f){UA.call(this,void 0,!1,c);this.Sc(a);this.Qg=b;a="Configure Recent Site Activity";f&&(a="Configure My Recent Activity");this.$a(a);this.fb=e;this.Vb=new aO(this.ca,this.v());this.C().o(this,fg,y(this.Dc,this))};B(wO,FH);r=wO.prototype;r.rM=null;r.qW=null;r.j=function(){wO.g.j.call(this);var a=this.ca.Of("numItems",this.fb)||"";hD(this.M(),yH,{qM:a})};r.D=function(){wO.g.D.call(this);this.rM=this.v().b("numItemsEl");this.qW=this.v().b("errEl")};
r.od=function(){var a=new HN,b=this.rM.value;if(this.Qg.Fqa(b))return a.yf("numItems",b,this.fb),a;P(this.qW,"display","");this.rM.focus()};r.Dc=function(a){if(sk==a.key){a=this.od();if(!a)return!1;this.dispatchEvent(new hO(a,!0,y(this.Vb.Bx,this.Vb,this.fb)))}this.dispose();return!0};var xO=function(a,b){J.call(this);this.B=a;this.P=b||N();this.vh=new HM;this.vh.uF(this.vh);this.vh.Vf();this.ha(this.vh);I(this.vh,tg,y(this.Vfa,this));I(this.vh,sg,y(this.Ufa,this));I(this.vh,"drop",y(this.Zfa,this));I(this.vh,ug,y(this.Wfa,this));I(this.vh,"dragend",y(this.Tfa,this))};B(xO,J);r=xO.prototype;r.tba=function(a,b){var c=new GM(a,b);c.II=function(a){if(!a.id||!a.id.match(/COMP_[a-z0-9]+/))for(;null!=a.parentNode&&(a=a.parentNode,!a.id||!a.id.match(/COMP_[a-z0-9]+/)););return a};this.vh.pF(c)};
r.Pva=function(a){this.vh.removeItem(a)};r.Zfa=function(a){var b=a.xh.element;a=a.Uk.element;Iz(a,kn);if(b!=a){this.Gsa(b,a);b=[];a=this.P.b(Gn)||this.P.b(Hn);a=this.P.Xc(a);for(var c=0;c<a.length;c++){var e=a[c];e&&e.id&&e.id.match(/COMP_[a-z0-9]+/)&&b.push(e.id.substring(5))}a=new HN;a.T6(this.B.wY());a.eP(b);this.dispatchEvent(new hO(a,!0,null))}};
r.Gsa=function(a,b){for(var c=null,e=b.previousSibling;e;){if(e&&e.id&&e.id.match(/COMP_[a-z0-9]+/)){c=e;break}e=e.previousSibling}for(var f=null,e=b.nextSibling;e;){if(e&&e.id&&e.id.match(/COMP_[a-z0-9]+/)){f=e;break}e=e.nextSibling}e=a.parentNode;c?f?1==this.Pda(a,b)?e.insertBefore(a,f):e.insertBefore(a,b):e.insertBefore(a,f):e.insertBefore(a,b)};r.Pda=function(a,b){if(a===b)return 0;for(var c=a.previousSibling;c;){if(c===b)return-1;c=c.previousSibling}return 1};
r.Wfa=function(a){Gz(a.xh.element,ln)};r.Tfa=function(a){Iz(a.xh.element,ln)};r.Vfa=function(a){Gz(a.Uk.element,kn)};r.Ufa=function(a){Iz(a.Uk.element,kn)};var yO=function(a,b,c){UA.call(this,void 0,!1,b);this.Sc(a);this.$a("Configure Text Box");this.fb=c;this.Vb=new aO(this.ca,this.v());this.C().o(this,fg,y(this.Dc,this))};B(yO,FH);r=yO.prototype;r.Wp=null;r.O8=null;r.j=function(){yO.g.j.call(this);var a=this.ca.Of(No,this.fb)||"";hD(this.M(),zH,{title:a});Fy(this.M().parentNode,"475px")};
r.D=function(){yO.g.D.call(this);this.O8=this.v().b("titleEl");var a=this.ca.Of("content",this.fb)||"",b=y(this.DJ,this);AF.er(webspace.editorResources.text).pa(sq(fO,a,b))};r.DJ=function(a){this.Wp=a;this.oa()};r.od=function(){var a=new HN;a.yf(Xo,Qa,this.fb);a.yf(No,this.O8.value,this.fb);a.yf("content",gO(this.Wp),this.fb);return a};
r.Dc=function(a){if(sk==a.key)a=this.od(),this.dispatchEvent(new hO(a,!0,y(this.Vb.Bx,this.Vb,this.fb)));else if(this.Wp.hasUnsavedChanges()){a=y(this.dispose,this);var b=wu("Are you sure you want to discard your unsaved changes?");WE("Close Text Box",b,a,null,void 0,void 0,void 0,void 0);return!1}this.dispose();return!0};var zO=function(a,b){UA.call(this,void 0,!1,b);this.Sc(a);this.$a("Choose a New Sidebar Item");this.Vh((new VA).Vd(aB,!1,!0));this.Vb=new aO(a,this.v());this.Ri(!0)};B(zO,FH);w("sites.editor.chrome.SidebarWidgetDialog",zO,void 0);r=zO.prototype;
r.j=function(){zO.g.j.call(this);var a=this.$ja(this.ca),b=this.M(),a='<div class="goog-ws-element"><div class="goog-ws-list-gadget">'+(a.Nqa?'<div class="goog-ws-element-section"><table><tr><td class="goog-ws-element-icon"><div class="goog-plusone-icon" /></td><td><p><strong>+1 button</strong><br/>Add a +1 button that lets visitors recommend your pages and helps your site stand out.</p><div id="sites-layout-add-plus-one-widget"></div></td></tr></table></div>':"")+(a.Mqa?'<div class="goog-ws-element-section"><table><tr><td class="goog-ws-element-icon"><div class="goog-plusbadge-icon" /></td><td><p><strong>Google+ badge</strong><br/>Add a Google+ badge that lets visitors recommend your pages and helps your site stand out.</p><div id="sites-layout-add-plus-badge-widget"></div></td></tr></table></div>':
"")+(lb+V(a.rI)+'" /></td><td><p><strong>Navigation</strong><br/>Add links to individual pages for users of your site to quickly access</p><div id="sites-layout-add-navigation-widget"></div></td></tr></table></div>')+(lb+V(a.PCa)+'" /></td><td><p><strong>Text</strong><br/>Add text to your site\'s sidebar</p><div id="sites-layout-add-text-widget"></div></td></tr></table></div>')+(lb+V(a.G3)+'" /></td><td><p><strong>Recent site activity</strong><br/>A list of recent activity in your site</p><div id="sites-layout-add-recent-changes-widget"></div></td></tr></table></div>')+
(lb+V(a.G3)+'" /></td><td><p><strong>My recent activity</strong><br/>A list of recent activity by the currently signed-in user</p><div id="sites-layout-add-my-recent-changes-widget"></div></td></tr></table></div>')+(lb+V(a.bea)+'" /></td><td><p><strong>Countdown</strong><br/>Countdown days to a specific date</p><div id="sites-layout-add-countdown-widget"></div></td></tr></table></div>')+(lb+V(a.rI)+'"/></td><td><p><strong>Site owners</strong><br/>Display the owners of your site in your site\'s sidebar</p><div id="sites-layout-add-site-admins-widget"></div></td></tr></table></div>')+
('<div class="goog-ws-element-section" style="border:0;"><table><tr><td class="goog-ws-element-icon"><img src="'+V(a.rI)+'"/></td><td><p><strong>Page authors</strong><br/>Display recent page authors in your site\'s sidebar</p><div id="sites-layout-add-recent-authors-widget"></div></td></tr></table></div>')+"</div></div>";b.innerHTML=a};r.D=function(){zO.g.D.call(this);this.vpa()};
r.vpa=function(){this.Rh("sites-layout-add-adsense-widget",vb,"adsense");this.Rh("sites-layout-setup-adsense-widget","Setup AdSense");this.Rh("sites-layout-add-plus-one-widget",vb,"plusone");this.Rh("sites-layout-add-plus-badge-widget",vb,Wl);this.Rh("sites-layout-add-navigation-widget",vb,ik);this.Rh("sites-layout-add-text-widget",vb,Eo);this.Rh("sites-layout-add-recent-changes-widget",vb,"recentchanges");this.Rh("sites-layout-add-my-recent-changes-widget",vb,fk);this.Rh("sites-layout-add-countdown-widget",
vb,"countdown");this.Rh("sites-layout-add-site-admins-widget",vb,"siteadmins");this.Rh("sites-layout-add-recent-authors-widget",vb,"recentauthors")};r.Rh=function(a,b,c){if(a=O(a)){var e=new HE(b);e.Z(a);"Setup AdSense"==b?this.C().o(e,l,this.Bva):this.C().o(e,l,y(this.Vba,this,c));this.ha(e);return e}return null};r.Bva=function(){window.location.href=DG(webspace.baseUri,"/system/app/pages/admin/ads")};
r.Vba=function(a){if(a!=Wl||webspace.plusPageUrl){a=this.uia(a);var b=a.oA();this.dispatchEvent(new hO(a,!0,y(this.Vb.Uba,this.Vb,b[b.length-1])));this.F(!1);this.dispose()}else a=new rO,a.W5({P7:!0,U7:!0}),a.F(!0)};
r.uia=function(a){var b=String(Math.random()).substring(2),c={};a==ik?(c.type=Na,c.navigationTree="[]"):"adsense"==a?(c.type=La,c.textAndImage='checked="true"',c.adlayout="125x125"):a==Eo?(c.type=Qa,c.content=" "):"recentchanges"==a?(c.type=Oa,c.numItems=5):a==fk?(c.type=Oa,c.numItems=5,c.myLinksOnly=!0):"countdown"==a?(c.type=Ma,c.event="",c.fromDateUTC=""):"siteadmins"==a?c.type=Ya:"recentauthors"==a?c.type=Xa:"plusone"==a?c.type=Wa:a==Wl&&(c.type=Va,c.style="largeicon");a=new HN;for(var e in c)a.yf(e,
c[e],b);c=this.ca;e=c.oA();e.push(b);a.T6(c.wY());a.eP(e);return a};r.$ja=function(a){return{rI:a.sI,PCa:a.mQ,G3:a.iN,bea:a.tG,Nqa:webspace.isPublic,Mqa:webspace.features.plusBadge}};var AO=function(a,b){UA.call(this,void 0,!1,b);this.Sc(a);this.$a("Customize System Footer");this.Vb=new cO(this.ca,this.v());this.C().o(this,fg,y(this.Dc,this))};B(AO,FH);w("sites.editor.chrome.SystemFooterDialog",AO,void 0);r=AO.prototype;r.TJ=null;r.XJ=null;r.WJ=null;r.VJ=null;r.j=function(){AO.g.j.call(this);this.M().innerHTML='<label><input type="checkbox" id="hideDesktopLink" />Hide <strong>View Site as Desktop</strong> link for mobile enabled sites</label><br/><label><input type="checkbox" id="hideSignInLink" />Hide <strong>Sign in</strong> link</label><br/><label><input type="checkbox" id="hideRecentChangesLink" />Hide <strong>Recent Changes</strong> link</label><br/><label><input type="checkbox" id="hidePrintPageLink" />Hide <strong>Print Page</strong> link</label>'};
r.D=function(){AO.g.D.call(this);var a=this.v();this.TJ=a.b("hideDesktopLink");this.XJ=a.b("hideSignInLink");this.WJ=a.b("hideRecentChangesLink");this.VJ=a.b("hidePrintPageLink");this.$i(this.ca)};r.$i=function(a){this.TJ.checked=a.Xqa();this.XJ.checked=a.$qa();this.WJ.checked=a.Zqa();this.VJ.checked=a.Yqa()};r.od=function(){var a=new HN;a.GAa(this.TJ.checked);a.JAa(this.XJ.checked);a.IAa(this.WJ.checked);a.HAa(this.VJ.checked);return a};
r.Dc=function(a){if(sk==a.key){a=this.od();if(!a)return!1;this.dispatchEvent(new hO(a,!1,y(this.Vb.update,this.Vb)))}this.dispose();return!0};var BO=function(a,b){UA.call(this,void 0,!1,b);this.Sc(a);this.$a("Edit site footer");this.Vb=new dO(this.ca,this.v());this.C().o(this,fg,y(this.Dc,this))};B(BO,FH);w("sites.editor.chrome.CustomFooterDialog",BO,void 0);r=BO.prototype;r.Wp=null;r.j=function(){BO.g.j.call(this);this.M().innerHTML='<div class="goog-ws-text"><div id="textBoxContent" jotId="contentEl" class="goog-ws-text-content"></div></div>';Fy(this.M().parentNode,"630px")};
r.D=function(){BO.g.D.call(this);var a=this.ca.Bia()||"",b=y(this.DJ,this);AF.er(webspace.editorResources.text).pa(sq(fO,a,b))};r.DJ=function(a){this.Wp=a;this.oa()};r.od=function(){var a=new HN;a.vya(gO(this.Wp));return a};r.Dc=function(a){sk==a.key&&(a=this.od(),this.dispatchEvent(new hO(a,!1,y(this.Vb.update,this.Vb))));this.dispose();return!0};var CO=function(a,b,c){UA.call(this,void 0,!1,c);this.Sc(a);this.$a("Edit sidebar");this.Qg=b;this.Vb=new aO(a,this.v());this.C().o(this,fg,y(this.Dc,this))};B(CO,FH);r=CO.prototype;r.xL=null;r.CN=null;r.PP=null;
r.j=function(){CO.g.j.call(this);var a=webspace.page.isSiteRtlLocale;this.M().innerHTML='<div class="sitelayout-dlg-section"><table border="0" class="sitelayout-dlg-section-border sitelayout-dlg-horizontal"><tr><td><div><h4 class="sitelayout-dlg-sidebar-group">Display</h4></div></td></tr><tr><td><div><label class="sitelayout-dlg-sidebar-group"><input id="sidebar-config-sidebar-left" name="sidePos" type="radio" class="sitelayout-dlg-sidebar-group"/> '+(a?uk:tk)+'</label></div><div><label class="sitelayout-dlg-sidebar-group"><input id="sidebar-config-sidebar-right" name="sidePos" type="radio" class="sitelayout-dlg-sidebar-group"/> '+
(a?tk:uk)+'</label></div></td><td><div><label class="sitelayout-dlg-sidebar-group">Width: <input id="sidebar-config-sidebar-width" type="text" class="text-input sitelayout-dlg-sidebar-group"'+(a?'dir="rtl"/> ':'dir="ltr"/> ')+"pixels</label></div></td></tr></table></div>"};r.D=function(){CO.g.D.call(this);var a=this.v();this.xL=a.b("sidebar-config-sidebar-left");this.CN=a.b("sidebar-config-sidebar-right");this.PP=a.b("sidebar-config-sidebar-width")};r.Oc=function(){CO.g.Oc.call(this);this.$i(this.ca)};
r.$i=function(a){this.xL.checked=a.pv();this.CN.checked=a.Vq();this.PP.value=a.yY()};r.od=function(){var a=new HN;try{a.xAa(this.Qg.h2(this.PP.value))}catch(c){return alert("Please enter a valid value for sidebar width."),null}var b=mk;this.xL.checked?b=mj:this.CN.checked&&(b=um);a.fP(b);return a};r.Dc=function(a){if(sk==a.key){a=this.od();if(!a)return!1;this.dispatchEvent(new hO(a,!1,y(this.Vb.update,this.Vb)))}this.dispose();return!0};var DO=function(a,b){E.call(this);this.P=b||N();this.Qg=new eO;this.vv=[];this.B=a;this.Gt=new xO(this.B,this.P);this.il().o(this.Gt,Jf,this.WY);this.ha(this.Gt);this.ypa()};B(DO,E);w("sites.editor.chrome.DialogManager",DO,void 0);var EO={E$:"customFooter",T$:"header",U$:gi,Faa:"sidebar",Gaa:La,Haa:Ma,Iaa:Pa,Jaa:Na,KKa:Wa,Kaa:Va,LKa:Xa,Laa:Oa,MKa:Ya,Maa:Qa,Naa:mn,Uaa:"systemFooter"};r=DO.prototype;r.HV=!1;r.B=null;r.J=null;r.Gt=null;r.K5=function(a){this.B=a};
r.ypa=function(){this.HV||(this.Do(In,"header",this.B.ov(),"Edit site header"),this.Do(Dn,gi,this.B.Sq(),"Edit horizontal navigation"),this.Do(yn,"systemFooter",!0,"Edit system footer"),this.Do(Bn,"customFooter",this.B.bB(),"Edit custom footer"),this.Do("sites-chrome-editsidebar","sidebar",!0),this.Do("sites-chrome-add-sitebarwidget",mn,!0),this.Gra(),this.HV=!0)};r.Gra=function(){for(var a=this.B.oA(),b=0;b<a.length;b++)this.p1(a[b])};
r.p1=function(a){var b=this.B.lJ(a);this.Do(Cb+a,b,!0,"Edit sidebar item",a);this.Hra(Cb+a,b)};r.Do=function(a,b,c,e,f){var g=this.P.b(a);g&&("sidebar"!=b&&b!=mn&&Gz(g,zn),Q(g,c),c&&zx(g,!0),this.vv.push(g),c=function(a){NF("Site layout","Open edit layout dialog",b);this.pra(b,f,a)},this.il().o(g,ef,c),this.il().o(g,ej,c),e&&(a=new qF(a,e,this.P,1),this.ha(a)),this.Oba(g,b))};
r.Hra=function(a,b){var c=this.P.b(a);if(c){var e=ZD(AH,{id:a,title:this.$ka(b)});Q(e,!1);this.P.yK(c,e,0);var f=this.P.b(a+"_delete");zx(f,!0);this.il().o(f,[ej,ef],y(this.Vda,this,a));this.il().o(c,[Xj,ch],y(Q,this,e,!0));this.il().o(c,Wj,y(Q,this,e,!1));this.il().o(f,Ke,y(Q,this,e,!1));this.Gt.tba(c)}};r.Oba=function(a,b){var c;"header"==b?(c=this.P.Xc(a),SN(this.P)):c=[a];QN(this.P,c)};
r.awa=function(a){if(a.id==In){a=this.P.Xc(a);var b=this.P.b(Jn);b&&b.getAttribute(yk)&&b.removeAttribute(yk)}else a=[a];RN(this.P,a)};r.$ka=function(a){return a==Na?"Navigation":a==Qa?"Text Box":a==Pa?"My recent activity":a==Oa?"Recent site activity":a==Ma?"Countdown":a==La?"AdSense":a==Ya?"Site owners":a==Xa?"Page authors":a==Wa?"+1 Button":a==Va?"Google+ Badge":"Unknown dialog type"};
r.Vda=function(a,b){if(this.H0(b)){var c=y(this.hwa,this,a),e=wu("Are you sure you want to delete this sidebar item?");WE("Delete sidebar item",e,c,null,void 0,void 0,void 0,void 0)}b.stopPropagation()};r.H0=function(a){if(a.type==ej){if(!(13==a.keyCode||Fs&&3==a.keyCode))return!1}else if(0>a.clientX||0>a.clientY)return!1;return!0};
r.hwa=function(a){var b=this.P.b(a);this.P.removeNode(b);var c=this.B.oA();a=a.substring(5);Kr(c,a)&&this.B.eP(c);this.B.Nva(a);c=y(this.pl,this,null,!0);this.B.qw(this.B,c);this.Gt.Pva(b)};
r.pra=function(a,b,c){if(this.H0(c)&&this.B){c=null;switch(a){case EO.T$:c=new iO(this.B,this.Qg,this.P);break;case EO.U$:c=new oO(this.B,this.P);break;case EO.Uaa:c=new AO(this.B,this.P);break;case EO.E$:c=new BO(this.B,this.P);break;case EO.Faa:c=new CO(this.B,this.Qg,this.P);break;case EO.Naa:c=new zO(this.B,this.P);break;case EO.Jaa:c=new oO(this.B,this.P,!0,b);break;case EO.Maa:c=new yO(this.B,this.P,b);break;case EO.Iaa:c=new wO(this.B,this.Qg,this.P,b,!0);break;case EO.Laa:c=new wO(this.B,
this.Qg,this.P,b,!1);break;case EO.Haa:c=new qO(this.B,this.P,b);break;case EO.Gaa:c=new pO(this.B,this.P,b);break;case EO.Kaa:c=new uO(this.B,b,this.P)}c&&(this.il().o(c,Jf,this.WY),c.F(!0))}};r.WY=function(a){this.P.xb().scroll(0,0);R(Vc);var b=y(this.pl,this,a.nwa||null,a.Uqa);this.B.qw(a.mda,b)};r.pl=function(a,b,c){this.B.clone(c);a&&(b?a(y(this.p1,this)):a())};r.il=function(){this.J||(this.J=new GA(this),this.ha(this.J));return this.J};
r.A=function(){for(var a=0;a<this.vv.length;a++)Iz(this.vv[a],zn),zx(this.vv[a],!1),this.awa(this.vv[a]);for(var b=this.P.oq("sites-sitelayouteditor-sidebar-widget-toolbar"),a=0;a<b.length;a++)this.P.removeNode(b[a]);DO.g.A.call(this)};var FO=function(a){U.call(this,a);this.B=null;this.Qg=new eO;this.Ub=new NM;this.Ub.Se(!1);this.Ub.wO(!0);this.OG=this.ks=this.fK=this.RJ=null};B(FO,U);r=FO.prototype;r.j=function(){FO.g.j.call(this);this.Ub.Z(this.b())};
r.D=function(){FO.g.D.call(this);Gz(this.Ub.b(),"sites-sitelayouteditor-toolbar");this.RZ=this.Ce("sites-sitelayout-icon-header","Header",Wn,y(this.pma,this));new qF(this.v().b(Wn),"Enable/disable header");this.Wx();this.e_=this.Ce("sites-sitelayout-icon-horizontal-nav","Horizontal navigation",Xn,y(this.qma,this));new qF(this.v().b(Xn),"Enable/disable horizontal navigation");this.Wx();this.X7=this.Ce("sites-sitelayout-icon-sidebar","Sidebar",Yn,y(this.coa,this));new qF(this.v().b(Yn),"Enable/disable sidebar");
this.Wx();this.gV=this.Ce("sites-sitelayout-icon-custom-footer","Custom footer",Vn,y(this.Ola,this));new qF(this.v().b(Vn),"Enable/disable custom footer");this.Wx();this.Wba()};r.Ce=function(a,b,c,e){a=ZD(BH,{id:c,ipa:[a,"sites-sitelayout-toggle-button-icon"],label:b});a=new PM(a);a.Db(16,!0);this.Ub.la(a,!0);I(a,l,e);return a};r.Wx=function(){var a=new iN;this.Ub.la(a,!0)};
r.Wba=function(){var a=ZD(CH,{isSiteRtlLocale:webspace.page.isSiteRtlLocale,Jua:"px or %"});this.v().appendChild(this.Ub.M(),a);this.kg=this.v().b("sites-sitewidth");this.sb=new qF(this.kg,"Press Enter key to save",this.v(),1);I(this.kg,ej,y(this.wZ,this));this.gN=new nN;a=this.v().b("sites-sitewidth-radio-container");this.YBa=this.KU("Theme default",a,y(this.goa,this));this.XBa=this.KU("Custom",a,y(this.foa,this))};
r.KU=function(a,b,c){a=new lN(this.v(),a);a.Z(b);a.addEventListener(l,c);this.gN.Vd(a);return a};r.goa=function(){this.kg.disabled=!0;var a=new HN;a.U6(null);R(Vc);var b=y(this.aE.update,this.aE),b=y(this.pl,this,b);this.B.qw(a,b)};r.foa=function(){this.kg.disabled=!1;this.kg.value&&this.wZ()};
r.wZ=function(a){if((!a||13==a.keyCode)&&Ly(this.b())&&!this.kg.disabled&&this.kg.value!=this.B.mJ()){a=new HN;try{this.kg.value=this.Qg.Psa(this.kg.value),a.U6(this.kg.value)}catch(c){XE("Update site width","Please enter a valid value for site width.");return}R(Vc);var b=y(this.aE.update,this.aE),b=y(this.pl,this,b);this.B.qw(a,b)}};r.xDa=function(a){this.B=a;this.$i(a);this.Nea(a);this.VBa=this.B.pv()?mj:this.B.Vq()?um:mj};
r.$i=function(a){a&&(this.RZ.Ud(a.ov()),this.e_.Ud(a.Sq()),this.X7.Ud(a.F0()),this.gV.Ud(a.bB()),a=a.mJ(),this.kg.value=a||"",a?(this.gN.kk(this.XBa),this.kg.disabled=!1):(this.gN.kk(this.YBa),this.kg.disabled=!0))};r.Nea=function(a){this.RJ=new TN(a);this.fK=new XN(a);this.ks=new aO(a);this.OG=new dO(a);this.aE=new bO(a)};r.pma=function(){this.FA(y(this.RJ.update,this.RJ))};r.qma=function(){this.FA(y(this.fK.update,this.fK))};r.coa=function(){this.FA(y(this.ks.update,this.ks))};
r.Ola=function(){this.FA(y(this.OG.update,this.OG))};r.FA=function(a){var b=this.od();R(Vc);a=y(this.pl,this,a);this.B.qw(b,a)};r.pl=function(a,b){this.B.clone(b);a()};r.od=function(){var a=new HN;a.jza(this.RZ.qf());a.kza(this.e_.qf());this.X7.qf()?a.fP(this.VBa):a.fP(mk);a.iza(this.gV.qf());return a};r.F=function(a){this.Y&&(a&&this.$i(this.B),Q(this.b(),a))};var GO=function(){J.call(this);this.Ir={};this.P=N();this.zT=this.P.b(xn)};B(GO,J);w("sites.editor.chrome.SiteLayoutEditor",GO,void 0);var HO=ms({iR:Kn}),IO=[{gt:Kn,label:Jb,style:2}],JO=["page-btns",tn];r=GO.prototype;r.gx=null;r.fD=null;r.Ep=null;r.IK=!1;r.gu=null;r.B=null;r.K5=function(a){this.B=a};r.nu=function(){if(!this.B)throw"Config was not set yet.";return this.B};r.ac=function(){return!!this.IK};GO.prototype.isActive=GO.prototype.ac;r=GO.prototype;
r.open=function(){this.T8(!1);this.Fea();this.wba();this.Dpa();QN(this.P,[this.zT]);this.Mea();this.TBa();var a=O("back-to-template-listing");a&&Q(a,!1);LN(y(this.pl,this));Gz(document.body,Mn);this.IK=!0};r.pl=function(a){xz();R("Click on the parts of your site you want to edit");this.K5(a);this.Tba();this.nda();this.tfa=new DO(this.nu());this.Ub.xDa(this.nu())};
r.close=function(){this.T8(!0);this.qfa();this.Qva();this.dwa();this.gwa();this.Woa();F(this.tfa);Iz(document.body,Mn);this.IK=!1;RN(this.P,[this.zT]);for(var a=this.P,b=a.oq("sites-sitelayout-chrome-hint"),c=0;c<b.length;c++)a.removeNode(b[c]);JOT_postEvent(lf);xz()};r.T8=function(a){for(var b=0;b<JO.length;b++){var c=O(JO[b]);c&&Q(c,a)}};
r.Fea=function(){this.fD||(this.fD=ax(d,{id:"sites-editor-savecancel"}),O("sites-page-info-bar").appendChild(this.fD));for(var a=0;a<IO.length;a++)this.wpa(IO[a]);a=YI.K();this.Ep=new aJ(y(this.Fla,this),!0);this.Ep.kp(this.Ir[Kn].b());a.lh(this.Ep,this.Ep.gq);this.Ir[Kn].b().focus()};r.wpa=function(a){var b=new HE(a.label,null,a.style);b.gt=a.gt;b.Z(this.fD);b.b().id="sites-editor-button-"+a.gt;I(b,l,this.sZ,!1,this);this.Ir[a.gt]=b};
r.qfa=function(){for(var a in this.Ir){var b=this.Ir[a];rt(b,l,this.sZ,!1,this);b.dispose();delete this.Ir[a]}YI.K().po(this.Ep);F(this.Ep)};r.wba=function(){var a=ax(Qc,{"class":"sites-site-name"},dc);this.gx=ax(d,{"class":tn},a);O("collaborator-bar-container").appendChild(this.gx)};r.Qva=function(){null!=this.gx&&(kx(this.gx),this.gx=null)};r.Dpa=function(){this.gu=new HC;this.gu.U(O(Ln));this.gu.WO(!0)};r.dwa=function(){this.gu.WO(!1);this.gu.dispose()};
r.nda=function(){this.nu().Sq()&&VN(this.P);this.nu().bB()&&WN(this.P)};r.Mea=function(){this.Ub||(this.dDa=O(Ln),this.Ub=new FO(this.P),this.Ub.Z(this.dDa))};r.TBa=function(){this.Ub.F(!0)};r.Woa=function(){this.Ub.F(!1)};r.execCommand=function(a){a==Kn&&this.close()};r.sZ=function(a){(a=a.target.gt)&&a in HO&&this.execCommand(a)};r.Fla=function(){this.execCommand(Kn)};r.Tba=function(){var a=this.nu().Vq()?Hn:Gn,a=this.P.b(a),b=ZD(DH);this.P.yK(a,b,0)};
r.gwa=function(){var a=this.P.b("sites-chrome-sidebar-editor");this.P.removeNode(a)};var KO={},LO={},MO=function(a){this.Vk=a};MO.prototype.load=function(a){if(KO[this.Vk])this.Zk(a);else if(LO[this.Vk])LO[this.Vk].pa(y(this.Zk,this,a));else{var b=webspace.editorResources[this.Vk];b?(b=AF.er(b),b.pa(y(this.rU,this)),b.pa(y(this.Zk,this,a)),LO[this.Vk]=b):(this.rU(),this.load(a))}};MO.prototype.Zk=function(a){for(var b=0;b<a.length;b++)a[b](KO[this.Vk])};MO.prototype.rU=function(){var a=this.create();KO[this.Vk]=a};var NO=function(){this.Vk="sitelayout"};B(NO,MO);eq(NO);JOT_addListener(Ek,function(){NO.K().load([function(a){a.open()}])});NO.prototype.load=function(a){for(var b in KO){var c=KO[b];if(c&&c.isActive&&c.isActive())return}NF(Cc,dc);R(zc);NO.g.load.call(this,a)};NO.prototype.create=function(){return new GO};var PO=function(a,b,c,e,f){if(OO(f))return!0;c++;if(c>e)return R("Could not permanently delete site."),!1;20==c&&R("Still deleting site...");M(function(){KG("VerifyWebspaceEntityExists",{wsName:a,domain:b},sq(PO,a,b,c,e),QO)},200+100*c);return!1},OO=function(a){return a&&(a=a.target.Fa(),v(a.exists)&&0==a.exists)?(a=DG(webspace.baseUri,"/system/app/pages/meta/dashboard/deleted"),window.location.href=a,!0):!1},QO=function(){R("Error verifying if site has been purged. Please reload.")};w("JOT_decorateButtons",function(a){a=Qw(m,th,a);for(var b=0;b<a.length;b++)Jz(a[b],"sites-convert-button")?RO(a[b]):(new rC(null,WC.K())).U(a[b])},void 0);var SO={};w("JOT_serverButtons",SO,void 0);w("JOT_getButtonForElement",function(a){a=O(a);Jz(a,wn)||(a=Ex(a,void 0,wn));return a&&1==a.parentNode.nodeType&&(a=a.className.match(/sites-button-closure-id-(\S*)/))?SO[a[1]]:null},void 0);
var RO=function(a){if(a){var b=Jz(a,"goog-button-base-disabled"),c=Sw(uh,a);Iz(c,uh);if(c.onclick){var e=y(c.onclick,c);c.onclick=null}var f=ut(c,ef,!1);zx(c,!1);a.className=zh;gx(a);var g=WC.K(),g=new rC(c,g);g.X(!b);g.ed(Bx(c));e&&I(g,l,e);for(b=0;b<f.length;b++)e=f[b],st(e.key),I(g,l,e);f=a.parentNode;if(1==f.nodeType&&"A"==f.tagName){if(null!=f.onclick)I(g,l,y(f.onclick,c));else if(f.href){var h=f.href;I(g,l,function(){window.location.href=h})}lx(a,f)}c=g.I();Gz(a,wn);Gz(a,"sites-button-closure-id-"+
c);SO[c]=g;g.Z(a)}};function CN(a,b,c){var e=1500-(b||"").length-1;if(0>=e)return null;a.length>e&&(a=a.substring(0,e));c&&null!=b&&(a=b+"/"+a);return a}function TO(a,b,c,e,f){for(var g="",h=0;h<a.length;h++){var k=a.charCodeAt(h);32==k?c||(g+="-"):45==k&&c||95==k&&f||45>k||45<k&&48>k||57<k&&65>k||90<k&&95>k||96==k||122<k&&161>k||e&&126<k||(g+=a.charAt(h))}g=g.replace(/-+$/,"");g=g.replace(/^_+/,"");return b?g.toLowerCase():g}w("getValidWebspaceUrl",TO,void 0);
function UO(a){a.requestPath||(a.requestPath=(new Gx(new String(window.location))).getPath())}w("JOT_revertToRevision",function(a,b,c,e){R("Please wait...");e&&(e=e.parentNode,gx(e),e.appendChild(document.createTextNode("Reverting...")));KG("RevertToVersion",{sourcePage:b,rev:c},function(b){b=b.target.Fa();b.error?R(b.error):(b=DG(webspace.baseUri,a),b+=sb+c,window.location.href=b)},function(){R("An error occured while reverting the page.")})},void 0);
w("JOT_restoreWebspace",function(a){R("Restoring webspace...");KG("RestoreWebspace",{webspace:a},function(b){b=b.target.Fa();b.error?R(b.error):(b=DG(webspace.domain.toLowerCase()==bg?"/site/"+a:"/a/"+webspace.domain+"/"+a,"/"),window.location.href=b+"?webspaceRestored=true")},function(){R("An error occured while restoring the webspace.")},Hc,!0,null,!0)},void 0);
w("JOT_purgeWebspace",function(a,b){VO('Permanently delete site "'+(a+'"?'),"Deleting this site will also permanently delete all of its contents. <br/><br/> Are you sure you want to continue?",null,"Delete",function(){R("Permanent deletion in progress...");b&&b();KG("DeleteSite",{webspace:a,makePermanent:!0},function(b){b=b.target.Fa();b.error?R(b.error):PO(a,webspace.domain.toLowerCase(),0,1E3)},function(){R("An error occured while permanently deleting the webspace.")},Hc,!0,null,!0)}).F(!0)},void 0);
function WO(a){a=O(a);var b=wq.get("jotxtok");a.name=$i;a.value=b}var XO=null,YO=function(a){webspace.page.autosave?R("Recovering edit from draft...."):R(zc);var b=AF.er(webspace.editorResources.text);b.pa(function(){if(!XO){var b="draft"==webspace.page.state;XO=new (cq("sites.editor.PageEditor"))(b,a)}return XO});return b};JOT_addListener(Vk,function(a){XO&&XO.isActive&&XO.isActive()||YO(null!=a&&null!=a.eventSrc&&!!a.eventSrc.justCreated).pa(function(a){a.open(!1)})});
JOT_addListener(lf,function(){var a=Qw("html");a[0]&&a[0].focus()});JOT_addListener("recoverEdit",function(){AF.er(webspace.editorResources.text).pa(function(){JOT_DRAFTMAN_showRecoverDraftDialog()})});window.onbeforeunload||(window.onbeforeunload=function(){if(XO&&XO.editing&&XO.hasUnsavedChanges())return"Your changes have not been saved."});
w("JOT_manageEditMode",function(){if(window.location.href.match(/#edit\s*$/)){var a=window.location.href.replace(/#edit\s*$/,"#");window.location.replace(a);JOT_postEvent(Vk)}},void 0);w("MSG_JOT_DIALOG_YES","Yes",void 0);w("MSG_JOT_DIALOG_NO","No",void 0);w("JOT_getJotDialogById",function(a){return QH[a]},void 0);function VO(a,b,c,e,f,g,h,k,n,q){a=new RH({Rx:e,dba:f,K0:c,$F:g,ida:h,dH:k,template:b,title:a,mEa:!0,Yx:q});b=null;a.hc&&(b=a.hc.Qk);VE(a,b);return a}w("JOT_createDialog",VO,void 0);
function lO(a,b,c,e,f,g,h,k){var n=new AN;n.DB(a);a=g||function(a){return Qq(a[Dj])};b=new BN(n,!1,webspace,b,f,void 0,h,k);b.Nw(a);b.FD(!0);c&&1==c.nodeType||(e=EG(byId("COMP_dialog"+(e||""))),c=c?e[c]:e.treeDiv);h&&Gz(c,"sites-permissions-sitemap");gx(c);b.j();c.appendChild(b.b());b.D();return b}w("JOT_addTreeToDialog",lO,void 0);
JOT_addListener("recoverNode",function(a){if(a.payload&&a.payload.id){var b=O(a.payload.id);R("Recovering page...");b.onclick=null}webspace.yva({sourcePage:a.eventSrc},function(a){a=a.target.Fa();if(a.error)b&&(b.onclick=b.onclick),R(a.error);else{var e=DG(webspace.baseUri,a.path),e=e+(sb+a.revision);window.location.href=e}})});JOT_addListener("undoDelete",function(a){KG("UndoDelete",{sourceWuid:a.eventSrc},function(a){a.target.Fa().error?R(Bd):window.location.reload()},function(){R(Bd)})});
JOT_addListener($o,function(a){KG("BulkRecover",{wuids:[a.eventSrc]},function(a){a.target.Fa().error?R(Bd):vN()},function(){R(Bd)})});webspace.HS=function(a,b,c){KG("Asciify",a,b,c)};webspace.CV=function(a,b,c){KG("DeleteNode",a,b,c)};webspace.createNode=function(a,b,c){UO(a);KG("CreateNode",a,b,c)};webspace.saveFileCabinetNode=function(a,b,c){UO(a);KG(Rc,a,b,c)};webspace.JNa=function(a,b,c){UO(a);KG("SaveList",a,b,c)};webspace.INa=function(a,b,c){UO(a);JG("/system/services/saveConfig",a,b,c)};
webspace.iM=function(a,b,c){KG("MoveNode",a,b,c)};webspace.TMa=function(a,b,c){KG("DeleteSite",a,b,c)};webspace.fxa=function(a,b,c){KG("SavePageSettings",a,b,c)};webspace.yva=function(a,b,c){KG("RecoverNode",a,b,c)};function ZO(){var a;if(O("sites-abuse-reason-spam").checked)a="SPAM";else if(O("sites-abuse-reason-phishing").checked)a="PHISHING";else if(O("sites-abuse-reason-malware").checked)a="MALWARE";else if(O("sites-abuse-reason-nudity").checked)a="NUDITY";else if(O("sites-abuse-reason-harassment").checked)a="HARASSMENT";else if(O("sites-abuse-reason-hate").checked)a="HATE";else if(O("sites-abuse-reason-regulated").checked)a="REGULATED";else if(O("sites-abuse-reason-csai").checked)a="CSAI";else if(O("sites-abuse-reason-personal-info").checked)a=
"PERSONAL_INFO";else if(O("sites-abuse-reason-impersonation").checked)a="IMPERSONATION";else if(O("sites-abuse-reason-other").checked)a="UNKNOWN";else return R("Please select why you are reporting this site."),!1;var b=(new Gx(window.location)).cb("src"),b={abuseReason:a,opt_contentPath:b},c=O("sites-abuse-reporter-email");c&&Fq(c.value)&&(b.opt_reporterEmail=c.value);KG("ReportAbuse",b,function(b){b=b.target.Fa();if(b.error)R(b.error);else if("IMPERSONATION"==a){b=window.location;var c;c=mu("https://support.google.com/sites/?p=impersonation");
b.href=ju(c)}else R("Abuse report submitted")},function(){R("An error occurred saving the abuse report.")})}w("JOT_reportAbuse",ZO,void 0);w("JOT_reportAbuseInit",function(){var a=O("sites-admin-settings-submit");if(a){var b=new HE;b.U(a);I(b,l,ZO);b.X(!0)}if(a=O(sn))b=new TG(document.referrer||webspace.baseUri),b.U(a),I(b,l,b.Vl),b.X(!0)},void 0);function $O(){KG("RemoveAccess",{},function(a){a=a.target.Fa();a.error?"Only Owner"==a.error?R("Can not remove the only owner of the site."):R(ld):(R("You have been removed from this site."),a=webspace.baseUri.match(/\/.*\//)[0],window.location.href=a+rn)},function(){R(ld)})}w("JOT_removeAccess",$O,void 0);
w("JOT_removeAccessInit",function(){var a=O("sites-remove-access-privilege");if(a){var b=new HE;b.U(a);I(b,l,$O);b.X(!0)}if(a=O(sn))b=new TG(document.referrer||webspace.baseUri),b.U(a),I(b,l,b.Vl),b.X(!0)},void 0);function aP(){EF({productId:"70",bucket:"sites_general_feedback"},{})}w(vc,aP,void 0);w(vc,aP,void 0);var bP=function(a,b,c,e,f){function g(a){a&&(a.tabIndex=0,rA(a,h.Fd()),T(a,"goog-zippy-header"),h.AH(a),h.lga(a))}J.call(this);this.ba=f||N();this.tj=this.ba.b(a)||null;this.Xp=this.ba.b(e||null);this.Wc=(this.yB=kq(b)?b:null)||!b?null:this.ba.b(b);this.hf=1==c;v(c)||this.yB||(this.Xp?this.hf=Ly(this.Xp):this.tj&&(this.hf=BA(this.tj,Uh)));this.N0=new GA(this);this.fM=new GA(this);var h=this;g(this.tj);g(this.Xp);this.je(this.hf)};B(bP,J);r=bP.prototype;r.un=!0;
r.A=function(){bP.g.A.call(this);F(this.N0);F(this.fM)};r.Fd=function(){return"tab"};r.M=function(){return this.Wc};r.expand=function(){this.je(!0)};r.collapse=function(){this.je(!1)};r.toggle=function(){this.je(!this.hf)};r.je=function(a){this.Wc?Q(this.Wc,a):a&&this.yB&&(this.Wc=this.yB());this.Wc&&T(this.Wc,"goog-zippy-content");this.Xp?(Q(this.tj,!a),Q(this.Xp,a)):this.GQ(a);this.Mw(a);this.dispatchEvent(new cP(Oo,this,this.hf))};r.Mw=function(a){this.hf=a};
r.GQ=function(a){this.tj&&(FA(this.tj,Uh,a),FA(this.tj,"goog-zippy-collapsed",!a),S(this.tj,Ng,a))};r.BD=function(a){this.un!=a&&((this.un=a)?(this.AH(this.tj),this.AH(this.Xp)):this.fM.removeAll())};r.lga=function(a){a&&this.N0.o(a,dj,this.nC)};r.AH=function(a){a&&this.fM.o(a,ef,this.mC)};r.nC=function(a){if(13==a.keyCode||32==a.keyCode)this.toggle(),this.MV(),a.preventDefault(),a.stopPropagation()};r.mC=function(){this.toggle();this.MV()};r.MV=function(){this.dispatchEvent(new G(l,this))};
var cP=function(a,b,c){G.call(this,a,b);this.Hga=c};B(cP,G);var dP=function(a,b,c,e){e=e||N();var f=e.j(d,{style:"overflow:hidden"});b=e.b(b);b.parentNode.replaceChild(f,b);f.appendChild(b);this.jz=f;this.nh=null;bP.call(this,a,b,c,void 0,e);a=this.hf;this.jz.style.display=a?"":lk;this.GQ(a)};B(dP,bP);r=dP.prototype;r.oca=500;r.nca=tz;r.aqa=function(){return null!=this.nh};
r.je=function(a){if(this.hf!=a||this.nh){this.jz.style.display==lk&&(this.jz.style.display="");var b=this.M().offsetHeight,c;this.nh?(a=this.hf,tt(this.nh),this.nh.stop(!1),c=parseInt(this.M().style.marginTop,10),c=b-Math.abs(c)):c=a?0:b;this.GQ(a);this.nh=new gz([0,c],[0,a?b:0],this.oca,this.nca);I(this.nh,["begin",Yd,Gg],this.Wsa,!1,this);I(this.nh,Gg,y(this.Xsa,this,a));this.nh.play(!1)}};r.Wsa=function(a){var b=this.M();b.style.marginTop=a.y-b.offsetHeight+p};
r.Xsa=function(a){a&&(this.M().style.marginTop="0");tt(this.nh);this.Mw(a);this.nh=null;a||(this.jz.style.display=lk);this.dispatchEvent(new cP(Oo,this,a))};var eP=function(a){U.call(this,a)};B(eP,U);eP.prototype.j=function(){this.Sa(this.v().j("FORM",{method:Hc,style:"display:none"}))};eP.prototype.Vua=function(a,b,c){var e=this.b();e||(this.Z(),e=this.b());e.action=b||"";e.target=c||"";this.Uza(e,a);e.submit()};eP.prototype.Uza=function(a,b){var c,e,f=[];for(c in b)e=b[c],hq(e)?D(e,y(function(a){f.push(this.EU(c,String(a)))},this)):f.push(this.EU(c,String(e)));Mw(a,Gu(f))};eP.prototype.EU=function(a,b){return Du(Ci,{type:ai,name:a,value:b})};var fP=function(){this.cga=this.Ny("share-email-attachment",ec);this.ega=this.Ny("share-email-collaborators",fc);this.r7=this.Ny("share-share","Share...");this.eV=this.Ny("share-current-user-request-access","Request edit access...")},gP=null;fP.prototype.Ny=function(a,b){var c={};c.label=b;c.visible=!0;c.hint=b;return new fI(a,c)};
fP.prototype.vDa=function(a,b,c,e,f,g,h,k){e=1==e;var n=30<=a;a=!b&&(n||c)&&e;c=!b&&(c||n||e&&g);f=!b&&e&&f;b=!b&&g&&!n&&e&&h;k?k.MNa(f,a,c,b):(this.cga.X(f),this.ega.X(a),this.r7.X(c),this.eV.X(b),this.eV.F(b))};var hP=function(a){return null!=a&&(!x(a)||!Dq(ar(a)))&&(!gq(a)||!Gr(a))&&(!lq(a)||!gs(a))};var jP=function(a,b,c,e,f,g){this.Fb=a;this.fa=String(b);this.lxa=c||"user";this.msa=!!e;this.jpa=Dq(ar(f))?null:iP(f);this.Iwa=!!g},kP=new K,iP=Pu;r=jP.prototype;r.getName=function(){return this.Fb};r.I=function(){return this.fa};r.clone=function(a){var b=this.rk();a&&os(b,a);a=b.scopeType;return kP.Xb(a)?kP.get(a).call(void 0,b):new jP(b.name,b.id,b.scopeType,b.me,b.iconUrl,b.requiresKey)};
r.rk=function(){var a={};a.iconUrl=this.jpa;a.scopeType=this.lxa;a.name=this.Fb;a.id=this.fa;a.me=this.msa;a.requiresKey=this.Iwa;return Xr(a,hP)};r.toString=function(){return"<scope id="+this.I()+", name="+this.getName()+">"};var lP=function(a,b,c,e,f,g,h){jP.call(this,a,b,"user",e,f,h);this.uj=c||null;this.Zpa=g||null};B(lP,jP);lP.prototype.getEmail=function(){return this.uj};lP.prototype.rk=function(){var a=lP.g.rk.call(this);a.email=this.uj;a.invitedEmail=this.Zpa;return Xr(a,hP)};var mP=function(a){return new lP(a.name,a.id,a.email,a.me,a.iconUrl,a.invitedEmail,a.requiresKey)};kP.set("user",mP);var nP=function(a,b,c,e,f,g,h,k,n){this.sa=a;this.iQ=b;this.bH=c;this.I4=e||0;this.A4=v(f)?f:!0;this.M0=g||null;this.bz=h||null;this.B4=!!k;this.MJ=v(n)?n:!1};nP.prototype.Iq=function(){return this.MJ};nP.prototype.rk=function(){var a={};a.visibilityState=this.sa;a.summary=this.iQ;a.details=this.bH;a.role=this.I4;a.restrictedToDomain=this.A4;this.M0&&(a.key=this.M0);this.bz&&(a.domainDisplayName=this.bz);a.restrictedToSingleUserScope=this.B4;a.hasInvalidEntries=this.MJ;return Xr(a,hP)};
var oP=function(a){return new nP(a.visibilityState,a.summary,a.details,a.role,a.restrictedToDomain,a.key,a.domainDisplayName,a.restrictedToSingleUserScope,a.hasInvalidEntries)};nP.prototype.Jka=function(){var a={};a.state=this.sa;a.summary=this.iQ;a.FV=this.bH;a.kw=this.A4;this.bz&&(a.oNa=this.bz);a.yNa=this.I4;a.PNa=Ct(this.rk());a.lw=this.B4;a.Iq=this.MJ;return a};var pP=function(a){E.call(this);this.vEa=a.userRole||0;this.bga=!!a.editorsCanInvite;this.Usa=a.numSharedUsers||0;this.VD=!!a.sharingDisabled;this.SQ=a.userScope||null;this.TH=!!a.exportable;this.Yo=a.visibilitySetting||null;this.UD=a.shareableUrl||null;this.uN=!!a.requestShareEnabled;this.s7=a.shareAppPath||null};B(pP,E);r=pP.prototype;r.zq=function(){return this.vEa};r.Qz=function(){return this.bga};r.bJ=function(){return this.Usa};r.nl=function(){return this.Yo};r.sP=function(a){this.Yo=a};
r.rk=function(){var a={};a.userRole=this.zq();a.editorsCanInvite=this.Qz();a.numSharedUsers=this.bJ();a.sharingDisabled=this.VD;a.userScope=this.SQ?this.SQ.rk():null;a.exportable=this.TH;this.nl()&&(a.visibilitySetting=this.nl().rk());a.shareableUrl=this.UD;a.requestShareEnabled=this.uN;a.shareAppPath=this.s7;return a};var qP=function(a,b,c,e,f,g){this.k_=a;this.Sn=b;this.es=c;this.$h=e;this.a1=f||null;this.o9=g||null};qP.prototype.getMessage=function(){return this.Sn};qP.prototype.rk=function(){var a={};a.iconId=this.k_;a.learnMoreUrl=this.a1;a.message=this.getMessage();a.showInDialog=this.es;a.timeout=this.$h;a.undoFn=this.o9;return a};var rP=function(){E.call(this)};B(rP,E);r=rP.prototype;r.Wa=function(a,b,c){c=new TB(b,c);this.j3(c,a,b);return c};r.LDa=function(a,b,c,e,f,g,h,k){this.fwa(a);this.j3(a,null,h,0);g=!jq(g)||1==g;c?this.HE(a,!1,!1,!1):e?this.HE(a,!0,g&&!!f,g):30<=b?this.HE(a,!0,g&&!!f,g):this.HE(a,g&&!!k,g&&!!f,!1)};r.fwa=function(a){for(var b=a.iia(),c=0;c<b.length;c++){var e=a.dl(b[c]);switch(e.ca){case Ag:case Bg:case Mm:case Xm:a.removeChild(e,!0)}}};
r.HE=function(a,b,c,e){a.Ua(function(a){switch(a.ca){case Xm:v(b)&&a.X(b);break;case Ag:v(e)&&a.X(e);break;case Bg:v(c)&&a.X(c)}})};r.j3=function(a,b,c,e){c=this.DI(c);b&&c.push(new SB);jq(e)?vr(c,function(b){a.Xe(b,e,!0)}):D(c,function(b){a.la(b,!0)});b=a.b();BA(b,Eh)&&DA(b,Eh)};r.DI=function(a){var b=[],c=this.vka(a);b.push(c);c=new OB("Advanced...",Pd,a);b.push(c);c=new SB(a);c.Sc(Mm);b.push(c);c=new OB(fc,Ag,a);b.push(c);a=this.Oia(a);b.push(a);return b};
r.vka=function(a){return new OB("Share...",Xm,a)};r.Oia=function(a){return new OB(ec,Bg,a)};var sP=function(a,b){U.call(this,b);this.Cc=a};B(sP,U);sP.prototype.Ya="info";sP.prototype.cM=!1;var tP={info:"jfk-butterBar-info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};r=sP.prototype;r.Aa=function(){return this.Ya};r.Ue=function(a){if(this.M()){var b=this.b(),c=tP[a];DA(b,tP[this.Ya]);T(b,c)}this.Ya=a};r.mb=function(a){this.Cc=a;if(a=this.b()){var b=this.v();b.wf(a);b.append(a,this.Cc)}};r.R=function(){var a=this.b();return null!=a&&BA(a,Mi)};
r.F=function(a){C(this.Y,"setVisible must only be called after the butter bar is rendered.");FA(this.b(),Mi,a)};r.u6=function(a){this.cM=a;(a=this.b())&&FA(a,"jfk-butterBar-mini",this.cM)};r.j=function(){this.Sa(this.v().j(m,"jfk-butterBar"));C(this.b(),"The DOM element for the butter bar cannot be null.");this.uca();this.mb(this.Cc);this.u6(this.cM);this.Ue(this.Ya)};r.uca=function(){var a=this.b();a&&(S(a,tj,we),S(a,xe,Wo))};var uP=function(a,b){this.Wua=a;this.P=b||N();this.hj=null;this.es=!1;this.Jo=0};B(uP,E);
uP.prototype.uBa=function(a,b){var c,e=a.k_;switch(e){case "copy":c="share-butter-copy-icon";break;case "specificPeople":c="share-butter-specific-people-icon";break;case "personLink":c="share-butter-person-link-icon"}this.hj&&this.mN();var f=this.P,g=f.j(Qc);c&&e!=lk&&(c=f.j(Qc,["apps-share-sprite","share-butter-icon",c]),f.append(g,c));c=f.j(Qc,"share-butter-message",a.getMessage());f.append(g,c);if(c=a.a1)c=f.j("A",{target:Gd,href:c,"class":Zm,tabIndex:"0"},xc),f.append(g,"\u00a0","\u00a0"),f.append(g,
c);var h=a.o9;if(h){var k=f.j(Qc,{"class":Zm,tabIndex:"0"},"Undo");k.onclick=function(){h();k.onclick=dq};f.append(g,"\u00a0","\u00a0");f.append(g,k)}this.hj=f.j(d,["share-butterbar-container","share-butterbar-top","share-butterbar-zindex"]);g=new sP(g,f);g.Z(this.hj);S(g.b(),tj,"off");g.F(!0);this.es=a.es;f.appendChild(this.es&&b?b:document.body,this.hj);this.Sua(this.hj,b);this.Jo=window.setTimeout(y(this.mN,this),a.$h)};
uP.prototype.mN=function(){this.hj&&(kx(this.hj),this.hj=null,delete this.hj,window.clearTimeout(this.Jo))};uP.prototype.Sua=function(a,b){var c=parseInt(ny(a,Rp),10);if(this.es&&b){var e=parseInt(ny(b,mj),10),f=parseInt(ny(b,So),10),g=parseInt(ny(b,Rp),10),h=parseInt(ny(a,$h),10);ry(a,e+(g-c)/2,this.Wua?0:f+h/2)}else a.style.left="50%",a.style.marginLeft=-(c/2)+p};var vP=function(a){UA.call(this,void 0,!1,a);this.yO(!1);this.tO(!0);this.Vh(null);VE(this,"")};B(vP,UA);vP.prototype.F=function(a){var b=this.b(),c=this.v();FA(b,"share-client-offscreen",!a);this.w6(a);a?(this.oa(),vP.g.F.call(this,!0)):(b.style.right="",b.style.left="",b.style.top="");for(var c=c.ti(pi,null,this.M()),e=0;e<c.length;e++)c[e].tabIndex=a?"0":"-1";b.tabIndex=a?"0":"-1";this.Tc.tabIndex=a?"0":"-1";b.setAttribute("aria-hidden",!a);a||this.dispatchEvent("n")};
vP.prototype.D=function(){vP.g.D.call(this);var a=this.Eu();a&&S(a,ai,!0)};var wP=function(a){J.call(this);this.P=a||N()};B(wP,J);r=wP.prototype;r.St=null;r.J=null;r.pd=!1;r.vi=function(){return this.J||(this.J=new GA(this))};r.v=function(){return this.P};r.Vf=function(){this.Bl()||(this.WA(),this.pd=!0)};r.Bl=function(){return this.pd};r.uja=function(){return PD('<div class="share-client-loading-contents"><div class="share-client-spinner"> </div></div>').sk()};r.tka=function(){return new rP};r.uka=function(){return RB.K()};r.vY=function(){return NB.K()};
r.Opa=function(){if(!this.St){var a=new UA(void 0,!0,this.v());a.Z();a.Vh(fB());a.$a("");this.vi().o(a,bi,this.dma).o(a,bn,this.ema);VE(a,$A.key);T(a.b(),"share-client-error-dialog");this.St=a}};r.dma=function(){this.dispatchEvent("errorHidden")};r.ema=function(){this.dispatchEvent("errorShown")};r.A7=function(a,b){var c=this.St;a&&(c||(this.Opa(),c=this.St),c.Uw(vu(b||"")));c&&c.F(a)};r.A=function(){F(this.St);F(this.J);wP.g.A.call(this)};r.WA=dq;r.o6=dq;r.Y6=dq;
r.uza=function(a){a&&this.dispatchEvent("beforeLoad");this.o6(a);a||this.dispatchEvent(Qd)};var xP=function(a){wP.call(this,a);this.Qa=new vP(a);this.vi().o(this.Qa,fg,this.Tla).o(this.Qa,"n",this.Sla);this.t0=!1;this.TF=new uP(!1,a);this.ha(this.TF)};B(xP,wP);r=xP.prototype;r.JL=null;r.Tla=function(){this.F(!1);this.dispatchEvent(Zo);return!1};r.Sla=function(){this.dispatchEvent(Zo)};r.Rla=function(a){this.BP(a.target)&&(this.Qa.b().blur(),this.Qa.b().focus())};r.BP=function(a){return rx(this.Qa.b(),a)};
r.WA=function(){var a=this.Qa;a.Y||a.Z();this.Npa();T(a.b(),"share-client-dialog");this.vi().o(a.b(),ef,this.Rla);Q(a.b(),!0);this.F(!1)};r.R=function(){return this.t0};r.F=function(a){var b=this.Qa;b.Y||this.Vf();b.F(a);this.t0=a;this.TF.mN()};r.o6=function(a){var b=this.JL;a&&!b&&(b=new UA(void 0,!0,this.v()),b.Uw(this.uja()),b.Vh(null),b.$a(Ac),this.vi().o(b,bi,this.Nma),this.JL=b,b.Z(),T(b.b(),"share-client-loading-dialog"));b&&b.F(a)};
r.Npa=function(){var a=this.v(),b=this.Qa.Dj(),c=a.j(d,{"class":"share-client-debug"});a.appendChild(b,c)};r.Nma=function(){this.dispatchEvent(Yo)};r.mb=function(a){this.Qa.Uw(a)};r.FI=function(){return this.Qa.M()};r.$a=function(a,b){var c=this.v().ti(oc,void 0,this.FI());0<c.length&&(c[0].title=a);FA(this.Qa.nn(),"share-client-dialog-hidden-title",b);this.Qa.$a(b?"":a)};
r.resize=function(a,b){var c=this.FI();c.style.width=a+p;c.style.height=b+p;this.Er();H&&(c=Vw(document),Rs(8)&&c||(c=c?0:18,this.Qa.b().style.width=a+c+p))};r.Er=function(){var a=Ww().height,b=this.Qa.b();if(this.R()&&0<a&&b&&!this.fra(b,a)){var c=py(b)==bh?0:this.v().Pf().y;P(b,So,a-Iy(b).height+c+p)}};r.fra=function(a,b){var c=a.getBoundingClientRect();return 0<=c.top&&c.bottom<=b};r.showNotification=function(a){this.TF.uBa(a,this.Qa.b())};r.A=function(){F(this.Qa);F(this.JL);xP.g.A.call(this)};
r.Y6=function(a){FA(this.Qa.b(),"team-drive-share-client-dialog",a)};var yP=function(a,b){E.call(this);this.gb=a;this.M8=b;this.DC=[];this.M1=y(this.Yma,this);window.addEventListener(Nj,this.M1,!1);this.Jj=new K};B(yP,E);yP.prototype.Yma=function(a){if(a.origin==this.M8){try{var b=zt(a.data)}catch(e){return}var c=b.args;if(b=this.Jj.get(b.type))this.gb=a.source,this.DC&&(D(this.DC,function(a){this.sendMessage(a.messageType,a.eua)},this),this.DC=[]),b.call(null,c)}};yP.prototype.Tr=function(a,b,c){this.Jj.set(a,y(b,c))};
yP.prototype.sendMessage=function(a,b){if(this.gb){var c={};c.type=a;b&&(c.args=b);this.gb.postMessage(Ct(c),this.M8)}else this.DC.push({messageType:a,eua:b})};yP.prototype.A=function(){window.removeEventListener(Nj,this.M1,!1)};var BP=function(a,b,c){a=a||{};b=PD;a=a.g$?zP({Ff:cE("scb-button-icon  "+AP(a.g$,null,c))},null,c):"";c=PD(Xc);return b(a+c)};BP.ya="apps.share.client.templates.ShareClientButton.buttonContent";
var CP=function(a,b,c){return PD('<table class="scb-tooltip-contents"><tr><td class="scb-tooltip-icon-container">'+zP({Ff:cE(""+AP(a,null,c))},null,c)+'</td><td><div class="scb-tooltip-title">'+V(a.summary)+"</div></td></tr>"+(a.FV?'<tr><td></td><td class="scb-tooltip-text">'+V(a.FV)+ib:"")+hb+(a.vF||a.wF?'<div class="scb-tooltip-separator"></div><table class="scb-tooltip-contents"><tr class="scb-tooltip-additional"><td class="scb-tooltip-icon-container">'+(a.vF?'<span class="scb-icon '+oE(a.vF)+
ma:"")+'</td><td class="scb-tooltip-text">'+(a.wF?"<div>"+V(a.wF)+cb:"")+"</td></tr></table>":""))},zP=function(a){zE(a.Ff instanceof TD||a.Ff instanceof VD||x(a.Ff),"classes",a.Ff,"soydata.SanitizedHtmlAttribute");a=a.Ff;return PD('<span class="scb-icon apps-share-sprite'+(a?" "+oE(a):"")+ma)},AP=function(a){zE(iq(a.kw)||1===a.kw||0===a.kw,"restrictedToDomain",a.kw,Me);var b=!!a.kw;zE(iq(a.lw)||1===a.lw||0===a.lw,"restrictedToSingleUserScope",a.lw,Me);var c=!!a.lw;zE(x(a.state)||a.state instanceof
cD,"state",a.state,to);var e=a.state;zE(iq(a.Iq)||1===a.Iq||0===a.Iq,"hasInvalidEntries",a.Iq,Me);var f="";if(a.Iq)f+="scb-invalid-icon-white";else switch(lq(e)?e.toString():e){case "private":f+=c?"scb-private-icon-white":"scb-privately-shared-icon-white";break;case "unlisted":f+=b?"scb-domain-unlisted-icon-white":"scb-unlisted-icon-white";break;case im:f+=b?"scb-domain-public-icon-white":"scb-public-icon-white"}return YD(f)};var EP=function(a){U.call(this,a);this.sb=new DP(a);a=new HE("",this.v());this.la(a);this.lT=a;this.Zx=null};B(EP,U);r=EP.prototype;r.kH=null;r.Yo=null;r.$x=null;r.Cj=function(){return this.lT};r.X=function(a,b){this.lT.X(a);this.kH=!a&&v(b)?b:null;this.og()};r.x5=function(a,b){this.$x=a||null;this.Zx=b||null;this.og()};r.D=function(){EP.g.D.call(this);this.og()};r.x1=function(){var a=this.Yo;return a?a.Jka():null};r.Rra=function(){var a={},b=this.x1();b&&(a.g$=b);return a};
r.Wra=function(){var a=this.x1();if(this.$x||this.Zx)a=a||{},this.$x&&(a.wF=this.$x),this.Zx&&(a.vF=this.Zx);return a};r.sP=function(a){this.Yo=a;this.og()};r.nl=function(){return this.Yo};r.j=function(){this.Cj().j();this.Sa(this.v().createElement(jo))};r.Ka=function(a){EP.g.Ka.call(this,a);this.Cj().U(a.childNodes[0]);this.sP(FP(a))};
r.og=function(){if(this.Y){var a=this.Cj();a.as(2);var b=ZD(BP,this.Rra());a.mb(b);S(a.b(),gj,this.dia());b=this.sb;if(this.kH)b.Xh(vu(this.kH)),b.Wd(a.b());else{var c=this.Wra();c?(b.Xh(CP(c).sk()),b.Wd(a.b())):b.detach(a.b())}}};r.dia=function(){var a=this.nl();if(!a)return Xc;var b;b=Xc+(". "+a.iQ+". ");(a=a.bH)&&(b+=a);return b};var FP=function(a){if(!a)return null;a=a.getAttribute("vsjson");return a?(a=zt(Uq(a)))?oP(a):null:null};
EP.prototype.A=function(){EP.g.A.call(this);this.sb.dispose();this.Yo=null};var DP=function(a){qF.call(this,void 0,void 0,a)};B(DP,qF);DP.prototype.Xh=function(a){this.b().style.left="";this.b().style.top="";DP.g.Xh.call(this,a)};var GP=function(a,b,c,e,f,g,h,k,n,q,u,A){J.call(this);this.Gz=a;this.tb=k||new xP(e);this.ve=n||window;a=this.tb.uka();e=new TB(e,a);a=e.b();a||(e.j(),a=e.b());T(a,"goog-menu-noaccel");e.F(!1);this.km=e;a=this.tb.vY();(this.KL=new OB(this.gaa,void 0,void 0,a)).X(!1);(this.TD=new OB(this.haa,void 0,void 0,a)).X(!1);this.Cw=b;this.Pha=c;this.bBa=h||b;this.Ad=new pP({});this.P=e.v();this.Ne=f||null;this.Pua=v(g)?g:!0;this.$w=this.tb.tka();this.ph=u||null;this.Hx=!!q;this.eW=q||null;this.cBa=A||null;
this.ZBa=!1;this.CS=null;this.Xxa();this.Hx||this.SH(this.ve);b=this.KI();b.o(e,bn,this.Xma);b.o(e,l,this.aoa);b.o(this.tb,Yo,this.Jma);b.o(this.tb,Zo,this.toa);b.o(this.tb,"errorHidden",this.uoa);b.o(this.tb,"errorShown",this.GJ)};B(GP,J);r=GP.prototype;r.EE=null;r.Zs=null;r.rh=null;r.BK=!1;r.LG="share";r.cj=!1;r.lk=!1;r.$m=null;r.Yq=null;r.$r=null;r.G4=null;r.J=null;r.Zc=null;r.Gh=null;r.JN=null;r.XA=!1;r.VA=null;r.WQ=!1;r.Zo=!1;r.bj=!1;r.s1=!1;r.Hp=null;r.hC=0;r.fW=!1;r.hQ=null;r.oL=0;r.Zw=null;
r.xP=!1;r.Mva=!1;r.fv=!1;r.Y_=!1;r.gaa=Ac;r.haa="Sharing is unavailable at this time. Please try again later.";r.iaa="Sorry, sharing is unavailable at this time. Please try again later.";r.ug=null;
r.SH=function(a){this.Hx||(a.SC_setTitle=y(this.Yw,this),a.SC_resize=y(this.tb.resize,this.tb),a.SC_setVisible=y(this.f7,this),a.SC_prepareForVisible=y(this.ZM,this),a.SC_setClientModel=y(this.I5,this),a.SC_dispatchEvent=y(this.Qp,this),a.SC_handleError=y(this.Ld,this),a.SC_handleCommandComplete=y(this.VY,this),a.SC_setExecuteCommandFn=y(this.Nya,this),a.SC_switchShareApp=y(this.HCa,this),a.SC_setSetShareSystemVisibleFn=y(this.oAa,this),a.SC_setGetInterfaceVersionNumberFn=y(this.Zya,this),a.SC_getVersionNumber=
y(this.Vka,this),a.SC_rewriteUrl=y(this.Swa,this),a.SC_showNotification=y(this.GBa,this),a.SC_getAriaLiveRegion=y(this.Yha,this))};
r.Pba=function(){if(this.Hx&&!this.ug){var a=this.rh.clone().Te("").setQuery("").Sr("").toString();this.ug=new yP(null,a);this.ug.Tr("setClientModel",function(a){this.I5(a.clientModelJson)},this);this.ug.Tr("handleCommandComplete",function(a){this.VY(a.commandType,a.commandStatus)},this);this.ug.Tr(tm,function(a){this.tb.resize(a.width,a.height);this.ug.sendMessage("resizeComplete")},this);this.ug.Tr("prepareForVisible",function(){this.ZM();this.ug.sendMessage("makeBodyVisible");this.ug.sendMessage("prepareComplete")},
this);this.ug.Tr("setVisible",function(a){this.f7(a.visible)},this);this.ug.Tr("setTitle",function(a){this.Yw(a.title,a.hidden)},this);this.Yq=null;this.$m=y(function(a){this.ug.sendMessage("executeCommand",{commandType:a})},this)}};r.UDa=function(){this.Zw&&this.Zw.sP(this.Ad.nl())};r.TDa=function(){var a=this.Ad.s7;"driveshare"!=a&&(a="share");if(a!=this.LG){var b=this.rh.clone(),b=b.Te(b.getPath().replace(/[a-z]+$/,a));this.lk=!1;this.rh=b;this.LG=a}};
r.DD=function(a){var b={};b.impressionType=a;return b};r.cya=function(a){if(this.rh)throw Error("Base uri has already been set and cannot be set again.");x(a)&&(a=new Gx(a));this.rh=a;this.Hx&&this.Pba()};r.oza=function(a){a=gq(a)?a:[a];Rr(a);Tr(a);var b=this.Zc,c;if(!(c=!this.cj)){a:if(hq(a)&&hq(b)&&a.length==b.length){c=a.length;for(var e=0;e<c;e++)if(a[e]!==b[e]){b=!1;break a}b=!0}else b=!1;c=!b}c&&(this.Zc=a,this.fv=this.cj=!1,this.oL=0,this.yj(qm),this.tb.R()&&this.nP(!1))};r.Vka=function(){return 2};
r.jBa=function(a,b){var c=b&&!!b.forceFullLoad;switch(a){case wj:case Hj:return!c;case $l:return!0;default:return!1}};r.f0=function(){return 2E4<z()-this.oL};r.I5=function(a){var b=this.Ad;a=ks(a);var c=a.userScope;c&&(a.userScope=mP(c));(c=a.visibilitySetting)&&(a.visibilitySetting=oP(c));this.Ad=new pP(a);this.cj&&b.UD!=this.Ad.UD&&(this.xP=!0);this.cj=!0;this.Zo=!1;this.TDa();this.VDa();this.CQ();this.UDa();this.Qp(Md)};r.lBa=function(a){return this.ZBa?!1:a||this.km.R()?!0:!1};
r.Xma=function(){if(this.GT())this.cj?this.p3():(this.km.R()||this.km.F(!0,!0),this.FE(!0));else{this.ew();for(var a=this.$w.DI(this.P),b=a.length-1;0<=b;b--)this.Os(a[b])}};r.Ld=function(a,b){switch(a){case Ai:this.QBa(b),this.cj=this.fv=!0}};r.VY=function(a,b){var c=b==wo;switch(a){case Ai:this.V3();break;case "init_share":case "data":c&&(this.oL=z()),this.Zna(c)}};r.Zya=function(){};r.Nya=function(a){this.lk=!0;this.Yq=this.$m;this.$m=a};
r.HCa=function(a,b){var c=this.$m;this.Yq?this.$m=this.Yq:this.lk=!1;this.Yq=c;this.aG();this.yj(a,b)};r.oAa=function(a){this.$r=a};r.QBa=function(a){this.ew();if(a){var b=this.tb.vY();a=new OB(dx(document,gy(a)),void 0,void 0,b);a.X(!1);this.Os(a)}else this.Os(this.TD)};r.Swa=function(a){return this.G4?this.G4(a):a};r.GBa=function(a){this.tb.showNotification(new qP(a.iconId,a.message,a.showInDialog,a.timeout,a.learnMoreUrl,a.undoFn))};r.Yw=function(a,b){this.tb.$a(a,b)};
r.gqa=function(){return"driveshare"==this.LG};r.zq=function(){return this.Ad.zq()};r.Qz=function(){return this.Ad.Qz()};r.bJ=function(){return this.Ad.bJ()};r.rJ=function(){var a=this.Ad.zq();return this.Ad.VD?!1:40==a||30==a&&this.Ad.Qz()};r.nl=function(){return this.Ad.nl()};r.Xxa=function(a){var b=null;a&&(b=this.P.b(a));this.CS=b?b:this.P.b("docs-aria-speakable")};r.Yha=function(){return this.CS};
r.FE=function(a,b,c){this.Zc&&!Gr(this.Zc)&&(this.tb.R()?this.EE=y(this.FE,this,a,b):(a&&this.cva(),this.Zo||(this.lk?(this.Zo=!0,this.RN(c,!0)):this.lBa(b)&&(this.Zo=!0,this.Axa(),a&&this.p3()))))};r.cva=function(){this.ew();this.Os(this.KL);M(this.tda,1E4,this)};r.Axa=function(){this.WQ=!0;this.gja().src=this.KY(Ai);M(this.qda,25E3,this)};r.p3=function(){this.fv||(this.bj||this.lk?this.lk&&this.f0()&&(this.bj=!0,this.RN(void 0,!0)):(this.bj=!0,this.p5(!0)))};
r.p5=function(a){var b={};b.preload=!!a;b=this.Rka("init_share",b);this.tb.mb(b);a||this.Ow(!0);this.ZM()};r.RN=function(a,b){var c=a||{};c.itemIds||(c.itemIds=this.Zc);!c.hybrid_access_token&&this.Gh&&(c.hybrid_access_token=this.Gh);!c.adminRequest&&this.BK&&(c.adminRequest=!0);this.NH("data",c,void 0,b)};r.ew=function(){for(var a=this.km,b=this.hC,c=0;c<b;c++)a.T3(0,!0);this.hC=0;this.Qp(Lj)};r.Os=function(a){a.getParent()||(this.km.Xe(a,0,!0),this.hC++,this.Qp(Lj))};
r.KI=function(){return this.J||(this.J=new GA(this))};r.Rka=function(a,b){var c=this.rh&&this.KY(a,b);return PD('<iframe frameborder="0" src="'+(c?oE(vE(c)):"javascript:&quot;&quot;")+'" class="share-client-content-iframe"></iframe>').sk()};
r.KY=function(a,b){if(!this.rh)return Ji;var c=this.rh.clone();a==Ai&&(c=c.Te(c.getPath().replace(/[a-z]+$/,Ai)));c.W("id",this.Zc);c.W("foreignService",this.Cw);c.W("gaiaService",this.Pha);c.W("shareService",this.bBa);a!=Ai&&c.W("command",a);c.W("subapp",10);c.W("popupWindowsEnabled",this.Pua);c.W("shareUiType",ag);this.Ne&&c.W("hl",this.Ne);this.Gh?c.W("hybrid_access_token",this.Gh):c.W(Ae,this.Gz?this.Gz:"0");c.W("rand",z());b&&c.Fg().extend(b);this.Hx&&c.W("client","postMessage");this.ph&&c.W("appId",
this.ph);this.eW&&c.W("embedOrigin",this.eW);return c.toString()};
r.yj=function(a,b){b=b||{};b.itemIds=this.Zc;this.Gh&&(b.hybrid_access_token=this.Gh);this.BK&&(b.adminRequest=!0);this.SH(this.ve);var c=!0;switch(a){case Ai:case wj:case "maybe_email_collaborators":case Hj:case $l:case qm:c=!1}switch(a){case wj:case Hj:this.XN(!0)}if(!this.lk&&this.Zc&&15<this.Zc.length)this.JN=this.Zc,this.Zc=[this.Zc[0]],this.XA=!0,this.OH(a,b,!c);else if(a==Ai||a==qm)this.FE(!1,!0,b);else if(!this.GT())this.dispatchEvent(new HP(y(this.yj,this,a,b)));else if(this.dispatchEvent(new IP(a,
b))){if("invite"==a&&b.inviteFromUrl){if(this.cj&&!this.rJ())return;if(!this.cj){this.Zo||this.FE(!1,!0);this.KI().Zf(this,Md,y(this.yj,this,a,b));return}}!this.lk||this.f0()&&!this.jBa(a,b)?(this.XA&&c&&this.Ow(!0),this.OH(a,b,!c)):this.NH(a,b)}};r.OH=function(a,b,c){this.Hp=a;this.st=b;this.Ty=(new Date).getTime();this.$Aa();this.bj||(this.bj=!0,this.lk?this.RN(b,a==wj||a==Hj):this.p5(c))};
r.NH=function(a,b,c,e){if(a!=$l){b=b||{};b.itemIds||(b.itemIds=this.Zc);!b.hybrid_access_token&&this.Gh&&(b.hybrid_access_token=this.Gh);!b.adminRequest&&this.BK&&(b.adminRequest=!0);if(a==Hj||a==wj)b.aclFixerMode=b.aclFixerMode||"mail";this.SH(this.ve);this.$m(a,b,c,e)}};r.$Aa=function(){jq(this.Zs)&&jw(this.Zs);this.Zs=M(this.rda,25E3,this)};
r.Zna=function(a){this.bj=!1;var b=this.Hp,c=this.st;if(this.XA)if(this.XA=!1,this.Zc=this.JN,delete this.JN,this.Hp=null,delete this.st,delete this.Ty,a){if(b){c.itemIds=this.Zc;this.Gh&&(c.hybrid_access_token=this.Gh);this.OH(b,c);return}}else b==Hj&&this.mH();this.Ow(!1);b&&(a?(a=y(this.NH,this,b,this.st,this.Ty),M(a,10,this)):b==Hj&&this.mH(),this.Hp=null,delete this.st,delete this.Ty)};r.gja=function(){var a=this.VA;a||(this.VA=a=this.Tra());return a};
r.Tra=function(){var a=ax(pi);H&&!Rs("7")&&(a.src=Ji);var b=a.style;b.visibility=ai;b.width=b.height="10px";oC&&!Rs("419.3")?b.marginTop=b.marginLeft="-99px":(b.position=Ld,b.top=b.left="-10px");document.body.appendChild(a);return a};r.V3=function(){var a=this.VA;a&&(kx(a),this.VA=null)};r.qda=function(){this.WQ&&(this.V3(),this.WQ=!1)};r.tda=function(){this.Zo&&!this.fv&&(this.ew(),this.Os(this.TD),this.Zo=!1,this.fv=!0)};r.GT=function(){return this.Zc?!!this.Zc.length:!1};
r.iwa=function(){this.nP(!1);this.tb.mb(Ju)};r.rda=function(){if(this.bj){switch(this.Hp){case Hj:this.mH();break;case wj:case $l:break;default:this.zBa()}this.Qp(vj);this.aG()}};r.Jma=function(){this.s1&&this.aG()};r.aG=function(){this.bj&&(this.iwa(),this.bj=!1,this.Ow(!1),this.Hp=null,delete this.st,delete this.Ty)};r.Ow=function(a){this.s1=a;this.tb.uza(a);a&&this.GJ()};r.zBa=function(){this.tb.A7(!0,this.iaa)};
r.aoa=function(a){switch(a.target.getValue()){case Ag:this.fga();break;case Bg:this.dga();break;case Xm:this.aBa();break;case Pd:this.bca()}};r.dga=function(){this.yj("email_attach",this.DD(6))};r.fga=function(){this.yj(Ag,this.DD(5))};r.aBa=function(){this.yj(Xm,this.DD(2))};r.bca=function(){this.yj(Pd,this.DD(2))};r.CQ=function(){var a=this.Ad;(gP||(gP=new fP)).vDa(a.zq(),this.Y_||a.VD,this.rJ(),this.Zc.length,a.TH&&this.fW,a.uN,!!a.SQ,this.cBa||void 0)};
r.VDa=function(){this.ew();var a=this.Ad;this.hC=this.$w.DI(this.P).length;this.$w.LDa(this.km,a.zq(),a.VD,this.rJ(),a.TH&&this.fW,this.Zc.length,this.P,a.uN);this.Qp(Lj)};r.f7=function(a){a&&(this.bj=!1,this.Ow(!1),this.tb.A7(!1));this.nP(a)};r.ZM=function(){this.tb.Vf()};r.nP=function(a){a&&(this.tb.Vf(),this.tb.Y6(this.gqa()));this.tb.F(a);a?this.GJ():this.AZ()};r.XN=function(a){this.Y_=a;this.cj?this.CQ():((gP||(gP=new fP)).r7.X(!a),this.KI().Zf(this,Md,y(this.CQ,this)))};r.GJ=function(){this.dispatchEvent("uiOpened")};
r.AZ=function(){this.EE&&(this.EE(),this.EE=null);if(this.xP){this.xP=!1;var a=this.Ad.UD,b=this.Ad.nl();a&&b&&"unlisted"==b.sa&&(a=new JP(a),this.Mva?a.Lsa():this.dispatchEvent(a))}this.$r&&this.$r(!1);this.dispatchEvent("uiClosed")};r.toa=function(){this.$r&&this.$r(!1)};r.uoa=function(){this.tb.R()||this.AZ()};r.mH=function(){this.XN(!1);this.dispatchEvent(new KP(Pf))};
r.Qp=function(a,b){switch(a){case "aclFixerDone":var c=Pf;b&&b.aclFixerDoneStatus&&(c=b.aclFixerDoneStatus);this.XN(!1);this.dispatchEvent(new KP(c));break;default:this.dispatchEvent(new G(a))}};
r.A=function(){GP.g.A.call(this);jq(this.Zs)&&jw(this.Zs);this.km.dispose();delete this.km;this.Zw&&(this.Zw.dispose(),this.Zw=null);this.KL.dispose();delete this.KL;this.TD.dispose();delete this.TD;delete this.P;this.$w.dispose();delete this.$w;this.tb.dispose();delete this.tb;this.J&&(this.J.dispose(),this.J=null);this.hQ&&(this.hQ.dispose(),this.hQ=null);this.rh=this.Gh=this.Zc=null;this.Ad.dispose();delete this.Ad;this.$r=this.$m=this.Yq=null};var IP=function(){G.call(this,"beforeExecute")};
B(IP,G);var HP=function(a){G.call(this,"createItems");this.Vc=a};B(HP,G);var JP=function(a){G.call(this,"reloadSuggested");this.dBa=a};B(JP,G);JP.prototype.Lsa=function(a){var b=Px(this.dBa).cb("authkey"),c=a||window;a=Px(c.location.href).dw("userstoinvite");b&&a.W("authkey",b);var e=a.toString();e!=Px(c.location.href).toString()&&((b=this.target)&&b.dispose(),c.setTimeout(function(){c.location.href=e},0))};var KP=function(a){G.call(this,"aclFixerDone");this.rs=a};B(KP,G);KP.prototype.Ij=function(){return this.rs};var LP=function(a){xP.call(this,a);this.Jy={}};B(LP,xP);var MP={nFa:Oe,NLa:So};r=LP.prototype;r.Cc=Ju;r.t7=!0;r.Go=null;r.wP=null;r.Iy=null;r.D8="";r.fd="";
r.WA=function(){LP.g.WA.call(this);var a=this.v(),b=this.FI(),c=a.j(m),e=a.j(m);Mw(e,this.Cc);e.className="share-client-panel-dialog-share";var f={},g;for(g in MP)g=MP[g],f[g]=a.j(m);a.appendChild(b,f.top);a.appendChild(b,c);a.appendChild(b,e);a.appendChild(b,f.bottom);this.Go=e;c.className="share-client-panel-dialog-overlay";this.wP=c;this.bP(this.t7);this.Iy=f;for(g in MP)g=MP[g],f[g].className="share-client-panel-dialog-component-"+g,(a=this.Jy[g])&&this.xpa(a,g)};
r.F=function(a){LP.g.F.call(this,a);a&&this.Qa.focus()};r.$a=function(a,b){this.fd=a;this.D8&&(a=a+" - "+this.D8);LP.g.$a.call(this,a,b)};r.mb=function(a){this.Cc=a;this.Go&&Mw(this.Go,a)};r.BP=function(a){if(!LP.g.BP.call(this,a))return!1;for(var b in MP)if(b=MP[b],rx(this.Iy[b],a))return!1;return!0};r.xpa=function(a,b){a&&b&&a.Z(this.Iy[b])};r.bP=function(a){this.t7=a;var b=this.wP;if(b){if(!a){var c=Iy(this.Go);this.v4(c.width,c.height)}Q(b,!a);Ky(this.Go,a?1:.5)}};
r.vn=function(){var a=Iy(this.Go);this.resize(a.width,a.height)};r.resize=function(a,b){this.Lwa(a,b);var c=0,e;for(e in MP){e=MP[e];var f=this.Jy[e];!f||e!=So&&e!=Oe||(f.SD(a),c+=f.Dh())}LP.g.resize.call(this,a,b+c)};r.Lwa=function(a,b){var c=this.Go;c.style.width=a+p;c.style.height=b+p;this.v4(a,b)};r.v4=function(a,b){var c=this.wP;c.style.width=a+p;c.style.height=b+p};r.A=function(){for(var a in MP)a=MP[a],F(this.Jy[a]);this.Iy=this.Jy=null;LP.g.A.call(this)};var NP=function(a){this.action=a;this.wfv=!1},OP={fp:Ue,tFa:"cancel-upload",UJa:qm,pKa:"select-contacts",qKa:"select-fonts",rKa:"select-people",wKa:"set-album-sort-order",xKa:Qm,yKa:Rm,zKa:Sm,AKa:Tm,BKa:Um,CKa:Vm,DKa:Wm,JR:Kp};var PP=function(){NP.call(this,Ue)};B(PP,NP);var QP=function(a){NP.call(this,"cancel-upload");this.id=a};B(QP,NP);var RP=function(){NP.call(this,qm)};B(RP,NP);var SP=function(a,b){NP.call(this,Qm);this.appId=a;this.appOrigin=b};B(SP,NP);var TP=function(a){NP.call(this,Sm);this.wfv=!0;this.maxSizeBytes=a};B(TP,NP);var UP=function(a){NP.call(this,Rm);this.wfv=!0;this.maxItems=a};B(UP,NP);var VP=function(a){NP.call(this,Tm);this.wfv=!0;this.title=a};B(VP,NP);var WP={G$:Ud,jGa:kg,kGa:lg,lGa:mg,H$:og,sGa:vg,bHa:gh,dHa:kh,nJa:$k,CJa:bm,lKa:Bm,QKa:rn,pLa:lo,zLa:zo,YFa:Uf,EHa:ri,sJa:cl,tJa:dl,raa:el,vJa:gl,saa:fl,qaa:hl,wMa:Op,IMa:Xp,nMa:Cp,jMa:Dp,mMa:Bp,bba:Wp,Z$:Ej,mIa:Fj,hR:cf,B$:Lf,dF:al,S$:Yh,MGa:Kg,L$:"et",bFa:"attachments",iFa:Ie,mFa:Le,rFa:Se,O$:ih,sR:"icon",taa:Vl,HJa:"promo",EJa:dm,PJa:om,VLa:dp,URL:rp,xMa:Np,WFa:Qf,KJa:"quota"},XP=function(a){switch(a){case Ud:case kg:case lg:case mg:case og:case vg:case gh:case kh:case $k:case bm:case rn:case lo:case zo:return!0}return!1};var ZP=function(a){this.fa=a;this.$={}};r=ZP.prototype;r.Ta=function(a){this.Xa=a||void 0;return this};r.setQuery=function(a){this.$.query=a;return this};r.Nb=function(a){this.$.mimeTypes=a;return this};r.Mb=function(a){this.$.hideBc=a?Wo:null;return this};r.Ib=function(a,b){var c=this.$.data||{};c[a]=b;this.$.data=c;return this};r.Ha=function(a){this.$.parent=a;return this};r.Tb=function(a){this.$.cRename=a;return this};
r.rx=function(){var a=Xr(this.$,function(a){return null!==a}),a=gs(a)?null:a,a=[this.fa,this.Xa,a],b=Er(a,Pu);return a=a.slice(0,b+1)};r.toString=function(){var a=this.rx();return"("+xr(a,function(a){return Ct(a)}).join(",")+")"};r.I=function(){return this.fa};r.Eg=function(){return this.Xa};r.getOptions=function(){return ks(this.$)};r.getQuery=function(){return this.$.query};var $P=function(a){NP.call(this,Vm);this.view=a.rx()};B($P,NP);var aQ=function(a){NP.call(this,Wm);this.viewOptions=a};B(aQ,NP);var bQ=function(a){NP.call(this,Kp);this.visible=a};B(bQ,NP);var cQ={fp:Ue,wJa:jl,ZLa:gp,$La:hp,bMa:ip,LOADED:xj,jFa:"blurred",JGa:Eg,pMa:Gp,uMa:Jp,qMa:Hp,OJa:nm};var dQ=[void 0,Sk,"limited",Pg,pg,im,Vd];var eQ=function(a){ZP.call(this,dp);this.$.query=a};B(eQ,ZP);r=eQ.prototype;r.setQuery=function(){throw Error("Query cannot be set for upload views.");};r.QAa=function(a){this.$.notifications=a?Wo:null;return this};r.Ta=function(a){eQ.g.Ta.call(this,a);return this};r.Nb=function(a){eQ.g.Nb.call(this,a);return this};r.Mb=function(a){eQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){eQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){eQ.g.Ha.call(this,a);return this};
r.Tb=function(a){eQ.g.Tb.call(this,a);return this};var fQ=function(){eQ.call(this,jg)};B(fQ,eQ);r=fQ.prototype;r.EO=function(a){this.$.includeFolders=a;return this};r.Ta=function(a){fQ.g.Ta.call(this,a);return this};r.setQuery=function(a){fQ.g.setQuery.call(this,a);return this};r.Nb=function(a){fQ.g.Nb.call(this,a);return this};r.Mb=function(a){fQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){fQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){fQ.g.Ha.call(this,a);return this};r.Tb=function(a){fQ.g.Tb.call(this,a);return this};var gQ=function(a){a&&C(XP(a),"opt_viewId must be a docs view type");ZP.call(this,a||Ud)};B(gQ,ZP);r=gQ.prototype;r.zAa=function(a,b){this.$.sortKey=a;b&&(this.$.ff=b);return this};r.MO=function(a){this.$.mode=a;return this};r.Rza=function(a){v(a)?this.$.ownedByMe=a:delete this.$.ownedByMe;return this};r.BAa=function(a){this.$.starred=a;return this};r.EO=function(a){this.$.includeFolders=a;return this};r.gAa=function(a){this.$.selectFolder=a;return this};
r.Fya=function(a){this.$.docTypesDropDown=a;return this};r.h7=function(a){this.$.upload=a;return this};r.tya=function(a){this.$.createFolder=a;return this};r.xza=function(a){this.$.maxPrefetchCollections=a;return this};r.Ta=function(a){gQ.g.Ta.call(this,a);return this};r.setQuery=function(a){gQ.g.setQuery.call(this,a);return this};r.Nb=function(a){gQ.g.Nb.call(this,a);return this};r.Mb=function(a){gQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){gQ.g.Ib.call(this,a,b);return this};
r.Ha=function(a){gQ.g.Ha.call(this,a);return this};r.Tb=function(a){gQ.g.Tb.call(this,a);return this};r.Qza=function(a){this.$.ops=a;return this};r.pza=function(a){this.$.items=a;return this};r.Iza=function(a){this.$.mbl=a;return this};r.M6=function(a){this.$.sblois=a;return this};r.Oxa=function(a){this.$.eai=a;return this};r.Pxa=function(a){this.$.ail=a;return this};r.Pza=function(a){this.$.sou=a;return this};r.yfa=function(a){this.$.drois=a;return this};r.mya=function(a){this.$.cv=a.rx();return this};
r.zfa=function(a){this.$.drdis=a;return this};r.cAa=function(a){this.$.rdem=a;return this};var hQ={BFa:"cwpc",uGa:"daape",wGa:"driveGridViewSwitcherHidden",AGa:"driveSortHidden",FGa:"showAttach",HGa:"emci",IGa:Dg,GGa:"edbe",KGa:"esUsersOnly",TGa:"faceRecoPromo",eHa:"formsEnabled",wHa:"horizNav",zIa:"mineOnly",AIa:Rj,BIa:"minew",LIa:ck,PIa:"navHidden",QIa:"newDriveView",RIa:"newHorizNav",SIa:"newPhotoGridView",TIa:"npuv",bJa:"odv",qJa:"pcpfe",waa:em,sKa:"swue",EKa:Ym,FKa:"shapeSuggestions",IKa:"showroomNav",JKa:"sodw",OKa:on,cMa:sp,AMa:Qp};var iQ=function(){ZP.call(this,ri)};B(iQ,ZP);r=iQ.prototype;r.Co=function(a){this.$.site=a;return this};r.Ue=function(a){this.$.type=a;return this};r.rza=function(a){"*"==a?delete this.$.license:this.$.license=a;return this};r.Cb=function(a){this.$.imgsz=a;return this};r.J5=function(a){this.$.imgcolor=a;return this};r.DO=function(a){this.$.imgtype=a;return this};r.Vw=function(a){this.$.safe=a;return this};r.Ta=function(a){iQ.g.Ta.call(this,a);return this};
r.setQuery=function(a){iQ.g.setQuery.call(this,a);return this};r.Nb=function(a){iQ.g.Nb.call(this,a);return this};r.Mb=function(a){iQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){iQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){iQ.g.Ha.call(this,a);return this};r.Tb=function(a){iQ.g.Tb.call(this,a);return this};var jQ=function(){ZP.call(this,cl)};B(jQ,ZP);r=jQ.prototype;r.Ue=function(a){this.$.type=a;return this};r.Ta=function(a){jQ.g.Ta.call(this,a);return this};r.setQuery=function(a){jQ.g.setQuery.call(this,a);return this};r.Nb=function(a){jQ.g.Nb.call(this,a);return this};r.Mb=function(a){jQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){jQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){jQ.g.Ha.call(this,a);return this};r.Tb=function(a){jQ.g.Tb.call(this,a);return this};var kQ=function(){ZP.call(this,hl)};B(kQ,ZP);var lQ={v$:"banner",fFa:"bannergallery",sFa:Te,VGa:Ug,lHa:"gmail_themes",$Ga:"flat",P$:qh,vHa:ei,baa:Jj,EIa:"moment",aJa:"ofuser",xLa:"streamid",DLa:"tpp",WLa:jp,kMa:Ep,lMa:Fp,CMa:yj,HMa:"ytbanner"};r=kQ.prototype;r.MO=function(a){this.$.mode=a;return this};r.Ue=function(a){this.$.type=a;return this};r.h7=function(a){this.$.upload=a?Wo:null;return this};r.RAa=function(a){this.$.uploadpos=a;return this};r.Ta=function(a){kQ.g.Ta.call(this,a);return this};
r.setQuery=function(a){kQ.g.setQuery.call(this,a);return this};r.Nb=function(a){kQ.g.Nb.call(this,a);return this};r.Mb=function(a){kQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){kQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){kQ.g.Ha.call(this,a);return this};r.Tb=function(a){kQ.g.Tb.call(this,a);return this};var mQ={DoclistBlob:Vg,doc:ng,drawing:"drawing",folder:"folder",kix:ng,pres:am,spread:"spreadsheet"};var nQ=function(a){switch(a){case jg:case "DoclistBlob":case "doc":case "drawing":case "drive":case wg:case "form":case "freebird":case "kix":case "pres":case "punch":case "ritz":case "spread":return!0;default:return!1}};var oQ=function(){ZP.call(this,Cp)};B(oQ,ZP);r=oQ.prototype;r.Co=function(a){this.$.site=a;return this};r.Vw=function(a){this.$.safe=a;return this};r.Ta=function(a){oQ.g.Ta.call(this,a);return this};r.setQuery=function(a){oQ.g.setQuery.call(this,a);return this};r.Nb=function(a){oQ.g.Nb.call(this,a);return this};r.Mb=function(a){oQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){oQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){oQ.g.Ha.call(this,a);return this};
r.Tb=function(a){oQ.g.Tb.call(this,a);return this};var pQ=function(){ZP.call(this,Ej)};B(pQ,ZP);r=pQ.prototype;r.MO=function(a){this.$.mode=a;return this};r.iya=function(a,b){this.$.center=[a,b];return this};r.XAa=function(a){this.$.zoom=a;return this};r.Ta=function(a){pQ.g.Ta.call(this,a);return this};r.setQuery=function(a){pQ.g.setQuery.call(this,a);return this};r.Nb=function(a){pQ.g.Nb.call(this,a);return this};r.Mb=function(a){pQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){pQ.g.Ib.call(this,a,b);return this};
r.Ha=function(a){pQ.g.Ha.call(this,a);return this};r.Tb=function(a){pQ.g.Tb.call(this,a);return this};var qQ=function(){ZP.call(this,rp)};B(qQ,ZP);r=qQ.prototype;r.Co=function(a){this.$.site=a;return this};r.Ue=function(a){this.$.type=a;return this};r.Ta=function(a){qQ.g.Ta.call(this,a);return this};r.setQuery=function(a){qQ.g.setQuery.call(this,a);return this};r.Nb=function(a){qQ.g.Nb.call(this,a);return this};r.Mb=function(a){qQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){qQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){qQ.g.Ha.call(this,a);return this};
r.Tb=function(a){qQ.g.Tb.call(this,a);return this};var rQ=function(){ZP.call(this,Np)};B(rQ,ZP);r=rQ.prototype;r.Co=function(a){this.$.site=a;return this};r.xya=function(a){this.$.cse=a;return this};r.fAa=function(a){this.$.cseLabel=a;return this};r.fza=function(a){this.$.inUrl=a;return this};r.Vw=function(a){this.$.safe=a;return this};r.Ta=function(a){rQ.g.Ta.call(this,a);return this};r.setQuery=function(a){rQ.g.setQuery.call(this,a);return this};r.Nb=function(a){rQ.g.Nb.call(this,a);return this};r.Mb=function(a){rQ.g.Mb.call(this,a);return this};
r.Ib=function(a,b){rQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){rQ.g.Ha.call(this,a);return this};r.Tb=function(a){rQ.g.Tb.call(this,a);return this};var sQ=function(a){this.he=x(a)?new ZP(a):a;this.cc=[];this.$={}};r=sQ.prototype;r.Zda=function(a){switch(a){case ri:return new iQ;case Ej:return new pQ;case hl:return new kQ;case rp:return new qQ;case Cp:return new oQ;case Np:return new rQ}return new ZP(a)};r.Ek=function(a){this.cc.push(x(a)?this.Zda(a):a);return this};r.Dk=function(a){this.cc.push((new ZP(null)).Ta(a));return this};r.Fk=function(a){this.cc.push(a);return this};
r.Zz=function(){return"("+xr(this.cc,function(a){return a.toString()}).join(",")+")"};r.Tja=function(){var a=Xr(this.$,function(a){return null!==a});return(a=gs(a)?null:a)?Ct(Yr(a,function(a){return a.toString()})):""};r.toString=function(){if(this.he){var a=["{root:",this.he.toString(),",items:",this.Zz()],b=this.Tja();b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return this.Zz()};
r.sx=function(){var a=xr(this.cc,function(a){return a instanceof sQ?a.sx():a.rx()});return this.he?{root:this.he.rx(),items:a,options:this.getOptions()}:a};r.Uu=function(a){for(var b=this.cc,c=0;c<b.length;c++){var e=b[c];if(e instanceof sQ&&e.Uu(a)||e instanceof ZP&&e.I()==a)return!0}return!1};r.sA=function(a,b){b=b||[];for(var c=this.cc,e=0;e<c.length;e++){var f=c[e];f instanceof sQ?f.sA(a,b):f.I()==a&&b.push(f)}return b};r.getOptions=function(){return ks(this.$)};
r.qya=function(a){this.$.collapsible=a;return this};var tQ=function(a,b){ZP.call(this,Op);a&&(this.$.type=a);b&&(this.$.query=b)};B(tQ,ZP);r=tQ.prototype;r.setQuery=function(){throw Error("Query cannot be set for web camera views.");};r.Ta=function(a){tQ.g.Ta.call(this,a);return this};r.Nb=function(a){tQ.g.Nb.call(this,a);return this};r.Mb=function(a){tQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){tQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){tQ.g.Ha.call(this,a);return this};r.Tb=function(a){tQ.g.Tb.call(this,a);return this};w("picker.api.Action",cQ,void 0);w("picker.api.Action.CANCEL",Ue,void 0);w("picker.api.Action.PICKED",jl,void 0);w("picker.api.Audience",{gJa:Sk,bIa:"limited",WEa:Vd,QGa:Pg,mGa:pg,IJa:im},void 0);w("picker.api.Audience.PUBLIC",im,void 0);w("picker.api.Audience.DOMAIN_PUBLIC",pg,void 0);w("picker.api.Audience.EXTENDED_CIRCLES",Pg,void 0);w("picker.api.Audience.ALL_PERSONAL_CIRCLES",Vd,void 0);w("picker.api.Audience.LIMITED","limited",void 0);w("picker.api.Audience.OWNER_ONLY",Sk,void 0);
w("picker.api.Document",{cFa:ze,gFa:"blobId",yFa:"children",LFa:Nf,OFa:"copyable",UFa:"coverPhotoId",ZFa:Uf,eGa:dg,pGa:rg,BGa:"driveSuccess",vGa:"driveError",EMAIL:Ag,DGa:Cg,zHa:"iconUrl",AHa:"id",NHa:Fi,OHa:"isNew",PHa:"isRoot",QHa:Gi,SHa:bj,WHa:ij,XHa:jj,YHa:kj,$Ha:lj,iIa:zj,nIa:Gj,sIa:Ij,yIa:Pj,MIa:"name",XIa:ok,ZIa:"numTagged",$Ia:"numUntagged",dJa:Mk,fJa:"otherParents",jJa:"parentId",dF:al,yJa:"placeId",READ_ONLY:"readOnly",ZJa:"rpt",aKa:"rptn",fKa:"rotation",gKa:"rotationDegree",uKa:"serviceId",
bLa:"sizeBytes",lLa:ho,mLa:io,ELa:Co,FLa:"teamDriveName",ILa:Jo,TYPE:Xo,TLa:"undoable",XLa:"uploadId",YLa:"uploadMetadata",aMa:"uploadState",URL:rp,VERSION:yp,JR:Kp},void 0);w("picker.api.Document.ADDRESS_LINES","addressLines",void 0);w("picker.api.Document.AUDIENCE",ze,void 0);w("picker.api.Document.DESCRIPTION",dg,void 0);w("picker.api.Document.DURATION","duration",void 0);w("picker.api.Document.EMBEDDABLE_URL",Cg,void 0);w("picker.api.Document.ICON_URL","iconUrl",void 0);
w("picker.api.Document.ID","id",void 0);w("picker.api.Document.IS_NEW","isNew",void 0);w("picker.api.Document.LAST_EDITED_UTC",ij,void 0);w("picker.api.Document.LATITUDE",lj,void 0);w("picker.api.Document.LONGITUDE",zj,void 0);w("picker.api.Document.MIME_TYPE",Pj,void 0);w("picker.api.Document.NAME","name",void 0);w("picker.api.Document.NUM_CHILDREN",ok,void 0);w("picker.api.Document.PARENT_ID","parentId",void 0);w("picker.api.Document.PHONE_NUMBERS","phoneNumbers",void 0);
w("picker.api.Document.SERVICE_ID","serviceId",void 0);w("picker.api.Document.THUMBNAILS",Jo,void 0);w("picker.api.Document.TYPE",Xo,void 0);w("picker.api.Document.URL",rp,void 0);w("picker.api.DocsUploadView",fQ,void 0);fQ.prototype.setIncludeFolders=fQ.prototype.EO;ZP.prototype.setParent=fQ.prototype.Ha;w(Ql,gQ,void 0);gQ.prototype.setIncludeFolders=gQ.prototype.EO;gQ.prototype.setSelectFolderEnabled=gQ.prototype.gAa;gQ.prototype.setMode=gQ.prototype.MO;ZP.prototype.setParent=gQ.prototype.Ha;
gQ.prototype.setOwnedByMe=gQ.prototype.Rza;gQ.prototype.setStarred=gQ.prototype.BAa;gQ.prototype.setDocTypesDropDownEnabled=gQ.prototype.Fya;w("picker.api.DocsViewMode",{Q$:Wh,Y$:oj},void 0);w("picker.api.DocsViewMode.GRID",Wh,void 0);w("picker.api.DocsViewMode.LIST",oj,void 0);w("picker.api.Feature",hQ,void 0);w("picker.api.Feature.MULTISELECT_ENABLED",ck,void 0);w("picker.api.Feature.NAV_HIDDEN","navHidden",void 0);w("picker.api.Feature.MINE_ONLY","mineOnly",void 0);
w("picker.api.Feature.SIMPLE_UPLOAD_ENABLED",on,void 0);w("picker.api.ImageSearchView",iQ,void 0);w("picker.api.ImageSearchView.License",{NONE:"*",cKa:"r",EFa:"cr",dKa:"rwm",FFa:"crwm"},void 0);w("picker.api.ImageSearchView.License.COMMERCIAL_REUSE","cr",void 0);w("picker.api.ImageSearchView.License.COMMERCIAL_REUSE_WITH_MODIFICATION","crwm",void 0);w("picker.api.ImageSearchView.License.NONE","*",void 0);w("picker.api.ImageSearchView.License.REUSE","r",void 0);
w("picker.api.ImageSearchView.License.REUSE_WITH_MODIFICATION","rwm",void 0);w("picker.api.ImageSearchView.Size",{cLa:"qsvga",eLa:"vga",dLa:"svga",hLa:"xga",fLa:"wxga",gLa:"wxga2",WKa:"2mp",YKa:"4mp",ZKa:"6mp",aLa:"8mp",RKa:"10mp",SKa:"12mp",UKa:"15mp",VKa:"20mp",XKa:"40mp",$Ka:"70mp",TKa:"140mp"},void 0);w("picker.api.ImageSearchView.Size.SIZE_10MP","10mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_12MP","12mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_140MP","140mp",void 0);
w("picker.api.ImageSearchView.Size.SIZE_15MP","15mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_20MP","20mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_2MP","2mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_40MP","40mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_4MP","4mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_6MP","6mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_70MP","70mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_8MP","8mp",void 0);
w("picker.api.ImageSearchView.Size.SIZE_QSVGA","qsvga",void 0);w("picker.api.ImageSearchView.Size.SIZE_SVGA","svga",void 0);w("picker.api.ImageSearchView.Size.SIZE_VGA","vga",void 0);w("picker.api.ImageSearchView.Size.SIZE_WXGA","wxga",void 0);w("picker.api.ImageSearchView.Size.SIZE_WXGA2","wxga2",void 0);w("picker.api.ImageSearchView.Size.SIZE_XGA","xga",void 0);iQ.prototype.setLicense=iQ.prototype.rza;iQ.prototype.setSite=iQ.prototype.Co;iQ.prototype.setSize=iQ.prototype.Cb;
iQ.prototype.setSafeSearch=iQ.prototype.Vw;w("picker.api.MapsView",pQ,void 0);pQ.prototype.setCenter=pQ.prototype.iya;pQ.prototype.setZoom=pQ.prototype.XAa;w("picker.api.PhotoAlbumsView",jQ,void 0);w("picker.api.PhotosView",kQ,void 0);w(Tl,lQ,void 0);w("picker.api.PhotosView.Type.FEATURED",Ug,void 0);w("picker.api.PhotosView.Type.GETTY",qh,void 0);w("picker.api.PhotosView.Type.UPLOADED",jp,void 0);ZP.prototype.setParent=kQ.prototype.Ha;kQ.prototype.setType=kQ.prototype.Ue;
w("picker.api.ResourceId.generate",function(a){return a?[a.mimeType==de?"pdf":mQ[a.serviceId]||Vg,":",a.id].join(""):null},void 0);w("picker.api.Response",{PEa:l,RGa:"extraUserInputs",H$:jg,iJa:"parents",oMa:"view",tMa:Ip},void 0);w("picker.api.Response.ACTION",l,void 0);w("picker.api.Response.DOCUMENTS",jg,void 0);w("picker.api.Response.PARENTS","parents",void 0);w("picker.api.Response.VIEW",Ip,void 0);
w("picker.api.ServiceId",{w$:Je,lFa:"books",x$:Re,B$:Lf,qHa:"gready",VFa:"cportal",aGa:Vf,G$:jg,nGa:bl,qGa:"dragonflyphotos",tGa:"drive",zGa:wg,UGa:"feag",O$:ih,OGa:"et",jHa:"geodiscussion",S$:Yh,Z$:Ej,lIa:"mapspro",rIa:"media",kJa:"party",qaa:il,xJa:"places",taa:Vl,WJa:"relatedcontent",tLa:"static_themes",wLa:"stories",bba:Wp,vMa:Np,dF:al,oKa:Fm,URL:rp,xaa:"recent",TFa:"cosmo",iGa:"DoclistBlob",nR:"doc",rGa:"drawing",FORM:"form",fHa:"freebird",THa:"kix",vaa:"pres",JJa:"punch",eKa:"ritz",oLa:"spread"},
void 0);w("picker.api.ServiceId.DOCS",jg,void 0);w("picker.api.ServiceId.MAPS",Ej,void 0);w("picker.api.ServiceId.PHOTOS",il,void 0);w("picker.api.ServiceId.SEARCH_API",Fm,void 0);w("picker.api.ServiceId.URL",rp,void 0);w("picker.api.ServiceId.YOUTUBE",Wp,void 0);w("picker.api.Thumbnail",{uHa:$h,URL:rp,BMa:Rp,TYPE:Xo},void 0);w("picker.api.Thumbnail.HEIGHT",$h,void 0);w("picker.api.Thumbnail.WIDTH",Rp,void 0);w("picker.api.Thumbnail.URL",rp,void 0);
w("picker.api.Type",{SEa:Td,XEa:"android-app",aFa:"attachment",hFa:"blogger-template",kFa:"book",x$:Re,zFa:"chrome-app",hR:cf,IFa:"contact",nR:ng,LGa:Jg,L$:"et",SGa:"faces",WGa:Vg,N$:"folder",FONT:"font",R$:"group",LOCATION:"location",kIa:"map",baa:Jj,oJa:"person",pJa:bl,URL:rp,VIDEO:Ap},void 0);w("picker.api.Type.ALBUM",Td,void 0);w("picker.api.Type.DOCUMENT",ng,void 0);w("picker.api.Type.LOCATION","location",void 0);w("picker.api.Type.PHOTO",bl,void 0);w("picker.api.Type.URL",rp,void 0);
w("picker.api.Type.VIDEO",Ap,void 0);w("picker.api.VideoSearchView",oQ,void 0);w("picker.api.VideoSearchView.YOUTUBE",Yp,void 0);oQ.prototype.setSite=oQ.prototype.Co;oQ.prototype.setSafeSearch=oQ.prototype.Vw;w("picker.api.View",ZP,void 0);ZP.prototype.getId=ZP.prototype.I;ZP.prototype.setLabel=ZP.prototype.Ta;ZP.prototype.setMimeTypes=ZP.prototype.Nb;ZP.prototype.setQuery=ZP.prototype.setQuery;ZP.prototype.getQuery=ZP.prototype.getQuery;ZP.prototype.getLabel=ZP.prototype.Eg;
w("picker.api.ViewGroup",sQ,void 0);sQ.prototype.addLabel=sQ.prototype.Dk;sQ.prototype.addView=sQ.prototype.Ek;sQ.prototype.addViewGroup=sQ.prototype.Fk;sQ.prototype.setCollapsible=sQ.prototype.qya;w("picker.api.ViewId.DOCS",Ud,void 0);w("picker.api.ViewId.DOCS_IMAGES",kg,void 0);w("picker.api.ViewId.DOCS_IMAGES_AND_VIDEOS",lg,void 0);w("picker.api.ViewId.DOCS_VIDEOS",mg,void 0);w("picker.api.ViewId.DOCUMENTS",og,void 0);w("picker.api.ViewId.DRAWINGS",vg,void 0);w("picker.api.ViewId.FOLDERS",gh,void 0);
w("picker.api.ViewId.FORMS",kh,void 0);w("picker.api.ViewId.IMAGE_SEARCH",ri,void 0);w("picker.api.ViewId.MAPS",Ej,void 0);w("picker.api.ViewId.PDFS",$k,void 0);w("picker.api.ViewId.PHOTO_ALBUMS",cl,void 0);w("picker.api.ViewId.PHOTOS",hl,void 0);w("picker.api.ViewId.PHOTO_UPLOAD",gl,void 0);w("picker.api.ViewId.PRESENTATIONS",bm,void 0);w("picker.api.ViewId.RECENTLY_PICKED",om,void 0);w("picker.api.ViewId.SPREADSHEETS",lo,void 0);w("picker.api.ViewId.VIDEO_SEARCH",Cp,void 0);
w("picker.api.ViewId.WEBCAM",Op,void 0);w("picker.api.ViewId.YOUTUBE",Wp,void 0);w("picker.api.ViewToken",{rMa:0,W$:1,sMa:2},void 0);w("picker.api.ViewToken.LABEL",1,void 0);w("picker.api.ViewToken.VIEW_ID",0,void 0);w("picker.api.ViewToken.VIEW_OPTIONS",2,void 0);w("picker.api.WebCamView",tQ,void 0);w("picker.api.WebCamViewType.STANDARD",mo,void 0);var uQ=function(a,b,c){UA.call(this,a,b,c)};B(uQ,UA);var vQ=qu(Ut(Vt("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"))),wQ=qu(Ut(Vt("//apis.google.com/js/rpc.js"))),yQ=function(a,b){if(!xQ(b)){var c=b||N(document),e=c.createElement(Am);e.src=pu(a);e.type=Fo;c.N().body.appendChild(e)}},xQ=function(a){a=a&&a.xb()||window;return a.gadgets&&a.gadgets.rpc},zQ=null,AQ=function(a,b){var c=b&&b.xb()||window;if(xQ(b))a();else if(zQ)zQ.push(a);else var e=zQ=[a],f=c.setInterval(function(){if(xQ(b)){c.clearInterval(f);for(var a=
0;a<e.length;a++)e[a]();zQ=null}},100)};var BQ=function(a,b){J.call(this);this.G=a;var c=qx(this.G)?this.G:this.G?this.G.body:null;this.Rqa=!!c&&Ny(c);this.f1=I(this.G,Es?"DOMMouseScroll":Zj,this,b)};B(BQ,J);
BQ.prototype.handleEvent=function(a){var b=0,c=0,e=a.ld;e.type==Zj?(a=CQ(-e.wheelDelta,40),v(e.wheelDeltaX)?(b=CQ(-e.wheelDeltaX,40),c=CQ(-e.wheelDeltaY,40)):c=a):(a=e.detail,100<a?a=3:-100>a&&(a=-3),v(e.axis)&&e.axis===e.HORIZONTAL_AXIS?b=a:c=a);jq(this.D1)&&(b=Math.min(Math.max(b,-this.D1),this.D1));jq(this.E1)&&(c=Math.min(Math.max(c,-this.E1),this.E1));this.Rqa&&(b=-b);b=new DQ(a,e,b,c);this.dispatchEvent(b)};var CQ=function(a,b){return Fs&&(Hs||Js)&&0!=a%b?a:a/b};
BQ.prototype.A=function(){BQ.g.A.call(this);st(this.f1);this.f1=null};var DQ=function(a,b,c,e){$s.call(this,b);this.type=Zj;this.detail=a;this.deltaX=c;this.deltaY=e};B(DQ,$s);var EQ=function(a){for(;a;){if(1==a.nodeType){var b=oy(a,"overflowY");if(b==Be||b==Cm)return a}a=a.parentNode}return null};var GQ=function(a,b){var c=new BQ(a);b.ha(c);b.o(c,Zj,y(FQ,void 0,a)).o(a,Cm,y(FQ,void 0,a))},FQ=function(a,b){var c=EQ(b.target);if(!c||!rx(a,c)||c.scrollHeight==c.clientHeight||0<b.deltaY&&1>=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)b.preventDefault(),b.stopPropagation()};var HQ,IQ=function(a,b){var c=Ww(a),e=c.width-80,c=c.height-40;b&&(e-=b.left?b.left:0,e-=b.right?b.right:0,c-=b.top?b.top:0,c-=b.bottom?b.bottom:0);return new Hw(0<e?e:0,0<c?c:0)},JQ=function(a,b,c){var e;b?(b=Math.max(320,Math.min(1051,b)),c||(c=Ww(a),c=.85*c.height),e=Math.max(320,Math.min(650,c))):(c=Ww(a),b=.618*c.width,e=b<c.height?Math.round(Math.max(320,Math.min(650,.85*b))):Math.round(Math.max(320,Math.min(650,.85*c.height))),b=Math.round(e/.618));c=Ww(a);b=Math.min(b,Math.max(c.width,320));
e=Math.min(e,Math.max(c.height,320));return new Hw(b,e)};var KQ=function(a,b,c,e,f,g){UA.call(this,g?g+" "+this.Ae:this.Ae,!0,c);rw(a,hm);this.We=cr();this.bh=cr();this.Eo(a);this.Zua=e;this.Yua=f;v(void 0)?c=void 0:v(e)||v(f)?c=!0:(c=Px(a).cb(hi),HQ||(HQ=new dv(["DocVerse","fusiontables","geo","geowiki","gm","gmail-gadget","gws","hotpot","jointly",bm,"pwa",rn,"templates","trix","trix-copy-sheet","webstore"])),c=!HQ.contains(c));this.Jca=c;b&&(Px(a).cb(hi),b=this.v(),c=this.QQ(),yQ(c?wQ:vQ,b));this.hO(a);this.tO(!1);this.Vh(null)};B(KQ,uQ);r=KQ.prototype;
r.Ae="picker modal-dialog";r.Da="";r.ra=null;r.Dn=!1;r.zv=!1;r.Vc=dq;r.D=function(){KQ.g.D.call(this);GQ(this.cl(),this.C())};r.Z=function(a){KQ.g.Z.call(this,a);this.yea();T(this.b(),"picker-dialog");this.ra.src=this.Da;this.xj(y(function(a){a.setAuthToken(this.We,this.bh)},this));(a=Px(this.Da).cb(No))&&this.$a(a)};r.yea=function(){this.ra=this.ba.j(pi,{id:this.We,name:this.We,"class":"picker-frame",src:this.ku(),onload:y(this.xJ,this),frameBorder:"0"});this.M().appendChild(this.ra)};
r.ku=function(){return H&&Rs("7")&&Aq(this.Da,ji)?li:LA};r.xJ=function(){this.ra.src!=this.ku()&&(this.Dn=!0,this.C().Ca(this.v().xb(),dj,this.Dq),zx(this.ra,!0),this.R()&&this.focus())};r.Dq=function(a){27==a.keyCode&&(this.F(!1),this.Vc({action:Ue}),a.stopPropagation(),a.preventDefault())};r.xj=function(a){var b=this.v();AQ(function(){a(b.xb().gadgets.rpc)},b)};r.Eo=function(a){a=(new Gx(a)).W("rpctoken",this.bh).W("rpcService",this.We);a.Bo(ji);this.Da=a.toString();this.ra&&(this.ra.src=this.Da)};
r.Pr=function(a){this.ph=a;this.zv&&this.Lw()};r.wo=function(a){this.Vc=a;this.xj(y(function(a){a.register(this.We,y(this.AJ,this))},this))};r.AJ=function(a){var b=a.action;b==xj&&(this.zv=!0,this.ud(new bQ(this.R())),this.Lw(),this.yO(!1));b!=jl&&b!=Ue||this.F(!1);this.Vc(a)};r.Gq=function(a){return Px(this.Da).cb(a)==Wo};r.Lw=function(){this.ph&&this.ud(new SP(this.ph,window.location.protocol+"//"+window.location.host))};
r.setRelayUrl=function(a){this.xj(y(function(b){b.setRelayUrl(this.We,a)},this))};r.hO=function(a){var b=null,c=a.indexOf("/picker?");-1<c?b=a.substring(0,c+8-1):Bq(a,"/picker")&&(b=a);b&&this.setRelayUrl(b+Ka)};r.ud=function(a){this.xj(y(function(b){b.call(this.We,kl,null,a)},this))};r.AN=function(){var a=this.v().N(),a=Zw(a)||window;if(this.Gq(Ym))var b=Wy(this.Dj()),a=IQ(a,b);else a=JQ(a,this.Zua,this.Yua);Hy(this.M(),a);this.oa()};
r.oa=function(){if(this.Gq(Ym)){var a=Iy(this.b()),b=Ww(this.v().xb()),a=Math.floor(b.width/2-a.width/2);if(b=Wy(this.Dj())){var c;c=0+(b.left?b.left:0);c+=b.right?b.right:0;a=Math.floor(a-c/2)}a=0<a?a:0;b=this.v().Pf().y;ry(this.b(),a,b)}else KQ.g.oa.call(this)};r.F=function(a){if(a!=this.R()&&this.Jca){var b=this.v().xb();a?(this.AN(),this.C().o(b,tm,this.AN),this.Dn||this.C().o(b,dj,this.Dq)):(this.C().Ca(b,tm,this.AN),this.Dn||this.C().Ca(b,dj,this.Dq))}KQ.g.F.call(this,a);this.ud(new bQ(a))};
r.focus=function(){KQ.g.focus.call(this);if(this.ra&&this.Dn)try{this.ra.focus()}catch(a){}};r.QQ=function(){return Px(this.Da).cb("grugl")==Wo};var LQ=function(a){this.qsa=a.metadata;this.vd=a.serviceId;this.Da=a.url};LQ.prototype.getMetadata=function(){return this.qsa};LQ.prototype.getUrl=function(){return this.Da};var MQ=function(a){this.rp=a||"https://docs.google.com/picker";this.Fr()};r=MQ.prototype;r.cg=null;r.P=null;r.Dk=function(a){this.cg.Dk(a);return this};r.Ek=function(a){this.cg.Ek(a);return this};r.Fk=function(a){this.cg.Fk(a);return this};r.v=function(){return this.P};r.xi=function(){return this.cg.Zz()};r.Hja=function(){return this.cg.sx()};r.sA=function(a){return this.cg.sA(a)};r.Uu=function(a){return this.cg.Uu(a)};r.Lq=function(){return this.$a("")};r.Fr=function(){this.cg=new sQ;return this};
r.Pr=function(a){this.ph=a;return this};r.wo=function(a){this.Vc=a;return this};r.Q5=function(a){this.P=new Nw(a);return this};var NQ=function(a){MQ.call(this,a)};B(NQ,MQ);var OQ=function(a){U.call(this,a)};B(OQ,U);OQ.prototype.j=function(){var a=this.v(),b=a.j(m);this.Sa(b);var c=a.j(m,"picker-min-arrow-inner"),e=a.j(m,"picker-min-arrow-border");a.appendChild(b,c);a.appendChild(b,e)};OQ.prototype.G9=function(a,b){var c=this.b();P(c,mj,"");P(c,um,"");DA(a,ul);DA(a,tl);b=kA(a,b);b&1?(c.className="picker-min-arrow-down",T(a,tl)):(c.className="picker-min-arrow-up",T(a,ul))};
OQ.prototype.update=function(a,b,c){this.Y&&(c||(c=new iy(0,0,0,0)),this.G9(a,b),a=this.b(),b&4?P(a,um,-c.right+p):P(a,mj,-c.left+p))};OQ.prototype.BT=function(a,b,c){if(this.Y){this.G9(b,c);c=this.b();var e=Dy(a,b),f=Qy(c).width,e=e.x+Qy(a).width/2-f/2,e=Math.max(0,e),g=Qy(b).width;g-f&&(f=g-f,e>f&&(e=f,b.getBoundingClientRect().left+f/2>a.getBoundingClientRect().left&&(e=Math.min(e,f/2))));P(c,mj,e+p)}};var PQ=function(a,b){dC.call(this,a);zx(a,!0);rA(a,eg);this.P=b||N();this.Tq=!1;this.Tc=this.P.createElement(jo);zx(this.Tc,!0);this.Tc.style.position=Ld;S(this.Tc,ai,!0);this.Cm=!1};B(PQ,dC);r=PQ.prototype;r.Bh=null;r.v=function(){return this.P};r.YAa=function(){this.Cm=!0;this.focus(this.Tc);M(this.iw,0,this)};r.iw=function(){this.Cm=!1};r.L2=function(){ix(this.Tc,this.b());this.Bh=new MA(this.v().N());this.C().o(this.Bh,dh,this.pta).o(this.b(),dj,this.CM)};r.w2=function(){F(this.Bh);kx(this.Tc)};
r.CM=function(a){9==a.keyCode&&a.shiftKey&&a.target==this.b()&&this.YAa()};r.pta=function(a){this.Cm?this.iw():a.target==this.Tc&&M(y(this.focus,this,this.b()),0)};r.focus=function(a){try{a&&a.focus()}catch(b){}};
r.kS=function(){this.oa();if(this.Tq){var a=this.getPosition();if(a instanceof kB&&kq(this.b().getBoundingClientRect)){var b=this.fo,c=this.v().Gu().height,e=this.v().Gu().width,f=null,g=a.Nk,h=this.EEa?this.EEa.getBoundingClientRect():void 0,k=h?h.top:0,c=h?Math.min(h.bottom,c):c,e=h?Math.min(h.right,e):e,h=h?h.left:0,n=a.element.getBoundingClientRect(),q=this.b().getBoundingClientRect();if(!this.w0(g)&&q.top<k||this.w0(g)&&q.bottom>c&&n.top>k+(q.bottom-q.top))g^=1,f=new kB(a.element,g),b^=1;if(!this.x0(g)&&
q.left<h||this.x0(g)&&q.right>e&&n.right>h+(q.right-q.left))f=new kB(a.element,g^4),b^=4;f&&(this.setPosition(f),this.TO(b),this.oa())}}};r.w0=function(a){return!!(a&1)};r.x0=function(a){return!(a&4)};r.oa=function(){PQ.g.oa.call(this);var a=this.getPosition();a&&a.oa(this.Tc,this.fo,this.zu())};var QQ=function(a,b,c,e,f,g){var h=c||N(),k=h.j(m,"picker-iframe picker-min goog-menu"),n=new Gx(a),q=n.cb("minew")==Wo;q&&T(k,yl);T(k,Pl);h.appendChild(h.N().body,k);PQ.call(this,k,h);this.Tq=q;this.R()?this.JP():this.IA();this.ba=h;this.We=cr();this.bh=cr();this.Eo(a);this.ava=e||248;this.$ua=f||q?311:300;this.Bt=!!g;b&&(Px(a).cb(hi),b=this.v(),yQ(vQ,b));this.hO(a);this.f6(!1);this.Ew(!1);n.cb("hl");this.jj=new OQ(c);this.ha(this.jj);this.jj.Z(k)};B(QQ,PQ);r=QQ.prototype;r.Da="";r.ra=null;
r.rT=!1;r.Dn=!1;r.zv=!1;r.Vc=dq;r.qj=function(){if(!this.ra){this.C().o(this.v().xb(),dj,this.Dq);this.ra=this.ba.j(pi,{id:this.We,name:this.We,"class":"picker-frame",src:this.ku(),onload:y(this.xJ,this),frameBorder:"0"});this.b().appendChild(this.ra);rA(this.ra,eg);var a=Px(this.Da).cb(No);a&&yA(this.ra,a);T(this.b(),"picker-min-popup");Hy(this.ra,this.ava,this.$ua);this.ra.src=this.Da;this.xj(y(function(a){a.setAuthToken(this.We,this.bh)},this))}};
r.oa=function(){if(this.ra){QQ.g.oa.call(this);var a=this.getPosition(),b=this.fo;a instanceof kB?this.jj.BT(a.element,this.b(),b):this.jj.update(this.b(),b,this.zu());kA(this.b(),b)&1?this.ra.className="picker-min-frame-down":this.ra.className="picker-min-frame-up"}};r.ku=function(){return H&&Rs("7")&&Aq(this.Da,ji)?li:LA};r.xJ=function(){this.ra.src!=this.ku()&&(this.Dn=!0,this.C().Ca(this.v().xb(),dj,this.Dq),zx(this.ra,!0),this.R()&&M(y(this.focus,this,this.ra),0))};
r.Dq=function(a){27==a.keyCode&&(this.Ey(),a.stopPropagation(),a.preventDefault())};r.xj=function(a){var b=this.v();AQ(function(){a(b.xb().gadgets.rpc)},b)};r.Eo=function(a){a=(new Gx(a)).W("rpctoken",this.bh).W("rpcService",this.We);a.Bo(ji);this.Da=a.toString();this.ra&&(this.ra.src=this.Da)};r.Pr=function(a){this.ph=a;this.zv&&this.Lw()};r.wo=function(a){this.Vc=a;this.xj(y(function(a){a.register(this.We,y(this.AJ,this))},this))};
r.AJ=function(a){switch(a.action){case Jp:case Gp:this.oa();return;case Eg:a=a.extraUserInputs;FA(this.b(),Pl,a&&a.ewc);return;case xj:this.zv=!0;this.ud(new bQ(this.R()));this.Lw();break;case "blurred":this.b()!=this.v().N().activeElement&&this.R()&&(this.F(!1),this.Vc({action:Ue}));return;case jl:case Ue:this.F(!1)}this.Vc(a)};r.Lw=function(){this.ph&&this.ud(new SP(this.ph,window.location.protocol+"//"+window.location.host))};
r.setRelayUrl=function(a){this.xj(y(function(b){b.setRelayUrl(this.We,a)},this))};r.hO=function(a){var b=null,c=a.indexOf("/picker?");-1<c?b=a.substring(0,c+8-1):Bq(a,"/picker")&&(b=a);b&&this.setRelayUrl(b+Ka)};r.ud=function(a){a.action==qm?(this.ra&&!this.R()&&(this.b().removeChild(this.ra),this.ra=null),this.qj()):this.xj(y(function(b){b.call(this.We,kl,null,a)},this))};
r.Oc=function(){QQ.g.Oc.call(this);this.L2();this.qj();if(!this.Bt){var a=this.v().N();this.C().o(a,Uj,this.$Y,!0);if(H){var b;try{b=a.activeElement}catch(e){}for(;b&&b.nodeName==oc;){try{var c=sx(b)}catch(e){break}a=c;b=a.activeElement}this.C().o(a,Uj,this.$Y,!0)}}this.ud(new bQ(!0));lA(new Fw(0,0),this.b(),0,this.zu());this.kS();this.Dn?this.focus(this.ra):this.focus(this.b())};r.Vg=function(a){QQ.g.Vg.call(this,a);this.w2();this.ud(new bQ(!1))};
r.$Y=function(a){a=a.target;rx(this.b(),a)||this.u0(a)||!this.J0(a)||this.AP()||this.Ey()};r.Ey=function(){this.R()&&(this.F(!1),this.Vc({action:Ue}))};r.A=function(){this.rT?(kx(this.b()),QQ.g.A.call(this)):M(function(){this.rT=!0;this.A()},0,this)};var W=function(a){MQ.call(this,a);this.ib=new Gx(this.rp);this.Yr(mh);(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.Sw(a);this.Oe=[];this.aca=""};B(W,NQ);r=W.prototype;r.EL=!0;r.Ee=!1;r.Ns=function(a,b){this.Oe.push([a,b||{}]);return this};r.Ws=function(){this.getRelayUrl()||this.setRelayUrl(Px(window.location.href).Wh(void 0).Sr("").Te("/favicon.ico").toString())};
r.Vs=function(){this.Ws();if(this.ib.cb(Rj))throw Error(up);var a=new KQ(this.tk().toString(),this.EL,this.v(),this.gH,this.cH,this.aca);a.Ri(this.Ee);a.Pr(this.ph);a.wo(this.Vc);return a};r.RF=function(){this.Xk(Rj);this.Ws();var a=new QQ(this.tk().toString(),this.EL,this.v(),this.gH,this.cH,this.Bt);a.Pr(this.ph);a.wo(this.Vc);return a};r.jH=function(a){this.Bt=a;return this};r.Pp=function(a){this.ib.dw(a);return this};r.Xk=function(a){this.ib.W(a,Wo);return this};r.GI=function(){return this.Ee};
r.Dh=function(){return this.cH};r.Bu=function(){return this.ib.cb(hm)};r.getRelayUrl=function(){return this.ib.cb("relayUrl")};r.mn=function(){return this.ib.cb(Jm)};r.ee=function(){return this.ib.cb(No)};r.Tf=function(){return this.gH};r.JK=function(a){return this.ib.cb(a)==Wo};r.Aya=function(a){this.ib.W("developerKey",a);return this};r.Dw=function(a){this.ib.W(Ae,a);return this};r.AD=function(a){this.ib.W("cropMode",a);return this};r.Ri=function(a){this.Ee=a;return this};
r.HD=function(a){this.ib.W("maxSizeBytes",a);return this};r.r6=function(a){this.ib.W("maxSizeBytesPerItem",a);return this};r.Qw=function(a){this.ib.W("maxItems",a);return this};r.s6=function(a){this.ib.W("maxVD",a);return this};r.e6=function(a){this.ib.W("groupId",a);return this};r.fm=function(a){this.ib.W(hi,a);return this};r.Sw=function(a){a&&this.ib.W("origin",a);return this};r.Ur=function(a){a instanceof ZP?this.ib.W("view",a.toString()):this.ib.W("view",a);return this};
r.n6=function(a){this.ib.W("learnMore",a);return this};r.sza=function(a){this.EL=a;return this};r.Pw=function(a){this.ib.W("hl",a);return this};r.OO=function(a){this.ib.W("oauth_token",a);return this};r.Yr=function(a){this.ib.W(hm,a);return this};r.setRelayUrl=function(a){this.ib.W("relayUrl",a);return this};r.Zr=function(a){this.ib.W(Jm,a);return this};r.N6=function(a){this.ib.W("selectableMimeTypes",a);return this};r.Cb=function(a,b){this.gH=a;this.cH=b;return this};
r.bs=function(a){this.ib.W("thumbs",a);return this};r.jm=function(a){this.ib.W("uploadToAlbumId",a);return this};r.$a=function(a){this.ib.W(No,a);return this};r.e7=function(a){this.ib.W("ui",a);return this};r.XD=function(a){this.ib.W("srum",a);return this};r.tk=function(){this.Oe.length&&this.ib.W("pp",Ct(this.Oe));return this.ib.W("nav",this.xi()).clone()};w("picker.api.Picker",KQ,void 0);KQ.prototype.isVisible=UA.prototype.R;KQ.prototype.setAppId=KQ.prototype.Pr;KQ.prototype.setCallback=KQ.prototype.wo;KQ.prototype.setRelayUrl=KQ.prototype.setRelayUrl;KQ.prototype.setVisible=KQ.prototype.F;KQ.prototype.dispose=KQ.prototype.dispose;w("picker.api.PickerBuilder",W,void 0);W.prototype.addView=W.prototype.Ek;W.prototype.addViewGroup=W.prototype.Fk;W.prototype.build=W.prototype.Vs;W.prototype.disableFeature=W.prototype.Pp;W.prototype.enableFeature=W.prototype.Xk;
W.prototype.getRelayUrl=W.prototype.getRelayUrl;W.prototype.getTitle=W.prototype.ee;W.prototype.hideTitleBar=W.prototype.Lq;W.prototype.isFeatureEnabled=W.prototype.JK;W.prototype.setAppId=W.prototype.Pr;W.prototype.setAuthUser=W.prototype.Dw;W.prototype.setCallback=W.prototype.wo;W.prototype.setDeveloperKey=W.prototype.Aya;W.prototype.setDocument=W.prototype.Q5;W.prototype.setInitialView=W.prototype.Ur;W.prototype.setLocale=W.prototype.Pw;W.prototype.setMaxItems=W.prototype.Qw;
W.prototype.setOAuthToken=W.prototype.OO;W.prototype.setOrigin=W.prototype.Sw;W.prototype.setRelayUrl=W.prototype.setRelayUrl;W.prototype.setSelectableMimeTypes=W.prototype.N6;W.prototype.setSize=W.prototype.Cb;W.prototype.setTitle=W.prototype.$a;W.prototype.setUploadToAlbumId=W.prototype.jm;W.prototype.toUri=W.prototype.tk;var RQ=function(){ZP.call(this,Lf)};B(RQ,ZP);RQ.prototype.setQuery=function(a){RQ.g.setQuery.call(this,a);return this};RQ.prototype.dAa=function(){this.$.scgh=!0;return this};var SQ=function(){ZP.call(this,al)};B(SQ,ZP);r=SQ.prototype;r.Ue=function(a){this.$.type=a;return this};r.Y5=function(a){this.$.peopleFilter=a?a.Hl:void 0;return this};r.Lza=function(a){this.$.noEmailInput=a;return this};r.Ta=function(a){SQ.g.Ta.call(this,a);return this};r.setQuery=function(a){SQ.g.setQuery.call(this,a);return this};r.Nb=function(a){SQ.g.Nb.call(this,a);return this};r.Mb=function(a){SQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){SQ.g.Ib.call(this,a,b);return this};
r.Ha=function(a){SQ.g.Ha.call(this,a);return this};r.Tb=function(a){SQ.g.Tb.call(this,a);return this};var TQ=function(a){this.Hl=a};TQ.prototype.Dba=function(a){this.Hl|=a;return this};TQ.prototype.Vva=function(a){this.Hl&=~a;return this};TQ.prototype.zja=function(){return this.Hl};TQ.prototype.Joa=function(a){return 1023==a&&this.Hl!=a?!1:!!(this.Hl&a)};var UQ=function(){ZP.call(this,gl)};B(UQ,ZP);r=UQ.prototype;r.Ta=function(a){UQ.g.Ta.call(this,a);return this};r.setQuery=function(a){UQ.g.setQuery.call(this,a);return this};r.Nb=function(a){UQ.g.Nb.call(this,a);return this};r.Mb=function(a){UQ.g.Mb.call(this,a);return this};r.Ib=function(a,b){UQ.g.Ib.call(this,a,b);return this};r.Ha=function(a){UQ.g.Ha.call(this,a);return this};r.Tb=function(a){UQ.g.Tb.call(this,a);return this};var X=function(a){W.call(this,a)};B(X,W);r=X.prototype;r.Dk=function(a){return X.g.Dk.call(this,a)};r.Ek=function(a){return X.g.Ek.call(this,a)};r.Fk=function(a){return X.g.Fk.call(this,a)};r.Pp=function(a){return X.g.Pp.call(this,a)};r.Xk=function(a){return X.g.Xk.call(this,a)};r.Lq=function(){return X.g.Lq.call(this)};r.Fr=function(){return X.g.Fr.call(this)};r.Dw=function(a){return X.g.Dw.call(this,a)};r.AD=function(a){return X.g.AD.call(this,a)};r.Pw=function(a){return X.g.Pw.call(this,a)};
r.fm=function(a){return X.g.fm.call(this,a)};r.Ur=function(a){return X.g.Ur.call(this,a)};r.OO=function(a){return X.g.OO.call(this,a)};r.Yr=function(a){return X.g.Yr.call(this,a)};r.setRelayUrl=function(a){return X.g.setRelayUrl.call(this,a)};r.Zr=function(a){return X.g.Zr.call(this,a)};r.bs=function(a){return X.g.bs.call(this,a)};r.$a=function(a){return X.g.$a.call(this,a)};r.jm=function(a){return X.g.jm.call(this,a)};r.toString=function(){return this.tk().toString()};w("picker.api.Action.LOADED",xj,void 0);w("picker.api.Action.UPLOAD_PROGRESS",gp,void 0);w("picker.api.Action.UPLOAD_SCHEDULED",hp,void 0);w("picker.api.Action.UPLOAD_STATE_CHANGE",ip,void 0);w("picker.api.Document.CONTENT_ID",Nf,void 0);w("picker.api.Feature.FORMS_ENABLED","formsEnabled",void 0);w("picker.api.Feature.PROFILE_PHOTO",em,void 0);w("picker.api.Feature.URL_INPUT_VISIBLE",sp,void 0);w("picker.api.Feature.WHITE_STYLE",Qp,void 0);w("picker.api.Feature.MINIMAL_MODE",Rj,void 0);
w("picker.api.ContactsView",RQ,void 0);RQ.prototype.setSaveContactsGroupHiddenOption=RQ.prototype.dAa;w("picker.api.ImageSearchView.Type",{P$:qh,mHa:"gis",KLa:"life"},void 0);w("picker.api.ImageSearchView.Type.TIME_LIFE","life",void 0);iQ.prototype.setType=iQ.prototype.Ue;w("picker.api.PeopleView",SQ,void 0);SQ.prototype.setType=SQ.prototype.Ue;SQ.prototype.setNoEmailInput=SQ.prototype.Lza;w(Ql,gQ,void 0);gQ.prototype.setSortKey=gQ.prototype.zAa;gQ.prototype.setCreateFolderEnabled=gQ.prototype.tya;
gQ.prototype.setMaxCollectionsToPrefetch=gQ.prototype.xza;gQ.prototype.setOtherParents=gQ.prototype.Qza;gQ.prototype.setItems=gQ.prototype.pza;gQ.prototype.setMoveButtonLabel=gQ.prototype.Iza;gQ.prototype.setAddItemEnabled=gQ.prototype.Oxa;gQ.prototype.setAddItemLabel=gQ.prototype.Pxa;gQ.prototype.setOpenUrlShown=gQ.prototype.Pza;gQ.prototype.disableReadOnlyItemSelection=gQ.prototype.yfa;gQ.prototype.disableRestrictedDownloadItemSelection=gQ.prototype.zfa;
gQ.prototype.setRestrictedDownloadErrorMessage=gQ.prototype.cAa;gQ.prototype.setChildView=gQ.prototype.mya;gQ.prototype.setSelectButtonLabelOnItemSelected=gQ.prototype.M6;gQ.prototype.setSelectButtonLabelOnViewSelected=gQ.prototype.M6;w("picker.api.DocsSortKey",{GHa:1,ZHa:2,DIa:3,XJa:5,sLa:6,IR:7,cHa:8,GKa:9,dMa:10,LJa:11,N$:12,XFa:13,eMa:14,xaa:15,TJa:16,SJa:17,RJa:18},void 0);w("picker.api.DocsSortKey.IMPORTANCE",1,void 0);w("picker.api.DocsSortKey.LAST_VIEWED_DATE",2,void 0);
w("picker.api.DocsSortKey.MODIFICATION_DATE",3,void 0);w("picker.api.DocsSortKey.RELEVANCE",5,void 0);w("picker.api.DocsSortKey.STARRED",6,void 0);w("picker.api.DocsSortKey.TITLE",7,void 0);w("picker.api.DocsSortKey.FOLDER_TITLE",8,void 0);w("picker.api.DocsSortKey.SHARE_DATE",9,void 0);w("picker.api.DocsSortKey.USER_MODIFICATION_DATE",10,void 0);w("picker.api.DocsSortKey.QUOTA_BYTES_USED",11,void 0);w("picker.api.PeopleViewType",{ALL:Ud,AFa:df,gHa:"frequent",kHa:rh,dF:al,SELECTED:Km},void 0);
w("picker.api.PeopleViewType.ALL",Ud,void 0);w("picker.api.PeopleViewType.CIRCLES",df,void 0);w("picker.api.PeopleViewType.GMAIL",rh,void 0);w("picker.api.PeopleViewType.PEOPLE",al,void 0);w("picker.api.PeopleViewType.SELECTED",Km,void 0);w("picker.api.SafeSearch.OFF","off",void 0);w("picker.api.SafeSearch.STRICT",Nd,void 0);w("picker.api.SafeSearch.MODERATE","moderate",void 0);w("picker.api.PeopleViewFilter",TQ,void 0);w("picker.api.PeopleViewFilter.Group",{ALL:1023,NONE:0,nHa:1,VIa:2,zJa:4},void 0);
w("picker.api.PeopleViewFilter.Group.ALL",1023,void 0);w("picker.api.PeopleViewFilter.Group.NONE",0,void 0);w("picker.api.PeopleViewFilter.Group.GOOGLE_PLUS_USERS",1,void 0);w("picker.api.PeopleViewFilter.Group.NON_GOOGLE_PLUS_USERS",2,void 0);w("picker.api.PeopleViewFilter.Group.PLUS_PAGES",4,void 0);TQ.prototype.addGroup=TQ.prototype.Dba;TQ.prototype.removeGroup=TQ.prototype.Vva;TQ.prototype.getMask=TQ.prototype.zja;TQ.prototype.hasGroup=TQ.prototype.Joa;
w("picker.api.PhotosView.UploadPosition",{YGa:"first",VHa:"last"},void 0);w("picker.api.PhotosView.UploadPosition.FIRST","first",void 0);w("picker.api.PhotosView.UploadPosition.LAST","last",void 0);kQ.prototype.setParent=kQ.prototype.Ha;kQ.prototype.setType=kQ.prototype.Ue;kQ.prototype.setUploadEnabled=kQ.prototype.h7;kQ.prototype.setUploadPosition=kQ.prototype.RAa;w(Tl,lQ,void 0);w("picker.api.PhotosView.Type.FLAT","flat",void 0);w("picker.api.PickerAction",cQ,void 0);
w("picker.api.PickerAction.CANCEL",Ue,void 0);w("picker.api.PickerAction.LOADED",xj,void 0);w("picker.api.PickerAction.PICKED",jl,void 0);w("picker.api.PickerAction.UPLOAD_PROGRESS",gp,void 0);w("picker.api.PickerAction.UPLOAD_SCHEDULED",hp,void 0);w("picker.api.PickerAction.UPLOAD_STATE_CHANGE",ip,void 0);w("picker.api.PickerUriBuilder",X,void 0);X.prototype.addLabel=X.prototype.Dk;X.prototype.addView=X.prototype.Ek;X.prototype.addViewGroup=X.prototype.Fk;X.prototype.disableFeature=X.prototype.Pp;
X.prototype.enableFeature=X.prototype.Xk;X.prototype.getNav=X.prototype.xi;X.prototype.getProtocol=X.prototype.Bu;X.prototype.getRelayUrl=X.prototype.getRelayUrl;X.prototype.getSelectButtonLabel=X.prototype.mn;X.prototype.getTitle=X.prototype.ee;X.prototype.hideTitleBar=X.prototype.Lq;X.prototype.isFeatureEnabled=X.prototype.JK;X.prototype.resetNav=X.prototype.Fr;X.prototype.setHostId=X.prototype.fm;X.prototype.setInitialView=X.prototype.Ur;X.prototype.setProtocol=X.prototype.Yr;
X.prototype.setRelayUrl=X.prototype.setRelayUrl;X.prototype.setSelectButtonLabel=X.prototype.Zr;X.prototype.setThumbs=X.prototype.bs;X.prototype.setTitle=X.prototype.$a;X.prototype.setMaxSizeBytes=X.prototype.HD;X.prototype.setMaxSizeBytesPerItem=X.prototype.r6;X.prototype.setUploadToAlbumId=X.prototype.jm;X.prototype.toString=X.prototype.toString;X.prototype.toUri=X.prototype.tk;
w("picker.api.PostProcessorId",{REa:"atec",w$:Je,uFa:"caa",vFa:Ye,wFa:"cpaa",hR:cf,JFa:"contactPhoto",PFa:"copyphoto",QFa:"ctpa",RFa:"ctpf",$Fa:"cropphoto",xGa:"dow",yGa:xg,HHa:"ipfd",IIa:"mdisamb",eaa:"mtp",rJa:Td,raa:"photocuration",uJa:"photosharing",saa:"bulkTag",AJa:"polls",FJa:"profileBanner",waa:dm,HKa:"sptm",rLa:"sqprofile"},void 0);w("picker.api.PostProcessorId.CHANGE_ALBUM_ATTRIBUTES","caa",void 0);w("picker.api.PostProcessorId.CHANGE_PARENT_ALBUM_ATTRIBUTES","cpaa",void 0);
w("picker.api.PostProcessorOption",{TEa:"albumName",SFa:"ctta",EGa:"eata",NGa:"evid",XGa:"finalizeAlbum",BHa:oi,IHa:"includeAllDocs",CIa:Sj,eaa:"mtp",YIa:"ni",$Ja:"rps",qLa:"sqid",JR:Kp},void 0);w("picker.api.PostProcessorOption.VISIBILITY",Kp,void 0);w("picker.api.Protocol",{hHa:mh,iHa:"gapi_iframes",CHa:"ifpc",DHa:"iframes",LHa:"injected"},void 0);w("picker.api.Protocol.GADGETS",mh,void 0);w("picker.api.Protocol.IFPC","ifpc",void 0);w("picker.api.UploadConfigurationId.PHOTOS",hl,void 0);
w("picker.api.UploadView",eQ,void 0);eQ.prototype.setUploadNotificationsEnabled=ZP.prototype.QAa;w("picker.api.UrlView",qQ,void 0);qQ.prototype.setSite=qQ.prototype.Co;qQ.prototype.setType=qQ.prototype.Ue;qQ.prototype.setLabel=qQ.prototype.Ta;qQ.prototype.setQuery=qQ.prototype.setQuery;qQ.prototype.setMimeTypes=qQ.prototype.Nb;qQ.prototype.setBreadcrumbsBarHidden=qQ.prototype.Mb;qQ.prototype.addUploadMetadata=qQ.prototype.Ib;qQ.prototype.setParent=qQ.prototype.Ha;
qQ.prototype.setContainerRenameableType=qQ.prototype.Tb;w("picker.api.UrlViewType.ALL",Ud,void 0);w("picker.api.UrlViewType.IMAGE",qi,void 0);w("picker.api.UrlViewType.VIDEO",Ap,void 0);w("picker.api.VideoSearchView.GOOGLE_VIDEO","video.google.com",void 0);ZP.prototype.addUploadMetadata=ZP.prototype.Ib;ZP.prototype.setBreadcrumbsBarHidden=ZP.prototype.Mb;sQ.prototype.getItemsString=sQ.prototype.Zz;w("picker.api.ViewId.PEOPLE",al,void 0);w("picker.api.ViewId.UPLOAD",dp,void 0);
w("picker.api.commands.CancelUploadCommand",QP,void 0);w("picker.api.commands.RefreshCommand",RP,void 0);w("picker.api.commands.SetMaxItemsCommand",UP,void 0);w("picker.api.commands.SetMaxSizeBytesCommand",TP,void 0);w("picker.api.commands.SetTitleCommand",VP,void 0);w("picker.api.commands.SetViewCommand",$P,void 0);w("picker.api.commands.SetViewOptionsCommand",aQ,void 0);w("picker.api.WebSearchView",rQ,void 0);rQ.prototype.setSite=rQ.prototype.Co;rQ.prototype.setSearchLabel=rQ.prototype.fAa;
rQ.prototype.setInUrl=rQ.prototype.fza;rQ.prototype.setSafeSearch=rQ.prototype.Vw;rQ.prototype.setCustomSearchEngine=rQ.prototype.xya;w("picker.api.PhotoUploadView",UQ,void 0);KQ.prototype.sendCommand=KQ.prototype.ud;KQ.prototype.setUrl=KQ.prototype.Eo;W.prototype.addLabel=W.prototype.Dk;W.prototype.addPostProcessor=W.prototype.Ns;W.prototype.getNav=W.prototype.xi;W.prototype.getProtocol=W.prototype.Bu;W.prototype.getSelectButtonLabel=W.prototype.mn;W.prototype.resetNav=W.prototype.Fr;W.prototype.setHostId=W.prototype.fm;W.prototype.setLoadGadgetsLibrary=W.prototype.sza;W.prototype.setProtocol=W.prototype.Yr;W.prototype.setSelectButtonLabel=W.prototype.Zr;
W.prototype.setThumbs=W.prototype.bs;W.prototype.setGroupId=W.prototype.e6;W.prototype.shouldReturnUploadMetadata=W.prototype.XD;W.prototype.buildMinimal=W.prototype.RF;W.prototype.disableAutoHide=W.prototype.jH;W.prototype.setMaxVideoDurationSec=W.prototype.s6;var VQ=function(a){this.Ne=a.hl;this.Jsa=!!a[gk];this.Xn=a.oAuthToken;this.Hua=a.pimm;this.Lva=a.relayUrl;this.K4=a.rpcService;this.bh=a.rpcToken;this.Zwa=a.rpcUrl;this.$wa=Ot.test(this.Ne);this.nQ=(new Boolean(a.thirdParty)).valueOf();this.M9=a.uriPrefix||"picker/";this.hga=!!a.ecsi;this.BH=!!a.ecmh},WQ=null,XQ=function(){C(!!WQ,"Flags not initialized");return WQ};VQ.prototype.getRelayUrl=function(){return this.Lva};VQ.prototype.isNative=function(){return this.Jsa};VQ.prototype.Me=function(){return this.$wa};
VQ.prototype.mga=function(a){this.BH=a};var YQ={1:"picker-spr-google-photos-24"};var ZQ=function(a){E.call(this);a&&(WQ=new VQ(a));this.di=a.actions||{};this.gba=a.apt;this.oh=a.appContext||null;this.uj=a.email;this.vda=a.chrome;this.Qea=a.cropMode;this.efa=a.de;this.JC=a.prefetchQueryRequest;this.KC=a.prefetchUriParams;this.Xv=a.prefetchUriQuery;this.bva=a.prefetchEnabled;this.jfa=a.defaultView;this.$T=!!a.cwpc;this.ZV=!a.driveGridViewSwitcherHidden;this.G=a.element;this.sW=a.eventId;this.H1=a.maxSizeBytes||null;this.pga=!!a.enableSizeEstimation;this.iga=!!a.edbe;this.G1=a.maxItems||
null;this.ssa=a.minItems||0;this.Cga=new dv(a.excludeIds?a.excludeIds.split(","):[]);new dv(a.e?a.e.split(","):[]);this.Ym=(!!a.endv||!!a.newDriveView)&&!a.odv;this.Bt=!!a.noAutoHide;this.pEa=!!a.upvid;this.iH=!!a.dav;this.eK=!!a.horizNav||this.Ym;this.ul=a.hostId;this.fi=!!a.addMode;this.qra=a.learnMore;this.Ira=a.loadingStatusElement;this.Cfa=!!a.dnif;this.Bfa=a.dnife;this.txa=!!a.swue;var b=a.selectableMimeTypes;x(b)&&(this.j5=this.Uka(b));this.Kxa=a.serviceIds||[];this.tsa=a.mineOnly;this.YB=
!!a.multiselectEnabled;b=a.nav;if(x(b))b=At(b);else if(!gq(b))throw Error("nav must be an array");this.cg=b;this.Tn=(this.TB=!!a.minimal)&&!!a.minew;this.aC=this.TB||!!a.navHidden;this.gua=a.origin;this.W2=a.outerElement;this.eo=!1;At(a.puv);b=a.pp;x(b)&&(b=At(b));b&&b.length?(gq(b[0])||(b=[b]),D(b,function(a){a[1]||(a[1]={})})):b=[];this.Oe=b;this.z3=a.profilePhoto;this.nva=a.protocol;this.pxa=a.selectButtonLabel;this.$D=!!a.showroomNav;this.UCa=a.titleBarIconId;this.oE=gq(a.thumbs)?a.thumbs:a.thumbs&&
At(a.thumbs);this.vs=gq(a.tt)?a.tt:a.tt&&At(a.tt);this.fd=a.title;this.fQ=a.subTitle;this.Ofa=a.dfc;this.fba=a.actionPaneText;var c=a.uploadConfigs;x(c)&&(c=At(c),Wr(c,function(a,b){c[b]=new LQ(a)}));this.JE=c||{};b=a.uploadButton;x(b)&&zt(b);this.NQ=a.uploaders?a.uploaders:void 0;this.CP=!!a.srum;this.iEa=!!a.urlInputVisible;this.DEa=a.vg||Nk;this.Yfa=!a.driveSortHidden;this.lEa=!!a.grugl};B(ZQ,E);
var $Q={"application/vnd.google-apps.document":[ie],"application/vnd.google-apps.form":[he],"application/vnd.google-apps.presentation":[ke],"application/vnd.google-apps.spreadsheet":[le]};r=ZQ.prototype;r.Uka=function(a){a=new dv(At(a));for(var b in $Q)a.contains(b)&&a.addAll($Q[b]);return a};r.bl=function(){return this.oh};r.getEmail=function(){return this.uj};r.Pqa=function(){return!!this.bva};r.b=function(){return this.G};r.xH=function(a){this.fi=a};r.xi=function(){return this.cg};
r.uq=function(){return this.W2||(this.W2=Sw("picker-main-container",this.G))};r.Bu=function(){return this.nva};r.mn=function(){return this.pxa||(this.z3?"Set as profile photo":"Select")};r.Lka=function(){return YQ[this.UCa]};r.ee=function(){return this.fd};r.XD=function(){return this.CP};r.Z_=function(a){return this.di[a]};r.k0=function(){return!!this.ul&&("og"==this.ul||Aq(this.ul,"es-"))};r.Eqa=function(a){return!this.j5||this.j5.contains(a)};r.Qd=function(){return this.TB};
r.IY=function(){return this.TB?18E4:0};r.Ns=function(a){this.Oe=this.Oe||[];this.Oe.push(a)};r.At=function(a){this.iH=a};r.Wza=function(a){this.eo=a};r.Qw=function(a){this.G1=a};r.HD=function(a){this.H1=a};r.jm=function(){};r.RK=function(){return!(!this.cg.length||1!=this.cg.length||this.cg[0][0]!=al)};r.QQ=function(){return this.lEa};r.A=function(){ZQ.g.A.call(this);delete this.G;delete this.Ira};Object.freeze&&Object.freeze([]);var Y=function(a){return Y.V_(a)};Y.V_=function(a){return a+"_"};Y.lNa=function(){throw Error("xid.literal must not be used in COMPILED mode.");};Y.object=function(a){if(a&&a.constructor&&a.constructor.toString()===Object.toString()){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[Y.V_(c)]=a[c]);return b}throw Error("xid.object must be called with an object literal.");};Y.J$=!0;
Y.OMa=function(a,b){if(!Y.J$||Y.s0())return a;C(a&&typeof a==so&&"_"==a.substr(a.length-1),b||"The string <"+a+"> does not look like it was passed through xid. Did you forget to use xid?");return a};Y.s0=function(){return"a_"!=Y("a")};var aR=function(a,b){x(b)?(C(b,"NamespacedType does not allow empty type string"),C(!/[:]/.test(b),'NamespacedType does not allow ":" in type string: '+b)):C(0<=b,"NamespacedType does not allow negative type number");C(a,"NamespacedType does not accept undefined or null namespace");this.Hsa=a;this.Ya=b;this.constructor.xF||(this.constructor.xF={});var c=this.toString();C(!this.constructor.xF[c],"Registering duplicate namespaced type "+c);this.constructor.xF[c]=this};aR.prototype.bm=function(){return this.toString()};
aR.prototype.toString=function(){this.Q8||(this.Q8=this.Hsa.$I()+":"+this.Ya);return this.Q8};aR.prototype.Aa=function(){return this.Ya};var bR=function(a,b){aR.call(this,a,b)};B(bR,aR);var dR=function(a){C(!cR.hasOwnProperty(a),"Attempt to create a second Namespace with name: "+a);C(!/[^0-9a-zA-Z._]/.test(a),"Attempt to create a Namespace with invalid characters: "+a);this.Fb=a;cR[a]=this},cR;cR={};dR.prototype.$I=function(){return this.Fb};new dR("lib");var eR=function(a,b,c){C(a,"Invalid service id + "+a);if(c)for(var e=0;e<c.length;e++)C(c[e],"Invalid dependency "+c[e]+" (index in dependency array: "+e+") for service "+a);this.vd=a;this.Un=b||null;this.kfa=c||[]};eR.prototype.toString=function(){return this.vd};eR.prototype.EI=function(){return this.kfa};Y.Gc={};Y.Gc.fF="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";Y.Gc.ZE=Y.Gc.fF+"0123456789";Y.Gc.gF=Y.Gc.fF.length;Y.Gc.eF=Y.Gc.ZE.length;Y.Gc.tR=-2147483648;Y.Gc.ONa=function(a){C(6>=a.length,"Xids should not be longer than 6 characters");for(var b=0,c=a.length-1;0<=c;c--)b=b*(0==c?Y.Gc.gF:Y.Gc.eF)+Y.Gc.ZE.indexOf(a.charAt(c));return b+Y.Gc.tR};
Y.Gc.toString=function(a){var b=[],c=0;a-=Y.Gc.tR;b[c++]=Y.Gc.fF.charAt(a%Y.Gc.gF);for(a=Math.floor(a/Y.Gc.gF);0<a;)b[c++]=Y.Gc.ZE.charAt(a%Y.Gc.eF),a=Math.floor(a/Y.Gc.eF);return b.join("")};Y.hash={};Y.hash.kR=2654435769;Y.hash.Eaa=314159265;
Y.hash.XCa=function(a){a=Y.hash.tCa(a);for(var b=Y.hash.kR,c=Y.hash.kR,e=Y.hash.Eaa,f=a.length,g=f,h=0,k=function(){b-=c;b-=e;b^=e>>>13;c-=e;c-=b;c^=b<<8;e-=b;e-=c;e^=c>>>13;b-=c;b-=e;b^=e>>>12;c-=e;c-=b;c^=b<<16;e-=b;e-=c;e^=c>>>5;b-=c;b-=e;b^=e>>>3;c-=e;c-=b;c^=b<<10;e-=b;e-=c;e^=c>>>15};12<=g;g-=12,h+=12)b+=Y.hash.aI(a,h),c+=Y.hash.aI(a,h+4),e+=Y.hash.aI(a,h+8),k();e+=f;switch(g){case 11:e+=a[h+10]<<24;case 10:e+=a[h+9]<<16;case 9:e+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=
a[h+5]<<8;case 5:c+=a[h+4];case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h+0]}k();return Y.Gc.toString(e)};Y.hash.YCa=function(a){return Y.s0()||!/_$/.test(a)?a:Y.hash.XCa(a.replace(/_$/,""))};Y.hash.tCa=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b};Y.hash.aI=function(a,b){return a[b+0]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};new eR(Y("goog.ui.ActivityMonitor"));new eR(Y("fava.app.AppLifetimeService"));new eR(Y("fava.base.AsyncOperationServices"));new eR(Y("fava.net.BrowserChannelServices"));new eR(Y("fava.canvas.CanvasService"));new eR(Y("fava.canvas.CanvasConfiguration"));new eR(Y("fava.diagnostics.CsiService"));var fR=new eR(Y("fava.data.DataServices"));new eR(Y("fava.data.DataStoreUpdaterService"));new eR(Y("fava.locale.DateTimeFormatService"));new eR(Y("fava.debug.DeobfuscationService"));new eR(Y("fava.diagnostics.Diagnostics"));
var gR=new eR(Y("fava.component.DomServices"));new eR(Y("fava.app.DragDropService"));new eR(Y("fava.browser.ExportService"));new eR(Y("fava.layout.FixedLayoutHelper"));new eR(Y("fava.gbar.GbarService"));new eR(Y(Tg),Y.hash.YCa(Y(Tg)));new eR(Y("fava.controls.help.HelpOverlayService"));new eR(Y("fava.view.HistoryInterface"));new eR(Y("fava.view.HistoryManager"));new eR(Y("fava.view.HistoryRegistry"));new eR(Y("fava.identity.IdentityService"));new eR(Y("fava.browser.IeCutCopyHandle"));new eR(Y("fava.diagnostics.Impressions"));
new eR(Y("fava.browser.KeyboardShortcutHandler"));new eR(Y("fava.browser.KeyboardShortcutRegistry"));new eR(Y("fava.controls.mole.MoleManager"));new eR(Y("fava.app.NavBarService"));new eR(Y("fava.view.NavigationServices"));new eR(Y("fava.net.NetworkDiagnosticsService"));new eR(Y("fava.app.NotificationService"));new eR(Y("fava.request.OauthService"));new eR(Y("fava.net.OfflineServices"));new eR(Y("fava.modules.PrefetchService"));new eR(Y("fava.controls.RelativeDateControl"));new eR(Y("fava.request.RequestService"));
new eR(Y(Sg));new eR(Y("fava.net.ServerErrorService"));var hR=new eR(Y("fava.dom.SoyRenderer")),iR=new eR(Y("fava.dom.SoyRendererConfig"));new eR(Y("fava.app.TitleBar"));new eR(Y("fava.controls.Toast"));new eR(Y("fava.app.UserActionService"));new eR(Y("fava.browser.ViewportServices"));new eR(Y("fava.diagnostics.ViewDiagnostics"));new eR(Y("fava.view.ViewManagerInterface"));new eR(Y("fava.view.ViewRegistry"));new eR(Y("fava.browser.WindowService"));new eR(Y("fava.browser.WindowOpenerUtil"));new eR(Y("fava.app.WindowWidget"));
new eR(Y("fava.request.XsrfService"));var kR=function(a){E.call(this);this.id=jR++;this.Lxa=[];this.xe={};this.wL={};this.UN={};this.vo={};this.LS={};this.e2={};this.Fe=a?a.Fe:new J;this.fBa=!a;this.Qv=null;a?(this.Qv=a,this.UN=a.UN,this.vo=a.vo,this.wL=a.wL,this.LS=a.LS):z();a=this.iJ();this!=a&&(a.yy?a.yy.push(this):a.yy=[this])};B(kR,E);var jR=1;r=kR.prototype;r.iJ=function(){for(var a=this;a.Qv;)a=a.Qv;return a};r.nfa=function(a){for(var b=this;b;){if(b==a)return!0;b=b.Qv}return!1};
r.get=function(a){var b=this.gY(a);null==b&&this.VMa&&(b={BOGUS:"Service "+a+" was not registered"});if(null==b)throw new lR(a);return b};r.gY=function(a){for(var b=this;b;b=b.Qv){if(b.ob)throw Error("AppContext is disposed.");if(b.xe[a])return b.xe[a][0];if(b.e2[a])break}if(b=this.rka(a)){b=b(this);if(null==b)throw Error("Factory method for service "+a+" returned null or undefined.");this.Li(a,b);return b}return null};
r.Li=function(a,b,c){if(this.ob)c||F(b);else{C(!this.xe[a],'Service for "%s" is already registered',a);this.Lxa.push(a);this.xe[a]=[b,!c];c=this.Vga(this,a);for(var e=0;e<c.length;e++)c[e].Ac(null);delete this.wL[a];return b}};r.DE=function(a){if(!this.xe[a])throw Error('Service for "'+a+ka);var b=this.xe[a];delete this.xe[a];b[1]&&F(b[0])};r.rka=function(a){return this.UN[a]};
r.Vga=function(a,b){var c=[],e=this.vo[b];e&&(vr(e,function(b){b.qca.nfa(a)&&(c.push(b.d),Kr(e,b))}),0==e.length&&delete this.vo[b]);return c};r.Cda=function(a){this.vo&&bv(this.vo,function(b,c,e){vr(b,function(c){c.qca==a&&Kr(b,c)});0==b.length&&delete e[c]})};
r.A=function(){if(this.iJ()==this){var a=this.yy;if(a)for(;a.length;)a[0].dispose()}else for(var a=this.iJ().yy,b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}for(var c in this.xe)a=this.xe[c],a[1]&&a[0].dispose&&a[0].dispose();this.xe=null;this.fBa&&this.Fe.dispose();this.Cda(this);this.vo=null;F(this.nua);this.e2=this.nua=null;kR.g.A.call(this)};var lR=function(a){yq.call(this);this.id=a;this.message='Service for "'+a+ka};B(lR,yq);var mR=new dR("fva");new bR(mR,1);Fv("fava.core.Timer");var nR=function(){E.call(this)};B(nR,E);nR.prototype.H=Fv("fava.debug.ErrorReporter");nR.prototype.Vf=function(){this.IN=[]};nR.prototype.Bwa=function(a,b){if(this.ob)L(this.H,"reportException was called but ErrorReporter already disposed. Message: "+a,b);else if(b instanceof VF)L(this.H,a||"CancelledError",b);else{if(this.H){var c=this.H.ZX(qv,a||"Exception",b);c.XMa=!0;this.H.Lra(c)}this.LNa||this.IN&&10>this.IN.length&&this.IN.push([a,b])}};var oR=new nR;var pR=function(a,b){J.call(this);this.Kc=[];this.jEa=!!b;this.J=new GA(this);this.wqa=window.parent!=window;if(a)if(gq(a))for(var c=0;c<a.length;c++)this.Vx(a[c].N());else this.Vx(a.N());else this.Vx(N().N());z()};B(pR,J);pR.prototype.Q1=0;var qR=[ef,Zf,Uj,Vj,Yj],rR=["touchend","touchmove",To],sR=[dj,fj];r=pR.prototype;r.A=function(){pR.g.A.call(this);this.J.dispose();this.J=null;delete this.Kc};
r.Vx=function(a){if(!Fr(this.Kc,a)){this.Kc.push(a);var b=!this.jEa,c=Mr(sR,qR);this.wqa||Or(c,rR);this.J.o(a,c,this.Ju,b)}};r.Ju=function(a){var b=!1;switch(a.type){case Vj:if(typeof this.W0==pk&&this.W0!=a.clientX||typeof this.X0==pk&&this.X0!=a.clientY)b=!0;this.W0=a.clientX;this.X0=a.clientY;break;default:b=!0}b&&(a=lr(a.type),this.y9(z(),a))};r.r4=function(){this.y9(z(),"manual")};r.y9=function(a){a>this.Q1&&(this.dispatchEvent("activity"),this.Q1=a+3E3)};new dv;var tR=function(){E.call(this);this.iK=null;this.Eca=new NK;this.H3=new K};B(tR,E);tR.prototype.Ba=null;tR.prototype.H=Fv(Sg);tR.prototype.dispose=function(){tR.g.dispose.call(this);this.Ba&&(t.clearTimeout(this.Ba),this.Ba=null);this.Eca.clear();for(var a=this.H3.pb(),b=0;b<a.length;b++)a[b].dispose();this.H3.clear();this.iK&&(this.iK.dispose(),this.iK=null)};var uR=function(a){J.call(this);this.xm=a?a.xb():window;this.S0=this.BX();this.$f=y(this.Uma,this);this.QB=this.xm.matchMedia?this.xm.matchMedia("(min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5)"):null};B(uR,J);uR.prototype.start=function(){this.QB&&this.QB.addListener(this.$f)};uR.prototype.BX=function(){return 1.5<=this.xm.devicePixelRatio?2:1};uR.prototype.Uma=function(){var a=this.BX();this.S0!=a&&(this.S0=a,this.dispatchEvent("q"))};
uR.prototype.A=function(){this.QB&&this.QB.removeListener(this.$f);uR.g.A.call(this)};var vR=function(a,b){E.call(this);this.oh=a;b&&this.Sza(b)};B(vR,E);r=vR.prototype;r.Sza=function(a){if(this.xC)throw Error("[fava.component.DomServices] Owner document already initialized");this.xC=a;this.P=N(a);this.Ox=new tG(Zw(a));this.Ox.hm(this.oh.Fe);this.WM=new uR(this.P);this.WM.start()};r.iY=function(){nr(this.xC,Lb);return this.xC};r.v=function(){nr(this.P,"Tried to use dom services without an owner document; possibly missing 'multiple: true' in a fava.extension.register?");return this.P};
r.Gu=function(){C(this.P,Lb);return this.Ox.Ie()};r.A=function(){this.P=this.xC=null;this.Ox&&(this.Ox.dispose(),this.Ox=null);F(this.WM);this.WM=null};var wR=function(a,b){E.call(this);this.DN=b||null};B(wR,E);wR.prototype.A=function(){this.DN&&(this.DN.dispose(),this.DN=null)};var xR=function(a,b){E.call(this);this.WV=this.JU=null;this.Bi=b;this.ae=[];this.rea(a)};B(xR,E);r=xR.prototype;r.Hj=function(){return this.ae.length?this.ae.pop():this.pj()};r.fk=function(a){this.ae.length<this.Bi?this.ae.push(a):this.Tm(a)};r.rea=function(a){if(a>this.Bi)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var b=0;b<a;b++)this.ae.push(this.pj())};r.pj=function(){return this.JU?this.JU():{}};
r.Tm=function(a){if(this.WV)this.WV(a);else if(lq(a))if(kq(a.dispose))a.dispose();else for(var b in a)delete a[b]};r.A=function(){xR.g.A.call(this);for(var a=this.ae;a.length;)this.Tm(a.pop());delete this.ae};var AR=function(){this.Ed=[];this.Pl=new K;this.Y8=this.yE=this.zE=this.qs=0;this.tc=new K;this.cU=this.tQ=0;this.oM=1;this.Ut=new xR(0,4E3);this.Ut.pj=function(){return new yR};this.$P=new xR(0,50);this.$P.pj=function(){return new zR};var a=this;this.Yu=new xR(0,2E3);this.Yu.pj=function(){return String(a.oM++)};this.Yu.Tm=function(){};this.vV=3};AR.prototype.H=Fv("goog.debug.Trace");AR.prototype.cF=1E3;var zR=function(){this.Lx=this.time=this.count=0};
zR.prototype.toString=function(){var a=[];a.push(this.type," ",this.count," (",Math.round(10*this.time)/10," ms)");this.Lx&&a.push(" [VarAlloc = ",this.Lx,"]");return a.join("")};var yR=function(){};
yR.prototype.ZCa=function(a,b,c){var e=[];-1==b?e.push("    "):e.push(BR(this.oz-b));e.push(" ",CR(this.oz-a));0==this.Vt?e.push(" Start        "):1==this.Vt?(e.push(" Done "),e.push(BR(this.pCa-this.startTime)," ms ")):e.push(" Comment      ");e.push(c,this);0<this.vx&&e.push("[VarAlloc ",this.vx,"] ");return e.join("")};yR.prototype.toString=function(){return null==this.type?this.ht:"["+this.type+"] "+this.ht};r=AR.prototype;
r.reset=function(a){this.vV=a;this.P3();this.Pl.clear();this.qs=z();this.cU=this.tQ=this.Y8=this.yE=this.zE=0;a=this.tc.kb();for(var b=0;b<a.length;b++){var c=this.tc.get(a[b]);c.count=0;c.time=0;c.Lx=0;this.$P.fk(c)}this.tc.clear()};r.P3=function(){for(var a=0;a<this.Ed.length;a++){var b=this.Ed[a];b.id&&this.Yu.fk(b.id);this.Ut.fk(b)}this.Ed.length=0};
r.p8=function(a,b){var c=z(),e=this.GY(),f=this.Pl.xa();this.Ed.length+f>this.cF&&(Hv(this.H,"Giant thread trace. Clearing to avoid memory leak."),this.Ed.length>this.cF/2&&this.P3(),f>this.cF/2&&this.Pl.clear());zv("Start : "+a);f=this.Ut.Hj();f.vx=e;f.Vt=0;f.id=Number(this.Yu.Hj());f.ht=a;f.type=b;this.Ed.push(f);this.Pl.set(String(f.id),f);this.tQ++;e=z();f.startTime=f.oz=e;this.zE+=e-c;return f.id};
r.v8=function(a,b){var c=z(),e;e=0===b?0:b?b:this.vV;var f=this.Pl.get(String(a));if(null==f)return null;this.Pl.remove(String(a));var g,h=c-f.startTime;if(h<e)for(e=this.Ed.length-1;0<=e;e--){if(this.Ed[e]==f){this.Ed.splice(e,1);this.Yu.fk(f.id);this.Ut.fk(f);break}}else g=this.Ut.Hj(),g.Vt=1,g.startTime=f.startTime,g.ht=f.ht,g.type=f.type,g.pCa=g.oz=c,this.Ed.push(g);e=f.type;var k=null;e&&(k=this.Eka(e),k.count++,k.time+=h);g&&(zv("Stop : "+g.ht),g.vx=this.GY(),k&&(k.Lx+=g.vx-f.vx));f=z();this.yE+=
f-c;return h};r.GY=function(){var a=this.bNa;return a&&a.isTracing()?a.totalVarAlloc:-1};r.Eka=function(a){var b=this.tc.get(a);b||(b=this.$P.Hj(),b.type=a,this.tc.set(a,b));return b};
r.toString=function(){for(var a=[],b=-1,c=[],e=0;e<this.Ed.length;e++){var f=this.Ed[e];1==f.Vt&&c.pop();a.push(" ",f.ZCa(this.qs,b,c.join("")));b=f.oz;a.push("\n");0==f.Vt&&c.push("|  ")}if(0!=this.Pl.xa()){var g=z();a.push(" Unstopped timers:\n");Uu(this.Pl,function(b){a.push("  ",b," (",g-b.startTime," ms, started at ",CR(b.startTime),")\n")})}b=this.tc.kb();for(e=0;e<b.length;e++)c=this.tc.get(b[e]),1<c.count&&a.push(" TOTAL ",c,"\n");a.push("Total tracers created ",this.tQ,"\n","Total comments created ",
this.cU,"\n","Overhead start: ",this.zE," ms\n","Overhead end: ",this.yE," ms\n","Overhead comment: ",this.Y8," ms\n");return a.join("")};var BR=function(a){a=Math.round(a);var b="";1E3>a&&(b=" ");100>a&&(b="  ");10>a&&(b="   ");return b+a},CR=function(a){a=Math.round(a);return String(100+a/1E3%60).substring(1,3)+"."+String(1E3+a%1E3).substring(1,4)},DR=new AR;var ER=function(a,b){this.On=a;this.wb=b};ER.prototype.getKey=function(){return this.On};ER.prototype.getValue=function(){return this.wb};ER.prototype.clone=function(){return new ER(this.On,this.wb)};var FR=function(a){this.Tg=[];a&&this.Spa(a)};r=FR.prototype;r.xK=function(a,b){var c=this.Tg;c.push(new ER(a,b));this.jM(c.length-1)};r.Spa=function(a){var b;if(a instanceof FR){if(b=a.kb(),a=a.pb(),0>=this.xa()){for(var c=this.Tg,e=0;e<b.length;e++)c.push(new ER(b[e],a[e]));return}}else b=cs(a),a=bs(a);for(e=0;e<b.length;e++)this.xK(b[e],a[e])};r.remove=function(){var a=this.Tg,b=a.length,c=a[0];if(!(0>=b))return 1==b?Hr(a):(a[0]=a.pop(),this.gM(0)),c.getValue()};
r.gM=function(a){for(var b=this.Tg,c=b.length,e=b[a];a<c>>1;){var f=this.oja(a),g=this.pka(a),f=g<c&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>e.getKey())break;b[a]=b[f];a=f}b[a]=e};r.jM=function(a){for(var b=this.Tg,c=b[a];0<a;){var e=this.bka(a);if(b[e].getKey()>c.getKey())b[a]=b[e],a=e;else break}b[a]=c};r.oja=function(a){return 2*a+1};r.pka=function(a){return 2*a+2};r.bka=function(a){return a-1>>1};r.pb=function(){for(var a=this.Tg,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].getValue());return b};
r.kb=function(){for(var a=this.Tg,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].getKey());return b};r.oj=function(a){return zr(this.Tg,function(b){return b.getValue()==a})};r.Xb=function(a){return zr(this.Tg,function(b){return b.getKey()==a})};r.clone=function(){return new FR(this)};r.xa=function(){return this.Tg.length};r.bc=function(){return Gr(this.Tg)};r.clear=function(){Hr(this.Tg)};var GR=function(){FR.call(this)};B(GR,FR);GR.prototype.enqueue=function(a,b){this.xK(a,b)};GR.prototype.Nm=function(){return this.remove()};var HR=function(){E.call(this);this.hN=new K};B(HR,E);r=HR.prototype;r.H=Fv("fava.data.Reaper");r.A=function(){this.E3&&(this.E3.dispose(),this.E3=null);this.TZ&&(this.TZ.dispose(),this.TZ=null);HR.g.A.call(this)};r.Aia=function(){return z()};r.Rba=function(a){this.hN.set(a.oe,a)};r.cwa=function(a){this.hN.remove(a.oe)};r.xa=function(){return this.hN.xa()};var IR=function(){J.call(this);this.Dm=0};B(IR,J);r=IR.prototype;r.H=Fv("fava.data.EventTarget");r.oH=function(a,b){var c=DR.p8(ic,ic);this.PV(a,a.oe,v(b)?b:65535);DR.v8(c)};r.qH=function(a,b){var c=DR.p8(jc,jc),e=a.oe+":"+b;this.wz(e,e);this.PV(a,e);DR.v8(c)};r.PV=function(a,b,c){for(var e=0;null!=a;)a.getOptions()&32||(0==e&&this.wz(a.oe,b,c),1==e&&this.wz(a.Bka(),b,c),0<e&&this.wz(a.Iia(),b,c)),a=a.getParent(),e++};
r.wz=function(a,b,c){if(0<this.Dm){var e;ct(this)?e=this.hasListener(a,!1):(e=mt(this),e=!!e&&e.hasListener(a,!1));e&&this.Lca(a,b,c)}else e=null,v(c)&&(e={},e[b]=c),wt(this,a,!1,new JR(a,[b],e))};r.dE=function(){this.Dm++;1==this.Dm&&IR.g.dispatchEvent.call(this,"r")};
r.kz=function(){this.Dm--;if(0==this.Dm){if(this.Cs){var a=this.Cs;this.Cs=null;for(var b=a.kb(),c=0;c<b.length;c++){var e=b[c],f=a.get(e),f=new JR(e,f.LQ,f.ap);try{wt(this,e,!1,f)}catch(g){oR.Bwa("Exception firing listeners in Data EventTarget",g)}}}IR.g.dispatchEvent.call(this,"s")}else if(-1==this.Dm)throw this.Dm=0,Error("fava.data.EventTarget : Unmatched endBatchUpdate, cannot go negative");};
r.Lca=function(a,b,c){this.Cs||(this.Cs=new K);var e=this.Cs.get(a);e?Ir(e.LQ,b):(e={LQ:[b],ap:null},this.Cs.set(a,e));v(c)&&((a=e.ap)?a[b]|=c:(e.ap={},e.ap[b]=c))};var JR=function(a,b,c){this.type=a;this.LQ=b;this.ap=c||null};B(JR,G);var KR=function(a,b){E.call(this);this.Fb=a;C(this.kB&&!b||!this.kB&&b,"[fava.data.BaseNode] rootNode parameter inconsistent with whether this is the RootNode class");this.kB?(this.oe="$"+this.Fb,this.he=this):this.he=b};B(KR,E);r=KR.prototype;r.ka=Fv("fava.data.BaseNode");r.UM=null;r.A=function(){Iv(this.ka,"Disposing node: "+this.oe);this.J&&(this.J.dispose(),this.J=null)};r.vi=function(){this.tg();this.J||(this.J=new GA(this));return this.J};r.getParent=function(){return this.UM};
r.Ha=function(a){if(null!=this.UM&&null!=a)throw Error("Node must be removed from parent before added to another one");C(!this.kB,"[fava.data.BaseNode] Root node cannot have a parent");if(a&&a.he!=this.he)throw Error("Node cannot be added to a different data store tree");this.wH=this.VP=null;null!=a?(this.tg(),this.oe=a.oe+"/"+this.Fb):this.oe=null;return this.UM=a};r.Bka=function(){this.VP||(this.VP=this.oe+Ea);return this.VP};r.Iia=function(){this.wH||(this.wH=this.oe+"/...");return this.wH};
r.getOptions=function(){return 4};r.tg=function(){if(this.ob)throw Error("Invalid operation for a disposed fava.data.Node.  Error on node: "+this.oe);};var LR=function(a,b,c){KR.call(this,a,b?b.he:null);b&&b.la(this);if(this.z0=!!c)a=this.he.bw,a.Rba(this),a.Aia()};B(LR,KR);var MR=new K;r=LR.prototype;r.ka=Fv("fava.data.Node");r.n1="NOT LOADED";r.VF="VALID";r.getOptions=function(){var a=LR.g.getOptions.call(this),a=a|26;this.z0&&(a|=1);return a};r.get=function(){this.tg();return this.th};r.Xc=function(){this.tg();return this.Ja?this.Ja:MR};r.sq=function(){this.tg();return this.Ja?this.Ja.xa():0};r.dl=function(a){return this.jia(a)};
r.jia=function(a){this.tg();return this.Ja?this.Ja.get(a):null};r.uga=function(){this.Ja||(this.Ja=new K)};r.tja=function(){this.tg();return this.n1};r.fia=function(){this.tg();return this.VF};r.Ih=function(){this.tg();return"LOADED"==this.tja()};r.Ng=function(){this.tg();return"VALID"==this.fia()};r.bl=function(){return this.he.bl()};
r.A=function(){LR.g.A.call(this);if(this.Ja){for(var a=this.Ja.pb(),b=0;b<a.length;b++)a[b].dispose();this.Ja.clear()}var a=this.getParent(),b=this.he,c=this.oe;b.bw.cwa(this);this.O5(null);a&&a.removeChild(this);b&&b.C2(c,a)};r.la=function(a){var b=a.Fb;this.uga();if(this.Ja.Xb(b))throw Error("Node: "+this.oe+" already has a child with name "+b);if(a.getParent())throw Error("Node: "+a.oe+" already has a parent set.");a.Ha(this);this.Ja.set(b,a)};
r.removeChild=function(a){var b=a.Fb;if(!this.Ja||!this.Ja.Xb(b))throw Error("Node: "+this.oe+" does not have a child with name "+b);a.Ha(null);this.Ja.remove(b)};r.set=function(a){this.tg();this.n1="LOADED";this.VF="VALID";this.O5(a);this.nH()};r.O5=function(a){z();if(this.th)if(this.th instanceof J){var b=this.J;b&&b.Ca(this.th,"t",this.DZ)}else kq(this.th.RO)&&this.th.RO(null);(this.th=a)&&(this.th instanceof J?this.vi().o(this.th,"t",this.DZ):kq(this.th.RO)&&this.th.RO(this))};
r.X_=function(){this.VF="INVALID";this.he.D2(this)};r.nH=function(a){this.tg();this.he.oH(this,a)};r.DZ=function(a){a.ap?this.nH(a.ap):this.nH()};var NR=function(a,b){LR.call(this,a,null);this.bw=b;this.Fe=new IR;this.Wy=[]};B(NR,LR);r=NR.prototype;r.A=function(){this.Fe.dispose();NR.g.A.call(this);this.bw&&(this.bw.dispose(),this.bw=null)};r.ka=Fv("fava.data.RootNode");r.kB=!0;r.dE=function(){this.Fe.dE()};r.kz=function(){this.Fe.kz()};r.ZA=function(){for(var a=this.Xc().pb(),b;b=a.pop();)if(b.X_&&b.X_(),b.getOptions()&8){b=b.Xc().pb();for(var c=0;c<b.length;c++)a.push(b[c])}};r.bl=function(){return this.oh};
r.oH=function(a,b){this.Fe.oH(a,b)};r.qH=function(a,b){this.Fe.qH(a,b)};r.C2=function(a,b){for(var c=0;c<this.Wy.length;c++)try{this.Wy[c].C2(a,b)}catch(e){Hv(this.ka,Rb,e)}};r.D2=function(a){for(var b=0;b<this.Wy.length;b++)try{this.Wy[b].D2(a)}catch(c){Hv(this.ka,Rb,c)}};var OR=function(a){K.call(this);this.eC=a};B(OR,K);r=OR.prototype;r.clear=function(){this.T_(!0)};r.dispose=function(){this.T_(!1)};r.T_=function(a){for(var b=this.kb(),c=0;c<b.length;c++)this.JF(b[c]);OR.g.clear.call(this);if(a){a=this.eC.he;a.dE();try{for(c=0;c<b.length;c++)this.Zy(b[c])}finally{a.kz()}}};r.remove=function(a){lr(a);this.JF(a);var b=OR.g.remove.call(this,a);b&&this.Zy(a);return b};r.set=function(a,b){lr(a);this.get(a)!==b&&(this.JF(a),OR.g.set.call(this,a,b),this.eca(a,b),this.Zy(a))};
r.eca=function(a,b){if(b&&b instanceof J){var c=I(b,"t",y(this.Zy,this,a));this.Tt||(this.Tt=new K);this.Tt.set(a,c)}};r.JF=function(a){if(this.Tt){var b=this.Tt.get(a);b&&(st(b),this.Tt.remove(a))}};r.addAll=function(a){var b=this.eC.he;b.dE();try{OR.g.addAll.call(this,a)}finally{b.kz()}};r.Zy=function(a){this.eC.he.qH(this.eC,a)};var PR=function(a,b){KR.call(this,a,b);this.Sl=new OR(this)};B(PR,KR);r=PR.prototype;r.get=function(){return this.Sl};r.A=function(){PR.g.A.call(this);this.Sl.dispose()};r.getOptions=function(){return PR.g.getOptions.call(this)|16};r.getValue=function(a){return this.Sl.get(a)};r.setValue=function(a,b){this.Sl.set(a,b)};var QR=function(a){PR.call(this,"user",a)};B(QR,PR);var RR=function(a,b){this.ba=b||N();this.G8=a||null;this.jxa=[]};r=RR.prototype;r.Z3=function(a,b){this.gD(a,b);var c=jD(a,b,this.tu(),this.ba);this.Eq(c);return c};r.Y3=function(a,b){this.gD(a,b);var c=kD(a,b,this.tu(),this.ba);this.Eq(c);return c};r.Z=function(a,b){var c=a(b||{},void 0,this.tu());C(!(c instanceof cD)||c.bf===YC,'render was called with a strict template of kind other than "html" (consider using renderText or renderStrict)');this.gD(a,b);this.Eq();return String(c)};
r.Xl=function(a,b){var c=a(b||{},void 0,this.tu());rr(c,cD,"renderText cannot be called on a non-strict soy template");C(c.bf===bD,'renderText was called with a template of kind other than "text"');this.gD(a,b);this.Eq();return String(c)};r.Eq=dq;r.gD=function(a,b){this.jxa.push({template:a.ya,data:b||null,iNa:this.tu()})};r.tu=function(){return this.G8?this.G8.getData():{}};var SR=function(a){RR.call(this,this,a.get(gR).v());this.oh=a;this.Fe=new J};B(SR,RR);SR.prototype.getData=function(){if(!v(this.L_)){var a=this.oh.gY(iR);this.L_=a?a.tua:null}return this.L_};SR.prototype.Eq=function(a){SR.g.Eq.call(this);this.Fe.dispatchEvent(new G("u",a))};var TR=function(a){this.tua=a||null};var UR=function(a,b,c){this.Y9=a;this.qs=b||z();this.Cwa=!!c||!1;this.mz=null};B(UR,E);UR.prototype.S5=function(a){this.mz=a||z()};var VR=function(a){this.hba=a;this.qs=z();this.Ed=new K};B(VR,E);r=VR.prototype;r.cS=function(a){this.Ed.set(a.Y9,a)};r.iu=function(){return this.hba};r.bc=function(){return this.Ed.bc()};r.sia=function(){var a=new K;this.Ed.forEach(function(b,c){b.mz&&a.set(c,b)},this);return a};r.JI=function(a){return this.Ed.get(a)};r.Sva=function(a){this.Ed.remove(a)};var WR=function(){E.call(this);this.yv=new VR(uj);this.qx=new K;this.J=new GA(this);this.ha(this.J);this.XC=new iw(6E4);this.ha(this.XC);this.J.o(this.XC,Ko,y(this.i4,this));this.X(!0)};B(WR,E);r=WR.prototype;r.o1=uj;r.tza=function(a){this.o1=a};r.fm=function(a){this.ul=a};r.X=function(a){a?this.XC.start():this.XC.stop()};r.Vi=function(a,b,c){b=new UR(b,c);c=this.qx.get(a);c||(c=new VR(a),this.qx.set(a,c));c.cS(b)};r.RC=function(a,b){if(this.yv){var c=new UR(a,void 0,!0);c.S5(b);this.yv.cS(c)}};
r.oi=function(a,b,c){(a=this.qx.get(a))&&a.JI(b)&&null==a.JI(b).mz&&a.JI(b).S5(c)};r.Awa=function(a,b){var c=b.Y9,e=b.qs,f=b.mz;b.Cwa?a.tick(c,void 0,f):(a.tick("_"+c,void 0,e),a.tick(c,"_"+c,f))};r.j4=function(a){var b=a.iu(),c=a.sia();if(c.bc())return!1;var e;if(b==uj){if(e=window.jstiming.load,b=this.o1,!e)return!1}else e=new window.jstiming.Timer(a.qs);e.name=b;c.forEach(function(b,c){this.Awa(e,b);a.Sva(c)},this);window.jstiming.report(e,{hostId:this.ul});return!0};
r.i4=function(){if(!t.jstiming)return!1;this.qx.forEach(function(a,b){this.j4(a);a.bc()&&this.qx.remove(b)},this);return!0};r.tN=function(){if(!t.jstiming||!this.yv)return!1;this.j4(this.yv);this.yv=null;return!0};var YR=function(){E.call(this);this.fa=XR++};B(YR,E);YR.prototype.sy=null;YR.prototype.nX=!1;var XR=0,ZR=null,$R=null;r=YR.prototype;r.getAll=function(){return this.nX};r.Yya=function(a){this.nX=a};r.Nf=Mu(new Gx("stat"));r.hn=function(){var a=this.Nf().clone(),b=XQ(),c=b.M9;c&&a.Te(c+a.getPath());a.W("hl",b.Ne);b.isNative()&&a.W(gk,1);(b=b.Xn)&&a.W("oauth_token",b);return a};r.I=function(){return this.fa};r.Zb=function(){return 9};r.Ge=function(){return new K};r.Jb=function(){return this.Fg().toString()};
r.QI=function(){return null};r.Fg=function(){var a=new Hx,b=this.Ge();b&&bv(b,function(b,c){a.set(c,b)});(b=ZR)&&a.set("token",b);a.set(yp,4);if(b=$R)for(var c in b)a.set(c,b[c]);return a};r.Qf=function(){this.sy||(this.sy=this.qu().toString());return this.sy};r.qu=function(){var a=this.hn(),b=this.Fg();a.Wh(b);b.remove("token");b.remove(yp);b.remove("tzo");b.remove("tzfp");var c=$R;if(c)for(var e in c)b.remove(e);return a};r.Ypa=function(){this.sy=null};
var aS=function(a,b,c,e){null!=c&&c!=e&&a.set(b,c)};var bS=function(a){this.jda=a.actionCategory;this.Da=a.url;this.Gv=(a=a.supportedMimeTypes)?new dv(a):null};bS.prototype.lu=function(){return this.jda};bS.prototype.getUrl=function(){return this.Da};bS.prototype.isSupported=function(a){return!this.Gv||this.Gv.contains("*")||this.Gv.contains(a)};var cS=function(a,b,c,e,f){this.Da=a;this.pg=b;this.Kj=c;this.s4=!!e;this.Ya=f},dS=RegExp("{size}","g"),eS=RegExp("/{size}/","g"),fS=RegExp("={size}","g");r=cS.prototype;r.getUrl=function(){return this.Da};r.Tf=function(){return this.pg};r.Dh=function(){return this.Kj};r.Aa=function(){return this.Ya};
r.pq=function(a,b,c,e){var f=this.getUrl();if(!v(a))return b=f.replace(eS,"/"),b=b.replace(fS,""),b.replace(dS,"");if(a instanceof Hw)return a&&2<=t.devicePixelRatio&&!e&&(a=new Hw(2*a.width,2*a.height)),f.replace(dS,"h"+a.height+"-w"+a.width+(b&&b.length?"-"+b.join("-"):""));a&&2<=t.devicePixelRatio&&!e&&(a*=2);return f.replace(dS,(c||"s")+a+(b&&b.length?"-"+b.join("-"):""))};
r.Kka=function(){if(!this.pg||!this.Kj)return new cS(this.Da,this.pg,this.Kj,!1,this.Ya);var a=new Hw(this.pg,this.Kj);if(2048<this.pg||2048<this.Kj)a=a.rw(new Hw(2048,2048));return new cS(this.Da,Math.ceil(a.width),Math.ceil(a.height),!1,this.Ya)};
r.mA=function(a,b,c){var e=this.pg,f=this.Kj,g=this.Ya;if(this.s4){if(a instanceof Hw)return new cS(this.pq(a,b,void 0,c),e,f,!1,g);2048<a&&(a=2048);if(b&&b.length)return new cS(this.pq(a,b,void 0,c),a,a,!1,g);if(!e||!f)return new cS(this.pq(a,b,void 0,c),void 0,void 0,!1,g);if(!v(a)||0<a)b=this.oka(a),e=b.width,f=b.height;return new cS(this.pq(a,void 0,void 0,c),e,f,!1,g)}return this.Kka()};
r.oka=function(a){var b=this.pg,c=this.Kj;a instanceof Hw||(a=a||512,a=new Hw(a,a));var e=b/c;b>c?(b=Math.min(a.width,b),c=Math.ceil(b/e),c>a.height&&(c=a.height,b=Math.ceil(c*e))):(c=Math.min(a.height,c),b=Math.ceil(c*e),b>a.width&&(b=a.width,c=Math.ceil(b/e)));return new Hw(b,c)};var gS=function(a,b,c){var e=XQ().Xn;if(!e)throw Error("oauth_token is not set");cS.call(this,a+"?access_token="+e,b,c,!0)};B(gS,cS);var hS=function(a){this.Xwa=a.r;this.Wwa=a.rdeg};var iS=function(a){this.fa=a.id;this.Fb=a.name};iS.prototype.I=function(){return this.fa};iS.prototype.getName=function(){return this.Fb};var jS=function(a,b,c){this.Da=a;this.nI=b;this.nb=c};jS.prototype.getUrl=function(){return this.Da};jS.prototype.Ie=function(){return this.nb};jS.prototype.Soa=function(){return!!this.nb};var kS=function(a,b,c,e,f,g,h){this.lt=a;this.Vp=b;this.eQ=e;this.hy=f;this.xy=g;this.SE=h},lS=function(a){var b=a.cid,c=a.d,e=!!a.p,f=a.ar,g=a.cn,h=a.nv;a=a.s;var k;if(a){k=[];for(var n=0;n<a.length;n++){var q=a[n];k.push(new jS(q.u,q.f,new Hw(q.w,q.h)))}}if(b||c||k)return new kS(b,c,e,k,f,g,h)};kS.prototype.K1=function(a){a&&(this.lt=a.lt||this.lt,this.Vp=a.Vp||this.Vp,this.Fua=a.Fua,this.eQ=a.eQ||this.eQ,this.hy=a.hy||this.hy,this.xy=a.xy||this.xy,this.SE=a.SE||this.SE)};var mS=function(a){E.call(this);this.vd=a.serviceId;this.ns=a.sourceId||"0";this.rb=a.id;this.Da=a.url;this.Pt=a.embedUrl;this.Ya=a.type;this.Nh=a.mimeType;this.Fb=a.name;this.pk=this.DG(a.thumbs);this.kG=this.DG(a.cThumbs);this.dG=this.DG(a.childThumbs);this.Og=a.lastEditedUtc||null;var b={},c=a.actions;if(c)for(var e=0;e<c.length;e++){var f=new bS(c[e]);b[f.lu()]=f}this.di=b;b=null;(c=a.owners)&&c.length&&(b=xr(c,function(a){return new iS(a)}));this.OM=b;this.ax=null;this.Kv=a.nChildren;this.zt=
a.description||"";this.co=a.parent;this.lK=(b=a.imageData)?new hS(b):null;this.RE=(b=a.videoData)&&lS(b)||null;this.qB=a.kansasVersionInfo;this.d8=a.sortIndex||0;this.ls=a.sizeBytes;this.PK=!!a.isNew;this.Ts=a.attrs||{}};B(mS,E);
var nS=function(a){return a?xr(a,function(a){return new mS(a)}):[]},oS=function(a){return xr(a,function(a){var c={};c.serviceId=a.vd;c.sourceId=a.ns;c.id=a.rb;c.url=a.getUrl();c.embedUrl=a.Pt;c.type=a.Aa();c.name=a.getName();c.parent=a.co;c.mimeType=a.getAttribute(Pj);c=new mS(c);c.setAttribute("ico",a.getAttribute("iconUrl"));c.setAttribute("isr",a.getAttribute("isRoot"));c.setAttribute("iss",a.getAttribute(Gi));c.setAttribute("lmbm",a.getAttribute(jj));c.setAttribute("lvbm",a.getAttribute(kj));
c.setAttribute("op",a.getAttribute("otherParents"));c.setAttribute("ro",a.getAttribute("readOnly"));c.setAttribute(Kp,a.getAttribute(Kp));c.setAttribute("tdid",a.getAttribute(Co));c.setAttribute("tdcac",a.getAttribute("tdcac"));c.setAttribute("tdcrc",a.getAttribute("tdcrc"));c.setAttribute("ce",a.getAttribute("ce"));c.nya(oS(a.Xc()));return c})};
mS.prototype.DG=function(a){if(!a)return null;var b=[];if(XQ().Xn&&nQ(this.vd))for(var c=0;c<a.length;c++){var e=a[c];b.push(new gS(e.u,e.w,e.h))}else for(c=0;c<a.length;c++)e=a[c],b.push(new cS(e.u,e.w,e.h,e.r,e.t));return b};mS.prototype.fa=null;mS.prototype.Ja=null;var pS=function(a,b,c){return x(c)&&-1!=c.indexOf(".")?c:br(a,".",b,".",c)};r=mS.prototype;r.I=function(){return this.fa||(this.fa=pS(this.vd,this.ns,this.rb))};r.MD=function(a){this.vd=a};r.Aa=function(){return this.Ya};
r.Ue=function(a){this.Ya=a};r.gza=function(a){this.rb=a;this.fa=null};r.getUrl=function(){return this.Da};r.getName=function(){return this.Fb};r.Rw=function(a){this.Fb=a};
r.TI=function(){var a=this.getAttribute("ico");return a?a:"application/vnd.google-apps.calendar"==this.Nh?"//ssl.gstatic.com/docs/picker/images/icon_calendar_small-v1.gif":this.Nh==fe?this.getAttribute("iss")?"//ssl.gstatic.com/docs/doclist/images/icon_11_shared_collection_list.png":"//ssl.gstatic.com/docs/doclist/images/icon_11_collection_list.png":"//ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"};r.kP=function(a){this.pk=a};
r.pia=function(){return this.kG&&this.kG.length?this.kG:this.pk};r.XX=function(){return this.getAttribute("lmbm")};r.lY=function(){return this.getAttribute("rDate")};r.YX=function(){return this.getAttribute("lvbm")};r.iu=function(a){return this.di[a]};r.lh=function(a){this.di[a.lu()]=a};r.wka=function(){var a=this.getAttribute("shu");!this.ax&&lq(a)&&(this.ax=new iS(a));return this.ax};
r.EK=function(){var a=this.Nh;return"application/chromium-bookmark-folder"==a||"application/chromium-root-folder"==a||a==fe||"application/vnd.google-apps.photoalbum"==a||a==me};r.sq=function(){return this.Kv};r.Xc=function(){return this.Ja};r.nya=function(a){this.Ja=a};r.getImageData=function(){return this.lK};r.Tq=function(){return this.PK};r.lza=function(a){this.PK=a};r.getAttribute=function(a){return this.Ts[a]};r.setAttribute=function(a,b){this.Ts[a]=b};
r.Vha=function(){var a=this.getAttribute("op");if(a){if(x(a))return a.split(",");if(gq(a))return a}return[]};r.Gqa=function(a){if(null!=a&&this.I()==a.I()&&null!=this.Og&&null!=a.Og)return this.Og>=a.Og?!0:!1};r.Wq=function(){return this.rb==xm||!!this.getAttribute("isr")};
r.K1=function(a){this.vd=a.vd||this.vd;this.ns=a.ns||this.ns;this.rb=a.rb||this.rb;this.Da=a.getUrl()||this.Da;this.Pt=a.Pt||this.Pt;this.Ya=a.Aa()||this.Ya;this.Nh=a.Nh||this.Nh;this.Fb=a.getName()||this.Fb;this.pk=a.pk||this.pk;this.dG=a.dG||this.dG;this.Og=a.Og||this.Og;if(a.mE||this.mE)this.mE=a.mE||this.mE;os(this.di,a.di);this.OM=a.OM||this.OM;this.ax=a.wka()||this.ax;this.Kv=v(a.sq())?a.sq():this.Kv;this.zt=a.zt||this.zt;this.co=a.co||this.co;this.lK=a.getImageData()||this.lK;this.RE=a.RE||
this.RE;this.qB=a.qB||this.qB;this.ls=v(a.ls)?a.ls:this.ls;this.PK=a.Tq();os(this.Ts,a.Ts);this.Ja=a.Xc()||this.Ja;if(a.Cx||this.Cx)this.Cx=a.Cx||this.Cx};r.toString=function(){return this.getName()};r.A=function(){mS.g.A.call(this);delete this.Ts};var qS=function(a){E.call(this);this.Cz=new K;this.rV=a};B(qS,E);qS.prototype.set=function(a,b){this.Cz.set(a,b)};qS.prototype.cq=function(a,b){var c=this.Cz.get(a)||this.rV;if(c)return c.apply(void 0,Array.prototype.slice.call(arguments,1))};qS.prototype.A=function(){qS.g.A.call(this);this.Cz.clear();this.rV=this.Cz=null};var sS=function(a){E.call(this);this.Mwa=(this.Ji=null!=a&&null!=a.response)?a.response:null;this.aq=!!a.error;this.IH=a.errorMessage;this.fa=rS++;this.Jt=[];this.Hf=null};B(sS,E);var rS=0;r=sS.prototype;r.Kw=function(a){this.Jt=a};r.Du=function(){return this.Mwa};r.Zb=function(){return 9};r.getError=function(){return this.aq};r.I=function(){return this.fa};r.kc=function(){return this.Jt};r.mza=function(a){this.Ji=a};r.yn=function(){return null!=this.Hf};r.xo=function(a){this.Hf=a};
r.A=function(){sS.g.A.call(this);this.Jt=[]};var tS=function(a){if(a instanceof sS)return a;var b={};b.error=a.getError();b.errorMessage=a.IH;b.errorCode=a.IH;b=new sS(b);b.Kw(oS(a.kc()));b.mza(a.Ji);a.yn()&&a.Hf&&b.xo(a.Hf);return b},uS=new qS(function(a){return new sS(a)});var vS=function(){E.call(this)};B(vS,E);vS.prototype.wb="";vS.prototype.setValue=function(a){this.wb=a};vS.prototype.getValue=function(){return this.wb};var wS=function(a,b){U.call(this,b);this.T=a};B(wS,U);wS.prototype.getContext=function(){return this.T};wS.prototype.Ka=function(a){wS.g.Ka.call(this,a);a.id&&this.CD(a.id)};var xS=function(a,b){wS.call(this,a,b);this.C().o(a.se,Kp,this.CJ)};B(xS,wS);r=xS.prototype;r.Na=!1;r.setActive=function(a){this.Na!=a&&(this.Na=a,this.Y&&this.F(a))};r.F=function(a){Q(this.b(),a)};r.Bc=function(){return!1};r.$g=function(){};r.nq=function(){return new dv};r.Pz=function(){return-1};r.jk=function(){return!1};r.CJ=function(a){a.data.visible&&this.Na&&this.jk()};r.uS=function(a,b,c,e){e()};r.w8=dq;r.mq=Ou;r.Vi=function(a){var b=this.getContext().Lh,c=this.mq();b&&c&&b.Vi(c,a)};
r.oi=function(a){var b=this.getContext().Lh,c=this.mq();b&&c&&b.oi(c,a)};var yS=function(){J.call(this)};B(yS,J);r=yS.prototype;r.mc=null;r.gc=null;r.Hfa=function(a){this.dispatchEvent(new zS("B",a))};r.Efa=function(a){this.dispatchEvent(new zS("w",a))};r.dc=function(a,b){this.dispatchEvent(new AS(a,b))};r.Nr=function(a,b){this.mc=a;this.gc=b;this.dispatchEvent(new BS(b))};r.A5=function(a){this.dispatchEvent(new CS(a))};r.A=function(){yS.g.A.call(this);this.gc=null};var zS=function(a,b,c){G.call(this,a,c);this.ux=b};B(zS,G);
var AS=function(a,b,c){zS.call(this,"x",a,c);this.xfa=b};B(AS,zS);var CS=function(a){G.call(this,"z");this.Wca=a};B(CS,G);var BS=function(a){G.call(this,"y");this.CEa=a};B(BS,G);var DS=["opb","opl","opr","opdr",Gk,Hk,Fk,"opt","opu","opv","opm","opmd"],ES=function(a,b){if(b.Qd()){if(!XP(a.ta))throw Error("Minimal UI only supports docs folder picker.");return"opmd"}var c=a.getOption(Sj);switch(a.ta){case Kg:case "et":case ri:case cl:case dl:case dm:case "quota":case Xp:return Fk;case hl:var e=a.getOption(Yk),f=a.getOption(Xo);return f==Fp||f==Ep?"opv":a.getOption(dp)||"edit"==c&&(e||a.getOption(oi))?Hk:Fk;case el:case gl:case Op:return Hk;case fl:return"opt";case Uf:return"opr";
case dp:return a.MK()?Hk:"opu";case Cp:case Dp:case Bp:case Wp:return"opv";case Ej:case Fj:return"opm";case Se:case Qf:return"opl";case cf:case Lf:case Yh:case al:return Gk;case Ie:return"opb";case om:if(c==hl)return Fk;if(c==Dp)return"opv"}return XP(a.ta)?a.va(mg)&&c!=oj?"opv":b.Ym?"opdr":Fk:"opc"};var FS=function(){};eq(FS);r=FS.prototype;r.aR=0;r.bR=0;r.TT=0;r.vra=function(){C(void 0===this.J);this.J=new GA(this);this.J.cr(window,oI,function(){this.TT++});this.J.Fl(window,"unload",this.Tta,!1,this)};r.Tta=function(){this.J.dispose()};r.xia=function(){return{xc:this.aR,xec:this.bR,click:this.TT}};var GS=function(a,b){E.call(this);this.P1=a||0;this.Bi=b||10;if(this.P1>this.Bi)throw Error("[goog.structs.Pool] Min can not be greater than max");this.ae=new NK;this.wl=new dv;this.Mp=0;this.lL=null;this.by()};B(GS,E);r=GS.prototype;r.Hj=function(){var a=z();if(!(null!=this.lL&&a-this.lL<this.Mp)){var b=this.Uva();b&&(this.lL=a,this.wl.add(b));return b}};r.fk=function(a){return this.wl.remove(a)?(this.rF(a),!0):!1};
r.Uva=function(){for(var a;0<this.PX()&&(a=this.ae.Nm(),!this.vM(a));)this.by();!a&&this.xa()<this.Bi&&(a=this.pj());return a};r.rF=function(a){this.wl.remove(a);this.vM(a)&&this.xa()<this.Bi?this.ae.enqueue(a):this.Tm(a)};r.by=function(){for(var a=this.ae;this.xa()<this.P1;)a.enqueue(this.pj());for(;this.xa()>this.Bi&&0<this.PX();)this.Tm(a.Nm())};r.pj=function(){return{}};r.Tm=function(a){if(typeof a.dispose==lh)a.dispose();else for(var b in a)a[b]=null};
r.vM=function(a){return typeof a.gda==lh?a.gda():!0};r.contains=function(a){return this.ae.contains(a)||this.wl.contains(a)};r.xa=function(){return this.ae.xa()+this.wl.xa()};r.cja=function(){return this.wl.xa()};r.PX=function(){return this.ae.xa()};r.bc=function(){return this.ae.bc()&&this.wl.bc()};r.A=function(){GS.g.A.call(this);if(0<this.cja())throw Error("[goog.structs.Pool] Objects not released");delete this.wl;for(var a=this.ae;!a.bc();)this.Tm(a.Nm());delete this.ae};var HS=function(a,b){this.AV=void 0;this.YC=new GR;GS.call(this,a,b)};B(HS,GS);r=HS.prototype;r.Hj=function(a,b){if(!a){var c=HS.g.Hj.call(this);c&&this.Mp&&(this.AV=t.setTimeout(y(this.CA,this),this.Mp));return c}this.YC.enqueue(v(b)?b:100,a);this.CA()};r.CA=function(){for(var a=this.YC;0<a.xa();){var b=this.Hj();if(b)a.Nm().apply(this,[b]);else break}};r.rF=function(a){HS.g.rF.call(this,a);this.CA()};r.by=function(){HS.g.by.call(this);this.CA()};
r.A=function(){HS.g.A.call(this);t.clearTimeout(this.AV);this.YC.clear();this.YC=null};var IS=function(a,b,c,e){this.SJ=a;this.bp=!!e;HS.call(this,b,c)};B(IS,HS);IS.prototype.pj=function(){var a=new yw,b=this.SJ;b&&b.forEach(function(b,e){a.headers.set(e,b)});this.bp&&a.uP(!0);return a};IS.prototype.vM=function(a){return!a.ob&&!a.ac()};var JS=function(a,b,c,e,f,g){J.call(this);this.VL=v(a)?a:1;this.qk=v(f)?Math.max(0,f):0;this.Fs=new IS(b,c,e,g);this.bd=new K;this.J=new GA(this)};B(JS,J);var KS=[lm,kf,wo,Hg,Hd,Lo];r=JS.prototype;r.OD=function(a){this.qk=Math.max(0,a)};r.Vja=function(){return this.bd.xa()};r.send=function(a,b,c,e,f,g,h,k,n,q){if(this.bd.get(a))throw Error("[goog.net.XhrManager] ID in use");b=new LS(b,y(this.Ju,this,a),c,e,f,h,v(k)?k:this.VL,n,q);this.bd.set(a,b);a=y(this.sla,this,a);this.Fs.Hj(a,g);return b};
r.abort=function(a,b){var c=this.bd.get(a);if(c){var e=c.Px;c.Mxa(!0);b&&(e&&(this.X3(e,c.cR),qt(e,lm,function(){this.Fs.fk(e)},!1,this)),this.bd.remove(a));e&&e.abort()}};r.sla=function(a,b){var c=this.bd.get(a);c&&!c.Px?(this.$ba(b,c.cR),b.OD(this.qk),b.bAa(c.jw),b.uP(c.bp),c.Px=b,this.dispatchEvent(new MS(lm,this,a,b)),this.D4(a,b),c.PR&&b.abort()):this.Fs.fk(b)};
r.Ju=function(a,b){var c=b.target;switch(b.type){case lm:this.D4(a,c);break;case kf:return this.Ila(a,c,b);case wo:this.Qu(a,c);break;case Lo:case Hg:this.Ld(a,c);break;case Hd:this.hla(a,c)}return null};r.D4=function(a,b){var c=this.bd.get(a);!c||c.gU||c.NJ()?(c&&(this.X3(b,c.cR),this.bd.remove(a)),this.Fs.fk(b)):(c.tpa(),b.send(c.getUrl(),c.rsa,c.Jb(),c.QI()))};
r.Ila=function(a,b,c){var e=this.bd.get(a);if(7==b.qc||b.aL()||e.NJ())if(this.dispatchEvent(new MS(kf,this,a,b)),e&&(e.sya(!0),e.fU))return e.fU.call(b,c);return null};r.hla=function(a,b){this.dispatchEvent(new MS(Hd,this,a,b))};r.Qu=function(a,b){this.dispatchEvent(new MS(wo,this,a,b))};r.Ld=function(a,b){this.bd.get(a).NJ()&&this.dispatchEvent(new MS(Hg,this,a,b))};r.X3=function(a,b,c){this.J.Ca(a,c||KS,b)};r.$ba=function(a,b,c){this.J.o(a,c||KS,b)};
r.A=function(){JS.g.A.call(this);this.Fs.dispose();this.Fs=null;this.J.dispose();this.J=null;this.bd.clear();this.bd=null};var MS=function(a,b,c,e){G.call(this,a,b);this.id=c;this.Px=e};B(MS,G);var LS=function(a,b,c,e,f,g,h,k,n){this.Da=a;this.rsa=c||"GET";this.Cc=e;this.SJ=f||null;this.VL=v(h)?h:1;this.TS=0;this.PR=this.gU=!1;this.cR=b;this.fU=g;this.jw=k||"";this.bp=!!n;this.Px=null};r=LS.prototype;r.getUrl=function(){return this.Da};r.Jb=function(){return this.Cc};r.QI=function(){return this.SJ};
r.tpa=function(){this.TS++};r.NJ=function(){return this.TS>this.VL};r.sya=function(a){this.gU=a};r.Mxa=function(a){this.PR=a};var NS=function(a,b,c,e){G.call(this,a,b);this.request=c;this.response=e||null};B(NS,G);var OS=function(a,b,c,e,f,g,h){G.call(this,a,b);this.request=c;this.response=e;this.sva=h};B(OS,NS);var PS=function(){J.call(this);this.qp=Fv("picker.net.BaseCommunicationsManager");this.pd=!1;this.tM=0;this.Aw=new K;this.EC=new K;this.ZC=new K;this.J=new GA(this);this.D3=new iw(6E4);this.J.o(this.D3,Ko,this.nna)};B(PS,J);r=PS.prototype;r.vy=function(){return!1};r.vi=function(){return this.J};r.initialize=function(){L(this.qp,"Initializing...");this.pd=!0;for(var a=this.ZC,b=a.pb(),c=0;c<b.length;c++)this.zw(b[c]);a.clear();this.D3.start()};
r.zw=function(a){rr(a,YR);this.pd?(L(this.qp,"sendRequest with id="+a.I()+ba+a.Qf()+aa+a.Zb()),this.EC.set(a.I(),a),this.q5(a),this.tM++):(L(this.qp,"sendRequest before initialization with id="+a.I()+ba+a.Qf()+aa+a.Zb()),this.ZC.set(a.I(),a))};r.y3=function(a){var b=this.EC,c=b.get(a);c&&(L(this.qp,"processReady with id="+a+ba+c.Qf()+aa+c.Zb()),this.dispatchEvent(new OS(lm,this,c)),b.remove(a),this.Aw.set(a,c))};
r.cN=function(a,b){var c=this.Aw,e=c.get(a);e&&(L(this.qp,"processSuccess with id="+a+ba+e.Qf()+aa+e.Zb()),c.remove(a),c=uS.cq(e.Zb(),b),this.dispatchEvent(new OS(wo,this,e,c||void 0,b)))};r.bN=function(a,b,c){var e=this.Aw,f=e.get(a);f&&(Hv(this.qp,"processError with id="+a+aa+f.Zb()+" and opt_errorCode="+b),e.remove(a),this.Ffa(f,b,c))};r.Ffa=function(a,b,c){a=gq(a)?a:[a];for(var e=0;e<a.length;e++)this.dispatchEvent(new OS(Hg,this,a[e],void 0,void 0,b,c))};
r.nna=function(){45<this.tM&&window.location.reload(!0);this.tM=0};r.A=function(){this.EC.clear();this.EC=null;this.Aw.clear();this.Aw=null;this.ZC.clear();this.ZC=null;this.J.dispose();this.J=null;PS.g.A.call(this)};var QS=Fv("picker.net.JsonResponseUtil"),RS=function(a,b){var c;try{var e=b;0==e.indexOf(oa)&&(e=e.substring(11));c=At(e)}catch(f){return Hv(QS,"response could not be parsed for id="+a,f),null}return lq(c)?c:(Hv(QS,"response not an object for id="+a),null)};var SS=function(a){PS.call(this);this.B=a;a=new K;a.set("Content-control","no-cache");a.set("X-Same-Domain","explorer");a=new JS(0,a,0,4,2E4);this.vi().o(a,[lm,wo,Hg],this.Ju);this.ep=a};B(SS,PS);r=SS.prototype;r.H=Fv("picker.net.CommunicationsManager");r.OD=function(a){this.ep.OD(a)};r.vy=Nu;r.q5=function(a){FS.K().aR++;var b=a.hn();b.W(hi,this.B.ul);this.ep.send(a.I()+"",b.toString(),Hc,a.Jb(),a.QI(),100)};
r.Ju=function(a){var b;b=a.id;var c=Number(b);b=0==c&&Dq(b)?NaN:c;c=a.Px;switch(a.type){case lm:this.ona(b,c);break;case wo:this.Qu(b,c);break;case Hg:this.Ld(b,c)}};r.ona=function(a){this.y3(a)};r.Qu=function(a,b){var c=RS(a,b.re());c?this.cN(a,c):this.bN(a)};r.Ld=function(a,b){FS.K().bR++;this.bN(a,b.Ij(),b)};r.A=function(){this.ep&&(this.ep.Vja()?this.vi().Zf(this.ep,[wo,Hg],function(){M(this.A,0,this)}):(SS.g.A.call(this),this.ep.dispose(),this.ep=null))};var TS=function(a){sS.call(this,a);this.Ji&&(a=this.Du(),this.Kw(nS(a.docs||[])))};B(TS,sS);TS.prototype.Zb=function(){return 3};uS.set(3,function(a){return new TS(a)});var US=function(a,b,c){YR.call(this);this.vd=a;this.tH=b;this.eb=c};B(US,YR);US.prototype.Nf=Mu(new Gx("fetch"));US.prototype.Zb=function(){return 3};US.prototype.getOptions=function(){return this.eb};US.prototype.Ge=function(){var a=new K;aS(a,oi,Ct(this.tH));aS(a,Pm,this.vd);aS(a,Lk,Ct(this.eb));return a};var VS=function(a){sS.call(this,a);this.Ji&&(a=this.Du(),this.Kw(nS(a.docs||[])))};B(VS,sS);VS.prototype.Zb=function(){return 5};uS.set(5,function(a){return new VS(a)});var WS=function(a,b,c,e){YR.call(this);this.dua=a;this.vd=b;this.tH=c;this.eb=e};B(WS,YR);r=WS.prototype;r.Nf=Mu(new Gx("mutate"));r.Zb=function(){return 5};r.getOptions=function(){return this.eb};r.Ge=function(){var a=new K;aS(a,oi,Ct(this.tH));aS(a,Pm,this.vd);aS(a,"operation",this.dua);aS(a,Lk,Ct(this.eb));return a};r.qu=function(){var a=WS.g.qu.call(this);a.W("requestid",this.I());return a};var XS=function(a){sS.call(this,a);this.Ji&&(a=this.Du(),this.Kw(nS(a.docs||[])),this.yg=a.cursor,a.cToken&&this.xo(a.cToken))};B(XS,sS);XS.prototype.Zb=function(){return 10};XS.prototype.tl=function(){return void 0!=this.yg};uS.set(10,function(a){return new XS(a)});var YS=function(a){sS.call(this,a);a=this.Du()||{};this.Kw(nS(a.docs||[]));this.yg=a.cursor};B(YS,sS);YS.prototype.Zb=function(){return 13};YS.prototype.tl=function(){return void 0!=this.yg};uS.set(13,function(a){return new YS(a)});var ZS=function(a,b,c,e){YR.call(this);this.cfa=a;"c"==a&&this.Yya(!0);this.aw=b;this.ia=c;this.mk=0;this.ZH=e||new TQ(1023)};B(ZS,YR);r=ZS.prototype;r.Nf=Mu(new Gx("ppl"));r.Zb=function(){return 13};r.getQuery=function(){return this.aw};r.getParent=function(){return this.ia};r.Ge=function(){var a=new K;aS(a,"d",this.cfa);aS(a,"q",this.aw);aS(a,"p",this.ia);return a};r.setStart=function(a){this.mk=a};r.Iw=function(a){this.yg=a};var $S=function(a){YR.call(this);this.mk=a.start||0;this.dCa=a.sort||3;this.mfa=void 0==a.desc||!!a.desc;this.aw=a.query||a.q;this.yg=a.cursor;this.Hf=a.continuationToken||"";this.pva=a.queryNameOnly};B($S,YR);r=$S.prototype;r.setStart=function(a){this.mk=a};r.getQuery=function(){return this.aw};r.Iw=function(a){this.yg=a};r.xo=function(a){this.Hf=a||""};
r.Ge=function(){var a=new K;aS(a,oo,this.mk);aS(a,"numResults",50);aS(a,"sort",this.dCa);aS(a,"desc",this.mfa);aS(a,"q",this.aw);aS(a,"qNameOnly",this.pva);aS(a,"cursor",this.yg);this.Hf&&aS(a,"cToken",this.Hf);return a};r.qu=function(){var a=$S.g.qu.call(this),b=a.Fg();b.remove(oo);b.remove("numResults");b.remove("cursor");b.remove("cToken");return a};var aT=function(a){$S.call(this,a);this.Gv=a.mimeTypes;this.usa=a.mine;this.ia=a.parent;this.uj=a.email;var b={};b.opts=a;this.s5=b};B(aT,$S);r=aT.prototype;r.Nf=Mu(new Gx("vr"));r.Zb=function(){return 10};r.WT=function(a){var b=this.s5.opts;if(!b)return a||{};b=ks(b);if(a)for(var c in a)b[c]=a[c];return b};r.clone=function(a){return new aT(this.WT(a))};r.bm=function(){return Ct(this.s5)};r.getParent=function(){return this.ia};r.Ha=function(a){this.ia=a;this.Ypa()};r.getEmail=function(){return this.uj};
r.Ge=function(){var a=aT.g.Ge.call(this);aS(a,Qj,this.Gv);aS(a,Yk,this.ia);aS(a,Ag,this.uj);aS(a,"mine",this.usa);return a};var bT=function(a){aT.call(this,a);this.v5=a.service;this.Ya=a.type;this.W9=a.username;this.eb=a.options};B(bT,aT);r=bT.prototype;r.Nf=Mu(new Gx("pvr"));r.Ge=function(){var a=bT.g.Ge.call(this);aS(a,Pm,this.v5);aS(a,Xo,this.Ya);this.W9&&aS(a,"userName",this.W9);aS(a,Lk,Ct(this.eb));return a};r.mAa=function(a){this.v5=a};r.Aa=function(){return this.Ya};r.getOptions=function(){return this.eb};r.setOption=function(a,b){this.eb||(this.eb={});b?this.eb[a]=b:delete this.eb[a]};
r.oga=function(a){this.eb||(this.eb={});this.eb[a]=!0};Fv("goog.debug.ErrorReporter");var cT=function(a){J.call(this);this.JC=a.JC;this.KC=a.KC;this.Xv=a.Xv;this.i0=!0;this.Sb=null};B(cT,J);cT.prototype.vy=function(a){return this.i0&&a instanceof bT&&(this.i0=!1,this.Aca(a))?!0:!1};cT.prototype.initialize=dq;var dT=function(a,b){return a===b||(void 0===a||null===a)&&(void 0===b||null===b)};r=cT.prototype;
r.Aca=function(a){var b=new K(this.Xv.options),c=new K(a.getOptions()),e=b.get(Qj);e&&(e=e.split(","),Tr(e),b.set(Qj,e.join()));if(e=c.get(Qj))e=e.split(","),Tr(e),c.set(Qj,e.join());if(!b.Dd(c,dT))return!1;var b=new Gx("picker/pvr"),f;for(f in this.KC)b.W(f,this.KC[f]);c=new Hx;for(f in this.Xv)c.set(f,this.Xv[f]);b.Wh(c);c.remove(Lk);f=a.hn();a=a.Fg();f.Wh(a);a.remove(Lk);return b.toString()==f.toString()};r.zw=function(a){rr(a,bT);this.Sb=a;this.JC.addCallback(y(this.kna,this))};
r.kna=function(a,b){if(200==a&&b){var c=RS(this.Sb.I(),b);if(c){this.lva(c);this.Sb=null;return}}this.jva();this.Sb=null};r.lva=function(a){var b=uS.cq(this.Sb.Zb(),a);this.dispatchEvent(new OS(wo,this,this.Sb,b,a))};r.jva=function(){this.dispatchEvent(new OS(Hg,this,this.Sb))};var eT=function(a){YR.call(this);this.tc=a};B(eT,YR);eT.prototype.Nf=Mu(new Gx("stat"));eT.prototype.hn=function(){var a=eT.g.hn.call(this);D(this.tc,function(b){a.Fg().add("stat",b)});return a};eT.prototype.Zb=function(){return 8};eT.prototype.Qf=function(){return eT.g.Qf.call(this)+"/"+this.I()};var fT=function(){E.call(this)};B(fT,E);fT.prototype.initialize=function(){};var gT=function(a,b){this.Dz=a;this.La=b};gT.prototype.cq=function(a){this.Dz&&(this.Dz.call(this.La||null,a),this.Dz=this.La=null)};gT.prototype.abort=function(){this.La=this.Dz=null};var hT=function(a,b){E.call(this);this.lfa=a;this.fa=b;this.IM=[];this.zM=[];this.aW=[]};B(hT,E);r=hT.prototype;r.ysa=fT;r.bk=null;r.EI=function(){return this.lfa};r.I=function(){return this.fa};r.SC=function(a,b){return this.Br(this.IM,a,b)};r.Iva=function(a,b){return this.Br(this.zM,a,b)};r.Br=function(a,b,c){b=new gT(b,c);a.push(b);return b};r.Ih=function(){return!!this.bk};
r.xta=function(a){var b=new this.ysa;b.initialize(a());this.bk=b;b=(b=!!this.XF(this.aW,a()))||!!this.XF(this.IM,a());b||(this.zM.length=0);return b};r.kta=function(a){(a=this.XF(this.zM,a))&&window.setTimeout(Qu("Module errback failures: "+a),0);this.aW.length=0;this.IM.length=0};r.XF=function(a,b){for(var c=[],e=0;e<a.length;e++)try{a[e].cq(b)}catch(f){Kv(f),c.push(f)}a.length=0;return c.length?c:null};r.A=function(){hT.g.A.call(this);F(this.bk)};var iT=function(){E.call(this);this.Kl={};this.Wj=[];this.gk=[];this.hw=[];this.Qe=[];this.Kx=[];this.uy={};this.fV=this.ny=new hT([],"");this.Jpa=new UF;this.H=Fv("goog.module.ModuleManager");this.Tda=this.cT=!1;this.r1=null;this.Ky=0;this.V9=this.P0=!1;this.ir=null};B(iT,E);eq(iT);r=iT.prototype;r.Rf=function(a){return this.Kl[a]};r.Gja=function(){return this.ir};r.Hza=function(a){this.ir=a;this.fsa()};r.ac=function(){return 0<this.Wj.length};r.bra=function(){return 0<this.Kx.length};
r.Rm=function(){var a=this.P0,b=this.ac();b!=a&&(this.Zk(b?Nd:"idle"),this.P0=b);a=this.bra();a!=this.V9&&(this.Zk(a?"userActive":"userIdle"),this.V9=a)};r.n3=function(a,b){var c=new UF;window.setTimeout(y(this.Kba,this,a,c),b||0);return c};r.Kba=function(a,b){var c=this.Rf(a);c.Ih()?b.Ac(this.ir):(this.L3(a,c,!1,b),this.iB(a)||this.FL([a]))};
r.Dra=function(a,b){var c=[];Rr(a,c);for(var e=[],f={},g=0;g<c.length;g++){var h=c[g],k=this.Rf(h);if(!k)throw Error("Unknown module: "+h);var n=new UF;f[h]=n;k.Ih()?n.Ac(this.ir):(this.L3(h,k,!!b,n),this.iB(h)||e.push(h))}0<e.length&&this.FL(e);return f};r.L3=function(a,b,c,e){b.SC(e.Ac,e);b.Iva(function(a){e.ef(Error(a))});this.iB(a)?c&&(L(this.H,zd+a),this.Xx(a),this.Rm()):c?(L(this.H,Ad+a),this.Xx(a)):L(this.H,sc+a)};
r.FL=function(a){this.Tda?this.Jpa.pa(y(this.CB,this,a)):Gr(this.Wj)?this.CB(a):(this.Qe.push(a),this.Rm())};r.aia=function(){return 5E3*Math.pow(this.Ky,2)};r.CB=function(a,b,c){b||(this.Ky=0);b=this.kva(a);L(this.H,"Loading module(s): "+b);this.Wj=b;this.gk=this.cT?a:Nr(b);this.Rm();Gr(b)||(this.hw.push.apply(this.hw,b),a=y(this.r1.mNa,this.r1,Nr(b),this.Kl,null,y(this.Lma,this,this.gk,b),y(this.Mma,this),!!c),(c=this.aia())?window.setTimeout(a,c):a())};
r.kva=function(a){for(var b=0;b<a.length;b++)if(this.Kl[a[b]].Ih())throw Error("Module already loaded: "+a[b]);for(var c=[],b=0;b<a.length;b++)c=c.concat(this.dY(a[b]));Rr(c);return!this.cT&&1<c.length?(b=c.shift(),L(this.H,"Must load "+b+" module before "+a),this.Qe=xr(c,function(a){return[a]}).concat(this.Qe),[b]):c};
r.dY=function(a){var b=[];Fr(this.hw,a)||b.push(a);for(a=Nr(this.Rf(a).EI());a.length;){var c=a.pop();this.Rf(c).Ih()||Fr(this.hw,c)||(b.unshift(c),Array.prototype.unshift.apply(a,this.Rf(c).EI()))}Rr(b);return b};r.fsa=function(){this.fV==this.ny&&(this.fV=null,this.ny.xta(y(this.Gja,this))&&this.pH(4),this.Rm())};r.iB=function(a){if(Fr(this.Wj,a))return!0;for(var b=0;b<this.Qe.length;b++)if(Fr(this.Qe[b],a))return!0;return!1};
r.bq=function(a,b,c,e,f,g){var h=this.Kl[a];h.Ih()?(L(this.H,a+" module already loaded"),b=new gT(b,c),g?b.cq(this.ir):window.setTimeout(y(b.cq,b),0)):this.iB(a)?(L(this.H,a+" module already loading"),b=h.SC(b,c),f&&(L(this.H,zd+a),this.Xx(a),this.Rm())):(L(this.H,"Registering callback for module: "+a),b=h.SC(b,c),e||(f&&(L(this.H,Ad+a),this.Xx(a)),L(this.H,sc+a),this.FL([a])));return b};r.load=function(a,b){return this.Dra([a],b)[a]};r.Xx=function(a){Fr(this.Kx,a)||this.Kx.push(a)};
r.Lma=function(a,b,c){this.Ky++;this.gk=a;D(b,sq(Kr,this.hw),this);401==c?(L(this.H,"Module loading unauthorized"),this.pH(0),this.Qe.length=0):410==c?(this.vN(3),this.GL()):3<=this.Ky?(L(this.H,"Aborting after failure to load: "+this.Wj),this.vN(1),this.GL()):(L(this.H,"Retrying after failure to load: "+this.Wj),this.CB(this.gk,!0,8001==c))};r.Mma=function(){L(this.H,"Aborting after timeout: "+this.Wj);this.vN(2);this.GL()};
r.vN=function(a){1<this.gk.length?this.Qe=xr(this.gk,function(a){return[a]}).concat(this.Qe):this.pH(a)};
r.pH=function(a){var b=this.gk;this.Wj.length=0;for(var c=[],e=0;e<this.Qe.length;e++){var f=wr(this.Qe[e],function(a){var c=this.dY(a);return zr(b,function(a){return Fr(c,a)})},this);Or(c,f)}for(e=0;e<b.length;e++)Ir(c,b[e]);for(e=0;e<c.length;e++){for(f=0;f<this.Qe.length;f++)Kr(this.Qe[f],c[e]);Kr(this.Kx,c[e])}var g=this.uy.error;if(g)for(e=0;e<g.length;e++)for(var h=g[e],f=0;f<c.length;f++)h(Hg,c[f],a);for(e=0;e<b.length;e++)this.Kl[b[e]]&&this.Kl[b[e]].kta(a);this.gk.length=0;this.Rm()};
r.GL=function(){for(;this.Qe.length;){var a=wr(this.Qe.shift(),function(a){return!this.Rf(a).Ih()},this);if(0<a.length){this.CB(a);return}}this.Rm()};r.SC=function(a,b){gq(a)||(a=[a]);for(var c=0;c<a.length;c++)this.Br(a[c],b)};r.Br=function(a,b){var c=this.uy;c[a]||(c[a]=[]);c[a].push(b)};r.Zk=function(a){for(var b=this.uy[a],c=0;b&&c<b.length;c++)b[c](a)};r.A=function(){iT.g.A.call(this);Vr(bs(this.Kl),this.ny);this.uy=this.Qe=this.Kx=this.gk=this.Wj=this.Kl=null};var jT=function(a){E.call(this);this.yQ=a||0;this.Kc={};this.Tk=[];this.gL=!1;this.yg="0";this.Hf="";this.DL=[];this.d$=this.VH=0};B(jT,E);r=jT.prototype;r.sG=function(a){return!!this.Kc[a]};r.kc=function(){return Nr(this.Tk)};r.Ie=function(){return this.Tk.length};r.m7=function(){this.d$=z()};
r.Ak=function(a){var b=[],c=[],e=[],f=this.Kc,g=this.Tk,h=[],k={};D(a,function(a){var b=a.I(),c=k[b];void 0!==c?h[c]=a:(k[b]=h.length,h.push(a))});a=h;if(this.Ng())D(a,function(a){var c=a.I(),h=f[c];f[c]=a;h?(g[sr(g,h)]=a,e.push(c)):(g.push(a),b.push(c))});else{var n=f;this.Kc=f={};this.Tk=g=[];D(a,function(a){var c=a.I();f[c]=a;g.push(a);n[c]?(delete n[c],e.push(c)):b.push(c)});Wr(n,function(a,b){c.push(b)});this.gL=!0;this.VH=z()}Ur(this.Tk,this.aCa);z();this.QV(b,c,e)};
r.bi=function(a,b){for(var c=0;c<this.Tk.length;c++)this.Tk[c].I()==a&&(this.Tk[c]=b);hs(this.Kc,a);this.Kc[b.I()]=b;this.QV([],[],[a])};r.Ng=function(){return this.gL&&(!this.yQ||this.d$-this.VH<this.yQ)};r.ZA=function(a){if(a||!this.yQ)this.gL=!1};r.tl=function(){return void 0!=this.yg};r.Iw=function(a){this.yg=a};r.yn=function(){return!!this.Hf};r.xo=function(a){this.Hf=a||""};r.addListener=function(a){this.DL.push(a)};r.removeListener=function(a){Kr(this.DL,a)};
r.QV=function(a,b,c){D(this.DL,function(e){e(a,b,c)})};r.aCa=function(a,b){return a.d8-b.d8};var kT=function(a){E.call(this);this.B=a;this.Kc={};this.Jp={}};B(kT,E);var lT=0;r=kT.prototype;r.N=function(a){var b=this.Kc[a];if(b)return b;if(!x(a))return null;b=a.split(".");if(3!=b.length)return null;var c=b[0],e=b[1];return b[2]==xm&&(b=Dr(this.kc(),function(a){return a.Wq()&&a.vd==c&&a.ns==e}))?this.Kc[a]=b:null};
r.Ak=function(a){var b=this.Kc;D(a,function(a){0!=a.Gqa(b[a.I()])&&(b[a.I()]?b[a.I()].K1(a):b[a.I()]=a)});Wr(this.Jp,function(b){if(b.Ng()){var e=wr(a,function(a){return b.sG(a.I())});e.length&&(e=xr(e,function(a){return this.N(a.I())},this),b.Ak(e))}},this)};r.bi=function(a,b){this.Kc[b.I()]=b;Wr(this.Jp,function(c){c.Ng()&&c.sG(a)&&c.bi(a,b)})};r.kc=function(){return bs(this.Kc)};r.Gd=function(a){a=a.Qf();var b=this.Jp[a];b||(b=this.Jp[a]=new jT(this.B.IY()));return b};
r.lM=function(){return this.Jp["_newnodes_"+lT++]=new jT(this.B.IY())};r.Xpa=function(a){Wr(this.Jp,function(b){b.ZA(a)})};var mT=function(a){E.call(this);this.ja=a;this.bd=new K;this.oQ=100;this.C_=this.nL=0;this.Df=null};B(mT,E);r=mT.prototype;r.Rc=function(a,b,c,e,f){b=new nT(a,b,c,e,f);this.bd.Xb(a)?Ir(this.bd.get(a),b):this.bd.set(a,[b]);this.lP()};r.lP=function(){var a=this.nL;this.nL=z();null===this.Df&&(this.oQ=this.Kja(this.oQ,4E3<this.nL-a),this.Df=M(this.qoa,this.oQ,this))};
r.qoa=function(){this.Df=null;this.ja.Rc(new US(il,this.bd.kb(),{includeProtoPhoto:Wo,includeFaceData:Wo}),y(this.tna,this),y(this.lP,this))};r.tna=function(a){this.ob||(D(a.kc(),function(a){for(var c=this.bd.get(a.rb,[]),e=0;e<c.length;){var f=c[e];if(!f.context.ob)if(f.Xua.call(f.context,a)){f.Ac.call(f.context,a);Jr(c,e);continue}else if(60>f.h9)f.h9++;else{Jr(c,e);continue}e++}c.length||this.bd.remove(a.rb)},this),this.bd.xa()&&this.lP())};
r.Kja=function(a,b){var c=z()-5E3;return b||this.C_<c?(this.C_=z(),100):50*a};r.A=function(){mT.g.A.call(this);null===this.Df||jw(this.Df)};var nT=function(a,b,c,e,f){this.context=b;this.Ac=c;this.Xua=e||Nu;this.h9=f||0};var oT=function(a){E.call(this);this.ja=a;this.tc=[];this.Zh=new VC(this.cu,15E3,this)};B(oT,E);oT.prototype.H=Fv("picker.base.StatManager");oT.prototype.add=function(a){L(this.H,"Queuing stat: "+a);this.tc.push(a);this.Zh.Yt()};oT.prototype.flush=function(){this.Zh.stop();this.cu()};oT.prototype.cu=function(){this.tc.length&&(L(this.H,"Sending stats: "+this.tc.join(",")),this.ja.Rc(new eT(this.tc),dq,dq),Hr(this.tc))};var pT=function(a){E.call(this);this.B=a;this.Ok=new kT(a);this.ha(this.Ok);this.J=new GA(this);this.ha(this.J);this.ao=new K;this.Hy=[];this.i8=new SS(a);this.Ux(this.i8);a.JC&&a.Pqa()&&this.Ux(new cT(a));this.dfa=new mT(this);this.ha(this.dfa);this.ZP=new oT(this);this.ha(this.ZP)};B(pT,E);var qT=function(a,b,c){this.Ac=a;this.ef=b;this.zDa=c};r=pT.prototype;r.H=Fv("picker.base.DataHub");r.Hw=function(a){this.T=a};r.Ux=function(a){this.Hy.push(a);this.J.o(a,[wo,Hg],this.sna)};
r.Rc=function(a,b,c,e){if(!this.ob)if(a instanceof ZS&&!this.Kqa)iT.K().bq(Gk,y(function(){this.ob||(iT.K().Rf(Gk).bk.eka(this.T),this.Kqa=!0,this.Rc(a,b,c,e))},this));else{var f=new qT(b,c,!!e),g=a.Qf(),h=this.ao.get(g);h?h.push(f):(this.ao.set(g,[f]),this.DCa(a))}};r.DCa=function(a){var b=this.Hy;this.B.Qd()&&a instanceof bT&&(a.mAa(wg),a.oga("isMinimalMode"));for(var c=b.length-1;0<=c;c--)if(b[c].vy(a)){b[c].zw(a);return}throw Error("Communications manager not found.");};
r.sna=function(a){if(!this.ob){var b=a.type,c=rr(a.request,YR),e=a.response&&tS(a.response),f=c.Qf(),g=this.ao.get(f);if(g){b==wo&&e.Ji&&e.kc?(b=zr(g,function(a){return a.zDa}),(a=e.kc())&&b&&(0==a.length&&this.Bxa(c),this.Ak(a),b=e.tl&&e.tl()?e.yg:void 0,this.Gd(c).Iw(b),b=e.yn&&e.yn()?e.Hf:void 0,this.Gd(c).xo(b),this.Gd(c).Ak(xr(a,function(a){return this.N(a.I())},this)))):b==wo&&e&&!e.Ji?c instanceof aT?this.Jc(50):c instanceof WS?this.Jc(60):c instanceof US&&this.Jc(57):b==Hg&&this.wxa(a);for(c=
0;c<g.length;c++)e&&!e.getError()&&e.Ji?g[c].Ac(e):g[c].ef(e);this.ob||this.ao.remove(f)}}};r.wxa=function(a){var b=rr(a.request,YR);b instanceof eT||(a=this.bla(a))&&this.Dxa(b,a)||(b instanceof aT?this.Jc(52):b instanceof WS?this.Jc(61):b instanceof US&&this.Jc(58))};r.bla=function(a){return a instanceof OS&&(a=a.sva)&&a.qc?a:null};r.Dxa=function(a,b){if(8==b.qc){if(a instanceof aT)return this.Jc(55),!0;if(a instanceof WS)return this.Jc(62),!0;if(a instanceof US)return this.Jc(59),!0}return!1};
r.Bxa=function(a){a instanceof aT?this.Jc(54):a instanceof US&&this.Jc(56)};r.N=function(a,b){b&&(a=b+".0."+a.substring(a.lastIndexOf(".")+1));return this.Ok.N(a)};r.kc=function(){return this.Ok.kc()};r.Ak=function(a){this.Ok.Ak(a)};r.bi=function(a,b){this.Ok.bi(a,b)};r.Gd=function(a){return this.Ok.Gd(a)};r.lM=function(){return this.Ok.lM()};r.Jc=function(a){this.ZP.add(a)};r.$W=function(){this.ZP.flush()};r.reset=function(a){this.Ok.Xpa(a);this.ao.clear()};
r.A=function(){pT.g.A.call(this);D(this.Hy,function(a){a.dispose()});delete this.Hy;this.ao.clear();delete this.ao};var rT=function(a,b){YR.call(this);this.Jt=a;this.Wo=b};B(rT,YR);rT.prototype.Nf=Mu(new Gx("pick"));rT.prototype.Zb=function(){return 6};rT.prototype.Ge=function(){var a=new K;aS(a,jg,Ct(this.Jt));this.Wo&&aS(a,Ip,Ct(this.Wo.bm()));return a};var sT=function(a){switch(a){case "atec":case Je:case "caa":case "cpaa":case "contactPhoto":case "copyphoto":case "ctpa":case "cropphoto":case "ipfd":case "sptm":case "mtp":case Td:case "photocuration":case "photosharing":case "polls":case "profileBanner":case dm:case "sqprofile":return Fk;case "bulkTag":return"opt";case xg:case Ye:return"opd";case cf:return Gk;case "ctpf":case "dow":case "mdisamb":return"opmd"}},tT=function(a,b){var c=new UF,e;null!=a[0]&&(e=sT(a[0]));if(null!=e&&null!=a[1]){var f=
iT.K();f.bq(e,function(){c.Ac(f.Rf(e).bk.RMa(a[0],a[1],b))})}else c.ef("Postprocessor not found: "+a[0]);return c};var uT,wT=function(a,b){if(!uT){var c=document.createElement(Am);c.src=mi;c.type=Fo;c.async=!0;document.body.appendChild(c);uT=!0}vT(a,b)},vT=function(a,b){window.gapi&&window.gapi.load?window.gapi.load(a,{callback:b}):M(y(vT,void 0,a,b),100)};var xT=function(a,b){J.call(this);this.B=a;this.aa=b;this.fN=[];qt(b,"B",this.zoa,!1,this)};B(xT,J);r=xT.prototype;r.H=Fv("picker.base.IncomingStream");r.c$=!1;r.zoa=function(){this.c$=!0;D(this.fN,function(a){this.Et(a)},this);Hr(this.fN)};
r.Et=function(a){var b=a&&a.action,c=es(OP,b);L(this.H,"Received "+(c?"":"invalid ")+'"'+b+'" action from host: '+fv(a));if(c)if(!this.c$&&a.wfv)this.fN.push(a);else{switch(b){case Um:this.Wna(a);break;case Qm:this.Una(a);break;case Kp:this.Yna(a)}(!XQ().Xn||b!=Vm&&b!=Wm)&&this.dispatchEvent(new yT(b,a))}};
r.Wna=function(a){a=a.albumId;null===a||x(a)?(this.B.jm(a),L(this.H,'Set the default upload album id to: "'+a+'"')):Hv(this.H,'Unable to set upload album id to non-null, non-string value: "'+a+'"')};r.Una=function(a){this.B.Ns([xg,a])};r.Yna=function(a){a=a.visible;iq(a)?(this.B.Wza(a),a&&this.B.Qd()&&(a=this.aa.mc)&&a.$g(!0)):Hv(this.H,"Invalid value for visible: "+a)};var yT=function(a,b){G.call(this,a);this.data=b};B(yT,G);var zT=function(a,b,c){E.call(this);this.se=a;this.pd=!1;this.Eb=[];c?wT("rpc",y(this.Pj,this)):this.Cra(b)};B(zT,E);r=zT.prototype;r.H=Fv("picker.base.GadgetsChannel");r.Cw="";
r.Cra=function(a){var b=XQ(),c=b.Zwa;c||(c=!b.nQ&&a?a.replace(/[^a-z0-9]/gi,""):"onepick",c=Cq("//www-%s-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=%s",c,c));a=document.createElement(Am);a.src=c;a.type=Fo;document.body.appendChild(a);var e=window.setInterval(y(function(){try{window.gadgets&&window.gadgets.rpc&&window.gadgets.config.get("rpc")&&(window.clearInterval(e),this.Pj())}catch(a){}},this),100)};
r.Pj=function(){var a=XQ();this.Cw=a.K4||kl;L(this.H,"Set service name to "+this.Cw);var b=a.getRelayUrl();window.gadgets.rpc.setRelayUrl("..",b);L(this.H,"Set gadgets relay url to "+b);if(a=a.bh)window.gadgets.rpc.setAuthToken("..",a),L(this.H,"Set gadgets auth token to "+a);a=this.se;window.gadgets.rpc.register(kl,y(a.Et,a));L(this.H,"Gadgets channel type = "+window.gadgets.rpc.getRelayChannel());this.pd=!0;D(this.Eb,function(a){a()})};r.vW=function(a){this.pd?a():this.Eb.push(a)};
r.call=function(a){this.vW(y(function(){window.gadgets.rpc.call("..",this.Cw,null,a)},this))};r.A=function(){zT.g.A.call(this);delete this.Eb};var AT=function(a){E.call(this);this.pd=!1;this.Eb=[];this.se=a;wT(ph,y(this.Pj,this))};B(AT,E);AT.prototype.Pj=function(){var a=XQ();a.getRelayUrl()&&(a=mw(a.getRelayUrl()),this.p_=cq(oh)([a]));var a={},b=this.se;a.sendCommand=y(b.Et,b);cq(nh)().ready({},a,void 0,this.p_);this.pd=!0;D(this.Eb,function(a){a()})};AT.prototype.call=function(a){this.pd?cq(nh)().getParentIframe().send("response",a,void 0,this.p_):this.Eb.push(y(this.call,this,a))};AT.prototype.A=function(){AT.g.A.call(this);delete this.Eb};var BT=function(a,b,c){c=c||{};return PD('<div><iframe onload="'+(c.Pa?Ea+c.Pa+qa:"")+'this.poolLocked=false"></iframe></div>')};BT.ya="picker.base.templates.ifpciframepool.iframeTemplate";var CT=function(){E.call(this);this.lc=[]};B(CT,E);CT.prototype.xG=function(a){var b=kD(BT),c=b.getElementsByTagName(oc)[0];c.style.visibility=ai;c.style.width=c.style.height="0px";c.style.border="0px";c.style.position=Ld;c.f3=a;this.lc[this.lc.length]=c;b.removeChild(c);return c};
CT.prototype.aja=function(a){var b=this;M(function(){for(var c=null,e=b.lc.length-1;0<=e;e--){var f=b.lc[e];if(f&&!f.f3)if(f.parentNode.removeChild(f),H)b.lc[e]=null,b.lc.splice(e,1);else{f.f3=!0;c=f;break}}c=c?c:b.xG(!0);c.src=a;document.body.appendChild(c)},0)};CT.prototype.clear=function(){for(var a=0;a<this.lc.length;a++)this.lc[a].onload=null,this.lc[a]=null;this.lc.length=0};CT.prototype.A=function(){CT.g.A.call(this);this.clear();this.lc=null};var DT=function(){E.call(this);var a=XQ();this.n_=Yk;this.ET=a.K4||kl;L(this.H,"Set ifpc channel name to "+this.ET);this.NA=a.getRelayUrl();L(this.H,"Set ifpc relay url to "+this.NA);this.bh=a.bh||"";L(this.H,"Set ifpc rpctoken to "+this.bh);this.jK=new CT};B(DT,E);r=DT.prototype;r.H=Fv("picker.base.IfpcChannel");r.xp=0;
r.call=function(a){this.bh&&(a.rpctoken=this.bh);if(this.NA){var b=[a];b.unshift("");b.unshift(null);b.unshift(this.ET);b.unshift(this.n_);a=4095-this.NA.length;a=parseInt(a/3,10);var b=this.Qt(b),c=parseInt(b.length/a,10);0<b.length%a&&(c+=1);for(var e=0;e<c;e++)this.jK.aja(this.NA+"#"+this.Qt([this.n_,this.xp,c,e,b.substr(e*a,a),!1]));this.xp++}else L(this.H,"No relay URL. Not sending data.")};r.Qt=function(a){for(var b=[],c=0;c<a.length;c++){var e=Ct(a[c]);b.push(encodeURIComponent(e))}return b.join("&")};
r.A=function(){DT.g.A.call(this);this.jK.dispose();this.jK=null};var ET=function(a){E.call(this);this.pd=!1;this.Eb=[];this.se=a;a=window.location.href.match(/.*(\?|#|&)usegapi=([^&#]+)/)||[];this.PE="1"===decodeURIComponent(a[a.length-1]||"");wT(this.PE?ph:"iframes",y(this.Pj,this))};B(ET,E);r=ET.prototype;r.H=Fv("picker.base.IframesChannel");
r.Pj=function(){var a={getHealthc:function(){return sk}};FS.K().vra();a.getVarc=function(){return FS.K().xia()};var b=this.se;a.sendCommand=y(b.Et,b);if(this.PE){var b=XQ(),c,e;b.getRelayUrl()&&(e=Px(b.getRelayUrl()))&&e.Re&&(c=e.Re+"://"+e.Bd,c=cq(oh)([c]));cq(nh)().ready({},a,void 0,c)}else window.iframes.ready({},a);this.pd=!0;D(this.Eb,function(a){a()})};r.vW=function(a){this.pd?a():this.Eb.push(a)};
r.call=function(a){if(this.pd){var b=a.action;b==jl||b==Ue?this.PE?cq(nh)().closeSelf(a):window.iframes.close(a):(b=this.PE?y(this.yxa,this):window.iframer.message,kq(b)?b(a):L(this.H,"Interim data not sent since no listening function exists."))}else this.Eb.push(y(this.call,this,a))};r.yxa=function(a){var b=cq(nh)(),c=cq("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER");b.addOnOpenerHandler(function(b){b.send(Nj,a,void 0,c)},c)};r.A=function(){ET.g.A.call(this);delete this.Eb};var FT=function(a,b,c,e){E.call(this);this.oE=c;this.vs=e;this.CP=a;this.dL=b};B(FT,E);var GT=["32-c","64-c","72-c","400",ag],HT=/<\/?b>/g;r=FT.prototype;r.t5=function(a,b){b(xr(a,this.tD,this))};
r.tD=function(a){var b={};b.id=a.rb;var c;c=a.vd;c=this.dL?"kix"==c?"doc":"punch"==c?"pres":"ritz"==c?"spread":c:c;b.serviceId=c;var e=a.Nh;b.mimeType=this.dL?e==ie?ee:e==ke?je:e==le?ne:e==he?ge:e:e;var e=a.getName(),f=a.zt;c==Np&&(e=null!=e?e.replace(HT,""):null,f=null!=f?f.replace(HT,""):null);this.ua(b,"name",e);this.ua(b,dg,f);this.ua(b,Xo,a.Aa());this.ua(b,ij,a.Og);if(c=a.TI())c=(new Gx(window.location.href)).resolve(new Gx(c)),b.iconUrl=c.toString();this.ua(b,rp,a.getUrl());a.vd==il&&a.Aa()==
Ap||this.ua(b,Cg,a.Pt);this.ua(b,rg,a.getAttribute(rg));this.ua(b,"copyable",a.getAttribute("cpy"));this.ua(b,"blobId",a.getAttribute("blobId"));this.ua(b,Jo,this.Lea(a));this.ua(b,"driveSuccess",a.getAttribute("ds"));this.ua(b,"driveError",a.getAttribute("de"));this.ua(b,bj,a.qB);this.ua(b,Uf,a.getAttribute("c"));this.ua(b,Ag,a.getAttribute(Ag));this.ua(b,"id",a.getAttribute("cid"));this.ua(b,"sizeBytes",a.ls);this.ua(b,"rpt",a.getAttribute("rpt"));this.ua(b,"rptn",a.getAttribute("rptn"));this.ua(b,
Co,a.getAttribute("tdid"));this.ua(b,"teamDriveName",a.getAttribute("tdname"));this.ua(b,ho,a.getAttribute("stdid"));this.ua(b,io,a.getAttribute("stdn"));this.ua(b,"undoable",a.getAttribute("undo"));this.ua(b,Mk,a.getAttribute("oitd"));if(c=a.getImageData())b.rotation=c.Xwa,b.rotationDegree=c.Wwa;(c=a.Cx)&&this.sca(c,b);(c=a.RE)&&this.tca(c,b);(c=a.co)&&(b.parentId=c.substring(c.lastIndexOf(".")+1));c=a.getAttribute("aa");null!=c&&(b.audience=dQ[c]);this.ua(b,"coverPhotoId",a.getAttribute("cpid"));
this.ua(b,lj,a.getAttribute("lat"));this.ua(b,zj,a.getAttribute("lng"));this.ua(b,yp,a.getAttribute("v"));(c=a.Xc())&&(b.children=xr(c,this.tD,this));this.ua(b,ok,a.sq());a.Tq()&&(b.isNew=!0);this.ua(b,"numTagged",a.getAttribute("nft"));this.ua(b,"numUntagged",a.getAttribute("nfu"));this.ua(b,Fi,a.getAttribute("ilpp"));this.ua(b,Gj,a.getAttribute("mfr"));this.ua(b,Kp,a.getAttribute(Kp));this.ua(b,Ij,a.getAttribute(Ij));this.ua(b,Gi,a.getAttribute("iss"));return b};
r.sca=function(a,b){b.uploadId=a.I();b.uploadState=a.getState();this.ua(b,Nf,a.lt);if(this.CP){var c=a.vz;c&&(b.uploadMetadata=c)}};r.tca=function(a,b){this.ua(b,"video_cid",a.lt);this.ua(b,"duration",a.Vp);this.ua(b,"aspectRatio",a.hy);this.ua(b,"channel",a.xy);this.ua(b,"view_count",a.SE)};r.ua=function(a,b,c){null!=c&&(a[b]=c)};r.Lea=function(a){if(!nQ(a.vd)||!this.dL){if(a=a.pia()){if(this.vs){for(var b=[],c=0;c<a.length;c++){var e=a[c];e.Aa()&&!Fr(this.vs,e.Aa())||Or(b,this.RU([e]))}return b}return this.RU(a)}return null}};
r.RU=function(a){for(var b=[],c=0;c<a.length;c++){var e=a[c];if(e&&e.s4)return this.Eea(e);if(e){var f={},g=e.getUrl();g&&Aq(g,"data:")||(f.url=e.getUrl(),f.width=e.Tf(),f.height=e.Dh(),this.vs&&e.Aa()&&(f.type=e.Aa()),b.push(f))}}return b};
r.Eea=function(a){for(var b=[],c={},e=this.oE||GT,f=0;f<e.length;f++){var g=e[f],h;if(g==ag)h=a.mA(void 0,void 0,!0);else if("orig"==g)h=a.mA(0,void 0,!0);else{var k,n,q;h=[];for(var g=g.split("-"),u=0;u<g.length;u++){var A=g[u],ca=parseInt(A,10);ca?k=ca:Aq(A,"h")&&1<A.length?n=parseInt(Wq(A,0,1),10):Aq(A,"w")&&1<A.length?q=parseInt(Wq(A,0,1),10):h.push(A)}var na;q&&n?na=new Hw(q,n):k&&(na=k);h=a.mA(na,h,!0)}g=h.Tf()+"x"+h.Dh();if(this.oE||!c[g])u={},u.url=h.getUrl(),u.width=h.Tf(),u.height=h.Dh(),
this.vs&&h.Aa()&&(u.type=h.Aa()),b.push(u),c[g]=!0}return b};var IT=function(a){C(a,"null context found");this.T=a;a=this.T.B.XD();var b=this.T&&this.T.B.oE||void 0,c=this.T&&this.T.B.vs||void 0;C(!!WQ,"flags not initialized");var e=XQ();FT.call(this,a,!!e.Xn||e.nQ,b,c)};B(IT,FT);IT.prototype.tD=function(a){var b=IT.g.tD.call(this,a);if((a=a.getAttribute("si"))&&a.length){var c=[];D(a,function(a){a=this.T.ja.N(a);var b={};b.name=a.getAttribute("tdn");b.email=a.getAttribute("te");b.userId=a.getAttribute("tuid");c.push(b)},this);b.people=c}return b};var JT=function(a,b,c){J.call(this);I(b,Ue,this.Yi,!0,this);if(!c)if(c=a.Bu(),"injected"==c)c=function(a){var b=window._pickerCallback;if(b)b(a);else throw Error("Injected callback function not defined");};else{switch(c){case mh:b=new zT(b,a.ul,a.QQ());break;case "gapi_iframes":b=new AT(b);break;case "iframes":b=new ET(b);break;default:b=new DT}c=y(b.call,b)}this.Vc=c;this.wr=[];this.ko=0;this.nF=XQ().isNative()?null:new pR(N(a.b()));this.ha(this.nF);this.d3=!1};B(JT,J);r=JT.prototype;r.H=Fv("picker.base.HostManager");
r.Hw=function(a){C(!this.T);this.T=a;this.l1()};r.yw=function(a){this.ob||(L(this.H,"Sending data to host: "+fv(ls(a))),this.Vc(a))};r.BE=function(a){var b={};b.action=a;this.yw(b)};r.Yi=function(){this.T.ja.Jc(6);this.o4();this.BE(Ue);this.T.B.$T&&this.T.bl().get(gR).v().xb().close()};r.gDa=function(){this.BE("blurred")};r.hDa=function(){this.BE(xj)};r.f9=function(){this.T.B.Z_(Hp)&&this.BE(Hp)};
r.vQ=function(a){var b=this.T;if((a=b.Ma.Gg(a))&&a.length)this.Mo(xr(a,function(a){return b.ja.N(a)},this));else if(a=b.Uo.getValue())this.e9(a);else throw a=(a=b.aa.gc)?a.Yz():"unknown",Error('E31337: No documents selected in "'+a+'"');b.B.$T&&b.bl().get(gR).v().xb().close()};
r.Mo=function(a,b){v(b)&&b!=jl&&b!=Ue||this.T.aa.A5(!0);var c=y(function(a,b){this.T.Gua.pa(y(function(){var c=new IT(this.T);c.t5(a,y(function(h){v(b)&&b!=jl||this.hxa(a,h);this.T.B.Tn&&this.T.B.Qd()&&this.E6(!0);var k=this.cka(a);k.length?c.t5(k,y(function(a){this.uQ(h,b,a)},this)):this.uQ(h,b)},this))},this))},this);b&&b!=jl?c(a,b):this.N4(a,c)};r.e9=function(a){this.uQ([{url:a}])};
r.uQ=function(a,b,c){b=b||jl;var e=this.tq(),f={};f.action=b;f.viewToken=e.bm();f.docs=a;c&&(f.parents=c);a=this.T.Ma.Jga;gs(a)||(f.extraUserInputs=a);XQ().nQ||(f.view=e.Yz());this.yw(f);b==jl&&this.o4()};
r.N4=function(a,b){this.l1();if(this.ko==this.wr.length)b(a);else{var c=y(function(a){this.ko++;this.ko==this.wr.length?b(a):this.N4(a,b)},this),e=y(function(a){alert(a||"Sorry! An unexpected error occurred while processing your selection.  Please try again later.");this.Yi()},this),f=this.wr[this.ko];f.pa(function(b){L(this.H,"Running post processor "+this.ko+": "+fv(ls(this.T.B.Oe[this.ko])));b.sNa(a,c,e)},this);f.ei(function(a){Gv(this.H,a);e()},this)}};
r.l1=function(){for(var a=this.T.B.Oe,b=this.wr.length;b<a.length;b++)gq(a[b])&&this.wr.push(tT(a[b],this.T))};r.hxa=function(a,b){for(var c=this.T,e=c.aa.mc,f=[],g=0;g<a.length&&b.length;g++){var h=ks(b[g]),k=a[g];h.docIndex=e.Pz(k);k.Og&&(h.lastEdited=k.Og);k.XX()&&(h.lastModifiedByMe=k.XX());k.lY()&&(h.recentTime=k.lY());k.YX()&&(h.lastViewedByMe=k.YX());f.push(h)}g=c.aa.gc;for(e=0;null!=g.Pc;)g=g.Pc,e++;g=g.clone();g.ab("viewTokenDepth",e);c.ja.Rc(new rT(f,g),dq,dq)};
r.FZ=function(){var a=this.T.aa.mc;a&&a.$g(!0)};r.cka=function(a){var b=[],c={};D(a,function(a){(a=a.co)&&!c[a]&&(c[a]=!0,(a=this.T.ja.N(a))&&b.push(a))},this);return b};r.tq=function(){var a=this.T.aa.gc;if(this.T.B.Qd()){var a=a.tq()||a,b=a.getOption(Yk);x(b)&&(b=XP(a.ta)?this.T.ja.N(b,jg):this.T.ja.N(b))&&b.getName()&&a.ab("parentName",b.getName());return a}for(;null!=a.Pc;)a=a.Pc;return a};
r.o4=function(){if(!this.ob){var a=this.T;a.ja.$W();var b=a.Lh;b&&(b.tN(),b.i4(),b.X(!1));M(function(){this.ob||(a.aa.A5(!1),this.dispatchEvent(sm),a.Ma.Jk(!0),a.ja.reset(),this.nF&&qt(this.nF,"activity",y(this.FZ,this),!1,this),D(this.wr,function(a){a.pa(function(a){a.reset()})}),this.ko=0)},500,this)}};r.E6=function(a){this.d3=a};var KT={jR:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},A$:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},1E12:{other:"0 trillion"},1E13:{other:"00 trillion"},
1E14:{other:"000 trillion"}}},LT=KT,LT=KT;var NT=function(a,b){var c=["0"],e=MT[b][0]&7;if(0<e){c.push(".");for(var f=0;f<e;f++)c.push("0")}return a.replace(/0.00/g,c.join(""))},MT={AED:[2,"dh","\u062f.\u0625.","DH"],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,
"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,"Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.",
"S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd","RUB"],SAR:[2,"Rial","Rial"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"TL","YTL"],TWD:[2,"NT$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var OT={DECIMAL_SEP:".",GROUP_SEP:",",yR:"%",jF:"0",uaa:"+",caa:"-",qR:"E",zR:"\u2030",bF:"\u221e",jaa:"NaN",DECIMAL_PATTERN:"#,##0.###",Daa:"#E0",paa:"#,##0%",D$:"\u00a4#,##0.00",F$:"USD"},PT=OT,PT=OT;var QT=function(a,b,c){this.kv=b||PT.F$;this.bfa=c||0;this.NB=40;this.Oh=1;this.Ho=0;this.Rn=3;this.SB=this.ak=0;this.S7=this.T9=!1;this.Vv=this.jo="";this.Ml="-";this.lr="";this.Sg=1;this.Vn=!1;this.qn=[];this.OE=this.lV=!1;this.it=0;this.bT=null;typeof a==pk?this.np(a):this.sg(a)};r=QT.prototype;r.Gza=function(a){if(0<this.Ho&&0<a)throw Error(Fb);this.ak=a;return this};r.Bza=function(a){this.Rn=a;return this};r.yAa=function(a){if(0<this.ak&&0<=a)throw Error(Fb);this.Ho=a;return this};
r.sg=function(a){a.replace(/ /g,"\u00a0");var b=[0];this.jo=this.AC(a,b);var c=b[0];this.Dua(a,b);c=b[0]-c;this.Vv=this.AC(a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.Sg&&(this.Vn=!0),this.Ml=this.AC(a,b),b[0]+=c,this.lr=this.AC(a,b)):(this.Ml=this.jo+this.Ml,this.lr+=this.Vv)};
r.np=function(a){switch(a){case 1:this.sg(PT.DECIMAL_PATTERN);break;case 2:this.sg(PT.Daa);break;case 3:this.sg(PT.paa);break;case 4:this.sg(NT(PT.D$,this.kv));break;case 5:this.zS(1);break;case 6:this.zS(2);break;default:throw Error("Unsupported pattern type.");}};r.zS=function(a){this.it=a;this.sg(PT.DECIMAL_PATTERN);this.Gza(0);this.Bza(2);this.yAa(2)};
r.parse=function(a,b){var c=b||[0];if(0!=this.it)throw Error("Parsing of compact numbers is unimplemented");var e;a=a.replace(/ /g,"\u00a0");var f=a.indexOf(this.jo,c[0])==c[0],g=a.indexOf(this.Ml,c[0])==c[0];f&&g&&(this.jo.length>this.Ml.length?g=!1:this.jo.length<this.Ml.length&&(f=!1));f?c[0]+=this.jo.length:g&&(c[0]+=this.Ml.length);a.indexOf(PT.bF,c[0])==c[0]?(c[0]+=PT.bF.length,e=Infinity):e=this.vua(a,c);if(f){if(a.indexOf(this.Vv,c[0])!=c[0])return NaN;c[0]+=this.Vv.length}else if(g){if(a.indexOf(this.lr,
c[0])!=c[0])return NaN;c[0]+=this.lr.length}return g?-e:e};
r.vua=function(a,b){var c=!1,e=!1,f=!1,g=1,h=PT.DECIMAL_SEP,k=PT.GROUP_SEP,n=PT.qR;if(0!=this.it)throw Error("Parsing of compact style numbers is not implemented");for(var q="";b[0]<a.length;b[0]++){var u=a.charAt(b[0]),A=this.CX(u);if(0<=A&&9>=A)q+=A,f=!0;else if(u==h.charAt(0)){if(c||e)break;q+=".";c=!0}else if(u==k.charAt(0)&&("\u00a0"!=k.charAt(0)||b[0]+1<a.length&&0<=this.CX(a.charAt(b[0]+1)))){if(c||e)break}else if(u==n.charAt(0)){if(e)break;q+="E";e=!0}else if("+"==u||"-"==u)q+=u;else if(1==
this.Sg&&u==PT.yR.charAt(0)){if(1!=g)break;g=100;if(f){b[0]++;break}}else if(1==this.Sg&&u==PT.zR.charAt(0)){if(1!=g)break;g=1E3;if(f){b[0]++;break}}else break}1!=this.Sg&&(g=this.Sg);return parseFloat(q)/g};
r.format=function(a){if(isNaN(a))return PT.jaa;var b=[],c=this.Ska(null===this.bT?a:this.bT,a);a/=Math.pow(10,c.sH);b.push(c.prefix);var e=0>a||0==a&&0>1/a;b.push(e?this.Ml:this.jo);isFinite(a)?(a=a*(e?-1:1)*this.Sg,this.OE?this.CCa(a,b):this.gQ(a,this.Oh,b)):b.push(PT.bF);b.push(e?this.lr:this.Vv);b.push(c.E8);return b.join("")};
r.J4=function(a){var b=Math.pow(10,this.Rn),c=0>=this.Ho?Math.round(a*b):Math.round(this.Ywa(a*b,this.Ho,this.Rn));isFinite(c)?(a=Math.floor(c/b),b=Math.floor(c-a*b)):b=0;return{S_:a,Nha:b}};
r.gQ=function(a,b,c){if(this.ak>this.Rn)throw Error("Min value must be less than max value");c||(c=[]);a=this.J4(a);var e=Math.pow(10,this.Rn),f=a.S_,g=a.Nha,h=0==f?0:this.YA(f)+1,k=0<this.ak||0<g||this.S7&&h<this.Ho;a=this.ak;k&&(a=this.S7&&0<this.Ho?this.Ho-h:this.ak);for(var n="",h=f;1E20<h;)n="0"+n,h=Math.round(h/10);var n=h+n,q=PT.DECIMAL_SEP,h=PT.jF.charCodeAt(0),u=n.length,A=0;if(0<f||0<b){for(f=u;f<b;f++)c.push(String.fromCharCode(h));if(2<=this.qn.length)for(b=1;b<this.qn.length;b++)A+=this.qn[b];
b=u-A;if(0<b)for(var f=this.qn,A=u=0,ca,na=PT.GROUP_SEP,Ia=n.length,Ra=0;Ra<Ia;Ra++){if(c.push(String.fromCharCode(h+1*Number(n.charAt(Ra)))),1<Ia-Ra)if(ca=f[A],Ra<b){var Yc=b-Ra;(1===ca||0<ca&&1===Yc%ca)&&c.push(na)}else A<f.length&&(Ra===b?A+=1:ca===Ra-b-u+1&&(c.push(na),u+=ca,A+=1))}else{b=n;n=this.qn;f=PT.GROUP_SEP;ca=b.length;na=[];for(u=n.length-1;0<=u&&0<ca;u--){A=n[u];for(Ia=0;Ia<A&&0<=ca-Ia-1;Ia++)na.push(String.fromCharCode(h+1*Number(b.charAt(ca-Ia-1))));ca-=A;0<ca&&na.push(f)}c.push.apply(c,
na.reverse())}}else k||c.push(String.fromCharCode(h));(this.lV||k)&&c.push(q);e=""+(g+e);for(g=e.length;"0"==e.charAt(g-1)&&g>a+1;)g--;for(f=1;f<g;f++)c.push(String.fromCharCode(h+1*Number(e.charAt(f))))};r.dS=function(a,b){b.push(PT.qR);0>a?(a=-a,b.push(PT.caa)):this.T9&&b.push(PT.uaa);for(var c=""+a,e=PT.jF,f=c.length;f<this.SB;f++)b.push(e);b.push(c)};
r.CCa=function(a,b){if(0==a)this.gQ(a,this.Oh,b),this.dS(0,b);else{var c;c=Math.log(a)/Math.log(10);C(!v(void 0)||!1);c=Math.floor(c+2E-15);a/=Math.pow(10,c);var e=this.Oh;if(1<this.NB&&this.NB>this.Oh){for(;0!=c%this.NB;)a*=10,c--;e=1}else 1>this.Oh?(c++,a/=10):(c-=this.Oh-1,a*=Math.pow(10,this.Oh-1));this.gQ(a,e,b);this.dS(c,b)}};r.CX=function(a){a=a.charCodeAt(0);if(48<=a&&58>a)return a-48;var b=PT.jF.charCodeAt(0);return b<=a&&a<b+10?a-b:-1};
r.AC=function(a,b){for(var c="",e=!1,f=a.length;b[0]<f;b[0]++){var g=a.charAt(b[0]);if("'"==g)b[0]+1<f&&"'"==a.charAt(b[0]+1)?(b[0]++,c+="'"):e=!e;else if(e)c+=g;else switch(g){case "#":case "0":case ",":case ".":case ";":return c;case "\u00a4":if(b[0]+1<f&&"\u00a4"==a.charAt(b[0]+1))b[0]++,c+=this.kv;else switch(this.bfa){case 0:c+=MT[this.kv][1];break;case 2:var g=this.kv,h=MT[g],c=c+(g==h[1]?g:g+" "+h[1]);break;case 1:c+=MT[this.kv][2]}break;case "%":if(!this.Vn&&1!=this.Sg)throw Error(sd);if(this.Vn&&
100!=this.Sg)throw Error(rc);this.Sg=100;this.Vn=!1;c+=PT.yR;break;case "\u2030":if(!this.Vn&&1!=this.Sg)throw Error(sd);if(this.Vn&&1E3!=this.Sg)throw Error(rc);this.Sg=1E3;this.Vn=!1;c+=PT.zR;break;default:c+=g}}return c};
r.Dua=function(a,b){for(var c=-1,e=0,f=0,g=0,h=-1,k=a.length,n=!0;b[0]<k&&n;b[0]++)switch(a.charAt(b[0])){case "#":0<f?g++:e++;0<=h&&0>c&&h++;break;case "0":if(0<g)throw Error('Unexpected "0" in pattern "'+a+'"');f++;0<=h&&0>c&&h++;break;case ",":0<h&&this.qn.push(h);h=0;break;case ".":if(0<=c)throw Error('Multiple decimal separators in pattern "'+a+'"');c=e+f+g;break;case "E":if(this.OE)throw Error('Multiple exponential symbols in pattern "'+a+'"');this.OE=!0;this.SB=0;b[0]+1<k&&"+"==a.charAt(b[0]+
1)&&(b[0]++,this.T9=!0);for(;b[0]+1<k&&"0"==a.charAt(b[0]+1);)b[0]++,this.SB++;if(1>e+f||1>this.SB)throw Error('Malformed exponential pattern "'+a+'"');n=!1;break;default:b[0]--,n=!1}0==f&&0<e&&0<=c&&(f=c,0==f&&f++,g=e-f,e=f-1,f=1);if(0>c&&0<g||0<=c&&(c<e||c>e+f)||0==h)throw Error('Malformed pattern "'+a+'"');g=e+f+g;this.Rn=0<=c?g-c:0;0<=c&&(this.ak=e+f-c,0>this.ak&&(this.ak=0));this.Oh=(0<=c?c:g)-e;this.OE&&(this.NB=e+this.Oh,0==this.Rn&&0==this.Oh&&(this.Oh=1));this.qn.push(Math.max(0,h));this.lV=
0==c||c==g};var RT={prefix:"",E8:"",sH:0};QT.prototype.JY=function(a,b){var c=1==this.it?LT.jR:LT.A$;null==c&&(c=LT.jR);if(3>a)return RT;a=Math.min(14,a);for(var e=c[Math.pow(10,a)],f=a-1;!e&&3<=f;)e=c[Math.pow(10,f)],f--;if(!e)return RT;c=e[b];return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{prefix:c[1],E8:c[3],sH:f+1-(c[2].length-1)}:RT:RT};
QT.prototype.Ska=function(a){if(0==this.it)return RT;a=Math.abs(a);var b=this.JY(1>=a?0:this.YA(a),Nk).sH;return this.JY(b+this.YA(this.J4(a/Math.pow(10,b)).S_),Nk)};QT.prototype.YA=function(a){for(var b=0;1<=(a/=10);)b++;return b};QT.prototype.Ywa=function(a,b,c){if(!a)return a;b=b-this.YA(a)-1;if(b<-c)return c=Math.pow(10,c),Math.round(a/c)*c;c=Math.pow(10,b);return Math.round(a*c)/c};var ST=function(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":Nk},TT=ST,TT=ST;var UT=function(a,b){var c;if(void 0===b){c=a+"";var e=c.indexOf(".");c=Math.min(-1==e?0:c.length-e-1,3)}else c=b;return 1==(a|0)&&0==c?"one":Nk},VT=UT,VT=UT;var WT=function(a){this.Vj=[];this.VM=[];this.uM=new QT(1);this.xua(a)},XT=RegExp("'([{}#].*?)'","g"),YT=RegExp("''","g");r=WT.prototype;r.format=function(a){return this.nI(a,!1)};r.Cg=function(a){return this.nI(a,!0)};r.nI=function(a,b){if(0==this.VM.length)return"";var c=[];this.mI(this.VM,a,b,c);c=c.join("");for(b||C(-1==c.search("#"),"Not all # were replaced.");0<this.Vj.length;)c=c.replace(this.SF(this.Vj),this.Vj.pop());return c};
r.mI=function(a,b,c,e){for(var f=0;f<a.length;f++)switch(a[f].type){case 4:e.push(a[f].value);break;case 3:var g=a[f].value;this.Dha(g,b,e);break;case 2:g=a[f].value;this.Cha(g,b,c,e);break;case 0:g=a[f].value;this.eX(g,b,VT,c,e);break;case 1:g=a[f].value;this.eX(g,b,TT,c,e);break;default:jr("Unrecognized block type: "+a[f].type)}};r.Dha=function(a,b,c){b=b[a];v(b)?(this.Vj.push(b),c.push(this.SF(this.Vj))):c.push(wd+a)};
r.Cha=function(a,b,c,e){var f=a.gy;v(b[f])?(f=a[b[f]],v(f)||(f=a.other,or(f,"Invalid option or missing other option for select block.")),this.mI(f,b,c,e)):e.push(wd+f)};
r.eX=function(a,b,c,e,f){var g=a.gy,h=a.AS,k=+b[g];isNaN(k)?f.push("Undefined or invalid parameter - "+g):(h=k-h,g=a[b[g]],v(g)||(C(0<=h,"Argument index smaller than offset."),c=this.uM.Cja?c(h,this.uM.Cja()):c(h),lr(c,"Invalid plural key."),g=a[c],v(g)||(g=a.other),or(g,"Invalid option or missing other option for plural block.")),a=[],this.mI(g,b,e,a),b=a.join(""),lr(b,"Empty block in plural."),e?f.push(b):(e=this.uM.format(h),f.push(b.replace(/#/g,e))))};
r.xua=function(a){a&&(a=this.Upa(a),this.VM=this.BC(a))};r.Upa=function(a){var b=this.Vj,c=y(this.SF,this);a=a.replace(YT,function(){b.push("'");return c(b)});return a=a.replace(XT,function(a,f){b.push(f);return c(b)})};
r.sz=function(a){var b=0,c=[],e=[],f=/[{}]/g;f.lastIndex=0;for(var g;g=f.exec(a);){var h=g.index;"}"==g[0]?(g=c.pop(),C(v(g)&&"{"==g,"No matching { for }."),0==c.length&&(g={type:1},g.value=a.substring(b,h),e.push(g),b=h+1)):(0==c.length&&(b=a.substring(b,h),""!=b&&e.push({type:0,value:b}),b=h+1),c.push("{"))}C(0==c.length,"There are mismatched { or } in the pattern.");b=a.substring(b);""!=b&&e.push({type:0,value:b});return e};
var ZT=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,$T=/^\s*(\w+)\s*,\s*selectordinal\s*,/,aU=/^\s*(\w+)\s*,\s*select\s*,/;r=WT.prototype;r.uua=function(a){return ZT.test(a)?0:$T.test(a)?1:aU.test(a)?2:/^\s*\w+\s*/.test(a)?3:5};
r.BC=function(a){var b=[];a=this.sz(a);for(var c=0;c<a.length;c++){var e={};if(0==a[c].type)e.type=4,e.value=a[c].value;else if(1==a[c].type)switch(this.uua(a[c].value)){case 2:e.type=2;e.value=this.zua(a[c].value);break;case 0:e.type=0;e.value=this.yua(a[c].value);break;case 1:e.type=1;e.value=this.wua(a[c].value);break;case 3:e.type=3;e.value=a[c].value;break;default:jr("Unknown block type for pattern: "+a[c].value)}else jr("Unknown part of the pattern.");b.push(e)}return b};
r.zua=function(a){var b="";a=a.replace(aU,function(a,c){b=c;return""});var c={};c.gy=b;a=this.sz(a);for(var e=0;e<a.length;){var f=a[e].value;lr(f,"Missing select key element.");e++;C(e<a.length,"Missing or invalid select value element.");if(1==a[e].type)var g=this.BC(a[e].value);else jr(kc);c[f.replace(/\s/g,"")]=g;e++}or(c.other,"Missing other key in select statement.");return c};
r.yua=function(a){var b="",c=0;a=a.replace(ZT,function(a,e,f){b=e;f&&(c=parseInt(f,10));return""});var e={};e.gy=b;e.AS=c;a=this.sz(a);for(var f=0;f<a.length;){var g=a[f].value;lr(g,"Missing plural key element.");f++;C(f<a.length,"Missing or invalid plural value element.");if(1==a[f].type)var h=this.BC(a[f].value);else jr(kc);e[g.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;f++}or(e.other,"Missing other key in plural statement.");return e};
r.wua=function(a){var b="";a=a.replace($T,function(a,c){b=c;return""});var c={};c.gy=b;c.AS=0;a=this.sz(a);for(var e=0;e<a.length;){var f=a[e].value;lr(f,"Missing ordinal key element.");e++;C(e<a.length,"Missing or invalid ordinal value element.");if(1==a[e].type)var g=this.BC(a[e].value);else jr(kc);c[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=g;e++}or(c.other,"Missing other key in selectordinal statement.");return c};
r.SF=function(a){C(0<a.length,"Literal array is empty.");return"\ufddf_"+(a.length-1).toString(10)+"_"};var bU=function(){J.call(this);this.$l=new AI;this.Jga={}};B(bU,J);r=bU.prototype;r.Hw=function(a){this.T=a;this.C().o(this.T.se,Rm,this.yza);this.C().o(this.T.se,Sm,this.zza)};r.C=function(){this.J||(this.J=new GA(this));return this.J};r.zza=function(a){a=a.data.maxSizeBytes;if(this.FY()<=a)this.T.B.HD(a);else throw Error("Selection must be cleared before setting new size cap.  (Or cap was never initialized.)");};
r.yza=function(a){a=a.data.maxItems;if(this.EY()<=a)this.T.B.Qw(a);else throw Error("Selection must be cleared before setting new items cap. (Or cap was never initialized.)");};r.Y5=function(a){this.ZH=a};r.Eya=function(){};r.O6=function(a,b,c,e){if(b==this.ge(a))return!1;b?this.PN(a,c):this.$G(a);e&&this.dispatchEvent(new cU(b,[a]));return!0};r.Gg=function(a){var b=this.ZH,c=this.$l.kb();return b&&!a?b(c):c};
r.LD=function(a,b){var c=[];bv(a,function(a){b!=this.ge(a)&&c.push(a)},this);bv(c,function(a){b?this.PN(a,"cb"):this.$G(a)},this);0<c.length&&this.dispatchEvent(new cU(b,c));return!0};r.Jk=function(a){this.LD(this.Gg(a),!1)};r.tx=function(a,b){var c=this.$l;c.Xb(a)?(this.$G(a),this.dispatchEvent(new cU(!1,[a]))):("cl"==b&&(c=c.kb(),this.ofa(),c.length&&this.dispatchEvent(new cU(!1,c))),this.PN(a),this.dispatchEvent(new cU(!0,[a])));return!0};r.PN=function(a,b){this.$l.set(a,b)};r.$G=function(a){this.$l.remove(a)};
r.ofa=function(){this.$l.clear()};r.EY=function(){return this.Gg().length};r.FY=function(){var a=this.Gg(),b=0,c=this.T.ja;bv(a,function(a){(a=c.N(a).ls)&&(b+=a)},this);return b};r.ge=function(a){return this.$l.Xb(a)};r.RDa=function(){this.dispatchEvent("F")};r.A=function(){bU.g.A.call(this);this.$l.clear();delete this.$l;delete this.ZH};var cU=function(a,b){G.call(this,"E");this.selected=a;this.Nd=b};B(cU,G);var dU=function(a){J.call(this);this.T=a;this.fEa=[];this.MW=new AI;this.zV={};this.gEa=[];this.La=new GA(this);this.ha(this.La);this.La.o(a.yb,sm,y(this.Kwa,this))};B(dU,J);r=dU.prototype;r.gC=0;r.UF=0;r.nc=0;r.H=Fv("picker.base.UploadService");r.Kwa=function(){this.ob||(D(this.gEa,function(a){a.reset()},this),this.YF())};r.nB=function(){return this.gA()!=this.gC};r.gA=function(){return this.MW.xa()};r.ika=function(){return this.nc?this.UF/this.nc:0};
r.YF=function(){D(this.fEa,function(a){a.YF(!0)});this.Yl()};r.Yl=function(){this.nc=this.UF=this.gC=0;this.MW.clear();this.Xga()};r.Xga=function(){L(this.H,"Upload status changed (numFiles="+this.gA()+", numCompleted="+this.gC+", bytesUploaded = "+this.UF+" / "+this.nc+")");this.dispatchEvent("G")};var eU=function(a){sS.call(this,a);this.Kfa=a.response&&a.response.displayname};B(eU,sS);eU.prototype.Zb=function(){return 20};uS.set(20,function(a){return new eU(a)});var fU=function(){YR.call(this)};B(fU,YR);fU.prototype.Nf=Mu(new Gx("displayname"));fU.prototype.Zb=function(){return 20};var gU=function(a){this.ja=a};gU.prototype.pa=function(a){this.RQ||(this.RQ=new UF,this.ja.Rc(new fU,y(function(a){this.RQ.Ac(a.Kfa)},this),Ou));this.RQ.pa(a)};var iU=function(){E.call(this);var a={},b=new hU(function(a){var b=a.Bd,f=a.getPath(),g;(g=a.toString())?(g=Px(g).Bd,g=g==Yp||g==Up||"m.youtube.com"==g):g=!1;if(g){if("/"==f||"/watch"==f)return a.cb("v")}else if(b==Vp&&Aq(f,"/"))return f.substr(1)},(Aq(window.location.href,ji)?ji:"http")+"://www.youtube.com/v/{$VIDEO_ID}?fs=1","https://www.youtube.com/embed/{$VIDEO_ID}?origin="+window.location.href);a[Up]=b;a[Yp]=b;a["m.youtube.com"]=b;a[Vp]=b;b=new hU(function(a){var b=a.Bd;if(a.Re==ji&&(b==Sp||
"facebook.com"==b))return a.cb("v")},"https://www.facebook.com/v/{$VIDEO_ID}","https://www.facebook.com/video/embed?video_id={$VIDEO_ID}");a[Sp]=b;a["facebook.com"]=b;b=new hU(function(a){var b=a.getPath(),f=a.Bd;if(a.Re==ji&&Aq(b,"/")&&("www.vimeo.com"==f||"vimeo.com"==f)&&(a=b.split("/")[1],!isNaN(parseInt(a,10))))return a},"https://vimeo.com/moogaloop.swf?clip_id={$VIDEO_ID}","https://player.vimeo.com/video/{$VIDEO_ID}");a["www.vimeo.com"]=b;a["vimeo.com"]=b;b=new hU(function(a){var b=a.getPath(),
f=a.Bd;if("http"==a.Re&&(f==Tp||"metacafe.com"==f)&&Aq(b,"/watch/"))return b="/"==b[b.length-1]?b.substr(7,b.length-7-1):b.substr(7),b=b.split("/")[0]},"http://www.metacafe.com/fplayer/{$VIDEO_ID}.swf","http://www.metacafe.com/embed/{$VIDEO_ID}/");a[Tp]=b;a["metacafe.com"]=b;this.RP=a};B(iU,E);eq(iU);iU.prototype.gra=function(a){return this.hL(a,a.Bd)};iU.prototype.hL=function(a,b){var c=this.RP[b];return c&&c.Iqa(a)};iU.prototype.VI=function(a){var b=this.RP[a.Bd];return b&&b.VI(a)};
iU.prototype.OY=function(a){try{var b=Px(a);return this.RP[Up].MY(b)}catch(c){}};var hU=function(a,b,c){this.FW=a;this.o_=c};hU.prototype.Iqa=function(a){return!!this.FW(a)};hU.prototype.VI=function(a){if((a=this.MY(a))&&this.o_)return this.o_.replace("{$VIDEO_ID}",a)};hU.prototype.MY=function(a){return this.FW(a)};var jU=function(a){this.m0=Aq(window.location.href,ji);var b=new K,c=a.responseData||{};a=c.results||[];var c=this.Cea(a,c,b),e={},f=e.response={};f.docs=c;a.length&&(f.cursor=a.length);XS.call(this,e);a=this.kc();for(c=0;c<a.length;c++)(e=b.get(a[c].rb))&&a[c].kP(e)};B(jU,XS);r=jU.prototype;
r.Cea=function(a,b,c){var e=[];D(a,function(a){var b={};b.name=a.titleNoFormatting;b.description=a.content;b.serviceId=Fm;var h=this.rA(a);b.url=h;h=Px(h);b.id=iU.K().OY(h)||oq(b).toString();switch(a.GsearchResultClass){case "GbookSearch":b.type="book";b.id=h.cb("id");h={};h.au=a.authors;h.pc=a.pageCount;h.py=a.publishedYear;b.attrs=h;c.set(b.id,this.nJ(a));break;case "GimageSearch":b.type=bl;this.wca(a,b);c.set(b.id,this.nJ(a));break;case "GvideoSearch":b.type=Ap;b.embedUrl=this.Xka(a);b.mimeType=
oe;b.lastEditedUtc=a.published;var k={},n=a.duration;n&&n!=nk&&(k.d=n);b.videoData=k;iU.K().hL(h,Up)&&(k.ar="16:9");c.set(b.id,this.nJ(a));break;case "GwebSearch":b.type=rp,h={},h.vu=a.visibleUrl,b.attrs=h}e.push(b)},this);return e};r.rA=function(a){a=a.originalContextUrl||a.unescapedUrl||a.url||a.postUrl;return a.match("^https?://www.google.com/url")?Px(a).cb("q"):a};
r.Xka=function(a){a=Px(a.playUrl).dw("autoPlay").toString().replace(/&autoplay=\d+/,"");this.m0&&(Aq(a,"http://www.youtube.com/v/")||Aq(a,"http://youtube.googleapis.com/v/"))&&(a=a.replace(/^http:\/\//,"https://"));return a};
r.nJ=function(a){var b=a.tbUrl,c=b.match(/^(http(?:s)?:\/\/[0-9]+\.gvt[0-9]+\.com\/vi\/[^\/]+\/).*/)||b.match(/^(http(?:s)?:\/\/img\.youtube\.com\/vi\/[^\/]+\/).*/);if(c)return a=c[1],this.m0&&(a=Px(a).Bo(ji).ik("ytimg.googleusercontent.com").toString()),[new cS(a+"default.jpg",120,90),new cS(a+"hqdefault.jpg",480,360)];c=[];c.push(new cS(b,parseInt(a.tbWidth,10),parseInt(a.tbHeight,10)));"GimageSearch"==a.GsearchResultClass&&c.push(new cS(a.unescapedUrl,parseInt(a.width,10),parseInt(a.height,10)));
return c};r.wca=function(a,b){var c=a.titleNoFormatting,e=a.contentNoFormatting;0==c.indexOf("http://")&&e?(b.name=e,b.description=void 0):(b.name=c,b.description=e);b.id=a.imageId||b.id;b.mimeType=si};r.Zb=function(){return 7};uS.set(7,function(a){return new jU(a)});var kU=function(a,b){aT.call(this,b);this.Z4=a;var c=b.site;c&&/[^a-zA-Z0-9\.]/.test(c)&&(c=null);this.Io=c;this.w_=b.inUrl;this.rra=b.license;this.t_=b.imgsz;this.VU=b.cse;this.UU=b.cseLabel;this.q_=b.imgcolor;this.r_=b.imgc;this.Pq=b.imgtype;this.O4=b.safe||Nd};B(kU,aT);r=kU.prototype;r.Nf=Mu((new Gx).ik(Sd).Te("/ajax/services/search/"));r.Zb=function(){return 7};r.hn=function(){var a=this.Nf().clone();a.Te(br(a.getPath(),this.Z4));return a};
r.Fg=function(){var a=new Hx,b=kU.g.Fg.call(this);b.get("hl")&&a.set("hl",b.get("hl"));(b=this.Ge())&&bv(b,function(b,e){a.set(e,b)});return a};
r.Ge=function(){var a=new Az(this.getQuery());this.Io&&a.append(" site:"+this.Io);this.w_&&a.append(" inurl:"+this.w_);this.UU&&a.append(" more:"+this.UU);var b=new K;b.set("q",a.toString());b.set("v","1.0");b.set(cj,"internal-onepick");b.set(oo,this.mk);b.set("rsz","large");this.q_&&b.set(vi,this.q_);this.r_&&b.set("imgc",this.r_);this.Pq&&b.set(wi,this.Pq);this.t_&&b.set("imgsz",this.t_);this.O4&&b.set("safe",this.O4);this.VU&&b.set("cx",this.VU);var c;switch(this.rra){case "r":c="(cc_publicdomain|cc_attribute|cc_sharealike|cc_noncommercial|cc_nonderived)";
break;case "cr":c="(cc_publicdomain|cc_attribute|cc_sharealike|cc_nonderived).-(cc_noncommercial)";break;case "rwm":c="(cc_publicdomain|cc_attribute|cc_sharealike|cc_noncommercial).-(cc_nonderived)";break;case "crwm":c="(cc_publicdomain|cc_attribute|cc_sharealike).-(cc_noncommercial|cc_nonderived)"}c&&b.set("as_rights",c);return b};r.clone=function(a){return new kU(this.Z4,this.WT(a))};var lU=function(a,b,c){E.call(this);this.ta=a;this.fd=b;this.eb=c||{}},mU,nU;B(lU,E);
var oU=["application/vnd.oasis.opendocument.graphics","image/vnd.adobe.photoshop","image/x-photoshop","application/illustrator","application/vnd.google-apps.drawing"],pU=[ge,he],qU=[si,"image/gif","image/png","image/tiff","image/bmp"],rU=[de],sU=["application/mspowerpoint",je,ke,"application/vnd.ms-powerpoint","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/vnd.ms-powerpoint.template.macroEnabled.12","application/vnd.oasis.opendocument.presentation",
"application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.openxmlformats-officedocument.presentationml.template"],tU=["application/vnd.google-apps.script"],uU=["application/vnd.google-apps.drive-sdk.897606708560","application/vnd.google-apps.site"],vU=["application/msexcel",ge,le,ne,"application/vnd.ms-excel","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.oasis.opendocument.spreadsheet"],wU=["application/vnd.google-apps.fusiontable"],xU=["text/plain","application/msword",ee,ie,"application/vnd.ms-word","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12","application/vnd.oasis.opendocument.text","application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.openxmlformats-officedocument.wordprocessingml.template"],yU="application/vnd.google-apps.video video/3gpp video/3gpp2 video/avi video/flv video/mp2t video/mp4 video/mp4v-es video/mpeg video/ogg video/quicktime video/webm video/x-flv video/x-m4v video/x-ms-asf video/x-ms-wm video/x-ms-wmv video/x-ms-wvx video/x-msvideo video/x-quicktime video/vnd.mts".split(" "),zU=["flat",ei,Jj];lU.prototype.wp=null;lU.prototype.Pc=null;lU.prototype.wC=null;var AU=!1,BU=!1,CU=!1;r=lU.prototype;
r.MK=function(){var a=this.getOption(km);return this.ta==dp&&(a==Vf||a==bl||a==hl||a==dm||a==Dp||"youtubebanner"==a)};r.OK=function(){var a=this.getOption(Rk),b=this.getOption(Yk);return XP(this.ta)&&iq(a)&&!a&&!b&&!this.getQuery()};r.H8=function(){return this.ta==al||this.ta==ih};r.HK=function(){return 15==this.getOption(fo)&&this.ta!=mg&&XP(this.ta)};
r.Cu=function(){var a=this.wp;if(a)return a;a=this.Hia();if(!a){var b=this.getQuery(),c=this.Aa();switch(this.ta){case Ie:a=new bT({service:Je});break;case Le:a=new kU("books",{query:b});break;case Se:var e={service:Re};mU&&(e.mine=0);a=new bT(e);break;case Lf:a={service:Lf};c=this.getOption(Yk);b?a.query=b:c&&(a.parent=c);a=new bT(a);break;case Kg:a={service:"party",type:Kg};a=new bT(a);break;case "et":a={service:"party",type:"themes"};(b=this.getOption(Ve)||this.Aa())&&(a.options={category:b});
a=new bT(a);break;case ih:a={options:{sortOrder:this.getOption(go)||"p"},service:ih,type:this.Aa()};b&&(a.query=b);a=new bT(a);break;case Yh:a={service:Yh};(c=this.getOption(Yk))&&(a.parent=c);a=new bT(a);break;case ri:if(c==qh){a=this.HB();break}a=this.eJ();break;case Fj:a=new bT({type:this.Aa(),service:"mapspro"});break;case cf:(c=this.getOption(Yk))&&"hem"!=this.getOption(Sj)&&(a=new ZS("p",void 0,c));break;case al:switch(this.Aa()){case Ud:a="a";break;case df:a="c";break;case "frequent":a="f";
break;case rh:a=this.getQuery()?"p":"g";break;case Km:a=this.getQuery()?"p":"s";break;default:a="p"}c=this.getOption("peopleFilter");a=new ZS(a,b||void 0,this.getOption(Yk),c?new TQ(c):void 0,!!this.getOption("noEmailInput"));break;case hl:case fl:a=this.HB();break;case Bp:case cl:a=c==Kj?this.GB("your_collections"):this.HB();break;case el:this.getOption(Yk)&&!this.getOption("che")&&(a=this.HB());break;case Vl:a=new bT({type:c,query:b,service:Vl});break;case om:a=new bT({service:"recent"});break;
case Cp:a=this.getOption(pn);a==Yp?(a={},a.safe=this.getOption("safe")||Nd,a=new bT({service:Wp,type:Em,options:a,query:b})):a=nU?this.eJ():new kU(Ap,{site:a,query:b});break;case Dp:this.getOption("rdv")&&c==jp?a=this.GB("your_videos"):(e={},a=new bT({service:il,parent:this.getOption(Yk),safe:this.getOption("safe"),type:"videos-"+(c||jp),options:e}),v(this.getOption(Lp))&&(e.visibilityFilter=this.getOption(Lp)));break;case Np:a=this.eJ();break;case Wp:e={service:Wp},b?(e.query=b,e.type=Em):e.type=
"uploads",a=new bT(e)}}return this.wp=a};
r.Hia=function(){if(this.getOption(Bj)||this.getOption(Dm)&&!this.getOption(Yk))return null;var a=this.getOption(oi);if(a&&XP(this.ta))return new US(jg,a.split(","),{});var a={},b={service:jg,query:this.getQuery(),options:a},c=this.getOption(Yk),e=this.getOption(Rk);if(e)a.ownedByMe=!0;else if(0==e||c==$m)a.ownedByMe=!1;b.mine=mU?0:0==mU?1:2;CU&&(a.edbe=!0);var e=$b,f=!1,g=[];switch(this.ta){case kg:case lg:case mg:if(this.ta==kg||this.ta==lg)g=g.concat(qU);if(this.ta==mg||this.ta==lg)g=g.concat(yU);
this.ta==mg&&(f=!0);if(!this.getQuery()&&!this.OK()){a.sortKey=8;a.ascending=!0;break}case Ud:e="NOT_COLLECTION";break;case og:g=xU;break;case vg:g=oU;break;case gh:c||(g=[fe]);break;case kh:g=pU;break;case $k:g=rU;break;case bm:g=sU;break;case Bm:g=tU;break;case rn:g=uU;break;case lo:g=vU;break;case zo:g=wU;break;default:return null}var h=this.getOption(Qj);h&&h&&x(h)&&(h=h.split(","));g=g.length&&h&&h.length?(new dv(g)).AK(h).pb():h||g;this.getOption(xi)&&!f&&(e=$b,g.length&&!Fr(g,fe)&&(g=g.concat([fe])),
a.notInFolder=!0);if(this.getOption(no)||c==no)a.starred=!0;(f=this.getOption(Mf))&&(a.containingCosmoId=f);g.length&&(a.mimeTypes=g.join(","),e=$b);b.type=e;c&&c!=no&&c!=$m&&c!=Do&&(b.parent=c);if(c==Do||this.cL())a.tdquery=!0;if(this.getOption("tdv")||this.getOption(Bo))a.tdEnabled=!0;if(c=this.getOption(fo))a.sortKey=c,8==c||7==c?a.ascending=!0:delete a.ascending;c=this.getOption("ff");iq(c)||(c=BU);c&&(a.ff=c);this.HK()&&(b.service=wg);return new bT(b)};
r.HB=function(){var a=this.Aa();if("gmail_themes"==a){var b=new bT({service:"static_themes"});return b}if("moment"==a)return b=new bT({parent:this.getOption(Yk),query:this.getQuery(),service:"stories",type:a}),this.getOption(Xd)&&b.setOption(Xd,lr(this.getOption(Xd))),b;b=!!this.getOption("rdv");if(Fr(zU,a))return this.GB("flat"==a?"your_photos":a);if(b&&a==Fp)return this.GB("your_videos");var c=this.getOption(oi);if(c)return b={},(a=this.getOption(vp))&&(b.username=a),this.ta==cl&&(b.type=Td),new US(il,
c.split(","),b);b={};c=b.options={};switch(this.ta){case fl:a="faces";this.getOption("eid")&&(c.eid=this.getOption("eid"));break;case el:a="tpp"}var e=this.getQuery();b.service=il;b.type=a;b.username=this.getOption(vp);c.excludeLabels=this.getOption("excludeLabels");a==yj&&(c.localAlbum=this.getOption(yj),c.localUser=this.getOption("localuser"));var f=this.getOption(Yk);e?b.query=e:(f&&(b.parent=f),this.getOption(Xd)?c.allowedItemTypes=this.getOption(Xd):f&&this.ta==Bp&&(c.allowedItemTypes=Ap));this.ta==
cl&&(c.snippets="12");if("ofuser"==a||this.ta==fl)a=this.getOption("userId"),null!=a&&(c.userId=a);(a=this.getOption("shapeType"))&&(c.shapeType=a);this.getOption("excludeEvAlbums")&&(c.excludeEvAlbums=!0);v(this.getOption(Lp))&&(c.visibilityFilter=this.getOption(Lp));return new bT(b)};
r.GB=function(a){var b={query:this.getQuery(),service:"media",type:a},c=this.getOption(Rk);if(mU||c)b.mine=0;b=new bT(b);this.getOption(Xd)?b.setOption(Xd,lr(this.getOption(Xd))):"your_photos"!=a&&b.setOption(Xd,bl);AU&&b.setOption(Dg,Wo);(a=this.getOption(Yk))&&b.Ha(a);(a=this.getOption("ipl"))&&b.setOption("ipl",a);(a=this.getOption(vp))&&b.setOption(vp,a);(a=this.getOption("userId"))&&b.setOption("userId",a);return b};
r.eJ=function(){var a={service:Np},b={};b.safe=this.getOption("safe")||Nd;switch(this.ta){case Np:var c=new Az(this.getQuery());this.getOption(pn)&&c.append(" site:"+this.getOption(pn));this.getOption("inUrl")&&c.append(" inurl:"+this.getOption("inUrl"));this.getOption("cseLabel")&&c.append(" more:"+this.getOption("cseLabel"));this.ua(b,"cse","cse");a.query=c.toString();a.options=b;break;case ri:a.type=bl;"life"==this.Aa()?a.query=this.getQuery()+" source:life":(a.query=this.getQuery(),this.ua(b,
"imgsz","imgsz"),this.ua(b,nj,nj),this.ua(b,pn,pn),this.ua(b,"imgc","imgc"),this.ua(b,vi,vi),this.ua(b,wi,wi),a.options=b);break;case Cp:a.type=Ap,this.ua(b,nj,nj),this.ua(b,pn,pn),a.query=this.getQuery(),a.options=b}return new bT(a)};r.Yz=function(){var a=new Az(this.ta),b=this.getQuery();Dq(ar(b))||a.append("/",encodeURIComponent(String(b)));return a.toString()};var DU=function(a,b,c){a=a.split("/");var e=a[0];return es(WP,e)?(c=c||{},c.query=a[1]?Hq(a[1]):c.query,new lU(e,b,c)):null};r=lU.prototype;
r.Aa=function(){return this.getOption(Xo)};
r.getName=function(){if(this.fd)return this.fd;if(this.ta==Ud||this.ta==kg||this.ta==lg||this.ta==mg){var a=this.getOption(Rk);if(!0===a)return"My Drive";if(!1===a)return"Shared with Me";if(this.HK())return"Recent"}a=this.Aa();switch(this.ta){case Ie:return"Blog templates";case Le:return"Book search";case Se:return"Calendars";case cf:return this.getOption(Yk)?"Edit your circle":"Create a circle";case Lf:return"Contacts";case Qf:return"Create";case Uf:return"Photo crop";case Ud:return"Google Drive";
case kg:return"Images";case lg:return"Images and videos";case mg:return"Videos";case og:return"Documents";case vg:return"Drawings";case Kg:return"Events";case gh:return"Folders";case ih:return"Fonts";case kh:return"Forms";case Yh:return"Groups";case "icon":return"homepage"==a?"No background":"Icon";case ri:return this.getOption("comboTypes")?"Image search":"life"==a?"LIFE Photo Archive":a==qh?"Stock photos":"Google Image Search";case Ej:return"Maps";case Fj:return"Maps Engine Lite";case $k:return"PDFs";
case al:switch(this.Aa()){case df:return"Circles";default:return"People"}case dl:return"Add text to photo";case el:return"Organize photos";case fl:return"Tag people";case hl:return"banner"==a?"Cover photos":a==Ug?"Featured photos":a==qh?"Stock photos":a==Te?"Photos from phone":"flat"==a?"Your photos":"ofuser"==a?"Photos of you":a==jp?"Uploaded photos":"Your photos";case cl:return"Photo albums";case Vl:return"Play for Education";case bm:return"Presentations";case dm:return"np"==a?"No photo":"Profile photo";
case "quota":return"Quota";case om:return"Previously selected";case Bm:return"Scripts";case lo:return"Spreadsheets";case rn:return"Sites";case zo:return"Tables";case gl:case dp:var b;return this.ta==gl||(b=this.MK())&&this.getQuery()!=Dp&&this.getQuery()!=Vf?"Upload photos":b&&this.getQuery()!=Vf?"Upload videos":"Upload";case Cp:return"Video search";case Bp:return"Albums";case Dp:return a==Te?"Videos from phone":"Videos";case Op:switch(this.Aa()){case mo:return"Take a snapshot";default:return"Web camera"}case Np:return"Web search";
case rp:return"URL";case Wp:return"Your YouTube videos";case Xp:return"YouTube banner preview"}return""};r.va=function(a){return a==this.ta};r.ee=function(){return this.fd};r.getOptions=function(){return this.eb};r.getOption=function(a){return this.eb[a]};r.Dd=function(a){return!!a&&this.va(a.ta)&&this.getQuery()==a.getQuery()&&as(this.getOptions())==as(a.getOptions())&&this.getOption(Yk)==a.getOption(Yk)&&this.Aa()==a.Aa()&&this.getOption("id")==a.getOption("id")&&this.getOption(Rk)==a.getOption(Rk)};
r.clone=function(){var a=new lU(this.ta,this.fd,ks(this.eb));a.hh(this.Pc);a.C6(this.tq()||this);return a};r.Qf=function(){var a=[];EU(a,this);this.wC&&EU(a,this.wC);return a.join("/")};var EU=function(a,b){a.push(b.ta);Wr(b.eb,function(b,e){void 0!=b&&a.push(e+"="+b)})};r=lU.prototype;r.setQuery=function(a){this.wp=null;this.ab(km,a)};r.getQuery=function(){return this.getOption(km)};r.setOptions=function(a){this.eb=a;this.wp=null};r.ab=function(a,b){this.eb[a]=b;this.wp=null};
r.et=function(a){null!=this.getOption(a)&&(delete this.eb[a],this.wp=null)};r.hh=function(a){this.Pc=a};r.C6=function(a){this.wC=a};r.tq=function(){return this.wC};
r.Oja=function(){switch(this.ta){case Ie:return"No templates found.";case Le:return"No books found.";case Se:return"No calendars found.";case Lf:return this.getQuery()?"No contacts matched your search.":"No contacts found.";case Ud:case og:return this.getQuery()?"No items matched your search.":0==this.getOption(Rk)?"No one's shared any files with you yet!":"No documents.";case kg:return"No images.";case lg:return"No images or videos.";case mg:return"No videos.";case vg:return"No drawings.";case Kg:return"No events found.";
case gh:return this.getOption(Yk)?"No items in this folder.":"No folders.";case ih:return"No fonts found.";case kh:return"No forms.";case Yh:return this.getOption(Yk)?"No contacts in this group. Please ensure that you are allowed to view group members.":"No groups found.";case ri:return"No images found.";case Ej:case Fj:return"No maps found.";case $k:return"No PDFs.";case cf:case al:switch(this.Aa()){case df:return"No circles found.";default:return this.getOption(Yk)?this.getOption("peopleFilter")?
"No matching people found in this circle.":"There's no one in this circle.":"No people found."}case hl:case cl:case el:return this.getQuery()||this.Aa()||this.getOption(Yk)?this.Aa()==Kj?"No albums.":"No photos.":"No photo albums.";case Vl:return"No Play for Education content.";case bm:return"No presentations.";case om:return"You haven't recently picked anything!";case Bm:return"No scripts.";case lo:return"No spreadsheets.";case rn:return"No sites.";case zo:return"No tables.";case Cp:case Dp:case Bp:case Wp:return"No videos found.";
case Np:return"No results found.";default:return"No items matched your criteria."}};r.ua=function(a,b,c){c=this.getOption(c);v(c)&&(a[b]=c)};r.bm=function(){return[this.ta,this.fd,this.eb]};r.cL=function(){return!(!this.getOption(Bo)||this.getOption(Yk))};r.A=function(){lU.g.A.call(this);delete this.ta;delete this.fd;delete this.eb};var FU=function(a,b,c,e,f,g,h,k,n,q,u,A,ca,na,Ia){E.call(this);this.Ma=a;this.B=u;this.aa=e;this.yb=b;this.Uo=c;this.se=f;this.ja=g;this.JE=h;this.Gua=k;this.ie=n;this.U9=q;this.Ic=A;this.oh=ca;this.bg=null;this.mp=na;this.Lh=Ia||null;this.cDa=this.ZG=null;this.fua=this.xca=this.yca=!1;this.u7=this.KV=0;this.iW=!0};B(FU,E);r=FU.prototype;r.Kza=function(a){this.bg=a};r.Fu=function(){this.KE||(this.KE=new dU(this));return this.KE};r.yi=function(){return this.oh.get(hR)};r.bl=function(){return this.oh};
r.Fia=function(){null===this.ZG&&(this.ZG=new UF);return this.ZG};r.A=function(){FU.g.A.call(this);F(this.Ma);delete this.Ma;F(this.B);delete this.B;F(this.aa);delete this.aa;F(this.yb);delete this.yb;F(this.Uo);delete this.Uo;F(this.se);delete this.se;F(this.U9);delete this.U9;F(this.ja);delete this.ja;F(this.JE);delete this.JE;F(this.KE);delete this.KE;F(this.oh);delete this.oh;delete this.ie};r.pAa=function(a){this.u7=a};r.Cya=function(a){this.KV=a};r.R5=function(a){this.iW=a};var GU=function(a,b){this.ib=new Gx(a);this.eda=b?b:"callback";this.$h=5E3;this.f2=""},HU=0;GU.prototype.$za=function(a){this.$h=a};GU.prototype.send=function(a,b,c,e){a=a||null;e=e||"_"+(HU++).toString(36)+z().toString(36);var f="_callbacks___"+e,g=this.ib.clone();if(a)for(var h in a)a.hasOwnProperty&&!a.hasOwnProperty(h)||g.D6(h,a[h]);b&&(t[f]=IU(e,b),g.D6(this.eda,f));b={timeout:this.$h,yda:!0};this.f2&&(b.attributes={nonce:this.f2});b=eG(g.toString(),b);b.ei(JU(e,a,c));return{fa:e,yV:b}};
GU.prototype.cancel=function(a){a&&(a.yV&&a.yV.cancel(),a.fa&&KU(a.fa,!1))};var JU=function(a,b,c){return function(){KU(a,!1);c&&c(b)}},IU=function(a,b){return function(c){KU(a,!0);b.apply(void 0,arguments)}},KU=function(a,b){var c="_callbacks___"+a;if(t[c])if(b)try{delete t[c]}catch(e){t[c]=void 0}else t[c]=dq};var LU=function(){PS.call(this);this.LM=new K;this.Hr=new K;var a=(new Gx(document.location.href)).Re,a=String(a).toLowerCase();this.vqa=0==("http">a?-1:"http"==a?0:1);this.initialize()};B(LU,PS);r=LU.prototype;r.vy=function(a){return 7==a.Zb()};r.dka=function(a){var b={},c=a.Fg();bv(c.kb(),function(a){b[a]=c.get(a)});return b};
r.q5=function(a){for(var b=Math.ceil(6.25),b=Math.min(b,4),c=a.mk,e=0;e<b;e++){var f=a.clone();f.setStart(c+8*e);var g=f.hn();this.vqa&&g.ik(br(f.I(),".",Sd));FS.K().aR++;g=new GU(g);g.$za(1E4);g.send(this.dka(f),y(this.Qu,this,a,f),y(this.Ld,this,a,f))}a=a.I();this.y3(a);this.Hr.remove(a);this.LM.set(a,b)};r.oV=function(a){var b=this.LM,c=b.get(a)-1;b.set(a,c);return c};
r.Qu=function(a,b,c){var e=a.I(),f=c.responseData,f=(f=f?f.cursor:void 0)?f.currentPageIndex:void 0;if(Math.floor(b.mk/8)==f||void 0==f){var f=this.Hr,g=f.get(e);null==g&&(g=new FR,f.set(e,g));g.xK(b.mk,c)}0==this.oV(e)&&(this.cN(e,this.uX(a)),this.PT(e))};r.Ld=function(a){FS.K().bR++;var b=a.I();0==this.oV(b)&&(this.Hr.get(b)?this.cN(b,this.uX(a)):this.bN(b),this.PT(b))};
r.uX=function(a){var b=this.Hr.get(a.I());if(!b)return{};var c=b.remove(),e=c.responseData||{},f=e.results||[],g=e.cursor,g=g&&g.estimatedResultCount;if(8<g)for(;b.xa();){var h=b.remove().responseData||{},f=f.concat(h.results||[]);e.results=f}50<f.length&&(e.results=f=f.slice(0,50));b=g?Math.min(g,64):64;e.more=(50==f.length||32==f.length)&&a.mk+f.length<b;return c};r.PT=function(a){var b=this.Hr.get(a);b&&b.clear();this.Hr.remove(a);this.LM.remove(a)};var MU=function(a,b,c,e,f,g){xS.call(this,a,g);this.Uwa=b;this.Oha=c;this.Xda=e;this.pI=f;XQ().Me()&&(f==mj?f=um:f==um&&(f=mj));this.oI=f;this.iX=[];this.Ly=[];this.Yb=this.Va=null;this.Hb=!0;this.nb=null;this.mU="0"};B(MU,xS);r=MU.prototype;r.M=function(){return this.Yb};
r.j=function(){var a=this.v(),b=this.Va=a.j(m,{className:function(a){switch(a){case So:return"picker-framepane-top";case Oe:return"picker-framepane-bottom";case mj:return"picker-framepane-left";case um:return"picker-framepane-right"}return""}(this.pI)+" "+this.Oha}),c=this.Yb=a.j(m,{className:"picker-framepane-content "+this.Xda});D(this.Ly,function(a){a.j();c.appendChild(a.b())});var e=this.pI==Oe||this.pI==um,a=a.j(m,{className:"picker-framepane-root "+this.Uwa},e?c:b,e?b:c);this.Sa(a)};
r.D=function(){this.FQ();MU.g.D.call(this)};r.Ls=function(a,b){this.la(a);this.iX.push(a);b&&a.Z(this.Va)};r.Ye=function(a){this.la(a);this.Ly.push(a)};r.removeChild=function(a,b){var c=MU.g.removeChild.call(this,a,b);Kr(this.Ly,a);return c};r.c6=function(a){var b=this.b();b&&FA(b,"picker-framepane-hidden",!a);this.Va&&this.Hb!=a&&(this.Hb=a,this.C7(a),a=a?this.mU:0,H&&!Rs(7)?P(this.b(),Uk+this.oI,a):P(this.Yb,this.oI,a))};r.C7=function(a){Q(this.Va,a)};r.Cb=function(a){this.nb=a;this.Y&&this.FQ()};
r.Ie=function(){return this.nb};r.FQ=function(){var a=this.nb,b=this.oI,c=b==So||b==Oe,e=H&&!Rs(7),f=this.Va,g=Sy(f);if(isNaN(g.top))M(y(this.FQ,this),200);else{g=c?g.top+g.bottom:g.left+g.right;if(0<a||this.getContext().B.Qd()&&0==a){var h=(e?a+g:a)+p;c?f.style.height=h:f.style.width=h}else 0==a&&P(f,"padding",0);h=0;a&&(h=a+g,e||(a=yy(f),h+=c?a.top+a.bottom:a.left+a.right));this.mU=h+=p;e?P(this.b(),Uk+b,h):P(this.Yb,b,h)}};r.A=function(){MU.g.A.call(this);this.Ly=this.iX=null};var NU=function(a){return!!a&&!!a.getOption(Yk)&&Aq(a.getOption(Yk),"newFolderId")};var OU=function(a,b){var c=b.getOption(Yk);c||b.getOption("cv")||(c=xm);return c},PU=function(a,b){var c=OU(a,b);return c?a.ja.N(c,jg):null},QU=function(a,b,c,e){var f=a.ja.N(c,jg);f?e(a,b,f):a.ja.Rc(new US(wg,[c],{isMinimalMode:!0}),function(c){e(a,b,c.kc()[0])},dq,!0)},RU=function(a,b,c){var e=a.yb.tq().getOption(Yk),f=[];b.getOption("ops")&&(f=b.getOption("ops").split(","));b=f;e&&(b=b.concat(e));e=xr(b,function(b){var c=pS(jg,"0",b);return b==xm&&(b=a.ja.N(c))?b.I():c});return Fr(e,c)},TU=function(a,
b){var c=SU(a,b);return c?c:b.getOption(Dm)&&!b.getOption(Yk)||b.getOption(Bj)?null:PU(a,b)},SU=function(a){var b=a.Ma.Gg();return Gr(b)?null:(C(1==b.length,"Only one doc should be selected"),a.ja.N(b[0]))},UU=function(a,b,c,e,f){a.X(b);b=a.b();AD(b,c,e);f&&tA(a.b(),gj)},VU=function(a){return Gr(a.Ma.Gg())?"Add here":vb},WU=function(a,b){AD(a,b,void 0);tA(a,gj)};var XU=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{Very few items selected. Please select more.}male{Very few items selected. Please select more.}other{Very few items selected. Please select more.}}")).Cg({VIEWER_GENDER:c.ci});return XD(""+a)};XU.ya="picker.ui.templates.messages.lackItemsSelected";
var YU=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{Back}male{Back}other{Back}}")).Cg({VIEWER_GENDER:c.ci});return XD(""+a)},ZU=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{Close}male{Close}other{Close}}")).Cg({VIEWER_GENDER:c.ci});return XD(""+a)};var aV=function(a,b,c){return PD(nb+oE(a.Nd.Vaa)+'" class="picker-title-container">'+V(FE({id:a.Nd.BACK,style:4,content:bE('<div class="'+(a.Me?"picker-sspr-minpicker-forward-button":"picker-sspr-minpicker-back-button")+' picker-header-icon" ></div>'),Es:!0,title:aE(""+YU(null,null,c)),attributes:cE(ue+oE(YU(null,null,c))+ia)},null,c))+nb+oE(a.Nd.sR)+'" class="picker-header-icon picker-sspr-drive-logo-black"></div><div role="status" aria-live="polite" class="picker-header-folder"><div id="'+oE(a.Nd.IR)+
'" role="heading" class="picker-header-folder-name" data-tooltip-only-on-overflow="true" data-tooltip-unhoverable="true"></div></div><input id="'+oE(a.Nd.naa)+'" class="picker-title-new-folder-input" /><div class="picker-title-new-folder-btn">'+V(FE({id:a.Nd.maa,style:2,content:bE('<div class="picker-spr-white-checkmark"></div>'),Es:!0,title:aE(""+$U(null,null,c)),attributes:cE(ue+oE($U(null,null,c))+'"'),width:1},null,c))+'</div></div><div class="picker-header-close">'+V(FE({id:a.Nd.iR,style:4,content:bE('<div class="picker-sspr-close-tab"></div>'),
Es:!0,title:aE(""+ZU(null,null,c)),attributes:cE(ue+oE(ZU(null,null,c))+ia)},null,c))+cb)};aV.ya="picker.ui.minimal.template.title";
var cV=function(a,b,c){return PD(nb+oE(a.Nd.ERROR)+'" class="picker-min-footer-error"></div><div class="picker-min-footer-ok-button">'+V(FE({id:a.Nd.xR,style:2,Es:!1},null,c))+'</div><div class="picker-min-footer-new-folder-button">'+V(FE({id:a.Nd.laa,style:0,width:1,content:bE('<div class="picker-sspr-folder-new"></div>'),Es:!0,title:aE(""+bV(null,null,c)),attributes:cE(ue+oE(bV(null,null,c))+ia)},null,c))+cb)};cV.ya="picker.ui.minimal.template.footer";
var bV=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{New Folder}male{New Folder}other{New Folder}}")).Cg({VIEWER_GENDER:c.ci});return XD(""+a)};bV.ya="picker.ui.minimal.template.newFolderLabel";
var $U=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{Create folder}male{Create folder}other{Create folder}}")).Cg({VIEWER_GENDER:c.ci});return XD(""+a)},dV=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{Creating {FOLDER_NAME} failed.}male{Creating {FOLDER_NAME} failed.}other{Creating {FOLDER_NAME} failed.}}")).Cg({VIEWER_GENDER:c.ci,FOLDER_NAME:""+a.gha});return XD(""+a)};dV.ya="picker.ui.minimal.template.folderErrorMsg";
var eV=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{{NUM_ITEMS,plural,=1{File is already in a Team Drive. You can't add it to My Drive.}other{Some files are already in Team Drives. You can't add them to My Drive.}}}male{{NUM_ITEMS,plural,=1{File is already in a Team Drive. You can't add it to My Drive.}other{Some files are already in Team Drives. You can't add them to My Drive.}}}other{{NUM_ITEMS,plural,=1{File is already in a Team Drive. You can't add it to My Drive.}other{Some files are already in Team Drives. You can't add them to My Drive.}}}}")).Cg({VIEWER_GENDER:c.ci,NUM_ITEMS:a.qM});
return XD(""+a)};eV.ya="picker.ui.minimal.template.cantAddFromTeamDrives";var fV=function(a,b){MU.call(this,a,"picker-min-footer-root","picker-min-footer-frame","picker-min-footer-content",Oe,b)};B(fV,MU);r=fV.prototype;r.j=function(){fV.g.j.call(this);var a={};a.Nd=this.v1(gV);a=this.getContext().yi().Z3(cV,a);this.Va.appendChild(a);this.Cb(29);this.mr=this.getContext().yi().Xl(bV)};
r.D=function(){fV.g.D.call(this);this.uf=new HE(null);this.uf.U(this.fl("__mp-fo"));this.ha(this.uf);this.Ei=new HE(null);this.Ei.U(this.fl("__mp-fnf"));this.ha(this.Ei);this.wj=new sP(null,this.v());this.wj.Ue("warning");this.wj.u6(!0);this.wj.Z(this.fl("__mp-fe"));this.ha(this.wj);this.C().o(this.getContext().aa,"B",this.JJ).o(this.getContext().Ma,"E",this.Pu).o(this.uf,l,this.fna).o(this.Ei,l,this.ena)};
r.roa=function(){this.PO();this.uf.as(this.getContext().B.fi&&!this.getContext().aa.gc.getOption(Bj)?1:2);var a=this.getContext(),b=a.aa.gc;if(b){var c=TU(a,b);this.OB(a,b,c)}};r.JJ=function(){var a=this.getContext(),b=C(a.aa.gc);this.PO();var c=null;b.getOption(Bj)||b.getOption(Dm)&&!b.getOption(Yk)||(c=OU(a,b));this.Ei.F(!!c&&c!=Do);var e=TU(a,b);e||NU(b)||!c||b.getOption("sodc")?this.OB(a,b,e):(c=y(this.OB,this),e=b.getOption(Yk)||xm,QU(a,b,e,c));b.Dd(this.yga)||this.wj.F(!1)};
r.PO=function(){var a=this.getContext().aa.gc;if(a&&!a.getOption("sodc"))if(a.getOption(Bj)){var a=a.getOption("idto"),b=0;x(a)&&(b=a.split(",").length);a=(new WT("{numIds, plural, =0 {unused plural form}=1 {Move this item}other {Move these items}}")).format({numIds:b});this.uf.mb(a)}else this.getContext().B.fi?this.uf.mb(VU(this.getContext())):this.uf.mb(hV(this.getContext(),a))};r.Pu=function(){var a=this.getContext(),b=C(a.aa.gc);this.PO();this.OB(a,b,TU(a,b))};
r.fna=function(){var a=this.getContext(),b=C(a.aa.gc);if(b.getOption(Bj))b=b.clone(),a.ja.Jc(78),b.et(Bj),a.aa.dc(b);else if(b.getOption("cv")){if(b.getOption("cv")){var c;(c=b.getOption("cv"))&&gq(c)&&c[0]?(c=DU(c[0],c[1],c[2]),c.hh(b)):c=null;if(c){var e=SU(a,b);if(e){if(c&&e){var b=c.clone(),f="_addItemId_"==e.rb;f?b.et(Yk):e.I()&&b.ab(Yk,e.rb);f&&(b.ab("sblovs","Add here"),b.ab("sblois",vb));e=b.getOption("ops");f=c.Pc.getOption("items");x(e)&&x(f)&&(e=e.split(",").concat(f.split(",")),Rr(e),
b.ab("ops",e.join(",")));c=c.Pc.getOption("idto");x(c)&&b.ab("idto",c);b.C6(b)}else b=null;a.aa.dc(b)}}}}else{if(c=b)a:{if((c=TU(a,b))&&c.rb!=no&&c.rb!=$m&&c.rb!=Do&&(a.B.fi&&c.setAttribute("rpt",""),e=b.getOption("drois"),b.getOption("sp")||!(RU(a,b,c.I())||e&&c&&c.getAttribute("ro")))&&(b.getOption("ers")||!c.Wq())){b=a.Ma;b.Jk(!0);b.O6(c.I(),!0,"cl",!0);a.yb.vQ(!0);c=!0;break a}c=!1}c||this.getContext().yb.Yi()}};
r.ena=function(){var a=this.getContext(),b=a.aa,c=b.gc;if(c){var e=SU(a,c),a=c.clone(),f=c.getOption(Yk);e&&(f=e.rb);a.hh(c);c="newFolderId";f&&(c+=f);a.ab(Yk,c);b.dc(a)}};r.ABa=function(a,b){this.yga=b;this.wj.mb(a);this.wj.F(!0);M(function(){this.wj.R()&&this.wj.F(!1)},1E4,this)};
var hV=function(a,b){var c=PU(a,b);if(c&&c.Wq()&&!b.getOption("ers"))return"Done";c=b.getOption("mbl");if(x(c))return c;if(Gr(a.Ma.Gg()))c=b.getOption("sblovs");else{if((c=SU(a,b))&&"_addItemId_"==c.rb)return"Add new location";c=b.getOption("sblois")}return x(c)?c:a.B.mn()};
fV.prototype.OB=function(a,b,c){if(NU(b)||b.getOption("cv")&&!c||b.getOption("sodc"))UU(this.uf,!1,"","",!0),UU(this.Ei,!1,this.mr);else{var e=!!b.getOption(Dm)&&!b.getOption(Bj)&&!b.getOption(Yk)&&(!c||!c.Wq()),f=c&&(c.rb==no||c.rb==$m);e||f?(UU(this.uf,!1,rd,"",!0),UU(this.Ei,!1,this.mr)):b&&c&&RU(a,b,c.I())?(UU(this.uf,!1,"Item is already in this folder","",!0),!c.getAttribute("tdid")||c.getAttribute("tdcac")?UU(this.Ei,!0,this.mr):UU(this.Ei,!1,this.mr)):c&&c.getAttribute("ro")&&!b.getOption(Bj)?
(b&&b.getOption("drois")&&UU(this.uf,!1,qd,"",!0),UU(this.Ei,!1,qd,this.mr)):c&&(c.rb==Do||this.getContext().B.fi&&c.getAttribute("tdid"))?UU(this.uf,!1,this.getContext().B.fi?"Files can't be added to Team Drive, they must be moved":rd,"",!0):this.getContext().B.fi&&this.getContext().fua?(a=b.getOption("idto"),b=0,x(a)&&(b=a.split(",").length),a=this.getContext().yi().Xl(eV,{qM:b}),UU(this.uf,!1,a,"",!0)):(UU(this.uf,!0,""),UU(this.Ei,!0,this.mr))}};var gV={ERROR:"__mp-fe",laa:"__mp-fnf",xR:"__mp-fo"};var iV=function(a,b){MU.call(this,a,"picker-min-title-root","picker-min-title-frame","picker-min-title-content",So,b);this.BU=!1;this.Rb=new pB;this.Lv=this.Ht=this.Ol=null;this.ha(this.Rb)};B(iV,MU);r=iV.prototype;r.Vya=function(a){this.Aj=a};r.vA=function(){this.Aj.roa();FA(this.b(),"picker-minimal-add-mode",this.getContext().B.fi&&!this.getContext().aa.gc.getOption(Bj))};
r.j=function(){iV.g.j.call(this);var a={};a.Nd=this.v1(jV);a.Me=XQ().Me();a=this.getContext().yi().Z3(aV,a);this.Va.appendChild(a);this.Cb(48);this.getContext().B.Tn&&T(this.b(),yl)};
r.D=function(){iV.g.D.call(this);this.Hh=this.fl("__mp-ti");this.ec=this.fl("__mp-tt");this.nj=this.uG("__mp-tc");this.ha(this.nj);this.Gk=this.uG("__mp-tb");this.ha(this.Gk);this.te=this.fl("__mp-tnfi");this.Rb.Wd(this.te);this.Nl=this.uG("__mp-tnfc");this.ha(this.Nl);this.Nl.fh(XQ().Me()?2:1);this.Kq();this.qd=new KC(this.te);this.C().o(this.nj,l,this.Ey).o(this.getContext().aa,"x",this.uk).o(this.getContext().aa,"B",this.vA).o(this.Gk,l,this.I1).o(this.Nl,l,this.IU).o(this.Rb,cj,this.Fma).o(this.qd,
Ci,this.xma).o(this.v().xb(),tm,this.u4)};r.Ra=function(){iV.g.Ra.call(this);this.qd.dispose();this.qd=null};r.uG=function(a){var b=new HE(null);b.U(this.fl(a));return b};
r.uk=function(a){if(a=a.ux){var b=!!a.getOption(Bj);FA(this.Va,"picker-locate-view",b);if(a.getOption("sodc"))this.Kq(),this.nj.F(!0);else if(b)this.Kq(),a=a.getOption("idto"),x(a)&&(this.Lv=a.split(",").length),null===this.Ol?this.getContext().Fia().pa(this.LAa,this):this.a7(),this.nj.F(!0);else if(this.Cb(48),a.getOption(Dm)&&!a.getOption(Yk))this.Kq(),this.PD("Drive"),WU(this.ec,"Drive"),this.nj.F(!0);else if(a.getOption("cv")||a.getOption("sp")){this.Kq();if(a=a.ee())this.PD(a),WU(this.ec,a);
this.nj.F(!0)}else if(b=NU(a),Q(this.te,b),this.Nl.F(b),Q(this.ec,!b),this.nj.F(!b),b)this.Gk.F(!0),Q(this.Hh,!1),this.u4(),this.zD(!1);else{var b=this.getContext(),c=y(this.eEa,this),e=a.getOption(Yk)||xm;QU(b,a,e,c)}}else this.Kq(),this.nj.F(!0)};r.LAa=function(a){a.Tsa&&(this.Ol=a.Tsa);if(a.Nfa){a=a.Nfa;var b=2;b&&12<a.length?(12<b&&(b=12),a=a.substring(0,12-b)+"..."+a.substring(a.length-b)):12<a.length&&(b=Math.floor(6),a=a.substring(0,b+0)+"..."+a.substring(a.length-b));this.Ht=a}this.a7()};
r.a7=function(){var a=XQ().Xn;this.Ht&&a&&null!==this.Lv?1==this.Lv?a=(new WT("{numParents, plural, =1 {{docName} is in 1 folder:}other {{docName} is in # folders:}}")).format({numParents:this.Ol,docName:this.Ht}):2==this.Lv?a=(new WT("{numParents, plural, =1 {{docName} and 1 other file is in 1 folder:}other {{docName} and 1 other file is in # folders:}}")).format({numParents:this.Ol,docName:this.Ht}):(a=this.Lv-1,a=(new WT("{numParents, plural, =1 {{docName} and {numDocsToBeMoved} other files are in 1 folder:}other {{docName} and {numDocsToBeMoved} other files are in # folders:}}")).format({numParents:this.Ol,
docName:this.Ht,numDocsToBeMoved:a})):a=this.getContext().xca?(new WT("{numParents, plural, =1 {This file is in 1 folder:}other {This file is in # folders:}}")).format({numParents:this.Ol}):this.getContext().yca?(new WT("{numParents, plural, =1 {This folder is in 1 folder:}other {This folder is in # folders:}}")).format({numParents:this.Ol}):(new WT("{numParents, plural, =1 {This item is in 1 folder:}other {This item is in # folders:}}")).format({numParents:this.Ol});this.PD(a,!0);WU(this.ec,a)};
r.eEa=function(a,b,c){a=a.bg.Uz();b=c&&c.Wq()&&!b.getOption(Dm);this.Gk.F(!b||!!a&&!!a.getOption("cv"));Q(this.Hh,!this.Gk.R());c=c?c.getName():"";this.PD(c);WU(this.ec,c)};r.Kq=function(){Q(this.ec,!1);this.Gk.F(!1);Q(this.Hh,!1);Q(this.te,!1);this.Nl.F(!1);this.nj.F(!1)};
r.u4=function(){var a=Ty(this.fl("__mp-ttc")),b=Qy(this.Gk.b()),c=Qy(this.Nl.b()),a=a.width-1-b.width-c.width;(b=Wy(this.Gk.b()))&&(a-=b.left+b.right);(b=yy(this.te))&&(a-=b.left+b.right);(b=Sy(this.te))&&(a-=b.left+b.right);(b=Wy(this.te))&&(a-=b.left+b.right);Fy(this.te,Math.floor(0<a?a:0))};
r.I1=function(){var a=this.getContext().aa.gc;if(a){var b=this.getContext();if((NU(a)||a.getOption(Dm))&&a.Pc)b.aa.dc(a.Pc);else{var c=PU(b,a);if(c)if(!c.Wq()||a.getOption(Dm)){var e=a.clone(),f=c.co;f||(c=c.Vha(),1==c.length&&(f=c[0]));f?(a.getOption(Dm)||e.hh(a),e.ab(Yk,f)):e.et(Yk);e.setQuery(null);b.aa.dc(e)}else a=b.bg.Uz(),a.getOption(Bj)||b.aa.dc(a)}}};r.Ey=function(){M(this.getContext().yb.Yi,0,this.getContext().yb)};r.Fma=function(a){13==a.keyCode&&this.IU()};r.xma=function(){this.Nl.X(!!Fq(this.te.value))};
r.IU=function(){var a=this.te.value;if(Fq(a)){this.getContext().Ma.Jk(!0);this.zD(!0);var b=this.getContext().aa.gc,c=b&&b.getOption(Yk).substring(11),a={title:a};c&&(a.parent=c);this.getContext().ja.Rc(new WS("createFolder",wg,null,a),y(this.Lla,this,b),y(this.XY,this,b))}};
r.Lla=function(a,b){if(b.kc().length){var c=this.getContext(),e=c.ja,c=c.aa,f=c.gc,g=b.kc()[0];g.lza(!0);e.Ak([g]);var h=a.clone(),k=a.Pc.clone();k.getOption(Yk)!=a.getOption(Yk).substring(11)&&(k.hh(a.Pc),k.ab(Yk,a.getOption(Yk).substring(11)));e.Gd(k.Cu()).ZA(!0);h.hh(k);h.ab(Yk,g.rb);e=e.Gd(h.Cu());e.Ak([]);e.Iw(void 0);f&&a&&f.Dd(a)&&this.BU&&(this.zD(!1),c.dc(h,!0))}else this.XY(a,b)};
r.XY=function(a,b){var c=this.te.value;this.zD(!1);if(this.Aj){var c=b.IH||this.getContext().yi().Xl(dV,{gha:c}),e=this.getContext().aa.gc;this.Aj.ABa(c,e&&e.Pc)}this.I1()};r.zD=function(a){this.BU=a;this.Nl.X(!a);if(a)this.te.setAttribute(gg,Wo);else{this.te.value="Untitled folder";this.te.removeAttribute(gg);try{this.te.focus(),this.te.setSelectionRange(0,15)}catch(b){}}};
r.PD=function(a,b){tx(this.ec,a);Q(this.ec,!0);if(b){var c=Qy(this.ec).height,e=this.ec.getBoundingClientRect();e.top&&(c+=2*e.top);this.Cb(Math.max(c,48))}else this.Cb(48)};var jV={BACK:"__mp-tb",iR:"__mp-tc",sR:"__mp-ti",naa:"__mp-tnfi",maa:"__mp-tnfc",IR:"__mp-tt",Vaa:"__mp-ttc"};var kV=function(a,b){var c=this.wa();MU.call(this,a,c+"-root",c+"-frame",c+ta,this.NI(),b);c=this.C();c.o(a.se,Vm,this.Xna);c.o(a.aa,"A",this.UAa)};B(kV,MU);r=kV.prototype;r.QF=function(a,b){var c=a||this.getContext().B.xi();if(gq(c))for(var e=c.length,f=0;f<e;f++){var g=c[f];if(gq(g))this.AG(g,b);else if(lq(g)&&gq(g.root)){var h=this.AG(g.root,b,g.options,!0);h&&this.QF(g.items,h)}}};r.Km=function(a){var b=a[0];return b?DU(b,a[1],a[2]):null};
r.o3=function(a){a&&(a=ES(a,this.getContext().B),"opc"!=a&&iT.K().n3(a))};r.Eg=function(a,b){return x(b[1])?b[1]:a&&a.getName()||""};r.Xna=function(a){a=this.Km(a.data.view);(a=this.LX(a))&&this.ex(a)};r.LX=function(a,b){var c=b||this.getContext().B.xi();if(gq(c))for(var e=c.length,f=0;f<e;f++){var g=c[f];if(gq(g)){if(g=this.Km(g),g.Dd(a))return g}else if(lq(g)){var h=g.root;if((h=h?this.Km(h):null)&&a.Dd(h))return h;if(g=this.LX(a,g.items))return g}}return null};
r.ex=function(a){a&&(this.getContext().aa.dc(a),this.An(a),this.c6(!0))};r.Uz=function(a){a=a||this.getContext().B.xi();for(var b=0;b<a.length;b++){var c=a[b],e=null;gq(c)?e=this.Km(c):lq(c)&&(e=this.Km(c.root)||this.Uz(c.items));if(e)return e}return null};r.UAa=function(a){this.c6(a.visible)};var lV=function(a){return"@"+V(a.prefix)+"-keyframes "+V(a.k5)+" {0% {background-position: 0 0;} 100% {background-position: -20px 0;}} .picker-photosuploadview-progress .progress-bar-thumb, .picker-photosuploadview-actionpane .progress-bar-thumb, .picker-doc-upload-control-progress .progress-bar-thumb, .picker-actionpane-frame .progress-bar-thumb, .new-upload-box .progress-bar-thumb {-webkit-animation-name: "+V(a.k5)+"; -moz-animation-name: "+V(a.k5)+";}"};lV.ya="picker.ui.templates.appview.progressBar";
var mV=function(){return PD('<div id="docs-aria-speakable" class="picker-offscreen" aria-live="assertive" role="region" aria-atomic="true"></div>')};mV.ya="picker.ui.templates.appview.ariaLiveRegion";var nV=function(){};B(nV,AB);eq(nV);r=nV.prototype;r.V=function(){return"goog-tab"};r.Fd=function(){return"tab"};r.j=function(a){var b=nV.g.j.call(this,a);(a=a.Ig())&&this.ed(b,a);return b};r.U=function(a,b){b=nV.g.U.call(this,a,b);var c=this.Ig(b);c&&a.cs(c);a.ge()&&(c=a.getParent())&&kq(c.im)&&(a.setState(8,!1),c.im(a));return b};r.Ig=function(a){return a.title||""};r.ed=function(a,b){a&&(a.title=b||"")};var oV=function(a,b,c){EB.call(this,a,b||nV.K(),c);this.Db(8,!0);this.Jw(9,!0)};B(oV,EB);oV.prototype.Ig=function(){return this.sb};oV.prototype.ed=function(a){this.O.ed(this.b(),a);this.cs(a)};oV.prototype.cs=function(a){this.sb=a};wB("goog-tab",function(){return new oV(null)});var pV=function(){this.Bm="tablist"};B(pV,yB);eq(pV);r=pV.prototype;r.V=function(){return"goog-tab-bar"};r.gP=function(a,b,c){this.t1||this.vea();var e=this.t1[b];e?a.p6(e):pV.g.gP.call(this,a,b,c)};r.be=function(a){var b=pV.g.be.call(this,a);this.Ay||this.vU();b.push(this.Ay[a.Jra]);return b};r.vU=function(){var a=this.V();this.Ay={top:a+"-top",bottom:a+"-bottom",start:a+"-start",end:a+"-end"}};r.vea=function(){this.Ay||this.vU();this.t1=ms(this.Ay)};var qV=function(a,b,c){this.p6(a||So);KB.call(this,this.$c,b||pV.K(),c);this.i1()};B(qV,KB);r=qV.prototype;r.ZS=!0;r.Uh=null;r.D=function(){qV.g.D.call(this);this.i1()};r.A=function(){qV.g.A.call(this);this.Uh=null};r.removeChild=function(a,b){this.aH(a);return qV.g.removeChild.call(this,a,b)};r.p6=function(a){this.setOrientation(a==oo||a==Gg?zp:fi);this.Jra=a};r.$xa=function(a){this.ZS=a};r.BO=function(a){qV.g.BO.call(this,a);this.ZS&&this.kAa(a)};r.im=function(a){a?a.ig(!0):this.Uh&&this.Uh.ig(!1)};
r.kAa=function(a){this.im(this.za(a))};r.aH=function(a){if(a&&a==this.Uh){for(var b=this.pf(a),c=b-1;a=this.za(c);c--)if(this.C0(a)){this.im(a);return}for(b+=1;a=this.za(b);b++)if(this.C0(a)){this.im(a);return}this.im(null)}};r.C0=function(a){return a.R()&&a.isEnabled()};r.ooa=function(a){this.Uh&&this.Uh!=a.target&&this.Uh.ig(!1);this.Uh=a.target};r.poa=function(a){a.target==this.Uh&&(this.Uh=null)};r.moa=function(a){this.aH(a.target)};r.noa=function(a){this.aH(a.target)};
r.nf=function(){this.Eh()||this.dd(this.Uh||this.za(0))};r.i1=function(){this.C().o(this,Hm,this.ooa).o(this,"unselect",this.poa).o(this,"disable",this.moa).o(this,bi,this.noa)};wB("goog-tab-bar",function(){return new qV});var rV=function(a,b){wS.call(this,a,b);this.XT=this.Gf=null};B(rV,wS);rV.prototype.qia=function(){return this.getContext().B.Qd()?"picker-min-close-icon":Ll};rV.prototype.j=function(){var a=this.v(),b=a.j(m,"picker-header-close");this.Sa(b);this.XT=a.j(m,this.qia(!1));this.Gf=JE(this.XT,a);this.Gf.Z(b);this.Gf.RD(!0);this.Gf.ed(Jb)};rV.prototype.D=function(){rV.g.D.call(this);this.C().o(this.Gf,l,this.Ela)};rV.prototype.Ela=function(){this.getContext().yb.Yi()};var sV=function(a,b){kV.call(this,a,b);this.qm=[];this.sd=new wC(void 0,void 0,void 0,b)};B(sV,kV);r=sV.prototype;r.wa=function(){return"picker-navpane-horizontal"};r.NI=function(){return So};
r.j=function(){sV.g.j.call(this);var a=this.v();this.Bn=a.j(m,{"class":"picker-navpane-horizontal-tab-bar-wrapper",id:NA.K().Jd()});var b=this.uV=this.MU();this.QF(void 0,b);this.UB=a.createTextNode("More");this.sd.j();this.sd.mb(a.j(m,void 0,this.UB,a.j(m,Hl)));b.la(this.sd,!0);this.sd.F(!1);rA(this.sd.b(),"tab");this.Cb(50);this.Va.appendChild(this.Bn);b=this.getContext().B;!b.ee()&&b.Ym&&(this.Gf=new rV(this.getContext(),a),this.la(this.Gf,!1),this.Gf.j(),a.append(this.Va,this.Gf.b()))};
r.D=function(){sV.g.D.call(this);this.Sda();this.HP(this.uV);this.GC();this.C().o(this.sd.Wa(),l,this.Mu).o(this.v().xb(),tm,this.vn);D(this.qm,function(a){var b=a.b();this.C().o(a,l,this.loa).o(b,ch,y(this.tn,this,!0)).o(b,Ke,y(this.tn,this,!1))},this)};r.tn=function(a,b){FA(b.target,"picker-navpane-horizontal-focused",a)};r.AG=function(a,b,c,e){var f=this.GU(a,b,c);if(f&&e){e=this.MU();f.Sc(e);if(a=this.GU(a,e,c,!0))T(a.b(),"picker-navpane-horizontal-parent-tab"),a.Sc(b);return e}return f};
r.GU=function(a,b,c,e){c=this.Km(a);this.getContext();this.o3(c);var f;f=this.v();a=this.Eg(c,a);if("-"==a)f=new oV("",void 0,f),f.X(!1),f.zk("picker-navpane-horizontal-divider"),f.j(),f.b().removeAttribute(vm);else{var g=XQ().Me()?"picker-spr-back-folder-rtl":"picker-spr-back-folder-ltr",g=f.j(m,"picker-navpane-horizontal-back-icon "+g),g=f.j(m,"picker-navpane-horizontal-tabcontent",e?g:a);f=new oV(g,void 0,f);f.j();e&&a&&(e="Return from "+a,a=f.b(),AD(a,e,void 0))}f.Sc(c);b&&(b.la(f,!0),1==b.ub()&&
f.ig(!0));return f};r.An=function(a){a&&(D(this.qm,function(b){b.Ua(function(c){if(c.R()&&c.isEnabled()){var e=c.ca;e instanceof lU&&a.Dd(e)&&b.im(c)}})},this),this.sd.b()&&(this.n4(),this.sd.Wa().Ua(function(b){var c=b.getValue().ca;c&&c instanceof lU&&a.Dd(c)&&(b.ig(!0),tx(this.UB,b.si()),FA(this.sd.b(),rl,!0),(b=this.sJ())&&b.im(null))},this)))};r.loa=function(a){this.xZ(a.target)};r.Mu=function(a){this.xZ(a.target.getValue())};
r.xZ=function(a){a=a.ca;if(a instanceof qV){var b=a;this.HP(b);b=b.za(b==this.uV?0:1);b instanceof oV&&(a=b.ca);this.n4()}a instanceof lU&&(this.ex(a),this.An(a));this.GC()};r.vn=function(){this.ts[this.Bn.id]=Iy(this.Bn).width;this.GC();this.An(this.getContext().aa.gc)};r.C7=function(a){var b=a?"":"0px";Gy(this.Va,b);Fy(this.Va,b);ry(this.Va,a?"":"-9500px","");(b=this.sJ())&&b.Se(a)};
r.MU=function(){var a=this.v(),b=new qV(void 0,void 0,a);b.$xa(!1);b.j();a.appendChild(this.Bn,b.b());this.Ls(b);this.qm.push(b);return b};r.HP=function(a){D(this.qm,function(b){b.F(b==a)},this);var b=this.sd.getParent();b!=a&&(b.removeChild(this.sd,!0),a.la(this.sd,!0))};
r.GC=function(){var a=this.sJ();if(a){a.Ua(function(a){a.F(!0)});this.sd.F(!1);var b=this.sd.Wa();b.wf(!0);var c=this.ts[this.Bn.id];if(c){for(var e=0,f=0,g=a.ub()-1;0<=g;--g){var h=a.za(g);if(h.R())if(tV(a,this.ts,e,c)){var k=h.b();h.F(!1);k=new OB(Bx(k),h);k.Ww(!0);b.Ck(k,0);f=Math.max(f,this.ts[h.I()]);h=Wy(this.sd.b());isNaN(h.left)||isNaN(h.right)||(e=f+h.left+h.right)}else break}0<b.jl()?(this.sd.F(!0),T(b.b(),"picker-horizontal-navpane-more-menu")):this.sd.F(!1)}}};
var tV=function(a,b,c,e){var f=0;a.Ua(function(a){a.R()&&(f+=b[a.I()])});f+=c;return f>=e};r=sV.prototype;r.sJ=function(){for(var a=0;a<this.qm.length;++a){var b=this.qm[a];if(b.R())return b}return null};r.Sda=function(){this.ts={};D(this.qm,function(a){a.Ua(function(a){var c=a.b(),e=Iy(c).width,c=Wy(c);isNaN(c.left)||isNaN(c.right)||(e=e+c.left+c.right);this.ts[a.I()]=e},this)},this);this.ts[this.Bn.id]=Iy(this.Bn).width};
r.n4=function(){this.UB&&this.sd.b()&&(tx(this.UB,"More"),FA(this.sd.b(),rl,!1))};r.ex=function(a){a&&(this.RBa(a),this.GC(),sV.g.ex.call(this,a))};r.RBa=function(a){D(this.qm,function(b){b.Ua(function(c){c=c.ca;c instanceof lU&&a.Dd(c)&&this.HP(b)},this)},this)};var uV=function(a,b,c){rC.call(this,a,b||sC.K(),c)};B(uV,rC);wB(wh,function(){return new uV(null)});var vV=function(){};B(vV,ZE);eq(vV);vV.prototype.V=function(){return Bh};wB(Bh,function(){return new rC(null,vV.K())});var xV=function(a,b){wS.call(this,a,b);this.Nc=null;this.Da=wV(a.B)};B(xV,wS);xV.prototype.j=function(){if(this.Da){var a=this.v(),b=a.j(m,"picker-learnmore",a.j(jo,"picker-spr-questionmark"));this.Sa(b);this.Nc=new uV(xc,vV.K(),a);this.la(this.Nc,!0)}else xV.g.j.call(this)};xV.prototype.D=function(){xV.g.D.call(this);this.Nc&&this.C().o(this.Nc,l,this.Hma)};xV.prototype.getUrl=function(){return this.Da};xV.prototype.Hma=function(){this.Da&&Kz(this.Da,{target:Gd})};
var wV=function(a){a=a.qra;var b="&hl="+XQ().Ne;if(!isNaN(parseInt(a,10)))return"https://www.google.com/support/websearch/bin/answer.py?answer="+a+b;if(x(a)){var c=/\/support\/\w+\?p=\w+$/;if(c.test(a))return"https://www.google.com"+a+b;c=/^[a-z]+\/\?p=[a-z_]+$/;if(c.test(a))return"https://support.google.com/"+a+b}return null};var yV=function(){this.h4={};this.g4=0};r=yV.prototype;r.format=function(a){var b=[];a=Qq(a).replace(/\{SafeHtmlFormatter:\w+\}/g,y(this.xwa,this,b));C(0==b.length,"Expected no unclosed tags, got <"+b.join(">, <")+">.");return uu(a,null)};
r.xwa=function(a,b){var c=this.h4[b];if(!c)return b;var e="";c.ps&&(e+="<"+c.ps+c.attributes+">",!0===Ft[c.ps.toLowerCase()]||a.push(c.ps.toLowerCase()));c.h_&&(e+=c.h_);if(c.$p){var e=e+("</"+c.$p+">"),f=a.pop();C(f==c.$p.toLowerCase(),"Expected </"+f+">, got </"+c.$p+">.")}return e};r.ps=function(a,b){Bu(a);return this.dQ({ps:a,attributes:Iu(a,b)})};r.$p=function(a){Bu(a);return this.dQ({$p:a})};r.text=function(a){return this.dQ({h_:Qq(a)})};
r.dQ=function(a){this.g4++;var b="{SafeHtmlFormatter:"+this.g4+"_"+cr()+"}";this.h4[b]=a;return b};var zV=function(a,b,c,e){EB.call(this,null,c,e);this.T=a;this.az=b;this.Db(16,!0);this.Jw(16,!0)};B(zV,EB);r=zV.prototype;r.N=function(){return this.az};r.getContext=function(){return this.T};r.D=function(){zV.g.D.call(this);this.C().o(this.b(),Zf,this.xA)};r.update=function(){this.T.ja.N(this.az.I())&&this.bi(this.az.I())};r.bi=function(a){this.az=this.T.ja.N(a)};r.xA=function(){this.dispatchEvent(Zf)};r.FM=dq;var AV=function(a,b){G.call(this,"I",a);this.Tj=b||0};B(AV,G);var BV=function(a,b){var c=EQ(a),e=Ay(a,c);gz.call(this,[0,c.scrollTop],[0,e.y],b||200,tz);this.bb=c};B(BV,gz);BV.prototype.Mv=function(){BV.g.Mv.call(this);this.bb.scrollTop=this.coords[1]};var CV=function(a,b,c,e){zV.call(this,a,b,c,e);this.RA=!1};B(CV,zV);r=CV.prototype;r.D=function(){CV.g.D.call(this);this.C().o(this.uu(),cj,this.Bma)};r.KB=function(){this.RA=!0};r.B1=function(){this.RA=!1};r.xqa=function(){return this.RA};r.Fwa=function(){this.dispatchEvent(new AV(this));(new BV(this.b())).play()};
r.Bma=function(a){switch(a.keyCode){case 38:case 40:case 37:case 39:return this.qla(a),!0;case 32:return this.ioa(a),!0;case 13:if(!this.bma(a))return a.preventDefault(),a.stopPropagation(),!0}return!1};r.qla=function(a){this.dispatchEvent(new AV(this,a.keyCode));a.preventDefault();a.stopPropagation()};r.ioa=function(a){this.isEnabled()&&this.tx();a.preventDefault()};r.bma=function(){return this.vb(64)?(this.Ob(!0),this.Ob(!1),!1):!0};
r.tx=function(){if(this.vb(16)){var a=this.getContext();a.Ma.tx(this.N().I(),a.B.YB?"cb":"cl")}};r.Ec=function(a){return 13!=a.keyCode?CV.g.Ec.call(this,a):!1};var DV=function(a,b){JM.call(this,b);this.Zea=H&&!cK?"picker-progress-bar-spinner":a};B(DV,JM);DV.prototype.D=function(){DV.g.D.call(this);T(this.b(),this.Zea);rA(this.b(),ro)};DV.prototype.j=function(){DV.g.j.call(this);var a=this.b();a&&(tA(a,xp),S(a,xe,!0),S(a,tj,Xl),yA(a,Lc))};DV.prototype.setValue=function(a){DV.g.setValue.call(this,a);var b=this.b();if(b)switch(tA(b,xp),S(b,xe,!0),S(b,tj,Xl),a){case 0:yA(b,Lc);break;case 100:yA(b,"Progress Completed")}};var EV=function(a){this.Sea=a;this.KF=null};B(EV,AB);r=EV.prototype;r.Bc=function(){return!1};r.V=function(){return this.Sea};r.Od=function(a){EV.g.Od.call(this,a);a.vb(16)&&S(a.b(),bf,!1)};r.Fd=function(){return Kk};r.pX=function(){this.KF||(this.KF=new LD(XQ().Me()));return this.KF};er(dK,"9.0.0");var FV=["transform","WebkitTransform","msTransform","OTransform","MozTransform"],HV=function(a,b,c){var e,f=!1;D(FV,function(b){e||c&&"MozTransform"==b||(e=a.style[b])});e||b||(e=a.style.filter,f=!0);if(e&&(b=e.search("rotat"),0<=b)){b=e.substr(b);var g=b.search("[)]"),f=f?90:1,f=b.substr(0,g).replace(/\D/g,"")*f;return GV(f)}return 0},GV=function(a){0>a?a+=360:360<=a&&(a-=360);return a};var IV=function(a,b,c,e){a=vu(a);AC.call(this,a,c,e);this.LK=this.Kn=!1;this.Wo=b};B(IV,CC);r=IV.prototype;r.UR=function(a){this.Wo?this.dispatchEvent("M"):this.Md()&&this.Kh&&a.target.getAttribute(Xo)!=Mg&&(this.a0()&&this.qe()?this.collapse():(this.expand(),this.za(0).UR(a)))};r.a0=function(){return zr(this.Xc(),function(a){return a instanceof IV&&(a.Kn||a.a0())})};r.D=function(){IV.g.D.call(this);this.C().o(this.ce(),Xj,this.rC);this.C().o(this.ce(),Wj,this.EM)};
r.bY=function(){if(this.Md()&&this.qe()){for(var a=this.wi();a&&!a.xq();)a=a.ue;return a?a:this}for(var a=this,b=this;a!=this.Kd();){do if((b=b.ue)&&b.xq())return b;while(b);b=a=a.getParent()}return null};r.gJ=function(){var a=this;do if(a=a.Ii){var b=a.ZI();if(b&&b.xq())return b}while(a);a=this.getParent();b=this.Kd();return b.om||a!=b?a:null};
r.ln=function(){var a=IV.g.ln.call(this);this.getParent()==this.Kd()&&(a+=" picker-navpaneitem-root");this.xq()?(this.Kn&&(a+=" picker-navpaneitem-active"),this.LK&&(a+=" picker-navpaneitem-hover")):a+=fa;return a};r.xq=function(){return!!this.Wo&&x(this.SI())||this.Md()};r.getToken=function(){return this.Wo};r.qC=function(a){this.xq()&&(IV.g.qC.call(this,a),this.UR(a))};r.Ov=function(a){!this.Wo&&this.Md()&&this.Kh||IV.g.Ov.call(this,a)};r.rC=function(){this.LK=!0;this.Ax()};
r.EM=function(){this.LK=!1;this.Ax()};
r.select=function(){IV.g.select.call(this);var a=this.ce(),b=EQ(a);if(b){var c;if(a&&b&&a.parentNode&&b.parentNode&&1==a.parentNode.nodeType&&1==b.parentNode.nodeType){c=Iy(a);var e=Cy(a),f=Cy(b),g=HV(a,!0,!1);if(90==g||270==g)if(g=c.height,c.height=c.width,c.width=g,Es&&!Rs("12")){var g=Math.round(c.width/2),h=Math.round(c.height/2);e.x=e.x+h-g;e.y=e.y-h+g}e=new Fw(e.x-f.x,e.y-f.y);f=b.clientWidth;XQ().Me()&&(e.x=f-e.x-c.width);104>c.width&&(e.x+104>f&&(e.x=e.x+c.width-104),e.x-=(104-c.width)/2,
c.width=104);c=new jy(e.x,e.y,c.width,c.height)}else c=new jy(0,0,0,0);a=Wy(a);c.height+=a.top+a.bottom;c.top+c.height>b.offsetHeight&&(b.scrollTop+=c.top+c.height-b.offsetHeight+5);0>c.top&&(b.scrollTop+=c.top)}};r.setActive=function(a){this.Kn=a;this.Ax()};var JV=function(){IV.call(this,"",null)};B(JV,IV);JV.prototype.D=function(){JV.g.D.call(this);this.Xh(Du("hr",{"class":"picker-nav-hr"}));T(this.b(),"picker-navpanedivider")};JV.prototype.xq=function(){return!1};JV.prototype.Lz=function(){return"picker-navpanedivider-icon"};var KV=function(a,b,c){FC.call(this,a,b,c)};B(KV,FC);KV.prototype.Mc=function(a){return 13==a.keyCode&&this.Ga()&&this.Ga().qC(a)?(a.preventDefault(),!0):KV.g.Mc.call(this,a)};var LV=function(a,b){kV.call(this,a,b);this.Nc=new xV(a,b);this.ha(this.Nc)};B(LV,kV);r=LV.prototype;r.lU=!1;r.wa=function(){return zl};r.NI=function(){return mj};
r.j=function(){LV.g.j.call(this);var a=this.getContext(),b=this.v(),c={};os(c,GC);c.iG="//ssl.gstatic.com/docs/picker/images/cleardot-v1.gif";c.JG+=" picker-navpaneitem";c.KG+=ea;c.Sy+=fa;c.qt+=fa;c.$U=Hl;c.aV="picker-spr-arrow-dk-grey";this.ea=new KV(vu(xm),c,b);this.ea.cP(!1);this.ea.S6(!1);this.ea.dP(!1);this.Ls(this.ea);this.ea.j();var e=this.Va;e.appendChild(this.ea.b());this.QF();a.ie.pa(function(a){if(a.g0){var c=b.j(m,"picker-buildlabel");this.Nc.getUrl()&&P(c,Oe,"50px");if(XQ().isNative())c.appendChild(b.createTextNode(gk));
else{var h=a.H4;h&&(c.appendChild(b.createTextNode(h)),c.appendChild(b.j("br")));if(a=a.jT)c.appendChild(b.createTextNode(a)),c.appendChild(b.j("br"));a=(new Gx(window.location.href)).W("clientdebugon",Wo).toString();c.appendChild(b.j("a",{href:a,"class":"picker-buildlabel-a",tabIndex:-1},"DEBUG"))}e.appendChild(c);this.Fm=c}},this);this.Nc.getUrl()&&(this.Nc.j(),this.Ls(this.Nc),e.appendChild(this.Nc.b()));this.Cb(180)};
r.AG=function(a,b,c){var e=this.Km(a);this.getContext();this.o3(e);a=this.Eg(e,a);if("-"==a)return b=new JV,this.ea.add(b),b;e=new IV(a,e,this.ea.B,this.v());!c||c.collapsible!=Ng&&c.collapsible!=hf?e.ED(!1):(this.lU=!0,c.collapsible==Ng&&e.expand());this.C().Fl(e,"M",this.Ama,!1,this);b?b.add(e):this.ea.add(e);return e};r.D=function(){LV.g.D.call(this);this.$q()};
r.$q=function(){var a=Ty(this.Va);if(0>=a.height)M(y(this.$q,this),10);else{var b=Sy(this.ea.b());a.height-=b.top+b.bottom;this.Nc.getUrl()&&(b=Qy(this.Nc.b()),a.height-=b.height);this.Fm&&(a.height-=Qy(this.Fm).height);Gy(this.ea.b(),a.height);this.lU&&T(this.ea.b(),"picker-navpane-hascollapse")}};r.An=function(a){this.bK(a)};
r.bK=function(a,b){if(this.ea)if(!b&&this.ea.Xc().length)this.ea.Ua(function(b){this.bK(a,b)},this);else{var c=b.getToken();a&&c&&a.Dd(c)&&a.getName()==c.getName()?((c=this.ea.Ga())&&c!=this.ea&&c.setActive(!1),b.setActive(!0),this.ea.Gb(b)):c&&b.setActive(!1);b.Ua(function(b){this.bK(a,b)},this)}};r.Ama=function(a){(a=a.target)&&a!=this.ea&&(this.getContext().aa.dc(a.getToken()),this.An(a.getToken()))};var MV=function(a,b,c,e,f){e?(this.af=c.j(m,"goog-inline-block picker-spr-circle"),a=[this.af,a]):a=f?[c.j(m,Ah+f),a]:[a];OB.call(this,a,b,c)};B(MV,OB);MV.prototype.ig=function(a){this.Y&&(FA(this.b(),"picker-selected",a),this.af&&(a?(DA(this.af,Il),DA(this.af,Kl),T(this.af,Jl)):(DA(this.af,Jl),DA(this.af,Kl),T(this.af,Il))))};MV.prototype.Kg=function(){this.dd(!0);if(this.af&&!BA(this.af,Jl)){var a=this.af;DA(a,Il);T(a,Kl)}};
MV.prototype.Nu=function(){this.dd(!1);if(this.af&&!BA(this.af,Jl)){var a=this.af;DA(a,Kl);T(a,Il)}};MV.prototype.lDa=function(){this.ad(null)};var NV=function(a){var b="",c=(new WT("{NUM_SELECTED,plural,=1{ selected \u00bb}other{ selected \u00bb}}")).Cg({NUM_SELECTED:a.k2}),b=b+('<div class="goog-inline-block"><span class="goog-inline-block picker-selnavitem-count-slide"></span><span class="goog-inline-block picker-selnavitem-count">'+V(a.k2)+'</span></div><span class="goog-inline-block picker-selnavitem-label">'+c+"</span></div>");return PD(b)};NV.ya="picker.ui.templates.selectednavpaneitem.itemsSelected";var OV=function(a,b,c,e){U.call(this,e);this.T=a;this.jra=b;this.S=c;this.Zj=this.YE=null};B(OV,U);r=OV.prototype;r.j=function(){var a=this.v();this.Zj=new MV("",this.jra,a);this.la(this.Zj);this.Zj.j();this.z9(0);this.Sa(a.j(m,"picker-selnavitem",a.j(m,"picker-selnavitem-wrapper",this.Zj.b())))};r.z9=function(a){var b=this.v();a=this.T.yi().Y3(NV,{k2:a});this.SP=b.Lc("picker-selnavitem-count-slide",a);this.aea=b.Lc("picker-selnavitem-count",a);ry(this.SP,0,-14);this.Zj.mb(a)};
r.D=function(){OV.g.D.call(this);this.YE=new dP(null,this.b());this.C().o(this.T.Ma,"E",this.Pu).o(this.YE,Oo,this.w9).o(this.Zj,l,y(function(){this.S.Gb(this.Zj);var a=new lU(al);a.ab(Xo,Km);var b=this.T.aa;b.dc(a);b.mc.setActive(!0)},this));this.S.zc(this.Zj)};r.Pu=function(){var a=iT.K().Rf(Gk).bk.eka(this.T,this.v()).eNa();a!=this.Ab&&(this.Ab=a,this.yDa(a),this.w9());0==this.Ab&&this.S.Ga()==this.Zj&&this.dispatchEvent("N")};
r.yDa=function(a){this.v().jg(this.SP,String(a));(new kz(this.aea,[0,14],218,uz)).play();var b=new kz(this.SP,[0,0],218,uz);this.C().o(b,Gg,function(){this.z9(a)});b.play()};r.w9=function(){this.YE.aqa()||this.YE.je(!!this.Ab)};var PV=function(a){TB.call(this,a)};B(PV,TB);r=PV.prototype;r.Ec=function(a){var b=PV.g.Ec.call(this,a);b||9!=a.keyCode||(b=a.shiftKey?this.$oa():this.Zoa())||this.vc(-1);return b};r.nf=function(){this.C().Zf(this.b(),fj,this.Ec)};r.Yc=function(){};r.Zoa=function(){return this.Oq(function(a,b){a++;return a<b?a:-b-2},this.qb)};r.$oa=function(){return this.Oq(function(a){return a-1},0>this.qb?this.ub():this.qb)};
r.wy=function(a){return wy(a.b()).y-wy(this.b()).y<Iy(this.b()).height&&PV.g.wy.call(this,a)};var QV=function(a,b){kV.call(this,a,b);this.kd=new PV(b);this.kd.dm(!1);this.kd.Se(!0);this.la(this.kd);this.mh=new TB;this.mh.dm(!1);this.mh.Se(!0);this.la(this.mh);this.S=new xC;a.ja.Rc(new ZS("c"),y(this.Kma,this),dq,!0);var c=a.aa;this.C().o(c,"y",this.Tna);this.oD=new OV(a,3,this.S,b);this.la(this.oD);this.mG=(this.$D=a.B.$D)?167:153;this.wV=null};B(QV,kV);r=QV.prototype;r.wa=function(){return zl};r.NI=function(){return mj};
r.j=function(){QV.g.j.call(this);this.kd.b()||this.kd.j();this.mh.b()||this.mh.j();var a=this.v();this.oD.j();a.appendChild(this.Va,a.j(m,null,this.oD.b(),this.kd.b(),this.VB=a.j(m,Al,a.j(m,Bl,"More","\u00a0","\u25be")),this.yL=a.j(m,Al,a.j(m,Bl,"Less","\u00a0","\u25b4")),this.mh.b()));Q(this.VB,!1);Q(this.yL,!1);this.Cb(180)};
r.D=function(){QV.g.D.call(this);this.C().o(this.kd,l,this.lZ).o(this.mh,l,this.lZ).o(this.VB,ef,y(this.QH,this,!0)).o(this.yL,ef,y(this.QH,this,!1)).o(this.oD,"N",function(){this.kd.za(0).lDa()});T(this.Va,"picker-pplnavpane");this.$D&&T(this.Va,"picker-peoplesearchbar-showroom");T(this.mh.b(),"picker-pplnavpane-additional");this.J1();var a=this.S.Ga();a&&a.ig(!0)};
r.xBa=function(a){this.wV=a;var b=a.parent;b?this.getContext().ja.Rc(new ZS("c"),y(function(a){for(var b=0;b<this.S.jl();b++){var f=this.S.nd(b),g=f.ca;if(g instanceof mS&&g.rb==a){5<b&&(this.QH(!0),(new BV(f.b())).play());this.g5(f);return}}this.getContext().aa.dc(new lU(al))},this,b),dq,!1):this.getContext().aa.dc(new lU(al,void 0,a))};r.J1=function(){this.Y&&6<this.kd.ub()&&(this.AW=Iy(this.kd.b()).height-Sy(this.kd.b()).top,Q(this.VB,!0),P(this.kd.b(),Ok,ai),P(this.kd.b(),$h,this.mG+p))};
r.QH=function(a){Q(this.VB,!a);Q(this.yL,a);var b=a?this.mG:this.AW,c=a?this.AW:this.mG,b=new lz(this.kd.b(),b,c,150);a?this.C().o(b,Gg,y(function(){P(this.kd.b(),Ok,Mp)},this)):P(this.kd.b(),Ok,ai);b.play()};r.Kma=function(a){this.kd.b()||this.kd.j();this.mh.b()||this.mh.j();var b=this.$R("Everyone",1);T(b.b(),"picker-pplnavpane-all");D(a.kc(),function(a){this.$R(a.getName(),a,!0)},this);this.S.Gb(b);this.J1();this.getContext().ja.Rc(new ZS("g"),y(function(a){a.kc().length&&this.Cba()},this),dq)};
r.Cba=function(){this.getContext().ie.pa(function(a){this.mba(a.dla,2,"picker-spr-gmail")},this)};r.HU=function(a,b,c,e){a=new MV(a,b,this.v(),c,e);this.S.zc(a);return a};r.mba=function(a,b,c){a=this.HU(a,b,!1,c);this.mh.la(a,!0);return a};r.$R=function(a,b,c){a=this.HU(a,b,c);this.kd.la(a,!0);return a};r.lZ=function(a){this.g5(a.target)};
r.g5=function(a){var b=this.S.Ga();this.S.Gb(a);var c=this.getContext().aa.gc,c=c?c.clone():new lU(al,void 0,this.wV);c.setQuery(null);if((a=a.ca)&&a instanceof mS)c.ab(Yk,a.rb),c.ab(Xo,void 0);else switch(a){case 1:c.ab(Yk,void 0);c.ab(Xo,al);break;case 2:c.ab(Xo,rh)}this.getContext().aa.dc(c);b||this.getContext().aa.mc.setActive(!0)};r.Tna=function(a){a=a.CEa;this.An(a.getQuery()?null:a)};
r.An=function(a){if(a&&a.ta==al){var b=a.getOption(Yk),c=a.Aa()==rh,e=a.Aa()==al&&!b,f=a.Aa()==Km;D(this.S.Gj(),function(a){var h=a.ca,k=h instanceof mS?h.rb:void 0;(b&&b==k||c&&2===h||e&&1===h||f&&3===h)&&this.S.Gb(a)},this)}else this.S.Gb(null)};var RV=function(a,b){var c=a.B.Qd()?"picker-min-header":"picker-header";MU.call(this,a,c+"-root",c+"-frame",c+ta,So,b);this.fd=this.getContext().B.ee();this.fQ=this.getContext().B.fQ||this.fd;this.Fm=null};B(RV,MU);r=RV.prototype;
r.SU=function(a){if(a){var b=this.v(),c=this.Va,e=b.j(m,{id:"picker:ht","class":ql,role:"heading"},a);this.getContext().B.Qd()||e.setAttribute("aria-level","1");var f=this.getContext().B.Lka();f&&c.appendChild(b.j(m,"picker-header-icon "+f));c.appendChild(e);this.getContext().B.Ofa&&(e=b.j(m,"picker-header-text picker-dogfood-confidential-text",Tb),c.appendChild(e));this.Gf=new rV(this.getContext(),b);this.la(this.Gf,!1);this.Gf.j();b.append(c,this.Gf.b())}this.x4(a)};
r.j=function(){RV.g.j.call(this);this.SU(this.fd);this.getContext().B.eK&&this.nba()};r.nba=function(){var a=this.v(),b=this.Va;this.getContext().ie.pa(function(c){if(c.g0&&!XQ().isNative()){this.Fm=a.j(m,"picker-debug-build-label");var e=c.H4;e&&this.Fm.appendChild(a.createTextNode(e+":"));(c=c.jT)&&this.Fm.appendChild(a.createTextNode(c));b.appendChild(this.Fm)}},this)};
r.D=function(){RV.g.D.call(this);this.getContext().B.Qd()&&(this.C().o(this.getContext().se,Tm,this.Vna),this.C().o(this.getContext().aa,"w",this.tla))};r.Yw=function(a){var b=this.v(),c=b.Lc(ql,this.b()),e=this.fd;(a=a||this.getContext().aa.gc)&&a.getOption(Yk)&&(e=this.fQ);c?(b.wf(c),e&&b.appendChild(c,b.createTextNode(e)),this.x4(e)):this.SU(e)};
r.x4=function(a){if(a)if(this.getContext().B.Qd()){var b=this.v().Lc(ql,this.b());a=Qy(b).height;b=Wy(b);b.top&&(a+=b.top);b.bottom&&(a+=b.bottom);this.Cb(Math.max(a,28))}else this.Cb(20);else this.Cb(0)};r.Vna=function(a){a=a.data.title;x(a)&&(this.fd=a,this.Yw());(a=this.getContext().aa.mc)&&a.$g()};r.tla=function(a){this.Yw(a.ux)};var SV=function(a,b){if(b.Tn)return"vmd";if(b.Qd())return null;if(XP(a.ta))return"vd";var c=a.getOption(Yk),e=a.getQuery();switch(a.ta){case Lf:return"vco";case ri:return"vis";case hl:var f=a.getOption(Sj),g=a.getOption(Xo);if(a.getOption(dp)||g==qh||"moment"==g&&c)break;return g==Te?"vpcs":g==ei?"vph":g==yj&&!c||!g&&(!c&&!e||f==wm)?"vpa":"vpf";case cl:return a.getOption("enableAlbumNavigation")&&c?"vph":"vpa";case dp:return a.MK()?null:"vup";case rp:return"vurl";case Cp:return"vvs";case Bp:return c||
e?"vv":"vva";case Dp:return"vv";case Wp:return"vyt"}return null},TV=function(a){if(XP(a.ta))return!0;switch(a.ta){case Ie:case Se:case cf:case Lf:case Kg:case "et":case ih:case Yh:case Fj:case al:case cl:case el:case fl:case om:case Bp:case Dp:case Wp:return!0;case hl:return a.getOption(dp)?!1:!0}return!1},UV=function(a){switch(a){case "opb":return"opb";case "opl":return"opl";case "opr":return"opr";case "opd":return"opd";case "opdr":return"opdr";case "opm":return"opm";case "opmd":return"opmd";case Gk:return Gk;
case Fk:return Fk;case "opt":return"opt";case Hk:return Hk;case "opu":return"opu";case "opv":return"opv"}return null},VV=function(a,b){if(b.Tn)return"load_mindrive";var c=a.ta;if(XP(c))return"load_drive";switch(c){case hl:if(!a.getOption(dp))return"load_photos";break;case cl:case dl:case el:case fl:case Dp:case Bp:return"load_photos"}return uj};var WV=function(a,b,c){xS.call(this,a,c);this.Yd=(this.Sb=b)?a.ja.Gd(b):a.ja.lM();this.wt=y(this.Pla,this);this.Rk=[];this.Bp=[];this.C().o(a.Ma,"E",this.Pu);this.oW=!1;this.H_=!0;this.$o=this.$C=!1;this.Bs=null};B(WV,xS);r=WV.prototype;r.zH=function(a){this.H_=a};r.Gd=function(){return this.Yd};r.D=function(){WV.g.D.call(this);if(!this.oW){this.oW=!0;var a=this.Yd;a&&a.addListener(this.wt);this.H_&&this.Au()}};r.YH=function(a){var b=this.getContext().B.Cga;return wr(a,function(a){return!b.contains(a.rb)})};
r.$y=function(){this.getContext().ja.Jc(53)};r.Ifa=function(){this.$y();this.getContext().ja.Jc(51)};r.fs=dq;r.C9=dq;r.$g=function(a){!this.$o&&this.Yd&&(a&&(this.Yd.m7(),this.Yd.ZA()),this.Yd.Ng()||this.Au())};
r.Au=function(a){var b=this.Sb;if(b&&!this.$o){var c=this.Yd;!c.Ng()||c.tl()||c.yn()?(b.setStart&&(b=c.Ng()&&c.tl()?c.yg:"",parseInt(b,10)?this.Sb.setStart(parseInt(b,10)):this.Sb.setStart(0),this.Sb.Iw(b),this.Sb.xo&&(c=c.Ng()&&c.yn()?c.Hf:"",this.Sb.xo(c))),this.$o=!0,this.Na&&this.fs(!0),c=y(this.Xt,this,a),a=y(this.Mga,this,a),this.Vi("vdl"),(b=this.getContext().Lh)&&b.RC("lfdls"),this.getContext().ja.Rc(this.Sb,c,a,!0)):this.Xt(a)}};
r.Xt=function(a){this.oi("vdl");var b=this.getContext().Lh;b&&(b.RC("lfdle"),b.tN());if(this.Na){this.uk(a);if(this.ob)return;this.getContext().yb.f9()}else this.$C=!0;this.$o=!1;this.fs(!1)};r.Mga=function(a){this.$o=!1;this.fs(!1);this.Lga(a);!this.ob&&this.getContext().yb.f9()};r.Lga=function(a){this.Xt(a)};r.setActive=function(a,b){WV.g.setActive.call(this,a,b);if(this.Na){var c=this.Yd;c&&c.m7();c&&!c.Ng()?this.$g():this.$C?this.uk(!0):this.dispatchEvent(Xe);this.$o&&this.fs(!0)}else this.fs(!1)};
r.uk=function(a){this.$C=!1;var b=this.Bs;null!==b&&(jw(b),this.Bs=null);var b=this.YH(this.Yd.kc()),c=this.Rk,e=c.length,f=!a&&0<e&&e<=b.length&&Ar(b,function(a,b){return!!(b>=e||a.I()==c[b].I()||a.getAttribute("oid")==c[b].I())});this.Bp.length&&this.Eva();this.Rk=b;f?(a=b.slice(e),a.length?this.appendData(a):this.JZ()):(a||b.length)&&this.kN(b);b.length||(this.Yd.Ng()?f||!this.Yd.yn()&&!this.Yd.tl()?this.$y():this.JZ():this.Ifa());this.Bp=[];this.dispatchEvent("v");this.dispatchEvent(Xe)};
r.JZ=dq;r.Eva=function(){var a=this.Bp;Rr(a);D(a,function(a){zr(this.Rk,function(c){return c.I()==a})&&this.Gva(a)},this);this.Bp=[]};r.nq=function(){return new dv(xr(this.Rk,function(a){return a.I()}))};r.Pz=function(a){return sr(this.Rk,a)};
r.Pla=function(a,b,c){var e=xr(this.Rk,function(a){return a.I()});this.Bp=Mr(this.Bp,wr(c,function(a){return Fr(e,a)},this));this.Na?!b.length||a.length||c.length?null===this.Bs&&(this.Bs=M(y(this.uk,this,!1),0,this)):D(b,function(a){this.Ova(a);Lr(this.Rk,function(b){return b.I()==a})},this):this.$C=!0};r.Pu=function(a){D(a.Nd,this.C9,this)};r.Zza=function(a){this.Sb=a;this.$o=!1;this.Yd.removeListener(this.wt);this.Yd=this.getContext().ja.Gd(a);this.Yd.addListener(this.wt)};
r.A=function(){WV.g.A.call(this);var a=this.Yd;a&&a.removeListener(this.wt);this.Sb=this.Yd=null;delete this.wt;delete this.Rk;null!==this.Bs&&jw(this.Bs)};var XV=function(){this.Bm=void 0};B(XV,yB);eq(XV);XV.prototype.V=function(){return"picker-dataview"};XV.prototype.j=function(a){a=a.v();return a.j(m,this.V()+ta,a.j(jo))};XV.prototype.M=function(a){return a.firstChild};XV.prototype.Fd=function(){return pj};var YV=function(a,b,c){KB.call(this,a,b||XV.K(),c);this.wO(!0);this.Se(!1);this.Oza(!1);this.mf=-1;this.gK=null};B(YV,KB);r=YV.prototype;r.hka=function(){if(0<=this.pf(this.gK)){var a=this.gK.b();if(Dy(a,this.b()).x==this.f_)return this.m3}(a=this.za(this.mf))&&this.G6(a);return this.m3};r.G6=function(a){this.gK=a;a=a.b();this.f_=Dy(a,this.b()).x;this.m3=this.f_+a.offsetWidth/2};
r.Xe=function(a,b,c){YV.g.Xe.call(this,a,b,c);if(a instanceof zV&&(a.FM(this.pf(a)),b<this.ub()-1))for(c=b+1;c<this.ub();c++){var e=this.za(c);e instanceof zV&&e.FM(c)}a.vb(32)&&(a=a.$b(),-1==this.mf?(this.mf=b,a.tabIndex=0):(b<=this.mf&&this.mf++,a.tabIndex=-1))};
r.removeChild=function(a,b){var c=x(a)?this.dl(a):a;if(c){var e=this.pf(c);if(c instanceof zV&&e<this.ub()-1)for(c=e+1;c<this.ub();c++){var f=this.za(c);f instanceof zV&&f.FM(c-1)}e==this.mf?((c=this.qq(e,!0))||(c=this.qq(e,!1)),c?(this.Ll(c,!1),0<c&&this.mf--):this.mf=-1):e<this.mf&&this.mf--}return YV.g.removeChild.call(this,a,b)};r.D=function(){YV.g.D.call(this);this.C().o(this,"I",this.ana)};
r.ana=function(a){var b=a.target;switch(a.Tj){case 0:a=this.pf(b);var c=this.mf;a==c&&b.eB()||this.Ll(a-c,!0);break;case 38:this.$c==zp?this.Ll(-1,!1):(b=this.dja(b))&&this.Ll(b,!1);break;case 40:this.$c==zp?this.Ll(1,!1):(b=this.eja(b))&&this.Ll(b,!1);break;case 37:this.$c==fi&&this.Ll(this.qq(b,XQ().Me()),!0);break;case 39:this.$c==fi&&this.Ll(this.qq(b,!XQ().Me()),!0)}};
r.qq=function(a,b){for(var c=typeof a==pk?a:this.pf(a),e=b?this.ub():-1,f=b?1:-1,g=c+f;g!=e;g+=f){var h=this.za(g);if(h.isEnabled()&&h.vb(32))return g-c}return 0};r.dja=function(a){a=this.pf(a);if(-1==a)return 0;var b=this.KX(a);if(0!=b){var c=this.qq(b,!1);if(c)return c=b+c,b=this.KX(c),this.RW(b,c)-a}return 0};r.eja=function(a){a=this.pf(a);if(-1==a)return 0;var b=this.WX(a);if(b!=this.ub()-1){var c=this.qq(b,!0);if(c)return c=b+c,b=this.WX(c),this.RW(c,b)-a}return 0};
r.KX=function(a){var b=this.za(a).b(),b=Cy(b).y;for(--a;0<=a;a--){var c=this.za(a);if(c.isEnabled()&&(c=c.b(),Cy(c).y+c.offsetHeight<=b))return a+1}return 0};r.WX=function(a){var b=this.ub(),c=this.za(a).b(),c=Cy(c).y+c.offsetHeight;for(a+=1;a<b;a++){var e=this.za(a);if(e.isEnabled()&&(e=e.b(),Cy(e).y>=c))return a-1}return b-1};
r.RW=function(a,b){for(var c=Cy(this.b()),e=Number.MAX_VALUE,f=a,g=this.hka(),h=a;h<=b;h++){var k=this.za(h);if(k.isEnabled())if(k=k.b(),k=Cy(k).x-c.x+k.offsetWidth/2,k=Math.abs(g-k),k<e)e=k,f=h;else if(k>e)break}return f};r.Ll=function(a,b){try{if(!rx(this.b(),Fx(this.v().N())))return}catch(g){return}var c=this.mf;if(0<=c){var e=c+a,f=this.za(e);if(f){this.mf=e;c=this.za(c);c=c.O.$b(c);zx(c,!1);c=f.O.$b(f);zx(c,!0);try{c.focus(),b&&this.G6(f)}catch(g){}}}};
r.jk=function(){var a=this.za(this.mf);if(a){a=a.O.$b(a);try{return a.focus(),!0}catch(b){}}return!1};var ZV=function(a,b){U.call(this,b);this.T=a};B(ZV,U);ZV.prototype.getContext=function(){return this.T};ZV.prototype.j=function(){var a=this.v(),b,c=a.j(yo,null,a.j(Ao,null,a.j("tr",null,a.j(Bo,null,this.ru()),a.j(Bo,null,b=a.j(jo,Cl))))),e=this.getMessage();qx(e)?b.appendChild(e):a.appendChild(b,a.Th(gy(e)));a=a.j(yo,"picker-promo-table",a.j(Ao,null,a.j("tr",null,a.j(Bo,{align:We},c))));this.Sa(a)};ZV.prototype.setActive=function(){var a=this.b();Q(a,!0);a=Qw("a",void 0,a);if(a=0<a.length?a[0]:null)try{a.focus()}catch(b){}};var $V=function(a,b){ZV.call(this,a,b)};B($V,ZV);$V.prototype.getMessage=function(){var a=this.v(),b=this.getContext().B.k0();return a.j(m,void 0,a.j(m,"picker-promo-title",b?"Share photos from Google Drive on Google+":"Goodbye attachments. Hello Google Drive."),a.j(m,Cl,b?"Google Drive is the single place to keep all your files so you can access them from anywhere, any device.  Once you have photos in Google Drive, you can instantly share them with your circles here.":"With Google Drive, you never have to send another email attachment again.  Just share a link to any file you store in Google Drive.  That way everyone has access to the same file, same version - automatically."))};
$V.prototype.ru=function(){return this.v().j(ui,{"class":"picker-promo-logo",width:"64",height:"64",src:"//ssl.gstatic.com/docs/picker/images/db07825265y.png"})};var aW=function(a,b){var c=a.getOption(Sj),e=b.B.ZV,f=!1;b.ie.pa(function(a){f=!a.X9.bia("dl")});return c==Wh||null==c&&!e&&(a.va(kg)||a.va(lg))||null==c&&e&&f},bW=function(a){if(null==a)return null;var b=a.Bd;return"drive.google.com"==b||"docs.google.com"==b?(b=a.getPath(),"/open"==b&&a.cb("id")?a.cb("id"):(a=b.match(/\/file\/d\/([\w|\d]+)\/(edit|preview|view)/))?a[1]:null):null},cW=function(a){var b=DU(a).getName();switch(a){case Ud:b="All file types"}return b},dW=function(a,b,c){b=b||a.ta;var e=
new lU(b,a.ee(),ks(a.getOptions()));c&&e.setQuery(null);var f=e;for(a=a.Pc;a;){var g=new lU(b,a.ee(),ks(a.getOptions()));c&&g.setQuery(null);f.hh(g);f=g;a=a.Pc}return e},eW=function(a){switch(a){case 10:return"Last modified by me";case 3:return"Last modified";case 2:return"Last opened by me";case 8:return"Name";case 15:return"Recent";case 5:return"Relevance";case 9:return"Share date"}return""},fW=function(a){a=a.Nh;return a==fe?"Folder":Fr(qU,a)?"Image":Fr(yU,a)?"Video":Fr(xU,a)?"Document":Fr(sU,
a)?"Presentation":Fr(vU,a)?"Spreadsheet":Fr(oU,a)?"Drawing":Fr(rU,a)?"PDF":Fr(pU,a)?"Form":Fr(wU,a)?"Table":Fr(uU,a)?$c:Fr(tU,a)?"Script":""},gW=function(a){if(a.getOption(fo))return a.getOption(fo);if(a.getQuery())return 5;if(a.OK())return 9;switch(a.ta){case Ud:case og:case vg:case gh:case kh:case $k:case bm:case rn:case lo:case zo:return 3;case kg:case lg:case mg:return 8;default:return 3}};new eA("EEEE, "+$B.wR+", HH:mm a");new eA("EEEE, "+$B.wR+", HH:mm a "+$B.MR);new eA(2);var hW=new eA(3);new eA(1);var iW=new eA(7),jW=new eA($B.daa),kW=function(a){var b;a?(b=new aA,b.setTime(a)):b=null;if(432E5>z()-a)b=b?iW.format(b,void 0):"";else{a=b;var c=new Date(z());b=a.getFullYear()==c.getFullYear()?b?jW.format(b,void 0):"":b?hW.format(b,void 0):""}return b};var lW=function(a){EV.call(this,"picker-list-control");this.YB=a};B(lW,EV);
lW.prototype.j=function(a){var b=a.N(),c=a.v(),e=c.j("tr",sl);FA(e,"picker-list-control-unselectable",!a.vb(16)&&!a.vb(64));zx(e,!0);var f=c.j(Bo,"picker-list-control-checkbox-cell picker-list-control-cell");if(a.vb(16)){var g=new hF(void 0,c);g.Db(32,!1);g.Z(f);a.kya(g);zx(g.b(),!1);T(e,"picker-list-control-tablerow-with-checkbox")}a=c.j(Bo,"picker-list-control-icon-cell picker-list-control-cell");(g=b.TI())?(g=c.j(ui,{"class":"picker-list-control-icon-img",src:g}),a.appendChild(c.j(jo,"picker-list-control-icon",
g))):a.appendChild(c.createTextNode("\u00a0"));yA(a,fW(b));g=c.j(Bo,"picker-list-control-name-cell picker-list-control-cell");Mw(g,Gu(this.pX().e8(vu(b.getName()||"")),"\u00a0"));var h=c.j(Bo,"picker-list-control-lastedited-cell picker-list-control-cell");(b=b.Og)?c.jg(h,kW(b)):c.jg(h,"\u2013");c.append(e,f,a,g,h);return e};lW.prototype.setState=function(a,b,c){lW.g.setState.call(this,a,b,c);if(16==b){var e=a.Xd;e&&M(function(){e.Ud(c)})}};
lW.prototype.bi=function(a){var b=a.b(),c=a.N();a=a.v();if(c.getName()){var e=a.Lc("picker-list-control-name-cell",b);a.Lc(sl);e&&Mw(e,Gu(this.pX().e8(vu(c.getName()||"")),"\u00a0"))}var e=a.Lc("picker-list-control-lastedited-cell",b),f=c.Og;f?a.jg(e,kW(f)):e&&a.jg(e,"\u2013");(b=a.Lc("picker-list-control-icon-cell",b))&&yA(b,fW(c))};var mW=function(a,b,c,e){CV.call(this,a,b,c,e);this.Xd=null};B(mW,CV);mW.prototype.Uf=function(a){!this.vb(64)||!this.isEnabled()||this.Xd&&a.target.className==Qi?mW.g.Uf.call(this,a):(this.Ob(!0),this.Ob(!1))};mW.prototype.kya=function(a){this.Xd=a};mW.prototype.jq=function(){return this.Xd&&this.Xd.b()};mW.prototype.bi=function(a){mW.g.bi.call(this,a);this.O.bi(this)};var nW=function(){J.call(this);this.sa=lk};B(nW,J);nW.prototype.setState=function(a){this.sa!=a&&(this.sa=a,this.dispatchEvent(Xe))};nW.prototype.getState=function(){return this.sa};var oW=function(a,b){U.call(this,b);this.ky="#fff";this.nb=0;this.rs=a};B(oW,U);var pW={ULa:0,yaa:1,oGa:2,X$:3};r=oW.prototype;r.Cb=function(a){C(!this.b(),"Cannot setSize after activity indicator is rendered.");this.nb=a};r.j=function(){oW.g.j.call(this);var a=this.v();this.Im=a.j(d);this.l_=a.j(d,"jfk-activityIndicator-icon");var b=["jfk-activityIndicator"];1==this.nb&&b.push("jfk-activityIndicator-small");this.Sa(a.j(d,b,this.Im,this.l_))};r.M=function(){return this.Im};
r.D=function(){oW.g.D.call(this);this.C().o(this.rs,Xe,this.M4)};r.M4=function(){if(!this.xB||this.xB.complete){this.wf(!0);var a=this.zea();this.Kua(a);F(this.xB);this.xB=a;this.A6()}};r.Kua=function(a){this.la(a,!0);this.C().Zf(a,"O",this.GA);M(sq(this.xda,a),0,this)};r.xda=function(a){this.Y&&(a.play(),M(function(){!this.ob&&this.Y&&this.oCa&&!this.complete&&this.GA()},500,a))};r.GA=function(a){a=a.target;var b=this.rs.getState();b==a.state&&"loading"!=b||this.M4();this.A6()};
r.A6=function(){this.l_.style.opacity="offline"==this.rs.getState()?1:0};r.zea=function(){var a=this.ky,b=this.ky,c=2,e=this.xB;e&&(a=e.lW,b=e.mW,c=e.direction,C(Fr(bs(pW),c)),c=(c+1)%4,C(Fr(bs(pW),c)));var e=this.rs.getState(),f,g;switch(e){case "loading":g=qW[c];f=g[0];g=g[1];break;case lk:g=f=this.ky;break;case "offline":f="#999";g="#777";break;default:jr(an)}C(f);C(g);return new rW(e,c,f,a,a,b,f,g,this.nb,this.v())};
var qW={0:["#00B15F","#008948"],1:["#3C78F8","#2159bd"],2:["#FA2424","#9e1212"],3:["#FFD34B","#dea11a"]},rW=function(a,b,c,e,f,g,h,k,n,q){U.call(this,q);this.state=a;this.complete=!1;this.direction=b;this.fCa=c;this.rga=e;this.gCa=f;this.lCa=g;this.lW=h;this.mW=k;this.zy=1==n?16:19};B(rW,U);r=rW.prototype;
r.j=function(){rW.g.j.call(this);var a=this.b(),b=this.v();T(a,"jfk-activityIndicator-circle-transition");var c=b.j(d,Li),e=b.j(d,Li);C(a);b.append(a,c,e);a=b.j(d,Ki);b.appendChild(c,a);P(a,De,this.fCa);var f=b.j(d,Ki);b.appendChild(e,f);P(f,De,this.rga);var g=b.j(d,Ki),h=b.j(d,Ki);b.appendChild(c,g);b.appendChild(e,h);P(g,De,this.gCa);P(h,De,this.mW);this.zj=g;this.Oi=h;this.xz=a;this.ON=f;this.du=c;this.vw=e;this.CAa(this.direction);T(g,"jfk-activityIndicator-transition");T(h,"jfk-activityIndicator-transition-second")};
r.CAa=function(a){var b=this.zy+p,c=Math.ceil(this.zy/2)+p,e="-"+c;switch(a){case 1:P(this.du,{left:0,top:0});P(this.vw,{left:c,top:0});P(this.zj,{left:0,top:0});P(this.Oi,{width:0,left:0});P(this.xz,{left:0,top:0});P(this.ON,{left:e});break;case 3:P(this.du,{left:c,top:0});P(this.vw,{left:0,top:0});P(this.zj,{left:e,top:0});P(this.Oi,{width:0,left:c});P(this.xz,{left:e,top:0});break;case 0:P(this.du,{left:0,top:c});P(this.vw,{left:0,top:0});P(this.zj,{left:0,top:e});P(this.Oi,{top:c,height:0});P(this.xz,
{left:0,top:e});break;case 2:P(this.du,{left:0,top:0});P(this.vw,{left:0,top:c});P(this.zj,{left:0,top:0});P(this.Oi,{left:0,height:0});P(this.xz,{left:0,top:0});P(this.ON,{top:e});break;default:jr(an)}a=this.direction;b=0==a||2==a?{width:b,height:c}:{width:c,height:b};P(this.du,b);P(this.vw,b)};
r.Jya=function(a){var b=this.zy+p,c=Math.ceil(this.zy/2)+p,e="-"+c;switch(a){case 1:P(this.zj,{width:0,left:c});P(this.Oi,{left:e,width:b});break;case 3:P(this.zj,{width:0,left:0});P(this.Oi,{width:b,left:0});break;case 0:P(this.zj,{top:0,height:0});P(this.Oi,{top:0,height:b});break;case 2:P(this.zj,{top:c,height:0});P(this.Oi,{top:e,height:b});break;default:jr(an)}};
r.play=function(){C(this.Y,"Must be in document at this point.");Es&&Iy(this.b());this.oCa=!0;P(this.zj,De,this.lCa);P(this.Oi,De,this.lW);this.Jya(this.direction);this.ura(this.Oi,["webkitTransitionEnd","transitionend"],this.GA)};r.ura=function(a,b,c){var e=!1,f=this;this.C().Zf(a,b,function(){e||(e=!0,c.call(f))})};r.GA=function(){this.complete=!0;this.dispatchEvent("O");Q(this.ON,!1)};var sW=function(a){U.call(this,a);this.Tx=new nW;this.ha(this.Tx);this.uR=new oW(this.Tx,a);this.ha(this.uR)};B(sW,U);sW.prototype.j=function(){sW.g.j.call(this);var a=this.FB=this.v().j(m,"picker-loadingstatusbox");this.Tx.setState(lk);this.uR.Z(a);this.b().appendChild(this.FB);Q(this.FB,!1);yA(this.FB,"Loading data");rA(this.b(),ro);S(this.b(),tj,Xl)};sW.prototype.F=function(a){this.Tx.setState(a?"loading":lk);Q(this.FB,a)};var tW=function(a,b,c,e,f){U.call(this,f);this.L=a;this.T=b;this.Kb=c;this.eqa=!!e;this.Qm=null};B(tW,U);
tW.prototype.j=function(){tW.g.j.call(this);var a=this.b();a.id=NA.K().Jd();var b=this.v();T(a,"picker-doctype-chip");var c=cW(this.L.ta);b.appendChild(a,b.j(m,"picker-doctype-chip-label",c));yA(a,"Filter by "+(c+" on"));this.eqa&&(this.Qm=new EB(b.j(m,"picker-spr-close-box-tiny-black")),this.Qm.zk("picker-doctype-chip-dismiss"),this.la(this.Qm,!0),rA(this.Qm.b(),Qe),a="Remove filter: "+c,yA(this.Qm.b(),a))};tW.prototype.D=function(){tW.g.D.call(this);this.Qm&&this.C().o(this.Qm,l,this.Ula)};
tW.prototype.Ula=function(){var a=dW(this.L,Ud);a.setQuery(this.Kb.value);a.ab(ig,!0);this.T.aa.dc(a)};var uW=function(a,b,c){UB.call(this,c);this.T=a;this.Kb=b};B(uW,UB);uW.prototype.j=function(){uW.g.j.call(this);var a=new OB("File type");this.la(a,!0);a.Db(2,!1);a.Db(4,!1);T(a.b(),"picker-dropdown-menuitem-header");a.b().removeAttribute(vm);D(this.T.B.Ym?[Ud,gh,og,lo,bm,$k,kg,mg]:[Ud,gh,vg,kg,$k,bm,lo,kh,og,mg,zo],function(a){this.Bba(a)},this);this.b7(!0);T(this.b(),pl);T(this.b(),"picker-doctypes-dropdown-menu")};uW.prototype.D=function(){uW.g.D.call(this);this.C().o(this,l,this.Mu)};
uW.prototype.Mu=function(a){a=dW(this.T.aa.gc,a.target.ca);a.setQuery(this.Kb.value);a.ab(ig,!0);this.T.aa.dc(a)};uW.prototype.Bba=function(a){var b=cW(a);a=new OB(b,a);this.la(a,!0)};var vW=function(a,b){U.call(this,b);this.L=a};B(vW,U);vW.prototype.qja=function(){if(this.L.Aa()==qh)return"Results shown are available for personal or commercial use only in Google Drive, and may not be independently redistributed or sold.";switch(this.L.getOption(nj)){case "r":return"Results shown are labeled for reuse.";case "cr":return"Results shown are labeled commercial for reuse.";case "rwm":return"Results shown are labeled for reuse with modification.";case "crwm":return"Results shown are labeled for commercial reuse with modification."}return null};
vW.prototype.j=function(){vW.g.j.call(this);var a=this.v(),b=NA.K().Jd(),c=this.L.getOption("learnmoreurl")||"https://support.google.com/drive/?p=docs_image_search&hl="+XQ().Ne;this.Sa(a.j(m,"picker-licensebar",a.j(gj,{id:b},a.createTextNode(this.qja()+" ")),a=a.j("a",{target:Gd,href:c},xc)));S(a,hj,b)};var wW=function(a,b,c){wS.call(this,b,c);this.oxa=a;this.m9=this.zQ=null;this.Pq=""};B(wW,wS);var xW=["red","orange","yellow","green","teal","blue","purple","pink",Qp,"gray",He,"brown"];wW.prototype.j=function(){var a=this.v().j(m,"picker-searchbarimagefilter");this.Gba(a);this.Fba(a);this.Sa(a)};
wS.prototype.Gba=function(a){var b=this.v(),c=this.zQ=new TB(b),e=function(a,e){c.la(new OB(e,a,b),!0)};e("","Any type");e("face","Face");e(bl,"Photo");e("clipart","Clip art");e("lineart","Line drawing");e=b.j(m,"picker-menu-container");b.appendChild(b.N().body,e);c.Z(e);e=this.m9=new wC("Any type",c,$E.K());e.a6(!0);e.Z(a);a=e.b();b.setProperties(a,{title:"Image filter"});T(a,"picker-searchbarimagefilter-type-button")};
wS.prototype.Fba=function(a){var b=this.v(),c=function(a,c){var e=b.j(m,"picker-searchbarimagefilter-colorbox goog-inline-block",b.j(m,a));rA(e,Qe);S(e,gj,c);S(e,Km,!1);return e},e=function(a,b){return c({"class":"picker-searchbarimagefilter-colorbox-inner "+b,title:a},a)};a.appendChild(e("Full color","picker-spr-imagefilter-all-colors"));a.appendChild(e("Monochrome","picker-spr-imagefilter-monochrome"));e=function(a,b){return c({"class":Fl,title:a,style:"background-color: "+b},a)};a.appendChild(e("Red",
"#c00"));a.appendChild(e("Orange","#fb940b"));a.appendChild(e("Yellow","yellow"));a.appendChild(e("Green","#0c0"));a.appendChild(e("Teal","#03c0c6"));a.appendChild(e("Blue","blue"));a.appendChild(e("Purple","#762ca7"));a.appendChild(e("Pink","#ff98bf"));a.appendChild(e("White",Qp));a.appendChild(e("Gray","#999"));a.appendChild(e("Black",He));a.appendChild(e("Brown","#885418"))};r=wW.prototype;
r.iba=function(a){var b=this.b().childNodes,c=this.bja(a.getOption(wi));this.DO(c.ca);this.m9.mb(c.si());var c=1,e=a.getOption(vi);"mono"==a.getOption("imgc")?c=2:e&&(c=sr(xW,e)+3);for(a=1;a<b.length;a++){var e=a==c,f=b[a];S(f,Km,e);this.QO(f,e);zx(f,e)}};r.DO=function(a){this.Pq=a};r.bja=function(a){for(var b=this.zQ,c,e=b.ub();0<e&&(c=b.za(--e),c.ca!=a););return c};
r.D=function(){wS.g.D.call(this);var a=this.C(),b=this.b();a.o(this.zQ,l,this.Sta);a.o(b,Xj,this.Cta);a.o(b,Wj,this.EM);a.o(b,Yj,this.Bta);a.o(b,ej,this.wta);a.o(b,dj,this.vta)};r.Sta=function(a){var b=this.Pq;a=a.target.ca;this.DO(a);b!=a&&this.gw()};r.Cta=function(a){this.rC(a,!0)};r.EM=function(a){this.rC(a,!1)};r.rC=function(a,b){var c=this.Mz(a);!c||a.relatedTarget&&rx(c,a.relatedTarget)||uA(c,Km)==Wo||this.QO(c,b)};r.Bta=function(a){(a=this.Mz(a))&&this.q2(a)};
r.q2=function(a){for(var b=this.b().childNodes,c=!1,e=1;e<b.length;e++){var f=b[e],g=f==a,h=uA(f,Km)==Wo;g!=h&&(S(f,Km,g),this.QO(f,g),zx(f,g),c=!0)}c&&this.gw()};r.Mz=function(a){return BA(a.target,Fl)?a.target.parentNode:BA(a.target,El)?a.target:null};r.wta=function(a){var b=this.Mz(a);return b?13==a.keyCode||32==a.keyCode?(this.q2(b),a.cancelBubble=!0,a.returnValue=!1):!0:!0};
r.vta=function(a){var b=a.keyCode;if(37==b||39==b){var c=this.Mz(a);if(c){var b=37==b,e=XQ().Me();(b=b^e?c.previousSibling:c.nextSibling)&&BA(b,El)&&(zx(b,!0),b.focus(),zx(c,!1));a.preventDefault();a.stopPropagation()}}};r.QO=function(a,b){a.style.opacity=b?1:.5;a.style.filter=b?"alpha(opacity=100)":"alpha(opacity=50)"};
r.gw=function(){var a=this.b().childNodes,b=null,c=null;if(uA(a[1],Km)!=Wo)if(uA(a[2],Km)==Wo)b="mono";else for(var e=3;e<a.length;e++)if(uA(a[e],Km)==Wo){c=xW[e-3];break}this.oxa(this.Pq,b,c)};var yW=function(a,b,c){U.call(this,c);this.T=a;this.L=b;this.c5=new LC;this.la(this.c5);this.PA=!b.getQuery()||!b.va(ri)||b.Aa()&&"gis"!=b.Aa()?null:new wW(y(this.l4,this),a,c);this.H=Fv("picker.ui.SearchBar");this.Xj=this.pm=this.gv=this.UL=this.NL=this.N_=this.Kb=this.HF=this.zC=null;this.ST=!0;this.Um=this.Bg=this.It=null};B(yW,U);r=yW.prototype;r.E0=function(){return this.L.va(Le)||this.L.va(ri)||this.L.va(Cp)||this.L.va(Np)};
r.D0=function(){var a=this.L;return!!a.getOption(ig)||!a.getOption(Qj)&&a.va(Ud)};r.mBa=function(){return XP(this.L.ta)&&this.L.ta!=Ud};
r.wea=function(a){this.v();var b=this.L,c=b.getOption(pn),e=b.getOption("comboTypes");e&&x(e)&&(e=e.split(","));c=this.$X(b.Aa(),c);if(!b.va(ri)||!e||2>e.length)return c;T(a,"picker-searchbar-combobox");this.Xj=new wC(c,null,$E.K());this.Xj.J6(!0);D(e,function(a){var c=new OB(this.$X(a));c.zk("picker-searchbar-menuitem");this.Xj.zc(c);this.C().o(c,l,function(){var c=b.clone();c.ab(Xo,a);this.T.Ma.Jk();this.T.aa.dc(c)})},this);this.Xj.zk("picker-searchbar-combobox-dropdown");this.Xj.j();return this.Xj.b()};
r.$X=function(a,b){var c,e=this.v();switch(a){case qh:c=e.j(jo,"picker-searchbar-stock-photos");yA(c,"Stock images");tx(c,"Stock");break;case "life":c=e.j(jo,"picker-spr-life-photo-archive");yA(c,"Life images");break;default:c=e.j(ui,{src:"https://www.gstatic.com/images/branding/googlelogo/2x/googlelogo_color_52x20dp.png","class":"picker-googlelogo-small"}),yA(c,"Google search images")}b&&-1!=b.indexOf(Yp)&&(c=e.j(jo,"picker-spr-youtube"));T(c,zh);T(c,"picker-searchbar-input-item");return c};
r.p7=function(a){this.HF=iT.K().Rf("opd").bk.QMa(this.T,y(this.Ega,this),this.L,XQ().Me(),this.zC,a);this.HF.PS(this.Kb)};r.Vza=function(a){this.zC=a};r.oya=function(a){this.ST=a};var zW=function(a){S(a,Ce,oj);S(a,Zh,!0)};r=yW.prototype;
r.j=function(){var a=this.v(),b=a.j(m,"picker-searchbar"+(this.E0()?" picker-searchbar-logo":""));this.Sa(b);var c=this.L,e=c.getQuery(),e=this.Kb=a.j(Ci,{type:Eo,"class":"picker-searchbar-input-box jfk-textinput",value:e?e:""});S(e,gj,"Search terms");var f=new HE(KE(Fa),a);f.j();f.RD(!0);f.ed("Search");this.pm=f;var g=null;if(this.E0()){var h=this.wea(b),g=a.j(m,Dl,h,e,f.b());this.NL=h}else this.D0()?(FA(e,"picker-searchbar-dropdownmenu-padding",!0),g=a.j(m,Dl,e),this.Bg=JE(a.j(m,Hl),a),this.Bg.Z(g),
FA(this.Bg.b(),"picker-flat-menu-button",!0),BD(this.Bg.b(),"Advanced Search options"),S(this.Bg.b(),Zh,!0),this.It=new uW(this.T,e),this.la(this.It,!1),this.It.Wd(this.Bg.b(),13,12),this.It.Z(this.T.B.uq()),g.appendChild(f.b())):g=a.j(m,"picker-searchbar-input",e,f.b());b.appendChild(g);this.N_=g;this.mBa()&&(this.Um=new tW(this.L,this.T,e,this.D0(),a),this.la(this.Um,!1),this.Um.j(),f=this.Um.b(),ix(f,e),S(e,cg,f.id));switch(c.ta){case Ud:case og:case vg:case gh:case kh:case $k:case bm:case lo:e.setAttribute(Ce,
"off");zW(e);iT.K().bq("opd",y(this.p7,this,!1));break;case ri:var k=!1;this.T.ie.pa(function(a){k=a.jga});k&&null!=c.getOption(Mf)&&(e.setAttribute(Ce,"off"),zW(e),iT.K().bq("opd",y(this.p7,this,k)))}(f=this.PA)&&f.Z(b);c.getOption(nj)&&(new vW(c,a)).Z(b);this.c5.U(e)};
r.D=function(){yW.g.D.call(this);this.pm.D();this.Xj&&this.Xj.D();var a=this.C();a.o(this.v().xb(),tm,this.vn).o(this.pm,l,this.C8).o(this.Kb,ej,this.Ku).o(this.Kb,ch,y(function(){this.dispatchEvent("P")},this)).o(this.Kb,Ke,y(function(){this.dispatchEvent("Q")},this));this.Bg&&a.o(this.Bg,l,this.ama);this.gv=this.Xja(this.Kb);this.UL=this.BI(this.Kb).width;this.vn();var b=new KC(this.Kb);this.ha(b);a.o(b,Ci,this.Jna)};
r.vn=function(){if(!(0>this.BI(this.Kb).width)){var a=this.cia(this.Kb),a=a.left+a.right,b=this.gv.left+this.gv.right,c=this.Aja()-b-a;c>this.UL&&(c=this.UL);var e=null;this.Um&&(e=this.Jz(this.Um.b()).width,c-=e,b+=e);0>c&&(c=0);Fy(this.Kb,c);if(this.Um){var f=XQ().Me();P(this.Kb,f?"padding-right":"padding-left",e+(f?this.gv.right:this.gv.left)+p)}this.Bg&&(a=c+b+a-this.Jz(this.Bg.b()).width,ry(this.Bg.b(),a))}};
r.Aja=function(){var a=this.BI(this.N_).width-100-100-this.Jz(this.pm.b()).width;this.NL&&(a-=this.Jz(this.NL).width);return a};r.ama=function(){this.It.x7(this.Bg.b(),13,12)};r.wq=function(){return Fq(this.Kb.value)};r.bc=function(){return!this.Kb.value};r.Jna=function(){var a=this.wq(),b=this.pm,c=b.mx;a&&2!=c?b.as(2):a||0==c||(b.as(0),b.mb(KE(Fa)));this.dispatchEvent(new AW(a))};r.Ku=function(a){if(13==a.keyCode)return this.L.H8()||this.C8(),a.preventDefault(),a.stopPropagation(),!1};
r.C8=function(){var a=this.wq();a!=(this.L.getQuery()||"")&&(this.Kb.value="",a?(this.pm.as(0),this.pm.mb(KE(Fa)),this.gw(a)):this.l4(null,null,null))};r.Ega=function(){this.gw(this.wq())};r.gw=function(a){var b=this.L.clone();b.setQuery(a);b.et(fo);this.ST&&this.T.Ma.Jk();this.T.aa.dc(b)};r.l4=function(a,b,c){var e=this.L.clone();e.setQuery(this.wq());e.et(fo);var f=e.tq();f&&f.HK()&&e.ab(fo,15);e.ab(wi,a);e.ab("imgc",b);e.ab(vi,c);this.T.Ma.Jk();this.T.aa.dc(e)};
r.setActive=function(a){a&&this.wq()!=this.L.getQuery()&&(this.Kb.value=this.L.getQuery()||"",this.dispatchEvent(new AW(this.wq())))};r.HM=function(a){a&&this.PA&&this.PA.iba(this.L)};r.focus=function(){try{return this.Kb.focus(),!0}catch(a){return Hv(this.H,Mb),!1}};r.A=function(){F(this.L);F(this.HF);F(this.Kb);F(this.pm);F(this.PA);F(this.Xj);yW.g.A.call(this)};var AW=function(a){G.call(this,"R");this.iv=a};B(AW,G);r=yW.prototype;
r.Jz=function(a){a=Qy(a);a.width||(a.width=0);a.height||(a.height=0);return a};r.BI=function(a){a=Ty(a);a.width||(a.width=0);a.height||(a.height=0);return a};r.Xja=function(a){return this.cY(Sy(a))};r.cia=function(a){return this.cY(yy(a))};r.cY=function(a){a.top=a.top||0;a.bottom=a.bottom||0;a.right=a.right||0;a.left=a.left||0;return a};var BW=function(a,b){if(v(b)){switch(b){case 3:return"Too many items selected. Please deselect one or more.";case 5:return"Maximum file size exceeded. Please deselect one or more.";case 4:return"Maximum file size exceeded.";case 1:return tc;case 7:return tc;case 2:return a.yi().Xl(XU);case 6:return"The owner of one or more of these files has disabled downloading."}return"An error occurred. Please try again."}return""},CW=function(a){var b=a.B,c=b.G1,e=b.ssa,b=b.H1,f=[];a=a.Ma;var g=a.EY();b&&a.FY()>
b&&f.push(5);c&&g>c&&f.push(3);e&&g<e&&f.push(2);return f};var DW=function(a,b,c,e){TB.call(this,e);this.T=a;this.L=b;this.cCa=gW(b);this.p0=c;this.pE=null};B(DW,TB);r=DW.prototype;r.j=function(){DW.g.j.call(this);var a;a=this.L;a=a.getQuery()?[3,5]:a.OK()?[3,10,2,8,9]:[3,10,2,8];for(var b=0;b<a.length;b++)this.Mba(eW(a[b]),a[b]);T(this.b(),pl);T(this.b(),"picker-sort-dropdown-menu")};r.D=function(){DW.g.D.call(this);this.C().o(this,l,this.Mu)};r.cEa=function(a){this.p0=a;this.pE&&(this.pE.F(!a),this.pE.X(!a))};
r.Mu=function(a){var b=this.L.clone();b.ab(fo,a.target.ca);this.T.aa.dc(b)};r.Mba=function(a,b){var c=new OB(a,b);b==this.cCa&&(c.Ww(!0),c.ig(!0));this.la(c,!0);8==b&&(this.pE=c,this.cEa(this.p0))};var EW=function(a){this.Bm=void 0;this.XZ=a};B(EW,yB);EW.prototype.j=function(a){return a.v().j(m,this.be(a))};EW.prototype.Od=function(a){EW.g.Od.call(this,a);a=a.yI();if(!this.XZ){a[0].fh(2);for(var b=1;b<a.length-1;++b)a[b].fh(3);a[a.length-1].fh(1)}};EW.prototype.SDa=function(a){a=a.yI();if(this.XZ){for(var b,c=0;c<a.length;c++){var e=a[c];e.F(!e.ge());e.ge()||(b=e)}b.yo(!0)}};EW.prototype.V=function(){return"picker-segmentedbuttonbar"};var FW=function(a,b,c,e){C(1<=a.length,"The button bar should have at least 1 button");KB.call(this,fi,e||new EW,c);this.Se(!1);this.wO(!0);this.S=new xC;D(a,this.oba,this);b?this.P6(b):(a=this.S.Sia(),C(a,"First button cannot be null"),this.kk(a))};B(FW,KB);r=FW.prototype;r.D=function(){FW.g.D.call(this);this.C().o(this.S,Hm,y(this.dispatchEvent,this,Xe))};r.oba=function(a){a.Db(8,!0);this.S.zc(a);this.C().o(a,l,this.Aq);this.la(a,!0)};r.kk=function(a){this.S.Ga()!=a&&(this.S.Gb(a),this.O.SDa(this))};
r.nA=function(){return this.S.Ga()};r.tY=function(){return this.nA().getValue()};r.P6=function(a){var b=Dr(this.yI(),function(b){return a==b.getValue()},this);b&&this.kk(b)};r.yI=function(){return this.S.Gj()};r.Aq=function(a){this.kk(a.target)};var GW=function(a,b,c){wS.call(this,a,c);this.L=b;this.gg=new yW(a,b,c);this.ha(this.gg);this.fz=this.Mt=this.Mh=null};B(GW,wS);r=GW.prototype;
r.j=function(){var a=this.v().j(m,"picker-toolbar");this.Sa(a);this.gg.Vza(a);this.la(this.gg,!0);this.oBa()&&(a=aW(this.L,this.getContext())?Wh:oj,this.Mh=new FW([this.yG("List view",oj,"picker-spr-list-view"),this.yG("Grid view",Wh,"picker-spr-grid-view")],a,this.v(),new EW(!0)),this.ha(this.Mh),this.la(this.Mh,!0),T(this.Mh.b(),"picker-drive-view-switcher"));this.nBa()&&(this.vba(),this.Mh&&T(this.Mh.b(),"picker-drive-view-switcher-with-drive-sort"))};
r.D=function(){GW.g.D.call(this);this.Mh&&this.C().o(this.Mh,Xe,y(this.Ima,this))};r.Ima=function(){var a=this.Mh.tY()==Wh;this.getContext().ie.pa(function(b){b.X9.fya("dl",!a)});this.getContext().mp.S4(a?"Changed to grid view.":"Changed to list view.",Xl)};r.yG=function(a,b,c){var e=this.v();c=e.j(m,{"class":c+" picker-drive-view-switcher-button"},"\u00a0");e=new HE([c],e);e.setValue(b);e.SD(1);e.j();e.RD(!0);e.ed(a);return e};
r.setActive=function(a,b){this.gg.setActive(a,b);this.Mh&&this.Mh.P6(aW(this.L,this.getContext())?Wh:oj)};r.HM=function(a){this.gg.HM(a)};r.focus=function(){return this.gg.focus()};r.oBa=function(){return this.getContext().B.ZV&&XP(this.L.ta)&&this.L.ta!=mg&&!this.L.getOption(Sj)&&!this.L.cL()};r.nBa=function(){var a=this.getContext().B;return a.Ym&&a.Yfa&&XP(this.L.ta)&&15!=this.L.getOption(fo)&&!this.L.cL()};
r.vba=function(){var a=this.v();this.fz=new DW(this.getContext(),this.L,!1,a);this.ha(this.fz);this.fz.Z(this.b());this.Mt=new wC(a.j(m,"picker-spr-sort picker-docsortoptions-menu-button-content"),this.fz,$E.K(),a);this.ha(this.Mt);this.la(this.Mt,!0);a=this.Mt.b();AD(a,"Sort options",void 0);FA(this.Mt.b(),"picker-docsortoptions-menu-button",!0)};var HW=function(a,b,c,e,f){this.ot=SV(b,a.B);WV.call(this,a,b.Cu(),f);this.L=b.clone();(this.Ub=this.qBa()?new GW(a,b,f):null)&&this.la(this.Ub);this.bb=this.jea(e,c,f);this.qG=null;this.Sk={};this.Y4=new VC(this.A1,400,this);this.Gl=null;this.ka=Fv("picker.ui.PickerDataView");this.a5=this.Ni=this.Fv=this.Di=this.VG=null;this.hg="";this.zK=this.Su=!1;this.ez=null};B(HW,WV);r=HW.prototype;
r.qBa=function(){var a=this.L;if(a.va(hl)){var b=a.Aa();return b==qh?!0:!b&&!a.getOption(Yk)&&!a.getOption(oi)}return a.getOption(oi)?!1:a.va(Le)||a.va(Ud)||a.va(kg)||a.va(lg)||a.va(mg)||a.va(og)||a.va(vg)||a.va(gh)||a.va(kh)||a.va(ri)||a.va($k)||a.va(al)||a.va(bm)||a.va(lo)||a.va(rn)||a.va(zo)||a.va(Cp)||a.va(Bp)||a.va(Np)};
r.j=function(){var a=this.v(),b=this.bb;b.j();this.Gl||this.uea();this.qG=a.j(m,"picker-content-container",b.b());b=a.j(m,"picker-content picker-dataview",this.qG);this.Sa(b);if(b=this.Ub)b.j(),a.jv(b.b(),this.qG);this.F(this.Na)};r.ODa=function(a){this.L.hh(a)};r.uea=function(){this.Gl=new sW(this.v());this.ha(this.Gl);this.Gl.j()};
r.D=function(){this.Ni=this.Ni||EQ(this.b());HW.g.D.call(this);this.Gl&&this.b().parentNode.appendChild(this.Gl.b());this.L.H8()&&(this.a5=new $y(this.v9,200,this),this.Ub&&this.e1(this.Ub.gg));var a=this.bb;a.D();this.C().o(a,["check","uncheck"],this.Qna).o(a,"open",this.gna).o(a,Zf,this.xA);this.Ni&&this.C().o(this.Ni,Cm,y(this.Y4.Yt,this.Y4))};r.e1=function(a){this.C().o(a,"R",function(a){((this.hg=a.iv)||this.L.getQuery())&&this.hg!=this.L.getQuery()&&(this.zK=!0,this.a5.start())})};
r.Ra=function(){HW.g.Ra.call(this);this.bb.Ra()};r.hBa=function(){var a=this.v();try{if(this.Ub&&a.contains(this.Ub.b(),a.ju()))return!1}catch(b){}return!0};r.oda=function(){this.Su||this.jk()};r.jk=function(){var a=this.L;return this.hBa()?this.Ub&&!a.getQuery()&&(a.va(Np)||a.va(Le)||a.va(ri)||a.va(Cp))?(this.Su=!0,M(function(){this.Ub.focus()},0,this),!0):this.Su=this.getContainer().jk():this.Su=!0};
r.setActive=function(a,b){HW.g.setActive.call(this,a,b);this.Ub&&this.Ub.setActive(a,b);a&&(this.zK&&(this.hg="",this.v9()),this.zK=!1)};r.F=function(a){var b=this.b();b.style.top=a?"":ra;b.style.left=a?"":ra;b.style.right=a?"":"9500px";this.Ub&&this.Ub.HM(a);H&&Rs("7")};r.getToken=function(){return this.L};r.jea=function(a,b,c){return new YV(a,b||XV.K(),c)};r.getContainer=function(){return this.bb};r.Gya=function(a){this.Sk=a};
r.kN=function(a){this.Vi("vdr");this.Fv&&(kx(this.Fv),delete this.Fv);this.ez&&(this.removeChild(this.ez,!0),delete this.ez);for(var b=this.Sk,c={},e,f=0;f<a.length;f++)e=a[f].I(),c[e]=b[e],c[e]&&c[e].B1&&c[e].B1(),delete b[e];this.Gya(c);this.pfa(b);this.Fva(a);this.oi("vdr")};r.pfa=function(a){var b=this.getContainer();Wr(a,function(a){a&&a.dispose&&(b.removeChild(a,!0),a.dispose())})};r.Fva=function(a){this.getContainer().wf(!0);this.b().scrollTop=0;this.appendData(a)};
r.Gva=function(a){var b=this.Nz(a),c=this.getContext().Ma;if(b){var e=b.N();if(this.Gd().sG(a))b.update();else for(var f=this.YH(this.Gd().kc()),g=0;g<f.length;g++){var h=f[g];if(h.getAttribute("oid")==e.I()){hs(this.Sk,a);ds(this.Sk,h.I())?(this.getContainer().removeChild(b,!0),b&&b.dispose&&b.dispose()):(is(this.Sk,h.I(),b),b.bi(h.I()),this.aB(b)&&b.KB&&b.KB(),b.update());c.ge(e.I())&&(c.LD([e.I()],!1),c.LD([h.I()],!0));break}}}else Gv(this.ka,"redrawData on doc not in view.")};
r.appendData=function(a){var b=this.getContext(),c=b.Ma,e=this.Sk;D(a,function(a){var g=a.I(),h=e[g]=e[g]||this.Oy(a);a.EK()||b.B.Eqa(a.Nh)||h.Db(16,!1);this.rba(h);h.Ud(c.ge(g))},this);b.B.Z_(nm)&&b.yb.Mo(a,nm);this.SL();this.oda();a=this.getContainer().ub();(0==a||this.aB(this.getContainer().za(a-1))&&this.Gd().tl())&&M(this.Au,0,this);this.dispatchEvent("dataAppended")};r.$g=function(a){HW.g.$g.call(this,a);this.XL()};r.rba=function(a){this.getContainer().la(a,!a.Y)};
r.Ova=function(a){var b=this.Nz(a);b&&(this.bb.removeChild(b,!0),b.dispose(),delete this.Sk[a],this.SL())};r.fs=function(a){this.Gl&&this.Gl.F(a)};r.Xt=function(a){HW.g.Xt.call(this,a);this.XL()};r.XL=function(){if(this.Na&&this.getContext().B.eo&&this.Gd()&&this.Gd().Ng()){var a=this.getToken().getOption("maxPrefetchCollections")||0;if(!(0>=a))for(var b=this.YH(this.Gd().kc()),c=this.getContext().ja,e=0,f=0;f<b.length&&e<a;f++)if(b[f].EK()){e++;var g=this.BY(b[f]).Cu();c.Gd(g).VH||c.Rc(g,dq,dq,!0)}}};
r.Oy=function(a){var b=this.VG;b||(b=this.VG=new lW(this.getContext().B.YB));b=new mW(this.getContext(),a,b,this.v());a.EK()&&!this.L.va(om)&&(b.Db(64,!0),b.Db(16,!1),b.vD(64,!1));return b};r.$y=function(){this.SV(this.L.Oja());if((this.L.va(Ud)||this.L.va(kg)||this.L.va(lg)||this.L.va(mg))&&$r(this.L.getOptions(),function(a,c){return c==Rk?!1!==a:c==xi?!0:null==a})){var a=this.getContext();a.ie.pa(y(function(b){b.Xfa&&this.la(this.ez=new $V(a,this.v()),!0)},this))}HW.g.$y.call(this)};
r.SV=function(a){var b=this.v();this.Fv||(this.getContainer().M().appendChild(this.Fv=b.j("tr",null,b.j(Bo,null,this.Di=b.j(m,"picker-dataview-message")))),rA(this.Di,ro),S(this.Di,tj,we));x(a)?b.jg(this.Di,a):(b.wf(this.Di),this.Di.appendChild(a))};r.C9=function(a){var b=this.Nz(a);b&&b.Ud(this.getContext().Ma.ge(a))};r.Nz=function(a){return this.Sk[a]};
r.Qna=function(a){var b=a.target.N(),c=this.getContext(),b=b.I(),e=c.Ma;if(e.ge(b)!=("check"==a.type)){if(!e.tx(b,c.B.YB?"cb":"cl"))return!1;(a=this.Nz(b))&&a.Fwa()}return!0};r.gna=function(a){a=a.target.N();a=this.BY(a);this.getContext().aa.dc(a)};r.BY=function(a){var b=this.L.clone();this.getContext().B.Tn?b.ab(Yk,a.rb):b.ab(Yk,a.I());b.setQuery(null);b.hh(this.L);a.Nh==me?b.ab(Sj,wm):b.getOption(Sj)==wm&&b.ab(Sj,void 0);return b};
r.xA=function(a){a=a.target;if(a.vb(16)&&a.isEnabled()){a=a.N();var b=this.getContext(),c=b.Ma;c.ge(a.I())&&c.Jk();c.tx(a.I(),"cl")&&(c=CW(b),Gr(c)&&b.yb.Mo([a]))}};r.SL=function(a){a=a||1;5<a||(this.Ni&&!this.Ni.offsetHeight?M(y(this.SL,this,a+1),20):this.A1())};r.A1=function(){for(var a=this.getContainer(),b=a.ub(),c=this.Tia();c<b;c++){var e=a.za(c);e&&this.aB(e)&&e.KB&&e.xqa&&!e.RA&&(e.KB(),c==b-1&&this.Au())}};
r.Tia=function(){if(!this.Ni)return 0;for(var a=this.Ni,b=a.scrollTop+a.offsetHeight,c=this.getContainer(),e=0,f=c.ub()-1;e<f;){var g=e+f>>1,h=c.za(g),h=h.b();if(h.offsetTop+h.offsetHeight<a.scrollTop)e=g+1;else if(h.offsetTop>b)f=g-1;else{for(h=c.za(g-1);0<g&&h&&this.aB(h);)g--,h=c.za(g-1);return g}}return 0};
r.aB=function(a){if(!this.Na)return!1;if(!this.Ni)return!0;var b=this.Ni,c=b.scrollTop-b.offsetHeight,b=b.scrollTop+2*b.offsetHeight;a=a.b();return a.offsetTop<b&&a.offsetTop+a.offsetHeight>=c};r.v9=function(){this.L.setQuery(this.hg);this.Zza(this.L.Cu());this.getContext().aa.Nr(this.getContext().aa.mc,this.L);this.Au(!0)};r.CJ=function(a){a.data.visible&&this.Na&&(this.Su=!1);HW.g.CJ.call(this,a);this.XL()};r.A=function(){HW.g.A.call(this);this.L.dispose();this.bb.dispose();this.VG=null};r.mq=function(){return this.ot};var IW=function(a,b){xS.call(this,a,b);this.VQ=new K;this.C().o(a.aa,"x",this.una);var c=a.Ma;c.Y5(y(this.Rga,this));c.Eya(y(this.Gia,this))};B(IW,xS);r=IW.prototype;r.H=Fv("picker.ui.ViewManager");r.mc=null;r.lp=null;r.Av=null;r.Am=null;var JW=[];r=IW.prototype;r.j=function(){IW.g.j.call(this);var a=this.mc;a&&(a.j(),this.v().appendChild(this.b(),a.b()))};r.Bc=function(){return!0};r.Ka=function(a){IW.g.Ka.call(this,a);a=this.v().gn(a);var b=this.mc;b&&(a?b.U(a):b.Z(this.b()))};
r.una=function(a){if(a.xfa){var b=this.getContext().B,c=b.iH;b.At(!0);this.Nr(a.ux);b.At(c)}else this.Nr(a.ux);Ct(a.ux.bm())};r.Yka=function(a){var b=this.VQ,c=a.Qf(),e=b.get(c);if(!e){var f=this.getContext(),e=SV(a,f.B);(f=f.Lh)&&e&&f.Vi(e,"vup");e=this.vX(a).create(a,this.getContext(),this.v());this.C().o(e,Xe,this.JJ).o(e,"v",this.Aoa);b.set(c,e);this.la(e)}return e};
r.vX=function(a){for(var b=this.getContext().B,c=0;c<JW.length;c++)if(JW[c].qT(a,b))return JW[c];throw Error("No creator registered for view creation.");};r.Nr=function(a,b){L(this.H,"SetActiveView initial history string: "+a.Yz());this.Av=a;var c=this.vX(a),e=iT.K().Rf(Gk);if(e&&!e.bk&&a.va(fl))iT.K().bq(Gk,y(this.Nr,this,a,b));else if(c.m4(a,this.getContext().B)){var f=2,e=y(function(){0==--f&&this.YN(a)},this);c.load(e);this.getContext().ie.pa(e)}else c.Ih()?this.YN(a):c.load(y(this.YN,this,a))};
r.YN=function(a){if(this.Av&&this.Av.Dd(a)){this.Av=null;var b=this.getContext(),c=b.aa,e=a.getOptions(),f=this.Yka(a);a.getOption(Dm)&&f instanceof HW&&f.ODa(a.Pc);if(f!=this.mc){var g=b.Lh;g&&!this.mc&&g.tza(VV(a,b.B));this.Y&&!f.Y&&f.Z(this.b());this.lp&&this.lp.w8&&(this.lp.w8(),this.lp=null);var h;this.mc&&this.mc.b()&&(h=Ty(this.mc.b()));c.Efa(a);f.setActive(!0,e);g&&!this.mc&&(g.RC("livr"),TV(a)||g.tN());!b.B.iH&&this.mc&&f.uS?(this.lp=f,f.uS(this,this.mc,h,y(this.PW,this,f,a))):this.PW(f,
a)}}};r.PW=function(a,b){this.lp=null;var c=this.getContext().aa,e=this.mc;e&&e.setActive(!1);this.mc=a;c.Nr(a,b);this.getContext().B.eo&&a.jk();this.D9();this.dispatchEvent(Xe);c.Hfa(b);L(this.H,"SetActiveView final history string: "+b.Yz())};r.Rga=function(a){var b=this.mc;if(b){for(var c=[],b=b.nq().pb(),e=0;e<a.length;e++)Fr(b,a[e])&&c.push(a[e]);return c}return a};r.JJ=function(a){a.target instanceof xS&&a.target.Na&&this.D9()};
r.Aoa=function(a){var b=this.getContext();a.currentTarget instanceof xS&&(a=a.currentTarget.mq(),(b=b.Lh)&&a&&b.oi(a,"vup"))};r.D9=function(){this.getContext().Ma.RDa()};r.Gia=function(){var a=this.mc;return a?a.nq():new dv};r.A=function(){IW.g.A.call(this);this.VQ.clear();this.Av=this.mc=this.VQ=null};var KW=function(a,b){xS.call(this,a,b);var c=a.B,e=c.RK()?new QV(a,b):c.eK?new sV(a,b):new LV(a,b);this.ha(e);this.bg=e;this.Nx=new IW(a,b);this.aC=e=c.aC;this.Aj=(c=c.Tn)?new fV(a,b):null;this.ha(this.Aj);this.Ef=c?new iV(a,b):new RV(a,b);this.ha(this.Ef);this.la(this.Ef);this.Aj?(this.Ef.Ye(this.Aj),this.Ef.Vya(this.Aj),this.Aj.Ye(this.Nx)):this.bg&&!e?(this.Ef.Ye(this.bg),this.bg.Ye(this.Nx)):this.Ef.Ye(this.Nx);zD(this.v());this.Xs=null};B(KW,xS);r=KW.prototype;
r.mia=function(a){switch(a){case Bi:return"picker-chrome-inline";case lk:return"picker-chrome-none";default:return""}};
r.j=function(){var a=this.getContext().B,b=a.eK,c=this.v(),e=this.Xs=c.j(m,"picker-main-overlay",c.j(m,"picker-main-overlay picker-busy"));Q(e,!1);c=c.j(m,"picker-main-container "+this.mia(a.vda),e);a.Qd()&&T(c,"picker-min-container");FA(c,"picker-navhidden",this.aC);FA(c,"picker-navhorizontal-new",b&&a.Ym);FA(c,"picker-ie",H);FA(c,"picker-people-picker",a.RK());FA(c,"picker-gplus",a.k0());this.Sa(c);c.setAttribute("guidedhelpid","ghid-pmc");a=this.getContext().yi().Y3(mV);c.appendChild(a);this.Ef?
(this.Ef.j(),c.appendChild(this.Ef.b())):this.aC?(this.Nx.j(),c.appendChild(this.Nx.b())):(this.bg.j(),c.appendChild(this.bg.b()));this.Tpa()};
r.D=function(){KW.g.D.call(this);var a=this.getContext().Lh;a&&(a.RC("lav"),a.oi("ev","evavc"));a=this.getContext().B;this.getContext().mp.S4(a.ee(),we);var b=this.v().N(),c=XQ().isNative();c||GQ(b.body,this.C());this.C().o(b,dj,y(this.VZ,this,!1),!0).o(b,Uj,y(this.VZ,this,!0),!0);this.C().o(b,dj,this.Fh,c&&a.Qd()).o(b,fj,this.Ema).o(this.getContext().aa,"z",this.Zsa).o(this.getContext().se,Kp,this.Xta);if(a.Qd()&&!a.Bt)if(c)if(this.C().o(b,Uj,this.aZ,!0),H){var e;try{e=b.activeElement}catch(g){}for(;e&&
e.nodeName==oc;){try{var f=sx(e)}catch(g){break}b=f;e=b.activeElement}this.C().o(b,Uj,this.aZ,!0);this.C().o(b,$f,this.ZY)}else this.C().o(b,Ke,this.ZY);else H||this.C().o(b,Ke,this.Wla,!0);a.RK()?(e=this.getContext().B.xi()[0][2]||{},e.type=e.type||al,this.bg.xBa(e)):this.bg.ex(this.AX());a.Qea&&iT.K().n3("opr")};r.AX=function(){var a=this.bg,b=this.getContext().B.jfa;b?b instanceof ZP?a=DU(b.I(),b.Eg(),b.getOptions()):(a=At(b),a=DU(a[0],a[1],a[2])):a=a.Uz();return a};
r.Zsa=function(a){a.Wca&&!Ly(this.Xs)?(Q(this.Xs,!0),(new oz(this.Xs,500,function(a){return a/2})).play()):Q(this.Xs,!1)};r.Xta=function(a){a=a.data.visible;var b=this.getContext();if(b.B.Tn&&b.B.Qd()&&iq(a)&&!a){if(b.yb.d3)b.ja.Jc(80),b.yb.E6(!1);else{b.ja.Jc(73);var c=b.aa.gc;c&&c.getOption(Bj)?b.ja.Jc(75):1==b.KV?b.ja.Jc(74):1==b.u7&&b.ja.Jc(76)}b.pAa(0);b.Cya(0);b.ja.$W()}b.B.Qd()&&a&&(c=(c=b.cDa)||this.AX(),b.aa.dc(c,!0));(b=b.Lh)&&a&&b.X(!0)};
r.Fh=function(a){if(27==a.keyCode&&!this.Lqa()){var b=this.getContext().B.Qd(),c=XQ().isNative();b&&c?this.getContext().B.eo&&(this.getContext().yb.Yi(),a.preventDefault(),a.stopPropagation()):this.getContext().yb.Yi()}(13==a.keyCode||3==a.keyCode)&&(b=a.target)&&BA(b,"picker-disambiguation-radio-internal-link")&&this.getContext().R5(!1);(b=this.getContext().aa.gc)&&!b.getOption(Bj)&&b.getOption("emak")&&this.Ef instanceof iV&&(a.keyCode==(Hs?18:17)?(this.getContext().B.xH(!0),this.Ef.vA(),a.preventDefault(),
a.stopPropagation()):this.getContext().B.fi&&13!=a.keyCode&&3!=a.keyCode&&(this.getContext().B.xH(!1),this.Ef.vA()))};r.Ema=function(a){var b=this.getContext().aa.gc;b&&!b.getOption(Bj)&&b.getOption("emak")&&this.Ef instanceof iV&&this.getContext().B.fi&&(this.getContext().B.xH(!1),this.Ef.vA(),a.preventDefault(),a.stopPropagation())};r.aZ=function(a){if(this.getContext().B.eo){var b=this.getContext().B.uq()||this.b();rx(b,a.target)||this.getContext().yb.Yi()}};
r.Wla=function(){if(this.getContext().B.eo){if(!this.getContext().iW){var a=this.v().N();if(a.hasFocus&&!a.hasFocus()){this.getContext().R5(!0);return}}M(function(){var a=this.v().N();a.hasFocus&&!a.hasFocus()&&this.getContext().yb.gDa()},0,this)}};r.ZY=function(a){if(this.getContext().B.eo){var b=this.getContext().B.uq()||this.b(),c=Ow(b);if("undefined"!=typeof document.activeElement){if(a=c.activeElement,!a||rx(b,a)||"BODY"==a.tagName)return}else if(a.target!=c)return;this.getContext().yb.Yi()}};
r.VZ=function(a){FA(this.md(),"hideable-focus-shown",!a);FA(this.md(),"hideable-focus-hidden",a)};r.Tpa=function(){var a=Fs?"-webkit":Es?"-moz":void 0;a&&AM(this.getContext().yi().Z(lV,{prefix:a,selector:"picker-progressbar-anim"}),this.v())};r.Lqa=function(){var a=this.getContext().aa.gc;return!!a&&a.va(el)};var LW=function(a){var b=PD;a=V(a.o$);var c=JD(String(a),GD,10);a=MD(a,YC)?PD(c,ND(a)):c;return b(a)};LW.ya="picker.ui.templates.bookcontrolrenderer.insertWordBreaksTemplate";var MW=function(){EV.call(this,"picker-book-control")};B(MW,EV);eq(MW);
MW.prototype.j=function(a){var b=a.v(),c=a.N(),e=c.getUrl(),f=c.getName(),g=c.getAttribute("au")||"",h="unknown"==g||""==g,k=b.j(m,"picker-book-control-author");hD(k,LW,{o$:h?"author unknown":g});h&&T(k,"picker-book-control-field-unknown");var g=c.getAttribute("py")||"",g="unknown"==g||""==g?"":b.j(m,"picker-book-control-year",b.j(m,"picker-book-control-year-text",g)),h=(new WT("{numPages, plural, =0 {}=1 {1 page}other {# pages}}")).format({numPages:c.getAttribute("pc")||0}),n=c.pk,c=n?n[0].Tf()||
64:64,q=n?n[0].Dh()||64:64,n=n?n[0].pq():null;Aq(n,"/")&&(n="http://books.google.com"+n);n=Yq(n,"&edge=curl");n=n.replace("/no_cover_thumb_with_curl.gif","/no_cover_thumb.gif");e=b.j(m,"picker-book-control-thumb",b.j(m,"picker-book-control-thumb-anchor",b.j("a",{href:e,target:Gd,tabIndex:-1},b.j(ui,{src:n,width:c,height:q,"class":"picker-book-control-thumb-img"}))));b=b.j(m,this.be(a).join(" "),b.j(m,"picker-book-control-inner",b.j(yo,{cellPadding:0,cellSpacing:0,width:bb},b.j(Ao,null,b.j("tr",null,
b.j(Bo,{valign:So},e),b.j(Bo,{width:bb,valign:So},b.j(m,"picker-book-control-metadata",a=b.j(m,"picker-book-control-title"),k,g,b.j(m,"picker-book-control-pages",h))))))));a.id=NA.K().Jd();hD(a,LW,{o$:f||""});S(b,hj,a.id);return b};MW.prototype.$b=function(a){return a.b().firstChild};MW.prototype.setState=function(a,b,c){MW.g.setState.call(this,a,b,c);32==b&&(Qw("a",null,a.b())[0].tabIndex=c?0:-1)};var NW=function(){this.Bm=void 0};B(NW,XV);NW.prototype.j=function(a){a=a.v();return a.j(yo,this.V()+"-content picker-listrenderer-table",a.j(Ao))};var OW=function(a,b,c){HW.call(this,a,b,new NW,zp,c)};B(OW,HW);OW.prototype.Oy=function(a){return new CV(this.getContext(),a,MW.K(),this.v())};var PW=function(){EV.call(this,"picker-font-control")};B(PW,EV);PW.prototype.j=function(a){var b=a.N();a=a.v();var c=a.j("tr","picker-font-control-tablerow"),b=b.rb,b=a.j(Bo,{"class":"picker-font-control-name-cell",style:hh+b+'::Menu"'},a.j(jo,"picker-spr-added-check"),b);a.append(c,b);return c};var QW=function(){this.kI={};this.hq=null};eq(QW);QW.prototype.aS=function(a,b){for(var c=[],e=0;e<a.length&&!(4093<as(this.kI));e++){var f=a[e],g=f.rb,f=f.getAttribute("affr");null==f||v(this.kI[g])||(c.push(f),this.kI[g]=!0)}if(0<c.length)if(this.hq)if(this.hq.styleSheet)for(e=0;e<c.length;e++)this.hq.styleSheet.insertRule(c[e],this.hq.styleSheet.cssRules.length);else this.hq.firstChild.appendData(c.join("\n"));else this.hq=AM(c.join("\n"),b)};var RW=function(a,b,c){HW.call(this,a,b,new NW,zp,c);this.jha=new PW};B(RW,HW);RW.prototype.appendData=function(a){QW.K().aS(a,this.v());RW.g.appendData.call(this,a)};RW.prototype.Oy=function(a){return new CV(this.getContext(),a,this.jha,this.v())};RW.prototype.xA=dq;var SW=function(a){U.call(this,a);this.Ss=new pD(this.Ae,!0);this.lb=new dC;this.$Z=0;this.EW=[]};B(SW,U);r=SW.prototype;r.Ae="jfk-bubble";r.EP=!0;r.Ee=!1;r.em=function(a){this.Ss.em(a);this.oa()};r.setPosition=function(a,b,c,e){C(!this.Y,"Must call setPosition() before rendering");this.Ss.setPosition(a,b,c,e)};r.wBa=function(a){C(!this.Y,"Must call setShowClosebox() before rendering");this.EP=a};r.zk=function(a){C(!this.Y,"Must call addClassName() before rendering");this.EW.push(a)};
r.mb=function(a){C(x(a)||a.nodeType||a instanceof OD||a instanceof su,"Content must be a string or HTML.");this.Cc=a;this.L5(a)};r.L5=function(a){var b=this.M();a&&b&&(x(a)?tx(b,a):a instanceof OD?Mw(b,a.sk()):a instanceof su?Mw(b,a):(Mw(b,Ju),b.appendChild(a)))};r.Ew=function(a){this.lb.Ew(a)};r.Fw=function(a){this.Ss.Fw(a)};r.Ri=function(a){this.Ee=a};r.M=function(){return this.Lc(this.Ae+"-content-id")};
r.j=function(){this.Sa(kD(pF,{vBa:this.EP,uid:"bubble-"+oq(this)},void 0,this.v()));this.L5(this.Cc);Q(this.b(),!1);this.lb.Rr(this.b());this.Uda(this.lb);CA(this.b(),this.EW)};r.Uda=function(a){Gs||a.QD(RE(this.b(),.218),SE(this.b(),.218))};
r.D=function(){SW.g.D.call(this);this.C().o(this.lb,[Ge,bn,Fe,bi],this.ina);this.EP&&this.C().cr(this.Lc(this.Ae+"-closebtn-id"),oI,sq(this.F,!1));var a=this.b();C(a,"getElement() returns null.");var b=this.Lc(this.Ae+"-arrow-id");C(b,"No arrow element is found!");this.Ss.pO(a,b);this.lb.setPosition(this.Ss)};r.F=function(a){this.lb.F(a)};r.R=function(){return this.lb.R()};r.jB=function(){return this.lb.jB()};r.oa=function(){this.R()&&this.lb.oa()};
r.A=function(){this.lb.dispose();delete this.lb;SW.g.A.call(this)};r.Fq=function(){var a=Cy(this.b());this.$Z&&a.y<this.$Z&&this.F(!1);return!1};r.ina=function(a){if(a.type==bn||a.type==bi){var b=this.C(),c=this.v(),c=H?c.xb():c.N();a.type==bn?b.o(c,Cm,this.Fq):b.Ca(c,Cm,this.Fq)}b=this.dispatchEvent(a.type);this.Ee&&a.type==bi&&this.dispose();return b};var TW=function(a,b,c,e){MU.call(this,a,"picker-actionpane-root","picker-actionpane-frame","picker-actionpane-content",Oe,e);this.hk=this.Hea();this.ha(this.hk);this.e5=b;this.ji=this.gea();this.ha(this.ji);this.ry=new U;this.Ls(this.ry);this.ej=null;this.uT=c;this.H=Fv("picker.ui.ActionPane");this.I9=this.J9=this.MQ=this.Ro=this.gf=this.pM=this.Jv=this.Qh=null;this.Nc=new xV(a,e);this.ha(this.Nc);a.B.gba&&a.ie.pa(y(function(a){v(a.TR)&&this.Nza(a.TR,a.eba)},this));this.C().o(this.getContext().Fu(),
"G",this.update)};B(TW,MU);var UW=0;r=TW.prototype;r.Hea=function(){return this.tU(this.getContext().B.mn(),!0)};r.gea=function(){return this.tU(Gb)};r.tU=function(a,b){return b?IE(this.getContext().B.mn(),this.v()):new HE(a,this.v())};r.yG=function(a,b,c){var e=this.v();c=e.j(m,{"class":c+" picker-actionpane-imagebutton-icon"},"\u00a0");a=e.j(m,"picker-actionpane-imagebutton-text",a);e=new HE([c,a],e);e.setValue(b);return e};r.Vd=function(a){var b=this.v();b.jv(b=b.j(jo),this.ji.b());a.Z(b)};
r.Nza=function(a,b,c){var e=this.v();this.Qh?(e.wf(this.Jv),e.appendChild(this.Jv,e.Th(gy(a)))):(this.Jv=e.j(Bo,"picker-actionpane-notice-td",e.Th(gy(a))),this.Qh=e.j(yo,c?c:"picker-actionpane-notice",e.j(Ao,null,e.j("tr",null,this.Jv))),this.Va&&(e.yl(this.Qh,this.Va.lastChild),this.aD()));a=this.Jv.getElementsByTagName("a");if(a.length&&b){b=vu(b);if(!this.pM){var f=this.pM=new SW(e);f.mb(b);f.em(a[0]);f.wBa(!1);f.setPosition(2,0);f.Z(this.getContext().B.uq());T(f.b(),"picker-actionpane-notice-popup");
this.C().o(a[0],Uj,function(a){f.F(!0);a.stopPropagation();a.preventDefault()})}this.pM.mb(b)}};r.aD=function(){M(function(){if(this.Qh){var a=Qy(this.Va).width,b=this.oq(ll);D(b,function(b){var c=Wy(b);c&&(a-=c.right?c.right:0,a-=c.left?c.left:0);(b=Qy(b))&&b.width&&(a-=b.width)});0<a&&P(this.Qh,"max-width",a+p)}if(this.gf){this.v();var b=Iy(this.Va).height,c=Ty(this.gf).height;b>c?P(this.gf,"margin-top",(b-c)/2+p):P(this.gf,"margin-top","0px")}},0,this)};
r.j=function(){TW.g.j.call(this);var a=this.v(),b=this.Va,c=this.ry;c.j();b.appendChild(a.j(m,ll,c.b()));c=this.ry.b();this.hk.Z(c);this.hk.b().id=Ul+UW++;this.hk.b().setAttribute("guidedhelpid","ghid-psc");this.ji&&(this.ji.Z(c),this.ji.b().id=Ul+UW++,Q(this.ji.b(),!this.gNa));this.ej&&(this.ej.j(),b.appendChild(this.ej.b()));this.Ro&&(c=a.j(m,"picker-actionpane-upload-button-float-item"),b.appendChild(c),this.Ro.Z(c),this.Ro.b().id=Ul+UW++,T(this.Ro.b(),"picker-actionpane-upload-button"));this.Nc.getUrl()&&
(this.Nc.j(),this.Ls(this.Nc),b.appendChild(this.Nc.b()));(c=this.getContext().B.fba)&&b.appendChild(a.j(m,"picker-actionpane-actionpanetext",a.createTextNode(c)));this.gf=a.j(m,ml);Q(this.gf,!1);rA(this.gf,ro);S(this.gf,tj,Xl);b.appendChild(this.gf);this.Qh&&(b.appendChild(this.Qh),this.aD());this.update();this.Cb(H?72:69)};r.setActive=function(a,b){TW.g.setActive.call(this,a,b);this.ej&&this.ej.setActive(a,b)};
r.D=function(){TW.g.D.call(this);var a=this.C();a.o(this.hk,l,this.Mna);this.ji&&a.o(this.ji,l,this.xla);a.o(this.v().xb(),tm,this.aD)};r.focus=function(){try{return this.mD||!this.ji?this.hk.b().focus():this.ji.b().focus(),!0}catch(a){return Hv(this.H,Mb),!1}};r.Mna=function(){this.e5?this.e5():this.getContext().yb.vQ()};r.xla=function(){this.uT?this.uT():this.getContext().yb.Yi()};r.ih=function(a){this.mD=a;this.Y&&this.update()};
r.update=function(){var a=this.getContext(),b=a.Fu().nB();this.OZ=this.OZ||b;this.hk.X(this.mD&&(!b||a.B.txa));this.mD?this.hk.zk(Gl):this.hk.nN(Gl);this.Ro&&(a=this.OZ&&!b,Q(this.Ro.b(),a),this.Ro.b().style.visibility=a?"":ai);this.Qh&&Q(this.Qh,!b);this.ZDa()};r.As=function(a){this.ih(a);this.ej&&this.ej.As()};
r.ZDa=function(){var a=this.v(),b=this.getContext().Fu(),c=b.nB(),e=this.MQ;if(!c||this.hNa)e&&(Q(e,!1),e.style.visibility=ai);else{var c=this.J9,f=this.I9;if(!e){var g;this.Va.appendChild(e=this.MQ=a.j(m,"picker-actionpane-upload-status",c=this.J9=a.j(m,"picker-actionpane-upload-status-text"),g=a.j(m,zh)));f=this.I9=new DV("picker-progress-bar",a);f.KD(0);f.ID(100);f.setValue(0);f.U(g);Q(e,!1);g=Iy(this.ry.b()).width;P(this.MQ,XQ().Me()?um:mj,g+30+p)}g=b.gC;var h=b.gA();g="Uploading "+((g<h?g+1:
g)+(" of "+h));a.wf(c);a.append(C(c),g+"\u00a0\u00a0\u00a0");f.setValue(100*b.ika());Q(e,!0);e.style.visibility=""}};r.G7=function(a,b,c){if(a&&b)switch(this.v().jg(this.gf,b),EA(this.gf,[ml,nl]),c){case 1:T(this.gf,nl);break;default:T(this.gf,ml)}Q(this.gf,a);this.HBa(!a);a&&this.aD()};r.HBa=function(a){this.Qh&&Q(this.Qh,a);this.ej&&this.ej.nNa(a);this.Nc.b()&&Q(this.Nc.b(),a)};var VW=function(a,b,c){OB.call(this,a,b,c);this.Ww(!0)};B(VW,OB);VW.prototype.ad=function(){return this.dispatchEvent(l)};wB(Hh,function(){return new VW(null)});var WW=function(a,b,c,e){MU.call(this,a,"picker-fontbar-root","picker-fontbar-frame","picker-fontbar-content",So,e);this.gg=new yW(a,b,e);this.L=b;this.xv=c;this.uz=this.L.Aa()||"a";this.cE=this.L.getOption(go)||"p";this.ms=this.fq=null};B(WW,MU);var XW={a:"All fonts",d:"Display",h:"Handwriting",m:"Monospace",s:"Serif",ss:"Sans Serif"},YW={p:"Popularity",a:"Alphabetical",da:"Date added",t:"Trending"};r=WW.prototype;
r.j=function(){WW.g.j.call(this);this.Cb(75);var a=this.v();this.gg.oya(!1);this.gg.j();var b=a.j(m,zh);this.fq=new yC("",void 0,$E.K());this.iS(this.fq,XW);this.fq.Z(b);var c=a.j(m,zh);this.ms=new yC("",void 0,$E.K());this.iS(this.ms,YW);this.ms.Z(c);this.Va.appendChild(a.j(m,"picker-fontbar-container",this.gg.b(),a.j(m,"picker-fontbar-menu-container",b,c)));this.C().o(this.fq,l,this.hma).o(this.ms,l,this.hoa);this.wN()};r.iS=function(a,b){for(var c in b)a.zc(new VW(b[c],c,this.v()))};
r.hma=function(a){var b=new lU(ih);b.hh(this.L.Pc||this.L);b.ab(Xo,a.target.getValue());b.ab(go,this.cE);this.getContext().aa.dc(b);this.wN();this.uz=a.target.getValue()};r.hoa=function(a){var b=new lU(ih);b.hh(this.L.Pc||this.L);b.ab(Xo,this.uz);b.ab(go,a.target.getValue());this.getContext().aa.dc(b);this.wN();this.cE=a.target.getValue()};r.wN=function(){var a="Show: "+XW[this.uz];this.fq.setValue(this.uz);this.fq.cO(a);a="Sort: "+YW[this.cE];this.ms.setValue(this.cE);this.ms.cO(a)};
r.D=function(){WW.g.D.call(this);this.gg.D()};var ZW=function(a,b,c,e){zV.call(this,a,b,c,e)};B(ZW,zV);ZW.prototype.D=function(){ZW.g.D.call(this);var a=this.O.tX(this);this.C().o(a,Xj,y(this.UY,this,!0)).o(a,Wj,y(this.UY,this,!1))};ZW.prototype.UY=function(a,b){Ky(b.target,a?.8:.5)};var $W=function(){};B($W,AB);eq($W);$W.prototype.j=function(a){var b=a.v(),c=a.N().rb;a=NA.K().Jd();b=b.j(m,{"class":"picker-font-chip goog-inline-block",name:c},b.j(jo,{"class":"picker-font-chip-name",style:hh+c+'::Menu"',id:a},c),b.j(jo,{"class":"picker-font-chip-x",role:Qe,"aria-label":"Remove",tabIndex:0},b.j(jo,"picker-spr-close-box-tiny-black goog-inline-block")));S(b,hj,a);b.style.paddingRight=H?b.style.paddingLeft="7px":b.style.paddingLeft="15px";return b};$W.prototype.tX=function(a){return a.b().children[1]};var aX=function(a,b,c){MU.call(this,a,"picker-fontbin-root","picker-fontbin-frame","picker-fontbin-content",um,c);this.bt=new K;this.C().o(a.Ma,"E",this.jma);this.$s=null};B(aX,MU);r=aX.prototype;r.j=function(){aX.g.j.call(this);this.Cb(200);var a=this.v();this.$s=a.j(m,"picker-fontbin-chip-holder");a=a.j(m,"picker-fontbin-to",a.j(m,"picker-fontbin-header","My fonts"));this.Va.appendChild(a).appendChild(this.$s)};r.jma=function(a){D(a.Nd,y(this.t9,this))};
r.BV=function(a){this.getContext().Ma.LD([a.N().I()],!1)};r.Ku=function(a,b){if(13==b.keyCode||32==b.keyCode)this.BV(a),b.stopPropagation(),b.preventDefault();return!0};
r.t9=function(a){if(this.getContext().Ma.ge(a)&&!this.bt.Xb(a)){var b=this.getContext().ja.N(a);if(b){var c=new ZW(this.getContext(),b,$W.K(),this.v());this.bt.set(a,c);a=this.v().oq("picker-font-chip",this.$s);for(var e=!0,f=0;f<a.length;f++)if(a[f].name>b.rb){c.a4(a[f]);e=!1;break}e&&c.Z(this.$s);b=c.O.tX(c);this.C().o(b,ef,y(this.BV,this,c)).o(b,ej,y(this.Ku,this,c))}}else!this.getContext().Ma.ge(a)&&this.bt.Xb(a)&&(c=this.bt.get(a),this.$s.removeChild(c.b()),c.A(),this.bt.remove(a))};var bX=function(a,b,c,e){xS.call(this,a,e);this.L=b;this.xv=c;var f=new WW(a,b,c,e);f.Ye(c);this.hha=f;b=new aX(a,b,e);b.Ye(f);this.iha=b;a=new TW(a,y(this.koa,this),void 0,e);a.Ye(b);this.la(a);this.Wb=a};B(bX,xS);r=bX.prototype;r.D=function(){bX.g.D.call(this);this.C().o(this.getContext().Ma,"E",this.Cq).Fl(this.xv,Xe,this.Cq,!1,this).o(this.getContext().se,"select-fonts",this.Nna).o(this.getContext().yb,sm,y(this.Yl,this,0));this.xv.e1(this.hha.gg)};r.YK=function(){return!!this.getContext().Ma.Gg(!0)};
r.koa=function(){for(var a=this.getContext(),b=a.ja,c=a.Ma.Gg(!0),e=[],f=0;f<c.length;f++){var g=b.N(c[f]);"font"==g.Aa()&&e.push(g)}a.yb.Mo(e);this.Wb.ih(!1)};r.setActive=function(a,b){bX.g.setActive.call(this,a,b);a&&this.IT();this.xv.setActive(a)};r.Cq=function(){this.Na&&this.IT()};r.j=function(){var a=this.Wb;a.ih(!1);a.j();this.Sa(a.b());T(this.b(),"picker-fontsview")};
r.IT=function(){for(var a=this.getContext().ja,b=this.getContext().Ma,c=this.iha,b=b.Gg(!0),e=!1,f=0;f<b.length;f++)"font"==a.N(b[f]).Aa()&&(e=!0,c.t9(b[f]));this.Wb.ih(e)};r.Nna=function(a){if(this.Na&&(a=a.data.fonts)&&a.length){var b=xr(a,function(a){return a.fontName});this.getContext().ja.Rc(new US(ih,b,{}),y(this.vna,this,a),y(this.wna,this),!0)}};
r.vna=function(a,b){if(H){var c=this.getContext().B.b();c.style.display=lk;c.style.display="block"}for(var c=this.getContext().Ma,e=new dv(xr(a,function(a){return a.fontName})),f=b.kc(),g=0;g<f.length;g++)e.contains(f[g].rb)&&c.O6(f[g].I(),!0,"cb",!0);QW.K().aS(f,this.v())};r.wna=function(){alert("Sorry!  We could not find the fonts you previously selected.")};r.Yl=function(){if(this.Na){var a=this.L.Pc;a&&this.getContext().aa.dc(a)}};r.$g=function(a){this.xv.$g(a)};var cX=function(a,b,c){xS.call(this,a,c);this.L=b;this.Wb=new TW(a,y(this.l5,this),void 0,c);this.la(this.Wb)};B(cX,xS);cX.prototype.j=function(){var a=this.v(),b,c=a.j(m,"picker-content",b=a.j(m,"picker-iconview-container")),e=null;"homepage"==this.L.Aa()&&b.appendChild(e=a.j(ui,{"class":"picker-iconview-img",src:"//ssl.gstatic.com/docs/picker/images/google-homepage-v1.gif",width:"374",height:"244"}));a=this.Wb;a.ih(!0);a.j();a.M().appendChild(c);this.Sa(a.b());this.C().o(e,Zf,y(this.l5,this))};
cX.prototype.l5=function(){this.getContext().yb.Mo([])};var dX=function(a,b,c,e){HW.call(this,a,b,void 0,void 0,e);this.zH(!1);this.message=c};B(dX,HW);dX.prototype.j=function(){dX.g.j.call(this);this.SV(this.message)};dX.prototype.D=function(){dX.g.D.call(this);T(this.b(),"picker-messagelist")};dX.prototype.$g=function(){};var eX=function(a,b,c){xS.call(this,a,c);this.L=b};B(eX,xS);eX.prototype.j=function(){eX.g.j.call(this);this.L.getQuery()};eX.prototype.D=function(){eX.g.D.call(this);this.L.getQuery()};var fX=function(a){sS.call(this,a);this.Ji&&(this.Yda=a.response.contentUrl||"")};B(fX,sS);fX.prototype.Zb=function(){return 23};uS.set(23,function(a){return new fX(a)});var gX=function(a,b){YR.call(this);this.Da=a;this.IV=b};B(gX,YR);gX.prototype.Nf=Mu(new Gx("getcu"));gX.prototype.Zb=function(){return 23};gX.prototype.Ge=function(){var a=new K;aS(a,rp,this.Da);aS(a,"h",this.IV.height);aS(a,"w",this.IV.width);return a};var hX=function(a,b){E.call(this);this.FN=this.Le=0;this.$f=a;this.La=b;this.zg=new $y(y(this.pr,this),0,this)};B(hX,E);r=hX.prototype;r.A=function(){this.zg.dispose();delete this.$f;delete this.La;hX.g.A.call(this)};r.start=function(a,b){this.stop();var c=b||0;this.Le=Math.max(a||0,0);this.FN=0>c?-1:z()+c;this.zg.start(0>c?this.Le:Math.min(this.Le,c))};r.stop=function(){this.zg.stop()};r.ac=function(){return this.zg.ac()};
r.pr=function(){if(!this.$f.call(this.La))if(0>this.FN)this.zg.start(this.Le);else{var a=this.FN-z();0>=a||this.zg.start(Math.min(this.Le,a))}};var iX=function(a,b){return 4==a.readyState?(Wr(a,function(b){try{kq(a[b])&&(a[b]=null)}catch(e){}}),b.removeNode(a),!0):!1};var jX=function(a,b,c,e,f){U.call(this,f);this.BEa=a;this.nb=b;this.DM=c;this.jta=e};B(jX,U);jX.prototype.j=function(){var a=this.v(),b=cr(),a=a.j(pi,{id:b,name:b,"class":"picker-iframe-player",src:this.BEa,width:this.nb.width,height:this.nb.height,onload:this.DM?this.DM:dq,onerror:this.DM?this.jta:dq,frameBorder:"0"});this.Sa(a)};Fv("apps.photos.imagurl.ImageUrlOptionsBuilderBase");var kX=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(lh[3-6]\.(googleadsserving\.cn|xn--9kr7l\.com))|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-dev\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\//i,
lX=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,mX=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,nX=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,oX=function(a){return kX.test(a)||lX.test(a)||mX.test(a)||nX.test(a)};var pX=window.location.protocol==ki,qX=function(a){return(a.match(kw)[1]||null)!=ji&&pX?!0:oX(a)||Bq(lw(a.match(kw)[3]||null,!0),".gstatic.com")||Aq(a,"https://googledrive.com/thumb/")?!1:!0},rX=function(a,b,c,e,f){oX(a)&&(a=pX?a.replace(/^http:/i,ki):a);qX(a)?c.ja.Rc(new gX(a,b),function(a){e(a.Yda)},f):e(a)};var sX=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{Paste a URL here:}male{Paste a URL here:}other{Paste a URL here:}}")).Cg({VIEWER_GENDER:c.ci});return XD(""+a)};sX.ya="picker.ui.templates.urlview.anyUrl";var tX=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{Paste an image URL here:}male{Paste an image URL here:}other{Paste an image URL here:}}")).Cg({VIEWER_GENDER:c.ci});return XD(""+a)};tX.ya="picker.ui.templates.urlview.imageUrl";
var uX=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{Paste a video URL here:}male{Paste a video URL here:}other{Paste a video URL here:}}")).Cg({VIEWER_GENDER:c.ci});return XD(""+a)};uX.ya="picker.ui.templates.urlview.videoUrl";var vX=function(a,b,c){a=(new WT("{VIEWER_GENDER,select,female{Paste YouTube URL here:}male{Paste YouTube URL here:}other{Paste YouTube URL here:}}")).Cg({VIEWER_GENDER:c.ci});return XD(""+a)};vX.ya="picker.ui.templates.urlview.youTubeUrl";var wX=function(a,b,c){xS.call(this,a,c);this.ot=SV(b,a.B);this.Vi("vc");this.L=b;this.Wb=new TW(a,y(this.yw,this),void 0,c);this.la(this.Wb);this.Ya=b.Aa()||qi;this.Io=b.getOption(pn);this.Gx=new LC;this.la(this.Gx)};B(wX,xS);var xX=new Hw(800,600),yX=new Hw(640,480);r=wX.prototype;r.H=Fv("picker.ui.UrlView");r.XG=null;r.TK=!1;r.UK=!1;r.cB=!1;r.Nj=null;
r.j=function(){var a=this.v(),b;b=NA.K();var c=b.Jd(),e=b.Jd(),c=this.Yb=a.j(m,"picker-content picker-urlview",b=a.j(gj,{"class":"picker-urlview-header","for":c}),this.Pd=a.j(Ci,{"class":"picker-urlview-input",id:c}),this.Hh=a.j(m,{"class":Ol,style:"visibility: hidden"}),this.$M=a.j(yo,"picker-urlview-preview",a.j(Ao,null,a.j("tr",null,this.xr=a.j(Bo,{"class":"picker-urlview-preview-td",id:e},this.XG=this.Dia())))));S(this.Pd,"controls",e);rA(this.xr,ro);S(this.xr,tj,Xl);e=this.getContext().yi();
switch(this.Ya){case qi:a.jg(b,e.Xl(tX));break;case Ap:this.Io==Yp||this.Io==Up||this.Io==Vp?a.jg(b,e.Xl(vX)):a.jg(b,e.Xl(uX));break;default:a.jg(b,e.Xl(sX))}a=this.Wb;a.j();a.M().appendChild(c);this.Sa(a.b());this.Gx.U(this.Pd)};
r.D=function(){wX.g.D.call(this);this.$q();var a=this.Pd;this.qd=new KC(a);this.Nj=new QF(this.Yb);a=this.C().o(this.qd,Ci,this.CZ).o(a,ej,this.Ku).o(this.Nj,uj,this.sma).o(this.getContext().yb,sm,this.Yl).o(this.v().xb(),tm,this.$q);this.Ya==qi?a.o(this.Nj,Hg,this.gZ):a.o(this.Nj,Hg,this.lna);this.oi("vc");this.dispatchEvent("v")};r.jk=function(){M(function(){try{this.Pd.focus()}catch(a){Hv(this.H,Mb)}this.Pd.select()},0,this);return!0};
r.$q=function(){var a=this.vI();if(0>=a.width||0>=a.height)M(y(this.$q,this),100);else{Hy(this.$M,a);var a=a.width,b=this.Pd,c=this.Uoa;if(!c)var c=function(){var a=Wy(b);return a.left+a.right},e=v(b.previousElementSibling)?b.previousElementSibling:nx(b.previousSibling,!1),f=this.Hh,c=this.Uoa=c(b)+e.offsetWidth+c(e)+f.offsetWidth+c(f);b.style.width=a-c+p}};r.Ku=function(a){13==a.keyCode&&this.Wb.mD&&this.yw()};
r.CZ=function(){this.TK=!1;var a=Fq(this.Pd.value),b=!!a,c=b?this.EG(a):void 0;this.Wb.ih(!1);FA(this.Pd,"picker-urlview-selected",b);this.Hh.style.visibility=ai;var e=this.Ya,f=this.Io;c?(b=iU.K(),this.nm("Loading preview..."),e==Ud||e==Ap?f&&b.hL(c,f)||b.gra(c)?this.yoa(a):e==Ud?this.hZ(a):this.IJ():this.hZ(a)):b?this.nm("The URL is not valid.  Make sure it starts with http:// or https://.",!0):this.XG?this.nm(this.XG):this.nm("If your URL is correct, you'll see a preview here.  Large images may take a few minutes to appear.");
e==Ud&&c&&this.Wb.ih(!0)};r.EG=function(a){var b;try{b=Px(a)}catch(c){return}a=(b.Re||"").toLowerCase();return"http"!=a&&a!=ji||!b.Bd?void 0:b};r.hZ=function(a){var b=this.Hh;b.className=Ol;b.style.visibility="";this.Vi("vdl");(b=(a=this.EG(a))&&bW(a))?(this.cB=!0,this.getContext().ja.Rc(new US(jg,[b],{}),y(this.$la,this),y(this.bZ,this))):(this.cB=!1,rX(a.toString(),xX,this.getContext(),y(this.BB,this),y(this.gZ,this)))};r.BB=function(a){var b=this.Nj;b.fS(this.aN=NA.K().Jd(),a);b.start()};
r.yoa=function(a){a=Px(a);if(a=iU.K().VI(a)){var b=this.vI();yX.zz(b)||yX.rw(b);a=new jX(a,yX,y(this.xoa,this),y(this.IJ,this),this.v());b=this.xr;gx(b);a.Z(b)}else this.IJ()};r.xoa=function(){this.UK=!0;this.Wb.ih(!0)};
r.Dia=function(){if(this.Ya!=qi&&this.Ya!=Ap)return null;var a="If your URL is correct, you'll see an image preview here.  Large images may take a few minutes to appear.",b="Remember: Using others' images on the web without their permission may be bad manners, or worse, copyright infringement.";this.Ya==Ap&&(a="If your URL is correct, you'll see a video preview here.  Large videos may take a few minutes to appear.",b="Remember: Using others' videos on the web without their permission may be bad manners, or worse, copyright infringement.");
var c=this.v(),a=c.j(m,"picker-urlview-preview-content",a),b=c.j(m,null,b);return c.j(m,null,a,b)};r.nm=function(a,b){FA(this.$M,"picker-urlview-error",!!b);FA(this.xr,"picker-urlview-error-td",!!b);this.f4(x(a)?this.v().createTextNode(a):a)};r.vI=function(){var a=this.Yb,b=Sy(a);return new Hw(a.offsetWidth-b.left-b.right,a.parentNode.offsetHeight-this.$M.offsetTop-b.top-b.bottom)};
r.sma=function(a){a=a.target;if(a.id==this.aN){this.oi("vdl");this.Hh.className="picker-urlview-success-icon goog-inline-block";this.Wb.ih(!0);if(a.naturalWidth&&a.naturalHeight){var b=this.vI(),c=new Hw(a.naturalWidth,a.naturalHeight);c.zz(b)||Hy(a,c.rw(b))}this.f4(a);this.TK=!0}};r.f4=function(a){if(this.UK&&this.aN){var b=this.v(),c=b.b(this.aN);H&&Is?(Q(c,!1),(new hX(y(iX,void 0,c,b))).start(50,1E4)):b.removeNode(c);this.UK=!1}b=this.xr;gx(b);b.appendChild(a)};
r.gZ=function(){this.Hh.className=Nl;var a=this.v();this.nm(a.j(m,{style:"text-align: left;"},"We can't find the image at that URL.",a.j("ul",null,a.j("li",null,"Please check the address for typing errors."),a.j("li",null,"Make sure the image is public. If your image is protected by a password, or on an internal network, we will not be able to read it."))),!0)};r.IJ=function(){this.nm("The video URL you entered above can't be loaded.  Please make sure it is correct and is from a supported site.")};
r.lna=function(){this.Hh.className=Nl;this.nm("Preview unavailable.")};r.yw=function(){var a=this.getContext(),b=a.ja,c=Fq(this.Pd.value);if(a.B.z3)this.Wb.ih(!1),b.Rc(new WS("importPhoto",il,[],{url:c,label:"profile_photos.draft"}),y(this.uma,this),y(this.tma,this),!0);else if(this.TK)this.zxa(c);else{var e=iU.K().OY(c);e?b.Rc(new US(Wp,[e],{}),y(this.Eoa,this),y(this.IZ,this)):a.yb.e9(c)}};
r.zxa=function(a){var b={};b.url=a;b.name=Px(a).getPath().split("/").pop();b.type=bl;b.serviceId=rp;b=new mS(b);if(this.cB){var c=this.EG(a);(c=c&&bW(c))&&b.gza(c)}(c=this.xr.getElementsByTagName(ui)[0])&&b.kP([new cS(this.cB?c.src:a,c.naturalWidth,c.naturalHeight)]);this.getContext().yb.Mo([b])};r.Eoa=function(a){(a=a.kc())&&0<a.length?this.getContext().yb.Mo(a):this.IZ()};r.IZ=function(){alert("The video you selected no longer exists.  The owner may have removed it.");this.Yl()};
r.uma=function(a){a=a.kc()[0];var b=new lU(Uf);b.ab("id",a.rb);b.ab(Pm,a.vd);b.hh(this.L);this.getContext().aa.dc(b);this.Wb.ih(!0)};r.tma=function(){alert("The image URL you specified could not be retrieved.  It may be a private URL that our servers cannot access.  Please try a different URL.");this.Wb.ih(!0)};r.Yl=function(){this.Pd.value="";this.CZ()};r.$la=function(a){if((a=a.kc())&&0<a.length&&a[0].Aa()==bl&&(a=a[0].pk)&&0<a.length){this.BB(a[0].mA(400).getUrl());return}this.bZ()};
r.bZ=function(){this.Hh.className=Nl;this.nm("The image URL you have entered above is incorrect or can't be loaded.")};r.mq=function(){return this.ot};var zX=function(a,b,c){MU.call(this,a,"picker-attributionbar-root","picker-attributionbar-frame","picker-attributionbar-content",Oe,c);this.Xo=b};B(zX,MU);r=zX.prototype;r.j=function(){zX.g.j.call(this);var a=this.v(),b=this.Va,c=NA.K().Jd();b.appendChild(a.j(m,void 0,this.OCa=a.j(m,{"class":ol,id:c},a.createTextNode("The image you highlighted was found by Google Image Search on this page:")),a.j(m,ol,this.tS=a.j("a",{href:"#",target:Gd}))));S(this.tS,hj,c);this.Cb(0)};
r.D=function(){zX.g.D.call(this);this.C().o(this.getContext().Ma,"E",this.Rna)};r.og=function(){this.v();var a=this.getContext().Ma.Gg(),a=a&&a.length?this.getContext().ja.N(a[0]):null;this.Xo.getToken().getOption(Xo)==qh&&(a=null);if(a){var b=this.tS,c=a.getUrl();Qq(c);b.href=c;tx(b,c);yA(this.OCa,"The image you highlighted was found by Google Image Search on this page: "+c)}Q(this.Va,!!a);this.Cb(a?29:0)};r.setActive=function(a,b){zX.g.setActive.call(this,a,b);a&&this.og()};
r.Rna=function(){this.Xo.Na&&this.og()};var AX=function(a,b){MU.call(this,a,"picker-bloggerinstructions-root","picker-bloggerinstructions-frame","picker-bloggerinstructions-content",So,b)};B(AX,MU);
AX.prototype.j=function(){AX.g.j.call(this);var a=new yV,b="These images are also available to view and share in "+(a.ps("a",{href:"https://picasaweb.google.com/home?hl="+XQ().Ne,target:Gd})+("Picasa Web Albums"+(a.$p("a")+", Google's free photo hosting service."))),c=this.v(),a=c.j(m,"picker-bloggerinstructions-text",c.Th(a.format(b)));this.Va.appendChild(a);this.Cb(42)};var BX=function(a,b,c,e){MU.call(this,a,"picker-breadcrumbs-root","picker-breadcrumbs-frame","picker-breadcrumbs-content",So,e);this.L=b;this.KT=c};B(BX,MU);r=BX.prototype;
r.j=function(){BX.g.j.call(this);for(var a=this.v(),b,c=a.j(yo,{"class":"picker-breadcrumbs-table",cellSpacing:"0",cellPadding:"0"},a.j(Ao,null,b=a.j("tr"))),e=this.Fja(),f=e.pop(),g=0;g<e.length;g++){var h=e[g];this.mwa(b,h[0],h[1],0==g,g==e.length-1)}a=a.j(Bo,{"class":"picker-breadcrumbs-child"},f[0]);yA(a,this.hia(f[0]));zx(a,!0);b.appendChild(a);this.Va.appendChild(c);this.Cb(40)};
r.mwa=function(a,b,c,e,f){var g=this.v();e=g.j(Bo,"picker-breadcrumbs-parent"+(e?" picker-breadcrumbs-first-parent":"")+(c?" picker-breadcrumbs-clickable":""),b);e.vsa=c;f&&(this.Q0=e);zx(e,!!c);yA(e,this.aka(b));rA(e,"link");a.appendChild(e);a.appendChild(g.j(Bo,"picker-breadcrumbs-triangle"+(f?" picker-breadcrumbs-last-triangle":""),g.j(m,"picker-breadcrumbs-triangle1 goog-inline-block"),g.j(m,"picker-breadcrumbs-triangle2 goog-inline-block")))};
r.Fja=function(){for(var a=[],b=this.getContext().ja,c=this.L.Pc;c;){var e=c.getName(),f=c.getOption(Yk);f&&(f=b.N(f))&&(e=f.getName());a.unshift([e,c]);c=c.Pc}a.push([this.KT.getName(),null]);return a};r.D=function(){BX.g.D.call(this);this.C().o(this.Va,dj,this.ula).o(this.Va,ef,this.QY)};r.focus=function(){return this.Q0?(this.Q0.focus(),!0):!1};r.QY=function(a){(a=a.target.vsa)&&this.getContext().aa.dc(a)};r.ula=function(a){if(32==a.keyCode||13==a.keyCode)this.QY(a),a.preventDefault(),a.stopPropagation()};
r.A=function(){BX.g.A.call(this);delete this.L;delete this.KT};r.aka=function(a){return"Switch to folder "+a};r.hia=function(a){return"Selected folder "+a};var CX=function(a,b,c){MU.call(this,a,"picker-butterbar-root","picker-butterbar-frame","picker-butterbar-content",So,c);this.XB=b};B(CX,MU);CX.prototype.j=function(){CX.g.j.call(this);var a=this.Va,b=this.v();a.appendChild(b.j(m,"picker-butterbar",this.XB));this.Cb(20)};var DX=function(a,b,c,e){TW.call(this,a,b,c,e);this.$j=null};B(DX,TW);r=DX.prototype;r.j=function(){DX.g.j.call(this);var a=this.v(),b=this.$j=a.j(m,"goog-inline-block picker-actionpane-evph-message");Ky(this.$j,0);a.yl(b,this.Va.lastChild);a=new bT({service:"party",type:ze,options:{evid:this.getContext().B.sW,maxSize:22}});b=this.getContext().ja.Gd(a);b.Ng()&&b.Ie()?this.k1(b.kc(),!1):this.getContext().ja.Rc(a,y(function(a){this.k1(a.kc(),!0)},this),dq,!0)};
r.xea=function(a,b){var c;c=a==im?"Photos will be visible to anyone (public on the web).":"wide"==a?"Photos will be shared with a wide audience.":(new WT("{audienceCount, plural, =0 {Photos will be shared with all event guests} =1 {Photos will be shared with {startTag}one person{endTag}.}other {Photos will be shared with {startTag}{audienceCount} people{endTag}.}}")).format({audienceCount:b,startTag:'<span class="picker-evph-plain-link">',endTag:fb});return this.v().Th(gy(c))};
r.k1=function(a,b){var c=a[0];this.$j.appendChild(this.xea(c.getAttribute(Kp),c.sq()));b?(new oz(this.$j,218)).play():Ky(this.$j,1);var e=this.v().Lc("picker-evph-plain-link",this.$j);if(e){var f=new SW(this.v());this.ha(f);f.setPosition(2);f.Fw(!0);f.Z(this.getContext().B.uq());f.mb(this.Oea(a.slice(1),c.sq()));T(f.b(),"picker-evph-people-jfk-bubble");f.em(e);this.C().cr(e,oI,y(f.F,f,!0))}};
r.Oea=function(a,b){for(var c=this.v(),e=Math.min(a.length,22),f=b-e,g=f?(new WT("{moreCount, plural, =0 {unused plural form}=1 {+ 1 more}other {+ {moreCount} more}}")).format({moreCount:f}):void 0,g=c.j(m,"picker-actionpane-evph-people",c.j(m,"picker-actionpane-evph-people-title","Visible to:"),f=c.j(m),g),h=0;h<e;h++){var k=a[h],n=c.j(ui,{src:k.pk[0].pq(24,["c"]),"class":"picker-actionpane-evph-people-img"});XQ().isNative();n.setAttribute("oid",k.rb);f.appendChild(k.getUrl()?c.j("a",{href:k.getUrl(),
target:Gd},n):n)}return g};r.update=function(){DX.g.update.call(this);this.$j&&Q(this.$j,!this.getContext().Fu().nB())};r.A=function(){DX.g.A.call(this);this.$j=null};var EX=function(a,b,c,e){TW.call(this,a,b,c,e);this.Di=null};B(EX,TW);EX.prototype.j=function(){EX.g.j.call(this);var a=this.v(),b=this.Di=a.j(yo,"picker-actionpane-legal-text",a.j(Ao,null,a.j("tr",null,a.j(Bo,"picker-actionpane-legal-text-td","Only select images that you have confirmed that you have the license to use."))));a.yl(b,this.Va.lastChild)};EX.prototype.update=function(){EX.g.update.call(this);var a=this.Di;if(a){var b=this.getContext().Fu();Q(a,!b.nB())}};
EX.prototype.A=function(){EX.g.A.call(this);this.Di=null};var FX=function(a,b,c){MU.call(this,a,"picker-url-input-root","picker-url-input-frame","picker-url-input-content",Oe,c);this.nra=b;this.Gx=new LC;this.la(this.Gx);this.Kb=null;this.sl=!1;this.qd=null};B(FX,MU);FX.prototype.j=function(){FX.g.j.call(this);var a=this.v(),b=this.Va;b.appendChild(a.j(m,"picker-url-input-text",this.nra||"Or paste a web address here:"));b.appendChild(a.j(m,null,this.Kb=a.j(Ci,{type:Eo,"class":"picker-url-input-box"})));this.Cb(46);this.Gx.U(this.Kb)};
FX.prototype.D=function(){FX.g.D.call(this);this.qd=new KC(this.Kb);this.C().o(this.qd,Ci,this.vma)};FX.prototype.setValue=function(a){var b=this.Kb;b.value!=a&&(b.value=a);this.sl=0<a.length;FA(b,Ml,this.sl);this.sl||b.blur()};FX.prototype.vma=function(){var a=this.getContext(),b=this.Kb,c=b.value;this.getContext().Uo.setValue(c);!this.sl&&0<c.length?(a.Ma.Jk(),this.sl=!0,this.dispatchEvent(new GX)):this.sl&&0==c.length&&(this.sl=!1,this.dispatchEvent(new GX));FA(b,Ml,this.sl)};
var GX=function(){G.call(this,"S")};B(GX,G);var HX=function(a,b,c,e,f){xS.call(this,a,f);this.ot=SV(b,a.B);this.Vi("vc");this.L=b;this.Pk=c;var g=null;XQ().Hua&&b.va(hl)&&b.getOption(dp)&&(g=new CX(a,"Upload problems?  We're doing maintenance, but things should be back to normal soon.",f),g.Ye(c),c=g);this.Xca=g;g=null;Fr(e,"bi")&&(g=new AX(a,f),g.Ye(c),c=g);this.Qca=g;var g=a.B,h=null,k=b.getOption(Yk),n=b.getOption("hideBc")||Fr(e,"dbbimv");k&&!b.getQuery()&&!n&&(k=a.ja.N(k))&&(h=new BX(a,b,k,f),h.Ye(c),c=h);this.qy=h;b=null;Fr(e,"at")&&
(b=new zX(a,this,f),b.Ye(c),c=b);this.US=b;e=null;g.iEa&&(e=new FX(a,void 0,f),e.Ye(c),c=e);this.Ds=e;f=this.cea();f.Ye(c);this.la(f);this.Wb=f;this.C().o(a.Ma,"E",this.Cq).Fl(this.Pk,Xe,this.Cq,!1,this)};B(HX,xS);r=HX.prototype;r.Lna=function(){this.Wb.getContext().yb.vQ()};
r.cea=function(){var a=this.getContext(),b=this.v(),c=y(this.Lna,this),e=a.B.sW;return!this.L.va(ri)||this.L.getOption(Xo)&&"gis"!=this.L.getOption(Xo)?this.L.va(hl)&&e?new DX(a,c,void 0,b):new TW(a,c,void 0,b):new EX(a,c,void 0,b)};r.j=function(){this.Wb.j();this.Sa(this.Wb.b())};r.D=function(){HX.g.D.call(this);var a=this.Ds;a&&this.C().o(a,"S",this.Cq);this.C().o(this.getContext().Ma,"F",this.As);this.oi("vc")};
r.F=function(a){var b=this.b();b.style.top=a?"":ra;b.style.left=a?"":ra;b.style.right=a?"":"9500px"};r.zH=function(a){this.Pk.zH(a)};r.getToken=function(){return this.L};r.nq=function(){return this.Pk.nq()};r.Pz=function(a){return this.Pk.Pz(a)};
r.setActive=function(a,b){HX.g.setActive.call(this,a,b);var c=function(c){c&&c.setActive(a,b)};c(this.Wb);c(this.Pk);c(this.US);c(this.Xca);c(this.qy);c(this.Ds);a&&(this.Ds&&this.Ds.setValue(this.getContext().Uo.getValue()),this.As(),H&&this.L.va(Cp)&&0==er(Ps,"7")&&M(function(){P(this.b(),"zoom","1")},0,this))};r.$g=function(a){this.Pk.$g(a)};r.Cq=function(a){if(this.Na){var b=this.getContext().Uo,c=this.Ds;c&&"E"==a.type&&this.YK()&&(c.setValue(""),b.setValue(""));this.As()}};
r.As=function(){var a=this.xEa(),a=this.YK()&&a||!!this.getContext().Uo.getValue();this.Wb.As(a)};r.YK=function(){var a=this.nq(),b=this.getContext().Ma.Gg(!0);return zr(b,a.contains,a)};r.xEa=function(){var a=CW(this.getContext()),b;Gr(a)||(b=a[0]);this.Wb.G7(!!b,BW(this.getContext(),b),0);return!b};r.A=function(){HX.g.A.call(this);delete this.Wb;delete this.US;delete this.Qca;delete this.qy;delete this.Pk;delete this.Ds};
r.jk=function(){var a=this.Pk.jk();!a&&this.qy&&(a=this.qy.focus());a||this.Wb.focus();return!0};r.mq=function(){return this.ot};var IX=function(){EV.call(this,"picker-web-control")};B(IX,EV);eq(IX);IX.prototype.j=function(a){var b=a.N(),c=b.getUrl(),e=b.getName(),f=JD(b.zt,GD,void 0),b=b.getAttribute("vu"),g=a.v(),c=g.j("a",{href:c,target:Gd,tabIndex:-1},g.Th(gy(e))),f=g.j(m,"picker-web-control-content",g.Th(gy(f)));return g.j(m,this.be(a).join(" "),g.j(m,"picker-web-control-title",c),f,g.j(m,"picker-web-control-url",b))};IX.prototype.$b=function(a){return a.b().firstChild};
IX.prototype.setState=function(a,b,c){IX.g.setState.call(this,a,b,c);32==b&&(Qw("a",null,a.b())[0].tabIndex=c?0:-1)};var JX=function(a,b,c){HW.call(this,a,b,void 0,zp,c)};B(JX,HW);JX.prototype.Oy=function(a){return new CV(this.getContext(),a,IX.K(),this.v())};var KX=function(){E.call(this)};B(KX,E);r=KX.prototype;r.Ih=function(){return!0};r.qT=function(){return!0};
r.create=function(a,b,c){if(a.va(Np)){var e=a.getQuery()?new JX(b,a,c):new dX(b,a,"Type your search in the box above to find web results using Google Web Search.",c);return new HX(b,a,e,[],c)}if(a.va(Le))return e=a.getQuery()?new OW(b,a,c):new dX(b,a,"Type your search in the box above to find eBook results using Google Books.",c),new HX(b,a,e,[],c);if(a.va(rp))return new wX(b,a,c);if(a.va("icon"))return new cX(b,a,c);if(a.va(ih))return new bX(b,a,new RW(b,a,c),c);if(a.va("promo"))return new eX(b,
a,c);e=new HW(b,a,new NW,void 0,c);return new HX(b,a,e,[],c)};r.m4=function(){return!1};r.load=function(a,b){a.call(b)};var LX=function(a,b){E.call(this);this.Un=a;this.T=b};B(LX,E);r=LX.prototype;r.H=Fv("picker.ui.ModuleViewCreator");r.Ih=function(){return iT.K().Rf(this.Un).Ih()};r.load=function(a,b){L(this.H,"Loading module id="+this.Un);var c=UV(this.Un),e=this.T.Lh;e&&c&&e.Vi("ml",c);iT.K().bq(this.Un,function(){e&&c&&e.oi("ml",c);a.call(b||null)},void 0,void 0,!0,!0)};r.create=function(a,b,c){var e=iT.K().Rf(this.Un).bk;return e&&e.SMa(a,b,c)};r.qT=function(a,b){return this.Un==ES(a,b)};
r.m4=function(a,b){var c=ES(a,b);return"opu"==c||c==Hk||XP(a.ta)};var MX=function(a){E.call(this);this.P=a||N();this.AB={}};B(MX,E);MX.prototype.A=function(){Wr(this.AB,this.P.removeNode,this.P);this.P=this.AB=null;MX.g.A.call(this)};MX.prototype.S4=function(a,b){var c=this.sja(b||Xl);tx(c,"");M(function(){tx(c,a)},1)};
MX.prototype.sja=function(a){var b=this.AB[a];if(b)return tA(b,ai),b;b=this.P.createElement(d);b.style.position=Ld;b.style.top="-1000px";b.style.height="1px";b.style.overflow=ai;S(b,tj,a);S(b,xe,Wo);this.P.N().body.appendChild(b);return this.AB[a]=b};var NX=function(a){E.call(this);this.ja=a;this.Kc=new K;this.Eb=[]};B(NX,E);r=NX.prototype;r.Vx=function(a){this.Kc.set(a.I(),a);this.jCa=z();this.Zh||(this.Zh=new VC(this.Hwa,1E3,this),this.Zh.Yt())};r.pa=function(a){this.Zh?this.Eb.push(a):a()};r.Hwa=function(){this.ja.Rc(new US(il,this.Kc.kb(),{}),y(function(a){this.yna(a);this.UW()},this),y(this.UW,this))};r.UW=function(){this.Kc.xa()&&z()<=this.jCa+1E4?this.Zh.Yt():(delete this.Zh,D(this.Eb,function(a){a()}),Hr(this.Eb))};
r.yna=function(a){D(a.kc(),function(a){var c=a.pk;if(c&&0<c.length){var e=c[c.length-1];0<e.Tf()&&0<e.Dh()&&(a=a.I(),this.Kc.get(a).kP(c),this.Kc.remove(a))}},this)};r.A=function(){this.Zh&&(this.Zh.dispose(),delete this.Zh)};var OX=function(a,b){YR.call(this);this.On=a;this.wb=b};B(OX,YR);OX.prototype.Nf=Mu(new Gx("setuserpref"));OX.prototype.Zb=function(){return 16};OX.prototype.Ge=function(){var a=new K;a.set(cj,this.On);a.set(wp,this.wb);return a};var PX=function(a,b){J.call(this);this.T=a;this.YM=b};B(PX,J);PX.prototype.get=function(a){return this.YM[a]};PX.prototype.set=function(a,b,c,e){this.YM[a]=b;this.T.ja.Rc(new OX(a,b),y(function(){c&&c()},this),y(function(){e&&e()},this));this.dispatchEvent(new QX(a,this))};PX.prototype.bia=function(a){a=this.YM[a];if(a==Wo)return!0;if(a==Qg)return!1};PX.prototype.fya=function(a,b,c,e){this.set(a,String(b),c,e)};var QX=function(a,b){G.call(this,"prefUpdate",b);this.key=a};B(QX,G);var RX=function(a,b){this.TR=b.apn;this.eba=b.apnl;this.jT=b.buildLabel;this.Xfa=b.dpm;this.uj=b.email;this.dla=b.gdn;this.g0=b.dip;this.H4=b.rig;this.QL(b.sis);this.L=b.token;this.hEa=b.uriParams;this.X9=new PX(a,b.pref||{});this.tEa=b.userId;this.QL(b.wcs);this.QL(b.wcvs);this.jga=!!b.cac;this.BH=!!b.ecmh};RX.prototype.QL=function(a){return(XQ().M9+a).replace("picker/picker",kl)};RX.prototype.getEmail=function(){return this.uj};RX.prototype.getToken=function(){return this.L};var SX=function(a,b,c){E.call(this);this.ie=new UF;OA=XQ().Me();var e=new pT(a),f=new bU,g=new vS,h=new yS,k=new xT(a,h),n=new NX(e);b=new JT(a,k,b);var q=new gU(e),u=this.Tca(a),A;XQ().hga&&(A=new WR,A.fm(a.ul),A.Vi("ev","evavc"));this.mp=new MX(c);var ca=iT.K();ca.ir||ca.Hza(u);g=new FU(f,b,g,h,k,e,a.JE,n,this.ie,q,a,this,u,this.mp,A);b.Hw(g);e.Hw(g);f.Hw(g);if(window.top!=window.parent&&!XQ().Xn&&(e.Jc(45),a.Cfa))throw Error(a.Bfa);if(!XQ().isNative()&&window.location.ancestorOrigins&&0<window.location.ancestorOrigins.length&&
(f=window.location.ancestorOrigins[window.location.ancestorOrigins.length-1],(h=a.gua)&&(h=Px(h).Te("").Sr("").Wh(void 0).toString()),h!=f))throw e.Jc(0),Error("Incorrect origin value. Please set it to - (window.location.protocol + '//' + window.location.host) of the top-most page");this.T=g;this.SG=a.efa?new VJ(kl):null;this.Xo=new KW(g,c);this.T.Kza(this.Xo.bg);a=this.T;for(c=0;c<DS.length;c++)e=new LX(DS[c],a),JW.push(e);a=new KX;JW.push(a);this.initializeFromServer=this.vK;this.dispose=this.dispose;
M(b.hDa,0,b)};B(SX,E);r=SX.prototype;r.initialize=function(){var a=this.T.B,b=this.SG;b&&(b.X(!0),b.Sba());try{document.execCommand(Ab,!1,!0)}catch(e){}mU=a.tsa;AU=a.pga;BU=a.Ym;CU=a.iga;nU=a.pEa;this.ie.pa(function(a){WQ&&XQ().mga(a.BH)});var c=this.T.ja;c.Ux(new LU);D(a.Kxa,function(a){c.Ux(this.bl().get(a))},this.T);this.ie.pa(function(a){ZR=a.getToken();var b=$R||{};os(b,a.hEa);$R=b;c.i8.initialize()});this.Xo.Z(a.b());H&&0==er(Ps,"7")&&M(function(){P(a.b(),"zoom","1")},0,this)};
r.Tca=function(a){var b=new kR(a.bl()),c=N(a.uq()),c=new vR(b,c.N());b.Li(gR,c);c=new SR(b);b.Li(hR,c);a={locale:XQ().Ne,ci:a.DEa};b.Li(iR,new TR(a));a=new HR(new tR(void 0,31536E6));a=new NR(xm,a);var e=new QR(a);a.la(e);this.ie.pa(function(a){e.setValue("oid",a.tEa)});a=new wR(b,a);b.Li(fR,a);return b};r.vK=function(a){this.ie.an||this.ie.Ac(new RX(this.T,a))};r.ud=function(a){this.T.se.Et(a)};r.getContext=function(){return this.T};
r.A=function(){SX.g.A.call(this);F(this.Xo);delete this.Xo;F(this.mp);delete this.mp;F(this.T);delete this.T;var a=this.SG;a&&(a.X(!1),a.E5(!1),delete this.SG)};var TX=function(a,b){if(window.google&&window.google.maps)a();else{w("picker.api.ExternalCodeLoader.onMapsApiLoaded",a,void 0);var c=document.createElement(Am);c.src="//maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=true&language="+XQ().Ne+"&callback=picker.api.ExternalCodeLoader.onMapsApiLoaded";c.type=Fo;document.body.appendChild(c);AM(".pac-container{z-index:20000 !important; background-color: #fff; border: 1px solid #bbb;} .pac-item{padding:6px 8px;}",b)}};var UX=function(a,b){var c=b||N(),e=c.j(m,"picker-native picker-min goog-menu"),f=a.ml().minew;f&&T(e,yl);var g=a.Tf()||248,h=a.Dh()||f?311:300;Hy(e,g,h);a.ee()&&yA(e,a.ee());c.appendChild(c.N().body,e);PQ.call(this,e,c);this.Tq=f;this.R()?this.JP():this.IA();this.ba=c;this.ze=a;this.rK=this.Ps(a.rp)+"pir";this.f6(!1);this.Ew(!1);this.Ry=!1;this.jj=new OQ(b);this.ha(this.jj);this.jj.Z(e);this.o5()};B(UX,PQ);var VX=[hi,"hl"];r=UX.prototype;r.H=Fv(Rl);r.cm=null;
r.qj=function(){if(!this.Ry){this.Ry=!0;var a=this.ze.ml();a.outerElement||(a.outerElement=this.b());a.element=this.b();a.loadingStatusElement=this.b();a.uriPrefix=this.Ps(this.ze.rp);a[gk]=!0;a=new ZQ(a);this.ze.Uu(Ej)?TX(y(this.hv,this,a),this.v()):this.hv(a)}};
r.o5=function(){var a=new yw,b=this.ze.tk();b.ik("").Te(this.rK).W("app","2").W("subapp","5");var c=this.ze.ml(),e=c.authuser;e&&b.W(Ae,e);(e=c.groupId)&&b.W("groupId",e);(e=c.gmailDelegatorId)&&b.W(sh,e);(e=c.apt)&&b.W("apt",e);Wr(hQ,function(a){c[a]&&b.W(a,!0)});var f={};D(VX,function(a){f[a]=b.cb(a);b.dw(a)});e=b.getQuery();b.Wh(Rx(f));qt(a,wo,y(this.yJ,this,a));a.send(b,Hc,e)};
r.yJ=function(a){var b=this.ze.ml();a=a.re();try{var c=Yq(a,oa);this.cm=At(c);this.Dv()}catch(e){Gv(this.H,Bb+a),(b=b.serverConfigErrback)&&b(a)}};r.Gq=function(a){return!!this.ze.ml()[a]};r.Dv=function(){this.Ic&&this.cm&&this.Ic.vK(this.cm)};r.Ps=function(a){a=a||"";return"/"==a[a.length-1]?a:a+"/"};r.hv=function(a){this.Ic||(this.Ic=new SX(a,y(this.YJ,this,this.ze.Vc),this.v()),this.Ic.initialize(),this.Dv())};
r.YJ=function(a,b){var c=b.action;if(c==Jp||c==Gp)this.oa();else if(c!=Ue||this.R())c!=jl&&c!=Ue||this.F(!1),a(b)};r.ud=function(a){a.action==qm?(this.Ic&&!this.R()&&(this.Ic.dispose(),this.Ic=void 0,this.cm=null,this.Ry=!1,this.o5()),this.qj()):this.Ic.ud(a)};r.Oc=function(){UX.g.Oc.call(this);this.L2();this.yra();this.qj();this.ud(new bQ(!0));lA(new Fw(0,0),this.b(),0,this.zu());this.kS()};
r.oa=function(){if(this.Ry){UX.g.oa.call(this);var a=this.getPosition();a instanceof kB?this.jj.BT(a.element,this.b(),this.fo):this.jj.update(this.b(),this.fo,this.zu())}};r.At=function(a){this.Ic&&this.Ic.getContext().B.At(a)};r.Vg=function(a){UX.g.Vg.call(this,a);this.w2();this.ud(new bQ(!1))};r.A=function(){F(this.Ic);kx(this.b());UX.g.A.call(this)};
r.yra=function(){this.C().Fl(this.b(),Zf,this.gE,!1,this).Fl(this.b(),ef,this.gE,!1,this).Fl(this.b(),Uj,this.gE,!1,this).Fl(this.b(),Yj,this.gE,!1,this)};r.gE=function(a){a.stopPropagation()};var WX=function(a,b){UA.call(this,this.Ae,!0,b);this.ze=a;this.Ri(a.Ee);this.rK=this.Ps(a.rp)+"pir";this.tO(!1)};B(WX,uQ);var XX=[hi,"hl"];r=WX.prototype;r.H=Fv(Sl);r.GV="picker-modal-dialog";r.cm=null;r.Ae="picker "+WX.prototype.GV;r.D=function(){WX.g.D.call(this);var a=this.hc,b=a.Qk;if(a=b&&a.Cj(b))a.disabled=!0;a=this.Eu();a=this.C().o(a,Xj,y(this.mZ,this,!0)).o(a,Wj,y(this.mZ,this,!1)).o(this,fg,y(this.yla,this));GQ(this.b(),a);GQ(this.cl(),a)};r.yla=function(a){a.key==this.hc.kj&&this.ud(new PP)};
r.mZ=function(a){FA(this.Eu(),this.GV+"-title-close-hover",a)};
r.Z=function(a){WX.g.Z.call(this,a);T(this.Eu(),Ll);this.E9();this.C().o(this.v().xb(),tm,this.E9);a=this.ze;var b=a.ml(),c=a.ee();c?(this.$a(c),b.dfc&&(c=this.v().j(jo,this.Ae+"-dogfood-confidential-text",Tb),this.nn().appendChild(c)),a.Lq()):Q(this.nn(),!1);var c=new yw,e=a.tk();e.ik("").Te(this.rK).W("app","2").W("subapp","5");var f=b.authuser;f&&e.W(Ae,f);(f=b.groupId)&&e.W("groupId",f);(f=b.gmailDelegatorId)&&e.W(sh,f);(f=b.apt)&&e.W("apt",f);Wr(hQ,function(a){b[a]&&e.W(a,!0)});this.C().Zf(c,
wo,y(this.yJ,this,c));var g={};D(XX,function(a){g[a]=e.cb(a);e.dw(a)});f=e.getQuery();e.Wh(Rx(g));c.send(e,Hc,f);b.outerElement||(b.outerElement=this.Dj());b.element=this.M();b.loadingStatusElement=this.M();b.uriPrefix=this.Ps(a.rp);b[gk]=!0;c=new ZQ(b);a.Uu(Ej)?TX(y(this.hv,this,c),this.v()):this.hv(c)};r.oa=function(){if(this.Gq(Ym)){var a=Iy(this.b()),b=Ww(this.v().xb()),a=Math.max(b.width/2-a.width/2,0),b=this.v().Pf().y;ry(this.b(),a,b)}else WX.g.oa.call(this)};
r.Cb=function(a,b){this.v();var c=this.b(),e=Sy(c),c=a-e.right-e.left,e=b-e.top-e.bottom;Hy(this.M(),c,e);if(Ly(this.nn())){var f=Iy(this.nn()),e=e-f.height;Fy(this.Mka(),c-50)}Hy(this.M(),c,e);this.oa()};r.E9=function(){var a=this.Gq(Ym)?IQ(this.v().xb()):JQ(this.v().xb(),this.ze.Tf(),this.ze.Dh());this.Cb(a.width,a.height)};r.yJ=function(a){var b=this.ze.ml();a=a.re();try{var c=Yq(a,oa);this.cm=At(c);this.Dv()}catch(e){Gv(this.H,Bb+a),(b=b.serverConfigErrback)&&b(a)}};r.Gq=function(a){return!!this.ze.ml()[a]};
r.Dv=function(){this.Ic&&this.cm&&this.Ic.vK(this.cm)};r.Ps=function(a){a=a||"";return"/"==a[a.length-1]?a:a+"/"};r.hv=function(a){this.Ic=new SX(a,y(this.YJ,this,this.ze.Vc),this.v());this.Ic.initialize();this.Dv()};r.YJ=function(a,b){var c=b.action;c!=jl&&c!=Ue||this.F(!1);a(b)};r.ud=function(a){this.Ic.ud(a)};r.F=function(a){this.Ic&&!this.Ic.HI()?this.n7(a,0):WX.g.F.call(this,a)};
r.n7=function(a,b){if(a){this.Y||this.Z();var c=Iy(this.b());10>b&&(0>=c.width||0>=c.height)&&M(y(this.n7,this,a,b++),10);WX.g.F.call(this,!0);this.Ic&&this.Ic.getContext().yb.FZ()}!a&&this.Ee||this.ud(new bQ(a));a||WX.g.F.call(this,!1)};r.A=function(){F(this.Ic);WX.g.A.call(this)};var Z=function(a){MQ.call(this,a||"/picker");this.Za={};this.sK=new Gx(this.rp);this.Oe=[];this.NQ={};this.Za.uploadConfigs=[];(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.Sw(a)};B(Z,NQ);r=Z.prototype;r.Ee=!1;r.Ns=function(a,b){this.Oe.push([a,b||{}]);return this};r.Yba=function(a,b){this.Za.uploadConfigs[a]=b;return this};
r.Ws=function(){this.Za.pp=this.Oe.length?this.Oe:void 0;this.Za.uploaders=gs(this.NQ)?void 0:this.NQ;var a=this.Za;if(!a.hl)throw Error("locale must be set");if(!a.hostId)throw Error("host id must be set");this.zEa()};r.Vs=function(){this.Ws();if(this.Za.minimal)throw Error(up);return new WX(this,this.v())};r.RF=function(){this.Xk(Rj);this.Ws();return new UX(this,this.v())};r.jH=function(a){this.Za.noAutoHide=a;return this};r.Pp=function(a){hs(this.Za,a);return this};
r.Xk=function(a){this.Za[a]=!0;a==em&&this.AD("square").Ns(dm);return this};r.GI=function(){return this.Ee};r.Dh=function(){return this.Kj};r.ml=function(){this.Za.nav=this.Hja();return this.Za};r.ee=function(){return this.Za.title};r.Tf=function(){return this.pg};r.Dw=function(a){this.Za.authuser=a;return this};r.AD=function(a){this.Za.cropMode=a;return this};r.Ri=function(a){this.Ee=a;return this};r.HD=function(a){this.Za.maxSizeBytes=a;return this};
r.r6=function(a){this.Za.maxSizeBytesPerItem=a;return this};r.Qw=function(a){this.Za.maxItems=a;return this};r.s6=function(a){this.Za.maxVD=a;return this};r.e6=function(a){this.Za.groupId=a;return this};r.fm=function(a){if(!a.match("^[a-zA-Z0-9_\\-\\.]+$"))throw Error("Illegal host id");this.Za.hostId=a;this.sK.W(hi,a);return this};r.Sw=function(a){a&&(this.Za.origin=a);return this};r.Ur=function(a){this.Za.defaultView=a;return this};r.n6=function(a){this.Za.learnMore=a;return this};
r.Pw=function(a){this.Za.hl=a;this.sK.W("hl",a);return this};r.N6=function(a){this.Za.selectableMimeTypes=Ct(a.split(","));return this};r.Zr=function(a){this.Za.selectButtonLabel=a;return this};r.Cb=function(a,b){this.pg=a;this.Kj=b;return this};r.bs=function(a){var b=[];a=a.split(",");for(var c=0;c<a.length;c++)b.push(a[c]);this.Za.thumbs=b;return this};r.$a=function(a){this.Za.title=a;return this};r.FAa=function(a){this.Za.subTitle=a;return this};r.e7=function(a){this.Za.ui=a;return this};
r.jm=function(a){this.Za.uploadToAlbumId=a;return this};r.tk=function(){var a=this.sK.W("nav",this.xi()).W(gk,"1");a.W("origin",this.Za.origin);this.Oe.length&&a.W("pp",Ct(this.Oe));return a.clone()};r.XD=function(a){this.Za.srum=a;return this};r.MD=function(a){this.Za.serviceIds||(this.Za.serviceIds=[]);this.Za.serviceIds.push(a);return this};
r.zEa=function(){for(var a=this.sA(dp),b=0;b<a.length;b++){var c=a[b],e=c.getQuery();if(!e||!this.Za.uploadConfigs[e])throw Error("missing upload configuration for: "+c);}};var YX=function(){this.ve={}};r=YX.prototype;r.Vxa=function(a){this.ve.at=a;return this};r.kO=function(a){this.ve.det=a;return this};r.oO=function(a){this.ve.dzt=a;return this};r.nO=function(a){this.ve.dzat=a;return this};r.V5=function(a){this.ve.text=a;return this};r.Cza=function(a){this.ve.mechanisms=a;return this};r.Fza=function(a){this.ve.metadata=a;return this};r.XO=function(a){this.ve.selectLabel=a;return this};r.MD=function(a){this.ve.serviceId=a;return this};
r.i7=function(a){this.ve.uet=a;return this};r.Eo=function(a){this.ve.url=a;return this};r.Vs=function(){var a=this.ve;if(!a.url)throw Error("url must be specified");return new LQ(a)};
var ZX=function(a){a=a.replace("_","-");"en-us"==a.toLowerCase()&&(a="en_us");return"https://picasa.google.com/intl/{locale}/web/privacy.html".replace("{locale}",a)},$X=function(a){a='When you upload photos, they\'ll be stored  in an online album in Picasa Web Albums, Google\'s free photo sharing service.\n <a target="_blank" class="upload-text-a" href="'+(ZX(a)+'">View Picasa program policies and privacy notice</a>');return(new YX).V5(a).i7("There was an upload error.<br>Make sure to upload a JPG, GIF, or PNG file and try again.").kO("Oops, you dragged more than one photo!<br>Please only drag your desired photo.").MD(il).oO("Drag photos here").nO(Gc).XO("Select photos from your computer").Cza(["XHR",
nc]).Eo("/upload/photos/resumable").Fza({disable_asbe_notification:Wo})};w(Sl,WX,void 0);WX.prototype.render=WX.prototype.Z;WX.prototype.setVisible=WX.prototype.F;WX.prototype.getDisposeOnHide=WX.prototype.GI;WX.prototype.listen=WX.prototype.o;WX.prototype.dispose=WX.prototype.dispose;w(Rl,UX,void 0);UX.prototype.setMargin=UX.prototype.q6;UX.prototype.setPinnedCorner=UX.prototype.TO;UX.prototype.sendCommand=UX.prototype.ud;UX.prototype.disableAnimateView=UX.prototype.At;w("picker.api.NativePickerBuilder",Z,void 0);Z.prototype.addLabel=Z.prototype.Dk;
Z.prototype.addUploadConfiguration=Z.prototype.Yba;Z.prototype.addView=Z.prototype.Ek;Z.prototype.addViewGroup=Z.prototype.Fk;Z.prototype.build=Z.prototype.Vs;Z.prototype.buildMinimal=Z.prototype.RF;Z.prototype.disableFeature=Z.prototype.Pp;Z.prototype.disableAutoHide=Z.prototype.jH;Z.prototype.enableFeature=Z.prototype.Xk;Z.prototype.getNav=Z.prototype.xi;Z.prototype.getProtocol=Z.prototype.Bu;Z.prototype.getRelayUrl=Z.prototype.getRelayUrl;Z.prototype.getSelectButtonLabel=Z.prototype.mn;
Z.prototype.getTitle=Z.prototype.ee;Z.prototype.hideTitleBar=Z.prototype.Lq;Z.prototype.isFeatureEnabled=Z.prototype.JK;Z.prototype.resetNav=Z.prototype.Fr;Z.prototype.setAuthUser=Z.prototype.Dw;Z.prototype.setCallback=Z.prototype.wo;Z.prototype.setHostId=Z.prototype.fm;Z.prototype.setInitialView=Z.prototype.Ur;Z.prototype.setLearnMore=Z.prototype.n6;Z.prototype.setLocale=Z.prototype.Pw;Z.prototype.setMaxItems=Z.prototype.Qw;Z.prototype.setOrigin=Z.prototype.Sw;Z.prototype.setProtocol=Z.prototype.Yr;
Z.prototype.setRelayUrl=Z.prototype.setRelayUrl;Z.prototype.setSelectButtonLabel=Z.prototype.Zr;Z.prototype.setThumbs=Z.prototype.bs;Z.prototype.setTitle=Z.prototype.$a;Z.prototype.setSubTitle=Z.prototype.FAa;Z.prototype.setUiVersion=Z.prototype.e7;Z.prototype.setUploadToAlbumId=Z.prototype.jm;Z.prototype.toUri=Z.prototype.tk;w("picker.api.UploadConfigurationBuilder",YX,void 0);YX.prototype.build=YX.prototype.Vs;YX.prototype.setUploadErrorText=YX.prototype.i7;YX.prototype.setDragErrorText=YX.prototype.kO;
YX.prototype.setDropZoneText=YX.prototype.oO;YX.prototype.setDropZoneAltText=YX.prototype.nO;YX.prototype.setSelectFilesLabel=YX.prototype.XO;YX.prototype.setServiceId=YX.prototype.MD;YX.prototype.setUrl=YX.prototype.Eo;w("picker.api.UploadConfigurationBuilder.createPhotosBuilder",$X,void 0);
w("picker.api.UploadConfigurationBuilder.createVideosBuilder",function(a){var b='By uploading videos, you agree to the <a target="_blank" class="upload-text-a" href="'+(ZX(a)+'">Upload Terms and Conditions</a>.');return $X(a).Vxa([Ap]).V5(b).XO("Choose videos to upload").kO("Oops, you dragged more than one image!").oO("Drag videos here").nO(Gc)},void 0);var aY=function(a){this.kEa=a||!1};B(aY,AB);var bY=null;r=aY.prototype;r.DY=function(){return this.kEa?m:"tr"};r.j=function(a){var b=this.be(a);return a.v().j(this.DY(),b?{"class":b.join(" ")}:null)};r.Bc=function(a){return a.tagName.toLowerCase()==this.DY()};r.U=function(a,b){return aY.g.U.call(this,a,b)};
r.sX=function(a){switch(a){case ag:return"upload-state-default";case Di:return"upload-state-inqueue";case oo:return"upload-state-start";case Uo:return"upload-state-upload";case "pause":return"upload-state-pause";case Ee:return"upload-state-backoff";case wo:return"upload-state-complete";case Hg:return"upload-state-error";case Ue:return"upload-state-cancel";default:return""}};r.Od=function(a){aY.g.Od.call(this,a);Py(a.b(),!1,Es);a.LO("");a.zI().F(!1);a.hJ().F(!1)};
r.IE=function(a){var b=a.getMessage();a=a.Bja();b?(a.mb(" ("+b+")"),a.F(!0)):(a.mb(""),a.F(!1))};r.pP=function(a,b,c){a.nN(this.sX(b));a.zk(this.sX(c));a.mY().F(c==ag||c==Di);a.zI().F(c==oo||c==Uo||c==Ee);b=a.getValue();a.hJ().F(b.sT)};r.V=function(){return"upload-file"};var cY=function(a,b,c){EB.call(this,a,b||bY||(bY=new aY),c);this.cG=new K;this.Or(!0)};B(cY,EB);cY.prototype.dispatchEvent=function(a){try{return cY.g.dispatchEvent.call(this,a)}catch(b){Gv(this.H,hc,b)}};var dY={DEFAULT:ag,V$:Di,Raa:oo,Waa:Uo,mJa:"pause",eFa:Ee,Taa:wo,oaa:Zk,ERROR:Hg,fp:Ue};r=cY.prototype;r.H=Fv("apps.uploader.ui.FileItem");r.Ex=ag;r.U3=null;r.vT=null;r.C4=null;r.L1=null;r.Sn="";r.mY=function(){return this.U3||(this.U3=new rC(null,ZE.K(),this.v()))};
r.zI=function(){return this.vT||(this.vT=new rC(null,ZE.K(),this.v()))};r.hJ=function(){return this.C4||(this.C4=new rC(null,ZE.K(),this.v()))};r.Bja=function(){return this.L1||(this.L1=new EB("",void 0,this.v()))};r.setValue=function(a){this.Sc(a);this.IE()};r.getValue=function(){return this.ca};r.IE=function(){this.O.IE(this)};r.pP=function(a){if(a!=this.Ex){if(es(dY,a)){var b=this.Ex;this.Ex=a;this.O.pP(this,b,a);return!0}throw Error("Unsupported upload state: "+a);}return!1};r.G7=function(a){this.LO(a)};
r.getMessage=function(){return this.Sn};r.LO=function(a){a!=this.Sn&&(this.Sn=a,this.IE())};r.ad=function(a){a.target!=this.b()&&this.Bla(a);return cY.g.ad.call(this,a)};r.Bla=function(a){var b=a.target.id;this.cG.Xb(b)&&this.cG.get(b)(a)};r.lN=function(a,b){this.cG.set(a.I(),b)};r.D=function(){cY.g.D.call(this);this.b().id=this.Rg(Vg);this.O.pP(this,this.Ex,this.Ex);this.lN(this.mY(),y(this.pna,this));this.lN(this.zI(),y(this.wla,this));this.lN(this.hJ(),y(this.Ana,this))};r.pna=function(){this.dispatchEvent("removeclicked")};
r.wla=function(){this.dispatchEvent("cancelclicked")};r.Ana=function(){this.dispatchEvent("retryclicked")};wB("upload-file",function(){return new cY(null)});Fv("apps.uploader.ui.DirectoryItem");Fv("apps.uploader.ui.Thumbnail");var eY=function(){};r=eY.prototype;r.Cpa=function(){this.Qsa=new fY(webspace.domain,webspace.name,webspace.siteNoticeMessage,webspace.siteNoticeRevision)};r.ksa=function(){var a=this.Qsa;if(!a.getMessage()||this.Rsa(a))return!1;this.swa(a);return!0};r.Rsa=function(a){var b=wq.get(aj);return b?Fr(b.split("|"),String(a.E4)):!1};r.Vla=function(a){this.$va();var b=wq.get(aj);a=String(a.E4);b&&(a=b+"|"+a);this.Dya(a)};r.Dya=function(a){wq.set(aj,a,7776E3,this.yia())};r.yia=function(){return webspace.baseUri};
r.swa=function(a){var b=a.getMessage();if(b){b=ZD(rH,{message:b,eu:webspace.features.moreMobileStyleImprovements});b.setAttribute(vm,eg);this.i2=b;var c=IE("Ok, got it");I(c,l,y(this.Vla,this,a));c.Z(b);if(webspace.siteNoticeUrlEnabled){var e=mu(webspace.siteNoticeUrlAddress);ju(e)!=Jd&&(a=IE("More details"),I(a,l,function(){window.open(ju(e))}),a.Z(b),a.b().setAttribute(vm,"link"))}jx(document.body,b,0);b.focus()}};r.$va=function(){this.i2&&kx(this.i2)};
var fY=function(a,b,c,e){this.Bd=a;this.xk=b;this.Sn=c;this.E4=e};fY.prototype.getMessage=function(){return this.Sn};var gY=function(){this.j2=new eY;JOT_addListener("usercontentrendered",y(this.Tya,this))};w("JOT_setupPostRenderingManager",function(){return new gY},void 0);gY.prototype.Tya=function(){this.j2.Cpa();if(!this.j2.ksa()){var a=document.getElementById("sites-page-title");a&&a.focus()}};var hY=YI.K();webspace.commonSharingUrl=webspace.baseUri+"/system/app/pages/admin/commonsharing";webspace.manageUrl=webspace.user.hasAdminAccess?webspace.baseUri+"/system/app/pages/admin/settings":webspace.baseUri+"/system/app/pages/admin/recentsiteactivity";webspace.monetizeUrl=webspace.baseUri+Ta;
var iY=new Gx(new String(window.location)),jY=iY.cb("pageDeleted"),kY=iY.cb("pageReverted"),lY=iY.cb("pageRevertErr"),mY=iY.cb("pageUrlChanged"),nY=iY.cb("pageMoved"),oY=iY.cb("unsubPage"),pY=iY.cb("unsubSite"),qY=iY.cb(cm),rY=iY.cb("templateSaved"),sY=iY.cb("webspaceRestored");
if(jY)R("Page deleted.");else if(kY){var tY="Page reverted to revision "+Qq(kY);R(tY)}else if(lY)R("Unable to revert to previous revision.");else if(mY){var uY="Page URL changed to "+Qq(mY);R(uY)}else if(nY){var vY='"'+(Qq(webspace.page.title)+('" has been moved under "'+(Qq(decodeURIComponent(nY))+'"')));R(vY)}else oY?R(Dd):pY?R(Cd):qY?R("Viewer preview"):rY?(R("The page template has been saved."),xz(1E4)):sY&&(R("Webspace restored successfully."),xz(1E4));
JOT_addListener(wc,function(){function a(a,c,e,f,g){if(40==g.keyCode||38==g.keyCode||13==g.keyCode)b(a,c,e,f),g.preventDefault(),g.stopPropagation()}function b(a,b,c,e){O("page-btns").style.display!=lk&&a.x7(b,c,e)}function c(){PF(td,ad,DG(webspace.baseUri,webspace.page.path,tb))}function e(){window.jstiming.load.t={};window.jstiming.load.tick("_start_edit");NF(td,bc);JOT_postEvent(Vk)}function f(a){PF(td,Pb,DG(webspace.baseUri+"/system/app/pages/createPage"+(a?"?pt=":"?source=")+webspace.page.path))}
function g(){PF(td,Xc,DG(webspace.commonSharingUrl+"#"+webspace.page.path))}var h=webspace.page.isRtlLocale,k=0==webspace.page.path.indexOf(Ja),n=O(eo);if(n){var q=new HE;q.U(n);I(q,l,c);q.X(!0);n.setAttribute(te,ad)}if(n=O(yg))q=new HE,q.U(n),q.fh(2),I(q,l,e),q.X(!0),n.setAttribute(te,k?cc:bc);if(q=O(Rf)){var u=new HE;u.U(q);n&&(u.fh(1),Gz(n,"collaborator-btn-collapse-right"));I(u,l,sq(f,k));u.X(!0);q.setAttribute(te,k?Ob:"Create page")}if(q=O("sites-share-visibility-btn"))k=webspace.user.hasAdminAccess,
n=new EP,n.U(q),n.Cj().X(k),q=yN(webspace.page.pageInheritsPermissions),q==zi?n.x5("This page has custom permissions. New users added to this site will also be added to this page.","sites-share-button-permission-inherits-icon"):q==yi&&n.x5("This page has custom permissions. New users added to this site will not be added to this page.","sites-share-button-permission-ignores-icon"),k&&I(n,l,g);if(k=O(Tj))n=new HE,n.U(k),n.X(!0);k=Sw("sites-collaborator-bar-back-arrow");Sw("sites-site-name-link")&&k&&
new qF(k,"Back to My Sites");Sw("sites-site-template-name")&&k&&new qF(k,"Back to template listing");q=O("more-actions-menu");k=O(Tj);if(q&&k){n=new wY;n.U(q);q=h?1:5;h=h?0:4;n.Wd(k,q,h);Uw(k,{"aria-haspopup":Wo});(u=Ex(k,void 0,Ni))&&I(u,dj,sq(a,n,k,q,h));h=new fJ(sq(b,n,k,q,h),!0);hY.lh(h,h.gq);if(q=O(en))q=!Jz(q,cn),n.dl(en).X(q);h.kp(k);(new YG).E_(n)}});JOT_postEvent(wc);var wY=function(a,b){UB.call(this,a,b)};B(wY,UB);
wY.prototype.Ec=function(a){if(13==a.keyCode&&this.Eh())for(var b=this.Eh().b();null!=b;b=ox(b))if(b.getAttribute(yk))return b.onclick(null),this.F(!1),!0;return TB.g.Ec.call(this,a)};var xY=function(a,b,c,e){E.call(this);webspace.user&&(this.ira=a,this.qua=b||null,this.e0=!!c,this.Gz=String(webspace.user.sessionIndex),this.rh=(e||"/_/sharing")+"/share",this.Fo=null,this.J=new GA(this),this.pB=[],this.Jea(this.e0),this.pB.push(JOT_addListener("showShareDialog",y(this.yBa,this))))};B(xY,E);w("sites.core.sharing.Client",xY,void 0);r=xY.prototype;r.tb=null;r.vi=function(){return this.J};
r.Jea=function(a){var b=a?webspace.pageSharingId:webspace.sharingId;this.tb=this.Xra();this.Fo=new GP(this.Gz,webspace.sharingId,"jotspot",void 0,webspace.page.locale,!0,b,this.tb);this.Fo.cya(this.rh);this.nza(a,this.ira,this.qua);this.J.o(this.Fo,vj,this.$na);this.e0=a};r.nza=function(a,b,c){this.Fo.oza(a?c:b)};r.Xra=function(){return new LP};r.bP=function(a){this.tb&&this.tb.bP(a)};r.yBa=function(){this.Fo.yj(Xm)};r.$na=function(){KG("IncrementShareErrors",{})};
r.A=function(){xY.g.A.call(this);for(var a=0;a<this.pB.length;a++)JOT_removeListenerByKey(this.pB[a]);this.pB=null;F(this.Fo);this.Fo=null;F(this.J);this.J=null;F(this.tb);this.tb=null};var AY=function(a,b,c){this.bC=a;this.title=b;this.dom=N(document);this.$B=this.dom.b(Cb+a);var e=this.Sja();e&&this.cX(this.$B,function(a){this.b6(a,!Fr(e,a.getAttribute("wuid")))});a=this.dom.ti(d,"current-bg",this.$B);if(0<a.length)for(this.rG=!0,a=a[0].parentNode;a;)a=this.iA(a),qx(a)&&this.b6(a,!1);I(this.$B,ef,y(this.Ksa,this));yY.push(this);c||zY.push(this)};AY.prototype.rG=!1;var yY=[],zY=[];r=AY.prototype;r.lR="SitesNav";r.C$=5184E3;r.aaa=40;r.rR="+";r.oR="x";
r.cX=function(a,b,c){b=y(b,this);a=this.dom.ti("LI",Yk,a);for(var e=0;e<a.length;e++)b(a[e],c)};r.b6=function(a,b){FA(a,gf,b)};r.iA=function(a){return this.dom.Wha(a.parentNode,"LI",Yk)};r.rX=function(a){return null==a?null:(a=Qw("ul",null,a))&&a[0]?a[0]:null};r.Sja=function(){var a=wq.get(this.lR+this.bC);return null==a?null:""==a||a==this.oR?[]:a.split(this.rR)};
r.MDa=function(){var a=[];this.cX(this.$B,function(b){var e=b.getAttribute("wuid");e&&!BA(b,gf)&&a.push(e)});var b=a.slice(0,this.aaa).join(this.rR),b=b||this.oR;wq.set(this.lR+this.bC,b,this.C$,webspace.baseUri)};r.Ksa=function(a){if(a.target instanceof Element&&BA(a.target,Og)){var b=this.iA(a.target),c=!BA(b,gf);FA(b,gf,c);this.mca(b,!c);this.MDa();a.preventDefault()}};
r.mca=function(a,b){var c=this.rX(a);if(null!=a&&null!=c){var e=c.scrollHeight,f=this.iA(a);b?(T(c,Yd),c.style.height=e+p,this.yN(f)):(c.style.height=e+p,M(function(){T(c,Yd);c.style.height="0px";this.yN(f)},0,this))}};r.yN=function(a){var b=this.rX(a);null!=a&&null!=b&&(b.style.height="",DA(b,Yd),this.yN(this.iA(a)))};w("JOT_setupNav",function(a,b,c){return new AY(a,b,c)},void 0);
w("JOT_NAVIGATION_titleChange",function(a){var b=EG(byId(a.listenerCompId))[a.payload.wuid];gq(b)||(b=[b]);for(var c in b){var e=b[c];if(e){var f=e.firstChild;f&&f.className==Og&&(e=f.nextSibling);3==e.nodeType?e.parentNode.replaceChild(document.createTextNode(a.payload.title),e):tx(e,a.payload.title)}}},void 0);var BY=function(a){JOT_addListener("copyTemplate",y(this.$da,this));JOT_addListener(en,y(this.z7,this));JOT_addListener(fn,y(this.I7,this));JOT_addListener(gn,y(this.YD,this));JOT_addListener(jn,y(this.SBa,this));JOT_addListener("showSaveAsPageTemplate",y(this.N7,this));JOT_addListener("showSelectDefaultTemplateLocation",y(this.NBa,this));JOT_addListener(Po,y(this.rE,this));JOT_addListener(Qo,y(this.V8,this));var b={};b.smartPreview=new pJ("smartPreview"in a);var c=O(eo);c&&b.smartPreview.kp(c);b.editPage=
new cJ("editPage"in a);(c=O(yg))&&b.editPage.kp(c);b.openCreatePage=new iJ(Bk in a);(c=O(Rf))&&b.openCreatePage.kp(c);b.editSiteLayout=new dJ(zg in a);b.openRevisionHistory=new jJ(Dk in a);b.togglePageSubscription=new qJ(y(this.rE,this),Po in a);b.showPageSettings=new nJ(y(this.YD,this),gn in a);b.printPage=new lJ("printPage"in a);b.openCopyPage=new hJ("openCopyPage"in a);b.showMovePage=new gJ(y(this.I7,this),fn in a);if(c=O(en)){var e=!Jz(c,cn);b.showDeletePage=new bJ(y(this.z7,this),e);e||b.showDeletePage.kp(c)}b.previewAsViewer=
new kJ(cm in a);b.saveAsPageTemplate=new mJ(y(this.N7,this),zm in a);b.openChangePageTemplate=new $I(y(this.hA,this),Ak in a);b.toggleSiteSubscription=new rJ(y(this.V8,this),Qo in a);b.openManageSite=new eJ(Ck in a);b.showShareClient=new oJ(hn in a);webspace.user.keyboardShortcuts&&!webspace.user.renderMobile&&(this.Jva(b),this.Xba(b));this.pda();this.mm=b;this.rQ=0;this.sE=!1};B(BY,E);w("gsites.pages.PageActions",BY,void 0);r=BY.prototype;
r.Jva=function(a){var b=YI.K(),c;for(c in a){var e=a[c];e.isEnabled()&&e.kb()&&b.lh(e,e.gq)}};r.tDa=function(a){var b=YI.K(),c;for(c in a)b.po(a[c])};r.pda=function(){var a={action:"checkCriteria"};webspace.user.hasAdminAccess&&webspace.isAdsenseEnabled&&!webspace.adsensePromoClickedOrSiteIneligible&&KG(ub,a,y(this.boa,this),null)};r.boa=function(a){a=a.target.Fa();a.showPromo&&1==a.showPromo&&this.lba()};
r.lba=function(){var a=new dC,b=ZD(qH);document.body.appendChild(b);a.Rr(b);a.setPosition(new kB(O(Tj),1));a.q6(new iy(25,-80,0,0));a.TO(4);a.Ew(!1);I(window,tm,function(){a&&a.R()&&a.oa()});this.k3=a;this.kba();a.F(!0)};r.kba=function(){var a=Sw("goog-adsense-promo-monetize-btn"),b=new rC("Sign up for AdSense",WC.K());I(b,l,this.lla,!1,this);b.Z(a);a=Sw("goog-adsense-promo-dismiss");I(new Tz(a),l,this.jla,!1,this)};r.lla=function(){KG(ub,{action:"monetizeClicked"},y(this.kla,this),null)};
r.jla=function(){KG(ub,{action:"dismissClicked"},y(this.ila,this),null)};r.kla=function(){this.k3.F(!1);window.location.href=DG(webspace.baseUri,Ta)};r.ila=function(){this.k3.F(!1)};r.Xba=function(a){for(var b in a){var c=a[b],e=O(b);if(e&&c.isEnabled()){if(c=c.RX())c=SH(c),c=dx(document,gy("<span>"+c+fb)),Gz(c,"more-actions-menu-item-helptext"),hx(c,e.firstChild);Gz(e,"more-actions-shortcuts-enabled")}}};r.Al=function(a){a=O(a);return!a||a&&a.style.display==lk?"":bf};
r.hA=function(){return DG(webspace.baseUri,"/system/app/pages/changePageTemplate?wuid="+webspace.page.wuid+"&pt="+webspace.page.currentTemplate.path)};
r.YD=function(a){NF(Cc,"Page settings");var b=this.hA(),b={Pv:webspace.page.name,Msa:"draft"!=webspace.page.state,b3:!0,a3:this.Al(Rn),A8:webspace.page.type!=Zd,z8:this.Al(Eb),RS:webspace.page.type!=Wg,SS:this.Al(un),dU:!0,eU:this.Al(Db),canChangePath:webspace.page.canChangePath,zl:nC,Hv:zY,QM:webspace.page.parentPath||"",pNa:webspace.page.path,sua:webspace.page.currentTemplate.title,rua:b,$pa:webspace.user.hasAdminAccess,pua:this.Yja(),Oga:webspace.page.type==Wg,Mda:!!O("JOT_FILECAB_cf"),Nga:!!O("JOT_FILECAT_header")};
a.payload.opt_msg&&(b.nz=a.payload.opt_msg);a={};var c=(b.nz?mb+V(b.nz)+db:"")+"<p>"+dH(b,null,a)+(b.Oga?'<br/><label><input jotId="collapseFolderEl" type="checkbox"'+(b.Mda?da:"")+' />Collapse folders by default</label><br/><label><input jotId="fileCabinetHeaderEl" type="checkbox"'+(b.Nga?da:"")+" />Show column headers</label>":""),e;e=PD;var f;f=b.pua;MD(f,YC)?(C(f.constructor===OD),f=lE(f.Jb())):f=Qq(String(f));e=e('<div><label for="page-description-field"><strong>Page description</strong></label></div><div><textarea cols="45" rows="2" jotId="pageDescriptionEl" id="page-description-field">'+
f+"</textarea></div>");c=c+e+"</p>";if(b.Msa&&0<b.Hv.length&&b.$pa){c+='<p class="sites-page-settings-divider" jotId="showInNavigationEl">';if(1<b.Hv.length){c+="<b>Show this page in the sidebar:</b>";e=b.Hv;f=e.length;for(var g=0;g<f;g++)var h=e[g],c=c+('<br /><label><input type="checkbox" value="'+oE(h.bC)+'"'+(h.rG?bf:"")+" />"+V(h.title)+"</label>")}else c+='<label><input type="checkbox" value="'+oE(b.Hv[0].bC)+'"'+(b.Hv[0].rG?bf:"")+" />Show this page in the sidebar</label>";c+="</p>"}c+=(b.canChangePath?
pb+(a.Pa?Ea+a.Pa+qa:"")+'color: gray">Page URLs can only use the following characters: -,A-Z,a-z,0-9</span><input jotId="pageURL" type="text"'+(b.zl?' style="'+(a.Pa?Ea+a.Pa+qa:"")+ti:"")+' value="'+oE(b.Pv)+ha+(a.Pa?Ea+a.Pa+qa:"")+'color: gray">'+V(b.QM)+Ha+V(b.Pv)+gb:"")+'<p class="sites-page-settings-divider">Currently using page template&nbsp;<strong>'+V(b.sua)+'</strong> (<a href="'+oE(vE(b.rua))+'">Change</a>)<br/></p>';b=PD(c);b=VO("Page Settings",b.toString(),null,Rc,y(this.Ena,this));b.F(!0);
this.J7(b.ki.pageURL,b.ki.pageURLScrubbed)};r.Yja=function(){var a=O("meta-tag-description");return a&&a.content?a.content:""};r.J7=function(a,b){var c=function(){var c=TO(a.value,!1,!1,!0),c=CN(c,webspace.page.parentPath,!1);tx(b,c||"")};a&&(I(a,fj,c),I(a,Ke,c))};
r.Ena=function(a){var b=EG(a.eventSrc);if(b.pageURL&&!Fq(b.pageURL.value))return R("The Page URL field cannot be left blank."),b.pageURL.focus(),!1;a={wuid:webspace.page.wuid,path:webspace.page.path,navIds:[],properties:{"config/showPageTitle":b.showPageTitleEl?b.showPageTitleEl.checked:!1,"config/showComments":b.allowCommentsEl?b.allowCommentsEl.checked:!1,"config/showAttachments":b.allowAttachmentsEl?b.allowAttachmentsEl.checked:!1,"config/showSubpages":b.allowSubpagesEl?b.allowSubpagesEl.checked:
!1,"config/pageDescription":b.pageDescriptionEl?b.pageDescriptionEl.value:""}};webspace.page.type==Wg&&(a.properties["config/collapseFolders"]=b.collapseFolderEl.checked,a.properties["config/fileCabinetHeader"]=b.fileCabinetHeaderEl.checked);var c=b.showInNavigationEl;if(c)for(var c=c.getElementsByTagName(Ci),e=0;e<c.length;e++)c[e].checked&&a.navIds.push(c[e].value);webspace.fxa(a,y(function(){R(Uc);var a=b.pageURL&&TO(Bx(b.pageURLScrubbed),!1,!1,!0);a&&webspace.page.name!=a?this.SY(a,gn):window.location.href=
DG(webspace.baseUri,webspace.page.path)},this),function(){R("ERROR: Page settings not saved.")})};
r.SY=function(a,b){R("Changing page URL, please wait...");var c=webspace.page.parentPath?DG(webspace.page.parentPath,a):"/"+a;webspace.iM({path:webspace.page.path,newPath:c,unique:!1},function(c){c=c.target.Fa();c.error?/already\ exists/.exec(c.error)?(c=webspace.page.parentPath?webspace.page.parentPath:ud,c='Error: There is already a page named "'+(Qq(a)+('" under '+Qq(c))),JOT_postEvent(b,this,{opt_msg:c}),xz()):/lock\ page/.exec(c.error)&&(JOT_postEvent(gn,this,{opt_msg:"Error: The page you are trying to move is currently locked."}),
xz()):window.location.href=c.newPath+"?pageUrlChanged="+encodeURIComponent(a)},function(a){R("ERROR: "+a)})};
r.N7=function(){NF(Cc,"Save page as template");var a;a={zl:nC,defaultLocationPath:ud};a=PD('<p>Saving a page as a template will create a copy of this page that you and others can use to create new custom pages. Any content on your page will be included in the new template.</p><p class="sites-page-settings-divider">'+eH({Z1:!0,zl:a.zl,description:""},null,void 0)+fH(a,null,void 0)+"</p>");var b=Qq(webspace.page.title);a=VO("Save as page template",a.toString(),{pageURL:b},Rc,y(this.Dna,this));a.F(!0);
this.uh=a.ki};
r.Dna=function(a){var b=EG(a.eventSrc);if(b.pageTemplateName&&!Fq(b.pageTemplateName.value))return R("The page template name field cannot be left blank."),b.pageTemplateName.focus(),!1;KG(Sc,{wuid:webspace.page.wuid,path:webspace.page.path,revision:webspace.page.revision,name:b.pageTemplateName.value,desc:b.pageTemplateDesc.value,defaultLocationWuid:b.defaultLocationWuid.value,force:!1},y(function(a){a=a.target.Fa();a.error?"Outdated"==a.error?R(Vb):R(Zb):a.warning?"Locked"==a.warning&&this.Cna(b,
a):this.mS(a.templatePath)},this),function(){R(Zb)})};
r.Cna=function(a,b){var c=Qq(b.thatUser,!1)+" is editing this page. Would you like to break their lock and save the current version as a template?";VO("Edit Conflict","<p>"+c+"</p>",null,"Yes",y(function(){KG(Sc,{wuid:webspace.page.wuid,path:webspace.page.path,revision:webspace.page.revision,name:a.pageTemplateName.value,desc:a.pageTemplateDesc.value,force:!0},function(){b.error?"Outdated"==b.error?R(Vb):R(Zb):this.mS(b.templatePath)},function(){R(Zb)})},this),"No",function(){xz()}).setVisible(!0)};
r.mS=function(a){window.location.href=DG(webspace.baseUri,a)};
r.SBa=function(a){NF(Cc,jd);var b={Pv:webspace.page.name,QM:webspace.page.parentPath||"",b3:!0,a3:this.Al(Rn),A8:webspace.page.type!=Zd,z8:this.Al(Eb),RS:webspace.page.type!=Wg,SS:this.Al(un),dU:!0,eU:this.Al(Db),canChangePath:webspace.page.canChangePath,zl:nC,description:webspace.template.desc||"",defaultLocationWuid:webspace.template.defaultLocationWuid,defaultLocationPath:webspace.template.defaultLocationPath};a.payload.opt_msg&&(b.errorMsg=a.payload.opt_msg);a={};b=PD((b.nz?mb+V(b.nz)+db:"")+
eH({Z1:!1,zl:b.zl,description:b.description},null,a)+fH(b,null,a)+'<div class="sites-page-settings-divider"><div style="'+(a.Pa?Ea+a.Pa+qa:"")+'margin-bottom: 5px;"><b>Default page settings</b></div><div style="'+(a.Pa?Ea+a.Pa+qa:"")+'margin-bottom: 5px;">Set the default settings for this page template. These settings can be overridden by the page creator</div>'+dH(b,null,a)+db+(b.canChangePath?pb+(a.Pa?Ea+a.Pa+qa:"")+'color: gray">Page URLs can only use the following characters: -,A-Z,a-z,0-9</span><input jotId="pageURL" type="text" value="'+
oE(b.Pv)+ha+(a.Pa?Ea+a.Pa+qa:"")+'color: gray">'+V(b.QM)+Ha+V(b.Pv)+gb:""));b=VO(jd,b.toString(),null,Rc,y(this.Hna,this));b.F(!0);this.uh=b.ki;this.J7(this.uh.pageURL,this.uh.pageURLScrubbed)};
r.Hna=function(a){var b=EG(a.eventSrc);R(Uc);KG("SaveTemplateSettings",{path:webspace.page.path,desc:b.pageTemplateDesc.value,defaultLocationWuid:b.defaultLocationWuid.value,"config/showPageTitle":b.showPageTitleEl?b.showPageTitleEl.checked:!1,"config/showComments":b.allowCommentsEl?b.allowCommentsEl.checked:!1,"config/showAttachments":b.allowAttachmentsEl?b.allowAttachmentsEl.checked:!1,"config/showSubpages":b.allowSubpagesEl?b.allowSubpagesEl.checked:!1},y(function(a){a=a.target.Fa();var e=b.pageURL&&
TO(Bx(b.pageURLScrubbed),!1,!1,!0);a.error?R(Ub):e&&webspace.page.name!=e?this.SY(e,jn):window.location.href=DG(webspace.baseUri,webspace.page.path)},this),function(){R(Ub)})};r.$da=function(){NF(Cc,"Copy template");R("Copying this template...");KG("CopyTemplate",{path:webspace.page.path,title:webspace.page.title},function(a){a=a.target.Fa();a.error?R(Wb):window.location.href=DG(webspace.baseUri,a.path)},function(){R(Wb)})};
r.z7=function(){NF(Cc,"Delete page");var a=gH({Y2:webspace.page.wuid,Z2:webspace.page.title,baseUri:webspace.baseUri});this.Mm=VO("Delete "+webspace.page.title,a.toString(),null,"Delete",y(this.Qla,this));this.Mm.F(!0);this.uh=EG(O("COMP_dialog"));var b=[];webspace.search({forDescendants:webspace.page.path},y(function(a){if((a=a.target.Fa())&&a.length){b=a;a={};for(var e=0;e<b.length;e++){var f=b[e];f[Dj]&&(f[Dj]=Qq(f[Dj]));f["CommentForm/isComment"]?(f.path=DG(a[f.parentWuid],"Comments"),f[Dj]="Comments"):
a[f.wuid]=f.path}}Q(this.uh["pageList-"+webspace.page.wuid],!0);lO(b,Qq(webspace.page.title),this.uh["treeDiv-"+webspace.page.wuid]).kga(!1);this.Mm.oa()},this))};r.Qla=function(){var a={path:webspace.page.path,removeChildren:!0};this.Mm.w5(!1,!0);webspace.CV(a,y(this.ola,this),function(){this.Mm.F(!1);this.Mm.dispose();R("ERROR: Page not deleted.")});return!1};r.qo=function(a,b){var c=this.uh.errorPageText;hD(c,a,b);c.style.display="block"};
r.ola=function(a){var b=a.target.Fa();b.removeChildren?(a=this.kka(a),this.$0(a)):(this.uh.confirmText.style.display=lk,b.onLandingPage?this.qo(iH,{ora:b.onLandingPage}):b.pageNotFound?this.qo(jH):b.parentPermissionError?this.qo(mH):b.childPermissionError?this.qo(nH):1==b.length&&b[0].wuid==webspace.page.wuid&&b[0].lockUser?this.qo(lH,{Kra:b[0].lockUser}):b[0]&&b[0].lockUser?(this.qo(kH),hD(this.uh["treeDiv-"+webspace.page.wuid],pH,{results:b,opa:webspace.page.wuid})):this.qo(oH))};
r.kka=function(){return(webspace.template?webspace.baseUri+Ua:webspace.page.parentPath?DG(webspace.baseUri,webspace.page.parentPath):DG(webspace.baseUri,webspace.homePath))+"?pageDeleted=true"};r.$0=function(a){KG("VerifyPageUpdated",{wuid:webspace.page.wuid},y(this.woa,this,a),y(this.EZ,this,a))};r.woa=function(a,b){var c=b.target.Fa();c.error?this.EZ(a,b):c.completed?(this.Mm.dispose(),this.I3(a)):window.setTimeout(y(this.$0,this,a),1500)};
r.EZ=function(a,b){var c=b.target.Fa();R(c.error);this.Mm.dispose();this.I3(a)};r.I3=function(a){window.location.href=a};
r.I7=function(){NF(Cc,"Move page");var a=PD(ob),b=NG(webspace.page.title,MG(webspace.page.title)),c=VO("Move Page: "+b,a.toString(),null,"Move",y(this.pZ,this));c.F(!0);var e=this;this.dk=new kO(c.ki.treeDiv,function(){e.pZ()&&c.close()},!0,!0,!0);this.parentPath=webspace.page.path.split("/");this.parentPath.pop();this.parentPath=this.parentPath.join("/");""==this.parentPath&&(this.parentPath="/");this.dk.Lr(this.parentPath,!0);c.oa()};
r.pZ=function(){if(this.dk.b5())return!1;var a=this.dk.Pi;if(this.parentPath==a)return a=Qq(webspace.page.name)+" is already at this location, nothing moved.",R(a),!0;webspace.iM({path:webspace.page.path,newPath:DG(a,webspace.page.name)},y(function(a){a=a.target.Fa();if(a.error)/already\ exists/.exec(a.error)?R("The page you are trying to move already exists at that location."):/lock\ page/.exec(a.error)?R("The page you are trying to move is currently locked."):"bad newPath parameter"==a.error&&R("The place you are trying to move to is not a valid path");
else{var c=this.dk.sY();this.dk.dispose();window.location.href=a.newPath+"?pageMoved="+encodeURIComponent(c)}},this),function(){R("An error occurred while trying to move the selected page.")});return!0};
r.NBa=function(){NF(Cc,"Select default template location");var a=VO("Select a default page location",ob,null,"Select",y(this.uZ,this),Gb,null,"defaultLocation");I(a,Rd,function(){O("templateDefaultLocationAnchor").focus()});a.F(!0);var b=this;this.dk=new kO(a.ki.treeDiv,function(){var c=b.uZ();(void 0==c||c)&&a.close()},!0,!0);a.oa()};
r.uZ=function(){if(this.dk.b5())return!1;var a=this.dk.Pi,b=this.dk.ww,c=this.uh.defaultLocationWuid,e=this.uh.defaultLocationLabel;a&&"/"!=a||(a=ud,b="");tx(e,a);sz(e,[255,255,136],2E3);c.value=b};
r.V8=function(){this.tT()&&(this.rQ++,this.sE=!0,KG("ToggleSiteSubscription",{},y(function(a){var b;a.target.Fa().subscribed?(NF(Cc,fd),a="Unsubscribe from site changes",b="You will be notified when changes are made to this site."):(NF(Cc,"Unsubscribe to site changes"),a=fd,b=Cd);R(b);b=Qw(null,"toggle-site-subscription",null);for(var c=0;c<b.length;c++)tx(b[c],a);window.setTimeout(y(this.c7,this),1E3)},this)))};
r.rE=function(a){NF("sites-file-cabinet-subscription-label"==a.payload.opt_id?"File Cabinet":Cc,"Toggle subscribe to page changes");if(this.tT()){var b=a.payload.opt_page||webspace.page.path;a=a.payload.opt_id||"";this.rQ++;this.sE=!0;KG("TogglePageSubscription",{page:b},y(sq(this.YDa,a),this),y(this.FJ,this))}else this.FJ()};r.c7=function(){this.sE=!1};r.FJ=function(){R("An error occurred while changing the page subscription.")};r.tT=function(){return!this.sE&&6>this.rQ};
r.YDa=function(a,b){var c=b.target.getResponseJson();if(c.commentErrorOccurred)this.FJ();else{var e=c.subscribed?"Unsubscribe from page changes":"Subscribe to page changes";R(c.subscribed?"You will be notified when this page is changed.":Dd);for(var c=Qw(null,"toggle-page-subscription",null),f=0;f<c.length;f++)tx(c[f],e);a&&tx(O(a),e);window.setTimeout(y(this.c7,this),1E3)}};r.A=function(){this.tDa(this.mm)};w("JOT_ATTACH_delete",function(a){CY(a);var b=byId("attachment-"+a);b&&(new mz(b,1,.4,500)).play();webspace.CV({path:a},DY,function(a){alert(a)})},void 0);function CY(a){var b=byId("attachment-delete-"+a);b&&Q(b,!1);(a=byId("attachment-download-"+a))&&Q(a,!1)}function DY(a){a=a.target.Fa().path;CY(a);var b=byId(ye+a);b&&(Q(b,!0),Ky(b,1));(new $y(sq(EY,a),5E3)).start()}
function EY(a){var b=byId(ye+a);if(b&&Ly(b)){Q(b,!1);var c=byId("attachment-"+a);c&&(a=new mz(c,.4,0,500),I(a,Gg,function(){c.parentNode.removeChild(c)},!1),a.play())}}w("JOT_ATTACH_undoDelete",function(a){var b=byId(ye+a);b&&Q(b,!1);JOT_postEvent($o,a)},void 0);w("JOT_RECENTCHANGES_titleChange",function(a){var b=EG(byId(a.listenerCompId))[a.payload.wuid];if(b)for(var b=b instanceof Array?b:[b],c=0;c<b.length;c++)tx(b[c],a.payload.title)},void 0);var FY=function(a,b,c,e){bF.call(this,null);this.U(O(a));this.K_=c||null;this.Td=e||null;this.eAa(!0);KG(mc,{limit:1E3,suppressedTemplates:b},y(this.mma,this),y(this.dZ,this))};B(FY,bF);w("sites.pages.PageTemplateMenu",FY,void 0);FY.prototype.mma=function(a){a=a.target.Fa();if(a.error)this.dZ();else{if(a=a.templates)for(var b=0;b<a.length;b++){var c=new GY(a[b]);this.zc(c)}this.Td&&I(this.S,Hm,this.Td);this.K_&&this.setValue(this.K_);this.getValue()||this.Af(0)}};
FY.prototype.Ou=function(a){FY.g.Ou.call(this,a);(a=this.Ga())&&this.ed(a.ca.description)};FY.prototype.dZ=function(){var a=ax(d,{style:"color: #DD4B39;"},document.createTextNode("Error retrieving page template list."));lx(a,this.b())};var GY=function(a){OB.call(this,a.title,a)};B(GY,OB);GY.prototype.getValue=function(){return this.ca.path};var HY=function(a,b,c,e,f){J.call(this);this.zC=O(a);this.jDa=b||null;this.J_=c||null;this.MBa=!f;webspace.shallowSearch({forAll:!0,includeReadOnly:!e,includePermissionsMetaData:!0,filterName:Wk},y(this.wwa,this),y(this.e4,this))};B(HY,J);w("sites.components.Sitemap",HY,void 0);r=HY.prototype;r.dg=null;
r.wwa=function(a){a=a.target.Fa();if(a.error)this.e4();else{var b=new AN;b.DB(a);this.dg=new BN(b,!0,webspace,void 0,this.jDa,void 0,!0);this.dg.Nw(this.kja());this.dg.FD(!0);this.dg.Z(this.zC);this.J_&&this.dg.aP(this.J_);this.dg.ea.dP(this.MBa);this.dispatchEvent(Qd)}};r.e4=function(){this.dispatchEvent(vj)};r.kja=function(){return function(a){var b=a[Dj],c=-1==Rt(b,void 0)?ym:Aj,b=Qq(b);return'<span title="'+Qq(a.path)+ja+c+'">'+b+fb}};r.A=function(){HY.g.A.call(this);F(this.dg);this.dg=null};var IY=function(a){E.call(this);this.FF=null;this.title="";this.Lp=null;this.ZJ=[249,237,190];this.mt=a;JOT_addListener(dn,y(this.DP,this))};B(IY,E);w("gsites.pages.CreatePage",IY,void 0);IY.prototype.dh=null;IY.prototype.bE=null;
IY.prototype.Ke=function(a,b){var c=O(Sf),e=O(Zn),f=O("sites-create-page-change-url"),g=O("sites-create-page-select-template-menu"),h=O("sites-create-page-choose-location-header"),k=O("sites-create-page-choose-location-content"),n=new HE;n.U(c);I(n,l,y(this.WP,this));c=new TG(a,Nb,"Cancel new page");c.U(e);I(c,l,c.Vl);I(new Tz(f),l,function(){JOT_postEvent(dn)});e=rw(window.location.toString(),"pt");this.mt||(this.dh=new FY(g,void 0,e,y(this.Pna,this)));g=new dP(h,k);I(g,Oo,y(this.Gpa,this,g,k,b));
I(O(Ui),vo,y(this.WP,this));(k=O("pageLocTopLevelPath"))&&I(k,ef,y(sq(this.IQ,So),this));(k=O(Xk))&&I(k,ef,y(sq(this.IQ,"under"),this));(k=O(Wi))&&O(Sf)&&(k.focus(),k=new KC(k),I(k,Ci,y(function(){var a=trim(O(Wi).value),b=O("mirrorInput");if(b){var c=a||"Your new page";tx(b,c);b.setAttribute("dir",MG(c))}this.FF&&window.clearTimeout(this.FF);this.FF=window.setTimeout(y(function(){a&&!It.test(Ht(a,void 0))?this.Ys(a):this.JQ(!1,null)},this),500)},this)))};IY.prototype.initListeners=IY.prototype.Ke;
r=IY.prototype;r.Gpa=function(a,b,c,e){if(e.Hga&&!this.bE){var f=O("sites-create-page-sitemap"),g=O("sites-create-page-choose-location-spinner"),h=O("sites-create-page-sitemap-error");this.Lp||(this.Lp=rw(window.location.toString(),"source"));this.bE=new HY(f,sq(this.Ona,this),this.Lp||void 0,!0,!c);qt(this.bE,Qd,function(){Q(g,!1);P(b,"border-style","solid");Q(f,!0)});qt(this.bE,vj,function(){Q(g,!1);Q(h,!0)});Q(b,!0)}};r.Pna=function(){var a=this.dh.Ga();a&&(this.Lp=a.ca.defaultLocation)&&this.AY(this.Lp)};
r.IQ=function(a,b){var c=O(Xi);if("under"==a&&b.target.value){var e=this.j9(b.target.value);tx(c,e+"/");sz(c,this.ZJ,1E3)}else a==So&&tx(c,"");this.Ys()};r.JQ=function(a,b){var c=O(Yi),e="";b&&(e=b.target.Fa(),e=TO(e.string,!0));e=CN(e,this.rY(),!1);O(Ti).value=e;tx(c,e||"");a&&sz(c,this.ZJ,1E3)};
r.createNode=function(a){var b;a&&(a=a.target.Fa(),b=TO(a.string,!0));if(!b)return R("Please specify a page URL."),Q(O(ko),!1),window.setTimeout(y(function(){this.DP()},this),500),!1;a=CN(b,this.rY(),!0);if(null===a)return R("The location for the new page is too long."),!1;tx(O(Sf),Jc);Q(O(ko),!0);R("Creating page ...");rt(O(Sf),ef,this.WP);a={path:a,properties:{"main/title":this.title}};webspace.features.pageDrafts&&(a.properties.isPageDraft=!0);this.mt?(a.pagetemplate=this.mt,a.ispagecopy=!0):(a.pagetemplate=
this.dh.Ga().getValue(),a.ispagecopy=!1);KG("CreateNode",a,y(this.Cxa,this))};
r.Cxa=function(a){a=a.target.Fa();a.error?(Q(O(ko),!1),tx(O(Sf),this.mt?"Copy":"Create"),/not\ authorized/.exec(a.error)?(R("You are not authorized to create pages."),NF(Nb,Qb,"Not Authorized")):/reserved\ path/.exec(a.error)?(R("The page name you entered is reserved."),NF(Nb,Qb,"Reserved Path")):/invalid\ path/.exec(a.error)?(R("The page URL is invalid, please specify a new one."),NF(Nb,Qb,"Invalid URL"),this.DP()):(NF(Nb,Qb,"Unknown Error"),R(a.error))):PF(Nb,this.mt?"Copy success":"Success",a.url)};
r.WP=function(){var a=O(Wi),b=O(Ti),b=b.value?b.value:a.value,c=trim(a.value);""==c?(a.focus(),R("Please enter a page name."),NF(Nb,Qb,"Missing Name")):(this.title=c,It.test(Ht(b,void 0))?this.createNode(null):webspace.HS({string:b,hasDelimiter:!0},y(this.createNode,this)))};
r.DP=function(){var a=Bx(O(Yi)),a='<div id="changePageLocationDialog"><p>Some characters are not allowed in URLs and may be removed.</p><p><strong>Page web address:</strong></p><input jotid="pageWebAddressField" value="'+V(a)+'" /></div>',b=VO("Change page web address",a,null,Rc,y(this.zla,this)),c=b.ki.pageWebAddressField;I(c,Ke,function(){var a=Fq(c.value),b=TO(a,!1,void 0,!0);a!=b&&(c.value=b)});b.F(!0);window.setTimeout(function(){b.ki.pageWebAddressField.focus()},0);return!1};
r.zla=function(a){a=EG(a.eventSrc);if(a.pageWebAddressField&&!Fq(a.pageWebAddressField.value))return R("The Page web address field cannot be left blank."),a.pageWebAddressField.focus(),!1;R("Updating URL...");It.test(Ht(a.pageWebAddressField.value,void 0))?this.JQ(!1,null):this.Ys(a.pageWebAddressField.value);xz();return!0};r.Ona=function(a){var b=this.Ga(!0).ca.path;"/"==b?(O(Ui).pageLoc[0].checked=!0,a.IQ(So,null)):(a.AY(b),a.Ys())};
r.AY=function(a){KG("GetTitlePath",{path:a},O("pageLocTarget")?y(this.XDa,this,a):null,function(){R("Oops, something went wrong, and it's our fault. Please try again after a moment.")})};
r.XDa=function(a,b){var c=b.target.Fa();c.error&&R(c.error);var e=Qq(trim(O(Wi).value)),e=""!=e?e:"Your new page",f;f=NG(" &#187; ",webspace.page.isRtlLocale?ym:Aj);for(var g=0;g<c.length;g++)c[g]=NG(c[g],MG(c[g]));g=c.join(f);g+=f+'<span id="mirrorInput">'+NG(e,MG(e))+fb;e=O("pageLocTarget");e.innerHTML=g;e.style.display="";c=c[c.length-1];O(Xk).value=a;tx(O(Vi),c);O(Vi).setAttribute("dir",MG(c));c=this.j9(a);e=O(Xi);tx(e,c+"/");sz(e,this.ZJ,1E3);c=O(Ui);1<c.pageLoc.length&&(c.pageLoc[1].checked=
!0);this.Ys()};r.rY=function(){var a;a:{if(a=O(Ui).elements.pageLoc){if(a.type){a=Mz(a);break a}for(var b=0;b<a.length;b++){var c=Mz(a[b]);if(c){a=c;break a}}}a=null}return a||""};r.j9=function(a){a=a.replace(/^\//,"");return Fq(a)};r.Ys=function(a){var b=a;b||(b=Mz(O(Ti)),b=Dq(b)?trim(Mz(O(Wi))):b);webspace.HS({string:b,hasDelimiter:!0},y(this.JQ,this,!!a))};r.A=function(){IY.g.A.call(this);this.dh&&F(this.dh);this.dh=null};var JY=function(){this.PU=!1};w("sites.pages.CreatePageTemplate",JY,void 0);JY.prototype.dh=null;JY.prototype.Ke=function(){var a=O(Tf),b=O(Zn),c=O("sites-create-page-template-select-template-menu"),e=O("sites-create-page-template-form"),f=y(this.Aea,this),g=new HE;g.U(a);I(g,l,f);a=new TG(DG(webspace.baseUri,Ua));a.U(b);I(a,l,a.Vl);this.dh=new FY(c,["startpage"]);I(e,vo,f)};JY.prototype.initListeners=JY.prototype.Ke;
JY.prototype.Aea=function(){if(!this.PU){this.PU=!0;tx(O(Tf),Jc);O(ko).style.display=Bi;R("Creating template ...");var a=this.dh.Ga().getValue(),b=trim(O(Wi).value);KG("CopyTemplate",{path:a,title:b},function(a){a=a.target.Fa();a.error?R(Yb):window.location.href=DG(webspace.baseUri,a.path)},function(){R(Yb)})}};var KY=function(){this.HN=!1};w("gsites.pages.ChangePageTemplate",KY,void 0);KY.prototype.dh=null;KY.prototype.Ke=function(a){var b=O(Ze),c=O(Zn),e=O("sites-change-page-template-select-template-menu"),f=new HE;f.U(b);I(f,l,y(this.gxa,this));a=new TG(a);a.U(c);I(a,l,a.Vl);this.dh=new FY(e)};KY.prototype.initListeners=KY.prototype.Ke;r=KY.prototype;
r.gxa=function(){if(!this.HN){this.kCa();var a=O("sourceWuid").value,b=this.dh.Ga().getValue();KG("ChangePageTemplate",{source:b,target:a,applyDefaultContent:O("applyDefaultContent").checked},y(this.Bna,this),function(){R(wb)})}};r.kCa=function(){this.HN=!0;O(ko).style.display=Bi;tx(O(Ze),Jc);R("Changing template ...")};r.tga=function(){this.HN=!1;O(ko).style.display=lk;tx(O(Ze),Ib);xz()};
r.Bna=function(a){a=a.target.Fa();a.error?(this.tga(),/not\ authorized/.exec(a.error)?R("You are not authorized to make changes to the page."):/lock\ page/.exec(a.error)?R("Error: The page you are trying to modify is currently locked."):R(wb)):this.Cva(a.url)};r.Cva=function(a){window.location.href=a};var LY=function(){};w("sites.pages.MatureConfirm",LY,void 0);LY.prototype.Da=null;LY.prototype.qK=function(a){var b=O("sites-mature-confirm-btn");b&&(this.Da=Hq(a),a=new HE,a.U(b),a.X(!0),I(a,l,y(this.Kla,this)))};LY.prototype.initControls=LY.prototype.qK;LY.prototype.Kla=function(){(new eP).Vua({MatureConfirm:Wo},this.Da||void 0)};var MY=function(){};w("sites.pages.SiteDisabledAppeal",MY,void 0);MY.prototype.qK=function(){var a=O("sites-disabled-appeal-btn"),b=O("sites-disabled-appeal-form");if(a&&b){var c=new HE;c.U(a);I(c,l,y(b.submit,b));c.X(!0)}};MY.prototype.initControls=MY.prototype.qK;var OY=function(a){U.call(this);this.dg=a;this.wh=new NY(this.dg);this.Lt=new NY(this.dg);this.wh.uF(this.Lt);this.wh.uF(this.wh);this.Lt.Vf();this.wh.Vf();this.C().o(this.wh,"drop",this.t2);this.C().o(this.Lt,"drop",this.t2);this.C().o(this.wh,ug,this.ita);this.C().o(this.wh,"dragend",this.fta);this.C().o(this.wh,tg,this.hta);this.C().o(this.wh,sg,this.gta);this.C().o(this.dg,Ii,this.Rta)};B(OY,U);r=OY.prototype;
r.Rta=function(a){var b=a.L8;a=b.ce();var c="/"===b.ca.path?this.Lt:this.wh,b=new PY(a,b);c.pF(b);Gz(a.parentNode,"sites-tree-draggable")};r.h0=function(a,b){if(!a||!b)return!1;var c=a.getData().ca,e=b.getData().ca,f=a.getData().getParent(),f=f&&f.ca.path==e.path;return 0!=e.path.indexOf(c.path)&&!f};r.t2=function(a){this.zW(a.xh,a.Uk);this.yW(a.xh);this.h0(a.xh,a.Uk)&&this.dg.Bsa(a.xh.getData(),a.Uk.getData())};r.ita=function(a){this.vga(a.xh)};r.fta=function(a){this.yW(a.xh)};
r.hta=function(a){this.wga(a.xh,a.Uk)};r.gta=function(a){this.zW(a.xh,a.Uk)};r.vga=function(a){a&&Gz(a.getData().ce(),$n)};r.yW=function(a){a&&Iz(a.getData().ce(),$n)};r.wga=function(a,b){this.h0(a,b)&&Gz(b.getData().ce(),ao)};r.zW=function(a,b){b&&Iz(b.getData().ce(),ao)};r.A=function(){F(this.wh);F(this.Lt)};var NY=function(a){DM.call(this);this.ea=a};B(NY,HM);
NY.prototype.zU=function(a){var b="Move "+BC[a.parentNode.id].ca[Dj];a=ax(m,null);Gz(a,"sites-tree-drag-info");tx(a,b);b=ax(m,null);Gz(b,"sites-tree-drag-info-container");b.appendChild(a);return b};NY.prototype.FX=function(a,b,c){a=Ow(a);a=N(a).Pf();return new Fw(c.clientX+a.x-5,c.clientY+a.y-5)};var PY=function(a,b){GM.call(this,a,b)};B(PY,GM);PY.prototype.II=function(){return this.element};var QY=function(a,b){this.P=a||N();this.Z7=b};w("sites.pages.Hierarchy",QY,void 0);QY.prototype.Ke=function(a,b){this.B_(a,b);if(this.Z7&&byId(qn)){var c=new AN;c.DB(this.Z7);c=new BN(c,!0,webspace,void 0,function(){},void 0,!0);c.Nw(function(a){var b=MG(a[Dj]);return jb+webspace.baseUri+Qq(a.path)+ja+b+'">'+Qq(a[Dj])+"</a>"});c.FD(!0);new OY(c);c.Z(byId(qn))}};QY.prototype.initListeners=QY.prototype.Ke;
QY.prototype.B_=function(a,b){var c=0<String(window.location.href).indexOf(a),e=new HE;e.Db(16,!0);e.ed("Tree");e.fh(2);e.U(this.P.b("sites-admin-tree-link"));e.X(!0);e.b().setAttribute(te,"tree view");var f=new HE;f.Db(16,!0);f.ed("List");f.fh(1);f.U(this.P.b("sites-admin-list-link"));f.X(!0);f.b().setAttribute(te,"list view");c?e.setState(16,!0):f.setState(16,!0);I(f,l,sq(this.R8,f,e,b));I(e,l,sq(this.R8,e,f,a))};QY.prototype.initButtons=QY.prototype.B_;
QY.prototype.R8=function(a,b,c){a.getState()&16?(b.setState(16,!1),window.location.href=c):a.setState(16,!0)};w("JOT_INITJS_siteMapHierarchy",function(a){if(a&&byId(qn)){var b=new AN;b.DB(a);a=new BN(b,!0,webspace,void 0,function(){});a.Nw(function(a){var b=MG(a[Dj]);return jb+webspace.baseUri+Qq(a.path)+ja+b+'">'+Qq(a[Dj])+"</a>"});a.FD(!0);a.Z(byId(qn));JOT_addListener("collapseSiteMapTree",y(a.ft,a))}},void 0);var RY=function(a,b,c,e){this.Cka=b;c&&(b=/promo=([^&]+)/.exec(window.location.search))&&(a=b[1]);this.aEa=e;this.ra=ax(oc,{style:"display:none;position:fixed;width:1px;height:1px;top:0;left:0",src:a});document.body.appendChild(this.ra);this.Ata=I(window,Nj,y(this.onMessage,this));this.Df=M(this.FEa,1E4,this)};w("gsites.pages.NewSitesPromo",RY,void 0);
RY.prototype.onMessage=function(a){a=a.ld;if(a.data.type&&"sites-onboarding"==a.data.type){var b=a.data.subtype;b==bn?(jw(this.Df),this.Df=null,this.ra.style.display="",this.ra.style.width=bb,this.ra.style.height=bb,this.ra.style.zIndex=100):"noshow"==b?this.Dt(!0):b==hg?this.Dt(!0):"get-started"==b?this.Dka():this.Dt(!1)}console.info("Received message",a)};RY.prototype.FEa=function(){this.Dt(!1)};
RY.prototype.Dt=function(a){this.Df&&(jw(this.Df),this.Df=null);a&&this.aEa&&KG(Tc,{warmWelcomeVersion:1});st(this.Ata);Q(this.ra,!1);M(function(){kx(this.ra)},1E3,this)};RY.prototype.Dka=function(){this.Dt(!0);window.open(this.Cka)};w("goog.events.listen",I,void 0);yw.prototype.getResponseJson=yw.prototype.Fa;yw.prototype.getResponseText=yw.prototype.re;UA.prototype.setVisible=UA.prototype.F;UA.prototype.getElement=UA.prototype.b;UA.prototype.dispose=UA.prototype.dispose;E.prototype.getDisposed=E.prototype.HI;FH.prototype.setVisible=FH.prototype.F;
w("gsites.date.TimeZone.getFingerprint",function(a){var b=[],c="u";Is?c="w":Hs?c="m":Js&&(c="l");b.push(c);for(c=0;c<a.length;++c)b.push((new Date(a[c])).getTimezoneOffset()|0);a=b.length;if(2>a)b="";else{for(var c=[b[0]],e=b[1],f=e,g=1,h=2;h<a;)f=b[h++],f!==e?(c.push("g"+Ez(e)+"r"+Ez(g)),e=f,g=1):g++;c.push("g"+Ez(f)+"r"+Ez(g));b=c.join("")}return b},void 0);w("gsites.Xhr.send",zz,void 0);AC.prototype.getClientData=AC.prototype.pe;AC.prototype.getLabelElement=AC.prototype.wu;
w("goog.ui.tree.TreeControl",FC,void 0);FC.prototype.getSelectedItem=FC.prototype.Ga;w("goog.dom.$",O,void 0);w("goog.dom.getDomHelper",N,void 0);w("goog.string.trim",Fq,void 0);w("_IFPC",_IFPC,void 0);w("_IFPC.registerService",_IFPC.Li,void 0);w("_IFPC.unregisterService",_IFPC.DE,void 0);w("_IFPC.handleRequest",_IFPC.DA,void 0);w("JOT_INITJS_services_unsubscribeNotification",function(){WO("xtok_input");I(byId("goog-ws-unsub-form"),vo,function(){byId("goog-ws-unsub-button").disabled=!0})},void 0); })()
